2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for makedat 0.60.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec
; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo
; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo
; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset
; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
599 echo_test_string
=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
619 for dir
in $PATH /usr
/ucb
; do
621 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho
; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL
=/bin
/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
660 SHELL
="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string
=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames
=${tagnames+${tagnames},}CXX
706 tagnames
=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev
/null
6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix
=/usr
/local
720 ac_config_libobj_dir
=.
726 SHELL
=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME
='makedat'
730 PACKAGE_TARNAME
='makedat'
731 PACKAGE_VERSION
='0.60'
732 PACKAGE_STRING
='makedat 0.60'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="makedatprog.c"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
888 ac_precious_vars
='build_alias
905 # Initialize some variables set by options.
907 ac_init_version
=false
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
917 program_transform_name
=s
,x
,x
,
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir
='${exec_prefix}/bin'
932 sbindir
='${exec_prefix}/sbin'
933 libexecdir
='${exec_prefix}/libexec'
934 datarootdir
='${prefix}/share'
935 datadir
='${datarootdir}'
936 sysconfdir
='${prefix}/etc'
937 sharedstatedir
='${prefix}/com'
938 localstatedir
='${prefix}/var'
939 includedir
='${prefix}/include'
940 oldincludedir
='/usr/include'
941 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
942 infodir
='${datarootdir}/info'
947 libdir
='${exec_prefix}/lib'
948 localedir
='${datarootdir}/locale'
949 mandir
='${datarootdir}/man'
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\
$ac_option
963 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
967 # Accept the important Cygnus configure options, so we can diagnose typos.
969 case $ac_dashdash$ac_option in
973 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
975 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
978 -build |
--build |
--buil |
--bui |
--bu)
979 ac_prev
=build_alias
;;
980 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
981 build_alias
=$ac_optarg ;;
983 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
984 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
985 ac_prev
=cache_file
;;
986 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
987 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
988 cache_file
=$ac_optarg ;;
991 cache_file
=config.cache
;;
993 -datadir |
--datadir |
--datadi |
--datad)
995 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
996 datadir
=$ac_optarg ;;
998 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
999 |
--dataroo |
--dataro |
--datar)
1000 ac_prev
=datarootdir
;;
1001 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1002 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1003 datarootdir
=$ac_optarg ;;
1005 -disable-* |
--disable-*)
1006 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1009 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1010 { (exit 1); exit 1; }; }
1011 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1012 eval enable_
$ac_feature=no
;;
1014 -docdir |
--docdir |
--docdi |
--doc |
--do)
1016 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1017 docdir
=$ac_optarg ;;
1019 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1021 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1022 dvidir
=$ac_optarg ;;
1024 -enable-* |
--enable-*)
1025 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1028 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1029 { (exit 1); exit 1; }; }
1030 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1031 eval enable_
$ac_feature=\
$ac_optarg ;;
1033 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1034 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1035 |
--exec |
--exe |
--ex)
1036 ac_prev
=exec_prefix
;;
1037 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1038 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1039 |
--exec=* |
--exe=* |
--ex=*)
1040 exec_prefix
=$ac_optarg ;;
1042 -gas |
--gas |
--ga |
--g)
1043 # Obsolete; use --with-gas.
1046 -help |
--help |
--hel |
--he |
-h)
1047 ac_init_help
=long
;;
1048 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1049 ac_init_help
=recursive
;;
1050 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1051 ac_init_help
=short
;;
1053 -host |
--host |
--hos |
--ho)
1054 ac_prev
=host_alias
;;
1055 -host=* |
--host=* |
--hos=* |
--ho=*)
1056 host_alias
=$ac_optarg ;;
1058 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1060 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1062 htmldir
=$ac_optarg ;;
1064 -includedir |
--includedir |
--includedi |
--included |
--include \
1065 |
--includ |
--inclu |
--incl |
--inc)
1066 ac_prev
=includedir
;;
1067 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1068 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1069 includedir
=$ac_optarg ;;
1071 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1073 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1074 infodir
=$ac_optarg ;;
1076 -libdir |
--libdir |
--libdi |
--libd)
1078 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1079 libdir
=$ac_optarg ;;
1081 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1082 |
--libexe |
--libex |
--libe)
1083 ac_prev
=libexecdir
;;
1084 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1085 |
--libexe=* |
--libex=* |
--libe=*)
1086 libexecdir
=$ac_optarg ;;
1088 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1089 ac_prev
=localedir
;;
1090 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1091 localedir
=$ac_optarg ;;
1093 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1094 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1095 ac_prev
=localstatedir
;;
1096 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1097 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1098 localstatedir
=$ac_optarg ;;
1100 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1102 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1103 mandir
=$ac_optarg ;;
1105 -nfp |
--nfp |
--nf)
1106 # Obsolete; use --without-fp.
1109 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1110 |
--no-cr |
--no-c |
-n)
1113 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1114 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1117 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1118 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1119 |
--oldin |
--oldi |
--old |
--ol |
--o)
1120 ac_prev
=oldincludedir
;;
1121 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1122 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1123 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1124 oldincludedir
=$ac_optarg ;;
1126 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1128 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1129 prefix
=$ac_optarg ;;
1131 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1132 |
--program-pre |
--program-pr |
--program-p)
1133 ac_prev
=program_prefix
;;
1134 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1135 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1136 program_prefix
=$ac_optarg ;;
1138 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1139 |
--program-suf |
--program-su |
--program-s)
1140 ac_prev
=program_suffix
;;
1141 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1142 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1143 program_suffix
=$ac_optarg ;;
1145 -program-transform-name |
--program-transform-name \
1146 |
--program-transform-nam |
--program-transform-na \
1147 |
--program-transform-n |
--program-transform- \
1148 |
--program-transform |
--program-transfor \
1149 |
--program-transfo |
--program-transf \
1150 |
--program-trans |
--program-tran \
1151 |
--progr-tra |
--program-tr |
--program-t)
1152 ac_prev
=program_transform_name
;;
1153 -program-transform-name=* |
--program-transform-name=* \
1154 |
--program-transform-nam=* |
--program-transform-na=* \
1155 |
--program-transform-n=* |
--program-transform-=* \
1156 |
--program-transform=* |
--program-transfor=* \
1157 |
--program-transfo=* |
--program-transf=* \
1158 |
--program-trans=* |
--program-tran=* \
1159 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1160 program_transform_name
=$ac_optarg ;;
1162 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1164 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1165 pdfdir
=$ac_optarg ;;
1167 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1169 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1172 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1173 |
-silent |
--silent |
--silen |
--sile |
--sil)
1176 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1178 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1180 sbindir
=$ac_optarg ;;
1182 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1183 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1184 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1186 ac_prev
=sharedstatedir
;;
1187 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1188 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1189 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1191 sharedstatedir
=$ac_optarg ;;
1193 -site |
--site |
--sit)
1195 -site=* |
--site=* |
--sit=*)
1198 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1200 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1201 srcdir
=$ac_optarg ;;
1203 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1204 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1205 ac_prev
=sysconfdir
;;
1206 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1207 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1208 sysconfdir
=$ac_optarg ;;
1210 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1211 ac_prev
=target_alias
;;
1212 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1213 target_alias
=$ac_optarg ;;
1215 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1218 -version |
--version |
--versio |
--versi |
--vers |
-V)
1219 ac_init_version
=: ;;
1222 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1225 { echo "$as_me: error: invalid package name: $ac_package" >&2
1226 { (exit 1); exit 1; }; }
1227 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1228 eval with_
$ac_package=\
$ac_optarg ;;
1230 -without-* |
--without-*)
1231 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1232 # Reject names that are not valid shell variable names.
1233 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1234 { echo "$as_me: error: invalid package name: $ac_package" >&2
1235 { (exit 1); exit 1; }; }
1236 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1237 eval with_
$ac_package=no
;;
1240 # Obsolete; use --with-x.
1243 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1244 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1245 ac_prev
=x_includes
;;
1246 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1247 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1248 x_includes
=$ac_optarg ;;
1250 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1251 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1252 ac_prev
=x_libraries
;;
1253 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1254 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1255 x_libraries
=$ac_optarg ;;
1257 -*) { echo "$as_me: error: unrecognized option: $ac_option
1258 Try \`$0 --help' for more information." >&2
1259 { (exit 1); exit 1; }; }
1263 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1266 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1267 { (exit 1); exit 1; }; }
1268 eval $ac_envvar=\
$ac_optarg
1269 export $ac_envvar ;;
1272 # FIXME: should be removed in autoconf 3.0.
1273 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1274 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1275 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1276 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1282 if test -n "$ac_prev"; then
1283 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1284 { echo "$as_me: error: missing argument to $ac_option" >&2
1285 { (exit 1); exit 1; }; }
1288 # Be sure to have absolute directory names.
1289 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1290 datadir sysconfdir sharedstatedir localstatedir includedir \
1291 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1292 libdir localedir mandir
1294 eval ac_val
=\$
$ac_var
1296 [\\/$
]* | ?
:[\\/]* ) continue;;
1297 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1299 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1300 { (exit 1); exit 1; }; }
1303 # There might be people who depend on the old broken behavior: `$host'
1304 # used to hold the argument of --host etc.
1305 # FIXME: To remove some day.
1308 target
=$target_alias
1310 # FIXME: To remove some day.
1311 if test "x$host_alias" != x
; then
1312 if test "x$build_alias" = x
; then
1313 cross_compiling
=maybe
1314 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1315 If a cross compiler is detected then cross compile mode will be used." >&2
1316 elif test "x$build_alias" != "x$host_alias"; then
1322 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1324 test "$silent" = yes && exec 6>/dev
/null
1327 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1328 ac_ls_di
=`ls -di .` &&
1329 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1330 { echo "$as_me: error: Working directory cannot be determined" >&2
1331 { (exit 1); exit 1; }; }
1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333 { echo "$as_me: error: pwd does not report name of working directory" >&2
1334 { (exit 1); exit 1; }; }
1337 # Find the source files, if location was not specified.
1338 if test -z "$srcdir"; then
1339 ac_srcdir_defaulted
=yes
1340 # Try the directory containing this script, then the parent directory.
1341 ac_confdir
=`$as_dirname -- "$0" ||
1342 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343 X"$0" : 'X\(//\)[^/]' \| \
1344 X"$0" : 'X\(//\)$' \| \
1345 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1369 ac_srcdir_defaulted
=no
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1372 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1373 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1374 { (exit 1); exit 1; }; }
1376 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1378 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1379 { (exit 1); exit 1; }; }
1381 # When building in place, set srcdir=.
1382 if test "$ac_abs_confdir" = "$ac_pwd"; then
1385 # Remove unnecessary trailing slashes from srcdir.
1386 # Double slashes in file names in object file debugging info
1387 # mess up M-x gdb in Emacs.
1389 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1391 for ac_var
in $ac_precious_vars; do
1392 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1393 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1394 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1395 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1399 # Report the --help message.
1401 if test "$ac_init_help" = "long"; then
1402 # Omit some internal or obsolete options to make the list less imposing.
1403 # This message is too long to be a string in the A/UX 3.1 sh.
1405 \`configure' configures makedat 0.60 to adapt to many kinds of systems.
1407 Usage: $0 [OPTION]... [VAR=VALUE]...
1409 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1410 VAR=VALUE. See below for descriptions of some of the useful variables.
1412 Defaults for the options are specified in brackets.
1415 -h, --help display this help and exit
1416 --help=short display options specific to this package
1417 --help=recursive display the short help of all the included packages
1418 -V, --version display version information and exit
1419 -q, --quiet, --silent do not print \`checking...' messages
1420 --cache-file=FILE cache test results in FILE [disabled]
1421 -C, --config-cache alias for \`--cache-file=config.cache'
1422 -n, --no-create do not create output files
1423 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1425 Installation directories:
1426 --prefix=PREFIX install architecture-independent files in PREFIX
1427 [$ac_default_prefix]
1428 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1431 By default, \`make install' will install all the files in
1432 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1433 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1434 for instance \`--prefix=\$HOME'.
1436 For better control, use the options below.
1438 Fine tuning of the installation directories:
1439 --bindir=DIR user executables [EPREFIX/bin]
1440 --sbindir=DIR system admin executables [EPREFIX/sbin]
1441 --libexecdir=DIR program executables [EPREFIX/libexec]
1442 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1443 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1444 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1445 --libdir=DIR object code libraries [EPREFIX/lib]
1446 --includedir=DIR C header files [PREFIX/include]
1447 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1448 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1449 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1450 --infodir=DIR info documentation [DATAROOTDIR/info]
1451 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1452 --mandir=DIR man documentation [DATAROOTDIR/man]
1453 --docdir=DIR documentation root [DATAROOTDIR/doc/makedat]
1454 --htmldir=DIR html documentation [DOCDIR]
1455 --dvidir=DIR dvi documentation [DOCDIR]
1456 --pdfdir=DIR pdf documentation [DOCDIR]
1457 --psdir=DIR ps documentation [DOCDIR]
1463 --program-prefix=PREFIX prepend PREFIX to installed program names
1464 --program-suffix=SUFFIX append SUFFIX to installed program names
1465 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1468 --build=BUILD configure
for building on BUILD
[guessed
]
1469 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1473 if test -n "$ac_init_help"; then
1474 case $ac_init_help in
1475 short | recursive
) echo "Configuration of makedat 0.60:";;
1480 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1481 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1482 --disable-dependency-tracking speeds up one-time build
1483 --enable-dependency-tracking do not reject slow dependency extractors
1484 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1485 --enable-static[=PKGS
] build static libraries
[default
=yes]
1486 --enable-fast-install[=PKGS
]
1487 optimize
for fast installation
[default
=yes]
1488 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1491 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1492 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1493 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1494 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1496 --with-tags[=TAGS
] include additional configurations
[automatic
]
1498 --with-makedatprog=filename Installed location and name of makedatprog
1500 Some influential environment variables
:
1501 CC C compiler
command
1502 CFLAGS C compiler flags
1503 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1504 nonstandard directory
<lib dir
>
1505 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1506 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1507 you have headers
in a nonstandard directory
<include dir
>
1509 CXX C
++ compiler
command
1510 CXXFLAGS C
++ compiler flags
1511 CXXCPP C
++ preprocessor
1512 F77 Fortran
77 compiler
command
1513 FFLAGS Fortran
77 compiler flags
1515 Use these variables to override the choices made by
`configure' or to help
1516 it to find libraries and programs with nonstandard names/locations.
1518 Report bugs to <courier-users@lists.sourceforge.net>.
1523 if test "$ac_init_help" = "recursive"; then
1524 # If there are subdirs, report their specific --help.
1525 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1526 test -d "$ac_dir" || continue
1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1533 # A ".." for each directory in $ac_dir_suffix.
1534 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1535 case $ac_top_builddir_sub in
1536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1540 ac_abs_top_builddir=$ac_pwd
1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1542 # for backward compatibility:
1543 ac_top_builddir=$ac_top_build_prefix
1546 .) # We are building in place.
1548 ac_top_srcdir=$ac_top_builddir_sub
1549 ac_abs_top_srcdir=$ac_pwd ;;
1550 [\\/]* | ?:[\\/]* ) # Absolute name.
1551 ac_srcdir=$srcdir$ac_dir_suffix;
1552 ac_top_srcdir=$srcdir
1553 ac_abs_top_srcdir=$srcdir ;;
1555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1556 ac_top_srcdir=$ac_top_build_prefix$srcdir
1557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1561 cd "$ac_dir" || { ac_status=$?; continue; }
1562 # Check for guested configure.
1563 if test -f "$ac_srcdir/configure.gnu"; then
1565 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1566 elif test -f "$ac_srcdir/configure"; then
1568 $SHELL "$ac_srcdir/configure" --help=recursive
1570 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1572 cd "$ac_pwd" || { ac_status=$?; break; }
1576 test -n "$ac_init_help" && exit $ac_status
1577 if $ac_init_version; then
1579 makedat configure 0.60
1580 generated by GNU Autoconf 2.61
1582 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1583 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1584 This configure script is free software; the Free Software Foundation
1585 gives unlimited permission to copy, distribute and modify it.
1589 cat >config.log <<_ACEOF
1590 This file contains any messages produced by compilers while
1591 running configure, to aid debugging if configure makes a mistake.
1593 It was created by makedat $as_me 0.60, which was
1594 generated by GNU Autoconf 2.61. Invocation command line was
1606 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1607 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1608 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1609 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1610 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1612 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1613 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1615 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1616 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1617 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1618 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1619 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1620 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1621 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1629 test -z "$as_dir" && as_dir=.
1630 echo "PATH: $as_dir"
1646 # Keep a trace of the command line.
1647 # Strip out --no-create and --no-recursion so they do not pile up.
1648 # Strip out --silent because we don't want to record it for future runs.
1649 # Also quote any args containing shell meta-characters.
1650 # Make two passes to allow for proper duplicate-argument suppression.
1654 ac_must_keep_next=false
1660 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1661 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1662 | -silent | --silent | --silen | --sile | --sil)
1665 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1668 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1670 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1671 if test $ac_must_keep_next = true; then
1672 ac_must_keep_next=false # Got value, back to normal.
1675 *=* | --config-cache | -C | -disable-* | --disable-* \
1676 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1677 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1678 | -with-* | --with-* | -without-* | --without-* | --x)
1679 case "$ac_configure_args0 " in
1680 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1683 -* ) ac_must_keep_next=true ;;
1686 ac_configure_args="$ac_configure_args '$ac_arg'"
1691 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1692 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1694 # When interrupted or exit'd, cleanup temporary files, and complete
1695 # config.log. We remove comments because anyway the quotes in there
1696 # would cause problems or look ugly.
1697 # WARNING: Use '\'' to represent an apostrophe within the trap.
1698 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1699 trap 'exit_status=$?
1700 # Save into config.log some information that might help in debugging.
1705 ## ---------------- ##
1706 ## Cache variables. ##
1707 ## ---------------- ##
1710 # The following way of writing the cache mishandles newlines in values,
1712 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1713 eval ac_val=\$$ac_var
1717 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1718 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1721 _ | IFS | as_nl) ;; #(
1722 *) $as_unset $ac_var ;;
1727 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1728 *${as_nl}ac_space=\ *)
1730 "s/'\''/'\''\\\\'\'''\''/g;
1731 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1734 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1742 ## ----------------- ##
1743 ## Output variables. ##
1744 ## ----------------- ##
1747 for ac_var in $ac_subst_vars
1749 eval ac_val=\$$ac_var
1751 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1753 echo "$ac_var='\''$ac_val'\''"
1757 if test -n "$ac_subst_files"; then
1759 ## ------------------- ##
1760 ## File substitutions. ##
1761 ## ------------------- ##
1764 for ac_var in $ac_subst_files
1766 eval ac_val=\$$ac_var
1768 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1770 echo "$ac_var='\''$ac_val'\''"
1775 if test -s confdefs.h; then
1785 test "$ac_signal" != 0 &&
1786 echo "$as_me: caught signal $ac_signal"
1787 echo "$as_me: exit $exit_status"
1789 rm -f core *.core core.conftest.* &&
1790 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1793 for ac_signal in 1 2 13 15; do
1794 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1798 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1799 rm -f -r conftest* confdefs.h
1801 # Predefined preprocessor variables.
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_NAME "$PACKAGE_NAME"
1808 cat >>confdefs.h <<_ACEOF
1809 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1813 cat >>confdefs.h <<_ACEOF
1814 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1818 cat >>confdefs.h <<_ACEOF
1819 #define PACKAGE_STRING "$PACKAGE_STRING"
1823 cat >>confdefs.h <<_ACEOF
1824 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1828 # Let the site file select an alternate cache file if it wants to.
1829 # Prefer explicitly selected file to automatically selected ones.
1830 if test -n "$CONFIG_SITE"; then
1831 set x "$CONFIG_SITE"
1832 elif test "x$prefix" != xNONE; then
1833 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1835 set x "$ac_default_prefix/share/config.site" \
1836 "$ac_default_prefix/etc/config.site"
1841 if test -r "$ac_site_file"; then
1842 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1843 echo "$as_me: loading site script $ac_site_file" >&6;}
1844 sed 's/^/| /' "$ac_site_file" >&5
1849 if test -r "$cache_file"; then
1850 # Some versions of bash will fail to source /dev/null (special
1851 # files actually), so we avoid doing that.
1852 if test -f "$cache_file"; then
1853 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1854 echo "$as_me: loading cache $cache_file" >&6;}
1856 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1857 *) . "./$cache_file";;
1861 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1862 echo "$as_me: creating cache $cache_file" >&6;}
1866 # Check that the precious variables saved in the cache have kept the same
1868 ac_cache_corrupted=false
1869 for ac_var in $ac_precious_vars; do
1870 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1871 eval ac_new_set=\$ac_env_${ac_var}_set
1872 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1873 eval ac_new_val=\$ac_env_${ac_var}_value
1874 case $ac_old_set,$ac_new_set in
1876 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1877 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1878 ac_cache_corrupted=: ;;
1880 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1881 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1882 ac_cache_corrupted=: ;;
1885 if test "x$ac_old_val" != "x$ac_new_val"; then
1886 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1887 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1888 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1889 echo "$as_me: former value
: $ac_old_val" >&2;}
1890 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1891 echo "$as_me: current value
: $ac_new_val" >&2;}
1892 ac_cache_corrupted=:
1895 # Pass precious variables to config.status.
1896 if test "$ac_new_set" = set; then
1898 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1899 *) ac_arg=$ac_var=$ac_new_val ;;
1901 case " $ac_configure_args " in
1902 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1903 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1907 if $ac_cache_corrupted; then
1908 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1909 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1910 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1911 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1912 { (exit 1); exit 1; }; }
1940 ac_cpp='$CPP $CPPFLAGS'
1941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1947 >confdefs.h # Kill PACKAGE_ macros
1950 am__api_version='1.10'
1953 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1954 if test -f "$ac_dir/install-sh"; then
1956 ac_install_sh="$ac_aux_dir/install-sh -c"
1958 elif test -f "$ac_dir/install.sh"; then
1960 ac_install_sh="$ac_aux_dir/install.sh -c"
1962 elif test -f "$ac_dir/shtool"; then
1964 ac_install_sh="$ac_aux_dir/shtool install -c"
1968 if test -z "$ac_aux_dir"; then
1969 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1970 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1971 { (exit 1); exit 1; }; }
1974 # These three variables are undocumented and unsupported,
1975 # and are intended to be withdrawn in a future Autoconf release.
1976 # They can cause serious problems if a builder's source tree is in a directory
1977 # whose full name contains unusual characters.
1978 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1979 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1980 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1983 # Find a good install program. We prefer a C program (faster),
1984 # so one script is as good as another. But avoid the broken or
1985 # incompatible versions:
1986 # SysV /etc/install, /usr/sbin/install
1987 # SunOS /usr/etc/install
1988 # IRIX /sbin/install
1990 # AmigaOS /C/install, which installs bootblocks on floppy discs
1991 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1992 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1993 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1994 # OS/2's system install, which has a completely different semantic
1995 # ./install, which can be erroneously created by make from ./install.sh.
1996 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1997 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1998 if test -z "$INSTALL"; then
1999 if test "${ac_cv_path_install+set}" = set; then
2000 echo $ECHO_N "(cached) $ECHO_C" >&6
2002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2006 test -z "$as_dir" && as_dir=.
2007 # Account for people who put trailing slashes in PATH elements.
2009 ./ | .// | /cC/* | \
2010 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2011 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2014 # OSF1 and SCO ODT 3.0 have their own names for install.
2015 # Don't use installbsd from OSF since it installs stuff as root
2017 for ac_prog in ginstall scoinst install; do
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2020 if test $ac_prog = install &&
2021 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2022 # AIX install. It has an incompatible calling convention.
2024 elif test $ac_prog = install &&
2025 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2026 # program-specific install script used by HP pwplus--don't use.
2029 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2042 if test "${ac_cv_path_install+set}" = set; then
2043 INSTALL=$ac_cv_path_install
2045 # As a last resort, use the slow shell script. Don't cache a
2046 # value for INSTALL within a source directory, because that will
2047 # break other packages using the cache if that directory is
2048 # removed, or if the value is a relative name.
2049 INSTALL=$ac_install_sh
2052 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2053 echo "${ECHO_T}$INSTALL" >&6; }
2055 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2056 # It thinks the first close brace ends the variable substitution.
2057 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2059 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2061 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2063 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2064 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2067 echo timestamp > conftest.file
2068 # Do `set' in a subshell so we don't clobber the current shell
's
2069 # arguments. Must try -L first in case configure is actually a
2070 # symlink; some systems play weird games with the mod time of symlinks
2071 # (eg FreeBSD returns the mod time of the symlink's containing
2074 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2075 if test "$*" = "X"; then
2077 set X
`ls -t $srcdir/configure conftest.file`
2080 if test "$*" != "X $srcdir/configure conftest.file" \
2081 && test "$*" != "X conftest.file $srcdir/configure"; then
2083 # If neither matched, then we have a broken ls. This can happen
2084 # if, for instance, CONFIG_SHELL is bash and it inherits a
2085 # broken ls alias from the environment. This has actually
2086 # happened. Such a system could not be considered "sane".
2087 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2088 alias in your environment" >&5
2089 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2090 alias in your environment" >&2;}
2091 { (exit 1); exit 1; }; }
2094 test "$2" = conftest.
file
2100 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2101 Check your system clock" >&5
2102 echo "$as_me: error: newly created file is older than distributed files!
2103 Check your system clock" >&2;}
2104 { (exit 1); exit 1; }; }
2106 { echo "$as_me:$LINENO: result: yes" >&5
2107 echo "${ECHO_T}yes" >&6; }
2108 test "$program_prefix" != NONE
&&
2109 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2110 # Use a double $ so make ignores it.
2111 test "$program_suffix" != NONE
&&
2112 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2113 # Double any \ or $. echo might interpret backslashes.
2114 # By default was `s,x,x', remove it if useless.
2115 cat <<\_ACEOF
>conftest.
sed
2116 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2118 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2121 # expand $ac_aux_dir to an absolute path
2122 am_aux_dir
=`cd $ac_aux_dir && pwd`
2124 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2125 # Use eval to expand $SHELL
2126 if eval "$MISSING --run true"; then
2127 am_missing_run
="$MISSING --run "
2130 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2131 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2134 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2135 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2136 if test -z "$MKDIR_P"; then
2137 if test "${ac_cv_path_mkdir+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2141 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2144 test -z "$as_dir" && as_dir
=.
2145 for ac_prog
in mkdir gmkdir
; do
2146 for ac_exec_ext
in '' $ac_executable_extensions; do
2147 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2148 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2149 'mkdir (GNU coreutils) '* | \
2150 'mkdir (coreutils) '* | \
2151 'mkdir (fileutils) '4.1*)
2152 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2162 if test "${ac_cv_path_mkdir+set}" = set; then
2163 MKDIR_P
="$ac_cv_path_mkdir -p"
2165 # As a last resort, use the slow shell script. Don't cache a
2166 # value for MKDIR_P within a source directory, because that will
2167 # break other packages using the cache if that directory is
2168 # removed, or if the value is a relative name.
2169 test -d .
/--version && rmdir .
/--version
2170 MKDIR_P
="$ac_install_sh -d"
2173 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2174 echo "${ECHO_T}$MKDIR_P" >&6; }
2178 [\\/$
]* | ?
:[\\/]*) ;;
2179 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2182 for ac_prog
in gawk mawk nawk
awk
2184 # Extract the first word of "$ac_prog", so it can be a program name with args.
2185 set dummy
$ac_prog; ac_word
=$2
2186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2188 if test "${ac_cv_prog_AWK+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 if test -n "$AWK"; then
2192 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir
=.
2199 for ac_exec_ext
in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201 ac_cv_prog_AWK
="$ac_prog"
2202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 if test -n "$AWK"; then
2213 { echo "$as_me:$LINENO: result: $AWK" >&5
2214 echo "${ECHO_T}$AWK" >&6; }
2216 { echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6; }
2221 test -n "$AWK" && break
2224 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2225 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2226 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2227 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 cat >conftest.
make <<\_ACEOF
2233 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2235 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2236 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2238 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2240 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2244 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2245 { echo "$as_me:$LINENO: result: yes" >&5
2246 echo "${ECHO_T}yes" >&6; }
2249 { echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6; }
2251 SET_MAKE
="MAKE=${MAKE-make}"
2254 rm -rf .tst
2>/dev
/null
2255 mkdir .tst
2>/dev
/null
2256 if test -d .tst
; then
2261 rmdir .tst
2>/dev
/null
2263 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2264 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2265 # is not polluted with repeated "-I."
2266 am__isrc
=' -I$(srcdir)'
2267 # test to see if srcdir already configured
2268 if test -f $srcdir/config.status
; then
2269 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2270 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2271 { (exit 1); exit 1; }; }
2275 # test whether we have cygpath
2276 if test -z "$CYGPATH_W"; then
2277 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2278 CYGPATH_W
='cygpath -w'
2285 # Define the identity of the package.
2290 # Some tools Automake needs.
2292 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2295 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2298 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2301 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2304 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2306 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2308 # Installed binaries are usually stripped using `strip' when the user
2309 # run `make install-strip'. However `strip' might not be the right
2310 # tool to use in cross-compilation environments, therefore Automake
2311 # will honor the `STRIP' environment variable to overrule this program.
2312 if test "$cross_compiling" != no
; then
2313 if test -n "$ac_tool_prefix"; then
2314 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2315 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2318 if test "${ac_cv_prog_STRIP+set}" = set; then
2319 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 if test -n "$STRIP"; then
2322 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir
=.
2329 for ac_exec_ext
in '' $ac_executable_extensions; do
2330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2331 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 STRIP
=$ac_cv_prog_STRIP
2342 if test -n "$STRIP"; then
2343 { echo "$as_me:$LINENO: result: $STRIP" >&5
2344 echo "${ECHO_T}$STRIP" >&6; }
2346 { echo "$as_me:$LINENO: result: no" >&5
2347 echo "${ECHO_T}no" >&6; }
2352 if test -z "$ac_cv_prog_STRIP"; then
2354 # Extract the first word of "strip", so it can be a program name with args.
2355 set dummy strip
; ac_word
=$2
2356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2358 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 if test -n "$ac_ct_STRIP"; then
2362 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir
=.
2369 for ac_exec_ext
in '' $ac_executable_extensions; do
2370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2371 ac_cv_prog_ac_ct_STRIP
="strip"
2372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2382 if test -n "$ac_ct_STRIP"; then
2383 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2384 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2386 { echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6; }
2390 if test "x$ac_ct_STRIP" = x
; then
2393 case $cross_compiling:$ac_tool_warned in
2395 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2396 whose name does not start with the host triplet. If you think this
2397 configuration is useful to you, please write to autoconf@gnu.org." >&5
2398 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2399 whose name does not start with the host triplet. If you think this
2400 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2401 ac_tool_warned
=yes ;;
2406 STRIP
="$ac_cv_prog_STRIP"
2410 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2412 # We need awk for the "check" target. The system "awk" is bad on
2414 # Always define AMTAR for backward compatibility.
2416 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2418 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2424 LPATH
="$PATH:/usr/local/bin"
2425 ac_config_headers
="$ac_config_headers config.h"
2429 ac_cpp
='$CPP $CPPFLAGS'
2430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2433 if test -n "$ac_tool_prefix"; then
2434 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2435 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2438 if test "${ac_cv_prog_CC+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2441 if test -n "$CC"; then
2442 ac_cv_prog_CC
="$CC" # Let the user override the test.
2444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2448 test -z "$as_dir" && as_dir
=.
2449 for ac_exec_ext
in '' $ac_executable_extensions; do
2450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2451 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2462 if test -n "$CC"; then
2463 { echo "$as_me:$LINENO: result: $CC" >&5
2464 echo "${ECHO_T}$CC" >&6; }
2466 { echo "$as_me:$LINENO: result: no" >&5
2467 echo "${ECHO_T}no" >&6; }
2472 if test -z "$ac_cv_prog_CC"; then
2474 # Extract the first word of "gcc", so it can be a program name with args.
2475 set dummy gcc
; ac_word
=$2
2476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 if test -n "$ac_ct_CC"; then
2482 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2488 test -z "$as_dir" && as_dir
=.
2489 for ac_exec_ext
in '' $ac_executable_extensions; do
2490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2491 ac_cv_prog_ac_ct_CC
="gcc"
2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2502 if test -n "$ac_ct_CC"; then
2503 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2504 echo "${ECHO_T}$ac_ct_CC" >&6; }
2506 { echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6; }
2510 if test "x$ac_ct_CC" = x
; then
2513 case $cross_compiling:$ac_tool_warned in
2515 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2516 whose name does not start with the host triplet. If you think this
2517 configuration is useful to you, please write to autoconf@gnu.org." >&5
2518 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2519 whose name does not start with the host triplet. If you think this
2520 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2521 ac_tool_warned
=yes ;;
2529 if test -z "$CC"; then
2530 if test -n "$ac_tool_prefix"; then
2531 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2532 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2535 if test "${ac_cv_prog_CC+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 if test -n "$CC"; then
2539 ac_cv_prog_CC
="$CC" # Let the user override the test.
2541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir
=.
2546 for ac_exec_ext
in '' $ac_executable_extensions; do
2547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2548 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 if test -n "$CC"; then
2560 { echo "$as_me:$LINENO: result: $CC" >&5
2561 echo "${ECHO_T}$CC" >&6; }
2563 { echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6; }
2570 if test -z "$CC"; then
2571 # Extract the first word of "cc", so it can be a program name with args.
2572 set dummy cc
; ac_word
=$2
2573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2575 if test "${ac_cv_prog_CC+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 if test -n "$CC"; then
2579 ac_cv_prog_CC
="$CC" # Let the user override the test.
2582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir
=.
2587 for ac_exec_ext
in '' $ac_executable_extensions; do
2588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2589 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2590 ac_prog_rejected
=yes
2594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2601 if test $ac_prog_rejected = yes; then
2602 # We found a bogon in the path, so make sure we never use it.
2603 set dummy
$ac_cv_prog_CC
2605 if test $# != 0; then
2606 # We chose a different compiler from the bogus one.
2607 # However, it has the same basename, so the bogon will be chosen
2608 # first if we set CC to just the basename; use the full file name.
2610 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2616 if test -n "$CC"; then
2617 { echo "$as_me:$LINENO: result: $CC" >&5
2618 echo "${ECHO_T}$CC" >&6; }
2620 { echo "$as_me:$LINENO: result: no" >&5
2621 echo "${ECHO_T}no" >&6; }
2626 if test -z "$CC"; then
2627 if test -n "$ac_tool_prefix"; then
2628 for ac_prog
in cl.exe
2630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2631 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2634 if test "${ac_cv_prog_CC+set}" = set; then
2635 echo $ECHO_N "(cached) $ECHO_C" >&6
2637 if test -n "$CC"; then
2638 ac_cv_prog_CC
="$CC" # Let the user override the test.
2640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir
=.
2645 for ac_exec_ext
in '' $ac_executable_extensions; do
2646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 if test -n "$CC"; then
2659 { echo "$as_me:$LINENO: result: $CC" >&5
2660 echo "${ECHO_T}$CC" >&6; }
2662 { echo "$as_me:$LINENO: result: no" >&5
2663 echo "${ECHO_T}no" >&6; }
2667 test -n "$CC" && break
2670 if test -z "$CC"; then
2672 for ac_prog
in cl.exe
2674 # Extract the first word of "$ac_prog", so it can be a program name with args.
2675 set dummy
$ac_prog; ac_word
=$2
2676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2678 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2679 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 if test -n "$ac_ct_CC"; then
2682 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir
=.
2689 for ac_exec_ext
in '' $ac_executable_extensions; do
2690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691 ac_cv_prog_ac_ct_CC
="$ac_prog"
2692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2702 if test -n "$ac_ct_CC"; then
2703 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2704 echo "${ECHO_T}$ac_ct_CC" >&6; }
2706 { echo "$as_me:$LINENO: result: no" >&5
2707 echo "${ECHO_T}no" >&6; }
2711 test -n "$ac_ct_CC" && break
2714 if test "x$ac_ct_CC" = x
; then
2717 case $cross_compiling:$ac_tool_warned in
2719 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2720 whose name does not start with the host triplet. If you think this
2721 configuration is useful to you, please write to autoconf@gnu.org." >&5
2722 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2723 whose name does not start with the host triplet. If you think this
2724 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2725 ac_tool_warned
=yes ;;
2734 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2735 See \`config.log' for more details." >&5
2736 echo "$as_me: error: no acceptable C compiler found in \$PATH
2737 See \`config.log' for more details." >&2;}
2738 { (exit 1); exit 1; }; }
2740 # Provide some information about the compiler.
2741 echo "$as_me:$LINENO: checking for C compiler version" >&5
2742 ac_compiler
=`set X $ac_compile; echo $2`
2743 { (ac_try
="$ac_compiler --version >&5"
2745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2746 *) ac_try_echo=$ac_try;;
2748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2749 (eval "$ac_compiler --version >&5") 2>&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); }
2753 { (ac_try="$ac_compiler -v >&5"
2755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2756 *) ac_try_echo
=$ac_try;;
2758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2759 (eval "$ac_compiler -v >&5") 2>&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }
2763 { (ac_try
="$ac_compiler -V >&5"
2765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
2768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2769 (eval "$ac_compiler -V >&5") 2>&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); }
2774 cat >conftest.$ac_ext <<_ACEOF
2777 cat confdefs.h >>conftest.$ac_ext
2778 cat >>conftest.$ac_ext <<_ACEOF
2779 /* end confdefs.h. */
2789 ac_clean_files_save=$ac_clean_files
2790 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2791 # Try to create an executable without -o first, disregard a.out.
2792 # It will help us diagnose broken compilers, and finding out an intuition
2794 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2795 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2796 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2798 # List of possible output files, starting from the most likely.
2799 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2800 # only as a last resort. b.out is created by i960 compilers.
2801 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2803 # The IRIX 6 linker writes into existing files which may not be
2804 # executable, retaining their permissions. Remove them first so a
2805 # subsequent execution test works.
2807 for ac_file in $ac_files
2810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2811 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2816 if { (ac_try="$ac_link_default"
2818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2819 *) ac_try_echo=$ac_try;;
2821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2822 (eval "$ac_link_default") 2>&5
2824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825 (exit $ac_status); }; then
2826 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2827 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2828 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2829 # so that the user can short-circuit this test for compilers unknown to
2831 for ac_file
in $ac_files ''
2833 test -f "$ac_file" ||
continue
2835 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2838 # We found the default executable, but exeext='' is most
2842 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2844 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2846 # We set ac_cv_exeext here because the later test for it is not
2847 # safe: cross compilers may not add the suffix if given an `-o'
2848 # argument, so we may need to know it at that point already.
2849 # Even if this section looks crufty: it has the advantage of
2856 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2862 { echo "$as_me:$LINENO: result: $ac_file" >&5
2863 echo "${ECHO_T}$ac_file" >&6; }
2864 if test -z "$ac_file"; then
2865 echo "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.
$ac_ext >&5
2868 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2869 See \`config.log' for more details." >&5
2870 echo "$as_me: error: C compiler cannot create executables
2871 See \`config.log' for more details." >&2;}
2872 { (exit 77); exit 77; }; }
2875 ac_exeext
=$ac_cv_exeext
2877 # Check that the compiler produces executables we can run. If not, either
2878 # the compiler is broken, or we cross compile.
2879 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2880 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2881 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2882 # If not cross compiling, check that we can run a simple program.
2883 if test "$cross_compiling" != yes; then
2884 if { ac_try
='./$ac_file'
2885 { (case "(($ac_try" in
2886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2887 *) ac_try_echo=$ac_try;;
2889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2890 (eval "$ac_try") 2>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; }; then
2896 if test "$cross_compiling" = maybe; then
2899 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2900 If you meant to cross compile, use \`--host'.
2901 See \`config.log' for more details.
" >&5
2902 echo "$as_me: error
: cannot run C compiled programs.
2903 If you meant to cross compile
, use \
`--host'.
2904 See \`config.log
' for more details." >&2;}
2905 { (exit 1); exit 1; }; }
2909 { echo "$as_me:$LINENO: result: yes" >&5
2910 echo "${ECHO_T}yes" >&6; }
2912 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2913 ac_clean_files=$ac_clean_files_save
2914 # Check that the compiler produces executables we can run. If not, either
2915 # the compiler is broken, or we cross compile.
2916 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2917 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2918 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2919 echo "${ECHO_T}$cross_compiling" >&6; }
2921 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2922 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2923 if { (ac_try="$ac_link"
2925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2926 *) ac_try_echo=$ac_try;;
2928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2929 (eval "$ac_link") 2>&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; then
2933 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2934 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2935 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2937 for ac_file
in conftest.exe conftest conftest.
*; do
2938 test -f "$ac_file" ||
continue
2940 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2941 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2947 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2948 See \`config.log' for more details." >&5
2949 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2950 See \`config.log' for more details." >&2;}
2951 { (exit 1); exit 1; }; }
2954 rm -f conftest
$ac_cv_exeext
2955 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2956 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2958 rm -f conftest.
$ac_ext
2959 EXEEXT
=$ac_cv_exeext
2961 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2962 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2963 if test "${ac_cv_objext+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 cat >conftest.
$ac_ext <<_ACEOF
2969 cat confdefs.h
>>conftest.
$ac_ext
2970 cat >>conftest.
$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2981 rm -f conftest.o conftest.obj
2982 if { (ac_try
="$ac_compile"
2984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2988 (eval "$ac_compile") 2>&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; then
2992 for ac_file in conftest.o conftest.obj conftest.*; do
2993 test -f "$ac_file" || continue;
2995 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2996 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3001 echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3004 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3005 See \`config.log
' for more details." >&5
3006 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3007 See \`config.log' for more details.
" >&2;}
3008 { (exit 1); exit 1; }; }
3011 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3013 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3014 echo "${ECHO_T}$ac_cv_objext" >&6; }
3015 OBJEXT=$ac_cv_objext
3017 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3018 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3019 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3020 echo $ECHO_N "(cached
) $ECHO_C" >&6
3022 cat >conftest.$ac_ext <<_ACEOF
3025 cat confdefs.h >>conftest.$ac_ext
3026 cat >>conftest.$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3040 rm -f conftest.$ac_objext
3041 if { (ac_try="$ac_compile"
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3047 (eval "$ac_compile") 2>conftest.er1
3049 grep -v '^ *+' conftest.er1 >conftest.err
3051 cat conftest.err >&5
3052 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3053 (exit $ac_status); } && {
3054 test -z "$ac_c_werror_flag" ||
3055 test ! -s conftest.err
3056 } && test -s conftest.$ac_objext; then
3059 echo "$as_me: failed program was
:" >&5
3060 sed 's/^/| /' conftest.$ac_ext >&5
3065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3066 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3069 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3070 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3071 GCC=`test $ac_compiler_gnu = yes && echo yes`
3072 ac_test_CFLAGS=${CFLAGS+set}
3073 ac_save_CFLAGS=$CFLAGS
3074 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3075 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3076 if test "${ac_cv_prog_cc_g+set}" = set; then
3077 echo $ECHO_N "(cached
) $ECHO_C" >&6
3079 ac_save_c_werror_flag=$ac_c_werror_flag
3080 ac_c_werror_flag=yes
3083 cat >conftest.$ac_ext <<_ACEOF
3086 cat confdefs.h >>conftest.$ac_ext
3087 cat >>conftest.$ac_ext <<_ACEOF
3088 /* end confdefs.h. */
3098 rm -f conftest.$ac_objext
3099 if { (ac_try="$ac_compile"
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3105 (eval "$ac_compile") 2>conftest.er1
3107 grep -v '^ *+' conftest.er1 >conftest.err
3109 cat conftest.err >&5
3110 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3111 (exit $ac_status); } && {
3112 test -z "$ac_c_werror_flag" ||
3113 test ! -s conftest.err
3114 } && test -s conftest.$ac_objext; then
3117 echo "$as_me: failed program was
:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3121 cat >conftest.$ac_ext <<_ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3136 rm -f conftest.$ac_objext
3137 if { (ac_try="$ac_compile"
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3143 (eval "$ac_compile") 2>conftest.er1
3145 grep -v '^ *+' conftest.er1 >conftest.err
3147 cat conftest.err >&5
3148 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3149 (exit $ac_status); } && {
3150 test -z "$ac_c_werror_flag" ||
3151 test ! -s conftest.err
3152 } && test -s conftest.$ac_objext; then
3155 echo "$as_me: failed program was
:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3158 ac_c_werror_flag=$ac_save_c_werror_flag
3160 cat >conftest.$ac_ext <<_ACEOF
3163 cat confdefs.h >>conftest.$ac_ext
3164 cat >>conftest.$ac_ext <<_ACEOF
3165 /* end confdefs.h. */
3175 rm -f conftest.$ac_objext
3176 if { (ac_try="$ac_compile"
3178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3179 *) ac_try_echo=$ac_try;;
3181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3182 (eval "$ac_compile") 2>conftest.er1
3184 grep -v '^ *+' conftest.er1 >conftest.err
3186 cat conftest.err >&5
3187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3188 (exit $ac_status); } && {
3189 test -z "$ac_c_werror_flag" ||
3190 test ! -s conftest.err
3191 } && test -s conftest.$ac_objext; then
3194 echo "$as_me: failed program was
:" >&5
3195 sed 's/^/| /' conftest.$ac_ext >&5
3200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3207 ac_c_werror_flag=$ac_save_c_werror_flag
3209 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3210 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3211 if test "$ac_test_CFLAGS" = set; then
3212 CFLAGS=$ac_save_CFLAGS
3213 elif test $ac_cv_prog_cc_g = yes; then
3214 if test "$GCC" = yes; then
3220 if test "$GCC" = yes; then
3226 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3227 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3228 if test "${ac_cv_prog_cc_c89+set}" = set; then
3229 echo $ECHO_N "(cached
) $ECHO_C" >&6
3231 ac_cv_prog_cc_c89=no
3233 cat >conftest.$ac_ext <<_ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3241 #include <sys/types.h>
3242 #include <sys/stat.h>
3243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3244 struct buf { int x; };
3245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3246 static char *e (p, i)
3252 static char *f (char * (*g) (char **, int), char **p, ...)
3257 s = g (p, va_arg (v,int));
3262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3263 function prototypes and stuff, but not '\xHH' hex character constants.
3264 These don't provoke an error unfortunately, instead are silently treated
3265 as 'x'. The following induces an error, until -std is added to get
3266 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3267 array size at least. It's necessary to write '\x00'==0 to get something
3268 that's true only with -std. */
3269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3271 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3272 inside strings and character constants. */
3274 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3276 int test (int i, double x);
3277 struct s1 {int (*f) (int a);};
3278 struct s2 {int (*f) (double a);};
3279 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3285 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3290 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3291 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3293 CC="$ac_save_CC $ac_arg"
3294 rm -f conftest.$ac_objext
3295 if { (ac_try="$ac_compile"
3297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3298 *) ac_try_echo=$ac_try;;
3300 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3301 (eval "$ac_compile") 2>conftest.er1
3303 grep -v '^ *+' conftest.er1 >conftest.err
3305 cat conftest.err >&5
3306 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3307 (exit $ac_status); } && {
3308 test -z "$ac_c_werror_flag" ||
3309 test ! -s conftest.err
3310 } && test -s conftest.$ac_objext; then
3311 ac_cv_prog_cc_c89=$ac_arg
3313 echo "$as_me: failed program was
:" >&5
3314 sed 's/^/| /' conftest.$ac_ext >&5
3319 rm -f core conftest.err conftest.$ac_objext
3320 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3322 rm -f conftest.$ac_ext
3327 case "x
$ac_cv_prog_cc_c89" in
3329 { echo "$as_me:$LINENO: result
: none needed
" >&5
3330 echo "${ECHO_T}none needed
" >&6; } ;;
3332 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3333 echo "${ECHO_T}unsupported
" >&6; } ;;
3335 CC="$CC $ac_cv_prog_cc_c89"
3336 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3337 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3342 ac_cpp='$CPP $CPPFLAGS'
3343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3346 DEPDIR="${am__leading_dot}deps
"
3348 ac_config_commands="$ac_config_commands depfiles
"
3351 am_make=${MAKE-make}
3352 cat > confinc << 'END'
3357 # If we don't find an include directive, just comment out the code.
3358 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3359 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3363 # First try GNU make style include.
3364 echo "include confinc" > confmf
3365 # We grep out `Entering directory' and `Leaving directory'
3366 # messages which can occur if `w' ends up in MAKEFLAGS.
3367 # In particular we don't look at `^make:' because GNU make might
3368 # be invoked under some other name (usually "gmake"), in which
3369 # case it prints its new name instead of `make'.
3370 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3375 # Now try BSD make style include.
3376 if test "$am__include" = "#"; then
3377 echo '.include "confinc"' > confmf
3378 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3379 am__include
=.include
3386 { echo "$as_me:$LINENO: result: $_am_result" >&5
3387 echo "${ECHO_T}$_am_result" >&6; }
3388 rm -f confinc confmf
3390 # Check whether --enable-dependency-tracking was given.
3391 if test "${enable_dependency_tracking+set}" = set; then
3392 enableval
=$enable_dependency_tracking;
3395 if test "x$enable_dependency_tracking" != xno
; then
3396 am_depcomp
="$ac_aux_dir/depcomp"
3399 if test "x$enable_dependency_tracking" != xno; then
3409 depcc
="$CC" am_compiler_list
=
3411 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3412 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3413 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3417 # We make a subdir and do the tests there. Otherwise we can end up
3418 # making bogus files that we don't know about and never remove. For
3419 # instance it was reported that on HP-UX the gcc test will end up
3420 # making a dummy file named `D' -- because `-MD' means `put the output
3423 # Copy depcomp to subdir because otherwise we won't find it if we're
3424 # using a relative directory.
3425 cp "$am_depcomp" conftest.dir
3427 # We will build objects and dependencies in a subdirectory because
3428 # it helps to detect inapplicable dependency modes. For instance
3429 # both Tru64's cc and ICC support -MD to output dependencies as a
3430 # side effect of compilation, but ICC will put the dependencies in
3431 # the current directory while Tru64 will put them in the object
3435 am_cv_CC_dependencies_compiler_type
=none
3436 if test "$am_compiler_list" = ""; then
3437 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3439 for depmode
in $am_compiler_list; do
3440 # Setup a source with many dependencies, because some compilers
3441 # like to wrap large dependency lists on column 80 (with \), and
3442 # we should not choose a depcomp mode which is confused by this.
3444 # We need to recreate these files for each test, as the compiler may
3445 # overwrite some of them when testing with obscure command lines.
3446 # This happens at least with the AIX C compiler.
3448 for i
in 1 2 3 4 5 6; do
3449 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3450 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3451 # Solaris 8's {/usr,}/bin/sh.
3452 touch sub
/conftst
$i.h
3454 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3458 # after this tag, mechanisms are not by side-effect, so they'll
3459 # only be used when explicitly requested
3460 if test "x$enable_dependency_tracking" = xyes
; then
3468 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3469 # mode. It turns out that the SunPro C++ compiler does not properly
3470 # handle `-M -o', and we need to detect this.
3471 if depmode
=$depmode \
3472 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3473 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3474 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3475 >/dev
/null
2>conftest.err
&&
3476 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3477 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3478 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3479 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3480 # icc doesn't choke on unknown options, it will just issue warnings
3481 # or remarks (even with -Werror). So we grep stderr for any message
3482 # that says an option was ignored or not supported.
3483 # When given -MP, icc 7.0 and 7.1 complain thusly:
3484 # icc: Command line warning: ignoring option '-M'; no argument required
3485 # The diagnosis changed in icc 8.0:
3486 # icc: Command line remark: option '-MP' not supported
3487 if (grep 'ignoring option' conftest.err ||
3488 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3489 am_cv_CC_dependencies_compiler_type
=$depmode
3498 am_cv_CC_dependencies_compiler_type
=none
3502 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3503 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3504 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3507 test "x$enable_dependency_tracking" != xno \
3508 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3510 am__fastdepCC_FALSE
='#'
3512 am__fastdepCC_TRUE
='#'
3513 am__fastdepCC_FALSE
=
3517 # Find a good install program. We prefer a C program (faster),
3518 # so one script is as good as another. But avoid the broken or
3519 # incompatible versions:
3520 # SysV /etc/install, /usr/sbin/install
3521 # SunOS /usr/etc/install
3522 # IRIX /sbin/install
3524 # AmigaOS /C/install, which installs bootblocks on floppy discs
3525 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3526 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3527 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3528 # OS/2's system install, which has a completely different semantic
3529 # ./install, which can be erroneously created by make from ./install.sh.
3530 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3531 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3532 if test -z "$INSTALL"; then
3533 if test "${ac_cv_path_install+set}" = set; then
3534 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3540 test -z "$as_dir" && as_dir
=.
3541 # Account for people who put trailing slashes in PATH elements.
3543 .
/ | .
// |
/cC
/* | \
3544 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3545 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3548 # OSF1 and SCO ODT 3.0 have their own names for install.
3549 # Don't use installbsd from OSF since it installs stuff as root
3551 for ac_prog
in ginstall scoinst
install; do
3552 for ac_exec_ext
in '' $ac_executable_extensions; do
3553 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3554 if test $ac_prog = install &&
3555 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3556 # AIX install. It has an incompatible calling convention.
3558 elif test $ac_prog = install &&
3559 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3560 # program-specific install script used by HP pwplus--don't use.
3563 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3576 if test "${ac_cv_path_install+set}" = set; then
3577 INSTALL
=$ac_cv_path_install
3579 # As a last resort, use the slow shell script. Don't cache a
3580 # value for INSTALL within a source directory, because that will
3581 # break other packages using the cache if that directory is
3582 # removed, or if the value is a relative name.
3583 INSTALL
=$ac_install_sh
3586 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3587 echo "${ECHO_T}$INSTALL" >&6; }
3589 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3590 # It thinks the first close brace ends the variable substitution.
3591 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3593 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3595 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3597 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3598 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3600 if test "$LN_S" = "ln -s"; then
3601 { echo "$as_me:$LINENO: result: yes" >&5
3602 echo "${ECHO_T}yes" >&6; }
3604 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3605 echo "${ECHO_T}no, using $LN_S" >&6; }
3608 for ac_prog
in perl5 perl
3610 # Extract the first word of "$ac_prog", so it can be a program name with args.
3611 set dummy
$ac_prog; ac_word
=$2
3612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3614 if test "${ac_cv_path_PERL+set}" = set; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3619 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3623 for as_dir
in $LPATH
3626 test -z "$as_dir" && as_dir
=.
3627 for ac_exec_ext
in '' $ac_executable_extensions; do
3628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3629 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
3630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 PERL
=$ac_cv_path_PERL
3641 if test -n "$PERL"; then
3642 { echo "$as_me:$LINENO: result: $PERL" >&5
3643 echo "${ECHO_T}$PERL" >&6; }
3645 { echo "$as_me:$LINENO: result: no" >&5
3646 echo "${ECHO_T}no" >&6; }
3650 test -n "$PERL" && break
3652 test -n "$PERL" || PERL
="perl"
3657 # Extract the first word of "$ac_prog", so it can be a program name with args.
3658 set dummy
$ac_prog; ac_word
=$2
3659 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3661 if test "${ac_cv_path_CAT+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3666 ac_cv_path_CAT
="$CAT" # Let the user override the test with a path.
3669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3673 test -z "$as_dir" && as_dir
=.
3674 for ac_exec_ext
in '' $ac_executable_extensions; do
3675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3676 ac_cv_path_CAT
="$as_dir/$ac_word$ac_exec_ext"
3677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3688 if test -n "$CAT"; then
3689 { echo "$as_me:$LINENO: result: $CAT" >&5
3690 echo "${ECHO_T}$CAT" >&6; }
3692 { echo "$as_me:$LINENO: result: no" >&5
3693 echo "${ECHO_T}no" >&6; }
3697 test -n "$CAT" && break
3699 test -n "$CAT" || CAT
="cat"
3703 # Check whether --enable-shared was given.
3704 if test "${enable_shared+set}" = set; then
3705 enableval
=$enable_shared; p
=${PACKAGE-default}
3707 yes) enable_shared
=yes ;;
3708 no
) enable_shared
=no
;;
3711 # Look at the argument we got. We use all the common list separators.
3712 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3713 for pkg
in $enableval; do
3715 if test "X$pkg" = "X$p"; then
3727 # Check whether --enable-static was given.
3728 if test "${enable_static+set}" = set; then
3729 enableval
=$enable_static; p
=${PACKAGE-default}
3731 yes) enable_static
=yes ;;
3732 no
) enable_static
=no
;;
3735 # Look at the argument we got. We use all the common list separators.
3736 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3737 for pkg
in $enableval; do
3739 if test "X$pkg" = "X$p"; then
3751 # Check whether --enable-fast-install was given.
3752 if test "${enable_fast_install+set}" = set; then
3753 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3755 yes) enable_fast_install
=yes ;;
3756 no
) enable_fast_install
=no
;;
3758 enable_fast_install
=no
3759 # Look at the argument we got. We use all the common list separators.
3760 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3761 for pkg
in $enableval; do
3763 if test "X$pkg" = "X$p"; then
3764 enable_fast_install
=yes
3771 enable_fast_install
=yes
3775 # Make sure we can run config.sub.
3776 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3777 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3778 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3779 { (exit 1); exit 1; }; }
3781 { echo "$as_me:$LINENO: checking build system type" >&5
3782 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3783 if test "${ac_cv_build+set}" = set; then
3784 echo $ECHO_N "(cached) $ECHO_C" >&6
3786 ac_build_alias
=$build_alias
3787 test "x$ac_build_alias" = x
&&
3788 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3789 test "x$ac_build_alias" = x
&&
3790 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3791 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3792 { (exit 1); exit 1; }; }
3793 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3794 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3795 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3796 { (exit 1); exit 1; }; }
3799 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3800 echo "${ECHO_T}$ac_cv_build" >&6; }
3801 case $ac_cv_build in
3803 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3804 echo "$as_me: error: invalid value of canonical build" >&2;}
3805 { (exit 1); exit 1; }; };;
3808 ac_save_IFS
=$IFS; IFS
='-'
3814 # Remember, the first character of IFS is used to create $*,
3815 # except with old shells:
3818 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3821 { echo "$as_me:$LINENO: checking host system type" >&5
3822 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3823 if test "${ac_cv_host+set}" = set; then
3824 echo $ECHO_N "(cached) $ECHO_C" >&6
3826 if test "x$host_alias" = x
; then
3827 ac_cv_host
=$ac_cv_build
3829 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3830 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3831 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3832 { (exit 1); exit 1; }; }
3836 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3837 echo "${ECHO_T}$ac_cv_host" >&6; }
3840 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3841 echo "$as_me: error: invalid value of canonical host" >&2;}
3842 { (exit 1); exit 1; }; };;
3845 ac_save_IFS
=$IFS; IFS
='-'
3851 # Remember, the first character of IFS is used to create $*,
3852 # except with old shells:
3855 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3858 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3859 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3860 if test "${lt_cv_path_SED+set}" = set; then
3861 echo $ECHO_N "(cached) $ECHO_C" >&6
3863 # Loop through the user's path and test for sed and gsed.
3864 # Then use that list of sed's as ones to test for truncation.
3865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3869 test -z "$as_dir" && as_dir
=.
3870 for lt_ac_prog
in sed gsed
; do
3871 for ac_exec_ext
in '' $ac_executable_extensions; do
3872 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3873 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3881 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3882 # along with /bin/sed that truncates output.
3883 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3884 test ! -f $lt_ac_sed && continue
3885 cat /dev
/null
> conftest.
in
3887 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3888 # Check for GNU sed and select it if it is found.
3889 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3890 lt_cv_path_SED
=$lt_ac_sed
3894 cat conftest.
in conftest.
in >conftest.tmp
3895 mv conftest.tmp conftest.
in
3896 cp conftest.
in conftest.
nl
3898 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3899 cmp -s conftest.out conftest.
nl ||
break
3900 # 10000 chars as input seems more than enough
3901 test $lt_ac_count -gt 10 && break
3902 lt_ac_count
=`expr $lt_ac_count + 1`
3903 if test $lt_ac_count -gt $lt_ac_max; then
3904 lt_ac_max
=$lt_ac_count
3905 lt_cv_path_SED
=$lt_ac_sed
3914 { echo "$as_me:$LINENO: result: $SED" >&5
3915 echo "${ECHO_T}$SED" >&6; }
3917 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3918 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3919 if test "${ac_cv_path_GREP+set}" = set; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3922 # Extract the first word of "grep ggrep" to use in msg output
3923 if test -z "$GREP"; then
3924 set dummy
grep ggrep
; ac_prog_name
=$2
3925 if test "${ac_cv_path_GREP+set}" = set; then
3926 echo $ECHO_N "(cached) $ECHO_C" >&6
3928 ac_path_GREP_found
=false
3929 # Loop through the user's path and test for each of PROGNAME-LIST
3930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3931 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3934 test -z "$as_dir" && as_dir
=.
3935 for ac_prog
in grep ggrep
; do
3936 for ac_exec_ext
in '' $ac_executable_extensions; do
3937 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3938 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3939 # Check for GNU ac_path_GREP and select it if it is found.
3940 # Check for GNU $ac_path_GREP
3941 case `"$ac_path_GREP" --version 2>&1` in
3943 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3946 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3949 cat "conftest.in" "conftest.in" >"conftest.tmp"
3950 mv "conftest.tmp" "conftest.in"
3951 cp "conftest.in" "conftest.nl"
3952 echo 'GREP' >> "conftest.nl"
3953 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3954 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3955 ac_count
=`expr $ac_count + 1`
3956 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3957 # Best one so far, save it but keep looking for a better one
3958 ac_cv_path_GREP
="$ac_path_GREP"
3959 ac_path_GREP_max
=$ac_count
3961 # 10*(2^10) chars as input seems more than enough
3962 test $ac_count -gt 10 && break
3964 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3968 $ac_path_GREP_found && break 3
3978 GREP
="$ac_cv_path_GREP"
3979 if test -z "$GREP"; then
3980 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3981 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3982 { (exit 1); exit 1; }; }
3986 ac_cv_path_GREP
=$GREP
3991 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3992 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3993 GREP
="$ac_cv_path_GREP"
3996 { echo "$as_me:$LINENO: checking for egrep" >&5
3997 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3998 if test "${ac_cv_path_EGREP+set}" = set; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4001 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4002 then ac_cv_path_EGREP
="$GREP -E"
4004 # Extract the first word of "egrep" to use in msg output
4005 if test -z "$EGREP"; then
4006 set dummy
egrep; ac_prog_name
=$2
4007 if test "${ac_cv_path_EGREP+set}" = set; then
4008 echo $ECHO_N "(cached) $ECHO_C" >&6
4010 ac_path_EGREP_found
=false
4011 # Loop through the user's path and test for each of PROGNAME-LIST
4012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4013 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4016 test -z "$as_dir" && as_dir
=.
4017 for ac_prog
in egrep; do
4018 for ac_exec_ext
in '' $ac_executable_extensions; do
4019 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4020 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4021 # Check for GNU ac_path_EGREP and select it if it is found.
4022 # Check for GNU $ac_path_EGREP
4023 case `"$ac_path_EGREP" --version 2>&1` in
4025 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4028 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4031 cat "conftest.in" "conftest.in" >"conftest.tmp"
4032 mv "conftest.tmp" "conftest.in"
4033 cp "conftest.in" "conftest.nl"
4034 echo 'EGREP' >> "conftest.nl"
4035 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4036 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4037 ac_count
=`expr $ac_count + 1`
4038 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4039 # Best one so far, save it but keep looking for a better one
4040 ac_cv_path_EGREP
="$ac_path_EGREP"
4041 ac_path_EGREP_max
=$ac_count
4043 # 10*(2^10) chars as input seems more than enough
4044 test $ac_count -gt 10 && break
4046 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4050 $ac_path_EGREP_found && break 3
4060 EGREP
="$ac_cv_path_EGREP"
4061 if test -z "$EGREP"; then
4062 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4063 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4064 { (exit 1); exit 1; }; }
4068 ac_cv_path_EGREP
=$EGREP
4074 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4075 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4076 EGREP
="$ac_cv_path_EGREP"
4080 # Check whether --with-gnu-ld was given.
4081 if test "${with_gnu_ld+set}" = set; then
4082 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4088 if test "$GCC" = yes; then
4089 # Check if gcc -print-prog-name=ld gives a path.
4090 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4091 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4094 # gcc leaves a trailing carriage return which upsets mingw
4095 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4097 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4100 # Accept absolute paths.
4102 re_direlt
='/[^/][^/]*/\.\./'
4103 # Canonicalize the pathname of ld
4104 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4105 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4106 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4108 test -z "$LD" && LD
="$ac_prog"
4111 # If it fails, then pretend we aren't using GCC.
4115 # If it is relative, then search for the first ld in PATH.
4119 elif test "$with_gnu_ld" = yes; then
4120 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4121 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4123 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4124 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4126 if test "${lt_cv_path_LD+set}" = set; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4129 if test -z "$LD"; then
4130 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4131 for ac_dir
in $PATH; do
4133 test -z "$ac_dir" && ac_dir
=.
4134 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4135 lt_cv_path_LD
="$ac_dir/$ac_prog"
4136 # Check to see if the program is GNU ld. I'd rather use --version,
4137 # but apparently some variants of GNU ld only accept -v.
4138 # Break only if it was the GNU/non-GNU ld that we prefer.
4139 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4140 *GNU
* |
*'with BFD'*)
4141 test "$with_gnu_ld" != no
&& break
4144 test "$with_gnu_ld" != yes && break
4151 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4156 if test -n "$LD"; then
4157 { echo "$as_me:$LINENO: result: $LD" >&5
4158 echo "${ECHO_T}$LD" >&6; }
4160 { echo "$as_me:$LINENO: result: no" >&5
4161 echo "${ECHO_T}no" >&6; }
4163 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4164 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4165 { (exit 1); exit 1; }; }
4166 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4167 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4168 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4169 echo $ECHO_N "(cached) $ECHO_C" >&6
4171 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4172 case `$LD -v 2>&1 </dev/null` in
4173 *GNU
* |
*'with BFD'*)
4174 lt_cv_prog_gnu_ld
=yes
4177 lt_cv_prog_gnu_ld
=no
4181 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4182 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4183 with_gnu_ld
=$lt_cv_prog_gnu_ld
4186 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4187 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4188 if test "${lt_cv_ld_reload_flag+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4191 lt_cv_ld_reload_flag
='-r'
4193 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4194 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4195 reload_flag
=$lt_cv_ld_reload_flag
4196 case $reload_flag in
4198 *) reload_flag
=" $reload_flag" ;;
4200 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4203 if test "$GCC" = yes; then
4204 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4206 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4211 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4212 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4213 if test "${lt_cv_path_NM+set}" = set; then
4214 echo $ECHO_N "(cached) $ECHO_C" >&6
4216 if test -n "$NM"; then
4217 # Let the user override the test.
4220 lt_nm_to_check
="${ac_tool_prefix}nm"
4221 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4222 lt_nm_to_check
="$lt_nm_to_check nm"
4224 for lt_tmp_nm
in $lt_nm_to_check; do
4225 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4226 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4228 test -z "$ac_dir" && ac_dir
=.
4229 tmp_nm
="$ac_dir/$lt_tmp_nm"
4230 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4231 # Check to see if the nm accepts a BSD-compat flag.
4232 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4233 # nm: unknown option "B" ignored
4234 # Tru64's nm complains that /dev/null is an invalid object file
4235 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4236 */dev
/null
* |
*'Invalid file or object type'*)
4237 lt_cv_path_NM
="$tmp_nm -B"
4241 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4243 lt_cv_path_NM
="$tmp_nm -p"
4247 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4248 continue # so that we can try to find one that supports BSD flags
4257 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4260 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4261 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4264 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4265 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4266 if test "${lt_cv_deplibs_check_method+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4269 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4270 lt_cv_file_magic_test_file
=
4271 lt_cv_deplibs_check_method
='unknown'
4272 # Need to set the preceding variable on all platforms that support
4273 # interlibrary dependencies.
4274 # 'none' -- dependencies not supported.
4275 # `unknown' -- same as none, but documents that we really don't know.
4276 # 'pass_all' -- all dependencies passed with no checks.
4277 # 'test_compile' -- check by making test program.
4278 # 'file_magic [[regex]]' -- check by looking for files in library path
4279 # which responds to the $file_magic_cmd with a given extended regex.
4280 # If you have `file' or equivalent on your system and you're not sure
4281 # whether `pass_all' will *always* work, you probably want this one.
4285 lt_cv_deplibs_check_method
=pass_all
4289 lt_cv_deplibs_check_method
=pass_all
4293 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4294 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4295 lt_cv_file_magic_test_file
=/shlib
/libc.so
4299 # func_win32_libid is a shell function defined in ltmain.sh
4300 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4301 lt_cv_file_magic_cmd
='func_win32_libid'
4305 # Base MSYS/MinGW do not provide the 'file' command needed by
4306 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4307 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4308 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4311 darwin
* | rhapsody
*)
4312 lt_cv_deplibs_check_method
=pass_all
4315 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4316 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4319 # Not sure whether the presence of OpenBSD here was a mistake.
4320 # Let's accept both of them until this is cleared up.
4321 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4322 lt_cv_file_magic_cmd
=/usr
/bin
/file
4323 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4327 lt_cv_deplibs_check_method
=pass_all
4332 lt_cv_deplibs_check_method
=pass_all
4335 hpux10.20
* | hpux11
*)
4336 lt_cv_file_magic_cmd
=/usr
/bin
/file
4339 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4340 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4343 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]'
4344 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4347 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4348 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4354 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4355 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4358 irix5
* | irix6
* | nonstopux
*)
4360 *-32|
*"-32 ") libmagic
=32-bit;;
4361 *-n32|
*"-n32 ") libmagic
=N32
;;
4362 *-64|
*"-64 ") libmagic
=64-bit;;
4363 *) libmagic
=never-match
;;
4365 lt_cv_deplibs_check_method
=pass_all
4368 # This must be Linux ELF.
4370 lt_cv_deplibs_check_method
=pass_all
4374 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4375 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4377 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4382 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4383 lt_cv_file_magic_cmd
=/usr
/bin
/file
4384 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4388 lt_cv_deplibs_check_method
=unknown
4392 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4393 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4395 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4399 osf3
* | osf4
* | osf5
*)
4400 lt_cv_deplibs_check_method
=pass_all
4404 lt_cv_deplibs_check_method
=pass_all
4408 case $host_vendor in
4410 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]'
4411 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4414 lt_cv_deplibs_check_method
=pass_all
4417 lt_cv_file_magic_cmd
='/bin/file'
4418 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4421 lt_cv_file_magic_cmd
='/bin/file'
4422 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4423 lt_cv_file_magic_test_file
=/lib
/libc.so
4426 lt_cv_deplibs_check_method
=pass_all
4429 lt_cv_deplibs_check_method
=pass_all
4434 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4435 lt_cv_deplibs_check_method
=pass_all
4440 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4441 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4442 file_magic_cmd
=$lt_cv_file_magic_cmd
4443 deplibs_check_method
=$lt_cv_deplibs_check_method
4444 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4449 # If no C compiler was specified, use CC.
4452 # If no C compiler flags were specified, use CFLAGS.
4453 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4455 # Allow CC to be a program name with arguments.
4459 # Check whether --enable-libtool-lock was given.
4460 if test "${enable_libtool_lock+set}" = set; then
4461 enableval
=$enable_libtool_lock;
4464 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4466 # Some flags need to be propagated to the compiler or linker for good
4470 # Find out which ABI we are using.
4471 echo 'int i;' > conftest.
$ac_ext
4472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4473 (eval $ac_compile) 2>&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); }; then
4477 case `/usr/bin/file conftest.$ac_objext` in
4489 # Find out which ABI we are using.
4490 echo '#line 4490 "configure"' > conftest.
$ac_ext
4491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4492 (eval $ac_compile) 2>&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); }; then
4496 if test "$lt_cv_prog_gnu_ld" = yes; then
4497 case `/usr/bin/file conftest.$ac_objext` in
4499 LD
="${LD-ld} -melf32bsmip"
4502 LD
="${LD-ld} -melf32bmipn32"
4505 LD
="${LD-ld} -melf64bmip"
4509 case `/usr/bin/file conftest.$ac_objext` in
4525 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4526 # Find out which ABI we are using.
4527 echo 'int i;' > conftest.
$ac_ext
4528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4529 (eval $ac_compile) 2>&5
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); }; then
4533 case `/usr/bin/file conftest.o` in
4537 LD
="${LD-ld} -m elf_i386"
4539 ppc64-
*linux
*|powerpc64-
*linux
*)
4540 LD
="${LD-ld} -m elf32ppclinux"
4543 LD
="${LD-ld} -m elf_s390"
4546 LD
="${LD-ld} -m elf32_sparc"
4553 LD
="${LD-ld} -m elf_x86_64"
4555 ppc
*-*linux
*|powerpc
*-*linux
*)
4556 LD
="${LD-ld} -m elf64ppc"
4559 LD
="${LD-ld} -m elf64_s390"
4562 LD
="${LD-ld} -m elf64_sparc"
4572 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4573 SAVE_CFLAGS
="$CFLAGS"
4574 CFLAGS
="$CFLAGS -belf"
4575 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4576 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4577 if test "${lt_cv_cc_needs_belf+set}" = set; then
4578 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 ac_cpp
='$CPP $CPPFLAGS'
4582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4586 cat >conftest.
$ac_ext <<_ACEOF
4589 cat confdefs.h
>>conftest.
$ac_ext
4590 cat >>conftest.
$ac_ext <<_ACEOF
4591 /* end confdefs.h. */
4601 rm -f conftest.
$ac_objext conftest
$ac_exeext
4602 if { (ac_try
="$ac_link"
4604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4605 *) ac_try_echo=$ac_try;;
4607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4608 (eval "$ac_link") 2>conftest.er1
4610 grep -v '^ *+' conftest.er1 >conftest.err
4612 cat conftest.err >&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); } && {
4615 test -z "$ac_c_werror_flag" ||
4616 test ! -s conftest.err
4617 } && test -s conftest$ac_exeext &&
4618 $as_test_x conftest$ac_exeext; then
4619 lt_cv_cc_needs_belf=yes
4621 echo "$as_me: failed program was:" >&5
4622 sed 's/^/| /' conftest.$ac_ext >&5
4624 lt_cv_cc_needs_belf=no
4627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4628 conftest$ac_exeext conftest.$ac_ext
4630 ac_cpp='$CPP $CPPFLAGS'
4631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4636 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4637 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4638 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4639 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4640 CFLAGS="$SAVE_CFLAGS"
4644 # Find out which ABI we are using.
4645 echo 'int i;' > conftest.$ac_ext
4646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4647 (eval $ac_compile) 2>&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; then
4651 case `/usr
/bin
/file conftest.o
` in
4653 case $lt_cv_prog_gnu_ld in
4654 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4655 *) LD="${LD-ld} -64" ;;
4666 need_locks="$enable_libtool_lock"
4670 ac_cpp='$CPP $CPPFLAGS'
4671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4674 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4675 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4676 # On Suns, sometimes $CPP names a directory.
4677 if test -n "$CPP" && test -d "$CPP"; then
4680 if test -z "$CPP"; then
4681 if test "${ac_cv_prog_CPP+set}" = set; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 # Double quotes because CPP needs to be expanded
4685 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4688 for ac_c_preproc_warn_flag in '' yes
4690 # Use a header file that comes with gcc, so configuring glibc
4691 # with a fresh cross-compiler works.
4692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4693 # <limits.h> exists even on freestanding compilers.
4694 # On the NeXT, cc -E runs the code through the compiler's parser,
4695 # not just through cpp. "Syntax error" is here to catch this case.
4696 cat >conftest.$ac_ext <<_ACEOF
4699 cat confdefs.h >>conftest.$ac_ext
4700 cat >>conftest.$ac_ext <<_ACEOF
4701 /* end confdefs.h. */
4703 # include <limits.h>
4705 # include <assert.h>
4709 if { (ac_try="$ac_cpp conftest.$ac_ext"
4711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4712 *) ac_try_echo
=$ac_try;;
4714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4715 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4717 grep -v '^ *+' conftest.er1
>conftest.err
4719 cat conftest.err
>&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); } >/dev
/null
&& {
4722 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4723 test ! -s conftest.err
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.
$ac_ext >&5
4730 # Broken: fails on valid input.
4734 rm -f conftest.err conftest.
$ac_ext
4736 # OK, works on sane cases. Now check whether nonexistent headers
4737 # can be detected and how.
4738 cat >conftest.
$ac_ext <<_ACEOF
4741 cat confdefs.h
>>conftest.
$ac_ext
4742 cat >>conftest.
$ac_ext <<_ACEOF
4743 /* end confdefs.h. */
4744 #include <ac_nonexistent.h>
4746 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4749 *) ac_try_echo=$ac_try;;
4751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4754 grep -v '^ *+' conftest.er1 >conftest.err
4756 cat conftest.err >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); } >/dev/null && {
4759 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4760 test ! -s conftest.err
4762 # Broken: success on invalid input.
4765 echo "$as_me: failed program was:" >&5
4766 sed 's/^/| /' conftest.$ac_ext >&5
4768 # Passes both tests.
4773 rm -f conftest.err conftest.$ac_ext
4776 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4777 rm -f conftest.err conftest.
$ac_ext
4778 if $ac_preproc_ok; then
4790 { echo "$as_me:$LINENO: result: $CPP" >&5
4791 echo "${ECHO_T}$CPP" >&6; }
4793 for ac_c_preproc_warn_flag
in '' yes
4795 # Use a header file that comes with gcc, so configuring glibc
4796 # with a fresh cross-compiler works.
4797 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4798 # <limits.h> exists even on freestanding compilers.
4799 # On the NeXT, cc -E runs the code through the compiler's parser,
4800 # not just through cpp. "Syntax error" is here to catch this case.
4801 cat >conftest.
$ac_ext <<_ACEOF
4804 cat confdefs.h
>>conftest.
$ac_ext
4805 cat >>conftest.
$ac_ext <<_ACEOF
4806 /* end confdefs.h. */
4808 # include <limits.h>
4810 # include <assert.h>
4814 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4817 *) ac_try_echo=$ac_try;;
4819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4820 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4822 grep -v '^ *+' conftest.er1 >conftest.err
4824 cat conftest.err >&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); } >/dev/null && {
4827 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4828 test ! -s conftest.err
4832 echo "$as_me: failed program was:" >&5
4833 sed 's/^/| /' conftest.$ac_ext >&5
4835 # Broken: fails on valid input.
4839 rm -f conftest.err conftest.$ac_ext
4841 # OK, works on sane cases. Now check whether nonexistent headers
4842 # can be detected and how.
4843 cat >conftest.$ac_ext <<_ACEOF
4846 cat confdefs.h >>conftest.$ac_ext
4847 cat >>conftest.$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4849 #include <ac_nonexistent.h>
4851 if { (ac_try="$ac_cpp conftest.$ac_ext"
4853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4854 *) ac_try_echo
=$ac_try;;
4856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4857 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4859 grep -v '^ *+' conftest.er1
>conftest.err
4861 cat conftest.err
>&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); } >/dev
/null
&& {
4864 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4865 test ! -s conftest.err
4867 # Broken: success on invalid input.
4870 echo "$as_me: failed program was:" >&5
4871 sed 's/^/| /' conftest.
$ac_ext >&5
4873 # Passes both tests.
4878 rm -f conftest.err conftest.
$ac_ext
4881 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4882 rm -f conftest.err conftest.
$ac_ext
4883 if $ac_preproc_ok; then
4886 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4887 See \`config.log' for more details." >&5
4888 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4889 See \`config.log' for more details." >&2;}
4890 { (exit 1); exit 1; }; }
4894 ac_cpp
='$CPP $CPPFLAGS'
4895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4900 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4901 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4902 if test "${ac_cv_header_stdc+set}" = set; then
4903 echo $ECHO_N "(cached) $ECHO_C" >&6
4905 cat >conftest.
$ac_ext <<_ACEOF
4908 cat confdefs.h
>>conftest.
$ac_ext
4909 cat >>conftest.
$ac_ext <<_ACEOF
4910 /* end confdefs.h. */
4924 rm -f conftest.
$ac_objext
4925 if { (ac_try
="$ac_compile"
4927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4928 *) ac_try_echo=$ac_try;;
4930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4931 (eval "$ac_compile") 2>conftest.er1
4933 grep -v '^ *+' conftest.er1 >conftest.err
4935 cat conftest.err >&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); } && {
4938 test -z "$ac_c_werror_flag" ||
4939 test ! -s conftest.err
4940 } && test -s conftest.$ac_objext; then
4941 ac_cv_header_stdc=yes
4943 echo "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.$ac_ext >&5
4946 ac_cv_header_stdc=no
4949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 if test $ac_cv_header_stdc = yes; then
4952 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4953 cat >conftest.$ac_ext <<_ACEOF
4956 cat confdefs.h >>conftest.$ac_ext
4957 cat >>conftest.$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4963 $EGREP "memchr" >/dev/null 2>&1; then
4966 ac_cv_header_stdc=no
4972 if test $ac_cv_header_stdc = yes; then
4973 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4974 cat >conftest.$ac_ext <<_ACEOF
4977 cat confdefs.h >>conftest.$ac_ext
4978 cat >>conftest.$ac_ext <<_ACEOF
4979 /* end confdefs.h. */
4983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4984 $EGREP "free" >/dev/null 2>&1; then
4987 ac_cv_header_stdc=no
4993 if test $ac_cv_header_stdc = yes; then
4994 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4995 if test "$cross_compiling" = yes; then
4998 cat >conftest.$ac_ext <<_ACEOF
5001 cat confdefs.h >>conftest.$ac_ext
5002 cat >>conftest.$ac_ext <<_ACEOF
5003 /* end confdefs.h. */
5006 #if ((' ' & 0x0FF) == 0x020)
5007 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5008 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5010 # define ISLOWER(c) \
5011 (('a' <= (c) && (c) <= 'i') \
5012 || ('j' <= (c) && (c) <= 'r') \
5013 || ('s' <= (c) && (c) <= 'z'))
5014 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5017 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5022 for (i = 0; i < 256; i++)
5023 if (XOR (islower (i), ISLOWER (i))
5024 || toupper (i) != TOUPPER (i))
5029 rm -f conftest$ac_exeext
5030 if { (ac_try="$ac_link"
5032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5033 *) ac_try_echo
=$ac_try;;
5035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5036 (eval "$ac_link") 2>&5
5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5040 { (case "(($ac_try" in
5041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5042 *) ac_try_echo=$ac_try;;
5044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5045 (eval "$ac_try") 2>&5
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048 (exit $ac_status); }; }; then
5051 echo "$as_me: program exited with status $ac_status" >&5
5052 echo "$as_me: failed program was:" >&5
5053 sed 's/^/| /' conftest.$ac_ext >&5
5056 ac_cv_header_stdc=no
5058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5064 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5065 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5066 if test $ac_cv_header_stdc = yes; then
5068 cat >>confdefs.h <<\_ACEOF
5069 #define STDC_HEADERS 1
5074 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5084 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5085 inttypes.h stdint.h unistd.h
5087 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5088 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5090 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5091 echo $ECHO_N "(cached) $ECHO_C" >&6
5093 cat >conftest.$ac_ext <<_ACEOF
5096 cat confdefs.h >>conftest.$ac_ext
5097 cat >>conftest.$ac_ext <<_ACEOF
5098 /* end confdefs.h. */
5099 $ac_includes_default
5101 #include <$ac_header>
5103 rm -f conftest.$ac_objext
5104 if { (ac_try="$ac_compile"
5106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5107 *) ac_try_echo
=$ac_try;;
5109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5110 (eval "$ac_compile") 2>conftest.er1
5112 grep -v '^ *+' conftest.er1
>conftest.err
5114 cat conftest.err
>&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); } && {
5117 test -z "$ac_c_werror_flag" ||
5118 test ! -s conftest.err
5119 } && test -s conftest.
$ac_objext; then
5120 eval "$as_ac_Header=yes"
5122 echo "$as_me: failed program was:" >&5
5123 sed 's/^/| /' conftest.
$ac_ext >&5
5125 eval "$as_ac_Header=no"
5128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5130 ac_res
=`eval echo '${'$as_ac_Header'}'`
5131 { echo "$as_me:$LINENO: result: $ac_res" >&5
5132 echo "${ECHO_T}$ac_res" >&6; }
5133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5134 cat >>confdefs.h
<<_ACEOF
5135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5144 for ac_header
in dlfcn.h
5146 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5147 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5148 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5150 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5151 echo $ECHO_N "(cached) $ECHO_C" >&6
5153 ac_res
=`eval echo '${'$as_ac_Header'}'`
5154 { echo "$as_me:$LINENO: result: $ac_res" >&5
5155 echo "${ECHO_T}$ac_res" >&6; }
5157 # Is the header compilable?
5158 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5159 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5160 cat >conftest.
$ac_ext <<_ACEOF
5163 cat confdefs.h
>>conftest.
$ac_ext
5164 cat >>conftest.
$ac_ext <<_ACEOF
5165 /* end confdefs.h. */
5166 $ac_includes_default
5167 #include <$ac_header>
5169 rm -f conftest.
$ac_objext
5170 if { (ac_try
="$ac_compile"
5172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5173 *) ac_try_echo=$ac_try;;
5175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5176 (eval "$ac_compile") 2>conftest.er1
5178 grep -v '^ *+' conftest.er1 >conftest.err
5180 cat conftest.err >&5
5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); } && {
5183 test -z "$ac_c_werror_flag" ||
5184 test ! -s conftest.err
5185 } && test -s conftest.$ac_objext; then
5186 ac_header_compiler=yes
5188 echo "$as_me: failed program was:" >&5
5189 sed 's/^/| /' conftest.$ac_ext >&5
5191 ac_header_compiler=no
5194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5195 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5196 echo "${ECHO_T}$ac_header_compiler" >&6; }
5198 # Is the header present?
5199 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5201 cat >conftest.$ac_ext <<_ACEOF
5204 cat confdefs.h >>conftest.$ac_ext
5205 cat >>conftest.$ac_ext <<_ACEOF
5206 /* end confdefs.h. */
5207 #include <$ac_header>
5209 if { (ac_try="$ac_cpp conftest.$ac_ext"
5211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5212 *) ac_try_echo
=$ac_try;;
5214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5217 grep -v '^ *+' conftest.er1
>conftest.err
5219 cat conftest.err
>&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); } >/dev
/null
&& {
5222 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5223 test ! -s conftest.err
5225 ac_header_preproc
=yes
5227 echo "$as_me: failed program was:" >&5
5228 sed 's/^/| /' conftest.
$ac_ext >&5
5230 ac_header_preproc
=no
5233 rm -f conftest.err conftest.
$ac_ext
5234 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5235 echo "${ECHO_T}$ac_header_preproc" >&6; }
5237 # So? What about this header?
5238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5240 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5241 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5243 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5244 ac_header_preproc
=yes
5247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5251 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5252 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5253 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5254 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5257 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5258 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5260 ## -------------------------------------------------- ##
5261 ## Report this to courier-users@lists.sourceforge.net ##
5262 ## -------------------------------------------------- ##
5264 ) |
sed "s/^/$as_me: WARNING: /" >&2
5267 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5269 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5270 echo $ECHO_N "(cached) $ECHO_C" >&6
5272 eval "$as_ac_Header=\$ac_header_preproc"
5274 ac_res
=`eval echo '${'$as_ac_Header'}'`
5275 { echo "$as_me:$LINENO: result: $ac_res" >&5
5276 echo "${ECHO_T}$ac_res" >&6; }
5279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5280 cat >>confdefs.h
<<_ACEOF
5281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5289 ac_cpp
='$CXXCPP $CPPFLAGS'
5290 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5291 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5292 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5293 if test -z "$CXX"; then
5294 if test -n "$CCC"; then
5297 if test -n "$ac_tool_prefix"; then
5298 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5300 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5301 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5304 if test "${ac_cv_prog_CXX+set}" = set; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 if test -n "$CXX"; then
5308 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5314 test -z "$as_dir" && as_dir
=.
5315 for ac_exec_ext
in '' $ac_executable_extensions; do
5316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5317 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 if test -n "$CXX"; then
5329 { echo "$as_me:$LINENO: result: $CXX" >&5
5330 echo "${ECHO_T}$CXX" >&6; }
5332 { echo "$as_me:$LINENO: result: no" >&5
5333 echo "${ECHO_T}no" >&6; }
5337 test -n "$CXX" && break
5340 if test -z "$CXX"; then
5342 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5344 # Extract the first word of "$ac_prog", so it can be a program name with args.
5345 set dummy
$ac_prog; ac_word
=$2
5346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5348 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5349 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 if test -n "$ac_ct_CXX"; then
5352 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5358 test -z "$as_dir" && as_dir
=.
5359 for ac_exec_ext
in '' $ac_executable_extensions; do
5360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5361 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5372 if test -n "$ac_ct_CXX"; then
5373 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5374 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5376 { echo "$as_me:$LINENO: result: no" >&5
5377 echo "${ECHO_T}no" >&6; }
5381 test -n "$ac_ct_CXX" && break
5384 if test "x$ac_ct_CXX" = x
; then
5387 case $cross_compiling:$ac_tool_warned in
5389 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5390 whose name does not start with the host triplet. If you think this
5391 configuration is useful to you, please write to autoconf@gnu.org." >&5
5392 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5393 whose name does not start with the host triplet. If you think this
5394 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5395 ac_tool_warned
=yes ;;
5403 # Provide some information about the compiler.
5404 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5405 ac_compiler
=`set X $ac_compile; echo $2`
5406 { (ac_try
="$ac_compiler --version >&5"
5408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5409 *) ac_try_echo=$ac_try;;
5411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5412 (eval "$ac_compiler --version >&5") 2>&5
5414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415 (exit $ac_status); }
5416 { (ac_try="$ac_compiler -v >&5"
5418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5419 *) ac_try_echo
=$ac_try;;
5421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5422 (eval "$ac_compiler -v >&5") 2>&5
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); }
5426 { (ac_try
="$ac_compiler -V >&5"
5428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5429 *) ac_try_echo=$ac_try;;
5431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5432 (eval "$ac_compiler -V >&5") 2>&5
5434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5435 (exit $ac_status); }
5437 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5438 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5439 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5440 echo $ECHO_N "(cached) $ECHO_C" >&6
5442 cat >conftest.$ac_ext <<_ACEOF
5445 cat confdefs.h >>conftest.$ac_ext
5446 cat >>conftest.$ac_ext <<_ACEOF
5447 /* end confdefs.h. */
5460 rm -f conftest.$ac_objext
5461 if { (ac_try="$ac_compile"
5463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5464 *) ac_try_echo
=$ac_try;;
5466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467 (eval "$ac_compile") 2>conftest.er1
5469 grep -v '^ *+' conftest.er1
>conftest.err
5471 cat conftest.err
>&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); } && {
5474 test -z "$ac_cxx_werror_flag" ||
5475 test ! -s conftest.err
5476 } && test -s conftest.
$ac_objext; then
5479 echo "$as_me: failed program was:" >&5
5480 sed 's/^/| /' conftest.
$ac_ext >&5
5485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5486 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5489 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5490 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5491 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5492 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5493 ac_save_CXXFLAGS
=$CXXFLAGS
5494 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5495 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5496 if test "${ac_cv_prog_cxx_g+set}" = set; then
5497 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5500 ac_cxx_werror_flag
=yes
5503 cat >conftest.
$ac_ext <<_ACEOF
5506 cat confdefs.h
>>conftest.
$ac_ext
5507 cat >>conftest.
$ac_ext <<_ACEOF
5508 /* end confdefs.h. */
5518 rm -f conftest.
$ac_objext
5519 if { (ac_try
="$ac_compile"
5521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5522 *) ac_try_echo=$ac_try;;
5524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5525 (eval "$ac_compile") 2>conftest.er1
5527 grep -v '^ *+' conftest.er1 >conftest.err
5529 cat conftest.err >&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); } && {
5532 test -z "$ac_cxx_werror_flag" ||
5533 test ! -s conftest.err
5534 } && test -s conftest.$ac_objext; then
5535 ac_cv_prog_cxx_g=yes
5537 echo "$as_me: failed program was:" >&5
5538 sed 's/^/| /' conftest.$ac_ext >&5
5541 cat >conftest.$ac_ext <<_ACEOF
5544 cat confdefs.h >>conftest.$ac_ext
5545 cat >>conftest.$ac_ext <<_ACEOF
5546 /* end confdefs.h. */
5556 rm -f conftest.$ac_objext
5557 if { (ac_try="$ac_compile"
5559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5560 *) ac_try_echo
=$ac_try;;
5562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5563 (eval "$ac_compile") 2>conftest.er1
5565 grep -v '^ *+' conftest.er1
>conftest.err
5567 cat conftest.err
>&5
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); } && {
5570 test -z "$ac_cxx_werror_flag" ||
5571 test ! -s conftest.err
5572 } && test -s conftest.
$ac_objext; then
5575 echo "$as_me: failed program was:" >&5
5576 sed 's/^/| /' conftest.
$ac_ext >&5
5578 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5580 cat >conftest.
$ac_ext <<_ACEOF
5583 cat confdefs.h
>>conftest.
$ac_ext
5584 cat >>conftest.
$ac_ext <<_ACEOF
5585 /* end confdefs.h. */
5595 rm -f conftest.
$ac_objext
5596 if { (ac_try
="$ac_compile"
5598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5599 *) ac_try_echo=$ac_try;;
5601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5602 (eval "$ac_compile") 2>conftest.er1
5604 grep -v '^ *+' conftest.er1 >conftest.err
5606 cat conftest.err >&5
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); } && {
5609 test -z "$ac_cxx_werror_flag" ||
5610 test ! -s conftest.err
5611 } && test -s conftest.$ac_objext; then
5612 ac_cv_prog_cxx_g=yes
5614 echo "$as_me: failed program was:" >&5
5615 sed 's/^/| /' conftest.$ac_ext >&5
5620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5627 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5629 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5630 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5631 if test "$ac_test_CXXFLAGS" = set; then
5632 CXXFLAGS=$ac_save_CXXFLAGS
5633 elif test $ac_cv_prog_cxx_g = yes; then
5634 if test "$GXX" = yes; then
5640 if test "$GXX" = yes; then
5647 ac_cpp='$CXXCPP $CPPFLAGS'
5648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5652 depcc="$CXX" am_compiler_list=
5654 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5655 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5656 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5657 echo $ECHO_N "(cached) $ECHO_C" >&6
5659 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5660 # We make a subdir and do the tests there. Otherwise we can end up
5661 # making bogus files that we don't know about and never remove. For
5662 # instance it was reported that on HP-UX the gcc test will end up
5663 # making a dummy file named `D
' -- because `-MD' means
`put the output
5666 # Copy depcomp to subdir because otherwise we won't find it if we're
5667 # using a relative directory.
5668 cp "$am_depcomp" conftest.dir
5670 # We will build objects and dependencies in a subdirectory because
5671 # it helps to detect inapplicable dependency modes. For instance
5672 # both Tru64's cc and ICC support -MD to output dependencies as a
5673 # side effect of compilation, but ICC will put the dependencies in
5674 # the current directory while Tru64 will put them in the object
5678 am_cv_CXX_dependencies_compiler_type=none
5679 if test "$am_compiler_list" = ""; then
5680 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5682 for depmode in $am_compiler_list; do
5683 # Setup a source with many dependencies, because some compilers
5684 # like to wrap large dependency lists on column 80 (with \), and
5685 # we should not choose a depcomp mode which is confused by this.
5687 # We need to recreate these files for each test, as the compiler may
5688 # overwrite some of them when testing with obscure command lines.
5689 # This happens at least with the AIX C compiler.
5691 for i in 1 2 3 4 5 6; do
5692 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5693 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5694 # Solaris 8's
{/usr
,}/bin
/sh.
5695 touch sub
/conftst
$i.h
5697 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5701 # after this tag, mechanisms are not by side-effect, so they'll
5702 # only be used when explicitly requested
5703 if test "x$enable_dependency_tracking" = xyes
; then
5711 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5712 # mode. It turns out that the SunPro C++ compiler does not properly
5713 # handle `-M -o', and we need to detect this.
5714 if depmode
=$depmode \
5715 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5716 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5717 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5718 >/dev
/null
2>conftest.err
&&
5719 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5720 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5721 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5722 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5723 # icc doesn't choke on unknown options, it will just issue warnings
5724 # or remarks (even with -Werror). So we grep stderr for any message
5725 # that says an option was ignored or not supported.
5726 # When given -MP, icc 7.0 and 7.1 complain thusly:
5727 # icc: Command line warning: ignoring option '-M'; no argument required
5728 # The diagnosis changed in icc 8.0:
5729 # icc: Command line remark: option '-MP' not supported
5730 if (grep 'ignoring option' conftest.err ||
5731 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5732 am_cv_CXX_dependencies_compiler_type
=$depmode
5741 am_cv_CXX_dependencies_compiler_type
=none
5745 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5746 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5747 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5750 test "x$enable_dependency_tracking" != xno \
5751 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5752 am__fastdepCXX_TRUE
=
5753 am__fastdepCXX_FALSE
='#'
5755 am__fastdepCXX_TRUE
='#'
5756 am__fastdepCXX_FALSE
=
5762 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5763 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5764 (test "X$CXX" != "Xg++"))) ; then
5766 ac_cpp
='$CXXCPP $CPPFLAGS'
5767 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5768 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5769 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5770 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5771 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5772 if test -z "$CXXCPP"; then
5773 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 # Double quotes because CXXCPP needs to be expanded
5777 for CXXCPP
in "$CXX -E" "/lib/cpp"
5780 for ac_cxx_preproc_warn_flag
in '' yes
5782 # Use a header file that comes with gcc, so configuring glibc
5783 # with a fresh cross-compiler works.
5784 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5785 # <limits.h> exists even on freestanding compilers.
5786 # On the NeXT, cc -E runs the code through the compiler's parser,
5787 # not just through cpp. "Syntax error" is here to catch this case.
5788 cat >conftest.
$ac_ext <<_ACEOF
5791 cat confdefs.h
>>conftest.
$ac_ext
5792 cat >>conftest.
$ac_ext <<_ACEOF
5793 /* end confdefs.h. */
5795 # include <limits.h>
5797 # include <assert.h>
5801 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5804 *) ac_try_echo=$ac_try;;
5806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5807 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5809 grep -v '^ *+' conftest.er1 >conftest.err
5811 cat conftest.err >&5
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); } >/dev/null && {
5814 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5815 test ! -s conftest.err
5819 echo "$as_me: failed program was:" >&5
5820 sed 's/^/| /' conftest.$ac_ext >&5
5822 # Broken: fails on valid input.
5826 rm -f conftest.err conftest.$ac_ext
5828 # OK, works on sane cases. Now check whether nonexistent headers
5829 # can be detected and how.
5830 cat >conftest.$ac_ext <<_ACEOF
5833 cat confdefs.h >>conftest.$ac_ext
5834 cat >>conftest.$ac_ext <<_ACEOF
5835 /* end confdefs.h. */
5836 #include <ac_nonexistent.h>
5838 if { (ac_try="$ac_cpp conftest.$ac_ext"
5840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5841 *) ac_try_echo
=$ac_try;;
5843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5846 grep -v '^ *+' conftest.er1
>conftest.err
5848 cat conftest.err
>&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); } >/dev
/null
&& {
5851 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5852 test ! -s conftest.err
5854 # Broken: success on invalid input.
5857 echo "$as_me: failed program was:" >&5
5858 sed 's/^/| /' conftest.
$ac_ext >&5
5860 # Passes both tests.
5865 rm -f conftest.err conftest.
$ac_ext
5868 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5869 rm -f conftest.err conftest.
$ac_ext
5870 if $ac_preproc_ok; then
5875 ac_cv_prog_CXXCPP
=$CXXCPP
5878 CXXCPP
=$ac_cv_prog_CXXCPP
5880 ac_cv_prog_CXXCPP
=$CXXCPP
5882 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5883 echo "${ECHO_T}$CXXCPP" >&6; }
5885 for ac_cxx_preproc_warn_flag
in '' yes
5887 # Use a header file that comes with gcc, so configuring glibc
5888 # with a fresh cross-compiler works.
5889 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5890 # <limits.h> exists even on freestanding compilers.
5891 # On the NeXT, cc -E runs the code through the compiler's parser,
5892 # not just through cpp. "Syntax error" is here to catch this case.
5893 cat >conftest.
$ac_ext <<_ACEOF
5896 cat confdefs.h
>>conftest.
$ac_ext
5897 cat >>conftest.
$ac_ext <<_ACEOF
5898 /* end confdefs.h. */
5900 # include <limits.h>
5902 # include <assert.h>
5906 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5909 *) ac_try_echo=$ac_try;;
5911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5912 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5914 grep -v '^ *+' conftest.er1 >conftest.err
5916 cat conftest.err >&5
5917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5918 (exit $ac_status); } >/dev/null && {
5919 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5920 test ! -s conftest.err
5924 echo "$as_me: failed program was:" >&5
5925 sed 's/^/| /' conftest.$ac_ext >&5
5927 # Broken: fails on valid input.
5931 rm -f conftest.err conftest.$ac_ext
5933 # OK, works on sane cases. Now check whether nonexistent headers
5934 # can be detected and how.
5935 cat >conftest.$ac_ext <<_ACEOF
5938 cat confdefs.h >>conftest.$ac_ext
5939 cat >>conftest.$ac_ext <<_ACEOF
5940 /* end confdefs.h. */
5941 #include <ac_nonexistent.h>
5943 if { (ac_try="$ac_cpp conftest.$ac_ext"
5945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5946 *) ac_try_echo
=$ac_try;;
5948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5951 grep -v '^ *+' conftest.er1
>conftest.err
5953 cat conftest.err
>&5
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); } >/dev
/null
&& {
5956 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5957 test ! -s conftest.err
5959 # Broken: success on invalid input.
5962 echo "$as_me: failed program was:" >&5
5963 sed 's/^/| /' conftest.
$ac_ext >&5
5965 # Passes both tests.
5970 rm -f conftest.err conftest.
$ac_ext
5973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5974 rm -f conftest.err conftest.
$ac_ext
5975 if $ac_preproc_ok; then
5978 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5979 See \`config.log' for more details." >&5
5980 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5981 See \`config.log' for more details." >&2;}
5982 { (exit 1); exit 1; }; }
5986 ac_cpp
='$CXXCPP $CPPFLAGS'
5987 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5988 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5989 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5995 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5996 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5997 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5998 if test -n "$ac_tool_prefix"; then
5999 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6001 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6002 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6005 if test "${ac_cv_prog_F77+set}" = set; then
6006 echo $ECHO_N "(cached) $ECHO_C" >&6
6008 if test -n "$F77"; then
6009 ac_cv_prog_F77
="$F77" # Let the user override the test.
6011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6015 test -z "$as_dir" && as_dir
=.
6016 for ac_exec_ext
in '' $ac_executable_extensions; do
6017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6018 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6029 if test -n "$F77"; then
6030 { echo "$as_me:$LINENO: result: $F77" >&5
6031 echo "${ECHO_T}$F77" >&6; }
6033 { echo "$as_me:$LINENO: result: no" >&5
6034 echo "${ECHO_T}no" >&6; }
6038 test -n "$F77" && break
6041 if test -z "$F77"; then
6043 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6045 # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy
$ac_prog; ac_word
=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 if test -n "$ac_ct_F77"; then
6053 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir
=.
6060 for ac_exec_ext
in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_ac_ct_F77
="$ac_prog"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6073 if test -n "$ac_ct_F77"; then
6074 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6075 echo "${ECHO_T}$ac_ct_F77" >&6; }
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6082 test -n "$ac_ct_F77" && break
6085 if test "x$ac_ct_F77" = x
; then
6088 case $cross_compiling:$ac_tool_warned in
6090 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6091 whose name does not start with the host triplet. If you think this
6092 configuration is useful to you, please write to autoconf@gnu.org." >&5
6093 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6094 whose name does not start with the host triplet. If you think this
6095 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6096 ac_tool_warned
=yes ;;
6103 # Provide some information about the compiler.
6104 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6105 ac_compiler
=`set X $ac_compile; echo $2`
6106 { (ac_try
="$ac_compiler --version >&5"
6108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6109 *) ac_try_echo=$ac_try;;
6111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6112 (eval "$ac_compiler --version >&5") 2>&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); }
6116 { (ac_try="$ac_compiler -v >&5"
6118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6119 *) ac_try_echo
=$ac_try;;
6121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6122 (eval "$ac_compiler -v >&5") 2>&5
6124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6125 (exit $ac_status); }
6126 { (ac_try
="$ac_compiler -V >&5"
6128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6129 *) ac_try_echo=$ac_try;;
6131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6132 (eval "$ac_compiler -V >&5") 2>&5
6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135 (exit $ac_status); }
6138 # If we don't use `.F
' as extension, the preprocessor is not run on the
6139 # input file. (Note that this only needs to work for GNU compilers.)
6142 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6143 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6144 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6145 echo $ECHO_N "(cached) $ECHO_C" >&6
6147 cat >conftest.$ac_ext <<_ACEOF
6155 rm -f conftest.$ac_objext
6156 if { (ac_try="$ac_compile"
6158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6159 *) ac_try_echo=$ac_try;;
6161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6162 (eval "$ac_compile") 2>conftest.er1
6164 grep -v '^
*+' conftest.er1 >conftest.err
6166 cat conftest.err >&5
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); } && {
6169 test -z "$ac_f77_werror_flag" ||
6170 test ! -s conftest.err
6171 } && test -s conftest.$ac_objext; then
6174 echo "$as_me: failed program was:" >&5
6175 sed 's
/^
/|
/' conftest.$ac_ext >&5
6180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6181 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6184 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6185 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6187 ac_test_FFLAGS=${FFLAGS+set}
6188 ac_save_FFLAGS=$FFLAGS
6190 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6191 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6192 if test "${ac_cv_prog_f77_g+set}" = set; then
6193 echo $ECHO_N "(cached) $ECHO_C" >&6
6196 cat >conftest.$ac_ext <<_ACEOF
6201 rm -f conftest.$ac_objext
6202 if { (ac_try="$ac_compile"
6204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6205 *) ac_try_echo=$ac_try;;
6207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6208 (eval "$ac_compile") 2>conftest.er1
6210 grep -v '^
*+' conftest.er1 >conftest.err
6212 cat conftest.err >&5
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); } && {
6215 test -z "$ac_f77_werror_flag" ||
6216 test ! -s conftest.err
6217 } && test -s conftest.$ac_objext; then
6218 ac_cv_prog_f77_g=yes
6220 echo "$as_me: failed program was:" >&5
6221 sed 's
/^
/|
/' conftest.$ac_ext >&5
6226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6229 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6230 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6231 if test "$ac_test_FFLAGS" = set; then
6232 FFLAGS=$ac_save_FFLAGS
6233 elif test $ac_cv_prog_f77_g = yes; then
6234 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6240 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6247 G77=`test $ac_compiler_gnu = yes && echo yes`
6249 ac_cpp='$CPP $CPPFLAGS'
6250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6251 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6256 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6258 # find the maximum length of command line arguments
6259 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6260 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6261 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6262 echo $ECHO_N "(cached) $ECHO_C" >&6
6269 # On DJGPP, this test can blow up pretty badly due to problems in libc
6270 # (any single argument exceeding 2000 bytes causes a buffer overrun
6271 # during glob expansion). Even if it were fixed, the result of this
6272 # check would be larger than it should be.
6273 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6277 # Under GNU Hurd, this test is not required because there is
6278 # no limit to the length of command line arguments.
6279 # Libtool will interpret -1 as no limit whatsoever
6280 lt_cv_sys_max_cmd_len
=-1;
6284 # On Win9x/ME, this test blows up -- it succeeds, but takes
6285 # about 5 minutes as the teststring grows exponentially.
6286 # Worse, since 9x/ME are not pre-emptively multitasking,
6287 # you end up with a "frozen" computer, even though with patience
6288 # the test eventually succeeds (with a max line length of 256k).
6289 # Instead, let's just punt: use the minimum linelength reported by
6290 # all of the supported platforms: 8192 (on NT/2K/XP).
6291 lt_cv_sys_max_cmd_len
=8192;
6295 # On AmigaOS with pdksh, this test takes hours, literally.
6296 # So we just punt and use a minimum line length of 8192.
6297 lt_cv_sys_max_cmd_len
=8192;
6300 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6301 # This has been around since 386BSD, at least. Likely further.
6302 if test -x /sbin
/sysctl
; then
6303 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6304 elif test -x /usr
/sbin
/sysctl
; then
6305 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6307 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6309 # And add a safety zone
6310 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6311 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6315 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6316 lt_cv_sys_max_cmd_len
=196608
6320 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6321 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6322 # nice to cause kernel panics so lets avoid the loop below.
6323 # First set a reasonable default.
6324 lt_cv_sys_max_cmd_len
=16384
6326 if test -x /sbin
/sysconfig
; then
6327 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6328 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6333 lt_cv_sys_max_cmd_len
=102400
6335 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6336 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6337 if test -n "$kargmax"; then
6338 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6340 lt_cv_sys_max_cmd_len
=32768
6344 # If test is not a shell built-in, we'll probably end up computing a
6345 # maximum length that is only half of the actual maximum length, but
6347 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6348 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6349 = "XX$teststring") >/dev
/null
2>&1 &&
6350 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6351 lt_cv_sys_max_cmd_len
=$new_result &&
6352 test $i != 17 # 1/2 MB should be enough
6355 teststring
=$teststring$teststring
6358 # Add a significant safety factor because C++ compilers can tack on massive
6359 # amounts of additional arguments before passing them to the linker.
6360 # It appears as though 1/2 is a usable value.
6361 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6367 if test -n $lt_cv_sys_max_cmd_len ; then
6368 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6369 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6371 { echo "$as_me:$LINENO: result: none" >&5
6372 echo "${ECHO_T}none" >&6; }
6378 # Check for command to grab the raw symbol name followed by C symbol from nm.
6379 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6380 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6381 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6382 echo $ECHO_N "(cached) $ECHO_C" >&6
6385 # These are sane defaults that work on at least a few old systems.
6386 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6388 # Character class describing NM global symbol codes.
6389 symcode
='[BCDEGRST]'
6391 # Regexp to match symbols that can be accessed directly from C.
6392 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6394 # Transform an extracted symbol line into a proper C declaration
6395 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6397 # Transform an extracted symbol line into symbol name and symbol address
6398 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'"
6400 # Define system-specific variables.
6405 cygwin
* | mingw
* | pw32
*)
6406 symcode
='[ABCDGISTW]'
6408 hpux
*) # Its linker distinguishes data from code symbols
6409 if test "$host_cpu" = ia64
; then
6410 symcode
='[ABCDEGRST]'
6412 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6413 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'"
6416 if test "$host_cpu" = ia64
; then
6417 symcode
='[ABCDGIRSTW]'
6418 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6419 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'"
6423 symcode
='[BCDEGRST]'
6426 symcode
='[BCDEGQRST]'
6437 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6445 # Handle CRLF in mingw tool chain
6449 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6453 # If we're using GNU nm, then use its standard symbol codes.
6454 case `$NM -V 2>&1` in
6455 *GNU
* |
*'with BFD'*)
6456 symcode
='[ABCDGIRSTW]' ;;
6459 # Try without a prefix undercore, then with it.
6460 for ac_symprfx
in "" "_"; do
6462 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6463 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6465 # Write the raw and C identifiers.
6466 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6468 # Check to see that the pipe works correctly.
6472 cat > conftest.
$ac_ext <<EOF
6477 void nm_test_func(){}
6481 int main(){nm_test_var='a';nm_test_func();return(0);}
6484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6485 (eval $ac_compile) 2>&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); }; then
6489 # Now try to grab the symbols.
6491 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6492 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); } && test -s "$nlist"; then
6496 # Try sorting and uniquifying the output.
6497 if sort "$nlist" |
uniq > "$nlist"T
; then
6498 mv -f "$nlist"T
"$nlist"
6503 # Make sure that we snagged all the symbols we need.
6504 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6505 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6506 cat <<EOF > conftest.$ac_ext
6512 # Now generate the symbol file.
6513 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6515 cat <<EOF >> conftest.$ac_ext
6516 #if defined (__STDC__) && __STDC__
6517 # define lt_ptr_t void *
6519 # define lt_ptr_t char *
6523 /* The mapping between symbol names and symbols. */
6528 lt_preloaded_symbols[] =
6531 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6532 cat <<\EOF
>> conftest.
$ac_ext
6540 # Now try linking the two files.
6541 mv conftest.
$ac_objext conftstm.
$ac_objext
6542 lt_save_LIBS
="$LIBS"
6543 lt_save_CFLAGS
="$CFLAGS"
6544 LIBS
="conftstm.$ac_objext"
6545 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6547 (eval $ac_link) 2>&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6553 LIBS
="$lt_save_LIBS"
6554 CFLAGS
="$lt_save_CFLAGS"
6556 echo "cannot find nm_test_func in $nlist" >&5
6559 echo "cannot find nm_test_var in $nlist" >&5
6562 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6565 echo "$progname: failed program was:" >&5
6566 cat conftest.
$ac_ext >&5
6568 rm -f conftest
* conftst
*
6570 # Do not use the global_symbol_pipe unless it works.
6571 if test "$pipe_works" = yes; then
6574 lt_cv_sys_global_symbol_pipe
=
6580 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6581 lt_cv_sys_global_symbol_to_cdecl
=
6583 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6584 { echo "$as_me:$LINENO: result: failed" >&5
6585 echo "${ECHO_T}failed" >&6; }
6587 { echo "$as_me:$LINENO: result: ok" >&5
6588 echo "${ECHO_T}ok" >&6; }
6591 { echo "$as_me:$LINENO: checking for objdir" >&5
6592 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6593 if test "${lt_cv_objdir+set}" = set; then
6594 echo $ECHO_N "(cached) $ECHO_C" >&6
6596 rm -f .libs
2>/dev
/null
6597 mkdir .libs
2>/dev
/null
6598 if test -d .libs
; then
6601 # MS-DOS does not allow filenames that begin with a dot.
6604 rmdir .libs
2>/dev
/null
6606 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6607 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6608 objdir
=$lt_cv_objdir
6616 # AIX sometimes has problems with the GCC collect2 program. For some
6617 # reason, if we set the COLLECT_NAMES environment variable, the problems
6618 # vanish in a puff of smoke.
6619 if test "X${COLLECT_NAMES+set}" != Xset
; then
6621 export COLLECT_NAMES
6626 # Sed substitution that helps us do robust quoting. It backslashifies
6627 # metacharacters that are still active within double-quoted strings.
6628 Xsed
='sed -e 1s/^X//'
6629 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6631 # Same as above, but do not quote variable references.
6632 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6634 # Sed substitution to delay expansion of an escaped shell variable in a
6635 # double_quote_subst'ed string.
6636 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6638 # Sed substitution to avoid accidental globbing in evaled expressions
6639 no_glob_subst
='s/\*/\\\*/g'
6645 default_ofile
=libtool
6646 can_build_shared
=yes
6648 # All known linkers require a `.a' archive for static linking (except MSVC,
6649 # which needs '.lib').
6651 ltmain
="$ac_aux_dir/ltmain.sh"
6652 ofile
="$default_ofile"
6653 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6655 if test -n "$ac_tool_prefix"; then
6656 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6657 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6660 if test "${ac_cv_prog_AR+set}" = set; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 if test -n "$AR"; then
6664 ac_cv_prog_AR
="$AR" # Let the user override the test.
6666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir
=.
6671 for ac_exec_ext
in '' $ac_executable_extensions; do
6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6684 if test -n "$AR"; then
6685 { echo "$as_me:$LINENO: result: $AR" >&5
6686 echo "${ECHO_T}$AR" >&6; }
6688 { echo "$as_me:$LINENO: result: no" >&5
6689 echo "${ECHO_T}no" >&6; }
6694 if test -z "$ac_cv_prog_AR"; then
6696 # Extract the first word of "ar", so it can be a program name with args.
6697 set dummy
ar; ac_word
=$2
6698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6700 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6701 echo $ECHO_N "(cached) $ECHO_C" >&6
6703 if test -n "$ac_ct_AR"; then
6704 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6710 test -z "$as_dir" && as_dir
=.
6711 for ac_exec_ext
in '' $ac_executable_extensions; do
6712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6713 ac_cv_prog_ac_ct_AR
="ar"
6714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6724 if test -n "$ac_ct_AR"; then
6725 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6726 echo "${ECHO_T}$ac_ct_AR" >&6; }
6728 { echo "$as_me:$LINENO: result: no" >&5
6729 echo "${ECHO_T}no" >&6; }
6732 if test "x$ac_ct_AR" = x
; then
6735 case $cross_compiling:$ac_tool_warned in
6737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6738 whose name does not start with the host triplet. If you think this
6739 configuration is useful to you, please write to autoconf@gnu.org." >&5
6740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6741 whose name does not start with the host triplet. If you think this
6742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6743 ac_tool_warned
=yes ;;
6751 if test -n "$ac_tool_prefix"; then
6752 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6753 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6756 if test "${ac_cv_prog_RANLIB+set}" = set; then
6757 echo $ECHO_N "(cached) $ECHO_C" >&6
6759 if test -n "$RANLIB"; then
6760 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6766 test -z "$as_dir" && as_dir
=.
6767 for ac_exec_ext
in '' $ac_executable_extensions; do
6768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6769 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6779 RANLIB
=$ac_cv_prog_RANLIB
6780 if test -n "$RANLIB"; then
6781 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6782 echo "${ECHO_T}$RANLIB" >&6; }
6784 { echo "$as_me:$LINENO: result: no" >&5
6785 echo "${ECHO_T}no" >&6; }
6790 if test -z "$ac_cv_prog_RANLIB"; then
6791 ac_ct_RANLIB
=$RANLIB
6792 # Extract the first word of "ranlib", so it can be a program name with args.
6793 set dummy ranlib
; ac_word
=$2
6794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6796 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6797 echo $ECHO_N "(cached) $ECHO_C" >&6
6799 if test -n "$ac_ct_RANLIB"; then
6800 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6806 test -z "$as_dir" && as_dir
=.
6807 for ac_exec_ext
in '' $ac_executable_extensions; do
6808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6809 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6819 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6820 if test -n "$ac_ct_RANLIB"; then
6821 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6822 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6824 { echo "$as_me:$LINENO: result: no" >&5
6825 echo "${ECHO_T}no" >&6; }
6828 if test "x$ac_ct_RANLIB" = x
; then
6831 case $cross_compiling:$ac_tool_warned in
6833 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6834 whose name does not start with the host triplet. If you think this
6835 configuration is useful to you, please write to autoconf@gnu.org." >&5
6836 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6837 whose name does not start with the host triplet. If you think this
6838 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6839 ac_tool_warned
=yes ;;
6841 RANLIB
=$ac_ct_RANLIB
6844 RANLIB
="$ac_cv_prog_RANLIB"
6847 if test -n "$ac_tool_prefix"; then
6848 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6849 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6852 if test "${ac_cv_prog_STRIP+set}" = set; then
6853 echo $ECHO_N "(cached) $ECHO_C" >&6
6855 if test -n "$STRIP"; then
6856 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6862 test -z "$as_dir" && as_dir
=.
6863 for ac_exec_ext
in '' $ac_executable_extensions; do
6864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6865 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6875 STRIP
=$ac_cv_prog_STRIP
6876 if test -n "$STRIP"; then
6877 { echo "$as_me:$LINENO: result: $STRIP" >&5
6878 echo "${ECHO_T}$STRIP" >&6; }
6880 { echo "$as_me:$LINENO: result: no" >&5
6881 echo "${ECHO_T}no" >&6; }
6886 if test -z "$ac_cv_prog_STRIP"; then
6888 # Extract the first word of "strip", so it can be a program name with args.
6889 set dummy strip
; ac_word
=$2
6890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6892 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6893 echo $ECHO_N "(cached) $ECHO_C" >&6
6895 if test -n "$ac_ct_STRIP"; then
6896 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6902 test -z "$as_dir" && as_dir
=.
6903 for ac_exec_ext
in '' $ac_executable_extensions; do
6904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6905 ac_cv_prog_ac_ct_STRIP
="strip"
6906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6915 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6916 if test -n "$ac_ct_STRIP"; then
6917 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6918 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6920 { echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6; }
6924 if test "x$ac_ct_STRIP" = x
; then
6927 case $cross_compiling:$ac_tool_warned in
6929 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6930 whose name does not start with the host triplet. If you think this
6931 configuration is useful to you, please write to autoconf@gnu.org." >&5
6932 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6933 whose name does not start with the host triplet. If you think this
6934 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6935 ac_tool_warned
=yes ;;
6940 STRIP
="$ac_cv_prog_STRIP"
6945 old_CFLAGS
="$CFLAGS"
6947 # Set sane defaults for various variables
6948 test -z "$AR" && AR
=ar
6949 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6950 test -z "$AS" && AS
=as
6951 test -z "$CC" && CC
=cc
6952 test -z "$LTCC" && LTCC
=$CC
6953 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6954 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6955 test -z "$LD" && LD
=ld
6956 test -z "$LN_S" && LN_S
="ln -s"
6957 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6958 test -z "$NM" && NM
=nm
6959 test -z "$SED" && SED
=sed
6960 test -z "$OBJDUMP" && OBJDUMP
=objdump
6961 test -z "$RANLIB" && RANLIB
=:
6962 test -z "$STRIP" && STRIP
=:
6963 test -z "$ac_objext" && ac_objext
=o
6965 # Determine commands to create old-style static archives.
6966 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6967 old_postinstall_cmds
='chmod 644 $oldlib'
6968 old_postuninstall_cmds
=
6970 if test -n "$RANLIB"; then
6973 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6976 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6979 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6982 for cc_temp
in $compiler""; do
6984 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6985 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6990 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6993 # Only perform the check for file, if the check method requires it
6994 case $deplibs_check_method in
6996 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6997 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6998 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6999 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7000 echo $ECHO_N "(cached) $ECHO_C" >&6
7004 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7007 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7008 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7009 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7010 for ac_dir
in $ac_dummy; do
7012 test -z "$ac_dir" && ac_dir
=.
7013 if test -f $ac_dir/${ac_tool_prefix}file; then
7014 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7015 if test -n "$file_magic_test_file"; then
7016 case $deplibs_check_method in
7018 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7019 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7020 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7021 $EGREP "$file_magic_regex" > /dev
/null
; then
7026 *** Warning: the command libtool uses to detect shared libraries,
7027 *** $file_magic_cmd, produces output that libtool cannot recognize.
7028 *** The result is that libtool may fail to recognize shared libraries
7029 *** as such. This will affect the creation of libtool libraries that
7030 *** depend on shared libraries, but programs linked with such libtool
7031 *** libraries will work regardless of this problem. Nevertheless, you
7032 *** may want to report the problem to your system manager and/or to
7033 *** bug-libtool@gnu.org
7043 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7048 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7049 if test -n "$MAGIC_CMD"; then
7050 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7051 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7053 { echo "$as_me:$LINENO: result: no" >&5
7054 echo "${ECHO_T}no" >&6; }
7057 if test -z "$lt_cv_path_MAGIC_CMD"; then
7058 if test -n "$ac_tool_prefix"; then
7059 { echo "$as_me:$LINENO: checking for file" >&5
7060 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7061 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7062 echo $ECHO_N "(cached) $ECHO_C" >&6
7066 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7069 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7070 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7071 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7072 for ac_dir
in $ac_dummy; do
7074 test -z "$ac_dir" && ac_dir
=.
7075 if test -f $ac_dir/file; then
7076 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7077 if test -n "$file_magic_test_file"; then
7078 case $deplibs_check_method in
7080 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7081 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7082 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7083 $EGREP "$file_magic_regex" > /dev
/null
; then
7088 *** Warning: the command libtool uses to detect shared libraries,
7089 *** $file_magic_cmd, produces output that libtool cannot recognize.
7090 *** The result is that libtool may fail to recognize shared libraries
7091 *** as such. This will affect the creation of libtool libraries that
7092 *** depend on shared libraries, but programs linked with such libtool
7093 *** libraries will work regardless of this problem. Nevertheless, you
7094 *** may want to report the problem to your system manager and/or to
7095 *** bug-libtool@gnu.org
7105 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7110 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7111 if test -n "$MAGIC_CMD"; then
7112 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7113 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7115 { echo "$as_me:$LINENO: result: no" >&5
7116 echo "${ECHO_T}no" >&6; }
7131 # Check whether --enable-libtool-lock was given.
7132 if test "${enable_libtool_lock+set}" = set; then
7133 enableval
=$enable_libtool_lock;
7136 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7139 # Check whether --with-pic was given.
7140 if test "${with_pic+set}" = set; then
7141 withval
=$with_pic; pic_mode
="$withval"
7146 test -z "$pic_mode" && pic_mode
=default
7148 # Use C for the default configuration in the libtool script
7152 ac_cpp
='$CPP $CPPFLAGS'
7153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7158 # Source file extension for C test sources.
7161 # Object file extension for compiled C test sources.
7165 # Code to be used in simple compile tests
7166 lt_simple_compile_test_code
="int some_variable = 0;\n"
7168 # Code to be used in simple link tests
7169 lt_simple_link_test_code
='int main(){return(0);}\n'
7172 # If no C compiler was specified, use CC.
7175 # If no C compiler flags were specified, use CFLAGS.
7176 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7178 # Allow CC to be a program name with arguments.
7182 # save warnings/boilerplate of simple test code
7183 ac_outfile
=conftest.
$ac_objext
7184 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7185 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7186 _lt_compiler_boilerplate
=`cat conftest.err`
7189 ac_outfile
=conftest.
$ac_objext
7190 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7191 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7192 _lt_linker_boilerplate
=`cat conftest.err`
7197 lt_prog_compiler_no_builtin_flag
=
7199 if test "$GCC" = yes; then
7200 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7203 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7204 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7205 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7206 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 lt_cv_prog_compiler_rtti_exceptions
=no
7209 ac_outfile
=conftest.
$ac_objext
7210 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7211 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7212 # Insert the option either (1) after the last *FLAGS variable, or
7213 # (2) before a word containing "conftest.", or (3) at the end.
7214 # Note that $ac_compile itself does not contain backslashes and begins
7215 # with a dollar sign (not a hyphen), so the echo should work correctly.
7216 # The option is referenced via a variable to avoid confusing sed.
7217 lt_compile
=`echo "$ac_compile" | $SED \
7218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7220 -e 's:$: $lt_compiler_flag:'`
7221 (eval echo "\"\$as_me:7221: $lt_compile\"" >&5)
7222 (eval "$lt_compile" 2>conftest.err
)
7224 cat conftest.err
>&5
7225 echo "$as_me:7225: \$? = $ac_status" >&5
7226 if (exit $ac_status) && test -s "$ac_outfile"; then
7227 # The compiler can only warn and ignore the option if not recognized
7228 # So say no if there are warnings other than the usual output.
7229 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7230 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7231 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7232 lt_cv_prog_compiler_rtti_exceptions
=yes
7238 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7239 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7241 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7242 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7249 lt_prog_compiler_wl
=
7250 lt_prog_compiler_pic
=
7251 lt_prog_compiler_static
=
7253 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7254 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7256 if test "$GCC" = yes; then
7257 lt_prog_compiler_wl
='-Wl,'
7258 lt_prog_compiler_static
='-static'
7262 # All AIX code is PIC.
7263 if test "$host_cpu" = ia64
; then
7264 # AIX 5 now supports IA64 processor
7265 lt_prog_compiler_static
='-Bstatic'
7270 # FIXME: we need at least 68020 code to build shared libraries, but
7271 # adding the `-m68020' flag to GCC prevents building anything better,
7273 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7276 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7277 # PIC is the default for these OSes.
7280 mingw
* | pw32
* | os2
*)
7281 # This hack is so that the source file can tell whether it is being
7282 # built for inclusion in a dll (and should export symbols for example).
7283 lt_prog_compiler_pic
='-DDLL_EXPORT'
7286 darwin
* | rhapsody
*)
7287 # PIC is the default on this platform
7288 # Common symbols not allowed in MH_DYLIB files
7289 lt_prog_compiler_pic
='-fno-common'
7293 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7294 # Instead, we relocate shared libraries at runtime.
7298 # Just because we use GCC doesn't mean we suddenly get shared libraries
7299 # on systems that don't support them.
7300 lt_prog_compiler_can_build_shared
=no
7305 if test -d /usr
/nec
; then
7306 lt_prog_compiler_pic
=-Kconform_pic
7311 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7318 lt_prog_compiler_pic
='-fPIC'
7324 lt_prog_compiler_pic
='-fPIC'
7328 # PORTME Check for flag to pass linker flags through the system compiler.
7331 lt_prog_compiler_wl
='-Wl,'
7332 if test "$host_cpu" = ia64
; then
7333 # AIX 5 now supports IA64 processor
7334 lt_prog_compiler_static
='-Bstatic'
7336 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7340 # PIC is the default on this platform
7341 # Common symbols not allowed in MH_DYLIB files
7342 case $cc_basename in
7344 lt_prog_compiler_pic
='-qnocommon'
7345 lt_prog_compiler_wl
='-Wl,'
7350 mingw
* | pw32
* | os2
*)
7351 # This hack is so that the source file can tell whether it is being
7352 # built for inclusion in a dll (and should export symbols for example).
7353 lt_prog_compiler_pic
='-DDLL_EXPORT'
7356 hpux9
* | hpux10
* | hpux11
*)
7357 lt_prog_compiler_wl
='-Wl,'
7358 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7365 lt_prog_compiler_pic
='+Z'
7368 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7369 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7372 irix5
* | irix6
* | nonstopux
*)
7373 lt_prog_compiler_wl
='-Wl,'
7374 # PIC (with -KPIC) is the default.
7375 lt_prog_compiler_static
='-non_shared'
7379 lt_prog_compiler_pic
='-KPIC'
7380 lt_prog_compiler_static
='-Bstatic'
7384 case $cc_basename in
7386 lt_prog_compiler_wl
='-Wl,'
7387 lt_prog_compiler_pic
='-KPIC'
7388 lt_prog_compiler_static
='-static'
7390 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7391 # Portland Group compilers (*not* the Pentium gcc compiler,
7392 # which looks to be a dead project)
7393 lt_prog_compiler_wl
='-Wl,'
7394 lt_prog_compiler_pic
='-fpic'
7395 lt_prog_compiler_static
='-Bstatic'
7398 lt_prog_compiler_wl
='-Wl,'
7399 # All Alpha code is PIC.
7400 lt_prog_compiler_static
='-non_shared'
7405 osf3
* | osf4
* | osf5
*)
7406 lt_prog_compiler_wl
='-Wl,'
7407 # All OSF/1 code is PIC.
7408 lt_prog_compiler_static
='-non_shared'
7412 lt_prog_compiler_pic
='-KPIC'
7413 lt_prog_compiler_static
='-Bstatic'
7414 case $cc_basename in
7416 lt_prog_compiler_wl
='-Qoption ld ';;
7418 lt_prog_compiler_wl
='-Wl,';;
7423 lt_prog_compiler_wl
='-Qoption ld '
7424 lt_prog_compiler_pic
='-PIC'
7425 lt_prog_compiler_static
='-Bstatic'
7428 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7429 lt_prog_compiler_wl
='-Wl,'
7430 lt_prog_compiler_pic
='-KPIC'
7431 lt_prog_compiler_static
='-Bstatic'
7435 if test -d /usr
/nec
;then
7436 lt_prog_compiler_pic
='-Kconform_pic'
7437 lt_prog_compiler_static
='-Bstatic'
7441 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7442 lt_prog_compiler_wl
='-Wl,'
7443 lt_prog_compiler_pic
='-KPIC'
7444 lt_prog_compiler_static
='-Bstatic'
7448 lt_prog_compiler_wl
='-Wl,'
7449 lt_prog_compiler_can_build_shared
=no
7453 lt_prog_compiler_pic
='-pic'
7454 lt_prog_compiler_static
='-Bstatic'
7458 lt_prog_compiler_can_build_shared
=no
7463 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7464 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7467 # Check to make sure the PIC flag actually works.
7469 if test -n "$lt_prog_compiler_pic"; then
7471 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7472 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7473 if test "${lt_prog_compiler_pic_works+set}" = set; then
7474 echo $ECHO_N "(cached) $ECHO_C" >&6
7476 lt_prog_compiler_pic_works
=no
7477 ac_outfile
=conftest.
$ac_objext
7478 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7479 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7480 # Insert the option either (1) after the last *FLAGS variable, or
7481 # (2) before a word containing "conftest.", or (3) at the end.
7482 # Note that $ac_compile itself does not contain backslashes and begins
7483 # with a dollar sign (not a hyphen), so the echo should work correctly.
7484 # The option is referenced via a variable to avoid confusing sed.
7485 lt_compile
=`echo "$ac_compile" | $SED \
7486 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7487 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7488 -e 's:$: $lt_compiler_flag:'`
7489 (eval echo "\"\$as_me:7489: $lt_compile\"" >&5)
7490 (eval "$lt_compile" 2>conftest.err
)
7492 cat conftest.err
>&5
7493 echo "$as_me:7493: \$? = $ac_status" >&5
7494 if (exit $ac_status) && test -s "$ac_outfile"; then
7495 # The compiler can only warn and ignore the option if not recognized
7496 # So say no if there are warnings other than the usual output.
7497 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7498 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7499 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7500 lt_prog_compiler_pic_works
=yes
7506 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7507 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7509 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7510 case $lt_prog_compiler_pic in
7512 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7515 lt_prog_compiler_pic
=
7516 lt_prog_compiler_can_build_shared
=no
7521 # For platforms which do not support PIC, -DPIC is meaningless:
7523 lt_prog_compiler_pic
=
7526 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7531 # Check to make sure the static flag actually works.
7533 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7534 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7535 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7536 if test "${lt_prog_compiler_static_works+set}" = set; then
7537 echo $ECHO_N "(cached) $ECHO_C" >&6
7539 lt_prog_compiler_static_works
=no
7540 save_LDFLAGS
="$LDFLAGS"
7541 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7542 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7543 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7544 # The linker can only warn and ignore the option if not recognized
7545 # So say no if there are warnings
7546 if test -s conftest.err
; then
7547 # Append any errors to the config.log.
7548 cat conftest.err
1>&5
7549 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7550 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7551 if diff conftest.exp conftest.er2
>/dev
/null
; then
7552 lt_prog_compiler_static_works
=yes
7555 lt_prog_compiler_static_works
=yes
7559 LDFLAGS
="$save_LDFLAGS"
7562 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7563 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7565 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7568 lt_prog_compiler_static
=
7572 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7573 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7574 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7575 echo $ECHO_N "(cached) $ECHO_C" >&6
7577 lt_cv_prog_compiler_c_o
=no
7578 $rm -r conftest
2>/dev
/null
7582 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7584 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7585 # Insert the option either (1) after the last *FLAGS variable, or
7586 # (2) before a word containing "conftest.", or (3) at the end.
7587 # Note that $ac_compile itself does not contain backslashes and begins
7588 # with a dollar sign (not a hyphen), so the echo should work correctly.
7589 lt_compile
=`echo "$ac_compile" | $SED \
7590 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7591 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7592 -e 's:$: $lt_compiler_flag:'`
7593 (eval echo "\"\$as_me:7593: $lt_compile\"" >&5)
7594 (eval "$lt_compile" 2>out
/conftest.err
)
7596 cat out
/conftest.err
>&5
7597 echo "$as_me:7597: \$? = $ac_status" >&5
7598 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7600 # The compiler can only warn and ignore the option if not recognized
7601 # So say no if there are warnings
7602 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7603 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7604 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7605 lt_cv_prog_compiler_c_o
=yes
7610 # SGI C++ compiler will create directory out/ii_files/ for
7611 # template instantiation
7612 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7613 $rm out
/* && rmdir out
7619 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7620 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7623 hard_links
="nottested"
7624 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7625 # do not overwrite the value of need_locks provided by the user
7626 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7627 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7630 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7632 ln conftest.a conftest.b
2>&5 || hard_links
=no
7633 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7634 { echo "$as_me:$LINENO: result: $hard_links" >&5
7635 echo "${ECHO_T}$hard_links" >&6; }
7636 if test "$hard_links" = no
; then
7637 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7638 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7645 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7646 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7649 allow_undefined_flag
=
7650 enable_shared_with_static_runtimes
=no
7652 archive_expsym_cmds
=
7653 old_archive_From_new_cmds
=
7654 old_archive_from_expsyms_cmds
=
7655 export_dynamic_flag_spec
=
7656 whole_archive_flag_spec
=
7657 thread_safe_flag_spec
=
7658 hardcode_libdir_flag_spec
=
7659 hardcode_libdir_flag_spec_ld
=
7660 hardcode_libdir_separator
=
7663 hardcode_shlibpath_var
=unsupported
7664 link_all_deplibs
=unknown
7665 hardcode_automatic
=no
7668 always_export_symbols
=no
7669 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7670 # include_expsyms should be a list of space-separated symbols to be *always*
7671 # included in the symbol list
7673 # exclude_expsyms can be an extended regexp of symbols to exclude
7674 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7675 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7676 # as well as any symbol that contains `d'.
7677 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7678 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7679 # platforms (ab)use it in PIC code, but their linkers get confused if
7680 # the symbol is explicitly referenced. Since portable code cannot
7681 # rely on this symbol name, it's probably fine to never include it in
7682 # preloaded symbol tables.
7683 extract_expsyms_cmds
=
7684 # Just being paranoid about ensuring that cc_basename is set.
7685 for cc_temp
in $compiler""; do
7687 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7688 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7693 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7696 cygwin
* | mingw
* | pw32
*)
7697 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7698 # When not using gcc, we currently assume that we are using
7699 # Microsoft Visual C++.
7700 if test "$GCC" != yes; then
7705 # we just hope/assume this is gcc and not c89 (= MSVC++)
7714 if test "$with_gnu_ld" = yes; then
7715 # If archive_cmds runs LD, not CC, wlarc should be empty
7718 # Set some defaults for GNU ld with shared library support. These
7719 # are reset later if shared libraries are not supported. Putting them
7720 # here allows them to be overridden if necessary.
7721 runpath_var
=LD_RUN_PATH
7722 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7723 export_dynamic_flag_spec
='${wl}--export-dynamic'
7724 # ancient GNU ld didn't support --whole-archive et. al.
7725 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7726 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7728 whole_archive_flag_spec
=
7730 supports_anon_versioning
=no
7731 case `$LD -v 2>/dev/null` in
7732 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7733 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7734 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7735 *\
2.11.
*) ;; # other 2.11 versions
7736 *) supports_anon_versioning
=yes ;;
7739 # See if GNU ld supports shared libraries.
7741 aix3
* | aix4
* | aix5
*)
7742 # On AIX/PPC, the GNU linker is very broken
7743 if test "$host_cpu" != ia64
; then
7747 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7748 *** to be unable to reliably create shared libraries on AIX.
7749 *** Therefore, libtool is disabling shared libraries support. If you
7750 *** really care for shared libraries, you may want to modify your PATH
7751 *** so that a non-GNU linker is found, and then restart.
7758 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)'
7759 hardcode_libdir_flag_spec
='-L$libdir'
7760 hardcode_minus_L
=yes
7762 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7763 # that the semantics of dynamic libraries on AmigaOS, at least up
7764 # to version 4, is to share data among multiple programs linked
7765 # with the same dynamic library. Since this doesn't match the
7766 # behavior of shared libraries on other platforms, we can't use
7772 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7773 allow_undefined_flag
=unsupported
7774 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7775 # support --undefined. This deserves some investigation. FIXME
7776 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7782 cygwin
* | mingw
* | pw32
*)
7783 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7784 # as there is no search path for DLLs.
7785 hardcode_libdir_flag_spec
='-L$libdir'
7786 allow_undefined_flag
=unsupported
7787 always_export_symbols
=no
7788 enable_shared_with_static_runtimes
=yes
7789 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7791 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7792 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7793 # If the export-symbols file already is a .def file (1st line
7794 # is EXPORTS), use it as is; otherwise, prepend...
7795 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7796 cp $export_symbols $output_objdir/$soname.def;
7798 echo EXPORTS > $output_objdir/$soname.def;
7799 cat $export_symbols >> $output_objdir/$soname.def;
7801 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7809 hardcode_shlibpath_var
=no
7810 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7811 export_dynamic_flag_spec
='${wl}-E'
7812 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7813 # Instead, shared libraries are loaded at an image base (0x10000000 by
7814 # default) and relocated if they conflict, which is a slow very memory
7815 # consuming and fragmenting process. To avoid this, we pick a random,
7816 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7817 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7818 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7819 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'
7823 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7825 case $cc_basename,$host_cpu in
7826 pgcc
*) # Portland Group C compiler
7827 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'
7828 tmp_addflag
=' $pic_flag'
7830 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7831 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'
7832 tmp_addflag
=' $pic_flag -Mnomain' ;;
7833 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7834 tmp_addflag
=' -i_dynamic' ;;
7835 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7836 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7837 ifc
* | ifort
*) # Intel Fortran compiler
7838 tmp_addflag
=' -nofor_main' ;;
7840 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7842 if test $supports_anon_versioning = yes; then
7843 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7844 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7845 $echo "local: *; };" >> $output_objdir/$libname.ver~
7846 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7854 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7855 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7858 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7859 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7864 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7868 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7869 *** create shared libraries on Solaris systems. Therefore, libtool
7870 *** is disabling shared libraries support. We urge you to upgrade GNU
7871 *** binutils to release 2.9.1 or newer. Another option is to modify
7872 *** your PATH or compiler configuration so that the native linker is
7873 *** used, and then restart.
7876 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7877 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7878 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7884 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7885 case `$LD -v 2>&1` in
7886 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7890 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7891 *** reliably create shared libraries on SCO systems. Therefore, libtool
7892 *** is disabling shared libraries support. We urge you to upgrade GNU
7893 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7894 *** your PATH or compiler configuration so that the native linker is
7895 *** used, and then restart.
7900 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7901 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7902 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7903 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7912 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7915 hardcode_shlibpath_var
=no
7919 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7920 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7921 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7928 if test "$ld_shlibs" = no
; then
7930 hardcode_libdir_flag_spec
=
7931 export_dynamic_flag_spec
=
7932 whole_archive_flag_spec
=
7935 # PORTME fill in a description of your system's linker (not GNU ld)
7938 allow_undefined_flag
=unsupported
7939 always_export_symbols
=yes
7940 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'
7941 # Note: this linker hardcodes the directories in LIBPATH if there
7942 # are no directories specified by -L.
7943 hardcode_minus_L
=yes
7944 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7945 # Neither direct hardcoding nor static linking is supported with a
7947 hardcode_direct
=unsupported
7952 if test "$host_cpu" = ia64
; then
7953 # On IA64, the linker does run time linking by default, so we don't
7954 # have to do anything special.
7955 aix_use_runtimelinking
=no
7956 exp_sym_flag
='-Bexport'
7959 # If we're using GNU nm, then we don't want the "-C" option.
7960 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7961 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7962 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'
7964 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'
7966 aix_use_runtimelinking
=no
7968 # Test if we are trying to use run time linking or normal
7969 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7970 # need to do runtime linking.
7971 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7972 for ld_flag
in $LDFLAGS; do
7973 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7974 aix_use_runtimelinking
=yes
7981 exp_sym_flag
='-bexport'
7982 no_entry_flag
='-bnoentry'
7985 # When large executables or shared objects are built, AIX ld can
7986 # have problems creating the table of contents. If linking a library
7987 # or program results in "error TOC overflow" add -mminimal-toc to
7988 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7989 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7993 hardcode_libdir_separator
=':'
7994 link_all_deplibs
=yes
7996 if test "$GCC" = yes; then
7997 case $host_os in aix4.
[012]|aix4.
[012].
*)
7998 # We only want to do this on AIX 4.2 and lower, the check
7999 # below for broken collect2 doesn't work under 4.3+
8000 collect2name
=`${CC} -print-prog-name=collect2`
8001 if test -f "$collect2name" && \
8002 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8004 # We have reworked collect2
8007 # We have old collect2
8008 hardcode_direct
=unsupported
8009 # It fails to find uninstalled libraries when the uninstalled
8010 # path is not listed in the libpath. Setting hardcode_minus_L
8011 # to unsupported forces relinking
8012 hardcode_minus_L
=yes
8013 hardcode_libdir_flag_spec
='-L$libdir'
8014 hardcode_libdir_separator
=
8018 shared_flag
='-shared'
8019 if test "$aix_use_runtimelinking" = yes; then
8020 shared_flag
="$shared_flag "'${wl}-G'
8024 if test "$host_cpu" = ia64
; then
8025 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8026 # chokes on -Wl,-G. The following line is correct:
8029 if test "$aix_use_runtimelinking" = yes; then
8030 shared_flag
='${wl}-G'
8032 shared_flag
='${wl}-bM:SRE'
8037 # It seems that -bexpall does not export symbols beginning with
8038 # underscore (_), so it is better to generate a list of symbols to export.
8039 always_export_symbols
=yes
8040 if test "$aix_use_runtimelinking" = yes; then
8041 # Warning - without using the other runtime loading flags (-brtl),
8042 # -berok will link without error, but may produce a broken library.
8043 allow_undefined_flag
='-berok'
8044 # Determine the default libpath from the value encoded in an empty executable.
8045 cat >conftest.
$ac_ext <<_ACEOF
8048 cat confdefs.h
>>conftest.
$ac_ext
8049 cat >>conftest.
$ac_ext <<_ACEOF
8050 /* end confdefs.h. */
8060 rm -f conftest.
$ac_objext conftest
$ac_exeext
8061 if { (ac_try
="$ac_link"
8063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8064 *) ac_try_echo=$ac_try;;
8066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8067 (eval "$ac_link") 2>conftest.er1
8069 grep -v '^ *+' conftest.er1 >conftest.err
8071 cat conftest.err >&5
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); } && {
8074 test -z "$ac_c_werror_flag" ||
8075 test ! -s conftest.err
8076 } && test -s conftest$ac_exeext &&
8077 $as_test_x conftest$ac_exeext; then
8079 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8081 # Check for a 64-bit object if we didn't find anything.
8082 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; }
8085 echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.$ac_ext >&5
8091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8092 conftest$ac_exeext conftest.$ac_ext
8093 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8095 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8096 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"
8098 if test "$host_cpu" = ia64; then
8099 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8100 allow_undefined_flag="-z nodefs"
8101 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"
8103 # Determine the default libpath from the value encoded in an empty executable.
8104 cat >conftest.$ac_ext <<_ACEOF
8107 cat confdefs.h >>conftest.$ac_ext
8108 cat >>conftest.$ac_ext <<_ACEOF
8109 /* end confdefs.h. */
8119 rm -f conftest.$ac_objext conftest$ac_exeext
8120 if { (ac_try="$ac_link"
8122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8123 *) ac_try_echo
=$ac_try;;
8125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8126 (eval "$ac_link") 2>conftest.er1
8128 grep -v '^ *+' conftest.er1
>conftest.err
8130 cat conftest.err
>&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); } && {
8133 test -z "$ac_c_werror_flag" ||
8134 test ! -s conftest.err
8135 } && test -s conftest
$ac_exeext &&
8136 $as_test_x conftest
$ac_exeext; then
8138 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8140 # Check for a 64-bit object if we didn't find anything.
8141 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; }
8144 echo "$as_me: failed program was:" >&5
8145 sed 's/^/| /' conftest.
$ac_ext >&5
8150 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8151 conftest
$ac_exeext conftest.
$ac_ext
8152 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8154 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8155 # Warning - without using the other run time loading flags,
8156 # -berok will link without error, but may produce a broken library.
8157 no_undefined_flag
=' ${wl}-bernotok'
8158 allow_undefined_flag
=' ${wl}-berok'
8159 # Exported symbols can be pulled into shared objects from archives
8160 whole_archive_flag_spec
='$convenience'
8161 archive_cmds_need_lc
=yes
8162 # This is similar to how AIX traditionally builds its shared libraries.
8163 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'
8169 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)'
8170 hardcode_libdir_flag_spec
='-L$libdir'
8171 hardcode_minus_L
=yes
8172 # see comment about different semantics on the GNU ld section
8177 export_dynamic_flag_spec
=-rdynamic
8180 cygwin
* | mingw
* | pw32
*)
8181 # When not using gcc, we currently assume that we are using
8182 # Microsoft Visual C++.
8183 # hardcode_libdir_flag_spec is actually meaningless, as there is
8184 # no search path for DLLs.
8185 hardcode_libdir_flag_spec
=' '
8186 allow_undefined_flag
=unsupported
8187 # Tell ltmain to make .lib files, not .a files.
8189 # Tell ltmain to make .dll files, not .so files.
8191 # FIXME: Setting linknames here is a bad hack.
8192 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8193 # The linker will automatically build a .lib file if we build a DLL.
8194 old_archive_From_new_cmds
='true'
8195 # FIXME: Should let the user specify the lib program.
8196 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8197 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8198 enable_shared_with_static_runtimes
=yes
8201 darwin
* | rhapsody
*)
8203 rhapsody
* | darwin1.
[012])
8204 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8207 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8208 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8210 case ${MACOSX_DEPLOYMENT_TARGET} in
8212 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8215 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8221 archive_cmds_need_lc
=no
8223 hardcode_automatic
=yes
8224 hardcode_shlibpath_var
=unsupported
8225 whole_archive_flag_spec
=''
8226 link_all_deplibs
=yes
8227 if test "$GCC" = yes ; then
8228 output_verbose_link_cmd
='echo'
8229 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8230 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8231 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8232 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}'
8233 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}'
8235 case $cc_basename in
8237 output_verbose_link_cmd
='echo'
8238 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8239 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8240 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8241 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}'
8242 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}'
8252 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8253 hardcode_libdir_flag_spec
='-L$libdir'
8254 hardcode_shlibpath_var
=no
8261 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8262 # support. Future versions do this automatically, but an explicit c++rt0.o
8263 # does not break anything, and helps significantly (at the cost of a little
8266 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8267 hardcode_libdir_flag_spec
='-R$libdir'
8269 hardcode_shlibpath_var
=no
8272 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8274 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8276 hardcode_minus_L
=yes
8277 hardcode_shlibpath_var
=no
8280 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8281 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8282 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8283 hardcode_libdir_flag_spec
='-R$libdir'
8285 hardcode_shlibpath_var
=no
8289 if test "$GCC" = yes; then
8290 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'
8292 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'
8294 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8295 hardcode_libdir_separator
=:
8298 # hardcode_minus_L: Not really in the search PATH,
8299 # but as the default location of the library.
8300 hardcode_minus_L
=yes
8301 export_dynamic_flag_spec
='${wl}-E'
8305 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8306 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8308 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8310 if test "$with_gnu_ld" = no
; then
8311 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8312 hardcode_libdir_separator
=:
8315 export_dynamic_flag_spec
='${wl}-E'
8317 # hardcode_minus_L: Not really in the search PATH,
8318 # but as the default location of the library.
8319 hardcode_minus_L
=yes
8324 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8327 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8330 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8333 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8339 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8342 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8345 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8349 if test "$with_gnu_ld" = no
; then
8350 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8351 hardcode_libdir_separator
=:
8355 hardcode_libdir_flag_spec_ld
='+b $libdir'
8357 hardcode_shlibpath_var
=no
8361 export_dynamic_flag_spec
='${wl}-E'
8363 # hardcode_minus_L: Not really in the search PATH,
8364 # but as the default location of the library.
8365 hardcode_minus_L
=yes
8371 irix5
* | irix6
* | nonstopux
*)
8372 if test "$GCC" = yes; then
8373 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'
8375 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'
8376 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8378 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8379 hardcode_libdir_separator
=:
8380 link_all_deplibs
=yes
8384 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8385 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8387 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8389 hardcode_libdir_flag_spec
='-R$libdir'
8391 hardcode_shlibpath_var
=no
8395 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8397 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8398 hardcode_libdir_separator
=:
8399 hardcode_shlibpath_var
=no
8404 hardcode_shlibpath_var
=no
8405 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8406 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8407 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8408 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8409 export_dynamic_flag_spec
='${wl}-E'
8412 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8413 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8414 hardcode_libdir_flag_spec
='-R$libdir'
8417 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8418 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8425 hardcode_libdir_flag_spec
='-L$libdir'
8426 hardcode_minus_L
=yes
8427 allow_undefined_flag
=unsupported
8428 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'
8429 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8433 if test "$GCC" = yes; then
8434 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8435 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'
8437 allow_undefined_flag
=' -expect_unresolved \*'
8438 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'
8440 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8441 hardcode_libdir_separator
=:
8444 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8445 if test "$GCC" = yes; then
8446 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8447 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'
8448 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8450 allow_undefined_flag
=' -expect_unresolved \*'
8451 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'
8452 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8453 $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'
8455 # Both c and cxx compiler support -rpath directly
8456 hardcode_libdir_flag_spec
='-rpath $libdir'
8458 hardcode_libdir_separator
=:
8462 no_undefined_flag
=' -z text'
8463 if test "$GCC" = yes; then
8465 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8466 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8467 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8470 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8471 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8472 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8474 hardcode_libdir_flag_spec
='-R$libdir'
8475 hardcode_shlibpath_var
=no
8477 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8479 # The compiler driver will combine linker options so we
8480 # cannot just pass the convience library names through
8481 # without $wl, iff we do not link with $LD.
8482 # Luckily, gcc supports the same syntax we need for Sun Studio.
8483 # Supported since Solaris 2.6 (maybe 2.5.1?)
8486 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8488 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' ;;
8491 link_all_deplibs
=yes
8495 if test "x$host_vendor" = xsequent
; then
8496 # Use $CC to link under sequent, because it throws in some extra .o
8497 # files that make .init and .fini sections work.
8498 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8500 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8502 hardcode_libdir_flag_spec
='-L$libdir'
8504 hardcode_minus_L
=yes
8505 hardcode_shlibpath_var
=no
8509 case $host_vendor in
8511 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8512 hardcode_direct
=yes # is this really true???
8515 ## LD is ld it makes a PLAMLIB
8516 ## CC just makes a GrossModule.
8517 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8518 reload_cmds
='$CC -r -o $output$reload_objs'
8522 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8523 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8526 runpath_var
='LD_RUN_PATH'
8527 hardcode_shlibpath_var
=no
8531 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8532 hardcode_shlibpath_var
=no
8533 export_dynamic_flag_spec
='-Bexport'
8537 if test -d /usr
/nec
; then
8538 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8539 hardcode_shlibpath_var
=no
8540 runpath_var
=LD_RUN_PATH
8541 hardcode_runpath_var
=yes
8546 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8547 no_undefined_flag
='${wl}-z,text'
8548 archive_cmds_need_lc
=no
8549 hardcode_shlibpath_var
=no
8550 runpath_var
='LD_RUN_PATH'
8552 if test "$GCC" = yes; then
8553 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8554 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8556 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8557 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8561 sysv5
* | sco3.2v5
* | sco5v6
*)
8562 # Note: We can NOT use -z defs as we might desire, because we do not
8563 # link with -lc, and that would cause any symbols used from libc to
8564 # always be unresolved, which means just about no library would
8565 # ever link correctly. If we're not using GNU ld we use -z text
8566 # though, which does catch some bad symbols but isn't as heavy-handed
8568 no_undefined_flag
='${wl}-z,text'
8569 allow_undefined_flag
='${wl}-z,nodefs'
8570 archive_cmds_need_lc
=no
8571 hardcode_shlibpath_var
=no
8572 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8573 hardcode_libdir_separator
=':'
8574 link_all_deplibs
=yes
8575 export_dynamic_flag_spec
='${wl}-Bexport'
8576 runpath_var
='LD_RUN_PATH'
8578 if test "$GCC" = yes; then
8579 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8580 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8582 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8583 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8588 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8589 hardcode_libdir_flag_spec
='-L$libdir'
8590 hardcode_shlibpath_var
=no
8599 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8600 echo "${ECHO_T}$ld_shlibs" >&6; }
8601 test "$ld_shlibs" = no
&& can_build_shared
=no
8604 # Do we need to explicitly link libc?
8606 case "x$archive_cmds_need_lc" in
8608 # Assume -lc should be added
8609 archive_cmds_need_lc
=yes
8611 if test "$enable_shared" = yes && test "$GCC" = yes; then
8612 case $archive_cmds in
8614 # FIXME: we may have to deal with multi-command sequences.
8617 # Test whether the compiler implicitly links with -lc since on some
8618 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8619 # to ld, don't add -lc before -lgcc.
8620 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8621 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8623 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8626 (eval $ac_compile) 2>&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); } 2>conftest.err
; then
8632 libobjs
=conftest.
$ac_objext
8634 wl
=$lt_prog_compiler_wl
8635 pic_flag
=$lt_prog_compiler_pic
8641 lt_save_allow_undefined_flag
=$allow_undefined_flag
8642 allow_undefined_flag
=
8643 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8644 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); }
8649 archive_cmds_need_lc
=no
8651 archive_cmds_need_lc
=yes
8653 allow_undefined_flag
=$lt_save_allow_undefined_flag
8655 cat conftest.err
1>&5
8658 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8659 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8666 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8667 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8669 libname_spec
='lib$name'
8677 shlibpath_overrides_runpath
=unknown
8679 dynamic_linker
="$host_os ld.so"
8680 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8681 if test "$GCC" = yes; then
8682 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8683 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8684 # if the path contains ";" then we assume it to be the separator
8685 # otherwise default to the standard path separator (i.e. ":") - it is
8686 # assumed that no part of a normal pathname contains ";" but that should
8687 # okay in the real world where ";" in dirpaths is itself problematic.
8688 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8690 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8693 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8695 need_lib_prefix
=unknown
8696 hardcode_into_libs
=no
8698 # when you set need_version to no, make sure it does not cause -set_version
8699 # flags to be left without arguments
8700 need_version
=unknown
8705 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8706 shlibpath_var
=LIBPATH
8708 # AIX 3 has no versioning support, so we append a major version to the name.
8709 soname_spec
='${libname}${release}${shared_ext}$major'
8716 hardcode_into_libs
=yes
8717 if test "$host_cpu" = ia64
; then
8718 # AIX 5 supports IA64
8719 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8720 shlibpath_var
=LD_LIBRARY_PATH
8722 # With GCC up to 2.95.x, collect2 would create an import file
8723 # for dependence libraries. The import file would start with
8724 # the line `#! .'. This would cause the generated library to
8725 # depend on `.', always an invalid library. This was fixed in
8726 # development snapshots of GCC prior to 3.0.
8728 aix4 | aix4.
[01] | aix4.
[01].
*)
8729 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8731 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8738 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8739 # soname into executable. Probably we can add versioning support to
8740 # collect2, so additional links can be useful in future.
8741 if test "$aix_use_runtimelinking" = yes; then
8742 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8743 # instead of lib<name>.a to let people know that these are not
8744 # typical AIX shared libraries.
8745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8747 # We preserve .a as extension for shared libraries through AIX4.2
8748 # and later when we are not doing run time linking.
8749 library_names_spec
='${libname}${release}.a $libname.a'
8750 soname_spec
='${libname}${release}${shared_ext}$major'
8752 shlibpath_var
=LIBPATH
8757 library_names_spec
='$libname.ixlibrary $libname.a'
8758 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8759 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'
8763 library_names_spec
='${libname}${shared_ext}'
8764 dynamic_linker
="$host_os ld.so"
8765 shlibpath_var
=LIBRARY_PATH
8771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8772 soname_spec
='${libname}${release}${shared_ext}$major'
8773 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8774 shlibpath_var
=LD_LIBRARY_PATH
8775 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8776 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8777 # the default ld.so.conf also contains /usr/contrib/lib and
8778 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8779 # libtool to hard-code these into programs
8782 cygwin
* | mingw
* | pw32
*)
8783 version_type
=windows
8788 case $GCC,$host_os in
8789 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8790 library_names_spec
='$libname.dll.a'
8791 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8792 postinstall_cmds
='base_file=`basename \${file}`~
8793 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8794 dldir=$destdir/`dirname \$dlpath`~
8795 test -d \$dldir || mkdir -p \$dldir~
8796 $install_prog $dir/$dlname \$dldir/$dlname~
8797 chmod a+x \$dldir/$dlname'
8798 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8799 dlpath=$dir/\$dldll~
8801 shlibpath_overrides_runpath
=yes
8805 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8806 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8807 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8810 # MinGW DLLs use traditional 'lib' prefix
8811 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8812 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8813 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8814 # It is most probably a Windows format PATH printed by
8815 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8816 # path with ; separators, and with drive letters. We can handle the
8817 # drive letters (cygwin fileutils understands them), so leave them,
8818 # especially as we might pass files found there to a mingw objdump,
8819 # which wouldn't understand a cygwinified path. Ahh.
8820 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8822 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8826 # pw32 DLLs use 'pw' prefix rather than 'lib'
8827 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8833 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8836 dynamic_linker
='Win32 ld.exe'
8837 # FIXME: first we should search . and the directory the executable is in
8841 darwin
* | rhapsody
*)
8842 dynamic_linker
="$host_os dyld"
8846 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8847 soname_spec
='${libname}${release}${major}$shared_ext'
8848 shlibpath_overrides_runpath
=yes
8849 shlibpath_var
=DYLD_LIBRARY_PATH
8850 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8851 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8852 if test "$GCC" = yes; then
8853 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"`
8855 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8857 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8865 soname_spec
='${libname}${release}${shared_ext}$major'
8866 shlibpath_var
=LD_LIBRARY_PATH
8877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8878 soname_spec
='${libname}${release}${shared_ext}$major'
8879 shlibpath_var
=LD_LIBRARY_PATH
8880 shlibpath_overrides_runpath
=no
8881 hardcode_into_libs
=yes
8882 dynamic_linker
='GNU ld.so'
8885 freebsd
* | dragonfly
*)
8886 # DragonFly does not have aout. When/if they implement a new
8887 # versioning mechanism, adjust this.
8888 if test -x /usr
/bin
/objformat
; then
8889 objformat
=`/usr/bin/objformat`
8892 freebsd
[123]*) objformat
=aout
;;
8896 version_type
=freebsd-
$objformat
8897 case $version_type in
8899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8904 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8908 shlibpath_var
=LD_LIBRARY_PATH
8911 shlibpath_overrides_runpath
=yes
8913 freebsd3.
[01]* | freebsdelf3.
[01]*)
8914 shlibpath_overrides_runpath
=yes
8915 hardcode_into_libs
=yes
8917 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8918 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8919 shlibpath_overrides_runpath
=no
8920 hardcode_into_libs
=yes
8922 freebsd
*) # from 4.6 on
8923 shlibpath_overrides_runpath
=yes
8924 hardcode_into_libs
=yes
8933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8934 soname_spec
='${libname}${release}${shared_ext}$major'
8935 shlibpath_var
=LD_LIBRARY_PATH
8936 hardcode_into_libs
=yes
8939 hpux9
* | hpux10
* | hpux11
*)
8940 # Give a soname corresponding to the major version so that dld.sl refuses to
8941 # link against other versions.
8948 hardcode_into_libs
=yes
8949 dynamic_linker
="$host_os dld.so"
8950 shlibpath_var
=LD_LIBRARY_PATH
8951 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8953 soname_spec
='${libname}${release}${shared_ext}$major'
8954 if test "X$HPUX_IA64_MODE" = X32
; then
8955 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8957 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8959 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8963 hardcode_into_libs
=yes
8964 dynamic_linker
="$host_os dld.sl"
8965 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8966 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8968 soname_spec
='${libname}${release}${shared_ext}$major'
8969 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8970 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8974 dynamic_linker
="$host_os dld.sl"
8975 shlibpath_var
=SHLIB_PATH
8976 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8978 soname_spec
='${libname}${release}${shared_ext}$major'
8981 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8982 postinstall_cmds
='chmod 555 $lib'
8989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8990 soname_spec
='${libname}${release}${shared_ext}$major'
8991 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8992 shlibpath_var
=LD_LIBRARY_PATH
8993 shlibpath_overrides_runpath
=no
8994 hardcode_into_libs
=yes
8997 irix5
* | irix6
* | nonstopux
*)
8999 nonstopux
*) version_type
=nonstopux
;;
9001 if test "$lt_cv_prog_gnu_ld" = yes; then
9009 soname_spec
='${libname}${release}${shared_ext}$major'
9010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9012 irix5
* | nonstopux
*)
9016 case $LD in # libtool.m4 will add one of these switches to LD
9017 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9018 libsuff
= shlibsuff
= libmagic
=32-bit;;
9019 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9020 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9021 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9022 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9023 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9027 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9028 shlibpath_overrides_runpath
=no
9029 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9030 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9031 hardcode_into_libs
=yes
9034 # No shared lib support for Linux oldld, aout, or coff.
9035 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9039 # This must be Linux ELF.
9044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9045 soname_spec
='${libname}${release}${shared_ext}$major'
9046 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9047 shlibpath_var
=LD_LIBRARY_PATH
9048 shlibpath_overrides_runpath
=no
9049 # This implies no fast_install, which is unacceptable.
9050 # Some rework will be needed to allow for fast_install
9051 # before this can be enabled.
9052 hardcode_into_libs
=yes
9054 # find out which ABI we are using
9057 x86_64
*|s390x
*|powerpc64
*)
9058 echo '#line 9058 "configure"' > conftest.
$ac_ext
9059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9060 (eval $ac_compile) 2>&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); }; then
9064 case `/usr/bin/file conftest.$ac_objext` in
9067 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9075 # Append ld.so.conf contents to the search path
9076 if test -f /etc
/ld.so.conf
; then
9077 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9078 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9081 # We used to test for /lib/ld.so.1 and disable shared libraries on
9082 # powerpc, because MkLinux only supported shared libraries with the
9083 # GNU dynamic linker. Since this was broken with cross compilers,
9084 # most powerpc-linux boxes support dynamic linking these days and
9085 # people can always --disable-shared, the test was removed, and we
9086 # assume the GNU/Linux dynamic linker is in use.
9087 dynamic_linker
='GNU/Linux ld.so'
9094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9095 soname_spec
='${libname}${release}${shared_ext}$major'
9096 shlibpath_var
=LD_LIBRARY_PATH
9097 shlibpath_overrides_runpath
=no
9098 hardcode_into_libs
=yes
9099 dynamic_linker
='GNU ld.so'
9106 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9108 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9109 dynamic_linker
='NetBSD (a.out) ld.so'
9111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9112 soname_spec
='${libname}${release}${shared_ext}$major'
9113 dynamic_linker
='NetBSD ld.elf_so'
9115 shlibpath_var
=LD_LIBRARY_PATH
9116 shlibpath_overrides_runpath
=yes
9117 hardcode_into_libs
=yes
9122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9123 shlibpath_var
=LD_LIBRARY_PATH
9124 shlibpath_overrides_runpath
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
9134 shlibpath_overrides_runpath
=yes
9139 sys_lib_dlsearch_path_spec
="/usr/lib"
9141 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9143 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9144 *) need_version
=no
;;
9146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9147 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9148 shlibpath_var
=LD_LIBRARY_PATH
9149 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9151 openbsd2.
[89] | openbsd2.
[89].
*)
9152 shlibpath_overrides_runpath
=no
9155 shlibpath_overrides_runpath
=yes
9159 shlibpath_overrides_runpath
=yes
9164 libname_spec
='$name'
9167 library_names_spec
='$libname${shared_ext} $libname.a'
9168 dynamic_linker
='OS/2 ld.exe'
9169 shlibpath_var
=LIBPATH
9172 osf3
* | osf4
* | osf5
*)
9176 soname_spec
='${libname}${release}${shared_ext}$major'
9177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9178 shlibpath_var
=LD_LIBRARY_PATH
9179 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9180 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9188 soname_spec
='${libname}${release}${shared_ext}$major'
9189 shlibpath_var
=LD_LIBRARY_PATH
9190 shlibpath_overrides_runpath
=yes
9191 hardcode_into_libs
=yes
9192 # ldd complains unless libraries are executable
9193 postinstall_cmds
='chmod +x $lib'
9198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9199 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9200 shlibpath_var
=LD_LIBRARY_PATH
9201 shlibpath_overrides_runpath
=yes
9202 if test "$with_gnu_ld" = yes; then
9210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9211 soname_spec
='${libname}${release}${shared_ext}$major'
9212 shlibpath_var
=LD_LIBRARY_PATH
9213 case $host_vendor in
9215 shlibpath_overrides_runpath
=no
9217 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9218 runpath_var
=LD_RUN_PATH
9226 shlibpath_overrides_runpath
=no
9227 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9233 if test -d /usr
/nec
;then
9235 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9236 soname_spec
='$libname${shared_ext}.$major'
9237 shlibpath_var
=LD_LIBRARY_PATH
9241 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9242 version_type
=freebsd-elf
9245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9246 soname_spec
='${libname}${release}${shared_ext}$major'
9247 shlibpath_var
=LD_LIBRARY_PATH
9248 hardcode_into_libs
=yes
9249 if test "$with_gnu_ld" = yes; then
9250 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9251 shlibpath_overrides_runpath
=no
9253 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9254 shlibpath_overrides_runpath
=yes
9257 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9261 sys_lib_dlsearch_path_spec
='/usr/lib'
9266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9267 soname_spec
='${libname}${release}${shared_ext}$major'
9268 shlibpath_var
=LD_LIBRARY_PATH
9275 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9276 echo "${ECHO_T}$dynamic_linker" >&6; }
9277 test "$dynamic_linker" = no
&& can_build_shared
=no
9279 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9280 if test "$GCC" = yes; then
9281 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9284 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9285 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9287 if test -n "$hardcode_libdir_flag_spec" || \
9288 test -n "$runpath_var" || \
9289 test "X$hardcode_automatic" = "Xyes" ; then
9291 # We can hardcode non-existant directories.
9292 if test "$hardcode_direct" != no
&&
9293 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9294 # have to relink, otherwise we might link with an installed library
9295 # when we should be linking with a yet-to-be-installed one
9296 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9297 test "$hardcode_minus_L" != no
; then
9298 # Linking always hardcodes the temporary library directory.
9299 hardcode_action
=relink
9301 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9302 hardcode_action
=immediate
9305 # We cannot hardcode anything, or else we can only hardcode existing
9307 hardcode_action
=unsupported
9309 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9310 echo "${ECHO_T}$hardcode_action" >&6; }
9312 if test "$hardcode_action" = relink
; then
9313 # Fast installation is not supported
9314 enable_fast_install
=no
9315 elif test "$shlibpath_overrides_runpath" = yes ||
9316 test "$enable_shared" = no
; then
9317 # Fast installation is not necessary
9318 enable_fast_install
=needless
9323 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9324 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9325 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9326 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9327 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9328 { echo "$as_me:$LINENO: result: yes" >&5
9329 echo "${ECHO_T}yes" >&6; }
9331 # FIXME - insert some real tests, host_os isn't really good enough
9334 if test -n "$STRIP" ; then
9335 striplib
="$STRIP -x"
9336 { echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6; }
9339 { echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6; }
9344 { echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6; }
9350 if test "x$enable_dlopen" != xyes
; then
9351 enable_dlopen
=unknown
9352 enable_dlopen_self
=unknown
9353 enable_dlopen_self_static
=unknown
9360 lt_cv_dlopen
="load_add_on"
9362 lt_cv_dlopen_self
=yes
9366 lt_cv_dlopen
="LoadLibrary"
9371 lt_cv_dlopen
="dlopen"
9376 # if libdl is installed we need to link against it
9377 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9378 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9379 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9380 echo $ECHO_N "(cached) $ECHO_C" >&6
9382 ac_check_lib_save_LIBS
=$LIBS
9384 cat >conftest.
$ac_ext <<_ACEOF
9387 cat confdefs.h
>>conftest.
$ac_ext
9388 cat >>conftest.
$ac_ext <<_ACEOF
9389 /* end confdefs.h. */
9391 /* Override any GCC internal prototype to avoid an error.
9392 Use char because int might match the return type of a GCC
9393 builtin and then its argument prototype would still apply. */
9406 rm -f conftest.
$ac_objext conftest
$ac_exeext
9407 if { (ac_try
="$ac_link"
9409 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9410 *) ac_try_echo=$ac_try;;
9412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9413 (eval "$ac_link") 2>conftest.er1
9415 grep -v '^ *+' conftest.er1 >conftest.err
9417 cat conftest.err >&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); } && {
9420 test -z "$ac_c_werror_flag" ||
9421 test ! -s conftest.err
9422 } && test -s conftest$ac_exeext &&
9423 $as_test_x conftest$ac_exeext; then
9424 ac_cv_lib_dl_dlopen=yes
9426 echo "$as_me: failed program was:" >&5
9427 sed 's/^/| /' conftest.$ac_ext >&5
9429 ac_cv_lib_dl_dlopen=no
9432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9433 conftest$ac_exeext conftest.$ac_ext
9434 LIBS=$ac_check_lib_save_LIBS
9436 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9437 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9438 if test $ac_cv_lib_dl_dlopen = yes; then
9439 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9444 lt_cv_dlopen_self=yes
9451 { echo "$as_me:$LINENO: checking for shl_load" >&5
9452 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9453 if test "${ac_cv_func_shl_load+set}" = set; then
9454 echo $ECHO_N "(cached) $ECHO_C" >&6
9456 cat >conftest.$ac_ext <<_ACEOF
9459 cat confdefs.h >>conftest.$ac_ext
9460 cat >>conftest.$ac_ext <<_ACEOF
9461 /* end confdefs.h. */
9462 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9464 #define shl_load innocuous_shl_load
9466 /* System header to define __stub macros and hopefully few prototypes,
9467 which can conflict with char shl_load (); below.
9468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9469 <limits.h> exists even on freestanding compilers. */
9472 # include <limits.h>
9474 # include <assert.h>
9479 /* Override any GCC internal prototype to avoid an error.
9480 Use char because int might match the return type of a GCC
9481 builtin and then its argument prototype would still apply. */
9486 /* The GNU C library defines this for functions which it implements
9487 to always fail with ENOSYS. Some functions are actually named
9488 something starting with __ and the normal name is an alias. */
9489 #if defined __stub_shl_load || defined __stub___shl_load
9501 rm -f conftest.$ac_objext conftest$ac_exeext
9502 if { (ac_try="$ac_link"
9504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9505 *) ac_try_echo
=$ac_try;;
9507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9508 (eval "$ac_link") 2>conftest.er1
9510 grep -v '^ *+' conftest.er1
>conftest.err
9512 cat conftest.err
>&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); } && {
9515 test -z "$ac_c_werror_flag" ||
9516 test ! -s conftest.err
9517 } && test -s conftest
$ac_exeext &&
9518 $as_test_x conftest
$ac_exeext; then
9519 ac_cv_func_shl_load
=yes
9521 echo "$as_me: failed program was:" >&5
9522 sed 's/^/| /' conftest.
$ac_ext >&5
9524 ac_cv_func_shl_load
=no
9527 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9528 conftest
$ac_exeext conftest.
$ac_ext
9530 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9531 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9532 if test $ac_cv_func_shl_load = yes; then
9533 lt_cv_dlopen
="shl_load"
9535 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9536 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9537 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9538 echo $ECHO_N "(cached) $ECHO_C" >&6
9540 ac_check_lib_save_LIBS
=$LIBS
9542 cat >conftest.
$ac_ext <<_ACEOF
9545 cat confdefs.h
>>conftest.
$ac_ext
9546 cat >>conftest.
$ac_ext <<_ACEOF
9547 /* end confdefs.h. */
9549 /* Override any GCC internal prototype to avoid an error.
9550 Use char because int might match the return type of a GCC
9551 builtin and then its argument prototype would still apply. */
9564 rm -f conftest.
$ac_objext conftest
$ac_exeext
9565 if { (ac_try
="$ac_link"
9567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9568 *) ac_try_echo=$ac_try;;
9570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9571 (eval "$ac_link") 2>conftest.er1
9573 grep -v '^ *+' conftest.er1 >conftest.err
9575 cat conftest.err >&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); } && {
9578 test -z "$ac_c_werror_flag" ||
9579 test ! -s conftest.err
9580 } && test -s conftest$ac_exeext &&
9581 $as_test_x conftest$ac_exeext; then
9582 ac_cv_lib_dld_shl_load=yes
9584 echo "$as_me: failed program was:" >&5
9585 sed 's/^/| /' conftest.$ac_ext >&5
9587 ac_cv_lib_dld_shl_load=no
9590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9591 conftest$ac_exeext conftest.$ac_ext
9592 LIBS=$ac_check_lib_save_LIBS
9594 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9595 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9596 if test $ac_cv_lib_dld_shl_load = yes; then
9597 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9599 { echo "$as_me:$LINENO: checking for dlopen" >&5
9600 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9601 if test "${ac_cv_func_dlopen+set}" = set; then
9602 echo $ECHO_N "(cached) $ECHO_C" >&6
9604 cat >conftest.$ac_ext <<_ACEOF
9607 cat confdefs.h >>conftest.$ac_ext
9608 cat >>conftest.$ac_ext <<_ACEOF
9609 /* end confdefs.h. */
9610 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9612 #define dlopen innocuous_dlopen
9614 /* System header to define __stub macros and hopefully few prototypes,
9615 which can conflict with char dlopen (); below.
9616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9617 <limits.h> exists even on freestanding compilers. */
9620 # include <limits.h>
9622 # include <assert.h>
9627 /* Override any GCC internal prototype to avoid an error.
9628 Use char because int might match the return type of a GCC
9629 builtin and then its argument prototype would still apply. */
9634 /* The GNU C library defines this for functions which it implements
9635 to always fail with ENOSYS. Some functions are actually named
9636 something starting with __ and the normal name is an alias. */
9637 #if defined __stub_dlopen || defined __stub___dlopen
9649 rm -f conftest.$ac_objext conftest$ac_exeext
9650 if { (ac_try="$ac_link"
9652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9653 *) ac_try_echo
=$ac_try;;
9655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9656 (eval "$ac_link") 2>conftest.er1
9658 grep -v '^ *+' conftest.er1
>conftest.err
9660 cat conftest.err
>&5
9661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 (exit $ac_status); } && {
9663 test -z "$ac_c_werror_flag" ||
9664 test ! -s conftest.err
9665 } && test -s conftest
$ac_exeext &&
9666 $as_test_x conftest
$ac_exeext; then
9667 ac_cv_func_dlopen
=yes
9669 echo "$as_me: failed program was:" >&5
9670 sed 's/^/| /' conftest.
$ac_ext >&5
9672 ac_cv_func_dlopen
=no
9675 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9676 conftest
$ac_exeext conftest.
$ac_ext
9678 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9679 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9680 if test $ac_cv_func_dlopen = yes; then
9681 lt_cv_dlopen
="dlopen"
9683 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9684 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9685 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9686 echo $ECHO_N "(cached) $ECHO_C" >&6
9688 ac_check_lib_save_LIBS
=$LIBS
9690 cat >conftest.
$ac_ext <<_ACEOF
9693 cat confdefs.h
>>conftest.
$ac_ext
9694 cat >>conftest.
$ac_ext <<_ACEOF
9695 /* end confdefs.h. */
9697 /* Override any GCC internal prototype to avoid an error.
9698 Use char because int might match the return type of a GCC
9699 builtin and then its argument prototype would still apply. */
9712 rm -f conftest.
$ac_objext conftest
$ac_exeext
9713 if { (ac_try
="$ac_link"
9715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9716 *) ac_try_echo=$ac_try;;
9718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9719 (eval "$ac_link") 2>conftest.er1
9721 grep -v '^ *+' conftest.er1 >conftest.err
9723 cat conftest.err >&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); } && {
9726 test -z "$ac_c_werror_flag" ||
9727 test ! -s conftest.err
9728 } && test -s conftest$ac_exeext &&
9729 $as_test_x conftest$ac_exeext; then
9730 ac_cv_lib_dl_dlopen=yes
9732 echo "$as_me: failed program was:" >&5
9733 sed 's/^/| /' conftest.$ac_ext >&5
9735 ac_cv_lib_dl_dlopen=no
9738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9739 conftest$ac_exeext conftest.$ac_ext
9740 LIBS=$ac_check_lib_save_LIBS
9742 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9743 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9744 if test $ac_cv_lib_dl_dlopen = yes; then
9745 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9747 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9748 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9749 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9750 echo $ECHO_N "(cached) $ECHO_C" >&6
9752 ac_check_lib_save_LIBS=$LIBS
9754 cat >conftest.$ac_ext <<_ACEOF
9757 cat confdefs.h >>conftest.$ac_ext
9758 cat >>conftest.$ac_ext <<_ACEOF
9759 /* end confdefs.h. */
9761 /* Override any GCC internal prototype to avoid an error.
9762 Use char because int might match the return type of a GCC
9763 builtin and then its argument prototype would still apply. */
9776 rm -f conftest.$ac_objext conftest$ac_exeext
9777 if { (ac_try="$ac_link"
9779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9780 *) ac_try_echo
=$ac_try;;
9782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9783 (eval "$ac_link") 2>conftest.er1
9785 grep -v '^ *+' conftest.er1
>conftest.err
9787 cat conftest.err
>&5
9788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789 (exit $ac_status); } && {
9790 test -z "$ac_c_werror_flag" ||
9791 test ! -s conftest.err
9792 } && test -s conftest
$ac_exeext &&
9793 $as_test_x conftest
$ac_exeext; then
9794 ac_cv_lib_svld_dlopen
=yes
9796 echo "$as_me: failed program was:" >&5
9797 sed 's/^/| /' conftest.
$ac_ext >&5
9799 ac_cv_lib_svld_dlopen
=no
9802 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9803 conftest
$ac_exeext conftest.
$ac_ext
9804 LIBS
=$ac_check_lib_save_LIBS
9806 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9807 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9808 if test $ac_cv_lib_svld_dlopen = yes; then
9809 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9811 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9812 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9813 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9814 echo $ECHO_N "(cached) $ECHO_C" >&6
9816 ac_check_lib_save_LIBS
=$LIBS
9818 cat >conftest.
$ac_ext <<_ACEOF
9821 cat confdefs.h
>>conftest.
$ac_ext
9822 cat >>conftest.
$ac_ext <<_ACEOF
9823 /* end confdefs.h. */
9825 /* Override any GCC internal prototype to avoid an error.
9826 Use char because int might match the return type of a GCC
9827 builtin and then its argument prototype would still apply. */
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 test -z "$ac_c_werror_flag" ||
9855 test ! -s conftest.err
9856 } && test -s conftest$ac_exeext &&
9857 $as_test_x conftest$ac_exeext; then
9858 ac_cv_lib_dld_dld_link=yes
9860 echo "$as_me: failed program was:" >&5
9861 sed 's/^/| /' conftest.$ac_ext >&5
9863 ac_cv_lib_dld_dld_link=no
9866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9867 conftest$ac_exeext conftest.$ac_ext
9868 LIBS=$ac_check_lib_save_LIBS
9870 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9871 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9872 if test $ac_cv_lib_dld_dld_link = yes; then
9873 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9894 if test "x$lt_cv_dlopen" != xno; then
9900 case $lt_cv_dlopen in
9902 save_CPPFLAGS="$CPPFLAGS"
9903 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9905 save_LDFLAGS="$LDFLAGS"
9906 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9909 LIBS="$lt_cv_dlopen_libs $LIBS"
9911 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9912 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9913 if test "${lt_cv_dlopen_self+set}" = set; then
9914 echo $ECHO_N "(cached) $ECHO_C" >&6
9916 if test "$cross_compiling" = yes; then :
9917 lt_cv_dlopen_self=cross
9919 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9920 lt_status=$lt_dlunknown
9921 cat > conftest.$ac_ext <<EOF
9922 #line 9922 "configure"
9923 #include "confdefs.h"
9932 # define LT_DLGLOBAL RTLD_GLOBAL
9935 # define LT_DLGLOBAL DL_GLOBAL
9937 # define LT_DLGLOBAL 0
9941 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9942 find out it does not work in some platform. */
9943 #ifndef LT_DLLAZY_OR_NOW
9945 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9948 # define LT_DLLAZY_OR_NOW DL_LAZY
9951 # define LT_DLLAZY_OR_NOW RTLD_NOW
9954 # define LT_DLLAZY_OR_NOW DL_NOW
9956 # define LT_DLLAZY_OR_NOW 0
9964 extern "C" void exit (int);
9967 void fnord() { int i=42;}
9970 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9971 int status = $lt_dlunknown;
9975 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9976 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9977 /* dlclose (self); */
9985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9986 (eval $ac_link) 2>&5
9988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9990 (./conftest; exit; ) >&5 2>/dev/null
9993 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9994 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9995 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9998 # compilation failed
9999 lt_cv_dlopen_self=no
10006 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10007 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10009 if test "x$lt_cv_dlopen_self" = xyes; then
10010 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10011 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10012 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10013 if test "${lt_cv_dlopen_self_static+set}" = set; then
10014 echo $ECHO_N "(cached) $ECHO_C" >&6
10016 if test "$cross_compiling" = yes; then :
10017 lt_cv_dlopen_self_static=cross
10019 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10020 lt_status=$lt_dlunknown
10021 cat > conftest.$ac_ext <<EOF
10022 #line 10022 "configure"
10023 #include "confdefs.h"
10032 # define LT_DLGLOBAL RTLD_GLOBAL
10035 # define LT_DLGLOBAL DL_GLOBAL
10037 # define LT_DLGLOBAL 0
10041 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10042 find out it does not work in some platform. */
10043 #ifndef LT_DLLAZY_OR_NOW
10045 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10048 # define LT_DLLAZY_OR_NOW DL_LAZY
10051 # define LT_DLLAZY_OR_NOW RTLD_NOW
10054 # define LT_DLLAZY_OR_NOW DL_NOW
10056 # define LT_DLLAZY_OR_NOW 0
10064 extern "C" void exit (int);
10067 void fnord() { int i=42;}
10070 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10071 int status = $lt_dlunknown;
10075 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10076 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10077 /* dlclose (self); */
10085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10086 (eval $ac_link) 2>&5
10088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10089 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10090 (./conftest; exit; ) >&5 2>/dev/null
10092 case x$lt_status in
10093 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10094 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10095 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10098 # compilation failed
10099 lt_cv_dlopen_self_static=no
10106 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10107 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10110 CPPFLAGS="$save_CPPFLAGS"
10111 LDFLAGS="$save_LDFLAGS"
10116 case $lt_cv_dlopen_self in
10117 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10118 *) enable_dlopen_self=unknown ;;
10121 case $lt_cv_dlopen_self_static in
10122 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10123 *) enable_dlopen_self_static=unknown ;;
10128 # Report which library types will actually be built
10129 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10130 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10131 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10132 echo "${ECHO_T}$can_build_shared" >&6; }
10134 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10135 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10136 test "$can_build_shared" = "no" && enable_shared=no
10138 # On AIX, shared libraries and static libraries use the same namespace, and
10139 # are all built from PIC.
10142 test "$enable_shared" = yes && enable_static=no
10143 if test -n "$RANLIB"; then
10144 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10145 postinstall_cmds='$RANLIB $lib'
10150 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10151 test "$enable_shared" = yes && enable_static=no
10155 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10156 echo "${ECHO_T}$enable_shared" >&6; }
10158 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10159 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10160 # Make sure either enable_shared or enable_static is yes.
10161 test "$enable_shared" = yes || enable_static=yes
10162 { echo "$as_me:$LINENO: result: $enable_static" >&5
10163 echo "${ECHO_T}$enable_static" >&6; }
10165 # The else clause should only fire when bootstrapping the
10166 # libtool distribution, otherwise you forgot to ship ltmain.sh
10167 # with your package, and you will get complaints that there are
10168 # no rules to generate ltmain.sh.
10169 if test -f "$ltmain"; then
10170 # See if we are running on zsh, and set the options which allow our commands through
10171 # without removal of \ escapes.
10172 if test -n "${ZSH_VERSION+set}" ; then
10173 setopt NO_GLOB_SUBST
10175 # Now quote all the things that may contain metacharacters while being
10176 # careful not to overquote the AC_SUBSTed values. We take copies of the
10177 # variables and quote the copies for generation of the libtool script.
10178 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10180 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10181 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10182 deplibs_check_method reload_flag reload_cmds need_locks \
10183 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10184 lt_cv_sys_global_symbol_to_c_name_address \
10185 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10186 old_postinstall_cmds old_postuninstall_cmds \
10190 lt_prog_compiler_wl \
10191 lt_prog_compiler_pic \
10192 lt_prog_compiler_static \
10193 lt_prog_compiler_no_builtin_flag \
10194 export_dynamic_flag_spec \
10195 thread_safe_flag_spec \
10196 whole_archive_flag_spec \
10197 enable_shared_with_static_runtimes \
10199 old_archive_from_new_cmds \
10204 compiler_lib_search_path \
10206 archive_expsym_cmds \
10208 postuninstall_cmds \
10209 old_archive_from_expsyms_cmds \
10210 allow_undefined_flag \
10211 no_undefined_flag \
10212 export_symbols_cmds \
10213 hardcode_libdir_flag_spec \
10214 hardcode_libdir_flag_spec_ld \
10215 hardcode_libdir_separator \
10216 hardcode_automatic \
10218 module_expsym_cmds \
10219 lt_cv_prog_compiler_c_o \
10221 include_expsyms; do
10224 old_archive_cmds | \
10225 old_archive_from_new_cmds | \
10227 archive_expsym_cmds | \
10229 module_expsym_cmds | \
10230 old_archive_from_expsyms_cmds | \
10231 export_symbols_cmds | \
10232 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10233 postinstall_cmds | postuninstall_cmds | \
10234 old_postinstall_cmds | old_postuninstall_cmds | \
10235 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10236 # Double-quote double-evaled strings.
10237 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10240 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10246 *'\$0 --fallback-echo"')
10247 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10251 cfgfile="${ofile}T"
10252 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10254 { echo "$as_me:$LINENO: creating $ofile" >&5
10255 echo "$as_me: creating $ofile" >&6;}
10257 cat <<__EOF__ >> "$cfgfile"
10260 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10261 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10262 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10264 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10265 # Free Software Foundation, Inc.
10267 # This file is part of GNU Libtool:
10268 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10270 # This program is free software; you can redistribute it and/or modify
10271 # it under the terms of the GNU General Public License as published by
10272 # the Free Software Foundation; either version 2 of the License, or
10273 # (at your option) any later version.
10275 # This program is distributed in the hope that it will be useful, but
10276 # WITHOUT ANY WARRANTY; without even the implied warranty of
10277 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10278 # General Public License for more details.
10280 # You should have received a copy of the GNU General Public License
10281 # along with this program; if not, write to the Free Software
10282 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10284 # As a special exception to the GNU General Public License, if you
10285 # distribute this file as part of a program that contains a
10286 # configuration script generated by Autoconf, you may include it under
10287 # the same distribution terms that you use for the rest of that program.
10289 # A sed program that does not truncate output.
10292 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10293 Xsed="$SED -e 1s/^X//"
10295 # The HP-UX ksh and POSIX shell print the target directory to stdout
10296 # if CDPATH is set.
10297 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10299 # The names of the tagged configurations supported by this script.
10302 # ### BEGIN LIBTOOL CONFIG
10304 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10306 # Shell to use when invoking shell scripts.
10309 # Whether or not to build shared libraries.
10310 build_libtool_libs=$enable_shared
10312 # Whether or not to build static libraries.
10313 build_old_libs=$enable_static
10315 # Whether or not to add -lc for building shared libraries.
10316 build_libtool_need_lc=$archive_cmds_need_lc
10318 # Whether or not to disallow shared libs when runtime libs are static
10319 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10321 # Whether or not to optimize for fast installation.
10322 fast_install=$enable_fast_install
10325 host_alias=$host_alias
10329 # The build system.
10330 build_alias=$build_alias
10334 # An echo program that does not interpret backslashes.
10339 AR_FLAGS=$lt_AR_FLAGS
10344 # LTCC compiler flags.
10345 LTCFLAGS=$lt_LTCFLAGS
10347 # A language-specific compiler.
10350 # Is the compiler the GNU C compiler?
10356 # The linker used to build libraries.
10359 # Whether we need hard or soft links.
10362 # A BSD-compatible nm program.
10365 # A symbol stripping program
10368 # Used to examine libraries when file_magic_cmd begins "file"
10369 MAGIC_CMD=$MAGIC_CMD
10371 # Used on cygwin: DLL creation program.
10374 # Used on cygwin: object dumper.
10377 # Used on cygwin: assembler.
10380 # The name of the directory that contains temporary libtool files.
10383 # How to create reloadable object files.
10384 reload_flag=$lt_reload_flag
10385 reload_cmds=$lt_reload_cmds
10387 # How to pass a linker flag through the compiler.
10388 wl=$lt_lt_prog_compiler_wl
10390 # Object file suffix (normally "o").
10391 objext="$ac_objext"
10393 # Old archive suffix (normally "a").
10396 # Shared library suffix (normally ".so").
10397 shrext_cmds='$shrext_cmds'
10399 # Executable file suffix (normally "").
10402 # Additional compiler flags for building library objects.
10403 pic_flag=$lt_lt_prog_compiler_pic
10406 # What is the maximum length of a command?
10407 max_cmd_len=$lt_cv_sys_max_cmd_len
10409 # Does compiler simultaneously support -c and -o options?
10410 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10412 # Must we lock files when doing compilation?
10413 need_locks=$lt_need_locks
10415 # Do we need the lib prefix for modules?
10416 need_lib_prefix=$need_lib_prefix
10418 # Do we need a version for libraries?
10419 need_version=$need_version
10421 # Whether dlopen is supported.
10422 dlopen_support=$enable_dlopen
10424 # Whether dlopen of programs is supported.
10425 dlopen_self=$enable_dlopen_self
10427 # Whether dlopen of statically linked programs is supported.
10428 dlopen_self_static=$enable_dlopen_self_static
10430 # Compiler flag to prevent dynamic linking.
10431 link_static_flag=$lt_lt_prog_compiler_static
10433 # Compiler flag to turn off builtin functions.
10434 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10436 # Compiler flag to allow reflexive dlopens.
10437 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10439 # Compiler flag to generate shared objects directly from archives.
10440 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10442 # Compiler flag to generate thread-safe objects.
10443 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10445 # Library versioning type.
10446 version_type=$version_type
10448 # Format of library name prefix.
10449 libname_spec=$lt_libname_spec
10451 # List of archive names. First name is the real one, the rest are links.
10452 # The last name is the one that the linker finds with -lNAME.
10453 library_names_spec=$lt_library_names_spec
10455 # The coded name of the library, if different from the real name.
10456 soname_spec=$lt_soname_spec
10458 # Commands used to build and install an old-style archive.
10460 old_archive_cmds=$lt_old_archive_cmds
10461 old_postinstall_cmds=$lt_old_postinstall_cmds
10462 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10464 # Create an old-style archive from a shared archive.
10465 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10467 # Create a temporary old-style archive to link instead of a shared archive.
10468 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10470 # Commands used to build and install a shared archive.
10471 archive_cmds=$lt_archive_cmds
10472 archive_expsym_cmds=$lt_archive_expsym_cmds
10473 postinstall_cmds=$lt_postinstall_cmds
10474 postuninstall_cmds=$lt_postuninstall_cmds
10476 # Commands used to build a loadable module (assumed same as above if empty)
10477 module_cmds=$lt_module_cmds
10478 module_expsym_cmds=$lt_module_expsym_cmds
10480 # Commands to strip libraries.
10481 old_striplib=$lt_old_striplib
10482 striplib=$lt_striplib
10484 # Dependencies to place before the objects being linked to create a
10486 predep_objects=$lt_predep_objects
10488 # Dependencies to place after the objects being linked to create a
10490 postdep_objects=$lt_postdep_objects
10492 # Dependencies to place before the objects being linked to create a
10494 predeps=$lt_predeps
10496 # Dependencies to place after the objects being linked to create a
10498 postdeps=$lt_postdeps
10500 # The library search path used internally by the compiler when linking
10501 # a shared library.
10502 compiler_lib_search_path=$lt_compiler_lib_search_path
10504 # Method to check whether dependent libraries are shared objects.
10505 deplibs_check_method=$lt_deplibs_check_method
10507 # Command to use when deplibs_check_method == file_magic.
10508 file_magic_cmd=$lt_file_magic_cmd
10510 # Flag that allows shared libraries with undefined symbols to be built.
10511 allow_undefined_flag=$lt_allow_undefined_flag
10513 # Flag that forces no undefined symbols.
10514 no_undefined_flag=$lt_no_undefined_flag
10516 # Commands used to finish a libtool library installation in a directory.
10517 finish_cmds=$lt_finish_cmds
10519 # Same as above, but a single script fragment to be evaled but not shown.
10520 finish_eval=$lt_finish_eval
10522 # Take the output of nm and produce a listing of raw symbols and C names.
10523 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10525 # Transform the output of nm in a proper C declaration
10526 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10528 # Transform the output of nm in a C name address pair
10529 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10531 # This is the shared library runtime path variable.
10532 runpath_var=$runpath_var
10534 # This is the shared library path variable.
10535 shlibpath_var=$shlibpath_var
10537 # Is shlibpath searched before the hard-coded library search path?
10538 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10540 # How to hardcode a shared library path into an executable.
10541 hardcode_action=$hardcode_action
10543 # Whether we should hardcode library paths into libraries.
10544 hardcode_into_libs=$hardcode_into_libs
10546 # Flag to hardcode \$libdir into a binary during linking.
10547 # This must work even if \$libdir does not exist.
10548 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10550 # If ld is used when linking, flag to hardcode \$libdir into
10551 # a binary during linking. This must work even if \$libdir does
10553 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10555 # Whether we need a single -rpath flag with a separated argument.
10556 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10558 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10559 # resulting binary.
10560 hardcode_direct=$hardcode_direct
10562 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10563 # resulting binary.
10564 hardcode_minus_L=$hardcode_minus_L
10566 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10567 # the resulting binary.
10568 hardcode_shlibpath_var=$hardcode_shlibpath_var
10570 # Set to yes if building a shared library automatically hardcodes DIR into the library
10571 # and all subsequent libraries and executables linked against it.
10572 hardcode_automatic=$hardcode_automatic
10574 # Variables whose values should be saved in libtool wrapper scripts and
10575 # restored at relink time.
10576 variables_saved_for_relink="$variables_saved_for_relink"
10578 # Whether libtool must link a program against all its dependency libraries.
10579 link_all_deplibs=$link_all_deplibs
10581 # Compile-time system search path for libraries
10582 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10584 # Run-time system search path for libraries
10585 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10587 # Fix the shell variable \$srcfile for the compiler.
10588 fix_srcfile_path="$fix_srcfile_path"
10590 # Set to yes if exported symbols are required.
10591 always_export_symbols=$always_export_symbols
10593 # The commands to list exported symbols.
10594 export_symbols_cmds=$lt_export_symbols_cmds
10596 # The commands to extract the exported symbol list from a shared archive.
10597 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10599 # Symbols that should not be listed in the preloaded symbols.
10600 exclude_expsyms=$lt_exclude_expsyms
10602 # Symbols that must always be exported.
10603 include_expsyms=$lt_include_expsyms
10605 # ### END LIBTOOL CONFIG
10612 cat <<\EOF >> "$cfgfile"
10614 # AIX sometimes has problems with the GCC collect2 program. For some
10615 # reason, if we set the COLLECT_NAMES environment variable, the problems
10616 # vanish in a puff of smoke.
10617 if test "X${COLLECT_NAMES+set}" != Xset; then
10619 export COLLECT_NAMES
10625 # We use sed instead of cat because bash on DJGPP gets confused if
10626 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10627 # text mode, it properly converts lines to CR/LF. This bash problem
10628 # is reportedly fixed, but why not run on old versions too?
10629 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10631 mv -f "$cfgfile" "$ofile" || \
10632 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10636 # If there is no Makefile yet, we rely on a make rule to execute
10637 # `config.status
--recheck' to rerun these tests and create the
10638 # libtool script then.
10639 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10640 if test -f "$ltmain_in"; then
10641 test -f Makefile && make "$ltmain"
10647 ac_cpp='$CPP $CPPFLAGS'
10648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10649 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10655 # Check whether --with-tags was given.
10656 if test "${with_tags+set}" = set; then
10657 withval=$with_tags; tagnames="$withval"
10661 if test -f "$ltmain" && test -n "$tagnames"; then
10662 if test ! -f "${ofile}"; then
10663 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10664 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10667 if test -z "$LTCC"; then
10668 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10669 if test -z "$LTCC"; then
10670 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10671 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10673 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10674 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10677 if test -z "$LTCFLAGS"; then
10678 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10681 # Extract list of available tagged configurations in $ofile.
10682 # Note that this assumes the entire list is on one line.
10683 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10685 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10686 for tagname in $tagnames; do
10688 # Check whether tagname contains only valid characters
10689 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10691 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10692 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10693 { (exit 1); exit 1; }; }
10697 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10699 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10700 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10701 { (exit 1); exit 1; }; }
10704 # Update the list of available tags.
10705 if test -n "$tagname"; then
10706 echo appending configuration tag \"$tagname\" to $ofile
10710 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10711 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10712 (test "X$CXX" != "Xg++"))) ; then
10714 ac_cpp='$CXXCPP $CPPFLAGS'
10715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10722 archive_cmds_need_lc_CXX=no
10723 allow_undefined_flag_CXX=
10724 always_export_symbols_CXX=no
10725 archive_expsym_cmds_CXX=
10726 export_dynamic_flag_spec_CXX=
10727 hardcode_direct_CXX=no
10728 hardcode_libdir_flag_spec_CXX=
10729 hardcode_libdir_flag_spec_ld_CXX=
10730 hardcode_libdir_separator_CXX=
10731 hardcode_minus_L_CXX=no
10732 hardcode_shlibpath_var_CXX=unsupported
10733 hardcode_automatic_CXX=no
10735 module_expsym_cmds_CXX=
10736 link_all_deplibs_CXX=unknown
10737 old_archive_cmds_CXX=$old_archive_cmds
10738 no_undefined_flag_CXX=
10739 whole_archive_flag_spec_CXX=
10740 enable_shared_with_static_runtimes_CXX=no
10742 # Dependencies to place before and after the object being linked:
10743 predep_objects_CXX=
10744 postdep_objects_CXX=
10747 compiler_lib_search_path_CXX=
10749 # Source file extension for C++ test sources.
10752 # Object file extension for compiled C++ test sources.
10756 # Code to be used in simple compile tests
10757 lt_simple_compile_test_code="int some_variable = 0;\n"
10759 # Code to be used in simple link tests
10760 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10762 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10764 # If no C compiler was specified, use CC.
10767 # If no C compiler flags were specified, use CFLAGS.
10768 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10770 # Allow CC to be a program name with arguments.
10774 # save warnings/boilerplate of simple test code
10775 ac_outfile=conftest.$ac_objext
10776 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10777 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10778 _lt_compiler_boilerplate=`cat conftest.err
`
10781 ac_outfile=conftest.$ac_objext
10782 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10783 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10784 _lt_linker_boilerplate=`cat conftest.err
`
10788 # Allow CC to be a program name with arguments.
10793 lt_save_with_gnu_ld=$with_gnu_ld
10794 lt_save_path_LD=$lt_cv_path_LD
10795 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10796 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10798 $as_unset lt_cv_prog_gnu_ld
10800 if test -n "${lt_cv_path_LDCXX+set}"; then
10801 lt_cv_path_LD=$lt_cv_path_LDCXX
10803 $as_unset lt_cv_path_LD
10805 test -z "${LDCXX+set}" || LD=$LDCXX
10809 for cc_temp in $compiler""; do
10811 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10812 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10817 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10820 # We don't want -fno-exception wen compiling C++ code, so set the
10821 # no_builtin_flag separately
10822 if test "$GXX" = yes; then
10823 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10825 lt_prog_compiler_no_builtin_flag_CXX=
10828 if test "$GXX" = yes; then
10829 # Set up default GNU C++ configuration
10832 # Check whether --with-gnu-ld was given.
10833 if test "${with_gnu_ld+set}" = set; then
10834 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10840 if test "$GCC" = yes; then
10841 # Check if gcc -print-prog-name=ld gives a path.
10842 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10843 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10846 # gcc leaves a trailing carriage return which upsets mingw
10847 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10849 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10852 # Accept absolute paths.
10854 re_direlt='/[^/][^/]*/\.\./'
10855 # Canonicalize the pathname of ld
10856 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10857 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10858 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10860 test -z "$LD" && LD="$ac_prog"
10863 # If it fails, then pretend we aren't using GCC.
10867 # If it is relative, then search for the first ld in PATH.
10868 with_gnu_ld=unknown
10871 elif test "$with_gnu_ld" = yes; then
10872 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10873 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10875 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10876 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10878 if test "${lt_cv_path_LD+set}" = set; then
10879 echo $ECHO_N "(cached) $ECHO_C" >&6
10881 if test -z "$LD"; then
10882 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10883 for ac_dir in $PATH; do
10885 test -z "$ac_dir" && ac_dir=.
10886 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10887 lt_cv_path_LD="$ac_dir/$ac_prog"
10888 # Check to see if the program is GNU ld. I'd rather use --version,
10889 # but apparently some variants of GNU ld only accept -v.
10890 # Break only if it was the GNU/non-GNU ld that we prefer.
10891 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10892 *GNU* | *'with BFD'*)
10893 test "$with_gnu_ld" != no && break
10896 test "$with_gnu_ld" != yes && break
10903 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10907 LD="$lt_cv_path_LD"
10908 if test -n "$LD"; then
10909 { echo "$as_me:$LINENO: result: $LD" >&5
10910 echo "${ECHO_T}$LD" >&6; }
10912 { echo "$as_me:$LINENO: result: no" >&5
10913 echo "${ECHO_T}no" >&6; }
10915 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10916 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10917 { (exit 1); exit 1; }; }
10918 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10919 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10920 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10921 echo $ECHO_N "(cached) $ECHO_C" >&6
10923 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10924 case `$LD -v 2>&1 </dev
/null
` in
10925 *GNU* | *'with BFD'*)
10926 lt_cv_prog_gnu_ld=yes
10929 lt_cv_prog_gnu_ld=no
10933 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10934 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10935 with_gnu_ld=$lt_cv_prog_gnu_ld
10939 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10940 # archiving commands below assume that GNU ld is being used.
10941 if test "$with_gnu_ld" = yes; then
10942 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10943 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'
10945 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10946 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10948 # If archive_cmds runs LD, not CC, wlarc should be empty
10949 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10950 # investigate it a little bit more. (MM)
10953 # ancient GNU ld didn't support --whole-archive et. al.
10954 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10955 grep 'no-whole-archive' > /dev/null; then
10956 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10958 whole_archive_flag_spec_CXX=
10964 # A generic and very simple default shared library creation
10965 # command for GNU C++ for the case where it uses the native
10966 # linker, instead of GNU ld. If possible, this setting should
10967 # overridden to take advantage of the native linker features on
10968 # the platform it is being used on.
10969 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10972 # Commands to make compiler produce verbose output that lists
10973 # what "hidden" libraries, object files and flags are used when
10974 # linking a shared library.
10975 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10983 # PORTME: fill in a description of your system's C++ link characteristics
10984 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10985 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10989 # FIXME: insert proper C++ library support
10993 if test "$host_cpu" = ia64; then
10994 # On IA64, the linker does run time linking by default, so we don't
10995 # have to do anything special.
10996 aix_use_runtimelinking=no
10997 exp_sym_flag='-Bexport'
11000 aix_use_runtimelinking=no
11002 # Test if we are trying to use run time linking or normal
11003 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11004 # need to do runtime linking.
11005 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11006 for ld_flag in $LDFLAGS; do
11009 aix_use_runtimelinking=yes
11017 exp_sym_flag='-bexport'
11018 no_entry_flag='-bnoentry'
11021 # When large executables or shared objects are built, AIX ld can
11022 # have problems creating the table of contents. If linking a library
11023 # or program results in "error TOC overflow" add -mminimal-toc to
11024 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11025 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11027 archive_cmds_CXX=''
11028 hardcode_direct_CXX=yes
11029 hardcode_libdir_separator_CXX=':'
11030 link_all_deplibs_CXX=yes
11032 if test "$GXX" = yes; then
11033 case $host_os in aix4.[012]|aix4.[012].*)
11034 # We only want to do this on AIX 4.2 and lower, the check
11035 # below for broken collect2 doesn't work under 4.3+
11036 collect2name=`${CC} -print-prog-name=collect2
`
11037 if test -f "$collect2name" && \
11038 strings "$collect2name" | grep resolve_lib_name >/dev/null
11040 # We have reworked collect2
11041 hardcode_direct_CXX=yes
11043 # We have old collect2
11044 hardcode_direct_CXX=unsupported
11045 # It fails to find uninstalled libraries when the uninstalled
11046 # path is not listed in the libpath. Setting hardcode_minus_L
11047 # to unsupported forces relinking
11048 hardcode_minus_L_CXX=yes
11049 hardcode_libdir_flag_spec_CXX='-L$libdir'
11050 hardcode_libdir_separator_CXX=
11054 shared_flag='-shared'
11055 if test "$aix_use_runtimelinking" = yes; then
11056 shared_flag="$shared_flag "'${wl}-G'
11060 if test "$host_cpu" = ia64; then
11061 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11062 # chokes on -Wl,-G. The following line is correct:
11065 if test "$aix_use_runtimelinking" = yes; then
11066 shared_flag='${wl}-G'
11068 shared_flag='${wl}-bM:SRE'
11073 # It seems that -bexpall does not export symbols beginning with
11074 # underscore (_), so it is better to generate a list of symbols to export.
11075 always_export_symbols_CXX=yes
11076 if test "$aix_use_runtimelinking" = yes; then
11077 # Warning - without using the other runtime loading flags (-brtl),
11078 # -berok will link without error, but may produce a broken library.
11079 allow_undefined_flag_CXX='-berok'
11080 # Determine the default libpath from the value encoded in an empty executable.
11081 cat >conftest.$ac_ext <<_ACEOF
11084 cat confdefs.h >>conftest.$ac_ext
11085 cat >>conftest.$ac_ext <<_ACEOF
11086 /* end confdefs.h. */
11096 rm -f conftest.$ac_objext conftest$ac_exeext
11097 if { (ac_try="$ac_link"
11098 case "(($ac_try" in
11099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11100 *) ac_try_echo
=$ac_try;;
11102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11103 (eval "$ac_link") 2>conftest.er1
11105 grep -v '^ *+' conftest.er1
>conftest.err
11107 cat conftest.err
>&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); } && {
11110 test -z "$ac_cxx_werror_flag" ||
11111 test ! -s conftest.err
11112 } && test -s conftest
$ac_exeext &&
11113 $as_test_x conftest
$ac_exeext; then
11115 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11117 # Check for a 64-bit object if we didn't find anything.
11118 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; }
11121 echo "$as_me: failed program was:" >&5
11122 sed 's/^/| /' conftest.
$ac_ext >&5
11127 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11128 conftest
$ac_exeext conftest.
$ac_ext
11129 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11131 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11133 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"
11135 if test "$host_cpu" = ia64
; then
11136 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11137 allow_undefined_flag_CXX
="-z nodefs"
11138 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"
11140 # Determine the default libpath from the value encoded in an empty executable.
11141 cat >conftest.
$ac_ext <<_ACEOF
11144 cat confdefs.h
>>conftest.
$ac_ext
11145 cat >>conftest.
$ac_ext <<_ACEOF
11146 /* end confdefs.h. */
11156 rm -f conftest.
$ac_objext conftest
$ac_exeext
11157 if { (ac_try
="$ac_link"
11158 case "(($ac_try" in
11159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11160 *) ac_try_echo=$ac_try;;
11162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11163 (eval "$ac_link") 2>conftest.er1
11165 grep -v '^ *+' conftest.er1 >conftest.err
11167 cat conftest.err >&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); } && {
11170 test -z "$ac_cxx_werror_flag" ||
11171 test ! -s conftest.err
11172 } && test -s conftest$ac_exeext &&
11173 $as_test_x conftest$ac_exeext; then
11175 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11177 # Check for a 64-bit object if we didn't find anything.
11178 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; }
11181 echo "$as_me: failed program was:" >&5
11182 sed 's/^/| /' conftest.$ac_ext >&5
11187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11188 conftest$ac_exeext conftest.$ac_ext
11189 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11191 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11192 # Warning - without using the other run time loading flags,
11193 # -berok will link without error, but may produce a broken library.
11194 no_undefined_flag_CXX=' ${wl}-bernotok'
11195 allow_undefined_flag_CXX=' ${wl}-berok'
11196 # Exported symbols can be pulled into shared objects from archives
11197 whole_archive_flag_spec_CXX='$convenience'
11198 archive_cmds_need_lc_CXX=yes
11199 # This is similar to how AIX traditionally builds its shared libraries.
11200 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'
11206 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11207 allow_undefined_flag_CXX=unsupported
11208 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11209 # support --undefined. This deserves some investigation. FIXME
11210 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11217 case $cc_basename in
11219 # FIXME: insert proper C++ library support
11225 cygwin* | mingw* | pw32*)
11226 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11227 # as there is no search path for DLLs.
11228 hardcode_libdir_flag_spec_CXX='-L$libdir'
11229 allow_undefined_flag_CXX=unsupported
11230 always_export_symbols_CXX=no
11231 enable_shared_with_static_runtimes_CXX=yes
11233 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11234 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'
11235 # If the export-symbols file already is a .def file (1st line
11236 # is EXPORTS), use it as is; otherwise, prepend...
11237 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11238 cp $export_symbols $output_objdir/$soname.def;
11240 echo EXPORTS > $output_objdir/$soname.def;
11241 cat $export_symbols >> $output_objdir/$soname.def;
11243 $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'
11248 darwin* | rhapsody*)
11250 rhapsody* | darwin1.[012])
11251 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11254 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11255 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11257 case ${MACOSX_DEPLOYMENT_TARGET} in
11259 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11262 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11268 archive_cmds_need_lc_CXX=no
11269 hardcode_direct_CXX=no
11270 hardcode_automatic_CXX=yes
11271 hardcode_shlibpath_var_CXX=unsupported
11272 whole_archive_flag_spec_CXX=''
11273 link_all_deplibs_CXX=yes
11275 if test "$GXX" = yes ; then
11276 lt_int_apple_cc_single_mod=no
11277 output_verbose_link_cmd='echo'
11278 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11279 lt_int_apple_cc_single_mod=yes
11281 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11282 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11284 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'
11286 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11287 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11288 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11289 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}'
11291 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}'
11293 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}'
11295 case $cc_basename in
11297 output_verbose_link_cmd='echo'
11298 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'
11299 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11300 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11301 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}'
11302 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}'
11312 case $cc_basename in
11314 # FIXME: insert proper C++ library support
11318 # Green Hills C++ Compiler
11319 # FIXME: insert proper C++ library support
11323 # FIXME: insert proper C++ library support
11329 # C++ shared libraries reported to be fairly broken before switch to ELF
11333 archive_cmds_need_lc_CXX=no
11335 freebsd* | kfreebsd*-gnu | dragonfly*)
11336 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11343 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11344 hardcode_libdir_separator_CXX=:
11345 export_dynamic_flag_spec_CXX='${wl}-E'
11346 hardcode_direct_CXX=yes
11347 hardcode_minus_L_CXX=yes # Not in the search PATH,
11348 # but as the default
11349 # location of the library.
11351 case $cc_basename in
11353 # FIXME: insert proper C++ library support
11357 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'
11358 # Commands to make compiler produce verbose output that lists
11359 # what "hidden" libraries, object files and flags are used when
11360 # linking a shared library.
11362 # There doesn't appear to be a way to prevent this compiler from
11363 # explicitly linking system object files so we need to strip them
11364 # from the output so that they don't get included in the library
11366 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'
11369 if test "$GXX" = yes; then
11370 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'
11372 # FIXME: insert proper C++ library support
11379 if test $with_gnu_ld = no; then
11380 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11381 hardcode_libdir_separator_CXX=:
11385 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11388 export_dynamic_flag_spec_CXX='${wl}-E'
11394 hardcode_direct_CXX=no
11395 hardcode_shlibpath_var_CXX=no
11398 hardcode_direct_CXX=yes
11399 hardcode_minus_L_CXX=yes # Not in the search PATH,
11400 # but as the default
11401 # location of the library.
11405 case $cc_basename in
11407 # FIXME: insert proper C++ library support
11413 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11416 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11419 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11422 # Commands to make compiler produce verbose output that lists
11423 # what "hidden" libraries, object files and flags are used when
11424 # linking a shared library.
11426 # There doesn't appear to be a way to prevent this compiler from
11427 # explicitly linking system object files so we need to strip them
11428 # from the output so that they don't get included in the library
11430 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'
11433 if test "$GXX" = yes; then
11434 if test $with_gnu_ld = no; then
11437 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11440 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11443 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'
11448 # FIXME: insert proper C++ library support
11455 hardcode_direct_CXX=no
11456 hardcode_shlibpath_var_CXX=no
11457 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11458 export_dynamic_flag_spec_CXX='${wl}-E'
11459 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11460 # Instead, shared libraries are loaded at an image base (0x10000000 by
11461 # default) and relocated if they conflict, which is a slow very memory
11462 # consuming and fragmenting process. To avoid this, we pick a random,
11463 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11464 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11465 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'
11466 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'
11469 case $cc_basename in
11472 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'
11474 # Archives containing C++ object files must be created using
11475 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11476 # necessary to make sure instantiated templates are included
11478 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11481 if test "$GXX" = yes; then
11482 if test "$with_gnu_ld" = no; then
11483 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'
11485 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'
11488 link_all_deplibs_CXX=yes
11491 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11492 hardcode_libdir_separator_CXX=:
11495 case $cc_basename in
11497 # Kuck and Associates, Inc. (KAI) C++ Compiler
11499 # KCC will only create a shared library if the output file
11500 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11501 # to its proper name (with version) after linking.
11502 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'
11503 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'
11504 # Commands to make compiler produce verbose output that lists
11505 # what "hidden" libraries, object files and flags are used when
11506 # linking a shared library.
11508 # There doesn't appear to be a way to prevent this compiler from
11509 # explicitly linking system object files so we need to strip them
11510 # from the output so that they don't get included in the library
11512 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'
11514 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11515 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11517 # Archives containing C++ object files must be created using
11518 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11519 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11524 # version 8.0 and above of icpc choke on multiply defined symbols
11525 # if we add $predep_objects and $postdep_objects, however 7.1 and
11526 # earlier do not add the objects themselves.
11527 case `$CC -V 2>&1` in
11529 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11530 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'
11532 *) # Version 8.0 or newer
11535 ia64
*) tmp_idyn
=' -i_dynamic';;
11537 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11538 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'
11541 archive_cmds_need_lc_CXX
=no
11542 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11543 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11544 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11547 # Portland Group C++ compiler
11548 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11549 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'
11551 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11552 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11553 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'
11557 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11558 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'
11560 runpath_var
=LD_RUN_PATH
11561 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11562 hardcode_libdir_separator_CXX
=:
11564 # Commands to make compiler produce verbose output that lists
11565 # what "hidden" libraries, object files and flags are used when
11566 # linking a shared library.
11568 # There doesn't appear to be a way to prevent this compiler from
11569 # explicitly linking system object files so we need to strip them
11570 # from the output so that they don't get included in the library
11572 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'
11577 # FIXME: insert proper C++ library support
11581 # FIXME: insert proper C++ library support
11585 case $cc_basename in
11587 # FIXME: insert proper C++ library support
11591 # FIXME: insert proper C++ library support
11597 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11598 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11600 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11601 hardcode_direct_CXX
=yes
11602 hardcode_shlibpath_var_CXX
=no
11604 # Workaround some broken pre-1.5 toolchains
11605 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11608 # C++ shared libraries are fairly broken
11612 hardcode_direct_CXX
=yes
11613 hardcode_shlibpath_var_CXX
=no
11614 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11615 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11616 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11617 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11618 export_dynamic_flag_spec_CXX
='${wl}-E'
11619 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11621 output_verbose_link_cmd
='echo'
11624 case $cc_basename in
11626 # Kuck and Associates, Inc. (KAI) C++ Compiler
11628 # KCC will only create a shared library if the output file
11629 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11630 # to its proper name (with version) after linking.
11631 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'
11633 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11634 hardcode_libdir_separator_CXX
=:
11636 # Archives containing C++ object files must be created using
11637 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11638 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11642 # Rational C++ 2.4.1
11643 # FIXME: insert proper C++ library support
11647 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11648 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'
11650 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11651 hardcode_libdir_separator_CXX
=:
11653 # Commands to make compiler produce verbose output that lists
11654 # what "hidden" libraries, object files and flags are used when
11655 # linking a shared library.
11657 # There doesn't appear to be a way to prevent this compiler from
11658 # explicitly linking system object files so we need to strip them
11659 # from the output so that they don't get included in the library
11661 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'
11664 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11665 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11666 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'
11668 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11669 hardcode_libdir_separator_CXX
=:
11671 # Commands to make compiler produce verbose output that lists
11672 # what "hidden" libraries, object files and flags are used when
11673 # linking a shared library.
11674 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11677 # FIXME: insert proper C++ library support
11684 case $cc_basename in
11686 # Kuck and Associates, Inc. (KAI) C++ Compiler
11688 # KCC will only create a shared library if the output file
11689 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11690 # to its proper name (with version) after linking.
11691 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'
11693 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11694 hardcode_libdir_separator_CXX
=:
11696 # Archives containing C++ object files must be created using
11697 # the KAI C++ compiler.
11698 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11701 # Rational C++ 2.4.1
11702 # FIXME: insert proper C++ library support
11706 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11707 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'
11708 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11709 echo "-hidden">> $lib.exp~
11710 $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~
11713 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11714 hardcode_libdir_separator_CXX
=:
11716 # Commands to make compiler produce verbose output that lists
11717 # what "hidden" libraries, object files and flags are used when
11718 # linking a shared library.
11720 # There doesn't appear to be a way to prevent this compiler from
11721 # explicitly linking system object files so we need to strip them
11722 # from the output so that they don't get included in the library
11724 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'
11727 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11728 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11729 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'
11731 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11732 hardcode_libdir_separator_CXX
=:
11734 # Commands to make compiler produce verbose output that lists
11735 # what "hidden" libraries, object files and flags are used when
11736 # linking a shared library.
11737 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11740 # FIXME: insert proper C++ library support
11747 # FIXME: insert proper C++ library support
11751 case $cc_basename in
11754 # FIXME: insert proper C++ library support
11759 # FIXME: insert proper C++ library support
11763 # FIXME: insert proper C++ library support
11769 case $cc_basename in
11771 # Sun C++ 4.2, 5.x and Centerline C++
11772 archive_cmds_need_lc_CXX
=yes
11773 no_undefined_flag_CXX
=' -zdefs'
11774 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11775 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11776 $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'
11778 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11779 hardcode_shlibpath_var_CXX
=no
11781 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11783 # The C++ compiler is used as linker so we must use $wl
11784 # flag to pass the commands to the underlying system
11785 # linker. We must also pass each convience library through
11786 # to the system linker between allextract/defaultextract.
11787 # The C++ compiler will combine linker options so we
11788 # cannot just pass the convience library names through
11790 # Supported since Solaris 2.6 (maybe 2.5.1?)
11791 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'
11794 link_all_deplibs_CXX
=yes
11796 output_verbose_link_cmd
='echo'
11798 # Archives containing C++ object files must be created using
11799 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11800 # necessary to make sure instantiated templates are included
11802 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11805 # Green Hills C++ Compiler
11806 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11808 # The C++ compiler must be used to create the archive.
11809 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11812 # GNU C++ compiler with Solaris linker
11813 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11814 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11815 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11816 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11817 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11818 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11820 # Commands to make compiler produce verbose output that lists
11821 # what "hidden" libraries, object files and flags are used when
11822 # linking a shared library.
11823 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11825 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11827 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11828 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11829 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11831 # Commands to make compiler produce verbose output that lists
11832 # what "hidden" libraries, object files and flags are used when
11833 # linking a shared library.
11834 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11837 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11842 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11843 no_undefined_flag_CXX
='${wl}-z,text'
11844 archive_cmds_need_lc_CXX
=no
11845 hardcode_shlibpath_var_CXX
=no
11846 runpath_var
='LD_RUN_PATH'
11848 case $cc_basename in
11850 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11851 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11854 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11855 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11859 sysv5
* | sco3.2v5
* | sco5v6
*)
11860 # Note: We can NOT use -z defs as we might desire, because we do not
11861 # link with -lc, and that would cause any symbols used from libc to
11862 # always be unresolved, which means just about no library would
11863 # ever link correctly. If we're not using GNU ld we use -z text
11864 # though, which does catch some bad symbols but isn't as heavy-handed
11866 # For security reasons, it is highly recommended that you always
11867 # use absolute paths for naming shared libraries, and exclude the
11868 # DT_RUNPATH tag from executables and libraries. But doing so
11869 # requires that you compile everything twice, which is a pain.
11870 # So that behaviour is only enabled if SCOABSPATH is set to a
11871 # non-empty value in the environment. Most likely only useful for
11872 # creating official distributions of packages.
11873 # This is a hack until libtool officially supports absolute path
11874 # names for shared libraries.
11875 no_undefined_flag_CXX
='${wl}-z,text'
11876 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11877 archive_cmds_need_lc_CXX
=no
11878 hardcode_shlibpath_var_CXX
=no
11879 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11880 hardcode_libdir_separator_CXX
=':'
11881 link_all_deplibs_CXX
=yes
11882 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11883 runpath_var
='LD_RUN_PATH'
11885 case $cc_basename in
11887 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11888 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11891 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11892 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11897 case $cc_basename in
11899 # NonStop-UX NCC 3.20
11900 # FIXME: insert proper C++ library support
11904 # FIXME: insert proper C++ library support
11910 # FIXME: insert proper C++ library support
11914 # FIXME: insert proper C++ library support
11918 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11919 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11920 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11926 cat > conftest.
$ac_ext <<EOF
11930 Foo (void) { a = 0; }
11936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11937 (eval $ac_compile) 2>&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); }; then
11941 # Parse the compiler output and extract the necessary
11942 # objects, libraries and library flags.
11944 # Sentinel used to keep track of whether or not we are before
11945 # the conftest object file.
11946 pre_test_object_deps_done
=no
11948 # The `*' in the case matches for architectures that use `case' in
11949 # $output_verbose_cmd can trigger glob expansion during the loop
11950 # eval without this substitution.
11951 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11953 for p
in `eval $output_verbose_link_cmd`; do
11957 # Some compilers place space between "-{L,R}" and the path.
11958 # Remove the space.
11959 if test $p = "-L" \
11960 ||
test $p = "-R"; then
11967 if test "$pre_test_object_deps_done" = no
; then
11970 # Internal compiler library paths should come after those
11971 # provided the user. The postdeps already come after the
11972 # user supplied libs so there is no need to process them.
11973 if test -z "$compiler_lib_search_path_CXX"; then
11974 compiler_lib_search_path_CXX
="${prev}${p}"
11976 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11979 # The "-l" case would never come before the object being
11980 # linked, so don't bother handling this case.
11983 if test -z "$postdeps_CXX"; then
11984 postdeps_CXX
="${prev}${p}"
11986 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11992 # This assumes that the test object file only shows up
11993 # once in the compiler output.
11994 if test "$p" = "conftest.$objext"; then
11995 pre_test_object_deps_done
=yes
11999 if test "$pre_test_object_deps_done" = no
; then
12000 if test -z "$predep_objects_CXX"; then
12001 predep_objects_CXX
="$p"
12003 predep_objects_CXX
="$predep_objects_CXX $p"
12006 if test -z "$postdep_objects_CXX"; then
12007 postdep_objects_CXX
="$p"
12009 postdep_objects_CXX
="$postdep_objects_CXX $p"
12014 *) ;; # Ignore the rest.
12022 echo "libtool.m4: error: problem compiling CXX test program"
12025 $rm -f confest.
$objext
12027 # PORTME: override above test on systems where it is broken
12030 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12031 # hack all around it, let's just trust "g++" to DTRT.
12032 predep_objects_CXX
=
12033 postdep_objects_CXX
=
12038 case $cc_basename in
12040 # Adding this requires a known-good setup of shared libraries for
12041 # Sun compiler versions before 5.6, else PIC objects from an old
12042 # archive will be linked into the output, leading to subtle bugs.
12043 postdeps_CXX
='-lCstd -lCrun'
12050 case " $postdeps_CXX " in
12051 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12054 lt_prog_compiler_wl_CXX
=
12055 lt_prog_compiler_pic_CXX
=
12056 lt_prog_compiler_static_CXX
=
12058 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12059 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12061 # C++ specific cases for pic, static, wl, etc.
12062 if test "$GXX" = yes; then
12063 lt_prog_compiler_wl_CXX
='-Wl,'
12064 lt_prog_compiler_static_CXX
='-static'
12068 # All AIX code is PIC.
12069 if test "$host_cpu" = ia64
; then
12070 # AIX 5 now supports IA64 processor
12071 lt_prog_compiler_static_CXX
='-Bstatic'
12075 # FIXME: we need at least 68020 code to build shared libraries, but
12076 # adding the `-m68020' flag to GCC prevents building anything better,
12078 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12080 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12081 # PIC is the default for these OSes.
12083 mingw
* | os2
* | pw32
*)
12084 # This hack is so that the source file can tell whether it is being
12085 # built for inclusion in a dll (and should export symbols for example).
12086 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12088 darwin
* | rhapsody
*)
12089 # PIC is the default on this platform
12090 # Common symbols not allowed in MH_DYLIB files
12091 lt_prog_compiler_pic_CXX
='-fno-common'
12094 # DJGPP does not support shared libraries at all
12095 lt_prog_compiler_pic_CXX
=
12098 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12099 # Instead, we relocate shared libraries at runtime.
12102 if test -d /usr
/nec
; then
12103 lt_prog_compiler_pic_CXX
=-Kconform_pic
12107 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12108 # not for PA HP-UX.
12113 lt_prog_compiler_pic_CXX
='-fPIC'
12118 lt_prog_compiler_pic_CXX
='-fPIC'
12124 # All AIX code is PIC.
12125 if test "$host_cpu" = ia64
; then
12126 # AIX 5 now supports IA64 processor
12127 lt_prog_compiler_static_CXX
='-Bstatic'
12129 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12133 case $cc_basename in
12135 # Green Hills C++ Compiler
12136 # _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"
12141 # PIC is the default on this platform
12142 # Common symbols not allowed in MH_DYLIB files
12143 case $cc_basename in
12145 lt_prog_compiler_pic_CXX
='-qnocommon'
12146 lt_prog_compiler_wl_CXX
='-Wl,'
12151 case $cc_basename in
12153 lt_prog_compiler_pic_CXX
='-KPIC'
12156 # Green Hills C++ Compiler
12157 lt_prog_compiler_pic_CXX
='-pic'
12163 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12164 # FreeBSD uses GNU C++
12166 hpux9
* | hpux10
* | hpux11
*)
12167 case $cc_basename in
12169 lt_prog_compiler_wl_CXX
='-Wl,'
12170 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12171 if test "$host_cpu" != ia64
; then
12172 lt_prog_compiler_pic_CXX
='+Z'
12176 lt_prog_compiler_wl_CXX
='-Wl,'
12177 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12183 lt_prog_compiler_pic_CXX
='+Z'
12192 # This is c89, which is MS Visual C++ (no shared libs)
12193 # Anyone wants to do a port?
12195 irix5
* | irix6
* | nonstopux
*)
12196 case $cc_basename in
12198 lt_prog_compiler_wl_CXX
='-Wl,'
12199 lt_prog_compiler_static_CXX
='-non_shared'
12200 # CC pic flag -KPIC is the default.
12207 case $cc_basename in
12210 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12211 lt_prog_compiler_pic_CXX
='-fPIC'
12215 lt_prog_compiler_wl_CXX
='-Wl,'
12216 lt_prog_compiler_pic_CXX
='-KPIC'
12217 lt_prog_compiler_static_CXX
='-static'
12220 # Portland Group C++ compiler.
12221 lt_prog_compiler_wl_CXX
='-Wl,'
12222 lt_prog_compiler_pic_CXX
='-fpic'
12223 lt_prog_compiler_static_CXX
='-Bstatic'
12227 # Make sure the PIC flag is empty. It appears that all Alpha
12228 # Linux and Compaq Tru64 Unix objects are PIC.
12229 lt_prog_compiler_pic_CXX
=
12230 lt_prog_compiler_static_CXX
='-non_shared'
12241 case $cc_basename in
12243 lt_prog_compiler_pic_CXX
='-W c,exportall'
12251 osf3
* | osf4
* | osf5
*)
12252 case $cc_basename in
12254 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12257 # Rational C++ 2.4.1
12258 lt_prog_compiler_pic_CXX
='-pic'
12261 # Digital/Compaq C++
12262 lt_prog_compiler_wl_CXX
='-Wl,'
12263 # Make sure the PIC flag is empty. It appears that all Alpha
12264 # Linux and Compaq Tru64 Unix objects are PIC.
12265 lt_prog_compiler_pic_CXX
=
12266 lt_prog_compiler_static_CXX
='-non_shared'
12275 case $cc_basename in
12277 # Sun C++ 4.2, 5.x and Centerline C++
12278 lt_prog_compiler_pic_CXX
='-KPIC'
12279 lt_prog_compiler_static_CXX
='-Bstatic'
12280 lt_prog_compiler_wl_CXX
='-Qoption ld '
12283 # Green Hills C++ Compiler
12284 lt_prog_compiler_pic_CXX
='-PIC'
12291 case $cc_basename in
12294 lt_prog_compiler_pic_CXX
='-pic'
12295 lt_prog_compiler_static_CXX
='-Bstatic'
12299 lt_prog_compiler_pic_CXX
='-pic'
12306 case $cc_basename in
12308 # NonStop-UX NCC 3.20
12309 lt_prog_compiler_pic_CXX
='-KPIC'
12315 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12316 case $cc_basename in
12318 lt_prog_compiler_wl_CXX
='-Wl,'
12319 lt_prog_compiler_pic_CXX
='-KPIC'
12320 lt_prog_compiler_static_CXX
='-Bstatic'
12327 lt_prog_compiler_can_build_shared_CXX
=no
12332 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12333 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12336 # Check to make sure the PIC flag actually works.
12338 if test -n "$lt_prog_compiler_pic_CXX"; then
12340 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12341 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12342 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12343 echo $ECHO_N "(cached) $ECHO_C" >&6
12345 lt_prog_compiler_pic_works_CXX
=no
12346 ac_outfile
=conftest.
$ac_objext
12347 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12348 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12349 # Insert the option either (1) after the last *FLAGS variable, or
12350 # (2) before a word containing "conftest.", or (3) at the end.
12351 # Note that $ac_compile itself does not contain backslashes and begins
12352 # with a dollar sign (not a hyphen), so the echo should work correctly.
12353 # The option is referenced via a variable to avoid confusing sed.
12354 lt_compile
=`echo "$ac_compile" | $SED \
12355 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12356 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12357 -e 's:$: $lt_compiler_flag:'`
12358 (eval echo "\"\$as_me:12358: $lt_compile\"" >&5)
12359 (eval "$lt_compile" 2>conftest.err
)
12361 cat conftest.err
>&5
12362 echo "$as_me:12362: \$? = $ac_status" >&5
12363 if (exit $ac_status) && test -s "$ac_outfile"; then
12364 # The compiler can only warn and ignore the option if not recognized
12365 # So say no if there are warnings other than the usual output.
12366 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12367 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12368 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12369 lt_prog_compiler_pic_works_CXX
=yes
12375 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12376 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12378 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12379 case $lt_prog_compiler_pic_CXX in
12381 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12384 lt_prog_compiler_pic_CXX
=
12385 lt_prog_compiler_can_build_shared_CXX
=no
12390 # For platforms which do not support PIC, -DPIC is meaningless:
12392 lt_prog_compiler_pic_CXX
=
12395 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12400 # Check to make sure the static flag actually works.
12402 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12403 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12404 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12405 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12406 echo $ECHO_N "(cached) $ECHO_C" >&6
12408 lt_prog_compiler_static_works_CXX
=no
12409 save_LDFLAGS
="$LDFLAGS"
12410 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12411 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12412 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12413 # The linker can only warn and ignore the option if not recognized
12414 # So say no if there are warnings
12415 if test -s conftest.err
; then
12416 # Append any errors to the config.log.
12417 cat conftest.err
1>&5
12418 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12419 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12420 if diff conftest.exp conftest.er2
>/dev
/null
; then
12421 lt_prog_compiler_static_works_CXX
=yes
12424 lt_prog_compiler_static_works_CXX
=yes
12428 LDFLAGS
="$save_LDFLAGS"
12431 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12432 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12434 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12437 lt_prog_compiler_static_CXX
=
12441 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12442 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12443 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12444 echo $ECHO_N "(cached) $ECHO_C" >&6
12446 lt_cv_prog_compiler_c_o_CXX
=no
12447 $rm -r conftest
2>/dev
/null
12451 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12453 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12454 # Insert the option either (1) after the last *FLAGS variable, or
12455 # (2) before a word containing "conftest.", or (3) at the end.
12456 # Note that $ac_compile itself does not contain backslashes and begins
12457 # with a dollar sign (not a hyphen), so the echo should work correctly.
12458 lt_compile
=`echo "$ac_compile" | $SED \
12459 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12460 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12461 -e 's:$: $lt_compiler_flag:'`
12462 (eval echo "\"\$as_me:12462: $lt_compile\"" >&5)
12463 (eval "$lt_compile" 2>out
/conftest.err
)
12465 cat out
/conftest.err
>&5
12466 echo "$as_me:12466: \$? = $ac_status" >&5
12467 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12469 # The compiler can only warn and ignore the option if not recognized
12470 # So say no if there are warnings
12471 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12472 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12473 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12474 lt_cv_prog_compiler_c_o_CXX
=yes
12479 # SGI C++ compiler will create directory out/ii_files/ for
12480 # template instantiation
12481 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12482 $rm out
/* && rmdir out
12488 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12489 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12492 hard_links
="nottested"
12493 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12494 # do not overwrite the value of need_locks provided by the user
12495 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12496 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12499 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12501 ln conftest.a conftest.b
2>&5 || hard_links
=no
12502 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12503 { echo "$as_me:$LINENO: result: $hard_links" >&5
12504 echo "${ECHO_T}$hard_links" >&6; }
12505 if test "$hard_links" = no
; then
12506 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12507 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12514 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12515 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12517 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12520 # If we're using GNU nm, then we don't want the "-C" option.
12521 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12522 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12523 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'
12525 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'
12529 export_symbols_cmds_CXX
="$ltdll_cmds"
12532 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'
12535 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12539 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12540 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12541 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12544 # Do we need to explicitly link libc?
12546 case "x$archive_cmds_need_lc_CXX" in
12548 # Assume -lc should be added
12549 archive_cmds_need_lc_CXX
=yes
12551 if test "$enable_shared" = yes && test "$GCC" = yes; then
12552 case $archive_cmds_CXX in
12554 # FIXME: we may have to deal with multi-command sequences.
12557 # Test whether the compiler implicitly links with -lc since on some
12558 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12559 # to ld, don't add -lc before -lgcc.
12560 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12561 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12563 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12566 (eval $ac_compile) 2>&5
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569 (exit $ac_status); } 2>conftest.err
; then
12572 libobjs
=conftest.
$ac_objext
12574 wl
=$lt_prog_compiler_wl_CXX
12575 pic_flag
=$lt_prog_compiler_pic_CXX
12581 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12582 allow_undefined_flag_CXX
=
12583 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12584 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); }
12589 archive_cmds_need_lc_CXX
=no
12591 archive_cmds_need_lc_CXX
=yes
12593 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12595 cat conftest.err
1>&5
12598 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12599 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12606 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12607 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12608 library_names_spec
=
12609 libname_spec
='lib$name'
12613 postuninstall_cmds
=
12617 shlibpath_overrides_runpath
=unknown
12619 dynamic_linker
="$host_os ld.so"
12620 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12621 if test "$GCC" = yes; then
12622 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12623 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12624 # if the path contains ";" then we assume it to be the separator
12625 # otherwise default to the standard path separator (i.e. ":") - it is
12626 # assumed that no part of a normal pathname contains ";" but that should
12627 # okay in the real world where ";" in dirpaths is itself problematic.
12628 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12630 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12633 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12635 need_lib_prefix
=unknown
12636 hardcode_into_libs
=no
12638 # when you set need_version to no, make sure it does not cause -set_version
12639 # flags to be left without arguments
12640 need_version
=unknown
12645 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12646 shlibpath_var
=LIBPATH
12648 # AIX 3 has no versioning support, so we append a major version to the name.
12649 soname_spec
='${libname}${release}${shared_ext}$major'
12656 hardcode_into_libs
=yes
12657 if test "$host_cpu" = ia64
; then
12658 # AIX 5 supports IA64
12659 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12660 shlibpath_var
=LD_LIBRARY_PATH
12662 # With GCC up to 2.95.x, collect2 would create an import file
12663 # for dependence libraries. The import file would start with
12664 # the line `#! .'. This would cause the generated library to
12665 # depend on `.', always an invalid library. This was fixed in
12666 # development snapshots of GCC prior to 3.0.
12668 aix4 | aix4.
[01] | aix4.
[01].
*)
12669 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12671 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12674 can_build_shared
=no
12678 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12679 # soname into executable. Probably we can add versioning support to
12680 # collect2, so additional links can be useful in future.
12681 if test "$aix_use_runtimelinking" = yes; then
12682 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12683 # instead of lib<name>.a to let people know that these are not
12684 # typical AIX shared libraries.
12685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12687 # We preserve .a as extension for shared libraries through AIX4.2
12688 # and later when we are not doing run time linking.
12689 library_names_spec
='${libname}${release}.a $libname.a'
12690 soname_spec
='${libname}${release}${shared_ext}$major'
12692 shlibpath_var
=LIBPATH
12697 library_names_spec
='$libname.ixlibrary $libname.a'
12698 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12699 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'
12703 library_names_spec
='${libname}${shared_ext}'
12704 dynamic_linker
="$host_os ld.so"
12705 shlibpath_var
=LIBRARY_PATH
12711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12712 soname_spec
='${libname}${release}${shared_ext}$major'
12713 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12714 shlibpath_var
=LD_LIBRARY_PATH
12715 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12716 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12717 # the default ld.so.conf also contains /usr/contrib/lib and
12718 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12719 # libtool to hard-code these into programs
12722 cygwin
* | mingw
* | pw32
*)
12723 version_type
=windows
12728 case $GCC,$host_os in
12729 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12730 library_names_spec
='$libname.dll.a'
12731 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12732 postinstall_cmds
='base_file=`basename \${file}`~
12733 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12734 dldir=$destdir/`dirname \$dlpath`~
12735 test -d \$dldir || mkdir -p \$dldir~
12736 $install_prog $dir/$dlname \$dldir/$dlname~
12737 chmod a+x \$dldir/$dlname'
12738 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12739 dlpath=$dir/\$dldll~
12741 shlibpath_overrides_runpath
=yes
12745 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12746 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12747 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12750 # MinGW DLLs use traditional 'lib' prefix
12751 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12752 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12753 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12754 # It is most probably a Windows format PATH printed by
12755 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12756 # path with ; separators, and with drive letters. We can handle the
12757 # drive letters (cygwin fileutils understands them), so leave them,
12758 # especially as we might pass files found there to a mingw objdump,
12759 # which wouldn't understand a cygwinified path. Ahh.
12760 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12762 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12766 # pw32 DLLs use 'pw' prefix rather than 'lib'
12767 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12773 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12776 dynamic_linker
='Win32 ld.exe'
12777 # FIXME: first we should search . and the directory the executable is in
12781 darwin
* | rhapsody
*)
12782 dynamic_linker
="$host_os dyld"
12783 version_type
=darwin
12786 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12787 soname_spec
='${libname}${release}${major}$shared_ext'
12788 shlibpath_overrides_runpath
=yes
12789 shlibpath_var
=DYLD_LIBRARY_PATH
12790 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12791 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12792 if test "$GCC" = yes; then
12793 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"`
12795 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12797 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12805 soname_spec
='${libname}${release}${shared_ext}$major'
12806 shlibpath_var
=LD_LIBRARY_PATH
12817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12818 soname_spec
='${libname}${release}${shared_ext}$major'
12819 shlibpath_var
=LD_LIBRARY_PATH
12820 shlibpath_overrides_runpath
=no
12821 hardcode_into_libs
=yes
12822 dynamic_linker
='GNU ld.so'
12825 freebsd
* | dragonfly
*)
12826 # DragonFly does not have aout. When/if they implement a new
12827 # versioning mechanism, adjust this.
12828 if test -x /usr
/bin
/objformat
; then
12829 objformat
=`/usr/bin/objformat`
12832 freebsd
[123]*) objformat
=aout
;;
12833 *) objformat
=elf
;;
12836 version_type
=freebsd-
$objformat
12837 case $version_type in
12839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12844 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12848 shlibpath_var
=LD_LIBRARY_PATH
12851 shlibpath_overrides_runpath
=yes
12853 freebsd3.
[01]* | freebsdelf3.
[01]*)
12854 shlibpath_overrides_runpath
=yes
12855 hardcode_into_libs
=yes
12857 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12858 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12859 shlibpath_overrides_runpath
=no
12860 hardcode_into_libs
=yes
12862 freebsd
*) # from 4.6 on
12863 shlibpath_overrides_runpath
=yes
12864 hardcode_into_libs
=yes
12873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12874 soname_spec
='${libname}${release}${shared_ext}$major'
12875 shlibpath_var
=LD_LIBRARY_PATH
12876 hardcode_into_libs
=yes
12879 hpux9
* | hpux10
* | hpux11
*)
12880 # Give a soname corresponding to the major version so that dld.sl refuses to
12881 # link against other versions.
12888 hardcode_into_libs
=yes
12889 dynamic_linker
="$host_os dld.so"
12890 shlibpath_var
=LD_LIBRARY_PATH
12891 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12893 soname_spec
='${libname}${release}${shared_ext}$major'
12894 if test "X$HPUX_IA64_MODE" = X32
; then
12895 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12897 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12899 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12903 hardcode_into_libs
=yes
12904 dynamic_linker
="$host_os dld.sl"
12905 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12906 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12908 soname_spec
='${libname}${release}${shared_ext}$major'
12909 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12910 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12914 dynamic_linker
="$host_os dld.sl"
12915 shlibpath_var
=SHLIB_PATH
12916 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12918 soname_spec
='${libname}${release}${shared_ext}$major'
12921 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12922 postinstall_cmds
='chmod 555 $lib'
12929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12930 soname_spec
='${libname}${release}${shared_ext}$major'
12931 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12932 shlibpath_var
=LD_LIBRARY_PATH
12933 shlibpath_overrides_runpath
=no
12934 hardcode_into_libs
=yes
12937 irix5
* | irix6
* | nonstopux
*)
12939 nonstopux
*) version_type
=nonstopux
;;
12941 if test "$lt_cv_prog_gnu_ld" = yes; then
12949 soname_spec
='${libname}${release}${shared_ext}$major'
12950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12952 irix5
* | nonstopux
*)
12953 libsuff
= shlibsuff
=
12956 case $LD in # libtool.m4 will add one of these switches to LD
12957 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12958 libsuff
= shlibsuff
= libmagic
=32-bit;;
12959 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12960 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12961 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12962 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12963 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12967 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12968 shlibpath_overrides_runpath
=no
12969 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12970 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12971 hardcode_into_libs
=yes
12974 # No shared lib support for Linux oldld, aout, or coff.
12975 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12979 # This must be Linux ELF.
12984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12985 soname_spec
='${libname}${release}${shared_ext}$major'
12986 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12987 shlibpath_var
=LD_LIBRARY_PATH
12988 shlibpath_overrides_runpath
=no
12989 # This implies no fast_install, which is unacceptable.
12990 # Some rework will be needed to allow for fast_install
12991 # before this can be enabled.
12992 hardcode_into_libs
=yes
12994 # find out which ABI we are using
12996 case "$host_cpu" in
12997 x86_64
*|s390x
*|powerpc64
*)
12998 echo '#line 12998 "configure"' > conftest.
$ac_ext
12999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13000 (eval $ac_compile) 2>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); }; then
13004 case `/usr/bin/file conftest.$ac_objext` in
13007 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13015 # Append ld.so.conf contents to the search path
13016 if test -f /etc
/ld.so.conf
; then
13017 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13018 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13021 # We used to test for /lib/ld.so.1 and disable shared libraries on
13022 # powerpc, because MkLinux only supported shared libraries with the
13023 # GNU dynamic linker. Since this was broken with cross compilers,
13024 # most powerpc-linux boxes support dynamic linking these days and
13025 # people can always --disable-shared, the test was removed, and we
13026 # assume the GNU/Linux dynamic linker is in use.
13027 dynamic_linker
='GNU/Linux ld.so'
13034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13035 soname_spec
='${libname}${release}${shared_ext}$major'
13036 shlibpath_var
=LD_LIBRARY_PATH
13037 shlibpath_overrides_runpath
=no
13038 hardcode_into_libs
=yes
13039 dynamic_linker
='GNU ld.so'
13046 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13048 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13049 dynamic_linker
='NetBSD (a.out) ld.so'
13051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13052 soname_spec
='${libname}${release}${shared_ext}$major'
13053 dynamic_linker
='NetBSD ld.elf_so'
13055 shlibpath_var
=LD_LIBRARY_PATH
13056 shlibpath_overrides_runpath
=yes
13057 hardcode_into_libs
=yes
13062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13063 shlibpath_var
=LD_LIBRARY_PATH
13064 shlibpath_overrides_runpath
=yes
13071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13072 soname_spec
='${libname}${release}${shared_ext}$major'
13073 shlibpath_var
=LD_LIBRARY_PATH
13074 shlibpath_overrides_runpath
=yes
13079 sys_lib_dlsearch_path_spec
="/usr/lib"
13081 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13083 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13084 *) need_version
=no
;;
13086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13087 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13088 shlibpath_var
=LD_LIBRARY_PATH
13089 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13091 openbsd2.
[89] | openbsd2.
[89].
*)
13092 shlibpath_overrides_runpath
=no
13095 shlibpath_overrides_runpath
=yes
13099 shlibpath_overrides_runpath
=yes
13104 libname_spec
='$name'
13107 library_names_spec
='$libname${shared_ext} $libname.a'
13108 dynamic_linker
='OS/2 ld.exe'
13109 shlibpath_var
=LIBPATH
13112 osf3
* | osf4
* | osf5
*)
13116 soname_spec
='${libname}${release}${shared_ext}$major'
13117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13118 shlibpath_var
=LD_LIBRARY_PATH
13119 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13120 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13128 soname_spec
='${libname}${release}${shared_ext}$major'
13129 shlibpath_var
=LD_LIBRARY_PATH
13130 shlibpath_overrides_runpath
=yes
13131 hardcode_into_libs
=yes
13132 # ldd complains unless libraries are executable
13133 postinstall_cmds
='chmod +x $lib'
13138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13139 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13140 shlibpath_var
=LD_LIBRARY_PATH
13141 shlibpath_overrides_runpath
=yes
13142 if test "$with_gnu_ld" = yes; then
13150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13151 soname_spec
='${libname}${release}${shared_ext}$major'
13152 shlibpath_var
=LD_LIBRARY_PATH
13153 case $host_vendor in
13155 shlibpath_overrides_runpath
=no
13157 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13158 runpath_var
=LD_RUN_PATH
13166 shlibpath_overrides_runpath
=no
13167 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13173 if test -d /usr
/nec
;then
13175 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13176 soname_spec
='$libname${shared_ext}.$major'
13177 shlibpath_var
=LD_LIBRARY_PATH
13181 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13182 version_type
=freebsd-elf
13185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13186 soname_spec
='${libname}${release}${shared_ext}$major'
13187 shlibpath_var
=LD_LIBRARY_PATH
13188 hardcode_into_libs
=yes
13189 if test "$with_gnu_ld" = yes; then
13190 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13191 shlibpath_overrides_runpath
=no
13193 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13194 shlibpath_overrides_runpath
=yes
13197 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13201 sys_lib_dlsearch_path_spec
='/usr/lib'
13206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13207 soname_spec
='${libname}${release}${shared_ext}$major'
13208 shlibpath_var
=LD_LIBRARY_PATH
13215 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13216 echo "${ECHO_T}$dynamic_linker" >&6; }
13217 test "$dynamic_linker" = no
&& can_build_shared
=no
13219 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13220 if test "$GCC" = yes; then
13221 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13224 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13225 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13226 hardcode_action_CXX
=
13227 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13228 test -n "$runpath_var_CXX" || \
13229 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13231 # We can hardcode non-existant directories.
13232 if test "$hardcode_direct_CXX" != no
&&
13233 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13234 # have to relink, otherwise we might link with an installed library
13235 # when we should be linking with a yet-to-be-installed one
13236 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13237 test "$hardcode_minus_L_CXX" != no
; then
13238 # Linking always hardcodes the temporary library directory.
13239 hardcode_action_CXX
=relink
13241 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13242 hardcode_action_CXX
=immediate
13245 # We cannot hardcode anything, or else we can only hardcode existing
13247 hardcode_action_CXX
=unsupported
13249 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13250 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13252 if test "$hardcode_action_CXX" = relink
; then
13253 # Fast installation is not supported
13254 enable_fast_install
=no
13255 elif test "$shlibpath_overrides_runpath" = yes ||
13256 test "$enable_shared" = no
; then
13257 # Fast installation is not necessary
13258 enable_fast_install
=needless
13262 # The else clause should only fire when bootstrapping the
13263 # libtool distribution, otherwise you forgot to ship ltmain.sh
13264 # with your package, and you will get complaints that there are
13265 # no rules to generate ltmain.sh.
13266 if test -f "$ltmain"; then
13267 # See if we are running on zsh, and set the options which allow our commands through
13268 # without removal of \ escapes.
13269 if test -n "${ZSH_VERSION+set}" ; then
13270 setopt NO_GLOB_SUBST
13272 # Now quote all the things that may contain metacharacters while being
13273 # careful not to overquote the AC_SUBSTed values. We take copies of the
13274 # variables and quote the copies for generation of the libtool script.
13275 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13277 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13278 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13279 deplibs_check_method reload_flag reload_cmds need_locks \
13280 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13281 lt_cv_sys_global_symbol_to_c_name_address \
13282 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13283 old_postinstall_cmds old_postuninstall_cmds \
13287 lt_prog_compiler_wl_CXX \
13288 lt_prog_compiler_pic_CXX \
13289 lt_prog_compiler_static_CXX \
13290 lt_prog_compiler_no_builtin_flag_CXX \
13291 export_dynamic_flag_spec_CXX \
13292 thread_safe_flag_spec_CXX \
13293 whole_archive_flag_spec_CXX \
13294 enable_shared_with_static_runtimes_CXX \
13295 old_archive_cmds_CXX \
13296 old_archive_from_new_cmds_CXX \
13297 predep_objects_CXX \
13298 postdep_objects_CXX \
13301 compiler_lib_search_path_CXX \
13303 archive_expsym_cmds_CXX \
13304 postinstall_cmds_CXX \
13305 postuninstall_cmds_CXX \
13306 old_archive_from_expsyms_cmds_CXX \
13307 allow_undefined_flag_CXX \
13308 no_undefined_flag_CXX \
13309 export_symbols_cmds_CXX \
13310 hardcode_libdir_flag_spec_CXX \
13311 hardcode_libdir_flag_spec_ld_CXX \
13312 hardcode_libdir_separator_CXX \
13313 hardcode_automatic_CXX \
13315 module_expsym_cmds_CXX \
13316 lt_cv_prog_compiler_c_o_CXX \
13317 exclude_expsyms_CXX \
13318 include_expsyms_CXX
; do
13321 old_archive_cmds_CXX | \
13322 old_archive_from_new_cmds_CXX | \
13323 archive_cmds_CXX | \
13324 archive_expsym_cmds_CXX | \
13325 module_cmds_CXX | \
13326 module_expsym_cmds_CXX | \
13327 old_archive_from_expsyms_cmds_CXX | \
13328 export_symbols_cmds_CXX | \
13329 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13330 postinstall_cmds | postuninstall_cmds | \
13331 old_postinstall_cmds | old_postuninstall_cmds | \
13332 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13333 # Double-quote double-evaled strings.
13334 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13337 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13343 *'\$0 --fallback-echo"')
13344 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13350 cat <<__EOF__ >> "$cfgfile"
13351 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13353 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13355 # Shell to use when invoking shell scripts.
13358 # Whether or not to build shared libraries.
13359 build_libtool_libs=$enable_shared
13361 # Whether or not to build static libraries.
13362 build_old_libs=$enable_static
13364 # Whether or not to add -lc for building shared libraries.
13365 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13367 # Whether or not to disallow shared libs when runtime libs are static
13368 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13370 # Whether or not to optimize for fast installation.
13371 fast_install=$enable_fast_install
13374 host_alias=$host_alias
13378 # The build system.
13379 build_alias=$build_alias
13383 # An echo program that does not interpret backslashes.
13388 AR_FLAGS=$lt_AR_FLAGS
13393 # LTCC compiler flags.
13394 LTCFLAGS=$lt_LTCFLAGS
13396 # A language-specific compiler.
13397 CC=$lt_compiler_CXX
13399 # Is the compiler the GNU C compiler?
13405 # The linker used to build libraries.
13408 # Whether we need hard or soft links.
13411 # A BSD-compatible nm program.
13414 # A symbol stripping program
13417 # Used to examine libraries when file_magic_cmd begins "file"
13418 MAGIC_CMD=$MAGIC_CMD
13420 # Used on cygwin: DLL creation program.
13423 # Used on cygwin: object dumper.
13426 # Used on cygwin: assembler.
13429 # The name of the directory that contains temporary libtool files.
13432 # How to create reloadable object files.
13433 reload_flag=$lt_reload_flag
13434 reload_cmds=$lt_reload_cmds
13436 # How to pass a linker flag through the compiler.
13437 wl=$lt_lt_prog_compiler_wl_CXX
13439 # Object file suffix (normally "o").
13440 objext="$ac_objext"
13442 # Old archive suffix (normally "a").
13445 # Shared library suffix (normally ".so").
13446 shrext_cmds='$shrext_cmds'
13448 # Executable file suffix (normally "").
13451 # Additional compiler flags for building library objects.
13452 pic_flag=$lt_lt_prog_compiler_pic_CXX
13455 # What is the maximum length of a command?
13456 max_cmd_len=$lt_cv_sys_max_cmd_len
13458 # Does compiler simultaneously support -c and -o options?
13459 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13461 # Must we lock files when doing compilation?
13462 need_locks=$lt_need_locks
13464 # Do we need the lib prefix for modules?
13465 need_lib_prefix=$need_lib_prefix
13467 # Do we need a version for libraries?
13468 need_version=$need_version
13470 # Whether dlopen is supported.
13471 dlopen_support=$enable_dlopen
13473 # Whether dlopen of programs is supported.
13474 dlopen_self=$enable_dlopen_self
13476 # Whether dlopen of statically linked programs is supported.
13477 dlopen_self_static=$enable_dlopen_self_static
13479 # Compiler flag to prevent dynamic linking.
13480 link_static_flag=$lt_lt_prog_compiler_static_CXX
13482 # Compiler flag to turn off builtin functions.
13483 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13485 # Compiler flag to allow reflexive dlopens.
13486 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13488 # Compiler flag to generate shared objects directly from archives.
13489 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13491 # Compiler flag to generate thread-safe objects.
13492 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13494 # Library versioning type.
13495 version_type=$version_type
13497 # Format of library name prefix.
13498 libname_spec=$lt_libname_spec
13500 # List of archive names. First name is the real one, the rest are links.
13501 # The last name is the one that the linker finds with -lNAME.
13502 library_names_spec=$lt_library_names_spec
13504 # The coded name of the library, if different from the real name.
13505 soname_spec=$lt_soname_spec
13507 # Commands used to build and install an old-style archive.
13509 old_archive_cmds=$lt_old_archive_cmds_CXX
13510 old_postinstall_cmds=$lt_old_postinstall_cmds
13511 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13513 # Create an old-style archive from a shared archive.
13514 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13516 # Create a temporary old-style archive to link instead of a shared archive.
13517 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13519 # Commands used to build and install a shared archive.
13520 archive_cmds=$lt_archive_cmds_CXX
13521 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13522 postinstall_cmds=$lt_postinstall_cmds
13523 postuninstall_cmds=$lt_postuninstall_cmds
13525 # Commands used to build a loadable module (assumed same as above if empty)
13526 module_cmds=$lt_module_cmds_CXX
13527 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13529 # Commands to strip libraries.
13530 old_striplib=$lt_old_striplib
13531 striplib=$lt_striplib
13533 # Dependencies to place before the objects being linked to create a
13535 predep_objects=$lt_predep_objects_CXX
13537 # Dependencies to place after the objects being linked to create a
13539 postdep_objects=$lt_postdep_objects_CXX
13541 # Dependencies to place before the objects being linked to create a
13543 predeps=$lt_predeps_CXX
13545 # Dependencies to place after the objects being linked to create a
13547 postdeps=$lt_postdeps_CXX
13549 # The library search path used internally by the compiler when linking
13550 # a shared library.
13551 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13553 # Method to check whether dependent libraries are shared objects.
13554 deplibs_check_method=$lt_deplibs_check_method
13556 # Command to use when deplibs_check_method == file_magic.
13557 file_magic_cmd=$lt_file_magic_cmd
13559 # Flag that allows shared libraries with undefined symbols to be built.
13560 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13562 # Flag that forces no undefined symbols.
13563 no_undefined_flag=$lt_no_undefined_flag_CXX
13565 # Commands used to finish a libtool library installation in a directory.
13566 finish_cmds=$lt_finish_cmds
13568 # Same as above, but a single script fragment to be evaled but not shown.
13569 finish_eval=$lt_finish_eval
13571 # Take the output of nm and produce a listing of raw symbols and C names.
13572 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13574 # Transform the output of nm in a proper C declaration
13575 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13577 # Transform the output of nm in a C name address pair
13578 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13580 # This is the shared library runtime path variable.
13581 runpath_var=$runpath_var
13583 # This is the shared library path variable.
13584 shlibpath_var=$shlibpath_var
13586 # Is shlibpath searched before the hard-coded library search path?
13587 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13589 # How to hardcode a shared library path into an executable.
13590 hardcode_action=$hardcode_action_CXX
13592 # Whether we should hardcode library paths into libraries.
13593 hardcode_into_libs=$hardcode_into_libs
13595 # Flag to hardcode \$libdir into a binary during linking.
13596 # This must work even if \$libdir does not exist.
13597 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13599 # If ld is used when linking, flag to hardcode \$libdir into
13600 # a binary during linking. This must work even if \$libdir does
13602 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13604 # Whether we need a single -rpath flag with a separated argument.
13605 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13607 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13608 # resulting binary.
13609 hardcode_direct=$hardcode_direct_CXX
13611 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13612 # resulting binary.
13613 hardcode_minus_L=$hardcode_minus_L_CXX
13615 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13616 # the resulting binary.
13617 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13619 # Set to yes if building a shared library automatically hardcodes DIR into the library
13620 # and all subsequent libraries and executables linked against it.
13621 hardcode_automatic=$hardcode_automatic_CXX
13623 # Variables whose values should be saved in libtool wrapper scripts and
13624 # restored at relink time.
13625 variables_saved_for_relink="$variables_saved_for_relink"
13627 # Whether libtool must link a program against all its dependency libraries.
13628 link_all_deplibs=$link_all_deplibs_CXX
13630 # Compile-time system search path for libraries
13631 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13633 # Run-time system search path for libraries
13634 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13636 # Fix the shell variable \$srcfile for the compiler.
13637 fix_srcfile_path="$fix_srcfile_path_CXX"
13639 # Set to yes if exported symbols are required.
13640 always_export_symbols=$always_export_symbols_CXX
13642 # The commands to list exported symbols.
13643 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13645 # The commands to extract the exported symbol list from a shared archive.
13646 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13648 # Symbols that should not be listed in the preloaded symbols.
13649 exclude_expsyms=$lt_exclude_expsyms_CXX
13651 # Symbols that must always be exported.
13652 include_expsyms=$lt_include_expsyms_CXX
13654 # ### END LIBTOOL TAG CONFIG: $tagname
13660 # If there is no Makefile yet, we rely on a make rule to execute
13661 # `config.status --recheck' to rerun these tests and create the
13662 # libtool script then.
13663 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13664 if test -f "$ltmain_in"; then
13665 test -f Makefile
&& make "$ltmain"
13671 ac_cpp
='$CPP $CPPFLAGS'
13672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13680 with_gnu_ldcxx
=$with_gnu_ld
13681 with_gnu_ld
=$lt_save_with_gnu_ld
13682 lt_cv_path_LDCXX
=$lt_cv_path_LD
13683 lt_cv_path_LD
=$lt_save_path_LD
13684 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13685 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13693 if test -n "$F77" && test "X$F77" != "Xno"; then
13696 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13697 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13698 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13701 archive_cmds_need_lc_F77
=no
13702 allow_undefined_flag_F77
=
13703 always_export_symbols_F77
=no
13704 archive_expsym_cmds_F77
=
13705 export_dynamic_flag_spec_F77
=
13706 hardcode_direct_F77
=no
13707 hardcode_libdir_flag_spec_F77
=
13708 hardcode_libdir_flag_spec_ld_F77
=
13709 hardcode_libdir_separator_F77
=
13710 hardcode_minus_L_F77
=no
13711 hardcode_automatic_F77
=no
13713 module_expsym_cmds_F77
=
13714 link_all_deplibs_F77
=unknown
13715 old_archive_cmds_F77
=$old_archive_cmds
13716 no_undefined_flag_F77
=
13717 whole_archive_flag_spec_F77
=
13718 enable_shared_with_static_runtimes_F77
=no
13720 # Source file extension for f77 test sources.
13723 # Object file extension for compiled f77 test sources.
13727 # Code to be used in simple compile tests
13728 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13730 # Code to be used in simple link tests
13731 lt_simple_link_test_code
=" program t\n end\n"
13733 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13735 # If no C compiler was specified, use CC.
13738 # If no C compiler flags were specified, use CFLAGS.
13739 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13741 # Allow CC to be a program name with arguments.
13745 # save warnings/boilerplate of simple test code
13746 ac_outfile
=conftest.
$ac_objext
13747 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13748 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13749 _lt_compiler_boilerplate
=`cat conftest.err`
13752 ac_outfile
=conftest.
$ac_objext
13753 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13754 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13755 _lt_linker_boilerplate
=`cat conftest.err`
13759 # Allow CC to be a program name with arguments.
13764 for cc_temp
in $compiler""; do
13766 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13767 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13772 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13775 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13776 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13777 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13778 echo "${ECHO_T}$can_build_shared" >&6; }
13780 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13781 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13782 test "$can_build_shared" = "no" && enable_shared
=no
13784 # On AIX, shared libraries and static libraries use the same namespace, and
13785 # are all built from PIC.
13788 test "$enable_shared" = yes && enable_static
=no
13789 if test -n "$RANLIB"; then
13790 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13791 postinstall_cmds
='$RANLIB $lib'
13795 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13796 test "$enable_shared" = yes && enable_static
=no
13800 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13801 echo "${ECHO_T}$enable_shared" >&6; }
13803 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13804 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13805 # Make sure either enable_shared or enable_static is yes.
13806 test "$enable_shared" = yes || enable_static
=yes
13807 { echo "$as_me:$LINENO: result: $enable_static" >&5
13808 echo "${ECHO_T}$enable_static" >&6; }
13813 lt_prog_compiler_wl_F77
=
13814 lt_prog_compiler_pic_F77
=
13815 lt_prog_compiler_static_F77
=
13817 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13818 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13820 if test "$GCC" = yes; then
13821 lt_prog_compiler_wl_F77
='-Wl,'
13822 lt_prog_compiler_static_F77
='-static'
13826 # All AIX code is PIC.
13827 if test "$host_cpu" = ia64
; then
13828 # AIX 5 now supports IA64 processor
13829 lt_prog_compiler_static_F77
='-Bstatic'
13834 # FIXME: we need at least 68020 code to build shared libraries, but
13835 # adding the `-m68020' flag to GCC prevents building anything better,
13837 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13840 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13841 # PIC is the default for these OSes.
13844 mingw
* | pw32
* | os2
*)
13845 # This hack is so that the source file can tell whether it is being
13846 # built for inclusion in a dll (and should export symbols for example).
13847 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13850 darwin
* | rhapsody
*)
13851 # PIC is the default on this platform
13852 # Common symbols not allowed in MH_DYLIB files
13853 lt_prog_compiler_pic_F77
='-fno-common'
13857 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13858 # Instead, we relocate shared libraries at runtime.
13862 # Just because we use GCC doesn't mean we suddenly get shared libraries
13863 # on systems that don't support them.
13864 lt_prog_compiler_can_build_shared_F77
=no
13869 if test -d /usr
/nec
; then
13870 lt_prog_compiler_pic_F77
=-Kconform_pic
13875 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13876 # not for PA HP-UX.
13882 lt_prog_compiler_pic_F77
='-fPIC'
13888 lt_prog_compiler_pic_F77
='-fPIC'
13892 # PORTME Check for flag to pass linker flags through the system compiler.
13895 lt_prog_compiler_wl_F77
='-Wl,'
13896 if test "$host_cpu" = ia64
; then
13897 # AIX 5 now supports IA64 processor
13898 lt_prog_compiler_static_F77
='-Bstatic'
13900 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13904 # PIC is the default on this platform
13905 # Common symbols not allowed in MH_DYLIB files
13906 case $cc_basename in
13908 lt_prog_compiler_pic_F77
='-qnocommon'
13909 lt_prog_compiler_wl_F77
='-Wl,'
13914 mingw
* | pw32
* | os2
*)
13915 # This hack is so that the source file can tell whether it is being
13916 # built for inclusion in a dll (and should export symbols for example).
13917 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13920 hpux9
* | hpux10
* | hpux11
*)
13921 lt_prog_compiler_wl_F77
='-Wl,'
13922 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13923 # not for PA HP-UX.
13929 lt_prog_compiler_pic_F77
='+Z'
13932 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13933 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13936 irix5
* | irix6
* | nonstopux
*)
13937 lt_prog_compiler_wl_F77
='-Wl,'
13938 # PIC (with -KPIC) is the default.
13939 lt_prog_compiler_static_F77
='-non_shared'
13943 lt_prog_compiler_pic_F77
='-KPIC'
13944 lt_prog_compiler_static_F77
='-Bstatic'
13948 case $cc_basename in
13950 lt_prog_compiler_wl_F77
='-Wl,'
13951 lt_prog_compiler_pic_F77
='-KPIC'
13952 lt_prog_compiler_static_F77
='-static'
13954 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13955 # Portland Group compilers (*not* the Pentium gcc compiler,
13956 # which looks to be a dead project)
13957 lt_prog_compiler_wl_F77
='-Wl,'
13958 lt_prog_compiler_pic_F77
='-fpic'
13959 lt_prog_compiler_static_F77
='-Bstatic'
13962 lt_prog_compiler_wl_F77
='-Wl,'
13963 # All Alpha code is PIC.
13964 lt_prog_compiler_static_F77
='-non_shared'
13969 osf3
* | osf4
* | osf5
*)
13970 lt_prog_compiler_wl_F77
='-Wl,'
13971 # All OSF/1 code is PIC.
13972 lt_prog_compiler_static_F77
='-non_shared'
13976 lt_prog_compiler_pic_F77
='-KPIC'
13977 lt_prog_compiler_static_F77
='-Bstatic'
13978 case $cc_basename in
13979 f77
* | f90
* | f95
*)
13980 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13982 lt_prog_compiler_wl_F77
='-Wl,';;
13987 lt_prog_compiler_wl_F77
='-Qoption ld '
13988 lt_prog_compiler_pic_F77
='-PIC'
13989 lt_prog_compiler_static_F77
='-Bstatic'
13992 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13993 lt_prog_compiler_wl_F77
='-Wl,'
13994 lt_prog_compiler_pic_F77
='-KPIC'
13995 lt_prog_compiler_static_F77
='-Bstatic'
13999 if test -d /usr
/nec
;then
14000 lt_prog_compiler_pic_F77
='-Kconform_pic'
14001 lt_prog_compiler_static_F77
='-Bstatic'
14005 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14006 lt_prog_compiler_wl_F77
='-Wl,'
14007 lt_prog_compiler_pic_F77
='-KPIC'
14008 lt_prog_compiler_static_F77
='-Bstatic'
14012 lt_prog_compiler_wl_F77
='-Wl,'
14013 lt_prog_compiler_can_build_shared_F77
=no
14017 lt_prog_compiler_pic_F77
='-pic'
14018 lt_prog_compiler_static_F77
='-Bstatic'
14022 lt_prog_compiler_can_build_shared_F77
=no
14027 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14028 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14031 # Check to make sure the PIC flag actually works.
14033 if test -n "$lt_prog_compiler_pic_F77"; then
14035 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14036 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14037 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 lt_prog_compiler_pic_works_F77
=no
14041 ac_outfile
=conftest.
$ac_objext
14042 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14043 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14044 # Insert the option either (1) after the last *FLAGS variable, or
14045 # (2) before a word containing "conftest.", or (3) at the end.
14046 # Note that $ac_compile itself does not contain backslashes and begins
14047 # with a dollar sign (not a hyphen), so the echo should work correctly.
14048 # The option is referenced via a variable to avoid confusing sed.
14049 lt_compile
=`echo "$ac_compile" | $SED \
14050 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14051 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14052 -e 's:$: $lt_compiler_flag:'`
14053 (eval echo "\"\$as_me:14053: $lt_compile\"" >&5)
14054 (eval "$lt_compile" 2>conftest.err
)
14056 cat conftest.err
>&5
14057 echo "$as_me:14057: \$? = $ac_status" >&5
14058 if (exit $ac_status) && test -s "$ac_outfile"; then
14059 # The compiler can only warn and ignore the option if not recognized
14060 # So say no if there are warnings other than the usual output.
14061 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14062 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14063 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14064 lt_prog_compiler_pic_works_F77
=yes
14070 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14071 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14073 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14074 case $lt_prog_compiler_pic_F77 in
14076 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14079 lt_prog_compiler_pic_F77
=
14080 lt_prog_compiler_can_build_shared_F77
=no
14085 # For platforms which do not support PIC, -DPIC is meaningless:
14087 lt_prog_compiler_pic_F77
=
14090 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14095 # Check to make sure the static flag actually works.
14097 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14098 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14099 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14100 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14101 echo $ECHO_N "(cached) $ECHO_C" >&6
14103 lt_prog_compiler_static_works_F77
=no
14104 save_LDFLAGS
="$LDFLAGS"
14105 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14106 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14107 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14108 # The linker can only warn and ignore the option if not recognized
14109 # So say no if there are warnings
14110 if test -s conftest.err
; then
14111 # Append any errors to the config.log.
14112 cat conftest.err
1>&5
14113 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14114 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14115 if diff conftest.exp conftest.er2
>/dev
/null
; then
14116 lt_prog_compiler_static_works_F77
=yes
14119 lt_prog_compiler_static_works_F77
=yes
14123 LDFLAGS
="$save_LDFLAGS"
14126 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14127 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14129 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14132 lt_prog_compiler_static_F77
=
14136 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14137 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14138 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14139 echo $ECHO_N "(cached) $ECHO_C" >&6
14141 lt_cv_prog_compiler_c_o_F77
=no
14142 $rm -r conftest
2>/dev
/null
14146 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14148 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14149 # Insert the option either (1) after the last *FLAGS variable, or
14150 # (2) before a word containing "conftest.", or (3) at the end.
14151 # Note that $ac_compile itself does not contain backslashes and begins
14152 # with a dollar sign (not a hyphen), so the echo should work correctly.
14153 lt_compile
=`echo "$ac_compile" | $SED \
14154 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14155 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14156 -e 's:$: $lt_compiler_flag:'`
14157 (eval echo "\"\$as_me:14157: $lt_compile\"" >&5)
14158 (eval "$lt_compile" 2>out
/conftest.err
)
14160 cat out
/conftest.err
>&5
14161 echo "$as_me:14161: \$? = $ac_status" >&5
14162 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14164 # The compiler can only warn and ignore the option if not recognized
14165 # So say no if there are warnings
14166 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14167 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14168 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14169 lt_cv_prog_compiler_c_o_F77
=yes
14174 # SGI C++ compiler will create directory out/ii_files/ for
14175 # template instantiation
14176 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14177 $rm out
/* && rmdir out
14183 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14184 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14187 hard_links
="nottested"
14188 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14189 # do not overwrite the value of need_locks provided by the user
14190 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14191 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14194 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14196 ln conftest.a conftest.b
2>&5 || hard_links
=no
14197 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14198 { echo "$as_me:$LINENO: result: $hard_links" >&5
14199 echo "${ECHO_T}$hard_links" >&6; }
14200 if test "$hard_links" = no
; then
14201 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14202 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14209 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14210 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14213 allow_undefined_flag_F77
=
14214 enable_shared_with_static_runtimes_F77
=no
14216 archive_expsym_cmds_F77
=
14217 old_archive_From_new_cmds_F77
=
14218 old_archive_from_expsyms_cmds_F77
=
14219 export_dynamic_flag_spec_F77
=
14220 whole_archive_flag_spec_F77
=
14221 thread_safe_flag_spec_F77
=
14222 hardcode_libdir_flag_spec_F77
=
14223 hardcode_libdir_flag_spec_ld_F77
=
14224 hardcode_libdir_separator_F77
=
14225 hardcode_direct_F77
=no
14226 hardcode_minus_L_F77
=no
14227 hardcode_shlibpath_var_F77
=unsupported
14228 link_all_deplibs_F77
=unknown
14229 hardcode_automatic_F77
=no
14231 module_expsym_cmds_F77
=
14232 always_export_symbols_F77
=no
14233 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14234 # include_expsyms should be a list of space-separated symbols to be *always*
14235 # included in the symbol list
14236 include_expsyms_F77
=
14237 # exclude_expsyms can be an extended regexp of symbols to exclude
14238 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14239 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14240 # as well as any symbol that contains `d'.
14241 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14242 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14243 # platforms (ab)use it in PIC code, but their linkers get confused if
14244 # the symbol is explicitly referenced. Since portable code cannot
14245 # rely on this symbol name, it's probably fine to never include it in
14246 # preloaded symbol tables.
14247 extract_expsyms_cmds
=
14248 # Just being paranoid about ensuring that cc_basename is set.
14249 for cc_temp
in $compiler""; do
14251 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14252 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14257 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14260 cygwin
* | mingw
* | pw32
*)
14261 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14262 # When not using gcc, we currently assume that we are using
14263 # Microsoft Visual C++.
14264 if test "$GCC" != yes; then
14269 # we just hope/assume this is gcc and not c89 (= MSVC++)
14278 if test "$with_gnu_ld" = yes; then
14279 # If archive_cmds runs LD, not CC, wlarc should be empty
14282 # Set some defaults for GNU ld with shared library support. These
14283 # are reset later if shared libraries are not supported. Putting them
14284 # here allows them to be overridden if necessary.
14285 runpath_var
=LD_RUN_PATH
14286 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14287 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14288 # ancient GNU ld didn't support --whole-archive et. al.
14289 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14290 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14292 whole_archive_flag_spec_F77
=
14294 supports_anon_versioning
=no
14295 case `$LD -v 2>/dev/null` in
14296 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14297 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14298 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14299 *\
2.11.
*) ;; # other 2.11 versions
14300 *) supports_anon_versioning
=yes ;;
14303 # See if GNU ld supports shared libraries.
14305 aix3
* | aix4
* | aix5
*)
14306 # On AIX/PPC, the GNU linker is very broken
14307 if test "$host_cpu" != ia64
; then
14311 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14312 *** to be unable to reliably create shared libraries on AIX.
14313 *** Therefore, libtool is disabling shared libraries support. If you
14314 *** really care for shared libraries, you may want to modify your PATH
14315 *** so that a non-GNU linker is found, and then restart.
14322 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)'
14323 hardcode_libdir_flag_spec_F77
='-L$libdir'
14324 hardcode_minus_L_F77
=yes
14326 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14327 # that the semantics of dynamic libraries on AmigaOS, at least up
14328 # to version 4, is to share data among multiple programs linked
14329 # with the same dynamic library. Since this doesn't match the
14330 # behavior of shared libraries on other platforms, we can't use
14336 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14337 allow_undefined_flag_F77
=unsupported
14338 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14339 # support --undefined. This deserves some investigation. FIXME
14340 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14346 cygwin
* | mingw
* | pw32
*)
14347 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14348 # as there is no search path for DLLs.
14349 hardcode_libdir_flag_spec_F77
='-L$libdir'
14350 allow_undefined_flag_F77
=unsupported
14351 always_export_symbols_F77
=no
14352 enable_shared_with_static_runtimes_F77
=yes
14353 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14355 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14356 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14357 # If the export-symbols file already is a .def file (1st line
14358 # is EXPORTS), use it as is; otherwise, prepend...
14359 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14360 cp $export_symbols $output_objdir/$soname.def;
14362 echo EXPORTS > $output_objdir/$soname.def;
14363 cat $export_symbols >> $output_objdir/$soname.def;
14365 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14372 hardcode_direct_F77
=no
14373 hardcode_shlibpath_var_F77
=no
14374 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14375 export_dynamic_flag_spec_F77
='${wl}-E'
14376 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14377 # Instead, shared libraries are loaded at an image base (0x10000000 by
14378 # default) and relocated if they conflict, which is a slow very memory
14379 # consuming and fragmenting process. To avoid this, we pick a random,
14380 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14381 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14382 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'
14383 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'
14387 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14389 case $cc_basename,$host_cpu in
14390 pgcc
*) # Portland Group C compiler
14391 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'
14392 tmp_addflag
=' $pic_flag'
14394 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14395 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'
14396 tmp_addflag
=' $pic_flag -Mnomain' ;;
14397 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14398 tmp_addflag
=' -i_dynamic' ;;
14399 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14400 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14401 ifc
* | ifort
*) # Intel Fortran compiler
14402 tmp_addflag
=' -nofor_main' ;;
14404 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14406 if test $supports_anon_versioning = yes; then
14407 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14408 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14409 $echo "local: *; };" >> $output_objdir/$libname.ver~
14410 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14418 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14419 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14422 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14423 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14428 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14432 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14433 *** create shared libraries on Solaris systems. Therefore, libtool
14434 *** is disabling shared libraries support. We urge you to upgrade GNU
14435 *** binutils to release 2.9.1 or newer. Another option is to modify
14436 *** your PATH or compiler configuration so that the native linker is
14437 *** used, and then restart.
14440 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14441 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14442 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14448 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14449 case `$LD -v 2>&1` in
14450 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14454 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14455 *** reliably create shared libraries on SCO systems. Therefore, libtool
14456 *** is disabling shared libraries support. We urge you to upgrade GNU
14457 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14458 *** your PATH or compiler configuration so that the native linker is
14459 *** used, and then restart.
14464 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14465 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14466 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14467 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14476 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14478 hardcode_direct_F77
=yes
14479 hardcode_shlibpath_var_F77
=no
14483 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14484 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14485 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14492 if test "$ld_shlibs_F77" = no
; then
14494 hardcode_libdir_flag_spec_F77
=
14495 export_dynamic_flag_spec_F77
=
14496 whole_archive_flag_spec_F77
=
14499 # PORTME fill in a description of your system's linker (not GNU ld)
14502 allow_undefined_flag_F77
=unsupported
14503 always_export_symbols_F77
=yes
14504 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'
14505 # Note: this linker hardcodes the directories in LIBPATH if there
14506 # are no directories specified by -L.
14507 hardcode_minus_L_F77
=yes
14508 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14509 # Neither direct hardcoding nor static linking is supported with a
14511 hardcode_direct_F77
=unsupported
14516 if test "$host_cpu" = ia64
; then
14517 # On IA64, the linker does run time linking by default, so we don't
14518 # have to do anything special.
14519 aix_use_runtimelinking
=no
14520 exp_sym_flag
='-Bexport'
14523 # If we're using GNU nm, then we don't want the "-C" option.
14524 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14525 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14526 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'
14528 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'
14530 aix_use_runtimelinking
=no
14532 # Test if we are trying to use run time linking or normal
14533 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14534 # need to do runtime linking.
14535 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14536 for ld_flag
in $LDFLAGS; do
14537 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14538 aix_use_runtimelinking
=yes
14545 exp_sym_flag
='-bexport'
14546 no_entry_flag
='-bnoentry'
14549 # When large executables or shared objects are built, AIX ld can
14550 # have problems creating the table of contents. If linking a library
14551 # or program results in "error TOC overflow" add -mminimal-toc to
14552 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14553 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14555 archive_cmds_F77
=''
14556 hardcode_direct_F77
=yes
14557 hardcode_libdir_separator_F77
=':'
14558 link_all_deplibs_F77
=yes
14560 if test "$GCC" = yes; then
14561 case $host_os in aix4.
[012]|aix4.
[012].
*)
14562 # We only want to do this on AIX 4.2 and lower, the check
14563 # below for broken collect2 doesn't work under 4.3+
14564 collect2name
=`${CC} -print-prog-name=collect2`
14565 if test -f "$collect2name" && \
14566 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14568 # We have reworked collect2
14569 hardcode_direct_F77
=yes
14571 # We have old collect2
14572 hardcode_direct_F77
=unsupported
14573 # It fails to find uninstalled libraries when the uninstalled
14574 # path is not listed in the libpath. Setting hardcode_minus_L
14575 # to unsupported forces relinking
14576 hardcode_minus_L_F77
=yes
14577 hardcode_libdir_flag_spec_F77
='-L$libdir'
14578 hardcode_libdir_separator_F77
=
14582 shared_flag
='-shared'
14583 if test "$aix_use_runtimelinking" = yes; then
14584 shared_flag
="$shared_flag "'${wl}-G'
14588 if test "$host_cpu" = ia64
; then
14589 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14590 # chokes on -Wl,-G. The following line is correct:
14593 if test "$aix_use_runtimelinking" = yes; then
14594 shared_flag
='${wl}-G'
14596 shared_flag
='${wl}-bM:SRE'
14601 # It seems that -bexpall does not export symbols beginning with
14602 # underscore (_), so it is better to generate a list of symbols to export.
14603 always_export_symbols_F77
=yes
14604 if test "$aix_use_runtimelinking" = yes; then
14605 # Warning - without using the other runtime loading flags (-brtl),
14606 # -berok will link without error, but may produce a broken library.
14607 allow_undefined_flag_F77
='-berok'
14608 # Determine the default libpath from the value encoded in an empty executable.
14609 cat >conftest.
$ac_ext <<_ACEOF
14614 rm -f conftest.
$ac_objext conftest
$ac_exeext
14615 if { (ac_try
="$ac_link"
14616 case "(($ac_try" in
14617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14618 *) ac_try_echo=$ac_try;;
14620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14621 (eval "$ac_link") 2>conftest.er1
14623 grep -v '^ *+' conftest.er1 >conftest.err
14625 cat conftest.err >&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); } && {
14628 test -z "$ac_f77_werror_flag" ||
14629 test ! -s conftest.err
14630 } && test -s conftest$ac_exeext &&
14631 $as_test_x conftest$ac_exeext; then
14633 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14635 # Check for a 64-bit object if we didn't find anything.
14636 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; }
14639 echo "$as_me: failed program was:" >&5
14640 sed 's/^/| /' conftest.$ac_ext >&5
14645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14646 conftest$ac_exeext conftest.$ac_ext
14647 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14649 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14650 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"
14652 if test "$host_cpu" = ia64; then
14653 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14654 allow_undefined_flag_F77="-z nodefs"
14655 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"
14657 # Determine the default libpath from the value encoded in an empty executable.
14658 cat >conftest.$ac_ext <<_ACEOF
14663 rm -f conftest.$ac_objext conftest$ac_exeext
14664 if { (ac_try="$ac_link"
14665 case "(($ac_try" in
14666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14667 *) ac_try_echo
=$ac_try;;
14669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14670 (eval "$ac_link") 2>conftest.er1
14672 grep -v '^ *+' conftest.er1
>conftest.err
14674 cat conftest.err
>&5
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); } && {
14677 test -z "$ac_f77_werror_flag" ||
14678 test ! -s conftest.err
14679 } && test -s conftest
$ac_exeext &&
14680 $as_test_x conftest
$ac_exeext; then
14682 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14684 # Check for a 64-bit object if we didn't find anything.
14685 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; }
14688 echo "$as_me: failed program was:" >&5
14689 sed 's/^/| /' conftest.
$ac_ext >&5
14694 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14695 conftest
$ac_exeext conftest.
$ac_ext
14696 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14698 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14699 # Warning - without using the other run time loading flags,
14700 # -berok will link without error, but may produce a broken library.
14701 no_undefined_flag_F77
=' ${wl}-bernotok'
14702 allow_undefined_flag_F77
=' ${wl}-berok'
14703 # Exported symbols can be pulled into shared objects from archives
14704 whole_archive_flag_spec_F77
='$convenience'
14705 archive_cmds_need_lc_F77
=yes
14706 # This is similar to how AIX traditionally builds its shared libraries.
14707 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'
14713 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)'
14714 hardcode_libdir_flag_spec_F77
='-L$libdir'
14715 hardcode_minus_L_F77
=yes
14716 # see comment about different semantics on the GNU ld section
14721 export_dynamic_flag_spec_F77
=-rdynamic
14724 cygwin
* | mingw
* | pw32
*)
14725 # When not using gcc, we currently assume that we are using
14726 # Microsoft Visual C++.
14727 # hardcode_libdir_flag_spec is actually meaningless, as there is
14728 # no search path for DLLs.
14729 hardcode_libdir_flag_spec_F77
=' '
14730 allow_undefined_flag_F77
=unsupported
14731 # Tell ltmain to make .lib files, not .a files.
14733 # Tell ltmain to make .dll files, not .so files.
14735 # FIXME: Setting linknames here is a bad hack.
14736 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14737 # The linker will automatically build a .lib file if we build a DLL.
14738 old_archive_From_new_cmds_F77
='true'
14739 # FIXME: Should let the user specify the lib program.
14740 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14741 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14742 enable_shared_with_static_runtimes_F77
=yes
14745 darwin
* | rhapsody
*)
14747 rhapsody
* | darwin1.
[012])
14748 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14751 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14752 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14754 case ${MACOSX_DEPLOYMENT_TARGET} in
14756 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14759 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14765 archive_cmds_need_lc_F77
=no
14766 hardcode_direct_F77
=no
14767 hardcode_automatic_F77
=yes
14768 hardcode_shlibpath_var_F77
=unsupported
14769 whole_archive_flag_spec_F77
=''
14770 link_all_deplibs_F77
=yes
14771 if test "$GCC" = yes ; then
14772 output_verbose_link_cmd
='echo'
14773 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14774 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14775 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14776 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}'
14777 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}'
14779 case $cc_basename in
14781 output_verbose_link_cmd
='echo'
14782 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14783 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14784 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14785 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}'
14786 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}'
14796 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14797 hardcode_libdir_flag_spec_F77
='-L$libdir'
14798 hardcode_shlibpath_var_F77
=no
14805 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14806 # support. Future versions do this automatically, but an explicit c++rt0.o
14807 # does not break anything, and helps significantly (at the cost of a little
14810 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14811 hardcode_libdir_flag_spec_F77
='-R$libdir'
14812 hardcode_direct_F77
=yes
14813 hardcode_shlibpath_var_F77
=no
14816 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14818 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14819 hardcode_direct_F77
=yes
14820 hardcode_minus_L_F77
=yes
14821 hardcode_shlibpath_var_F77
=no
14824 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14825 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14826 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14827 hardcode_libdir_flag_spec_F77
='-R$libdir'
14828 hardcode_direct_F77
=yes
14829 hardcode_shlibpath_var_F77
=no
14833 if test "$GCC" = yes; then
14834 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'
14836 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'
14838 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14839 hardcode_libdir_separator_F77
=:
14840 hardcode_direct_F77
=yes
14842 # hardcode_minus_L: Not really in the search PATH,
14843 # but as the default location of the library.
14844 hardcode_minus_L_F77
=yes
14845 export_dynamic_flag_spec_F77
='${wl}-E'
14849 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14850 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14852 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14854 if test "$with_gnu_ld" = no
; then
14855 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14856 hardcode_libdir_separator_F77
=:
14858 hardcode_direct_F77
=yes
14859 export_dynamic_flag_spec_F77
='${wl}-E'
14861 # hardcode_minus_L: Not really in the search PATH,
14862 # but as the default location of the library.
14863 hardcode_minus_L_F77
=yes
14868 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14871 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14874 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14877 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14883 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14886 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14889 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14893 if test "$with_gnu_ld" = no
; then
14894 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14895 hardcode_libdir_separator_F77
=:
14899 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14900 hardcode_direct_F77
=no
14901 hardcode_shlibpath_var_F77
=no
14904 hardcode_direct_F77
=yes
14905 export_dynamic_flag_spec_F77
='${wl}-E'
14907 # hardcode_minus_L: Not really in the search PATH,
14908 # but as the default location of the library.
14909 hardcode_minus_L_F77
=yes
14915 irix5
* | irix6
* | nonstopux
*)
14916 if test "$GCC" = yes; then
14917 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'
14919 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'
14920 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14922 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14923 hardcode_libdir_separator_F77
=:
14924 link_all_deplibs_F77
=yes
14928 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14929 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14931 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14933 hardcode_libdir_flag_spec_F77
='-R$libdir'
14934 hardcode_direct_F77
=yes
14935 hardcode_shlibpath_var_F77
=no
14939 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14940 hardcode_direct_F77
=yes
14941 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14942 hardcode_libdir_separator_F77
=:
14943 hardcode_shlibpath_var_F77
=no
14947 hardcode_direct_F77
=yes
14948 hardcode_shlibpath_var_F77
=no
14949 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14950 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14951 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14952 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14953 export_dynamic_flag_spec_F77
='${wl}-E'
14956 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14957 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14958 hardcode_libdir_flag_spec_F77
='-R$libdir'
14961 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14962 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14969 hardcode_libdir_flag_spec_F77
='-L$libdir'
14970 hardcode_minus_L_F77
=yes
14971 allow_undefined_flag_F77
=unsupported
14972 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'
14973 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14977 if test "$GCC" = yes; then
14978 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14979 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'
14981 allow_undefined_flag_F77
=' -expect_unresolved \*'
14982 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'
14984 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14985 hardcode_libdir_separator_F77
=:
14988 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14989 if test "$GCC" = yes; then
14990 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14991 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'
14992 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14994 allow_undefined_flag_F77
=' -expect_unresolved \*'
14995 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'
14996 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~
14997 $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'
14999 # Both c and cxx compiler support -rpath directly
15000 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15002 hardcode_libdir_separator_F77
=:
15006 no_undefined_flag_F77
=' -z text'
15007 if test "$GCC" = yes; then
15009 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15010 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15011 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15014 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15015 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15016 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15018 hardcode_libdir_flag_spec_F77
='-R$libdir'
15019 hardcode_shlibpath_var_F77
=no
15021 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15023 # The compiler driver will combine linker options so we
15024 # cannot just pass the convience library names through
15025 # without $wl, iff we do not link with $LD.
15026 # Luckily, gcc supports the same syntax we need for Sun Studio.
15027 # Supported since Solaris 2.6 (maybe 2.5.1?)
15030 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15032 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' ;;
15035 link_all_deplibs_F77
=yes
15039 if test "x$host_vendor" = xsequent
; then
15040 # Use $CC to link under sequent, because it throws in some extra .o
15041 # files that make .init and .fini sections work.
15042 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15044 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15046 hardcode_libdir_flag_spec_F77
='-L$libdir'
15047 hardcode_direct_F77
=yes
15048 hardcode_minus_L_F77
=yes
15049 hardcode_shlibpath_var_F77
=no
15053 case $host_vendor in
15055 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15056 hardcode_direct_F77
=yes # is this really true???
15059 ## LD is ld it makes a PLAMLIB
15060 ## CC just makes a GrossModule.
15061 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15062 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15063 hardcode_direct_F77
=no
15066 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15067 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15070 runpath_var
='LD_RUN_PATH'
15071 hardcode_shlibpath_var_F77
=no
15075 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15076 hardcode_shlibpath_var_F77
=no
15077 export_dynamic_flag_spec_F77
='-Bexport'
15081 if test -d /usr
/nec
; then
15082 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15083 hardcode_shlibpath_var_F77
=no
15084 runpath_var
=LD_RUN_PATH
15085 hardcode_runpath_var
=yes
15090 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15091 no_undefined_flag_F77
='${wl}-z,text'
15092 archive_cmds_need_lc_F77
=no
15093 hardcode_shlibpath_var_F77
=no
15094 runpath_var
='LD_RUN_PATH'
15096 if test "$GCC" = yes; then
15097 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15098 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15100 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15101 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15105 sysv5
* | sco3.2v5
* | sco5v6
*)
15106 # Note: We can NOT use -z defs as we might desire, because we do not
15107 # link with -lc, and that would cause any symbols used from libc to
15108 # always be unresolved, which means just about no library would
15109 # ever link correctly. If we're not using GNU ld we use -z text
15110 # though, which does catch some bad symbols but isn't as heavy-handed
15112 no_undefined_flag_F77
='${wl}-z,text'
15113 allow_undefined_flag_F77
='${wl}-z,nodefs'
15114 archive_cmds_need_lc_F77
=no
15115 hardcode_shlibpath_var_F77
=no
15116 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15117 hardcode_libdir_separator_F77
=':'
15118 link_all_deplibs_F77
=yes
15119 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15120 runpath_var
='LD_RUN_PATH'
15122 if test "$GCC" = yes; then
15123 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15124 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15126 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15127 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15132 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15133 hardcode_libdir_flag_spec_F77
='-L$libdir'
15134 hardcode_shlibpath_var_F77
=no
15143 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15144 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15145 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15148 # Do we need to explicitly link libc?
15150 case "x$archive_cmds_need_lc_F77" in
15152 # Assume -lc should be added
15153 archive_cmds_need_lc_F77
=yes
15155 if test "$enable_shared" = yes && test "$GCC" = yes; then
15156 case $archive_cmds_F77 in
15158 # FIXME: we may have to deal with multi-command sequences.
15161 # Test whether the compiler implicitly links with -lc since on some
15162 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15163 # to ld, don't add -lc before -lgcc.
15164 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15165 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15167 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15170 (eval $ac_compile) 2>&5
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); } 2>conftest.err
; then
15176 libobjs
=conftest.
$ac_objext
15178 wl
=$lt_prog_compiler_wl_F77
15179 pic_flag
=$lt_prog_compiler_pic_F77
15185 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15186 allow_undefined_flag_F77
=
15187 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15188 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); }
15193 archive_cmds_need_lc_F77
=no
15195 archive_cmds_need_lc_F77
=yes
15197 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15199 cat conftest.err
1>&5
15202 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15203 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15210 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15211 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15212 library_names_spec
=
15213 libname_spec
='lib$name'
15217 postuninstall_cmds
=
15221 shlibpath_overrides_runpath
=unknown
15223 dynamic_linker
="$host_os ld.so"
15224 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15225 if test "$GCC" = yes; then
15226 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15227 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15228 # if the path contains ";" then we assume it to be the separator
15229 # otherwise default to the standard path separator (i.e. ":") - it is
15230 # assumed that no part of a normal pathname contains ";" but that should
15231 # okay in the real world where ";" in dirpaths is itself problematic.
15232 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15234 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15237 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15239 need_lib_prefix
=unknown
15240 hardcode_into_libs
=no
15242 # when you set need_version to no, make sure it does not cause -set_version
15243 # flags to be left without arguments
15244 need_version
=unknown
15249 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15250 shlibpath_var
=LIBPATH
15252 # AIX 3 has no versioning support, so we append a major version to the name.
15253 soname_spec
='${libname}${release}${shared_ext}$major'
15260 hardcode_into_libs
=yes
15261 if test "$host_cpu" = ia64
; then
15262 # AIX 5 supports IA64
15263 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15264 shlibpath_var
=LD_LIBRARY_PATH
15266 # With GCC up to 2.95.x, collect2 would create an import file
15267 # for dependence libraries. The import file would start with
15268 # the line `#! .'. This would cause the generated library to
15269 # depend on `.', always an invalid library. This was fixed in
15270 # development snapshots of GCC prior to 3.0.
15272 aix4 | aix4.
[01] | aix4.
[01].
*)
15273 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15275 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15278 can_build_shared
=no
15282 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15283 # soname into executable. Probably we can add versioning support to
15284 # collect2, so additional links can be useful in future.
15285 if test "$aix_use_runtimelinking" = yes; then
15286 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15287 # instead of lib<name>.a to let people know that these are not
15288 # typical AIX shared libraries.
15289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15291 # We preserve .a as extension for shared libraries through AIX4.2
15292 # and later when we are not doing run time linking.
15293 library_names_spec
='${libname}${release}.a $libname.a'
15294 soname_spec
='${libname}${release}${shared_ext}$major'
15296 shlibpath_var
=LIBPATH
15301 library_names_spec
='$libname.ixlibrary $libname.a'
15302 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15303 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'
15307 library_names_spec
='${libname}${shared_ext}'
15308 dynamic_linker
="$host_os ld.so"
15309 shlibpath_var
=LIBRARY_PATH
15315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15316 soname_spec
='${libname}${release}${shared_ext}$major'
15317 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15318 shlibpath_var
=LD_LIBRARY_PATH
15319 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15320 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15321 # the default ld.so.conf also contains /usr/contrib/lib and
15322 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15323 # libtool to hard-code these into programs
15326 cygwin
* | mingw
* | pw32
*)
15327 version_type
=windows
15332 case $GCC,$host_os in
15333 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15334 library_names_spec
='$libname.dll.a'
15335 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15336 postinstall_cmds
='base_file=`basename \${file}`~
15337 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15338 dldir=$destdir/`dirname \$dlpath`~
15339 test -d \$dldir || mkdir -p \$dldir~
15340 $install_prog $dir/$dlname \$dldir/$dlname~
15341 chmod a+x \$dldir/$dlname'
15342 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15343 dlpath=$dir/\$dldll~
15345 shlibpath_overrides_runpath
=yes
15349 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15350 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15351 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15354 # MinGW DLLs use traditional 'lib' prefix
15355 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15356 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15357 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15358 # It is most probably a Windows format PATH printed by
15359 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15360 # path with ; separators, and with drive letters. We can handle the
15361 # drive letters (cygwin fileutils understands them), so leave them,
15362 # especially as we might pass files found there to a mingw objdump,
15363 # which wouldn't understand a cygwinified path. Ahh.
15364 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15366 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15370 # pw32 DLLs use 'pw' prefix rather than 'lib'
15371 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15377 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15380 dynamic_linker
='Win32 ld.exe'
15381 # FIXME: first we should search . and the directory the executable is in
15385 darwin
* | rhapsody
*)
15386 dynamic_linker
="$host_os dyld"
15387 version_type
=darwin
15390 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15391 soname_spec
='${libname}${release}${major}$shared_ext'
15392 shlibpath_overrides_runpath
=yes
15393 shlibpath_var
=DYLD_LIBRARY_PATH
15394 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15395 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15396 if test "$GCC" = yes; then
15397 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"`
15399 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15401 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15409 soname_spec
='${libname}${release}${shared_ext}$major'
15410 shlibpath_var
=LD_LIBRARY_PATH
15421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15422 soname_spec
='${libname}${release}${shared_ext}$major'
15423 shlibpath_var
=LD_LIBRARY_PATH
15424 shlibpath_overrides_runpath
=no
15425 hardcode_into_libs
=yes
15426 dynamic_linker
='GNU ld.so'
15429 freebsd
* | dragonfly
*)
15430 # DragonFly does not have aout. When/if they implement a new
15431 # versioning mechanism, adjust this.
15432 if test -x /usr
/bin
/objformat
; then
15433 objformat
=`/usr/bin/objformat`
15436 freebsd
[123]*) objformat
=aout
;;
15437 *) objformat
=elf
;;
15440 version_type
=freebsd-
$objformat
15441 case $version_type in
15443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15448 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15452 shlibpath_var
=LD_LIBRARY_PATH
15455 shlibpath_overrides_runpath
=yes
15457 freebsd3.
[01]* | freebsdelf3.
[01]*)
15458 shlibpath_overrides_runpath
=yes
15459 hardcode_into_libs
=yes
15461 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15462 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15463 shlibpath_overrides_runpath
=no
15464 hardcode_into_libs
=yes
15466 freebsd
*) # from 4.6 on
15467 shlibpath_overrides_runpath
=yes
15468 hardcode_into_libs
=yes
15477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15478 soname_spec
='${libname}${release}${shared_ext}$major'
15479 shlibpath_var
=LD_LIBRARY_PATH
15480 hardcode_into_libs
=yes
15483 hpux9
* | hpux10
* | hpux11
*)
15484 # Give a soname corresponding to the major version so that dld.sl refuses to
15485 # link against other versions.
15492 hardcode_into_libs
=yes
15493 dynamic_linker
="$host_os dld.so"
15494 shlibpath_var
=LD_LIBRARY_PATH
15495 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15497 soname_spec
='${libname}${release}${shared_ext}$major'
15498 if test "X$HPUX_IA64_MODE" = X32
; then
15499 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15501 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15503 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15507 hardcode_into_libs
=yes
15508 dynamic_linker
="$host_os dld.sl"
15509 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15510 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15512 soname_spec
='${libname}${release}${shared_ext}$major'
15513 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15514 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15518 dynamic_linker
="$host_os dld.sl"
15519 shlibpath_var
=SHLIB_PATH
15520 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15522 soname_spec
='${libname}${release}${shared_ext}$major'
15525 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15526 postinstall_cmds
='chmod 555 $lib'
15533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15534 soname_spec
='${libname}${release}${shared_ext}$major'
15535 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15536 shlibpath_var
=LD_LIBRARY_PATH
15537 shlibpath_overrides_runpath
=no
15538 hardcode_into_libs
=yes
15541 irix5
* | irix6
* | nonstopux
*)
15543 nonstopux
*) version_type
=nonstopux
;;
15545 if test "$lt_cv_prog_gnu_ld" = yes; then
15553 soname_spec
='${libname}${release}${shared_ext}$major'
15554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15556 irix5
* | nonstopux
*)
15557 libsuff
= shlibsuff
=
15560 case $LD in # libtool.m4 will add one of these switches to LD
15561 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15562 libsuff
= shlibsuff
= libmagic
=32-bit;;
15563 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15564 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15565 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15566 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15567 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15571 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15572 shlibpath_overrides_runpath
=no
15573 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15574 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15575 hardcode_into_libs
=yes
15578 # No shared lib support for Linux oldld, aout, or coff.
15579 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15583 # This must be Linux ELF.
15588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15589 soname_spec
='${libname}${release}${shared_ext}$major'
15590 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15591 shlibpath_var
=LD_LIBRARY_PATH
15592 shlibpath_overrides_runpath
=no
15593 # This implies no fast_install, which is unacceptable.
15594 # Some rework will be needed to allow for fast_install
15595 # before this can be enabled.
15596 hardcode_into_libs
=yes
15598 # find out which ABI we are using
15600 case "$host_cpu" in
15601 x86_64
*|s390x
*|powerpc64
*)
15602 echo '#line 15602 "configure"' > conftest.
$ac_ext
15603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15604 (eval $ac_compile) 2>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; then
15608 case `/usr/bin/file conftest.$ac_objext` in
15611 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15619 # Append ld.so.conf contents to the search path
15620 if test -f /etc
/ld.so.conf
; then
15621 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15622 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15625 # We used to test for /lib/ld.so.1 and disable shared libraries on
15626 # powerpc, because MkLinux only supported shared libraries with the
15627 # GNU dynamic linker. Since this was broken with cross compilers,
15628 # most powerpc-linux boxes support dynamic linking these days and
15629 # people can always --disable-shared, the test was removed, and we
15630 # assume the GNU/Linux dynamic linker is in use.
15631 dynamic_linker
='GNU/Linux ld.so'
15638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15639 soname_spec
='${libname}${release}${shared_ext}$major'
15640 shlibpath_var
=LD_LIBRARY_PATH
15641 shlibpath_overrides_runpath
=no
15642 hardcode_into_libs
=yes
15643 dynamic_linker
='GNU ld.so'
15650 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15652 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15653 dynamic_linker
='NetBSD (a.out) ld.so'
15655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15656 soname_spec
='${libname}${release}${shared_ext}$major'
15657 dynamic_linker
='NetBSD ld.elf_so'
15659 shlibpath_var
=LD_LIBRARY_PATH
15660 shlibpath_overrides_runpath
=yes
15661 hardcode_into_libs
=yes
15666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15667 shlibpath_var
=LD_LIBRARY_PATH
15668 shlibpath_overrides_runpath
=yes
15675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15676 soname_spec
='${libname}${release}${shared_ext}$major'
15677 shlibpath_var
=LD_LIBRARY_PATH
15678 shlibpath_overrides_runpath
=yes
15683 sys_lib_dlsearch_path_spec
="/usr/lib"
15685 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15687 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15688 *) need_version
=no
;;
15690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15691 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15692 shlibpath_var
=LD_LIBRARY_PATH
15693 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15695 openbsd2.
[89] | openbsd2.
[89].
*)
15696 shlibpath_overrides_runpath
=no
15699 shlibpath_overrides_runpath
=yes
15703 shlibpath_overrides_runpath
=yes
15708 libname_spec
='$name'
15711 library_names_spec
='$libname${shared_ext} $libname.a'
15712 dynamic_linker
='OS/2 ld.exe'
15713 shlibpath_var
=LIBPATH
15716 osf3
* | osf4
* | osf5
*)
15720 soname_spec
='${libname}${release}${shared_ext}$major'
15721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15722 shlibpath_var
=LD_LIBRARY_PATH
15723 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15724 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15732 soname_spec
='${libname}${release}${shared_ext}$major'
15733 shlibpath_var
=LD_LIBRARY_PATH
15734 shlibpath_overrides_runpath
=yes
15735 hardcode_into_libs
=yes
15736 # ldd complains unless libraries are executable
15737 postinstall_cmds
='chmod +x $lib'
15742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15743 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15744 shlibpath_var
=LD_LIBRARY_PATH
15745 shlibpath_overrides_runpath
=yes
15746 if test "$with_gnu_ld" = yes; then
15754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15755 soname_spec
='${libname}${release}${shared_ext}$major'
15756 shlibpath_var
=LD_LIBRARY_PATH
15757 case $host_vendor in
15759 shlibpath_overrides_runpath
=no
15761 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15762 runpath_var
=LD_RUN_PATH
15770 shlibpath_overrides_runpath
=no
15771 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15777 if test -d /usr
/nec
;then
15779 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15780 soname_spec
='$libname${shared_ext}.$major'
15781 shlibpath_var
=LD_LIBRARY_PATH
15785 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15786 version_type
=freebsd-elf
15789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15790 soname_spec
='${libname}${release}${shared_ext}$major'
15791 shlibpath_var
=LD_LIBRARY_PATH
15792 hardcode_into_libs
=yes
15793 if test "$with_gnu_ld" = yes; then
15794 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15795 shlibpath_overrides_runpath
=no
15797 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15798 shlibpath_overrides_runpath
=yes
15801 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15805 sys_lib_dlsearch_path_spec
='/usr/lib'
15810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15811 soname_spec
='${libname}${release}${shared_ext}$major'
15812 shlibpath_var
=LD_LIBRARY_PATH
15819 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15820 echo "${ECHO_T}$dynamic_linker" >&6; }
15821 test "$dynamic_linker" = no
&& can_build_shared
=no
15823 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15824 if test "$GCC" = yes; then
15825 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15828 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15829 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15830 hardcode_action_F77
=
15831 if test -n "$hardcode_libdir_flag_spec_F77" || \
15832 test -n "$runpath_var_F77" || \
15833 test "X$hardcode_automatic_F77" = "Xyes" ; then
15835 # We can hardcode non-existant directories.
15836 if test "$hardcode_direct_F77" != no
&&
15837 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15838 # have to relink, otherwise we might link with an installed library
15839 # when we should be linking with a yet-to-be-installed one
15840 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15841 test "$hardcode_minus_L_F77" != no
; then
15842 # Linking always hardcodes the temporary library directory.
15843 hardcode_action_F77
=relink
15845 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15846 hardcode_action_F77
=immediate
15849 # We cannot hardcode anything, or else we can only hardcode existing
15851 hardcode_action_F77
=unsupported
15853 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15854 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15856 if test "$hardcode_action_F77" = relink
; then
15857 # Fast installation is not supported
15858 enable_fast_install
=no
15859 elif test "$shlibpath_overrides_runpath" = yes ||
15860 test "$enable_shared" = no
; then
15861 # Fast installation is not necessary
15862 enable_fast_install
=needless
15866 # The else clause should only fire when bootstrapping the
15867 # libtool distribution, otherwise you forgot to ship ltmain.sh
15868 # with your package, and you will get complaints that there are
15869 # no rules to generate ltmain.sh.
15870 if test -f "$ltmain"; then
15871 # See if we are running on zsh, and set the options which allow our commands through
15872 # without removal of \ escapes.
15873 if test -n "${ZSH_VERSION+set}" ; then
15874 setopt NO_GLOB_SUBST
15876 # Now quote all the things that may contain metacharacters while being
15877 # careful not to overquote the AC_SUBSTed values. We take copies of the
15878 # variables and quote the copies for generation of the libtool script.
15879 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15881 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15882 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15883 deplibs_check_method reload_flag reload_cmds need_locks \
15884 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15885 lt_cv_sys_global_symbol_to_c_name_address \
15886 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15887 old_postinstall_cmds old_postuninstall_cmds \
15891 lt_prog_compiler_wl_F77 \
15892 lt_prog_compiler_pic_F77 \
15893 lt_prog_compiler_static_F77 \
15894 lt_prog_compiler_no_builtin_flag_F77 \
15895 export_dynamic_flag_spec_F77 \
15896 thread_safe_flag_spec_F77 \
15897 whole_archive_flag_spec_F77 \
15898 enable_shared_with_static_runtimes_F77 \
15899 old_archive_cmds_F77 \
15900 old_archive_from_new_cmds_F77 \
15901 predep_objects_F77 \
15902 postdep_objects_F77 \
15905 compiler_lib_search_path_F77 \
15907 archive_expsym_cmds_F77 \
15908 postinstall_cmds_F77 \
15909 postuninstall_cmds_F77 \
15910 old_archive_from_expsyms_cmds_F77 \
15911 allow_undefined_flag_F77 \
15912 no_undefined_flag_F77 \
15913 export_symbols_cmds_F77 \
15914 hardcode_libdir_flag_spec_F77 \
15915 hardcode_libdir_flag_spec_ld_F77 \
15916 hardcode_libdir_separator_F77 \
15917 hardcode_automatic_F77 \
15919 module_expsym_cmds_F77 \
15920 lt_cv_prog_compiler_c_o_F77 \
15921 exclude_expsyms_F77 \
15922 include_expsyms_F77
; do
15925 old_archive_cmds_F77 | \
15926 old_archive_from_new_cmds_F77 | \
15927 archive_cmds_F77 | \
15928 archive_expsym_cmds_F77 | \
15929 module_cmds_F77 | \
15930 module_expsym_cmds_F77 | \
15931 old_archive_from_expsyms_cmds_F77 | \
15932 export_symbols_cmds_F77 | \
15933 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15934 postinstall_cmds | postuninstall_cmds | \
15935 old_postinstall_cmds | old_postuninstall_cmds | \
15936 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15937 # Double-quote double-evaled strings.
15938 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15941 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15947 *'\$0 --fallback-echo"')
15948 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15954 cat <<__EOF__ >> "$cfgfile"
15955 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15957 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15959 # Shell to use when invoking shell scripts.
15962 # Whether or not to build shared libraries.
15963 build_libtool_libs=$enable_shared
15965 # Whether or not to build static libraries.
15966 build_old_libs=$enable_static
15968 # Whether or not to add -lc for building shared libraries.
15969 build_libtool_need_lc=$archive_cmds_need_lc_F77
15971 # Whether or not to disallow shared libs when runtime libs are static
15972 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15974 # Whether or not to optimize for fast installation.
15975 fast_install=$enable_fast_install
15978 host_alias=$host_alias
15982 # The build system.
15983 build_alias=$build_alias
15987 # An echo program that does not interpret backslashes.
15992 AR_FLAGS=$lt_AR_FLAGS
15997 # LTCC compiler flags.
15998 LTCFLAGS=$lt_LTCFLAGS
16000 # A language-specific compiler.
16001 CC=$lt_compiler_F77
16003 # Is the compiler the GNU C compiler?
16009 # The linker used to build libraries.
16012 # Whether we need hard or soft links.
16015 # A BSD-compatible nm program.
16018 # A symbol stripping program
16021 # Used to examine libraries when file_magic_cmd begins "file"
16022 MAGIC_CMD=$MAGIC_CMD
16024 # Used on cygwin: DLL creation program.
16027 # Used on cygwin: object dumper.
16030 # Used on cygwin: assembler.
16033 # The name of the directory that contains temporary libtool files.
16036 # How to create reloadable object files.
16037 reload_flag=$lt_reload_flag
16038 reload_cmds=$lt_reload_cmds
16040 # How to pass a linker flag through the compiler.
16041 wl=$lt_lt_prog_compiler_wl_F77
16043 # Object file suffix (normally "o").
16044 objext="$ac_objext"
16046 # Old archive suffix (normally "a").
16049 # Shared library suffix (normally ".so").
16050 shrext_cmds='$shrext_cmds'
16052 # Executable file suffix (normally "").
16055 # Additional compiler flags for building library objects.
16056 pic_flag=$lt_lt_prog_compiler_pic_F77
16059 # What is the maximum length of a command?
16060 max_cmd_len=$lt_cv_sys_max_cmd_len
16062 # Does compiler simultaneously support -c and -o options?
16063 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16065 # Must we lock files when doing compilation?
16066 need_locks=$lt_need_locks
16068 # Do we need the lib prefix for modules?
16069 need_lib_prefix=$need_lib_prefix
16071 # Do we need a version for libraries?
16072 need_version=$need_version
16074 # Whether dlopen is supported.
16075 dlopen_support=$enable_dlopen
16077 # Whether dlopen of programs is supported.
16078 dlopen_self=$enable_dlopen_self
16080 # Whether dlopen of statically linked programs is supported.
16081 dlopen_self_static=$enable_dlopen_self_static
16083 # Compiler flag to prevent dynamic linking.
16084 link_static_flag=$lt_lt_prog_compiler_static_F77
16086 # Compiler flag to turn off builtin functions.
16087 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16089 # Compiler flag to allow reflexive dlopens.
16090 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16092 # Compiler flag to generate shared objects directly from archives.
16093 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16095 # Compiler flag to generate thread-safe objects.
16096 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16098 # Library versioning type.
16099 version_type=$version_type
16101 # Format of library name prefix.
16102 libname_spec=$lt_libname_spec
16104 # List of archive names. First name is the real one, the rest are links.
16105 # The last name is the one that the linker finds with -lNAME.
16106 library_names_spec=$lt_library_names_spec
16108 # The coded name of the library, if different from the real name.
16109 soname_spec=$lt_soname_spec
16111 # Commands used to build and install an old-style archive.
16113 old_archive_cmds=$lt_old_archive_cmds_F77
16114 old_postinstall_cmds=$lt_old_postinstall_cmds
16115 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16117 # Create an old-style archive from a shared archive.
16118 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16120 # Create a temporary old-style archive to link instead of a shared archive.
16121 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16123 # Commands used to build and install a shared archive.
16124 archive_cmds=$lt_archive_cmds_F77
16125 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16126 postinstall_cmds=$lt_postinstall_cmds
16127 postuninstall_cmds=$lt_postuninstall_cmds
16129 # Commands used to build a loadable module (assumed same as above if empty)
16130 module_cmds=$lt_module_cmds_F77
16131 module_expsym_cmds=$lt_module_expsym_cmds_F77
16133 # Commands to strip libraries.
16134 old_striplib=$lt_old_striplib
16135 striplib=$lt_striplib
16137 # Dependencies to place before the objects being linked to create a
16139 predep_objects=$lt_predep_objects_F77
16141 # Dependencies to place after the objects being linked to create a
16143 postdep_objects=$lt_postdep_objects_F77
16145 # Dependencies to place before the objects being linked to create a
16147 predeps=$lt_predeps_F77
16149 # Dependencies to place after the objects being linked to create a
16151 postdeps=$lt_postdeps_F77
16153 # The library search path used internally by the compiler when linking
16154 # a shared library.
16155 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16157 # Method to check whether dependent libraries are shared objects.
16158 deplibs_check_method=$lt_deplibs_check_method
16160 # Command to use when deplibs_check_method == file_magic.
16161 file_magic_cmd=$lt_file_magic_cmd
16163 # Flag that allows shared libraries with undefined symbols to be built.
16164 allow_undefined_flag=$lt_allow_undefined_flag_F77
16166 # Flag that forces no undefined symbols.
16167 no_undefined_flag=$lt_no_undefined_flag_F77
16169 # Commands used to finish a libtool library installation in a directory.
16170 finish_cmds=$lt_finish_cmds
16172 # Same as above, but a single script fragment to be evaled but not shown.
16173 finish_eval=$lt_finish_eval
16175 # Take the output of nm and produce a listing of raw symbols and C names.
16176 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16178 # Transform the output of nm in a proper C declaration
16179 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16181 # Transform the output of nm in a C name address pair
16182 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16184 # This is the shared library runtime path variable.
16185 runpath_var=$runpath_var
16187 # This is the shared library path variable.
16188 shlibpath_var=$shlibpath_var
16190 # Is shlibpath searched before the hard-coded library search path?
16191 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16193 # How to hardcode a shared library path into an executable.
16194 hardcode_action=$hardcode_action_F77
16196 # Whether we should hardcode library paths into libraries.
16197 hardcode_into_libs=$hardcode_into_libs
16199 # Flag to hardcode \$libdir into a binary during linking.
16200 # This must work even if \$libdir does not exist.
16201 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16203 # If ld is used when linking, flag to hardcode \$libdir into
16204 # a binary during linking. This must work even if \$libdir does
16206 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16208 # Whether we need a single -rpath flag with a separated argument.
16209 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16211 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16212 # resulting binary.
16213 hardcode_direct=$hardcode_direct_F77
16215 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16216 # resulting binary.
16217 hardcode_minus_L=$hardcode_minus_L_F77
16219 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16220 # the resulting binary.
16221 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16223 # Set to yes if building a shared library automatically hardcodes DIR into the library
16224 # and all subsequent libraries and executables linked against it.
16225 hardcode_automatic=$hardcode_automatic_F77
16227 # Variables whose values should be saved in libtool wrapper scripts and
16228 # restored at relink time.
16229 variables_saved_for_relink="$variables_saved_for_relink"
16231 # Whether libtool must link a program against all its dependency libraries.
16232 link_all_deplibs=$link_all_deplibs_F77
16234 # Compile-time system search path for libraries
16235 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16237 # Run-time system search path for libraries
16238 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16240 # Fix the shell variable \$srcfile for the compiler.
16241 fix_srcfile_path="$fix_srcfile_path_F77"
16243 # Set to yes if exported symbols are required.
16244 always_export_symbols=$always_export_symbols_F77
16246 # The commands to list exported symbols.
16247 export_symbols_cmds=$lt_export_symbols_cmds_F77
16249 # The commands to extract the exported symbol list from a shared archive.
16250 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16252 # Symbols that should not be listed in the preloaded symbols.
16253 exclude_expsyms=$lt_exclude_expsyms_F77
16255 # Symbols that must always be exported.
16256 include_expsyms=$lt_include_expsyms_F77
16258 # ### END LIBTOOL TAG CONFIG: $tagname
16264 # If there is no Makefile yet, we rely on a make rule to execute
16265 # `config.status --recheck' to rerun these tests and create the
16266 # libtool script then.
16267 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16268 if test -f "$ltmain_in"; then
16269 test -f Makefile
&& make "$ltmain"
16275 ac_cpp
='$CPP $CPPFLAGS'
16276 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16277 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16278 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16288 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16291 # Source file extension for Java test sources.
16294 # Object file extension for compiled Java test sources.
16298 # Code to be used in simple compile tests
16299 lt_simple_compile_test_code
="class foo {}\n"
16301 # Code to be used in simple link tests
16302 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16304 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16306 # If no C compiler was specified, use CC.
16309 # If no C compiler flags were specified, use CFLAGS.
16310 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16312 # Allow CC to be a program name with arguments.
16316 # save warnings/boilerplate of simple test code
16317 ac_outfile
=conftest.
$ac_objext
16318 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16319 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16320 _lt_compiler_boilerplate
=`cat conftest.err`
16323 ac_outfile
=conftest.
$ac_objext
16324 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16325 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16326 _lt_linker_boilerplate
=`cat conftest.err`
16330 # Allow CC to be a program name with arguments.
16335 for cc_temp
in $compiler""; do
16337 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16338 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16343 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16346 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16347 archive_cmds_need_lc_GCJ
=no
16349 old_archive_cmds_GCJ
=$old_archive_cmds
16352 lt_prog_compiler_no_builtin_flag_GCJ
=
16354 if test "$GCC" = yes; then
16355 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16358 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16359 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16360 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16361 echo $ECHO_N "(cached) $ECHO_C" >&6
16363 lt_cv_prog_compiler_rtti_exceptions
=no
16364 ac_outfile
=conftest.
$ac_objext
16365 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16366 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16367 # Insert the option either (1) after the last *FLAGS variable, or
16368 # (2) before a word containing "conftest.", or (3) at the end.
16369 # Note that $ac_compile itself does not contain backslashes and begins
16370 # with a dollar sign (not a hyphen), so the echo should work correctly.
16371 # The option is referenced via a variable to avoid confusing sed.
16372 lt_compile
=`echo "$ac_compile" | $SED \
16373 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16374 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16375 -e 's:$: $lt_compiler_flag:'`
16376 (eval echo "\"\$as_me:16376: $lt_compile\"" >&5)
16377 (eval "$lt_compile" 2>conftest.err
)
16379 cat conftest.err
>&5
16380 echo "$as_me:16380: \$? = $ac_status" >&5
16381 if (exit $ac_status) && test -s "$ac_outfile"; then
16382 # The compiler can only warn and ignore the option if not recognized
16383 # So say no if there are warnings other than the usual output.
16384 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16385 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16386 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16387 lt_cv_prog_compiler_rtti_exceptions
=yes
16393 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16394 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16396 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16397 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16404 lt_prog_compiler_wl_GCJ
=
16405 lt_prog_compiler_pic_GCJ
=
16406 lt_prog_compiler_static_GCJ
=
16408 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16409 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16411 if test "$GCC" = yes; then
16412 lt_prog_compiler_wl_GCJ
='-Wl,'
16413 lt_prog_compiler_static_GCJ
='-static'
16417 # All AIX code is PIC.
16418 if test "$host_cpu" = ia64
; then
16419 # AIX 5 now supports IA64 processor
16420 lt_prog_compiler_static_GCJ
='-Bstatic'
16425 # FIXME: we need at least 68020 code to build shared libraries, but
16426 # adding the `-m68020' flag to GCC prevents building anything better,
16428 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16431 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16432 # PIC is the default for these OSes.
16435 mingw
* | pw32
* | os2
*)
16436 # This hack is so that the source file can tell whether it is being
16437 # built for inclusion in a dll (and should export symbols for example).
16438 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16441 darwin
* | rhapsody
*)
16442 # PIC is the default on this platform
16443 # Common symbols not allowed in MH_DYLIB files
16444 lt_prog_compiler_pic_GCJ
='-fno-common'
16448 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16449 # Instead, we relocate shared libraries at runtime.
16453 # Just because we use GCC doesn't mean we suddenly get shared libraries
16454 # on systems that don't support them.
16455 lt_prog_compiler_can_build_shared_GCJ
=no
16460 if test -d /usr
/nec
; then
16461 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16466 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16467 # not for PA HP-UX.
16473 lt_prog_compiler_pic_GCJ
='-fPIC'
16479 lt_prog_compiler_pic_GCJ
='-fPIC'
16483 # PORTME Check for flag to pass linker flags through the system compiler.
16486 lt_prog_compiler_wl_GCJ
='-Wl,'
16487 if test "$host_cpu" = ia64
; then
16488 # AIX 5 now supports IA64 processor
16489 lt_prog_compiler_static_GCJ
='-Bstatic'
16491 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16495 # PIC is the default on this platform
16496 # Common symbols not allowed in MH_DYLIB files
16497 case $cc_basename in
16499 lt_prog_compiler_pic_GCJ
='-qnocommon'
16500 lt_prog_compiler_wl_GCJ
='-Wl,'
16505 mingw
* | pw32
* | os2
*)
16506 # This hack is so that the source file can tell whether it is being
16507 # built for inclusion in a dll (and should export symbols for example).
16508 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16511 hpux9
* | hpux10
* | hpux11
*)
16512 lt_prog_compiler_wl_GCJ
='-Wl,'
16513 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16514 # not for PA HP-UX.
16520 lt_prog_compiler_pic_GCJ
='+Z'
16523 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16524 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16527 irix5
* | irix6
* | nonstopux
*)
16528 lt_prog_compiler_wl_GCJ
='-Wl,'
16529 # PIC (with -KPIC) is the default.
16530 lt_prog_compiler_static_GCJ
='-non_shared'
16534 lt_prog_compiler_pic_GCJ
='-KPIC'
16535 lt_prog_compiler_static_GCJ
='-Bstatic'
16539 case $cc_basename in
16541 lt_prog_compiler_wl_GCJ
='-Wl,'
16542 lt_prog_compiler_pic_GCJ
='-KPIC'
16543 lt_prog_compiler_static_GCJ
='-static'
16545 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16546 # Portland Group compilers (*not* the Pentium gcc compiler,
16547 # which looks to be a dead project)
16548 lt_prog_compiler_wl_GCJ
='-Wl,'
16549 lt_prog_compiler_pic_GCJ
='-fpic'
16550 lt_prog_compiler_static_GCJ
='-Bstatic'
16553 lt_prog_compiler_wl_GCJ
='-Wl,'
16554 # All Alpha code is PIC.
16555 lt_prog_compiler_static_GCJ
='-non_shared'
16560 osf3
* | osf4
* | osf5
*)
16561 lt_prog_compiler_wl_GCJ
='-Wl,'
16562 # All OSF/1 code is PIC.
16563 lt_prog_compiler_static_GCJ
='-non_shared'
16567 lt_prog_compiler_pic_GCJ
='-KPIC'
16568 lt_prog_compiler_static_GCJ
='-Bstatic'
16569 case $cc_basename in
16570 f77
* | f90
* | f95
*)
16571 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16573 lt_prog_compiler_wl_GCJ
='-Wl,';;
16578 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16579 lt_prog_compiler_pic_GCJ
='-PIC'
16580 lt_prog_compiler_static_GCJ
='-Bstatic'
16583 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16584 lt_prog_compiler_wl_GCJ
='-Wl,'
16585 lt_prog_compiler_pic_GCJ
='-KPIC'
16586 lt_prog_compiler_static_GCJ
='-Bstatic'
16590 if test -d /usr
/nec
;then
16591 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16592 lt_prog_compiler_static_GCJ
='-Bstatic'
16596 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16597 lt_prog_compiler_wl_GCJ
='-Wl,'
16598 lt_prog_compiler_pic_GCJ
='-KPIC'
16599 lt_prog_compiler_static_GCJ
='-Bstatic'
16603 lt_prog_compiler_wl_GCJ
='-Wl,'
16604 lt_prog_compiler_can_build_shared_GCJ
=no
16608 lt_prog_compiler_pic_GCJ
='-pic'
16609 lt_prog_compiler_static_GCJ
='-Bstatic'
16613 lt_prog_compiler_can_build_shared_GCJ
=no
16618 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16619 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16622 # Check to make sure the PIC flag actually works.
16624 if test -n "$lt_prog_compiler_pic_GCJ"; then
16626 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16627 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16628 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16629 echo $ECHO_N "(cached) $ECHO_C" >&6
16631 lt_prog_compiler_pic_works_GCJ
=no
16632 ac_outfile
=conftest.
$ac_objext
16633 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16634 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16635 # Insert the option either (1) after the last *FLAGS variable, or
16636 # (2) before a word containing "conftest.", or (3) at the end.
16637 # Note that $ac_compile itself does not contain backslashes and begins
16638 # with a dollar sign (not a hyphen), so the echo should work correctly.
16639 # The option is referenced via a variable to avoid confusing sed.
16640 lt_compile
=`echo "$ac_compile" | $SED \
16641 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16643 -e 's:$: $lt_compiler_flag:'`
16644 (eval echo "\"\$as_me:16644: $lt_compile\"" >&5)
16645 (eval "$lt_compile" 2>conftest.err
)
16647 cat conftest.err
>&5
16648 echo "$as_me:16648: \$? = $ac_status" >&5
16649 if (exit $ac_status) && test -s "$ac_outfile"; then
16650 # The compiler can only warn and ignore the option if not recognized
16651 # So say no if there are warnings other than the usual output.
16652 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16653 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16654 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16655 lt_prog_compiler_pic_works_GCJ
=yes
16661 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16662 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16664 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16665 case $lt_prog_compiler_pic_GCJ in
16667 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16670 lt_prog_compiler_pic_GCJ
=
16671 lt_prog_compiler_can_build_shared_GCJ
=no
16676 # For platforms which do not support PIC, -DPIC is meaningless:
16678 lt_prog_compiler_pic_GCJ
=
16681 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16686 # Check to make sure the static flag actually works.
16688 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16689 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16690 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16691 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16692 echo $ECHO_N "(cached) $ECHO_C" >&6
16694 lt_prog_compiler_static_works_GCJ
=no
16695 save_LDFLAGS
="$LDFLAGS"
16696 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16697 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16698 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16699 # The linker can only warn and ignore the option if not recognized
16700 # So say no if there are warnings
16701 if test -s conftest.err
; then
16702 # Append any errors to the config.log.
16703 cat conftest.err
1>&5
16704 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16705 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16706 if diff conftest.exp conftest.er2
>/dev
/null
; then
16707 lt_prog_compiler_static_works_GCJ
=yes
16710 lt_prog_compiler_static_works_GCJ
=yes
16714 LDFLAGS
="$save_LDFLAGS"
16717 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16718 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16720 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16723 lt_prog_compiler_static_GCJ
=
16727 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16728 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16729 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16730 echo $ECHO_N "(cached) $ECHO_C" >&6
16732 lt_cv_prog_compiler_c_o_GCJ
=no
16733 $rm -r conftest
2>/dev
/null
16737 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16739 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16740 # Insert the option either (1) after the last *FLAGS variable, or
16741 # (2) before a word containing "conftest.", or (3) at the end.
16742 # Note that $ac_compile itself does not contain backslashes and begins
16743 # with a dollar sign (not a hyphen), so the echo should work correctly.
16744 lt_compile
=`echo "$ac_compile" | $SED \
16745 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16747 -e 's:$: $lt_compiler_flag:'`
16748 (eval echo "\"\$as_me:16748: $lt_compile\"" >&5)
16749 (eval "$lt_compile" 2>out
/conftest.err
)
16751 cat out
/conftest.err
>&5
16752 echo "$as_me:16752: \$? = $ac_status" >&5
16753 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16755 # The compiler can only warn and ignore the option if not recognized
16756 # So say no if there are warnings
16757 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16758 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16759 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16760 lt_cv_prog_compiler_c_o_GCJ
=yes
16765 # SGI C++ compiler will create directory out/ii_files/ for
16766 # template instantiation
16767 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16768 $rm out
/* && rmdir out
16774 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16775 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16778 hard_links
="nottested"
16779 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16780 # do not overwrite the value of need_locks provided by the user
16781 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16782 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16785 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16787 ln conftest.a conftest.b
2>&5 || hard_links
=no
16788 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16789 { echo "$as_me:$LINENO: result: $hard_links" >&5
16790 echo "${ECHO_T}$hard_links" >&6; }
16791 if test "$hard_links" = no
; then
16792 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16793 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16800 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16801 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16804 allow_undefined_flag_GCJ
=
16805 enable_shared_with_static_runtimes_GCJ
=no
16807 archive_expsym_cmds_GCJ
=
16808 old_archive_From_new_cmds_GCJ
=
16809 old_archive_from_expsyms_cmds_GCJ
=
16810 export_dynamic_flag_spec_GCJ
=
16811 whole_archive_flag_spec_GCJ
=
16812 thread_safe_flag_spec_GCJ
=
16813 hardcode_libdir_flag_spec_GCJ
=
16814 hardcode_libdir_flag_spec_ld_GCJ
=
16815 hardcode_libdir_separator_GCJ
=
16816 hardcode_direct_GCJ
=no
16817 hardcode_minus_L_GCJ
=no
16818 hardcode_shlibpath_var_GCJ
=unsupported
16819 link_all_deplibs_GCJ
=unknown
16820 hardcode_automatic_GCJ
=no
16822 module_expsym_cmds_GCJ
=
16823 always_export_symbols_GCJ
=no
16824 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16825 # include_expsyms should be a list of space-separated symbols to be *always*
16826 # included in the symbol list
16827 include_expsyms_GCJ
=
16828 # exclude_expsyms can be an extended regexp of symbols to exclude
16829 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16830 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16831 # as well as any symbol that contains `d'.
16832 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16833 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16834 # platforms (ab)use it in PIC code, but their linkers get confused if
16835 # the symbol is explicitly referenced. Since portable code cannot
16836 # rely on this symbol name, it's probably fine to never include it in
16837 # preloaded symbol tables.
16838 extract_expsyms_cmds
=
16839 # Just being paranoid about ensuring that cc_basename is set.
16840 for cc_temp
in $compiler""; do
16842 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16843 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16848 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16851 cygwin
* | mingw
* | pw32
*)
16852 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16853 # When not using gcc, we currently assume that we are using
16854 # Microsoft Visual C++.
16855 if test "$GCC" != yes; then
16860 # we just hope/assume this is gcc and not c89 (= MSVC++)
16869 if test "$with_gnu_ld" = yes; then
16870 # If archive_cmds runs LD, not CC, wlarc should be empty
16873 # Set some defaults for GNU ld with shared library support. These
16874 # are reset later if shared libraries are not supported. Putting them
16875 # here allows them to be overridden if necessary.
16876 runpath_var
=LD_RUN_PATH
16877 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16878 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16879 # ancient GNU ld didn't support --whole-archive et. al.
16880 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16881 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16883 whole_archive_flag_spec_GCJ
=
16885 supports_anon_versioning
=no
16886 case `$LD -v 2>/dev/null` in
16887 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16888 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16889 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16890 *\
2.11.
*) ;; # other 2.11 versions
16891 *) supports_anon_versioning
=yes ;;
16894 # See if GNU ld supports shared libraries.
16896 aix3
* | aix4
* | aix5
*)
16897 # On AIX/PPC, the GNU linker is very broken
16898 if test "$host_cpu" != ia64
; then
16902 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16903 *** to be unable to reliably create shared libraries on AIX.
16904 *** Therefore, libtool is disabling shared libraries support. If you
16905 *** really care for shared libraries, you may want to modify your PATH
16906 *** so that a non-GNU linker is found, and then restart.
16913 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)'
16914 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16915 hardcode_minus_L_GCJ
=yes
16917 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16918 # that the semantics of dynamic libraries on AmigaOS, at least up
16919 # to version 4, is to share data among multiple programs linked
16920 # with the same dynamic library. Since this doesn't match the
16921 # behavior of shared libraries on other platforms, we can't use
16927 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16928 allow_undefined_flag_GCJ
=unsupported
16929 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16930 # support --undefined. This deserves some investigation. FIXME
16931 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16937 cygwin
* | mingw
* | pw32
*)
16938 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16939 # as there is no search path for DLLs.
16940 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16941 allow_undefined_flag_GCJ
=unsupported
16942 always_export_symbols_GCJ
=no
16943 enable_shared_with_static_runtimes_GCJ
=yes
16944 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16946 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16947 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16948 # If the export-symbols file already is a .def file (1st line
16949 # is EXPORTS), use it as is; otherwise, prepend...
16950 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16951 cp $export_symbols $output_objdir/$soname.def;
16953 echo EXPORTS > $output_objdir/$soname.def;
16954 cat $export_symbols >> $output_objdir/$soname.def;
16956 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16963 hardcode_direct_GCJ
=no
16964 hardcode_shlibpath_var_GCJ
=no
16965 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16966 export_dynamic_flag_spec_GCJ
='${wl}-E'
16967 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16968 # Instead, shared libraries are loaded at an image base (0x10000000 by
16969 # default) and relocated if they conflict, which is a slow very memory
16970 # consuming and fragmenting process. To avoid this, we pick a random,
16971 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16972 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16973 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'
16974 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'
16978 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16980 case $cc_basename,$host_cpu in
16981 pgcc
*) # Portland Group C compiler
16982 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'
16983 tmp_addflag
=' $pic_flag'
16985 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16986 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'
16987 tmp_addflag
=' $pic_flag -Mnomain' ;;
16988 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16989 tmp_addflag
=' -i_dynamic' ;;
16990 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16991 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16992 ifc
* | ifort
*) # Intel Fortran compiler
16993 tmp_addflag
=' -nofor_main' ;;
16995 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16997 if test $supports_anon_versioning = yes; then
16998 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16999 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17000 $echo "local: *; };" >> $output_objdir/$libname.ver~
17001 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17009 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17010 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17013 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17014 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17019 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17023 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17024 *** create shared libraries on Solaris systems. Therefore, libtool
17025 *** is disabling shared libraries support. We urge you to upgrade GNU
17026 *** binutils to release 2.9.1 or newer. Another option is to modify
17027 *** your PATH or compiler configuration so that the native linker is
17028 *** used, and then restart.
17031 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17032 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17033 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17039 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17040 case `$LD -v 2>&1` in
17041 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17045 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17046 *** reliably create shared libraries on SCO systems. Therefore, libtool
17047 *** is disabling shared libraries support. We urge you to upgrade GNU
17048 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17049 *** your PATH or compiler configuration so that the native linker is
17050 *** used, and then restart.
17055 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17056 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17057 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17058 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17067 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17069 hardcode_direct_GCJ
=yes
17070 hardcode_shlibpath_var_GCJ
=no
17074 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17075 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17076 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17083 if test "$ld_shlibs_GCJ" = no
; then
17085 hardcode_libdir_flag_spec_GCJ
=
17086 export_dynamic_flag_spec_GCJ
=
17087 whole_archive_flag_spec_GCJ
=
17090 # PORTME fill in a description of your system's linker (not GNU ld)
17093 allow_undefined_flag_GCJ
=unsupported
17094 always_export_symbols_GCJ
=yes
17095 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'
17096 # Note: this linker hardcodes the directories in LIBPATH if there
17097 # are no directories specified by -L.
17098 hardcode_minus_L_GCJ
=yes
17099 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17100 # Neither direct hardcoding nor static linking is supported with a
17102 hardcode_direct_GCJ
=unsupported
17107 if test "$host_cpu" = ia64
; then
17108 # On IA64, the linker does run time linking by default, so we don't
17109 # have to do anything special.
17110 aix_use_runtimelinking
=no
17111 exp_sym_flag
='-Bexport'
17114 # If we're using GNU nm, then we don't want the "-C" option.
17115 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17116 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17117 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'
17119 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'
17121 aix_use_runtimelinking
=no
17123 # Test if we are trying to use run time linking or normal
17124 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17125 # need to do runtime linking.
17126 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17127 for ld_flag
in $LDFLAGS; do
17128 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17129 aix_use_runtimelinking
=yes
17136 exp_sym_flag
='-bexport'
17137 no_entry_flag
='-bnoentry'
17140 # When large executables or shared objects are built, AIX ld can
17141 # have problems creating the table of contents. If linking a library
17142 # or program results in "error TOC overflow" add -mminimal-toc to
17143 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17144 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17146 archive_cmds_GCJ
=''
17147 hardcode_direct_GCJ
=yes
17148 hardcode_libdir_separator_GCJ
=':'
17149 link_all_deplibs_GCJ
=yes
17151 if test "$GCC" = yes; then
17152 case $host_os in aix4.
[012]|aix4.
[012].
*)
17153 # We only want to do this on AIX 4.2 and lower, the check
17154 # below for broken collect2 doesn't work under 4.3+
17155 collect2name
=`${CC} -print-prog-name=collect2`
17156 if test -f "$collect2name" && \
17157 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17159 # We have reworked collect2
17160 hardcode_direct_GCJ
=yes
17162 # We have old collect2
17163 hardcode_direct_GCJ
=unsupported
17164 # It fails to find uninstalled libraries when the uninstalled
17165 # path is not listed in the libpath. Setting hardcode_minus_L
17166 # to unsupported forces relinking
17167 hardcode_minus_L_GCJ
=yes
17168 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17169 hardcode_libdir_separator_GCJ
=
17173 shared_flag
='-shared'
17174 if test "$aix_use_runtimelinking" = yes; then
17175 shared_flag
="$shared_flag "'${wl}-G'
17179 if test "$host_cpu" = ia64
; then
17180 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17181 # chokes on -Wl,-G. The following line is correct:
17184 if test "$aix_use_runtimelinking" = yes; then
17185 shared_flag
='${wl}-G'
17187 shared_flag
='${wl}-bM:SRE'
17192 # It seems that -bexpall does not export symbols beginning with
17193 # underscore (_), so it is better to generate a list of symbols to export.
17194 always_export_symbols_GCJ
=yes
17195 if test "$aix_use_runtimelinking" = yes; then
17196 # Warning - without using the other runtime loading flags (-brtl),
17197 # -berok will link without error, but may produce a broken library.
17198 allow_undefined_flag_GCJ
='-berok'
17199 # Determine the default libpath from the value encoded in an empty executable.
17200 cat >conftest.
$ac_ext <<_ACEOF
17203 cat confdefs.h
>>conftest.
$ac_ext
17204 cat >>conftest.
$ac_ext <<_ACEOF
17205 /* end confdefs.h. */
17215 rm -f conftest.
$ac_objext conftest
$ac_exeext
17216 if { (ac_try
="$ac_link"
17217 case "(($ac_try" in
17218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17219 *) ac_try_echo=$ac_try;;
17221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17222 (eval "$ac_link") 2>conftest.er1
17224 grep -v '^ *+' conftest.er1 >conftest.err
17226 cat conftest.err >&5
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); } && {
17229 test -z "$ac_c_werror_flag" ||
17230 test ! -s conftest.err
17231 } && test -s conftest$ac_exeext &&
17232 $as_test_x conftest$ac_exeext; then
17234 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17236 # Check for a 64-bit object if we didn't find anything.
17237 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; }
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.$ac_ext >&5
17246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17247 conftest$ac_exeext conftest.$ac_ext
17248 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17250 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17251 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"
17253 if test "$host_cpu" = ia64; then
17254 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17255 allow_undefined_flag_GCJ="-z nodefs"
17256 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"
17258 # Determine the default libpath from the value encoded in an empty executable.
17259 cat >conftest.$ac_ext <<_ACEOF
17262 cat confdefs.h >>conftest.$ac_ext
17263 cat >>conftest.$ac_ext <<_ACEOF
17264 /* end confdefs.h. */
17274 rm -f conftest.$ac_objext conftest$ac_exeext
17275 if { (ac_try="$ac_link"
17276 case "(($ac_try" in
17277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17278 *) ac_try_echo
=$ac_try;;
17280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17281 (eval "$ac_link") 2>conftest.er1
17283 grep -v '^ *+' conftest.er1
>conftest.err
17285 cat conftest.err
>&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); } && {
17288 test -z "$ac_c_werror_flag" ||
17289 test ! -s conftest.err
17290 } && test -s conftest
$ac_exeext &&
17291 $as_test_x conftest
$ac_exeext; then
17293 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17295 # Check for a 64-bit object if we didn't find anything.
17296 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; }
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.
$ac_ext >&5
17305 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17306 conftest
$ac_exeext conftest.
$ac_ext
17307 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17309 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17310 # Warning - without using the other run time loading flags,
17311 # -berok will link without error, but may produce a broken library.
17312 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17313 allow_undefined_flag_GCJ
=' ${wl}-berok'
17314 # Exported symbols can be pulled into shared objects from archives
17315 whole_archive_flag_spec_GCJ
='$convenience'
17316 archive_cmds_need_lc_GCJ
=yes
17317 # This is similar to how AIX traditionally builds its shared libraries.
17318 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'
17324 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)'
17325 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17326 hardcode_minus_L_GCJ
=yes
17327 # see comment about different semantics on the GNU ld section
17332 export_dynamic_flag_spec_GCJ
=-rdynamic
17335 cygwin
* | mingw
* | pw32
*)
17336 # When not using gcc, we currently assume that we are using
17337 # Microsoft Visual C++.
17338 # hardcode_libdir_flag_spec is actually meaningless, as there is
17339 # no search path for DLLs.
17340 hardcode_libdir_flag_spec_GCJ
=' '
17341 allow_undefined_flag_GCJ
=unsupported
17342 # Tell ltmain to make .lib files, not .a files.
17344 # Tell ltmain to make .dll files, not .so files.
17346 # FIXME: Setting linknames here is a bad hack.
17347 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17348 # The linker will automatically build a .lib file if we build a DLL.
17349 old_archive_From_new_cmds_GCJ
='true'
17350 # FIXME: Should let the user specify the lib program.
17351 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17352 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17353 enable_shared_with_static_runtimes_GCJ
=yes
17356 darwin
* | rhapsody
*)
17358 rhapsody
* | darwin1.
[012])
17359 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17362 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17363 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17365 case ${MACOSX_DEPLOYMENT_TARGET} in
17367 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17370 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17376 archive_cmds_need_lc_GCJ
=no
17377 hardcode_direct_GCJ
=no
17378 hardcode_automatic_GCJ
=yes
17379 hardcode_shlibpath_var_GCJ
=unsupported
17380 whole_archive_flag_spec_GCJ
=''
17381 link_all_deplibs_GCJ
=yes
17382 if test "$GCC" = yes ; then
17383 output_verbose_link_cmd
='echo'
17384 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17385 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17386 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17387 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}'
17388 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}'
17390 case $cc_basename in
17392 output_verbose_link_cmd
='echo'
17393 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17394 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17395 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17396 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}'
17397 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}'
17407 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17408 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17409 hardcode_shlibpath_var_GCJ
=no
17416 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17417 # support. Future versions do this automatically, but an explicit c++rt0.o
17418 # does not break anything, and helps significantly (at the cost of a little
17421 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17422 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17423 hardcode_direct_GCJ
=yes
17424 hardcode_shlibpath_var_GCJ
=no
17427 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17429 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17430 hardcode_direct_GCJ
=yes
17431 hardcode_minus_L_GCJ
=yes
17432 hardcode_shlibpath_var_GCJ
=no
17435 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17436 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17437 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17438 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17439 hardcode_direct_GCJ
=yes
17440 hardcode_shlibpath_var_GCJ
=no
17444 if test "$GCC" = yes; then
17445 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'
17447 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'
17449 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17450 hardcode_libdir_separator_GCJ
=:
17451 hardcode_direct_GCJ
=yes
17453 # hardcode_minus_L: Not really in the search PATH,
17454 # but as the default location of the library.
17455 hardcode_minus_L_GCJ
=yes
17456 export_dynamic_flag_spec_GCJ
='${wl}-E'
17460 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17461 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17463 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17465 if test "$with_gnu_ld" = no
; then
17466 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17467 hardcode_libdir_separator_GCJ
=:
17469 hardcode_direct_GCJ
=yes
17470 export_dynamic_flag_spec_GCJ
='${wl}-E'
17472 # hardcode_minus_L: Not really in the search PATH,
17473 # but as the default location of the library.
17474 hardcode_minus_L_GCJ
=yes
17479 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17482 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17485 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17488 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17494 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17497 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17500 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17504 if test "$with_gnu_ld" = no
; then
17505 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17506 hardcode_libdir_separator_GCJ
=:
17510 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17511 hardcode_direct_GCJ
=no
17512 hardcode_shlibpath_var_GCJ
=no
17515 hardcode_direct_GCJ
=yes
17516 export_dynamic_flag_spec_GCJ
='${wl}-E'
17518 # hardcode_minus_L: Not really in the search PATH,
17519 # but as the default location of the library.
17520 hardcode_minus_L_GCJ
=yes
17526 irix5
* | irix6
* | nonstopux
*)
17527 if test "$GCC" = yes; then
17528 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'
17530 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'
17531 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17533 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17534 hardcode_libdir_separator_GCJ
=:
17535 link_all_deplibs_GCJ
=yes
17539 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17540 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17542 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17544 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17545 hardcode_direct_GCJ
=yes
17546 hardcode_shlibpath_var_GCJ
=no
17550 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17551 hardcode_direct_GCJ
=yes
17552 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17553 hardcode_libdir_separator_GCJ
=:
17554 hardcode_shlibpath_var_GCJ
=no
17558 hardcode_direct_GCJ
=yes
17559 hardcode_shlibpath_var_GCJ
=no
17560 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17561 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17562 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17563 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17564 export_dynamic_flag_spec_GCJ
='${wl}-E'
17567 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17568 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17569 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17572 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17573 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17580 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17581 hardcode_minus_L_GCJ
=yes
17582 allow_undefined_flag_GCJ
=unsupported
17583 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'
17584 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17588 if test "$GCC" = yes; then
17589 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17590 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'
17592 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17593 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'
17595 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17596 hardcode_libdir_separator_GCJ
=:
17599 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17600 if test "$GCC" = yes; then
17601 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17602 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'
17603 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17605 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17606 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'
17607 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~
17608 $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'
17610 # Both c and cxx compiler support -rpath directly
17611 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17613 hardcode_libdir_separator_GCJ
=:
17617 no_undefined_flag_GCJ
=' -z text'
17618 if test "$GCC" = yes; then
17620 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17621 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17622 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17625 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17626 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17627 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17629 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17630 hardcode_shlibpath_var_GCJ
=no
17632 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17634 # The compiler driver will combine linker options so we
17635 # cannot just pass the convience library names through
17636 # without $wl, iff we do not link with $LD.
17637 # Luckily, gcc supports the same syntax we need for Sun Studio.
17638 # Supported since Solaris 2.6 (maybe 2.5.1?)
17641 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17643 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' ;;
17646 link_all_deplibs_GCJ
=yes
17650 if test "x$host_vendor" = xsequent
; then
17651 # Use $CC to link under sequent, because it throws in some extra .o
17652 # files that make .init and .fini sections work.
17653 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17655 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17657 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17658 hardcode_direct_GCJ
=yes
17659 hardcode_minus_L_GCJ
=yes
17660 hardcode_shlibpath_var_GCJ
=no
17664 case $host_vendor in
17666 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17667 hardcode_direct_GCJ
=yes # is this really true???
17670 ## LD is ld it makes a PLAMLIB
17671 ## CC just makes a GrossModule.
17672 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17673 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17674 hardcode_direct_GCJ
=no
17677 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17678 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17681 runpath_var
='LD_RUN_PATH'
17682 hardcode_shlibpath_var_GCJ
=no
17686 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17687 hardcode_shlibpath_var_GCJ
=no
17688 export_dynamic_flag_spec_GCJ
='-Bexport'
17692 if test -d /usr
/nec
; then
17693 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17694 hardcode_shlibpath_var_GCJ
=no
17695 runpath_var
=LD_RUN_PATH
17696 hardcode_runpath_var
=yes
17701 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17702 no_undefined_flag_GCJ
='${wl}-z,text'
17703 archive_cmds_need_lc_GCJ
=no
17704 hardcode_shlibpath_var_GCJ
=no
17705 runpath_var
='LD_RUN_PATH'
17707 if test "$GCC" = yes; then
17708 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17709 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17711 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17712 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17716 sysv5
* | sco3.2v5
* | sco5v6
*)
17717 # Note: We can NOT use -z defs as we might desire, because we do not
17718 # link with -lc, and that would cause any symbols used from libc to
17719 # always be unresolved, which means just about no library would
17720 # ever link correctly. If we're not using GNU ld we use -z text
17721 # though, which does catch some bad symbols but isn't as heavy-handed
17723 no_undefined_flag_GCJ
='${wl}-z,text'
17724 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17725 archive_cmds_need_lc_GCJ
=no
17726 hardcode_shlibpath_var_GCJ
=no
17727 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17728 hardcode_libdir_separator_GCJ
=':'
17729 link_all_deplibs_GCJ
=yes
17730 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17731 runpath_var
='LD_RUN_PATH'
17733 if test "$GCC" = yes; then
17734 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17735 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17737 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17738 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17743 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17744 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17745 hardcode_shlibpath_var_GCJ
=no
17754 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17755 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17756 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17759 # Do we need to explicitly link libc?
17761 case "x$archive_cmds_need_lc_GCJ" in
17763 # Assume -lc should be added
17764 archive_cmds_need_lc_GCJ
=yes
17766 if test "$enable_shared" = yes && test "$GCC" = yes; then
17767 case $archive_cmds_GCJ in
17769 # FIXME: we may have to deal with multi-command sequences.
17772 # Test whether the compiler implicitly links with -lc since on some
17773 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17774 # to ld, don't add -lc before -lgcc.
17775 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17776 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17778 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17781 (eval $ac_compile) 2>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } 2>conftest.err
; then
17787 libobjs
=conftest.
$ac_objext
17789 wl
=$lt_prog_compiler_wl_GCJ
17790 pic_flag
=$lt_prog_compiler_pic_GCJ
17796 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17797 allow_undefined_flag_GCJ
=
17798 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17799 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); }
17804 archive_cmds_need_lc_GCJ
=no
17806 archive_cmds_need_lc_GCJ
=yes
17808 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17810 cat conftest.err
1>&5
17813 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17814 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17821 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17822 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17823 library_names_spec
=
17824 libname_spec
='lib$name'
17828 postuninstall_cmds
=
17832 shlibpath_overrides_runpath
=unknown
17834 dynamic_linker
="$host_os ld.so"
17835 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17836 if test "$GCC" = yes; then
17837 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17838 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17839 # if the path contains ";" then we assume it to be the separator
17840 # otherwise default to the standard path separator (i.e. ":") - it is
17841 # assumed that no part of a normal pathname contains ";" but that should
17842 # okay in the real world where ";" in dirpaths is itself problematic.
17843 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17845 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17848 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17850 need_lib_prefix
=unknown
17851 hardcode_into_libs
=no
17853 # when you set need_version to no, make sure it does not cause -set_version
17854 # flags to be left without arguments
17855 need_version
=unknown
17860 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17861 shlibpath_var
=LIBPATH
17863 # AIX 3 has no versioning support, so we append a major version to the name.
17864 soname_spec
='${libname}${release}${shared_ext}$major'
17871 hardcode_into_libs
=yes
17872 if test "$host_cpu" = ia64
; then
17873 # AIX 5 supports IA64
17874 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17875 shlibpath_var
=LD_LIBRARY_PATH
17877 # With GCC up to 2.95.x, collect2 would create an import file
17878 # for dependence libraries. The import file would start with
17879 # the line `#! .'. This would cause the generated library to
17880 # depend on `.', always an invalid library. This was fixed in
17881 # development snapshots of GCC prior to 3.0.
17883 aix4 | aix4.
[01] | aix4.
[01].
*)
17884 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17886 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17889 can_build_shared
=no
17893 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17894 # soname into executable. Probably we can add versioning support to
17895 # collect2, so additional links can be useful in future.
17896 if test "$aix_use_runtimelinking" = yes; then
17897 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17898 # instead of lib<name>.a to let people know that these are not
17899 # typical AIX shared libraries.
17900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17902 # We preserve .a as extension for shared libraries through AIX4.2
17903 # and later when we are not doing run time linking.
17904 library_names_spec
='${libname}${release}.a $libname.a'
17905 soname_spec
='${libname}${release}${shared_ext}$major'
17907 shlibpath_var
=LIBPATH
17912 library_names_spec
='$libname.ixlibrary $libname.a'
17913 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17914 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'
17918 library_names_spec
='${libname}${shared_ext}'
17919 dynamic_linker
="$host_os ld.so"
17920 shlibpath_var
=LIBRARY_PATH
17926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17927 soname_spec
='${libname}${release}${shared_ext}$major'
17928 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17929 shlibpath_var
=LD_LIBRARY_PATH
17930 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17931 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17932 # the default ld.so.conf also contains /usr/contrib/lib and
17933 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17934 # libtool to hard-code these into programs
17937 cygwin
* | mingw
* | pw32
*)
17938 version_type
=windows
17943 case $GCC,$host_os in
17944 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17945 library_names_spec
='$libname.dll.a'
17946 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17947 postinstall_cmds
='base_file=`basename \${file}`~
17948 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17949 dldir=$destdir/`dirname \$dlpath`~
17950 test -d \$dldir || mkdir -p \$dldir~
17951 $install_prog $dir/$dlname \$dldir/$dlname~
17952 chmod a+x \$dldir/$dlname'
17953 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17954 dlpath=$dir/\$dldll~
17956 shlibpath_overrides_runpath
=yes
17960 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17961 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17962 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17965 # MinGW DLLs use traditional 'lib' prefix
17966 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17967 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17968 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17969 # It is most probably a Windows format PATH printed by
17970 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17971 # path with ; separators, and with drive letters. We can handle the
17972 # drive letters (cygwin fileutils understands them), so leave them,
17973 # especially as we might pass files found there to a mingw objdump,
17974 # which wouldn't understand a cygwinified path. Ahh.
17975 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17977 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17981 # pw32 DLLs use 'pw' prefix rather than 'lib'
17982 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17988 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17991 dynamic_linker
='Win32 ld.exe'
17992 # FIXME: first we should search . and the directory the executable is in
17996 darwin
* | rhapsody
*)
17997 dynamic_linker
="$host_os dyld"
17998 version_type
=darwin
18001 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18002 soname_spec
='${libname}${release}${major}$shared_ext'
18003 shlibpath_overrides_runpath
=yes
18004 shlibpath_var
=DYLD_LIBRARY_PATH
18005 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18006 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18007 if test "$GCC" = yes; then
18008 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"`
18010 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18012 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18020 soname_spec
='${libname}${release}${shared_ext}$major'
18021 shlibpath_var
=LD_LIBRARY_PATH
18032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18033 soname_spec
='${libname}${release}${shared_ext}$major'
18034 shlibpath_var
=LD_LIBRARY_PATH
18035 shlibpath_overrides_runpath
=no
18036 hardcode_into_libs
=yes
18037 dynamic_linker
='GNU ld.so'
18040 freebsd
* | dragonfly
*)
18041 # DragonFly does not have aout. When/if they implement a new
18042 # versioning mechanism, adjust this.
18043 if test -x /usr
/bin
/objformat
; then
18044 objformat
=`/usr/bin/objformat`
18047 freebsd
[123]*) objformat
=aout
;;
18048 *) objformat
=elf
;;
18051 version_type
=freebsd-
$objformat
18052 case $version_type in
18054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18059 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18063 shlibpath_var
=LD_LIBRARY_PATH
18066 shlibpath_overrides_runpath
=yes
18068 freebsd3.
[01]* | freebsdelf3.
[01]*)
18069 shlibpath_overrides_runpath
=yes
18070 hardcode_into_libs
=yes
18072 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18073 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18074 shlibpath_overrides_runpath
=no
18075 hardcode_into_libs
=yes
18077 freebsd
*) # from 4.6 on
18078 shlibpath_overrides_runpath
=yes
18079 hardcode_into_libs
=yes
18088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18089 soname_spec
='${libname}${release}${shared_ext}$major'
18090 shlibpath_var
=LD_LIBRARY_PATH
18091 hardcode_into_libs
=yes
18094 hpux9
* | hpux10
* | hpux11
*)
18095 # Give a soname corresponding to the major version so that dld.sl refuses to
18096 # link against other versions.
18103 hardcode_into_libs
=yes
18104 dynamic_linker
="$host_os dld.so"
18105 shlibpath_var
=LD_LIBRARY_PATH
18106 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18108 soname_spec
='${libname}${release}${shared_ext}$major'
18109 if test "X$HPUX_IA64_MODE" = X32
; then
18110 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18112 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18114 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18118 hardcode_into_libs
=yes
18119 dynamic_linker
="$host_os dld.sl"
18120 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18121 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18123 soname_spec
='${libname}${release}${shared_ext}$major'
18124 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18125 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18129 dynamic_linker
="$host_os dld.sl"
18130 shlibpath_var
=SHLIB_PATH
18131 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18133 soname_spec
='${libname}${release}${shared_ext}$major'
18136 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18137 postinstall_cmds
='chmod 555 $lib'
18144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18145 soname_spec
='${libname}${release}${shared_ext}$major'
18146 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18147 shlibpath_var
=LD_LIBRARY_PATH
18148 shlibpath_overrides_runpath
=no
18149 hardcode_into_libs
=yes
18152 irix5
* | irix6
* | nonstopux
*)
18154 nonstopux
*) version_type
=nonstopux
;;
18156 if test "$lt_cv_prog_gnu_ld" = yes; then
18164 soname_spec
='${libname}${release}${shared_ext}$major'
18165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18167 irix5
* | nonstopux
*)
18168 libsuff
= shlibsuff
=
18171 case $LD in # libtool.m4 will add one of these switches to LD
18172 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18173 libsuff
= shlibsuff
= libmagic
=32-bit;;
18174 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18175 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18176 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18177 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18178 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18182 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18183 shlibpath_overrides_runpath
=no
18184 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18185 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18186 hardcode_into_libs
=yes
18189 # No shared lib support for Linux oldld, aout, or coff.
18190 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18194 # This must be Linux ELF.
18199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18200 soname_spec
='${libname}${release}${shared_ext}$major'
18201 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18202 shlibpath_var
=LD_LIBRARY_PATH
18203 shlibpath_overrides_runpath
=no
18204 # This implies no fast_install, which is unacceptable.
18205 # Some rework will be needed to allow for fast_install
18206 # before this can be enabled.
18207 hardcode_into_libs
=yes
18209 # find out which ABI we are using
18211 case "$host_cpu" in
18212 x86_64
*|s390x
*|powerpc64
*)
18213 echo '#line 18213 "configure"' > conftest.
$ac_ext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; then
18219 case `/usr/bin/file conftest.$ac_objext` in
18222 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18230 # Append ld.so.conf contents to the search path
18231 if test -f /etc
/ld.so.conf
; then
18232 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18233 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18236 # We used to test for /lib/ld.so.1 and disable shared libraries on
18237 # powerpc, because MkLinux only supported shared libraries with the
18238 # GNU dynamic linker. Since this was broken with cross compilers,
18239 # most powerpc-linux boxes support dynamic linking these days and
18240 # people can always --disable-shared, the test was removed, and we
18241 # assume the GNU/Linux dynamic linker is in use.
18242 dynamic_linker
='GNU/Linux ld.so'
18249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18250 soname_spec
='${libname}${release}${shared_ext}$major'
18251 shlibpath_var
=LD_LIBRARY_PATH
18252 shlibpath_overrides_runpath
=no
18253 hardcode_into_libs
=yes
18254 dynamic_linker
='GNU ld.so'
18261 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18263 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18264 dynamic_linker
='NetBSD (a.out) ld.so'
18266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18267 soname_spec
='${libname}${release}${shared_ext}$major'
18268 dynamic_linker
='NetBSD ld.elf_so'
18270 shlibpath_var
=LD_LIBRARY_PATH
18271 shlibpath_overrides_runpath
=yes
18272 hardcode_into_libs
=yes
18277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18278 shlibpath_var
=LD_LIBRARY_PATH
18279 shlibpath_overrides_runpath
=yes
18286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18287 soname_spec
='${libname}${release}${shared_ext}$major'
18288 shlibpath_var
=LD_LIBRARY_PATH
18289 shlibpath_overrides_runpath
=yes
18294 sys_lib_dlsearch_path_spec
="/usr/lib"
18296 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18298 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18299 *) need_version
=no
;;
18301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18302 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18303 shlibpath_var
=LD_LIBRARY_PATH
18304 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18306 openbsd2.
[89] | openbsd2.
[89].
*)
18307 shlibpath_overrides_runpath
=no
18310 shlibpath_overrides_runpath
=yes
18314 shlibpath_overrides_runpath
=yes
18319 libname_spec
='$name'
18322 library_names_spec
='$libname${shared_ext} $libname.a'
18323 dynamic_linker
='OS/2 ld.exe'
18324 shlibpath_var
=LIBPATH
18327 osf3
* | osf4
* | osf5
*)
18331 soname_spec
='${libname}${release}${shared_ext}$major'
18332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18333 shlibpath_var
=LD_LIBRARY_PATH
18334 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18335 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18343 soname_spec
='${libname}${release}${shared_ext}$major'
18344 shlibpath_var
=LD_LIBRARY_PATH
18345 shlibpath_overrides_runpath
=yes
18346 hardcode_into_libs
=yes
18347 # ldd complains unless libraries are executable
18348 postinstall_cmds
='chmod +x $lib'
18353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18354 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18355 shlibpath_var
=LD_LIBRARY_PATH
18356 shlibpath_overrides_runpath
=yes
18357 if test "$with_gnu_ld" = yes; then
18365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18366 soname_spec
='${libname}${release}${shared_ext}$major'
18367 shlibpath_var
=LD_LIBRARY_PATH
18368 case $host_vendor in
18370 shlibpath_overrides_runpath
=no
18372 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18373 runpath_var
=LD_RUN_PATH
18381 shlibpath_overrides_runpath
=no
18382 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18388 if test -d /usr
/nec
;then
18390 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18391 soname_spec
='$libname${shared_ext}.$major'
18392 shlibpath_var
=LD_LIBRARY_PATH
18396 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18397 version_type
=freebsd-elf
18400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18401 soname_spec
='${libname}${release}${shared_ext}$major'
18402 shlibpath_var
=LD_LIBRARY_PATH
18403 hardcode_into_libs
=yes
18404 if test "$with_gnu_ld" = yes; then
18405 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18406 shlibpath_overrides_runpath
=no
18408 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18409 shlibpath_overrides_runpath
=yes
18412 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18416 sys_lib_dlsearch_path_spec
='/usr/lib'
18421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18422 soname_spec
='${libname}${release}${shared_ext}$major'
18423 shlibpath_var
=LD_LIBRARY_PATH
18430 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18431 echo "${ECHO_T}$dynamic_linker" >&6; }
18432 test "$dynamic_linker" = no
&& can_build_shared
=no
18434 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18435 if test "$GCC" = yes; then
18436 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18439 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18440 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18441 hardcode_action_GCJ
=
18442 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18443 test -n "$runpath_var_GCJ" || \
18444 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18446 # We can hardcode non-existant directories.
18447 if test "$hardcode_direct_GCJ" != no
&&
18448 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18449 # have to relink, otherwise we might link with an installed library
18450 # when we should be linking with a yet-to-be-installed one
18451 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18452 test "$hardcode_minus_L_GCJ" != no
; then
18453 # Linking always hardcodes the temporary library directory.
18454 hardcode_action_GCJ
=relink
18456 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18457 hardcode_action_GCJ
=immediate
18460 # We cannot hardcode anything, or else we can only hardcode existing
18462 hardcode_action_GCJ
=unsupported
18464 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18465 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18467 if test "$hardcode_action_GCJ" = relink
; then
18468 # Fast installation is not supported
18469 enable_fast_install
=no
18470 elif test "$shlibpath_overrides_runpath" = yes ||
18471 test "$enable_shared" = no
; then
18472 # Fast installation is not necessary
18473 enable_fast_install
=needless
18477 # The else clause should only fire when bootstrapping the
18478 # libtool distribution, otherwise you forgot to ship ltmain.sh
18479 # with your package, and you will get complaints that there are
18480 # no rules to generate ltmain.sh.
18481 if test -f "$ltmain"; then
18482 # See if we are running on zsh, and set the options which allow our commands through
18483 # without removal of \ escapes.
18484 if test -n "${ZSH_VERSION+set}" ; then
18485 setopt NO_GLOB_SUBST
18487 # Now quote all the things that may contain metacharacters while being
18488 # careful not to overquote the AC_SUBSTed values. We take copies of the
18489 # variables and quote the copies for generation of the libtool script.
18490 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18492 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18493 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18494 deplibs_check_method reload_flag reload_cmds need_locks \
18495 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18496 lt_cv_sys_global_symbol_to_c_name_address \
18497 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18498 old_postinstall_cmds old_postuninstall_cmds \
18502 lt_prog_compiler_wl_GCJ \
18503 lt_prog_compiler_pic_GCJ \
18504 lt_prog_compiler_static_GCJ \
18505 lt_prog_compiler_no_builtin_flag_GCJ \
18506 export_dynamic_flag_spec_GCJ \
18507 thread_safe_flag_spec_GCJ \
18508 whole_archive_flag_spec_GCJ \
18509 enable_shared_with_static_runtimes_GCJ \
18510 old_archive_cmds_GCJ \
18511 old_archive_from_new_cmds_GCJ \
18512 predep_objects_GCJ \
18513 postdep_objects_GCJ \
18516 compiler_lib_search_path_GCJ \
18518 archive_expsym_cmds_GCJ \
18519 postinstall_cmds_GCJ \
18520 postuninstall_cmds_GCJ \
18521 old_archive_from_expsyms_cmds_GCJ \
18522 allow_undefined_flag_GCJ \
18523 no_undefined_flag_GCJ \
18524 export_symbols_cmds_GCJ \
18525 hardcode_libdir_flag_spec_GCJ \
18526 hardcode_libdir_flag_spec_ld_GCJ \
18527 hardcode_libdir_separator_GCJ \
18528 hardcode_automatic_GCJ \
18530 module_expsym_cmds_GCJ \
18531 lt_cv_prog_compiler_c_o_GCJ \
18532 exclude_expsyms_GCJ \
18533 include_expsyms_GCJ
; do
18536 old_archive_cmds_GCJ | \
18537 old_archive_from_new_cmds_GCJ | \
18538 archive_cmds_GCJ | \
18539 archive_expsym_cmds_GCJ | \
18540 module_cmds_GCJ | \
18541 module_expsym_cmds_GCJ | \
18542 old_archive_from_expsyms_cmds_GCJ | \
18543 export_symbols_cmds_GCJ | \
18544 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18545 postinstall_cmds | postuninstall_cmds | \
18546 old_postinstall_cmds | old_postuninstall_cmds | \
18547 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18548 # Double-quote double-evaled strings.
18549 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18552 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18558 *'\$0 --fallback-echo"')
18559 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18565 cat <<__EOF__ >> "$cfgfile"
18566 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18568 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18570 # Shell to use when invoking shell scripts.
18573 # Whether or not to build shared libraries.
18574 build_libtool_libs=$enable_shared
18576 # Whether or not to build static libraries.
18577 build_old_libs=$enable_static
18579 # Whether or not to add -lc for building shared libraries.
18580 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18582 # Whether or not to disallow shared libs when runtime libs are static
18583 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18585 # Whether or not to optimize for fast installation.
18586 fast_install=$enable_fast_install
18589 host_alias=$host_alias
18593 # The build system.
18594 build_alias=$build_alias
18598 # An echo program that does not interpret backslashes.
18603 AR_FLAGS=$lt_AR_FLAGS
18608 # LTCC compiler flags.
18609 LTCFLAGS=$lt_LTCFLAGS
18611 # A language-specific compiler.
18612 CC=$lt_compiler_GCJ
18614 # Is the compiler the GNU C compiler?
18620 # The linker used to build libraries.
18623 # Whether we need hard or soft links.
18626 # A BSD-compatible nm program.
18629 # A symbol stripping program
18632 # Used to examine libraries when file_magic_cmd begins "file"
18633 MAGIC_CMD=$MAGIC_CMD
18635 # Used on cygwin: DLL creation program.
18638 # Used on cygwin: object dumper.
18641 # Used on cygwin: assembler.
18644 # The name of the directory that contains temporary libtool files.
18647 # How to create reloadable object files.
18648 reload_flag=$lt_reload_flag
18649 reload_cmds=$lt_reload_cmds
18651 # How to pass a linker flag through the compiler.
18652 wl=$lt_lt_prog_compiler_wl_GCJ
18654 # Object file suffix (normally "o").
18655 objext="$ac_objext"
18657 # Old archive suffix (normally "a").
18660 # Shared library suffix (normally ".so").
18661 shrext_cmds='$shrext_cmds'
18663 # Executable file suffix (normally "").
18666 # Additional compiler flags for building library objects.
18667 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18670 # What is the maximum length of a command?
18671 max_cmd_len=$lt_cv_sys_max_cmd_len
18673 # Does compiler simultaneously support -c and -o options?
18674 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18676 # Must we lock files when doing compilation?
18677 need_locks=$lt_need_locks
18679 # Do we need the lib prefix for modules?
18680 need_lib_prefix=$need_lib_prefix
18682 # Do we need a version for libraries?
18683 need_version=$need_version
18685 # Whether dlopen is supported.
18686 dlopen_support=$enable_dlopen
18688 # Whether dlopen of programs is supported.
18689 dlopen_self=$enable_dlopen_self
18691 # Whether dlopen of statically linked programs is supported.
18692 dlopen_self_static=$enable_dlopen_self_static
18694 # Compiler flag to prevent dynamic linking.
18695 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18697 # Compiler flag to turn off builtin functions.
18698 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18700 # Compiler flag to allow reflexive dlopens.
18701 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18703 # Compiler flag to generate shared objects directly from archives.
18704 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18706 # Compiler flag to generate thread-safe objects.
18707 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18709 # Library versioning type.
18710 version_type=$version_type
18712 # Format of library name prefix.
18713 libname_spec=$lt_libname_spec
18715 # List of archive names. First name is the real one, the rest are links.
18716 # The last name is the one that the linker finds with -lNAME.
18717 library_names_spec=$lt_library_names_spec
18719 # The coded name of the library, if different from the real name.
18720 soname_spec=$lt_soname_spec
18722 # Commands used to build and install an old-style archive.
18724 old_archive_cmds=$lt_old_archive_cmds_GCJ
18725 old_postinstall_cmds=$lt_old_postinstall_cmds
18726 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18728 # Create an old-style archive from a shared archive.
18729 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18731 # Create a temporary old-style archive to link instead of a shared archive.
18732 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18734 # Commands used to build and install a shared archive.
18735 archive_cmds=$lt_archive_cmds_GCJ
18736 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18737 postinstall_cmds=$lt_postinstall_cmds
18738 postuninstall_cmds=$lt_postuninstall_cmds
18740 # Commands used to build a loadable module (assumed same as above if empty)
18741 module_cmds=$lt_module_cmds_GCJ
18742 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18744 # Commands to strip libraries.
18745 old_striplib=$lt_old_striplib
18746 striplib=$lt_striplib
18748 # Dependencies to place before the objects being linked to create a
18750 predep_objects=$lt_predep_objects_GCJ
18752 # Dependencies to place after the objects being linked to create a
18754 postdep_objects=$lt_postdep_objects_GCJ
18756 # Dependencies to place before the objects being linked to create a
18758 predeps=$lt_predeps_GCJ
18760 # Dependencies to place after the objects being linked to create a
18762 postdeps=$lt_postdeps_GCJ
18764 # The library search path used internally by the compiler when linking
18765 # a shared library.
18766 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18768 # Method to check whether dependent libraries are shared objects.
18769 deplibs_check_method=$lt_deplibs_check_method
18771 # Command to use when deplibs_check_method == file_magic.
18772 file_magic_cmd=$lt_file_magic_cmd
18774 # Flag that allows shared libraries with undefined symbols to be built.
18775 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18777 # Flag that forces no undefined symbols.
18778 no_undefined_flag=$lt_no_undefined_flag_GCJ
18780 # Commands used to finish a libtool library installation in a directory.
18781 finish_cmds=$lt_finish_cmds
18783 # Same as above, but a single script fragment to be evaled but not shown.
18784 finish_eval=$lt_finish_eval
18786 # Take the output of nm and produce a listing of raw symbols and C names.
18787 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18789 # Transform the output of nm in a proper C declaration
18790 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18792 # Transform the output of nm in a C name address pair
18793 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18795 # This is the shared library runtime path variable.
18796 runpath_var=$runpath_var
18798 # This is the shared library path variable.
18799 shlibpath_var=$shlibpath_var
18801 # Is shlibpath searched before the hard-coded library search path?
18802 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18804 # How to hardcode a shared library path into an executable.
18805 hardcode_action=$hardcode_action_GCJ
18807 # Whether we should hardcode library paths into libraries.
18808 hardcode_into_libs=$hardcode_into_libs
18810 # Flag to hardcode \$libdir into a binary during linking.
18811 # This must work even if \$libdir does not exist.
18812 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18814 # If ld is used when linking, flag to hardcode \$libdir into
18815 # a binary during linking. This must work even if \$libdir does
18817 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18819 # Whether we need a single -rpath flag with a separated argument.
18820 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18822 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18823 # resulting binary.
18824 hardcode_direct=$hardcode_direct_GCJ
18826 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18827 # resulting binary.
18828 hardcode_minus_L=$hardcode_minus_L_GCJ
18830 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18831 # the resulting binary.
18832 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18834 # Set to yes if building a shared library automatically hardcodes DIR into the library
18835 # and all subsequent libraries and executables linked against it.
18836 hardcode_automatic=$hardcode_automatic_GCJ
18838 # Variables whose values should be saved in libtool wrapper scripts and
18839 # restored at relink time.
18840 variables_saved_for_relink="$variables_saved_for_relink"
18842 # Whether libtool must link a program against all its dependency libraries.
18843 link_all_deplibs=$link_all_deplibs_GCJ
18845 # Compile-time system search path for libraries
18846 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18848 # Run-time system search path for libraries
18849 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18851 # Fix the shell variable \$srcfile for the compiler.
18852 fix_srcfile_path="$fix_srcfile_path_GCJ"
18854 # Set to yes if exported symbols are required.
18855 always_export_symbols=$always_export_symbols_GCJ
18857 # The commands to list exported symbols.
18858 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18860 # The commands to extract the exported symbol list from a shared archive.
18861 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18863 # Symbols that should not be listed in the preloaded symbols.
18864 exclude_expsyms=$lt_exclude_expsyms_GCJ
18866 # Symbols that must always be exported.
18867 include_expsyms=$lt_include_expsyms_GCJ
18869 # ### END LIBTOOL TAG CONFIG: $tagname
18875 # If there is no Makefile yet, we rely on a make rule to execute
18876 # `config.status --recheck' to rerun these tests and create the
18877 # libtool script then.
18878 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18879 if test -f "$ltmain_in"; then
18880 test -f Makefile
&& make "$ltmain"
18886 ac_cpp
='$CPP $CPPFLAGS'
18887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18901 # Source file extension for RC test sources.
18904 # Object file extension for compiled RC test sources.
18908 # Code to be used in simple compile tests
18909 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18911 # Code to be used in simple link tests
18912 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18914 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18916 # If no C compiler was specified, use CC.
18919 # If no C compiler flags were specified, use CFLAGS.
18920 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18922 # Allow CC to be a program name with arguments.
18926 # save warnings/boilerplate of simple test code
18927 ac_outfile
=conftest.
$ac_objext
18928 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18929 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18930 _lt_compiler_boilerplate
=`cat conftest.err`
18933 ac_outfile
=conftest.
$ac_objext
18934 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18935 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18936 _lt_linker_boilerplate
=`cat conftest.err`
18940 # Allow CC to be a program name with arguments.
18945 for cc_temp
in $compiler""; do
18947 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18948 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18953 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18955 lt_cv_prog_compiler_c_o_RC
=yes
18957 # The else clause should only fire when bootstrapping the
18958 # libtool distribution, otherwise you forgot to ship ltmain.sh
18959 # with your package, and you will get complaints that there are
18960 # no rules to generate ltmain.sh.
18961 if test -f "$ltmain"; then
18962 # See if we are running on zsh, and set the options which allow our commands through
18963 # without removal of \ escapes.
18964 if test -n "${ZSH_VERSION+set}" ; then
18965 setopt NO_GLOB_SUBST
18967 # Now quote all the things that may contain metacharacters while being
18968 # careful not to overquote the AC_SUBSTed values. We take copies of the
18969 # variables and quote the copies for generation of the libtool script.
18970 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18972 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18973 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18974 deplibs_check_method reload_flag reload_cmds need_locks \
18975 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18976 lt_cv_sys_global_symbol_to_c_name_address \
18977 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18978 old_postinstall_cmds old_postuninstall_cmds \
18982 lt_prog_compiler_wl_RC \
18983 lt_prog_compiler_pic_RC \
18984 lt_prog_compiler_static_RC \
18985 lt_prog_compiler_no_builtin_flag_RC \
18986 export_dynamic_flag_spec_RC \
18987 thread_safe_flag_spec_RC \
18988 whole_archive_flag_spec_RC \
18989 enable_shared_with_static_runtimes_RC \
18990 old_archive_cmds_RC \
18991 old_archive_from_new_cmds_RC \
18992 predep_objects_RC \
18993 postdep_objects_RC \
18996 compiler_lib_search_path_RC \
18998 archive_expsym_cmds_RC \
18999 postinstall_cmds_RC \
19000 postuninstall_cmds_RC \
19001 old_archive_from_expsyms_cmds_RC \
19002 allow_undefined_flag_RC \
19003 no_undefined_flag_RC \
19004 export_symbols_cmds_RC \
19005 hardcode_libdir_flag_spec_RC \
19006 hardcode_libdir_flag_spec_ld_RC \
19007 hardcode_libdir_separator_RC \
19008 hardcode_automatic_RC \
19010 module_expsym_cmds_RC \
19011 lt_cv_prog_compiler_c_o_RC \
19012 exclude_expsyms_RC \
19013 include_expsyms_RC
; do
19016 old_archive_cmds_RC | \
19017 old_archive_from_new_cmds_RC | \
19018 archive_cmds_RC | \
19019 archive_expsym_cmds_RC | \
19021 module_expsym_cmds_RC | \
19022 old_archive_from_expsyms_cmds_RC | \
19023 export_symbols_cmds_RC | \
19024 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19025 postinstall_cmds | postuninstall_cmds | \
19026 old_postinstall_cmds | old_postuninstall_cmds | \
19027 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19028 # Double-quote double-evaled strings.
19029 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19032 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19038 *'\$0 --fallback-echo"')
19039 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19045 cat <<__EOF__ >> "$cfgfile"
19046 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19048 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19050 # Shell to use when invoking shell scripts.
19053 # Whether or not to build shared libraries.
19054 build_libtool_libs=$enable_shared
19056 # Whether or not to build static libraries.
19057 build_old_libs=$enable_static
19059 # Whether or not to add -lc for building shared libraries.
19060 build_libtool_need_lc=$archive_cmds_need_lc_RC
19062 # Whether or not to disallow shared libs when runtime libs are static
19063 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19065 # Whether or not to optimize for fast installation.
19066 fast_install=$enable_fast_install
19069 host_alias=$host_alias
19073 # The build system.
19074 build_alias=$build_alias
19078 # An echo program that does not interpret backslashes.
19083 AR_FLAGS=$lt_AR_FLAGS
19088 # LTCC compiler flags.
19089 LTCFLAGS=$lt_LTCFLAGS
19091 # A language-specific compiler.
19094 # Is the compiler the GNU C compiler?
19100 # The linker used to build libraries.
19103 # Whether we need hard or soft links.
19106 # A BSD-compatible nm program.
19109 # A symbol stripping program
19112 # Used to examine libraries when file_magic_cmd begins "file"
19113 MAGIC_CMD=$MAGIC_CMD
19115 # Used on cygwin: DLL creation program.
19118 # Used on cygwin: object dumper.
19121 # Used on cygwin: assembler.
19124 # The name of the directory that contains temporary libtool files.
19127 # How to create reloadable object files.
19128 reload_flag=$lt_reload_flag
19129 reload_cmds=$lt_reload_cmds
19131 # How to pass a linker flag through the compiler.
19132 wl=$lt_lt_prog_compiler_wl_RC
19134 # Object file suffix (normally "o").
19135 objext="$ac_objext"
19137 # Old archive suffix (normally "a").
19140 # Shared library suffix (normally ".so").
19141 shrext_cmds='$shrext_cmds'
19143 # Executable file suffix (normally "").
19146 # Additional compiler flags for building library objects.
19147 pic_flag=$lt_lt_prog_compiler_pic_RC
19150 # What is the maximum length of a command?
19151 max_cmd_len=$lt_cv_sys_max_cmd_len
19153 # Does compiler simultaneously support -c and -o options?
19154 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19156 # Must we lock files when doing compilation?
19157 need_locks=$lt_need_locks
19159 # Do we need the lib prefix for modules?
19160 need_lib_prefix=$need_lib_prefix
19162 # Do we need a version for libraries?
19163 need_version=$need_version
19165 # Whether dlopen is supported.
19166 dlopen_support=$enable_dlopen
19168 # Whether dlopen of programs is supported.
19169 dlopen_self=$enable_dlopen_self
19171 # Whether dlopen of statically linked programs is supported.
19172 dlopen_self_static=$enable_dlopen_self_static
19174 # Compiler flag to prevent dynamic linking.
19175 link_static_flag=$lt_lt_prog_compiler_static_RC
19177 # Compiler flag to turn off builtin functions.
19178 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19180 # Compiler flag to allow reflexive dlopens.
19181 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19183 # Compiler flag to generate shared objects directly from archives.
19184 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19186 # Compiler flag to generate thread-safe objects.
19187 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19189 # Library versioning type.
19190 version_type=$version_type
19192 # Format of library name prefix.
19193 libname_spec=$lt_libname_spec
19195 # List of archive names. First name is the real one, the rest are links.
19196 # The last name is the one that the linker finds with -lNAME.
19197 library_names_spec=$lt_library_names_spec
19199 # The coded name of the library, if different from the real name.
19200 soname_spec=$lt_soname_spec
19202 # Commands used to build and install an old-style archive.
19204 old_archive_cmds=$lt_old_archive_cmds_RC
19205 old_postinstall_cmds=$lt_old_postinstall_cmds
19206 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19208 # Create an old-style archive from a shared archive.
19209 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19211 # Create a temporary old-style archive to link instead of a shared archive.
19212 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19214 # Commands used to build and install a shared archive.
19215 archive_cmds=$lt_archive_cmds_RC
19216 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19217 postinstall_cmds=$lt_postinstall_cmds
19218 postuninstall_cmds=$lt_postuninstall_cmds
19220 # Commands used to build a loadable module (assumed same as above if empty)
19221 module_cmds=$lt_module_cmds_RC
19222 module_expsym_cmds=$lt_module_expsym_cmds_RC
19224 # Commands to strip libraries.
19225 old_striplib=$lt_old_striplib
19226 striplib=$lt_striplib
19228 # Dependencies to place before the objects being linked to create a
19230 predep_objects=$lt_predep_objects_RC
19232 # Dependencies to place after the objects being linked to create a
19234 postdep_objects=$lt_postdep_objects_RC
19236 # Dependencies to place before the objects being linked to create a
19238 predeps=$lt_predeps_RC
19240 # Dependencies to place after the objects being linked to create a
19242 postdeps=$lt_postdeps_RC
19244 # The library search path used internally by the compiler when linking
19245 # a shared library.
19246 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19248 # Method to check whether dependent libraries are shared objects.
19249 deplibs_check_method=$lt_deplibs_check_method
19251 # Command to use when deplibs_check_method == file_magic.
19252 file_magic_cmd=$lt_file_magic_cmd
19254 # Flag that allows shared libraries with undefined symbols to be built.
19255 allow_undefined_flag=$lt_allow_undefined_flag_RC
19257 # Flag that forces no undefined symbols.
19258 no_undefined_flag=$lt_no_undefined_flag_RC
19260 # Commands used to finish a libtool library installation in a directory.
19261 finish_cmds=$lt_finish_cmds
19263 # Same as above, but a single script fragment to be evaled but not shown.
19264 finish_eval=$lt_finish_eval
19266 # Take the output of nm and produce a listing of raw symbols and C names.
19267 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19269 # Transform the output of nm in a proper C declaration
19270 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19272 # Transform the output of nm in a C name address pair
19273 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19275 # This is the shared library runtime path variable.
19276 runpath_var=$runpath_var
19278 # This is the shared library path variable.
19279 shlibpath_var=$shlibpath_var
19281 # Is shlibpath searched before the hard-coded library search path?
19282 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19284 # How to hardcode a shared library path into an executable.
19285 hardcode_action=$hardcode_action_RC
19287 # Whether we should hardcode library paths into libraries.
19288 hardcode_into_libs=$hardcode_into_libs
19290 # Flag to hardcode \$libdir into a binary during linking.
19291 # This must work even if \$libdir does not exist.
19292 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19294 # If ld is used when linking, flag to hardcode \$libdir into
19295 # a binary during linking. This must work even if \$libdir does
19297 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19299 # Whether we need a single -rpath flag with a separated argument.
19300 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19302 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19303 # resulting binary.
19304 hardcode_direct=$hardcode_direct_RC
19306 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19307 # resulting binary.
19308 hardcode_minus_L=$hardcode_minus_L_RC
19310 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19311 # the resulting binary.
19312 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19314 # Set to yes if building a shared library automatically hardcodes DIR into the library
19315 # and all subsequent libraries and executables linked against it.
19316 hardcode_automatic=$hardcode_automatic_RC
19318 # Variables whose values should be saved in libtool wrapper scripts and
19319 # restored at relink time.
19320 variables_saved_for_relink="$variables_saved_for_relink"
19322 # Whether libtool must link a program against all its dependency libraries.
19323 link_all_deplibs=$link_all_deplibs_RC
19325 # Compile-time system search path for libraries
19326 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19328 # Run-time system search path for libraries
19329 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19331 # Fix the shell variable \$srcfile for the compiler.
19332 fix_srcfile_path="$fix_srcfile_path_RC"
19334 # Set to yes if exported symbols are required.
19335 always_export_symbols=$always_export_symbols_RC
19337 # The commands to list exported symbols.
19338 export_symbols_cmds=$lt_export_symbols_cmds_RC
19340 # The commands to extract the exported symbol list from a shared archive.
19341 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19343 # Symbols that should not be listed in the preloaded symbols.
19344 exclude_expsyms=$lt_exclude_expsyms_RC
19346 # Symbols that must always be exported.
19347 include_expsyms=$lt_include_expsyms_RC
19349 # ### END LIBTOOL TAG CONFIG: $tagname
19355 # If there is no Makefile yet, we rely on a make rule to execute
19356 # `config.status --recheck' to rerun these tests and create the
19357 # libtool script then.
19358 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19359 if test -f "$ltmain_in"; then
19360 test -f Makefile
&& make "$ltmain"
19366 ac_cpp
='$CPP $CPPFLAGS'
19367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19376 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19377 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19378 { (exit 1); exit 1; }; }
19382 # Append the new tag name to the list of available tags.
19383 if test -n "$tagname" ; then
19384 available_tags
="$available_tags $tagname"
19390 # Now substitute the updated list of available tags.
19391 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19392 mv "${ofile}T" "$ofile"
19396 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19397 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19398 { (exit 1); exit 1; }; }
19404 # This can be used to rebuild libtool when needed
19405 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19407 # Always use our own libtool.
19408 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19410 # Prevent multiple expansion
19432 if test x
$GCC = xyes
19434 CFLAGS
="-Wall $CFLAGS"
19436 if test x
$GXX = xyes
19438 CXXFLAGS
="-Wall $CXXFLAGS"
19441 CFLAGS
="-I$srcdir/.. -I.. $CFLAGS"
19442 CXXFLAGS
="-I$srcdir/.. -I.. $CXXFLAGS"
19446 # Check whether --with-db was given.
19447 if test "${with_db+set}" = set; then
19448 withval
=$with_db; db
="$withval"
19456 makedatprog_target
=makedatprog
19459 dblibrary
=..
/gdbmobj
/libgdbmobj.la
19463 dblibrary
=..
/bdbobj
/libbdbobj.la
19467 makedatprog_target
=""
19475 if test "$USE_GDBM" = 1; then
19483 if test "$USE_DB" = 1; then
19493 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19494 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19495 if test "${ac_cv_header_stdc+set}" = set; then
19496 echo $ECHO_N "(cached) $ECHO_C" >&6
19498 cat >conftest.
$ac_ext <<_ACEOF
19501 cat confdefs.h
>>conftest.
$ac_ext
19502 cat >>conftest.
$ac_ext <<_ACEOF
19503 /* end confdefs.h. */
19504 #include <stdlib.h>
19505 #include <stdarg.h>
19506 #include <string.h>
19517 rm -f conftest.
$ac_objext
19518 if { (ac_try
="$ac_compile"
19519 case "(($ac_try" in
19520 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19521 *) ac_try_echo=$ac_try;;
19523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19524 (eval "$ac_compile") 2>conftest.er1
19526 grep -v '^ *+' conftest.er1 >conftest.err
19528 cat conftest.err >&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } && {
19531 test -z "$ac_c_werror_flag" ||
19532 test ! -s conftest.err
19533 } && test -s conftest.$ac_objext; then
19534 ac_cv_header_stdc=yes
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.$ac_ext >&5
19539 ac_cv_header_stdc=no
19542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19544 if test $ac_cv_header_stdc = yes; then
19545 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19546 cat >conftest.$ac_ext <<_ACEOF
19549 cat confdefs.h >>conftest.$ac_ext
19550 cat >>conftest.$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19552 #include <string.h>
19555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19556 $EGREP "memchr" >/dev/null 2>&1; then
19559 ac_cv_header_stdc=no
19565 if test $ac_cv_header_stdc = yes; then
19566 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19567 cat >conftest.$ac_ext <<_ACEOF
19570 cat confdefs.h >>conftest.$ac_ext
19571 cat >>conftest.$ac_ext <<_ACEOF
19572 /* end confdefs.h. */
19573 #include <stdlib.h>
19576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19577 $EGREP "free" >/dev/null 2>&1; then
19580 ac_cv_header_stdc=no
19586 if test $ac_cv_header_stdc = yes; then
19587 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19588 if test "$cross_compiling" = yes; then
19591 cat >conftest.$ac_ext <<_ACEOF
19594 cat confdefs.h >>conftest.$ac_ext
19595 cat >>conftest.$ac_ext <<_ACEOF
19596 /* end confdefs.h. */
19598 #include <stdlib.h>
19599 #if ((' ' & 0x0FF) == 0x020)
19600 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19601 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19603 # define ISLOWER(c) \
19604 (('a' <= (c) && (c) <= 'i') \
19605 || ('j' <= (c) && (c) <= 'r') \
19606 || ('s' <= (c) && (c) <= 'z'))
19607 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19610 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19615 for (i = 0; i < 256; i++)
19616 if (XOR (islower (i), ISLOWER (i))
19617 || toupper (i) != TOUPPER (i))
19622 rm -f conftest$ac_exeext
19623 if { (ac_try="$ac_link"
19624 case "(($ac_try" in
19625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19626 *) ac_try_echo
=$ac_try;;
19628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19629 (eval "$ac_link") 2>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19633 { (case "(($ac_try" in
19634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19635 *) ac_try_echo=$ac_try;;
19637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19638 (eval "$ac_try") 2>&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); }; }; then
19644 echo "$as_me: program exited with status $ac_status" >&5
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 ( exit $ac_status )
19649 ac_cv_header_stdc=no
19651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19657 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19658 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19659 if test $ac_cv_header_stdc = yes; then
19661 cat >>confdefs.h <<\_ACEOF
19662 #define STDC_HEADERS 1
19668 for ac_header in unistd.h
19670 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
19671 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19672 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19674 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19675 echo $ECHO_N "(cached) $ECHO_C" >&6
19677 ac_res=`eval echo '${'$as_ac_Header'}'`
19678 { echo "$as_me:$LINENO: result: $ac_res" >&5
19679 echo "${ECHO_T}$ac_res" >&6; }
19681 # Is the header compilable?
19682 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19683 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19684 cat >conftest.$ac_ext <<_ACEOF
19687 cat confdefs.h >>conftest.$ac_ext
19688 cat >>conftest.$ac_ext <<_ACEOF
19689 /* end confdefs.h. */
19690 $ac_includes_default
19691 #include <$ac_header>
19693 rm -f conftest.$ac_objext
19694 if { (ac_try="$ac_compile"
19695 case "(($ac_try" in
19696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19697 *) ac_try_echo
=$ac_try;;
19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_compile") 2>conftest.er1
19702 grep -v '^ *+' conftest.er1
>conftest.err
19704 cat conftest.err
>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } && {
19707 test -z "$ac_c_werror_flag" ||
19708 test ! -s conftest.err
19709 } && test -s conftest.
$ac_objext; then
19710 ac_header_compiler
=yes
19712 echo "$as_me: failed program was:" >&5
19713 sed 's/^/| /' conftest.
$ac_ext >&5
19715 ac_header_compiler
=no
19718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19719 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19720 echo "${ECHO_T}$ac_header_compiler" >&6; }
19722 # Is the header present?
19723 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19724 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19725 cat >conftest.
$ac_ext <<_ACEOF
19728 cat confdefs.h
>>conftest.
$ac_ext
19729 cat >>conftest.
$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19731 #include <$ac_header>
19733 if { (ac_try
="$ac_cpp conftest.$ac_ext"
19734 case "(($ac_try" in
19735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19736 *) ac_try_echo=$ac_try;;
19738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19741 grep -v '^ *+' conftest.er1 >conftest.err
19743 cat conftest.err >&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); } >/dev/null && {
19746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19747 test ! -s conftest.err
19749 ac_header_preproc=yes
19751 echo "$as_me: failed program was:" >&5
19752 sed 's/^/| /' conftest.$ac_ext >&5
19754 ac_header_preproc=no
19757 rm -f conftest.err conftest.$ac_ext
19758 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19759 echo "${ECHO_T}$ac_header_preproc" >&6; }
19761 # So? What about this header?
19762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19764 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19765 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19767 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19768 ac_header_preproc=yes
19771 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19772 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19773 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19774 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19775 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19776 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19777 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19778 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19781 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19782 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19784 ## -------------------------------------------------- ##
19785 ## Report this to courier-users@lists.sourceforge.net ##
19786 ## -------------------------------------------------- ##
19788 ) | sed "s/^/$as_me: WARNING: /" >&2
19791 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19794 echo $ECHO_N "(cached) $ECHO_C" >&6
19796 eval "$as_ac_Header=\$ac_header_preproc"
19798 ac_res=`eval echo '${'$as_ac_Header'}'`
19799 { echo "$as_me:$LINENO: result: $ac_res" >&5
19800 echo "${ECHO_T}$ac_res" >&6; }
19803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19804 cat >>confdefs.h <<_ACEOF
19805 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
19816 # Check whether --with-makedatprog was given.
19817 if test "${with_makedatprog+set}" = set; then
19818 withval=$with_makedatprog; makedatprog="$withval"
19820 makedatprog="$bindir/makedatprog"
19824 makedatprogpath="$makedatprog"
19827 ac_config_files="$ac_config_files Makefile makedat"
19829 cat >confcache <<\_ACEOF
19830 # This file is a shell script that caches the results of configure
19831 # tests run on this system so they can be shared between configure
19832 # scripts and configure runs, see configure's option --config-cache.
19833 # It is not useful on other systems. If it contains results you don't
19834 # want to keep, you may remove or edit it.
19836 # config.status only pays attention to the cache file if you give it
19837 # the --recheck option to rerun configure.
19839 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
19840 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19841 # following values.
19845 # The following way of writing the cache mishandles newlines in values,
19846 # but we know of no workaround that is simple, portable, and efficient.
19847 # So, we kill variables containing newlines.
19848 # Ultrix sh set writes to stderr and can't be redirected directly,
19849 # and sets the high bit in the cache file unless we assign to the vars.
19851 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19852 eval ac_val
=\$
$ac_var
19856 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
19857 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
19860 _ | IFS | as_nl
) ;; #(
19861 *) $as_unset $ac_var ;;
19867 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19868 *${as_nl}ac_space
=\
*)
19869 # `set' does not quote correctly, so add quotes (double-quote
19870 # substitution turns \\\\ into \\, and sed turns \\ into \).
19873 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19876 # `set' quotes correctly as required by POSIX, so do not add quotes.
19877 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19886 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19888 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19890 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19891 if test -w "$cache_file"; then
19892 test "x$cache_file" != "x/dev/null" &&
19893 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
19894 echo "$as_me: updating cache $cache_file" >&6;}
19895 cat confcache
>$cache_file
19897 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19898 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19903 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19904 # Let make expand exec_prefix.
19905 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19907 DEFS
=-DHAVE_CONFIG_H
19911 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19912 # 1. Remove the extension, and $U if already installed.
19913 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19914 ac_i
=`echo "$ac_i" | sed "$ac_script"`
19915 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19916 # will be set to the directory where LIBOBJS objects are built.
19917 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19918 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19920 LIBOBJS
=$ac_libobjs
19922 LTLIBOBJS
=$ac_ltlibobjs
19925 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19926 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19927 Usually this means the macro was only invoked conditionally." >&5
19928 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19929 Usually this means the macro was only invoked conditionally." >&2;}
19930 { (exit 1); exit 1; }; }
19932 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19933 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19934 Usually this means the macro was only invoked conditionally." >&5
19935 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19936 Usually this means the macro was only invoked conditionally." >&2;}
19937 { (exit 1); exit 1; }; }
19939 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19940 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19941 Usually this means the macro was only invoked conditionally." >&5
19942 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19943 Usually this means the macro was only invoked conditionally." >&2;}
19944 { (exit 1); exit 1; }; }
19946 if test -z "${USE_GDBM_TRUE}" && test -z "${USE_GDBM_FALSE}"; then
19947 { { echo "$as_me:$LINENO: error: conditional \"USE_GDBM\" was never defined.
19948 Usually this means the macro was only invoked conditionally." >&5
19949 echo "$as_me: error: conditional \"USE_GDBM\" was never defined.
19950 Usually this means the macro was only invoked conditionally." >&2;}
19951 { (exit 1); exit 1; }; }
19953 if test -z "${USE_DB_TRUE}" && test -z "${USE_DB_FALSE}"; then
19954 { { echo "$as_me:$LINENO: error: conditional \"USE_DB\" was never defined.
19955 Usually this means the macro was only invoked conditionally." >&5
19956 echo "$as_me: error: conditional \"USE_DB\" was never defined.
19957 Usually this means the macro was only invoked conditionally." >&2;}
19958 { (exit 1); exit 1; }; }
19961 : ${CONFIG_STATUS=./config.status}
19962 ac_clean_files_save
=$ac_clean_files
19963 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19964 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19965 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19966 cat >$CONFIG_STATUS <<_ACEOF
19968 # Generated by $as_me.
19969 # Run this file to recreate the current configuration.
19970 # Compiler output produced by configure, useful for debugging
19971 # configure, is in config.log if it exists.
19974 ac_cs_recheck=false
19976 SHELL=\${CONFIG_SHELL-$SHELL}
19979 cat >>$CONFIG_STATUS <<\_ACEOF
19980 ## --------------------- ##
19981 ## M4sh Initialization. ##
19982 ## --------------------- ##
19984 # Be more Bourne compatible
19985 DUALCASE
=1; export DUALCASE
# for MKS sh
19986 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19989 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19990 # is contrary to our usage. Disable this feature.
19991 alias -g '${1+"$@"}'='"$@"'
19992 setopt NO_GLOB_SUBST
19994 case `(set -o) 2>/dev/null` in
19995 *posix
*) set -o posix
;;
20004 # Avoid depending upon Character Ranges.
20005 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20006 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20007 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20008 as_cr_digits
='0123456789'
20009 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20011 # The user is always right.
20012 if test "${PATH_SEPARATOR+set}" != set; then
20013 echo "#! /bin/sh" >conf$$.sh
20014 echo "exit 0" >>conf$$.sh
20016 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20024 # Support unset when possible.
20025 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20033 # We need space, tab and new line, in precisely that order. Quoting is
20034 # there to prevent editors from complaining about space-tab.
20035 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20036 # splitting by setting IFS to empty value.)
20041 # Find who we are. Look in the path if we contain no directory separator.
20043 *[\\/]* ) as_myself
=$0 ;;
20044 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20045 for as_dir
in $PATH
20048 test -z "$as_dir" && as_dir
=.
20049 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20055 # We did not find ourselves, most probably we were run as `sh COMMAND'
20056 # in which case we are not to be found in the path.
20057 if test "x$as_myself" = x
; then
20060 if test ! -f "$as_myself"; then
20061 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20062 { (exit 1); exit 1; }
20065 # Work around bugs in pre-3.0 UWIN ksh.
20066 for as_var
in ENV MAIL MAILPATH
20067 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20075 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20076 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20077 LC_TELEPHONE LC_TIME
20079 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20080 eval $as_var=C
; export $as_var
20082 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20086 # Required to use basename.
20087 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20088 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20094 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20095 as_basename
=basename
20101 # Name of the executable.
20102 as_me
=`$as_basename -- "$0" ||
20103 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20104 X"$0" : 'X\(//\)$' \| \
20105 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20107 sed '/^.*\/\([^/][^/]*\)\/*$/{
20126 as_lineno_1
=$LINENO
20127 as_lineno_2
=$LINENO
20128 test "x$as_lineno_1" != "x$as_lineno_2" &&
20129 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20131 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20132 # uniformly replaced by the line number. The first 'sed' inserts a
20133 # line-number line after each line using $LINENO; the second 'sed'
20134 # does the real work. The second script uses 'N' to pair each
20135 # line-number line with the line containing $LINENO, and appends
20136 # trailing '-' during substitution so that $LINENO is not a special
20137 # case at line end.
20138 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20139 # scripts with optimization help from Paolo Bonzini. Blame Lee
20140 # E. McMahon (1931-1989) for sed's syntax. :-)
20152 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20155 ' >$as_me.lineno
&&
20156 chmod +x
"$as_me.lineno" ||
20157 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20158 { (exit 1); exit 1; }; }
20160 # Don't try to exec as it changes $[0], causing all sort of problems
20161 # (the dirname of $[0] is not the place where we might find the
20162 # original and so on. Autoconf is especially sensitive to this).
20163 .
"./$as_me.lineno"
20164 # Exit status is that of the last command.
20169 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20175 ECHO_C
= ECHO_N
= ECHO_T
=
20176 case `echo -n x` in
20178 case `echo 'x\c'` in
20179 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20186 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20187 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20193 rm -f conf$$ conf$$.exe conf$$.
file
20194 if test -d conf$$.dir
; then
20195 rm -f conf$$.dir
/conf$$.
file
20201 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20203 # ... but there are two gotchas:
20204 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20205 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20206 # In both cases, we have to default to `cp -p'.
20207 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20209 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20214 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20215 rmdir conf$$.dir
2>/dev
/null
20217 if mkdir
-p .
2>/dev
/null
; then
20220 test -d .
/-p && rmdir .
/-p
20224 if test -x / >/dev
/null
2>&1; then
20225 as_test_x
='test -x'
20227 if ls -dL / >/dev
/null
2>&1; then
20234 if test -d "$1"; then
20240 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20241 ???[sx]*):;;*)false;;esac;fi
20245 as_executable_p
=$as_test_x
20247 # Sed expression to map a string onto a valid CPP name.
20248 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20250 # Sed expression to map a string onto a valid variable name.
20251 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20256 # Save the log message, to keep $[0] and so on meaningful, and to
20257 # report actual input values of CONFIG_FILES etc. instead of their
20258 # values after options handling.
20260 This file was extended by makedat $as_me 0.60, which was
20261 generated by GNU Autoconf 2.61. Invocation command line was
20263 CONFIG_FILES = $CONFIG_FILES
20264 CONFIG_HEADERS = $CONFIG_HEADERS
20265 CONFIG_LINKS = $CONFIG_LINKS
20266 CONFIG_COMMANDS = $CONFIG_COMMANDS
20269 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20274 cat >>$CONFIG_STATUS <<_ACEOF
20275 # Files that config.status was made for.
20276 config_files="$ac_config_files"
20277 config_headers="$ac_config_headers"
20278 config_commands="$ac_config_commands"
20282 cat >>$CONFIG_STATUS <<\_ACEOF
20284 \`$as_me' instantiates files from templates according to the
20285 current configuration.
20287 Usage: $0 [OPTIONS] [FILE]...
20289 -h, --help print this help, then exit
20290 -V, --version print version number and configuration settings, then exit
20291 -q, --quiet do not print progress messages
20292 -d, --debug don't remove temporary files
20293 --recheck update $as_me by reconfiguring in the same conditions
20294 --file=FILE[:TEMPLATE]
20295 instantiate the configuration file FILE
20296 --header=FILE[:TEMPLATE]
20297 instantiate the configuration header FILE
20299 Configuration files:
20302 Configuration headers:
20305 Configuration commands:
20308 Report bugs to <bug-autoconf@gnu.org>."
20311 cat >>$CONFIG_STATUS <<_ACEOF
20313 makedat config.status 0.60
20314 configured by $0, generated by GNU Autoconf 2.61,
20315 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20317 Copyright (C) 2006 Free Software Foundation, Inc.
20318 This config.status script is free software; the Free Software Foundation
20319 gives unlimited permission to copy, distribute and modify it."
20327 cat >>$CONFIG_STATUS <<\_ACEOF
20328 # If no file are specified by the user, then we need to provide default
20329 # value. By we need to know if files were specified by the user.
20335 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20336 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20347 # Handling of the options.
20348 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20350 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20351 echo "$ac_cs_version"; exit ;;
20352 --debug |
--debu |
--deb |
--de |
--d |
-d )
20354 --file |
--fil |
--fi |
--f )
20356 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20357 ac_need_defaults
=false
;;
20358 --header |
--heade |
--head |
--hea )
20360 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20361 ac_need_defaults
=false
;;
20363 # Conflict between --help and --header
20364 { echo "$as_me: error: ambiguous option: $1
20365 Try \`$0 --help' for more information." >&2
20366 { (exit 1); exit 1; }; };;
20367 --help |
--hel |
-h )
20368 echo "$ac_cs_usage"; exit ;;
20369 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20370 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20373 # This is an error.
20374 -*) { echo "$as_me: error: unrecognized option: $1
20375 Try \`$0 --help' for more information." >&2
20376 { (exit 1); exit 1; }; } ;;
20378 *) ac_config_targets
="$ac_config_targets $1"
20379 ac_need_defaults
=false
;;
20385 ac_configure_extra_args
=
20387 if $ac_cs_silent; then
20389 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20393 cat >>$CONFIG_STATUS <<_ACEOF
20394 if \$ac_cs_recheck; then
20395 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20396 CONFIG_SHELL=$SHELL
20397 export CONFIG_SHELL
20398 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20402 cat >>$CONFIG_STATUS <<\_ACEOF
20406 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20407 ## Running $as_me. ##
20413 cat >>$CONFIG_STATUS <<_ACEOF
20417 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20421 cat >>$CONFIG_STATUS <<\_ACEOF
20423 # Handling of arguments.
20424 for ac_config_target
in $ac_config_targets
20426 case $ac_config_target in
20427 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20428 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20429 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20430 "makedat") CONFIG_FILES
="$CONFIG_FILES makedat" ;;
20432 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20433 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20434 { (exit 1); exit 1; }; };;
20439 # If the user did not use the arguments to specify the items to instantiate,
20440 # then the envvar interface is used. Set only those that are not.
20441 # We use the long form for the default assignment because of an extremely
20442 # bizarre bug on SunOS 4.1.3.
20443 if $ac_need_defaults; then
20444 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20445 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20446 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20449 # Have a temporary directory for convenience. Make it in the build tree
20450 # simply because there is no reason against having it here, and in addition,
20451 # creating and moving files from /tmp can sometimes cause problems.
20452 # Hook for its removal unless debugging.
20453 # Note that there is a small window in which the directory will not be cleaned:
20454 # after its creation but before its name has been assigned to `$tmp'.
20458 trap 'exit_status=$?
20459 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20461 trap '{ (exit 1); exit 1; }' 1 2 13 15
20463 # Create a (secure) tmp directory for tmp files.
20466 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20467 test -n "$tmp" && test -d "$tmp"
20470 tmp
=.
/conf$$
-$RANDOM
20471 (umask 077 && mkdir
"$tmp")
20474 echo "$me: cannot create a temporary directory in ." >&2
20475 { (exit 1); exit 1; }
20479 # Set up the sed scripts for CONFIG_FILES section.
20482 # No need to generate the scripts if there are no CONFIG_FILES.
20483 # This happens for instance when ./config.status config.h
20484 if test -n "$CONFIG_FILES"; then
20491 for ac_last_try
in false false false false false
:; do
20492 cat >conf$
$subs.
sed <<_ACEOF
20493 SHELL!$SHELL$ac_delim
20494 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20495 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20496 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20497 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20498 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20499 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20500 exec_prefix!$exec_prefix$ac_delim
20501 prefix!$prefix$ac_delim
20502 program_transform_name!$program_transform_name$ac_delim
20503 bindir!$bindir$ac_delim
20504 sbindir!$sbindir$ac_delim
20505 libexecdir!$libexecdir$ac_delim
20506 datarootdir!$datarootdir$ac_delim
20507 datadir!$datadir$ac_delim
20508 sysconfdir!$sysconfdir$ac_delim
20509 sharedstatedir!$sharedstatedir$ac_delim
20510 localstatedir!$localstatedir$ac_delim
20511 includedir!$includedir$ac_delim
20512 oldincludedir!$oldincludedir$ac_delim
20513 docdir!$docdir$ac_delim
20514 infodir!$infodir$ac_delim
20515 htmldir!$htmldir$ac_delim
20516 dvidir!$dvidir$ac_delim
20517 pdfdir!$pdfdir$ac_delim
20518 psdir!$psdir$ac_delim
20519 libdir!$libdir$ac_delim
20520 localedir!$localedir$ac_delim
20521 mandir!$mandir$ac_delim
20522 DEFS!$DEFS$ac_delim
20523 ECHO_C!$ECHO_C$ac_delim
20524 ECHO_N!$ECHO_N$ac_delim
20525 ECHO_T!$ECHO_T$ac_delim
20526 LIBS!$LIBS$ac_delim
20527 build_alias!$build_alias$ac_delim
20528 host_alias!$host_alias$ac_delim
20529 target_alias!$target_alias$ac_delim
20530 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20531 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20532 INSTALL_DATA!$INSTALL_DATA$ac_delim
20533 am__isrc!$am__isrc$ac_delim
20534 CYGPATH_W!$CYGPATH_W$ac_delim
20535 PACKAGE!$PACKAGE$ac_delim
20536 VERSION!$VERSION$ac_delim
20537 ACLOCAL!$ACLOCAL$ac_delim
20538 AUTOCONF!$AUTOCONF$ac_delim
20539 AUTOMAKE!$AUTOMAKE$ac_delim
20540 AUTOHEADER!$AUTOHEADER$ac_delim
20541 MAKEINFO!$MAKEINFO$ac_delim
20542 install_sh!$install_sh$ac_delim
20543 STRIP!$STRIP$ac_delim
20544 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20545 mkdir_p!$mkdir_p$ac_delim
20547 SET_MAKE!$SET_MAKE$ac_delim
20548 am__leading_dot!$am__leading_dot$ac_delim
20549 AMTAR!$AMTAR$ac_delim
20550 am__tar!$am__tar$ac_delim
20551 am__untar!$am__untar$ac_delim
20553 CFLAGS!$CFLAGS$ac_delim
20554 LDFLAGS!$LDFLAGS$ac_delim
20555 CPPFLAGS!$CPPFLAGS$ac_delim
20556 ac_ct_CC!$ac_ct_CC$ac_delim
20557 EXEEXT!$EXEEXT$ac_delim
20558 OBJEXT!$OBJEXT$ac_delim
20559 DEPDIR!$DEPDIR$ac_delim
20560 am__include!$am__include$ac_delim
20561 am__quote!$am__quote$ac_delim
20562 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20563 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20564 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20565 CCDEPMODE!$CCDEPMODE$ac_delim
20566 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20567 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20568 LN_S!$LN_S$ac_delim
20569 PERL!$PERL$ac_delim
20571 build!$build$ac_delim
20572 build_cpu!$build_cpu$ac_delim
20573 build_vendor!$build_vendor$ac_delim
20574 build_os!$build_os$ac_delim
20575 host!$host$ac_delim
20576 host_cpu!$host_cpu$ac_delim
20577 host_vendor!$host_vendor$ac_delim
20578 host_os!$host_os$ac_delim
20580 GREP!$GREP$ac_delim
20581 EGREP!$EGREP$ac_delim
20582 ECHO!$ECHO$ac_delim
20584 RANLIB!$RANLIB$ac_delim
20587 CXXFLAGS!$CXXFLAGS$ac_delim
20588 ac_ct_CXX!$ac_ct_CXX$ac_delim
20589 CXXDEPMODE!$CXXDEPMODE$ac_delim
20592 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20594 elif $ac_last_try; then
20595 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20596 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20597 { (exit 1); exit 1; }; }
20599 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20603 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20604 if test -n "$ac_eof"; then
20605 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20606 ac_eof
=`expr $ac_eof + 1`
20609 cat >>$CONFIG_STATUS <<_ACEOF
20610 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20611 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20614 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20615 s/^/s,@/; s/!/@,|#_!!_#|/
20618 s/'"$ac_delim"'$/,g/; t
20620 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20621 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20622 rm -f conf$
$subs.
sed
20623 cat >>$CONFIG_STATUS <<_ACEOF
20629 for ac_last_try
in false false false false false
:; do
20630 cat >conf$
$subs.
sed <<_ACEOF
20631 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20632 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20633 CXXCPP!$CXXCPP$ac_delim
20635 FFLAGS!$FFLAGS$ac_delim
20636 ac_ct_F77!$ac_ct_F77$ac_delim
20637 LIBTOOL!$LIBTOOL$ac_delim
20638 makedatprog_target!$makedatprog_target$ac_delim
20639 dblibrary!$dblibrary$ac_delim
20640 LIBGDBM!$LIBGDBM$ac_delim
20641 LIBDB!$LIBDB$ac_delim
20642 USE_GDBM_TRUE!$USE_GDBM_TRUE$ac_delim
20643 USE_GDBM_FALSE!$USE_GDBM_FALSE$ac_delim
20644 USE_DB_TRUE!$USE_DB_TRUE$ac_delim
20645 USE_DB_FALSE!$USE_DB_FALSE$ac_delim
20646 makedatprogpath!$makedatprogpath$ac_delim
20647 LIBOBJS!$LIBOBJS$ac_delim
20648 LTLIBOBJS!$LTLIBOBJS$ac_delim
20651 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 18; then
20653 elif $ac_last_try; then
20654 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20655 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20656 { (exit 1); exit 1; }; }
20658 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20662 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20663 if test -n "$ac_eof"; then
20664 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20665 ac_eof
=`expr $ac_eof + 1`
20668 cat >>$CONFIG_STATUS <<_ACEOF
20669 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20670 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20673 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20674 s/^/s,@/; s/!/@,|#_!!_#|/
20677 s/'"$ac_delim"'$/,g/; t
20679 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20680 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20681 rm -f conf$
$subs.
sed
20682 cat >>$CONFIG_STATUS <<_ACEOF
20689 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20690 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20691 # trailing colons and then remove the whole line if VPATH becomes empty
20692 # (actually we leave an empty line to preserve line numbers).
20693 if test "x$srcdir" = x.
; then
20694 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20695 s/:*\$(srcdir):*/:/
20696 s/:*\${srcdir}:*/:/
20698 s/^\([^=]*=[ ]*\):*/\1/
20704 cat >>$CONFIG_STATUS <<\_ACEOF
20705 fi # test -n "$CONFIG_FILES"
20708 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
20711 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20713 case $ac_mode$ac_tag in
20715 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20716 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20717 { (exit 1); exit 1; }; };;
20718 :[FH
]-) ac_tag
=-:-;;
20719 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20736 -) ac_f
="$tmp/stdin";;
20737 *) # Look for the file first in the build tree, then in the source tree
20738 # (if the path is not absolute). The absolute path cannot be DOS-style,
20739 # because $ac_f cannot contain `:'.
20743 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20745 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20746 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20747 { (exit 1); exit 1; }; };;
20749 ac_file_inputs
="$ac_file_inputs $ac_f"
20752 # Let's still pretend it is `configure' which instantiates (i.e., don't
20753 # use $as_me), people would be surprised to read:
20754 # /* config.h. Generated by config.status. */
20755 configure_input
="Generated from "`IFS=:
20756 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20757 if test x
"$ac_file" != x-
; then
20758 configure_input
="$ac_file. $configure_input"
20759 { echo "$as_me:$LINENO: creating $ac_file" >&5
20760 echo "$as_me: creating $ac_file" >&6;}
20764 *:-:* |
*:-) cat >"$tmp/stdin";;
20769 ac_dir
=`$as_dirname -- "$ac_file" ||
20770 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20771 X"$ac_file" : 'X\(//\)[^/]' \| \
20772 X"$ac_file" : 'X\(//\)$' \| \
20773 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20779 /^X\(\/\/\)[^/].*/{
20794 -*) as_dir
=.
/$as_dir;;
20796 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20800 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20801 *) as_qdir
=$as_dir;;
20803 as_dirs
="'$as_qdir' $as_dirs"
20804 as_dir
=`$as_dirname -- "$as_dir" ||
20805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20806 X"$as_dir" : 'X\(//\)[^/]' \| \
20807 X"$as_dir" : 'X\(//\)$' \| \
20808 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20814 /^X\(\/\/\)[^/].*/{
20827 test -d "$as_dir" && break
20829 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20830 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20831 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20832 { (exit 1); exit 1; }; }; }
20836 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20838 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20839 # A ".." for each directory in $ac_dir_suffix.
20840 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20841 case $ac_top_builddir_sub in
20842 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20843 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20846 ac_abs_top_builddir
=$ac_pwd
20847 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20848 # for backward compatibility:
20849 ac_top_builddir
=$ac_top_build_prefix
20852 .
) # We are building in place.
20854 ac_top_srcdir
=$ac_top_builddir_sub
20855 ac_abs_top_srcdir
=$ac_pwd ;;
20856 [\\/]* | ?
:[\\/]* ) # Absolute name.
20857 ac_srcdir
=$srcdir$ac_dir_suffix;
20858 ac_top_srcdir
=$srcdir
20859 ac_abs_top_srcdir
=$srcdir ;;
20860 *) # Relative name.
20861 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20862 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20863 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20865 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20875 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20876 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20878 ac_MKDIR_P
=$MKDIR_P
20880 [\\/$
]* | ?
:[\\/]* ) ;;
20881 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20885 cat >>$CONFIG_STATUS <<\_ACEOF
20886 # If the template does not know about datarootdir, expand it.
20887 # FIXME: This hack should be removed a few years after 2.60.
20888 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20890 case `sed -n '/datarootdir/ {
20899 ' $ac_file_inputs` in
20900 *datarootdir
*) ac_datarootdir_seen
=yes;;
20901 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20902 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20903 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20905 cat >>$CONFIG_STATUS <<_ACEOF
20906 ac_datarootdir_hack='
20907 s&@datadir@&$datadir&g
20908 s&@docdir@&$docdir&g
20909 s&@infodir@&$infodir&g
20910 s&@localedir@&$localedir&g
20911 s&@mandir@&$mandir&g
20912 s&\\\${datarootdir}&$datarootdir&g' ;;
20916 # Neutralize VPATH when `$srcdir' = `.'.
20917 # Shell code in configure.ac might set extrasub.
20918 # FIXME: do we really want to maintain this feature?
20919 cat >>$CONFIG_STATUS <<_ACEOF
20923 cat >>$CONFIG_STATUS <<\_ACEOF
20925 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20926 s
&@configure_input@
&$configure_input&;t t
20927 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20928 s
&@srcdir@
&$ac_srcdir&;t t
20929 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20930 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20931 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20932 s
&@builddir@
&$ac_builddir&;t t
20933 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20934 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20935 s
&@INSTALL@
&$ac_INSTALL&;t t
20936 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20937 $ac_datarootdir_hack
20938 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
20940 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20941 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
20942 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
20943 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20944 which seems to be undefined. Please make sure it is defined." >&5
20945 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20946 which seems to be undefined. Please make sure it is defined." >&2;}
20950 -) cat "$tmp/out"; rm -f "$tmp/out";;
20951 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20960 # Transform confdefs.h into a sed script `conftest.defines', that
20961 # substitutes the proper values into config.h.in to produce config.h.
20962 rm -f conftest.defines conftest.
tail
20963 # First, append a space to every undef/define line, to ease matching.
20964 echo 's/$/ /' >conftest.defines
20965 # Then, protect against being on the right side of a sed subst, or in
20966 # an unquoted here document, in config.status. If some macros were
20967 # called several times there might be several #defines for the same
20968 # symbol, which is useless. But do not sort them, since the last
20969 # AC_DEFINE must be honored.
20970 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
20971 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
20972 # NAME is the cpp macro being defined, VALUE is the value it is being given.
20973 # PARAMS is the parameter list in the macro definition--in most cases, it's
20974 # just an empty string.
20975 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
20976 ac_dB
='\\)[ (].*,\\1define\\2'
20984 s/^[ ]*#[ ]*define[ ][ ]*//
20989 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
20990 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
20991 ' >>conftest.defines
20993 # Remove the space that was appended to ease matching.
20994 # Then replace #undef with comments. This is necessary, for
20995 # example, in the case of _POSIX_SOURCE, which is predefined and required
20996 # on some systems where configure will not decide to define it.
20997 # (The regexp can be short, since the line contains either #define or #undef.)
20999 s,^[ #]*u.*,/* & */,' >>conftest.defines
21001 # Break up conftest.defines:
21002 ac_max_sed_lines
=50
21004 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21005 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21006 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21008 ac_in
='$ac_file_inputs'
21009 ac_out
='"$tmp/out1"'
21010 ac_nxt
='"$tmp/out2"'
21014 # Write a here document:
21015 cat >>$CONFIG_STATUS <<_ACEOF
21016 # First, check the format of the line:
21017 cat >"\$tmp/defines.sed" <<\\CEOF
21018 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21019 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21023 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21025 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21026 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21027 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21028 grep . conftest.
tail >/dev
/null ||
break
21029 rm -f conftest.defines
21030 mv conftest.
tail conftest.defines
21032 rm -f conftest.defines conftest.
tail
21034 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21035 cat >>$CONFIG_STATUS <<\_ACEOF
21036 if test x
"$ac_file" != x-
; then
21037 echo "/* $configure_input */" >"$tmp/config.h"
21038 cat "$ac_result" >>"$tmp/config.h"
21039 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21040 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21041 echo "$as_me: $ac_file is unchanged" >&6;}
21044 mv "$tmp/config.h" $ac_file
21047 echo "/* $configure_input */"
21051 # Compute $ac_file's index in $config_headers.
21053 for _am_header
in $config_headers :; do
21054 case $_am_header in
21055 $ac_file |
$ac_file:* )
21058 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21061 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21062 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21063 X$ac_file : 'X\(//\)[^/]' \| \
21064 X$ac_file : 'X\(//\)$' \| \
21065 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21071 /^X\(\/\/\)[^/].*/{
21083 s/.*/./; q'`/stamp-h
$_am_stamp_count
21086 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21087 echo "$as_me: executing $ac_file commands" >&6;}
21092 case $ac_file$ac_mode in
21093 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21094 # Strip MF so we end up with the name of the file.
21095 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21096 # Check whether this is an Automake generated Makefile or not.
21097 # We used to match only the files named `Makefile.in', but
21098 # some people rename them; so instead we look at the file content.
21099 # Grep'ing the first line is not enough: some people post-process
21100 # each Makefile.in and add a new line on top of each file to say so.
21101 # Grep'ing the whole file is not good either: AIX grep has a line
21102 # limit of 2048, but all sed's we know have understand at least 4000.
21103 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
21104 dirpart
=`$as_dirname -- "$mf" ||
21105 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21106 X"$mf" : 'X\(//\)[^/]' \| \
21107 X"$mf" : 'X\(//\)$' \| \
21108 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21114 /^X\(\/\/\)[^/].*/{
21130 # Extract the definition of DEPDIR, am__include, and am__quote
21131 # from the Makefile without running `make'.
21132 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21133 test -z "$DEPDIR" && continue
21134 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21135 test -z "am__include" && continue
21136 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21137 # When using ansi2knr, U may be empty or an underscore; expand it
21138 U
=`sed -n 's/^U = //p' < "$mf"`
21139 # Find all dependency output files, they are included files with
21140 # $(DEPDIR) in their names. We invoke sed twice because it is the
21141 # simplest approach to changing $(DEPDIR) to its actual value in the
21143 for file in `sed -n "
21144 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21145 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21146 # Make sure the directory exists.
21147 test -f "$dirpart/$file" && continue
21148 fdir
=`$as_dirname -- "$file" ||
21149 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21150 X"$file" : 'X\(//\)[^/]' \| \
21151 X"$file" : 'X\(//\)$' \| \
21152 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21158 /^X\(\/\/\)[^/].*/{
21171 { as_dir
=$dirpart/$fdir
21173 -*) as_dir
=.
/$as_dir;;
21175 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21179 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21180 *) as_qdir
=$as_dir;;
21182 as_dirs
="'$as_qdir' $as_dirs"
21183 as_dir
=`$as_dirname -- "$as_dir" ||
21184 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21185 X"$as_dir" : 'X\(//\)[^/]' \| \
21186 X"$as_dir" : 'X\(//\)$' \| \
21187 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21193 /^X\(\/\/\)[^/].*/{
21206 test -d "$as_dir" && break
21208 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21209 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21210 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21211 { (exit 1); exit 1; }; }; }
21212 # echo "creating $dirpart/$file"
21213 echo '# dummy' > "$dirpart/$file"
21222 { (exit 0); exit 0; }
21224 chmod +x
$CONFIG_STATUS
21225 ac_clean_files
=$ac_clean_files_save
21228 # configure is writing to config.log, and then calls config.status.
21229 # config.status does its own redirection, appending to config.log.
21230 # Unfortunately, on DOS this fails, as config.log is still kept open
21231 # by configure, so config.status won't be able to write to it; its
21232 # output is simply discarded. So we exec the FD to /dev/null,
21233 # effectively closing config.log, so it can be properly (re)opened and
21234 # appended to by config.status. When coming back to configure, we
21235 # need to make the FD available again.
21236 if test "$no_create" != yes; then
21238 ac_config_status_args
=
21239 test "$silent" = yes &&
21240 ac_config_status_args
="$ac_config_status_args --quiet"
21242 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21244 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21245 # would make configure fail if this is the last instruction.
21246 $ac_cs_success ||
{ (exit 1); exit 1; }