2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for numlib 0.10.
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
='numlib'
730 PACKAGE_TARNAME
='numlib'
731 PACKAGE_VERSION
='0.10'
732 PACKAGE_STRING
='numlib 0.10'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="atotimet.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
877 ac_precious_vars
='build_alias
894 # Initialize some variables set by options.
896 ac_init_version
=false
897 # The variables have the same names as the options, with
898 # dashes changed to underlines.
906 program_transform_name
=s
,x
,x
,
914 # Installation directory options.
915 # These are left unexpanded so users can "make install exec_prefix=/foo"
916 # and all the variables that are supposed to be based on exec_prefix
917 # by default will actually change.
918 # Use braces instead of parens because sh, perl, etc. also accept them.
919 # (The list follows the same order as the GNU Coding Standards.)
920 bindir
='${exec_prefix}/bin'
921 sbindir
='${exec_prefix}/sbin'
922 libexecdir
='${exec_prefix}/libexec'
923 datarootdir
='${prefix}/share'
924 datadir
='${datarootdir}'
925 sysconfdir
='${prefix}/etc'
926 sharedstatedir
='${prefix}/com'
927 localstatedir
='${prefix}/var'
928 includedir
='${prefix}/include'
929 oldincludedir
='/usr/include'
930 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
931 infodir
='${datarootdir}/info'
936 libdir
='${exec_prefix}/lib'
937 localedir
='${datarootdir}/locale'
938 mandir
='${datarootdir}/man'
944 # If the previous option needs an argument, assign it.
945 if test -n "$ac_prev"; then
946 eval $ac_prev=\
$ac_option
952 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
956 # Accept the important Cygnus configure options, so we can diagnose typos.
958 case $ac_dashdash$ac_option in
962 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
964 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
967 -build |
--build |
--buil |
--bui |
--bu)
968 ac_prev
=build_alias
;;
969 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
970 build_alias
=$ac_optarg ;;
972 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
973 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
974 ac_prev
=cache_file
;;
975 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
976 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
977 cache_file
=$ac_optarg ;;
980 cache_file
=config.cache
;;
982 -datadir |
--datadir |
--datadi |
--datad)
984 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
985 datadir
=$ac_optarg ;;
987 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
988 |
--dataroo |
--dataro |
--datar)
989 ac_prev
=datarootdir
;;
990 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
991 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
992 datarootdir
=$ac_optarg ;;
994 -disable-* |
--disable-*)
995 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
998 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
999 { (exit 1); exit 1; }; }
1000 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1001 eval enable_
$ac_feature=no
;;
1003 -docdir |
--docdir |
--docdi |
--doc |
--do)
1005 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1006 docdir
=$ac_optarg ;;
1008 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1010 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1011 dvidir
=$ac_optarg ;;
1013 -enable-* |
--enable-*)
1014 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1017 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1018 { (exit 1); exit 1; }; }
1019 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1020 eval enable_
$ac_feature=\
$ac_optarg ;;
1022 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1023 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1024 |
--exec |
--exe |
--ex)
1025 ac_prev
=exec_prefix
;;
1026 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1027 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1028 |
--exec=* |
--exe=* |
--ex=*)
1029 exec_prefix
=$ac_optarg ;;
1031 -gas |
--gas |
--ga |
--g)
1032 # Obsolete; use --with-gas.
1035 -help |
--help |
--hel |
--he |
-h)
1036 ac_init_help
=long
;;
1037 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1038 ac_init_help
=recursive
;;
1039 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1040 ac_init_help
=short
;;
1042 -host |
--host |
--hos |
--ho)
1043 ac_prev
=host_alias
;;
1044 -host=* |
--host=* |
--hos=* |
--ho=*)
1045 host_alias
=$ac_optarg ;;
1047 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1049 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1051 htmldir
=$ac_optarg ;;
1053 -includedir |
--includedir |
--includedi |
--included |
--include \
1054 |
--includ |
--inclu |
--incl |
--inc)
1055 ac_prev
=includedir
;;
1056 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1057 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1058 includedir
=$ac_optarg ;;
1060 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1062 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1063 infodir
=$ac_optarg ;;
1065 -libdir |
--libdir |
--libdi |
--libd)
1067 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1068 libdir
=$ac_optarg ;;
1070 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1071 |
--libexe |
--libex |
--libe)
1072 ac_prev
=libexecdir
;;
1073 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1074 |
--libexe=* |
--libex=* |
--libe=*)
1075 libexecdir
=$ac_optarg ;;
1077 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1078 ac_prev
=localedir
;;
1079 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1080 localedir
=$ac_optarg ;;
1082 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1083 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1084 ac_prev
=localstatedir
;;
1085 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1086 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1087 localstatedir
=$ac_optarg ;;
1089 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1091 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1092 mandir
=$ac_optarg ;;
1094 -nfp |
--nfp |
--nf)
1095 # Obsolete; use --without-fp.
1098 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1099 |
--no-cr |
--no-c |
-n)
1102 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1103 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1106 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1107 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1108 |
--oldin |
--oldi |
--old |
--ol |
--o)
1109 ac_prev
=oldincludedir
;;
1110 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1111 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1112 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1113 oldincludedir
=$ac_optarg ;;
1115 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1117 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1118 prefix
=$ac_optarg ;;
1120 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1121 |
--program-pre |
--program-pr |
--program-p)
1122 ac_prev
=program_prefix
;;
1123 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1124 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1125 program_prefix
=$ac_optarg ;;
1127 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1128 |
--program-suf |
--program-su |
--program-s)
1129 ac_prev
=program_suffix
;;
1130 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1131 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1132 program_suffix
=$ac_optarg ;;
1134 -program-transform-name |
--program-transform-name \
1135 |
--program-transform-nam |
--program-transform-na \
1136 |
--program-transform-n |
--program-transform- \
1137 |
--program-transform |
--program-transfor \
1138 |
--program-transfo |
--program-transf \
1139 |
--program-trans |
--program-tran \
1140 |
--progr-tra |
--program-tr |
--program-t)
1141 ac_prev
=program_transform_name
;;
1142 -program-transform-name=* |
--program-transform-name=* \
1143 |
--program-transform-nam=* |
--program-transform-na=* \
1144 |
--program-transform-n=* |
--program-transform-=* \
1145 |
--program-transform=* |
--program-transfor=* \
1146 |
--program-transfo=* |
--program-transf=* \
1147 |
--program-trans=* |
--program-tran=* \
1148 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1149 program_transform_name
=$ac_optarg ;;
1151 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1153 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1154 pdfdir
=$ac_optarg ;;
1156 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1158 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1161 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1162 |
-silent |
--silent |
--silen |
--sile |
--sil)
1165 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1167 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1169 sbindir
=$ac_optarg ;;
1171 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1172 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1173 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1175 ac_prev
=sharedstatedir
;;
1176 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1177 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1178 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1180 sharedstatedir
=$ac_optarg ;;
1182 -site |
--site |
--sit)
1184 -site=* |
--site=* |
--sit=*)
1187 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1189 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1190 srcdir
=$ac_optarg ;;
1192 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1193 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1194 ac_prev
=sysconfdir
;;
1195 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1196 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1197 sysconfdir
=$ac_optarg ;;
1199 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1200 ac_prev
=target_alias
;;
1201 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1202 target_alias
=$ac_optarg ;;
1204 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1207 -version |
--version |
--versio |
--versi |
--vers |
-V)
1208 ac_init_version
=: ;;
1211 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1212 # Reject names that are not valid shell variable names.
1213 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1214 { echo "$as_me: error: invalid package name: $ac_package" >&2
1215 { (exit 1); exit 1; }; }
1216 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1217 eval with_
$ac_package=\
$ac_optarg ;;
1219 -without-* |
--without-*)
1220 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1223 { echo "$as_me: error: invalid package name: $ac_package" >&2
1224 { (exit 1); exit 1; }; }
1225 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1226 eval with_
$ac_package=no
;;
1229 # Obsolete; use --with-x.
1232 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1233 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1234 ac_prev
=x_includes
;;
1235 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1236 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1237 x_includes
=$ac_optarg ;;
1239 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1240 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1241 ac_prev
=x_libraries
;;
1242 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1243 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1244 x_libraries
=$ac_optarg ;;
1246 -*) { echo "$as_me: error: unrecognized option: $ac_option
1247 Try \`$0 --help' for more information." >&2
1248 { (exit 1); exit 1; }; }
1252 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1255 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1256 { (exit 1); exit 1; }; }
1257 eval $ac_envvar=\
$ac_optarg
1258 export $ac_envvar ;;
1261 # FIXME: should be removed in autoconf 3.0.
1262 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1264 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1271 if test -n "$ac_prev"; then
1272 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1273 { echo "$as_me: error: missing argument to $ac_option" >&2
1274 { (exit 1); exit 1; }; }
1277 # Be sure to have absolute directory names.
1278 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1279 datadir sysconfdir sharedstatedir localstatedir includedir \
1280 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1281 libdir localedir mandir
1283 eval ac_val
=\$
$ac_var
1285 [\\/$
]* | ?
:[\\/]* ) continue;;
1286 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1288 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1289 { (exit 1); exit 1; }; }
1292 # There might be people who depend on the old broken behavior: `$host'
1293 # used to hold the argument of --host etc.
1294 # FIXME: To remove some day.
1297 target
=$target_alias
1299 # FIXME: To remove some day.
1300 if test "x$host_alias" != x
; then
1301 if test "x$build_alias" = x
; then
1302 cross_compiling
=maybe
1303 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1304 If a cross compiler is detected then cross compile mode will be used." >&2
1305 elif test "x$build_alias" != "x$host_alias"; then
1311 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1313 test "$silent" = yes && exec 6>/dev
/null
1316 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1317 ac_ls_di
=`ls -di .` &&
1318 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1319 { echo "$as_me: error: Working directory cannot be determined" >&2
1320 { (exit 1); exit 1; }; }
1321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1322 { echo "$as_me: error: pwd does not report name of working directory" >&2
1323 { (exit 1); exit 1; }; }
1326 # Find the source files, if location was not specified.
1327 if test -z "$srcdir"; then
1328 ac_srcdir_defaulted
=yes
1329 # Try the directory containing this script, then the parent directory.
1330 ac_confdir
=`$as_dirname -- "$0" ||
1331 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1332 X"$0" : 'X\(//\)[^/]' \| \
1333 X"$0" : 'X\(//\)$' \| \
1334 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1358 ac_srcdir_defaulted
=no
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1361 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1362 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1363 { (exit 1); exit 1; }; }
1365 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1367 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1368 { (exit 1); exit 1; }; }
1370 # When building in place, set srcdir=.
1371 if test "$ac_abs_confdir" = "$ac_pwd"; then
1374 # Remove unnecessary trailing slashes from srcdir.
1375 # Double slashes in file names in object file debugging info
1376 # mess up M-x gdb in Emacs.
1378 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1380 for ac_var
in $ac_precious_vars; do
1381 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1382 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1383 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1384 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1388 # Report the --help message.
1390 if test "$ac_init_help" = "long"; then
1391 # Omit some internal or obsolete options to make the list less imposing.
1392 # This message is too long to be a string in the A/UX 3.1 sh.
1394 \`configure' configures numlib 0.10 to adapt to many kinds of systems.
1396 Usage: $0 [OPTION]... [VAR=VALUE]...
1398 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1399 VAR=VALUE. See below for descriptions of some of the useful variables.
1401 Defaults for the options are specified in brackets.
1404 -h, --help display this help and exit
1405 --help=short display options specific to this package
1406 --help=recursive display the short help of all the included packages
1407 -V, --version display version information and exit
1408 -q, --quiet, --silent do not print \`checking...' messages
1409 --cache-file=FILE cache test results in FILE [disabled]
1410 -C, --config-cache alias for \`--cache-file=config.cache'
1411 -n, --no-create do not create output files
1412 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1414 Installation directories:
1415 --prefix=PREFIX install architecture-independent files in PREFIX
1416 [$ac_default_prefix]
1417 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1420 By default, \`make install' will install all the files in
1421 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1422 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1423 for instance \`--prefix=\$HOME'.
1425 For better control, use the options below.
1427 Fine tuning of the installation directories:
1428 --bindir=DIR user executables [EPREFIX/bin]
1429 --sbindir=DIR system admin executables [EPREFIX/sbin]
1430 --libexecdir=DIR program executables [EPREFIX/libexec]
1431 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1432 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1433 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1434 --libdir=DIR object code libraries [EPREFIX/lib]
1435 --includedir=DIR C header files [PREFIX/include]
1436 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1437 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1438 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1439 --infodir=DIR info documentation [DATAROOTDIR/info]
1440 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1441 --mandir=DIR man documentation [DATAROOTDIR/man]
1442 --docdir=DIR documentation root [DATAROOTDIR/doc/numlib]
1443 --htmldir=DIR html documentation [DOCDIR]
1444 --dvidir=DIR dvi documentation [DOCDIR]
1445 --pdfdir=DIR pdf documentation [DOCDIR]
1446 --psdir=DIR ps documentation [DOCDIR]
1452 --program-prefix=PREFIX prepend PREFIX to installed program names
1453 --program-suffix=SUFFIX append SUFFIX to installed program names
1454 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1457 --build=BUILD configure
for building on BUILD
[guessed
]
1458 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1462 if test -n "$ac_init_help"; then
1463 case $ac_init_help in
1464 short | recursive
) echo "Configuration of numlib 0.10:";;
1469 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1470 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1471 --disable-dependency-tracking speeds up one-time build
1472 --enable-dependency-tracking do not reject slow dependency extractors
1473 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1474 --enable-static[=PKGS
] build static libraries
[default
=yes]
1475 --enable-fast-install[=PKGS
]
1476 optimize
for fast installation
[default
=yes]
1477 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1480 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1481 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1482 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1483 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1485 --with-tags[=TAGS
] include additional configurations
[automatic
]
1487 Some influential environment variables
:
1488 CC C compiler
command
1489 CFLAGS C compiler flags
1490 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1491 nonstandard directory
<lib dir
>
1492 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1493 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1494 you have headers
in a nonstandard directory
<include dir
>
1496 CXX C
++ compiler
command
1497 CXXFLAGS C
++ compiler flags
1498 CXXCPP C
++ preprocessor
1499 F77 Fortran
77 compiler
command
1500 FFLAGS Fortran
77 compiler flags
1502 Use these variables to override the choices made by
`configure' or to help
1503 it to find libraries and programs with nonstandard names/locations.
1505 Report bugs to <courier-users@lists.sourceforge.net>.
1510 if test "$ac_init_help" = "recursive"; then
1511 # If there are subdirs, report their specific --help.
1512 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1513 test -d "$ac_dir" || continue
1517 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1519 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1520 # A ".." for each directory in $ac_dir_suffix.
1521 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1522 case $ac_top_builddir_sub in
1523 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1524 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1527 ac_abs_top_builddir=$ac_pwd
1528 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1529 # for backward compatibility:
1530 ac_top_builddir=$ac_top_build_prefix
1533 .) # We are building in place.
1535 ac_top_srcdir=$ac_top_builddir_sub
1536 ac_abs_top_srcdir=$ac_pwd ;;
1537 [\\/]* | ?:[\\/]* ) # Absolute name.
1538 ac_srcdir=$srcdir$ac_dir_suffix;
1539 ac_top_srcdir=$srcdir
1540 ac_abs_top_srcdir=$srcdir ;;
1542 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1543 ac_top_srcdir=$ac_top_build_prefix$srcdir
1544 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1546 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1548 cd "$ac_dir" || { ac_status=$?; continue; }
1549 # Check for guested configure.
1550 if test -f "$ac_srcdir/configure.gnu"; then
1552 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1553 elif test -f "$ac_srcdir/configure"; then
1555 $SHELL "$ac_srcdir/configure" --help=recursive
1557 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1559 cd "$ac_pwd" || { ac_status=$?; break; }
1563 test -n "$ac_init_help" && exit $ac_status
1564 if $ac_init_version; then
1566 numlib configure 0.10
1567 generated by GNU Autoconf 2.61
1569 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1570 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1571 This configure script is free software; the Free Software Foundation
1572 gives unlimited permission to copy, distribute and modify it.
1576 cat >config.log <<_ACEOF
1577 This file contains any messages produced by compilers while
1578 running configure, to aid debugging if configure makes a mistake.
1580 It was created by numlib $as_me 0.10, which was
1581 generated by GNU Autoconf 2.61. Invocation command line was
1593 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1594 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1595 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1596 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1597 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1599 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1600 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1602 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1603 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1604 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1605 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1606 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1607 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1608 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1616 test -z "$as_dir" && as_dir=.
1617 echo "PATH: $as_dir"
1633 # Keep a trace of the command line.
1634 # Strip out --no-create and --no-recursion so they do not pile up.
1635 # Strip out --silent because we don't want to record it for future runs.
1636 # Also quote any args containing shell meta-characters.
1637 # Make two passes to allow for proper duplicate-argument suppression.
1641 ac_must_keep_next=false
1647 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1648 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1649 | -silent | --silent | --silen | --sile | --sil)
1652 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1655 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1657 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1658 if test $ac_must_keep_next = true; then
1659 ac_must_keep_next=false # Got value, back to normal.
1662 *=* | --config-cache | -C | -disable-* | --disable-* \
1663 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1664 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1665 | -with-* | --with-* | -without-* | --without-* | --x)
1666 case "$ac_configure_args0 " in
1667 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1670 -* ) ac_must_keep_next=true ;;
1673 ac_configure_args="$ac_configure_args '$ac_arg'"
1678 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1679 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1681 # When interrupted or exit'd, cleanup temporary files, and complete
1682 # config.log. We remove comments because anyway the quotes in there
1683 # would cause problems or look ugly.
1684 # WARNING: Use '\'' to represent an apostrophe within the trap.
1685 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1686 trap 'exit_status=$?
1687 # Save into config.log some information that might help in debugging.
1692 ## ---------------- ##
1693 ## Cache variables. ##
1694 ## ---------------- ##
1697 # The following way of writing the cache mishandles newlines in values,
1699 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1700 eval ac_val=\$$ac_var
1704 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1705 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1708 _ | IFS | as_nl) ;; #(
1709 *) $as_unset $ac_var ;;
1714 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1715 *${as_nl}ac_space=\ *)
1717 "s/'\''/'\''\\\\'\'''\''/g;
1718 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1721 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1729 ## ----------------- ##
1730 ## Output variables. ##
1731 ## ----------------- ##
1734 for ac_var in $ac_subst_vars
1736 eval ac_val=\$$ac_var
1738 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1740 echo "$ac_var='\''$ac_val'\''"
1744 if test -n "$ac_subst_files"; then
1746 ## ------------------- ##
1747 ## File substitutions. ##
1748 ## ------------------- ##
1751 for ac_var in $ac_subst_files
1753 eval ac_val=\$$ac_var
1755 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1757 echo "$ac_var='\''$ac_val'\''"
1762 if test -s confdefs.h; then
1772 test "$ac_signal" != 0 &&
1773 echo "$as_me: caught signal $ac_signal"
1774 echo "$as_me: exit $exit_status"
1776 rm -f core *.core core.conftest.* &&
1777 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1780 for ac_signal in 1 2 13 15; do
1781 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1785 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1786 rm -f -r conftest* confdefs.h
1788 # Predefined preprocessor variables.
1790 cat >>confdefs.h <<_ACEOF
1791 #define PACKAGE_NAME "$PACKAGE_NAME"
1795 cat >>confdefs.h <<_ACEOF
1796 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1800 cat >>confdefs.h <<_ACEOF
1801 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1805 cat >>confdefs.h <<_ACEOF
1806 #define PACKAGE_STRING "$PACKAGE_STRING"
1810 cat >>confdefs.h <<_ACEOF
1811 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1815 # Let the site file select an alternate cache file if it wants to.
1816 # Prefer explicitly selected file to automatically selected ones.
1817 if test -n "$CONFIG_SITE"; then
1818 set x "$CONFIG_SITE"
1819 elif test "x$prefix" != xNONE; then
1820 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1822 set x "$ac_default_prefix/share/config.site" \
1823 "$ac_default_prefix/etc/config.site"
1828 if test -r "$ac_site_file"; then
1829 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1830 echo "$as_me: loading site script $ac_site_file" >&6;}
1831 sed 's/^/| /' "$ac_site_file" >&5
1836 if test -r "$cache_file"; then
1837 # Some versions of bash will fail to source /dev/null (special
1838 # files actually), so we avoid doing that.
1839 if test -f "$cache_file"; then
1840 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1841 echo "$as_me: loading cache $cache_file" >&6;}
1843 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1844 *) . "./$cache_file";;
1848 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1849 echo "$as_me: creating cache $cache_file" >&6;}
1853 # Check that the precious variables saved in the cache have kept the same
1855 ac_cache_corrupted=false
1856 for ac_var in $ac_precious_vars; do
1857 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1858 eval ac_new_set=\$ac_env_${ac_var}_set
1859 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1860 eval ac_new_val=\$ac_env_${ac_var}_value
1861 case $ac_old_set,$ac_new_set in
1863 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1864 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1865 ac_cache_corrupted=: ;;
1867 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1868 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1869 ac_cache_corrupted=: ;;
1872 if test "x$ac_old_val" != "x$ac_new_val"; then
1873 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1874 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1875 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1876 echo "$as_me: former value
: $ac_old_val" >&2;}
1877 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1878 echo "$as_me: current value
: $ac_new_val" >&2;}
1879 ac_cache_corrupted=:
1882 # Pass precious variables to config.status.
1883 if test "$ac_new_set" = set; then
1885 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1886 *) ac_arg=$ac_var=$ac_new_val ;;
1888 case " $ac_configure_args " in
1889 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1890 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1894 if $ac_cache_corrupted; then
1895 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1896 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1897 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1898 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1899 { (exit 1); exit 1; }; }
1927 ac_cpp='$CPP $CPPFLAGS'
1928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1934 >confdefs.h # Kill PACKAGE_ macros
1937 ac_config_headers="$ac_config_headers config.h"
1939 am__api_version='1.10'
1942 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1943 if test -f "$ac_dir/install-sh"; then
1945 ac_install_sh="$ac_aux_dir/install-sh -c"
1947 elif test -f "$ac_dir/install.sh"; then
1949 ac_install_sh="$ac_aux_dir/install.sh -c"
1951 elif test -f "$ac_dir/shtool"; then
1953 ac_install_sh="$ac_aux_dir/shtool install -c"
1957 if test -z "$ac_aux_dir"; then
1958 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1959 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1960 { (exit 1); exit 1; }; }
1963 # These three variables are undocumented and unsupported,
1964 # and are intended to be withdrawn in a future Autoconf release.
1965 # They can cause serious problems if a builder's source tree is in a directory
1966 # whose full name contains unusual characters.
1967 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1968 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1969 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1972 # Find a good install program. We prefer a C program (faster),
1973 # so one script is as good as another. But avoid the broken or
1974 # incompatible versions:
1975 # SysV /etc/install, /usr/sbin/install
1976 # SunOS /usr/etc/install
1977 # IRIX /sbin/install
1979 # AmigaOS /C/install, which installs bootblocks on floppy discs
1980 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1981 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1982 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1983 # OS/2's system install, which has a completely different semantic
1984 # ./install, which can be erroneously created by make from ./install.sh.
1985 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1986 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1987 if test -z "$INSTALL"; then
1988 if test "${ac_cv_path_install+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1995 test -z "$as_dir" && as_dir=.
1996 # Account for people who put trailing slashes in PATH elements.
1998 ./ | .// | /cC/* | \
1999 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2000 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2003 # OSF1 and SCO ODT 3.0 have their own names for install.
2004 # Don't use installbsd from OSF since it installs stuff as root
2006 for ac_prog in ginstall scoinst install; do
2007 for ac_exec_ext in '' $ac_executable_extensions; do
2008 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2009 if test $ac_prog = install &&
2010 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2011 # AIX install. It has an incompatible calling convention.
2013 elif test $ac_prog = install &&
2014 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2015 # program-specific install script used by HP pwplus--don't use.
2018 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2031 if test "${ac_cv_path_install+set}" = set; then
2032 INSTALL=$ac_cv_path_install
2034 # As a last resort, use the slow shell script. Don't cache a
2035 # value for INSTALL within a source directory, because that will
2036 # break other packages using the cache if that directory is
2037 # removed, or if the value is a relative name.
2038 INSTALL=$ac_install_sh
2041 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2042 echo "${ECHO_T}$INSTALL" >&6; }
2044 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2045 # It thinks the first close brace ends the variable substitution.
2046 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2048 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2050 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2052 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2053 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2056 echo timestamp > conftest.file
2057 # Do `set' in a subshell so we don't clobber the current shell
's
2058 # arguments. Must try -L first in case configure is actually a
2059 # symlink; some systems play weird games with the mod time of symlinks
2060 # (eg FreeBSD returns the mod time of the symlink's containing
2063 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2064 if test "$*" = "X"; then
2066 set X
`ls -t $srcdir/configure conftest.file`
2069 if test "$*" != "X $srcdir/configure conftest.file" \
2070 && test "$*" != "X conftest.file $srcdir/configure"; then
2072 # If neither matched, then we have a broken ls. This can happen
2073 # if, for instance, CONFIG_SHELL is bash and it inherits a
2074 # broken ls alias from the environment. This has actually
2075 # happened. Such a system could not be considered "sane".
2076 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2077 alias in your environment" >&5
2078 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2079 alias in your environment" >&2;}
2080 { (exit 1); exit 1; }; }
2083 test "$2" = conftest.
file
2089 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2090 Check your system clock" >&5
2091 echo "$as_me: error: newly created file is older than distributed files!
2092 Check your system clock" >&2;}
2093 { (exit 1); exit 1; }; }
2095 { echo "$as_me:$LINENO: result: yes" >&5
2096 echo "${ECHO_T}yes" >&6; }
2097 test "$program_prefix" != NONE
&&
2098 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2099 # Use a double $ so make ignores it.
2100 test "$program_suffix" != NONE
&&
2101 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2102 # Double any \ or $. echo might interpret backslashes.
2103 # By default was `s,x,x', remove it if useless.
2104 cat <<\_ACEOF
>conftest.
sed
2105 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2107 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2110 # expand $ac_aux_dir to an absolute path
2111 am_aux_dir
=`cd $ac_aux_dir && pwd`
2113 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2114 # Use eval to expand $SHELL
2115 if eval "$MISSING --run true"; then
2116 am_missing_run
="$MISSING --run "
2119 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2120 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2123 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2124 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2125 if test -z "$MKDIR_P"; then
2126 if test "${ac_cv_path_mkdir+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2130 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2133 test -z "$as_dir" && as_dir
=.
2134 for ac_prog
in mkdir gmkdir
; do
2135 for ac_exec_ext
in '' $ac_executable_extensions; do
2136 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2137 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2138 'mkdir (GNU coreutils) '* | \
2139 'mkdir (coreutils) '* | \
2140 'mkdir (fileutils) '4.1*)
2141 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2151 if test "${ac_cv_path_mkdir+set}" = set; then
2152 MKDIR_P
="$ac_cv_path_mkdir -p"
2154 # As a last resort, use the slow shell script. Don't cache a
2155 # value for MKDIR_P within a source directory, because that will
2156 # break other packages using the cache if that directory is
2157 # removed, or if the value is a relative name.
2158 test -d .
/--version && rmdir .
/--version
2159 MKDIR_P
="$ac_install_sh -d"
2162 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2163 echo "${ECHO_T}$MKDIR_P" >&6; }
2167 [\\/$
]* | ?
:[\\/]*) ;;
2168 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2171 for ac_prog
in gawk mawk nawk
awk
2173 # Extract the first word of "$ac_prog", so it can be a program name with args.
2174 set dummy
$ac_prog; ac_word
=$2
2175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2177 if test "${ac_cv_prog_AWK+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 if test -n "$AWK"; then
2181 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir
=.
2188 for ac_exec_ext
in '' $ac_executable_extensions; do
2189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2190 ac_cv_prog_AWK
="$ac_prog"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 if test -n "$AWK"; then
2202 { echo "$as_me:$LINENO: result: $AWK" >&5
2203 echo "${ECHO_T}$AWK" >&6; }
2205 { echo "$as_me:$LINENO: result: no" >&5
2206 echo "${ECHO_T}no" >&6; }
2210 test -n "$AWK" && break
2213 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2214 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2215 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2216 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2217 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 cat >conftest.
make <<\_ACEOF
2222 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2224 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2225 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2227 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2229 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2233 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2234 { echo "$as_me:$LINENO: result: yes" >&5
2235 echo "${ECHO_T}yes" >&6; }
2238 { echo "$as_me:$LINENO: result: no" >&5
2239 echo "${ECHO_T}no" >&6; }
2240 SET_MAKE
="MAKE=${MAKE-make}"
2243 rm -rf .tst
2>/dev
/null
2244 mkdir .tst
2>/dev
/null
2245 if test -d .tst
; then
2250 rmdir .tst
2>/dev
/null
2252 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2253 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2254 # is not polluted with repeated "-I."
2255 am__isrc
=' -I$(srcdir)'
2256 # test to see if srcdir already configured
2257 if test -f $srcdir/config.status
; then
2258 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2259 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2260 { (exit 1); exit 1; }; }
2264 # test whether we have cygpath
2265 if test -z "$CYGPATH_W"; then
2266 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2267 CYGPATH_W
='cygpath -w'
2274 # Define the identity of the package.
2279 # Some tools Automake needs.
2281 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2284 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2287 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2290 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2293 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2295 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2297 # Installed binaries are usually stripped using `strip' when the user
2298 # run `make install-strip'. However `strip' might not be the right
2299 # tool to use in cross-compilation environments, therefore Automake
2300 # will honor the `STRIP' environment variable to overrule this program.
2301 if test "$cross_compiling" != no
; then
2302 if test -n "$ac_tool_prefix"; then
2303 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2304 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2307 if test "${ac_cv_prog_STRIP+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 if test -n "$STRIP"; then
2311 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir
=.
2318 for ac_exec_ext
in '' $ac_executable_extensions; do
2319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2320 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 STRIP
=$ac_cv_prog_STRIP
2331 if test -n "$STRIP"; then
2332 { echo "$as_me:$LINENO: result: $STRIP" >&5
2333 echo "${ECHO_T}$STRIP" >&6; }
2335 { echo "$as_me:$LINENO: result: no" >&5
2336 echo "${ECHO_T}no" >&6; }
2341 if test -z "$ac_cv_prog_STRIP"; then
2343 # Extract the first word of "strip", so it can be a program name with args.
2344 set dummy strip
; ac_word
=$2
2345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2347 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2348 echo $ECHO_N "(cached) $ECHO_C" >&6
2350 if test -n "$ac_ct_STRIP"; then
2351 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2357 test -z "$as_dir" && as_dir
=.
2358 for ac_exec_ext
in '' $ac_executable_extensions; do
2359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2360 ac_cv_prog_ac_ct_STRIP
="strip"
2361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2371 if test -n "$ac_ct_STRIP"; then
2372 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2373 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2375 { echo "$as_me:$LINENO: result: no" >&5
2376 echo "${ECHO_T}no" >&6; }
2379 if test "x$ac_ct_STRIP" = x
; then
2382 case $cross_compiling:$ac_tool_warned in
2384 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2385 whose name does not start with the host triplet. If you think this
2386 configuration is useful to you, please write to autoconf@gnu.org." >&5
2387 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2388 whose name does not start with the host triplet. If you think this
2389 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2390 ac_tool_warned
=yes ;;
2395 STRIP
="$ac_cv_prog_STRIP"
2399 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2401 # We need awk for the "check" target. The system "awk" is bad on
2403 # Always define AMTAR for backward compatibility.
2405 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2407 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2414 for ac_prog
in gawk mawk nawk
awk
2416 # Extract the first word of "$ac_prog", so it can be a program name with args.
2417 set dummy
$ac_prog; ac_word
=$2
2418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2420 if test "${ac_cv_prog_AWK+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 if test -n "$AWK"; then
2424 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir
=.
2431 for ac_exec_ext
in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 ac_cv_prog_AWK
="$ac_prog"
2434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2444 if test -n "$AWK"; then
2445 { echo "$as_me:$LINENO: result: $AWK" >&5
2446 echo "${ECHO_T}$AWK" >&6; }
2448 { echo "$as_me:$LINENO: result: no" >&5
2449 echo "${ECHO_T}no" >&6; }
2453 test -n "$AWK" && break
2457 ac_cpp
='$CPP $CPPFLAGS'
2458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2461 if test -n "$ac_tool_prefix"; then
2462 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2463 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2466 if test "${ac_cv_prog_CC+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test -n "$CC"; then
2470 ac_cv_prog_CC
="$CC" # Let the user override the test.
2472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir
=.
2477 for ac_exec_ext
in '' $ac_executable_extensions; do
2478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2479 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 if test -n "$CC"; then
2491 { echo "$as_me:$LINENO: result: $CC" >&5
2492 echo "${ECHO_T}$CC" >&6; }
2494 { echo "$as_me:$LINENO: result: no" >&5
2495 echo "${ECHO_T}no" >&6; }
2500 if test -z "$ac_cv_prog_CC"; then
2502 # Extract the first word of "gcc", so it can be a program name with args.
2503 set dummy gcc
; ac_word
=$2
2504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2506 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 if test -n "$ac_ct_CC"; then
2510 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir
=.
2517 for ac_exec_ext
in '' $ac_executable_extensions; do
2518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2519 ac_cv_prog_ac_ct_CC
="gcc"
2520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2530 if test -n "$ac_ct_CC"; then
2531 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2532 echo "${ECHO_T}$ac_ct_CC" >&6; }
2534 { echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6; }
2538 if test "x$ac_ct_CC" = x
; then
2541 case $cross_compiling:$ac_tool_warned in
2543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2544 whose name does not start with the host triplet. If you think this
2545 configuration is useful to you, please write to autoconf@gnu.org." >&5
2546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2547 whose name does not start with the host triplet. If you think this
2548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2549 ac_tool_warned
=yes ;;
2557 if test -z "$CC"; then
2558 if test -n "$ac_tool_prefix"; then
2559 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2560 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2561 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2563 if test "${ac_cv_prog_CC+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 if test -n "$CC"; then
2567 ac_cv_prog_CC
="$CC" # Let the user override the test.
2569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2573 test -z "$as_dir" && as_dir
=.
2574 for ac_exec_ext
in '' $ac_executable_extensions; do
2575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2576 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 if test -n "$CC"; then
2588 { echo "$as_me:$LINENO: result: $CC" >&5
2589 echo "${ECHO_T}$CC" >&6; }
2591 { echo "$as_me:$LINENO: result: no" >&5
2592 echo "${ECHO_T}no" >&6; }
2598 if test -z "$CC"; then
2599 # Extract the first word of "cc", so it can be a program name with args.
2600 set dummy cc
; ac_word
=$2
2601 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2603 if test "${ac_cv_prog_CC+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 if test -n "$CC"; then
2607 ac_cv_prog_CC
="$CC" # Let the user override the test.
2610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir
=.
2615 for ac_exec_ext
in '' $ac_executable_extensions; do
2616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2617 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2618 ac_prog_rejected
=yes
2622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 if test $ac_prog_rejected = yes; then
2630 # We found a bogon in the path, so make sure we never use it.
2631 set dummy
$ac_cv_prog_CC
2633 if test $# != 0; then
2634 # We chose a different compiler from the bogus one.
2635 # However, it has the same basename, so the bogon will be chosen
2636 # first if we set CC to just the basename; use the full file name.
2638 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2644 if test -n "$CC"; then
2645 { echo "$as_me:$LINENO: result: $CC" >&5
2646 echo "${ECHO_T}$CC" >&6; }
2648 { echo "$as_me:$LINENO: result: no" >&5
2649 echo "${ECHO_T}no" >&6; }
2654 if test -z "$CC"; then
2655 if test -n "$ac_tool_prefix"; then
2656 for ac_prog
in cl.exe
2658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2659 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2662 if test "${ac_cv_prog_CC+set}" = set; then
2663 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 if test -n "$CC"; then
2666 ac_cv_prog_CC
="$CC" # Let the user override the test.
2668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2672 test -z "$as_dir" && as_dir
=.
2673 for ac_exec_ext
in '' $ac_executable_extensions; do
2674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2675 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 if test -n "$CC"; then
2687 { echo "$as_me:$LINENO: result: $CC" >&5
2688 echo "${ECHO_T}$CC" >&6; }
2690 { echo "$as_me:$LINENO: result: no" >&5
2691 echo "${ECHO_T}no" >&6; }
2695 test -n "$CC" && break
2698 if test -z "$CC"; then
2700 for ac_prog
in cl.exe
2702 # Extract the first word of "$ac_prog", so it can be a program name with args.
2703 set dummy
$ac_prog; ac_word
=$2
2704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 if test -n "$ac_ct_CC"; then
2710 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir
=.
2717 for ac_exec_ext
in '' $ac_executable_extensions; do
2718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2719 ac_cv_prog_ac_ct_CC
="$ac_prog"
2720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2730 if test -n "$ac_ct_CC"; then
2731 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2732 echo "${ECHO_T}$ac_ct_CC" >&6; }
2734 { echo "$as_me:$LINENO: result: no" >&5
2735 echo "${ECHO_T}no" >&6; }
2739 test -n "$ac_ct_CC" && break
2742 if test "x$ac_ct_CC" = x
; then
2745 case $cross_compiling:$ac_tool_warned in
2747 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2748 whose name does not start with the host triplet. If you think this
2749 configuration is useful to you, please write to autoconf@gnu.org." >&5
2750 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2751 whose name does not start with the host triplet. If you think this
2752 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2753 ac_tool_warned
=yes ;;
2762 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2763 See \`config.log' for more details." >&5
2764 echo "$as_me: error: no acceptable C compiler found in \$PATH
2765 See \`config.log' for more details." >&2;}
2766 { (exit 1); exit 1; }; }
2768 # Provide some information about the compiler.
2769 echo "$as_me:$LINENO: checking for C compiler version" >&5
2770 ac_compiler
=`set X $ac_compile; echo $2`
2771 { (ac_try
="$ac_compiler --version >&5"
2773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2777 (eval "$ac_compiler --version >&5") 2>&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }
2781 { (ac_try="$ac_compiler -v >&5"
2783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2784 *) ac_try_echo
=$ac_try;;
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_compiler -v >&5") 2>&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }
2791 { (ac_try
="$ac_compiler -V >&5"
2793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2797 (eval "$ac_compiler -V >&5") 2>&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }
2802 cat >conftest.$ac_ext <<_ACEOF
2805 cat confdefs.h >>conftest.$ac_ext
2806 cat >>conftest.$ac_ext <<_ACEOF
2807 /* end confdefs.h. */
2817 ac_clean_files_save=$ac_clean_files
2818 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2819 # Try to create an executable without -o first, disregard a.out.
2820 # It will help us diagnose broken compilers, and finding out an intuition
2822 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2823 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2824 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2826 # List of possible output files, starting from the most likely.
2827 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2828 # only as a last resort. b.out is created by i960 compilers.
2829 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2831 # The IRIX 6 linker writes into existing files which may not be
2832 # executable, retaining their permissions. Remove them first so a
2833 # subsequent execution test works.
2835 for ac_file in $ac_files
2838 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2839 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2844 if { (ac_try="$ac_link_default"
2846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 *) ac_try_echo=$ac_try;;
2849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2850 (eval "$ac_link_default") 2>&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; then
2854 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2855 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2856 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2857 # so that the user can short-circuit this test for compilers unknown to
2859 for ac_file
in $ac_files ''
2861 test -f "$ac_file" ||
continue
2863 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2866 # We found the default executable, but exeext='' is most
2870 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2872 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2874 # We set ac_cv_exeext here because the later test for it is not
2875 # safe: cross compilers may not add the suffix if given an `-o'
2876 # argument, so we may need to know it at that point already.
2877 # Even if this section looks crufty: it has the advantage of
2884 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2890 { echo "$as_me:$LINENO: result: $ac_file" >&5
2891 echo "${ECHO_T}$ac_file" >&6; }
2892 if test -z "$ac_file"; then
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.
$ac_ext >&5
2896 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2897 See \`config.log' for more details." >&5
2898 echo "$as_me: error: C compiler cannot create executables
2899 See \`config.log' for more details." >&2;}
2900 { (exit 77); exit 77; }; }
2903 ac_exeext
=$ac_cv_exeext
2905 # Check that the compiler produces executables we can run. If not, either
2906 # the compiler is broken, or we cross compile.
2907 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2908 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2909 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2910 # If not cross compiling, check that we can run a simple program.
2911 if test "$cross_compiling" != yes; then
2912 if { ac_try
='./$ac_file'
2913 { (case "(($ac_try" in
2914 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2918 (eval "$ac_try") 2>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; }; then
2924 if test "$cross_compiling" = maybe; then
2927 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2928 If you meant to cross compile, use \`--host'.
2929 See \`config.log' for more details.
" >&5
2930 echo "$as_me: error
: cannot run C compiled programs.
2931 If you meant to cross compile
, use \
`--host'.
2932 See \`config.log
' for more details." >&2;}
2933 { (exit 1); exit 1; }; }
2937 { echo "$as_me:$LINENO: result: yes" >&5
2938 echo "${ECHO_T}yes" >&6; }
2940 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2941 ac_clean_files=$ac_clean_files_save
2942 # Check that the compiler produces executables we can run. If not, either
2943 # the compiler is broken, or we cross compile.
2944 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2945 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2946 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2947 echo "${ECHO_T}$cross_compiling" >&6; }
2949 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2950 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2951 if { (ac_try="$ac_link"
2953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2954 *) ac_try_echo=$ac_try;;
2956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2957 (eval "$ac_link") 2>&5
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; then
2961 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2962 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2963 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2965 for ac_file
in conftest.exe conftest conftest.
*; do
2966 test -f "$ac_file" ||
continue
2968 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2969 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2975 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2976 See \`config.log' for more details." >&5
2977 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2978 See \`config.log' for more details." >&2;}
2979 { (exit 1); exit 1; }; }
2982 rm -f conftest
$ac_cv_exeext
2983 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2984 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2986 rm -f conftest.
$ac_ext
2987 EXEEXT
=$ac_cv_exeext
2989 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2990 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2991 if test "${ac_cv_objext+set}" = set; then
2992 echo $ECHO_N "(cached) $ECHO_C" >&6
2994 cat >conftest.
$ac_ext <<_ACEOF
2997 cat confdefs.h
>>conftest.
$ac_ext
2998 cat >>conftest.
$ac_ext <<_ACEOF
2999 /* end confdefs.h. */
3009 rm -f conftest.o conftest.obj
3010 if { (ac_try
="$ac_compile"
3012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3013 *) ac_try_echo=$ac_try;;
3015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3016 (eval "$ac_compile") 2>&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); }; then
3020 for ac_file in conftest.o conftest.obj conftest.*; do
3021 test -f "$ac_file" || continue;
3023 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3024 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3029 echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3032 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3033 See \`config.log
' for more details." >&5
3034 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3035 See \`config.log' for more details.
" >&2;}
3036 { (exit 1); exit 1; }; }
3039 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3041 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3042 echo "${ECHO_T}$ac_cv_objext" >&6; }
3043 OBJEXT=$ac_cv_objext
3045 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3046 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3047 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3048 echo $ECHO_N "(cached
) $ECHO_C" >&6
3050 cat >conftest.$ac_ext <<_ACEOF
3053 cat confdefs.h >>conftest.$ac_ext
3054 cat >>conftest.$ac_ext <<_ACEOF
3055 /* end confdefs.h. */
3068 rm -f conftest.$ac_objext
3069 if { (ac_try="$ac_compile"
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3075 (eval "$ac_compile") 2>conftest.er1
3077 grep -v '^ *+' conftest.er1 >conftest.err
3079 cat conftest.err >&5
3080 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3081 (exit $ac_status); } && {
3082 test -z "$ac_c_werror_flag" ||
3083 test ! -s conftest.err
3084 } && test -s conftest.$ac_objext; then
3087 echo "$as_me: failed program was
:" >&5
3088 sed 's/^/| /' conftest.$ac_ext >&5
3093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3094 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3097 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3098 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3099 GCC=`test $ac_compiler_gnu = yes && echo yes`
3100 ac_test_CFLAGS=${CFLAGS+set}
3101 ac_save_CFLAGS=$CFLAGS
3102 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3103 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3104 if test "${ac_cv_prog_cc_g+set}" = set; then
3105 echo $ECHO_N "(cached
) $ECHO_C" >&6
3107 ac_save_c_werror_flag=$ac_c_werror_flag
3108 ac_c_werror_flag=yes
3111 cat >conftest.$ac_ext <<_ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3126 rm -f conftest.$ac_objext
3127 if { (ac_try="$ac_compile"
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3133 (eval "$ac_compile") 2>conftest.er1
3135 grep -v '^ *+' conftest.er1 >conftest.err
3137 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3139 (exit $ac_status); } && {
3140 test -z "$ac_c_werror_flag" ||
3141 test ! -s conftest.err
3142 } && test -s conftest.$ac_objext; then
3145 echo "$as_me: failed program was
:" >&5
3146 sed 's/^/| /' conftest.$ac_ext >&5
3149 cat >conftest.$ac_ext <<_ACEOF
3152 cat confdefs.h >>conftest.$ac_ext
3153 cat >>conftest.$ac_ext <<_ACEOF
3154 /* end confdefs.h. */
3164 rm -f conftest.$ac_objext
3165 if { (ac_try="$ac_compile"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compile") 2>conftest.er1
3173 grep -v '^ *+' conftest.er1 >conftest.err
3175 cat conftest.err >&5
3176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3177 (exit $ac_status); } && {
3178 test -z "$ac_c_werror_flag" ||
3179 test ! -s conftest.err
3180 } && test -s conftest.$ac_objext; then
3183 echo "$as_me: failed program was
:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3186 ac_c_werror_flag=$ac_save_c_werror_flag
3188 cat >conftest.$ac_ext <<_ACEOF
3191 cat confdefs.h >>conftest.$ac_ext
3192 cat >>conftest.$ac_ext <<_ACEOF
3193 /* end confdefs.h. */
3203 rm -f conftest.$ac_objext
3204 if { (ac_try="$ac_compile"
3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3210 (eval "$ac_compile") 2>conftest.er1
3212 grep -v '^ *+' conftest.er1 >conftest.err
3214 cat conftest.err >&5
3215 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3216 (exit $ac_status); } && {
3217 test -z "$ac_c_werror_flag" ||
3218 test ! -s conftest.err
3219 } && test -s conftest.$ac_objext; then
3222 echo "$as_me: failed program was
:" >&5
3223 sed 's/^/| /' conftest.$ac_ext >&5
3228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3235 ac_c_werror_flag=$ac_save_c_werror_flag
3237 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3238 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3239 if test "$ac_test_CFLAGS" = set; then
3240 CFLAGS=$ac_save_CFLAGS
3241 elif test $ac_cv_prog_cc_g = yes; then
3242 if test "$GCC" = yes; then
3248 if test "$GCC" = yes; then
3254 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3255 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3256 if test "${ac_cv_prog_cc_c89+set}" = set; then
3257 echo $ECHO_N "(cached
) $ECHO_C" >&6
3259 ac_cv_prog_cc_c89=no
3261 cat >conftest.$ac_ext <<_ACEOF
3264 cat confdefs.h >>conftest.$ac_ext
3265 cat >>conftest.$ac_ext <<_ACEOF
3266 /* end confdefs.h. */
3269 #include <sys/types.h>
3270 #include <sys/stat.h>
3271 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3272 struct buf { int x; };
3273 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3274 static char *e (p, i)
3280 static char *f (char * (*g) (char **, int), char **p, ...)
3285 s = g (p, va_arg (v,int));
3290 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3291 function prototypes and stuff, but not '\xHH' hex character constants.
3292 These don't provoke an error unfortunately, instead are silently treated
3293 as 'x'. The following induces an error, until -std is added to get
3294 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3295 array size at least. It's necessary to write '\x00'==0 to get something
3296 that's true only with -std. */
3297 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3299 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3300 inside strings and character constants. */
3302 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3304 int test (int i, double x);
3305 struct s1 {int (*f) (int a);};
3306 struct s2 {int (*f) (double a);};
3307 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3313 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3318 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3319 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3321 CC="$ac_save_CC $ac_arg"
3322 rm -f conftest.$ac_objext
3323 if { (ac_try="$ac_compile"
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3329 (eval "$ac_compile") 2>conftest.er1
3331 grep -v '^ *+' conftest.er1 >conftest.err
3333 cat conftest.err >&5
3334 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3335 (exit $ac_status); } && {
3336 test -z "$ac_c_werror_flag" ||
3337 test ! -s conftest.err
3338 } && test -s conftest.$ac_objext; then
3339 ac_cv_prog_cc_c89=$ac_arg
3341 echo "$as_me: failed program was
:" >&5
3342 sed 's/^/| /' conftest.$ac_ext >&5
3347 rm -f core conftest.err conftest.$ac_objext
3348 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3350 rm -f conftest.$ac_ext
3355 case "x
$ac_cv_prog_cc_c89" in
3357 { echo "$as_me:$LINENO: result
: none needed
" >&5
3358 echo "${ECHO_T}none needed
" >&6; } ;;
3360 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3361 echo "${ECHO_T}unsupported
" >&6; } ;;
3363 CC="$CC $ac_cv_prog_cc_c89"
3364 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3365 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3370 ac_cpp='$CPP $CPPFLAGS'
3371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3374 DEPDIR="${am__leading_dot}deps
"
3376 ac_config_commands="$ac_config_commands depfiles
"
3379 am_make=${MAKE-make}
3380 cat > confinc << 'END'
3385 # If we don't find an include directive, just comment out the code.
3386 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3387 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3391 # First try GNU make style include.
3392 echo "include confinc" > confmf
3393 # We grep out `Entering directory' and `Leaving directory'
3394 # messages which can occur if `w' ends up in MAKEFLAGS.
3395 # In particular we don't look at `^make:' because GNU make might
3396 # be invoked under some other name (usually "gmake"), in which
3397 # case it prints its new name instead of `make'.
3398 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3403 # Now try BSD make style include.
3404 if test "$am__include" = "#"; then
3405 echo '.include "confinc"' > confmf
3406 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3407 am__include
=.include
3414 { echo "$as_me:$LINENO: result: $_am_result" >&5
3415 echo "${ECHO_T}$_am_result" >&6; }
3416 rm -f confinc confmf
3418 # Check whether --enable-dependency-tracking was given.
3419 if test "${enable_dependency_tracking+set}" = set; then
3420 enableval
=$enable_dependency_tracking;
3423 if test "x$enable_dependency_tracking" != xno
; then
3424 am_depcomp
="$ac_aux_dir/depcomp"
3427 if test "x$enable_dependency_tracking" != xno; then
3437 depcc
="$CC" am_compiler_list
=
3439 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3440 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3441 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3445 # We make a subdir and do the tests there. Otherwise we can end up
3446 # making bogus files that we don't know about and never remove. For
3447 # instance it was reported that on HP-UX the gcc test will end up
3448 # making a dummy file named `D' -- because `-MD' means `put the output
3451 # Copy depcomp to subdir because otherwise we won't find it if we're
3452 # using a relative directory.
3453 cp "$am_depcomp" conftest.dir
3455 # We will build objects and dependencies in a subdirectory because
3456 # it helps to detect inapplicable dependency modes. For instance
3457 # both Tru64's cc and ICC support -MD to output dependencies as a
3458 # side effect of compilation, but ICC will put the dependencies in
3459 # the current directory while Tru64 will put them in the object
3463 am_cv_CC_dependencies_compiler_type
=none
3464 if test "$am_compiler_list" = ""; then
3465 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3467 for depmode
in $am_compiler_list; do
3468 # Setup a source with many dependencies, because some compilers
3469 # like to wrap large dependency lists on column 80 (with \), and
3470 # we should not choose a depcomp mode which is confused by this.
3472 # We need to recreate these files for each test, as the compiler may
3473 # overwrite some of them when testing with obscure command lines.
3474 # This happens at least with the AIX C compiler.
3476 for i
in 1 2 3 4 5 6; do
3477 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3478 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3479 # Solaris 8's {/usr,}/bin/sh.
3480 touch sub
/conftst
$i.h
3482 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3486 # after this tag, mechanisms are not by side-effect, so they'll
3487 # only be used when explicitly requested
3488 if test "x$enable_dependency_tracking" = xyes
; then
3496 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3497 # mode. It turns out that the SunPro C++ compiler does not properly
3498 # handle `-M -o', and we need to detect this.
3499 if depmode
=$depmode \
3500 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3501 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3502 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3503 >/dev
/null
2>conftest.err
&&
3504 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3505 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3506 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3507 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3508 # icc doesn't choke on unknown options, it will just issue warnings
3509 # or remarks (even with -Werror). So we grep stderr for any message
3510 # that says an option was ignored or not supported.
3511 # When given -MP, icc 7.0 and 7.1 complain thusly:
3512 # icc: Command line warning: ignoring option '-M'; no argument required
3513 # The diagnosis changed in icc 8.0:
3514 # icc: Command line remark: option '-MP' not supported
3515 if (grep 'ignoring option' conftest.err ||
3516 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3517 am_cv_CC_dependencies_compiler_type
=$depmode
3526 am_cv_CC_dependencies_compiler_type
=none
3530 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3531 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3532 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3535 test "x$enable_dependency_tracking" != xno \
3536 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3538 am__fastdepCC_FALSE
='#'
3540 am__fastdepCC_TRUE
='#'
3541 am__fastdepCC_FALSE
=
3545 # Find a good install program. We prefer a C program (faster),
3546 # so one script is as good as another. But avoid the broken or
3547 # incompatible versions:
3548 # SysV /etc/install, /usr/sbin/install
3549 # SunOS /usr/etc/install
3550 # IRIX /sbin/install
3552 # AmigaOS /C/install, which installs bootblocks on floppy discs
3553 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3554 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3555 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3556 # OS/2's system install, which has a completely different semantic
3557 # ./install, which can be erroneously created by make from ./install.sh.
3558 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3559 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3560 if test -z "$INSTALL"; then
3561 if test "${ac_cv_path_install+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir
=.
3569 # Account for people who put trailing slashes in PATH elements.
3571 .
/ | .
// |
/cC
/* | \
3572 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3573 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3576 # OSF1 and SCO ODT 3.0 have their own names for install.
3577 # Don't use installbsd from OSF since it installs stuff as root
3579 for ac_prog
in ginstall scoinst
install; do
3580 for ac_exec_ext
in '' $ac_executable_extensions; do
3581 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3582 if test $ac_prog = install &&
3583 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3584 # AIX install. It has an incompatible calling convention.
3586 elif test $ac_prog = install &&
3587 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3588 # program-specific install script used by HP pwplus--don't use.
3591 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3604 if test "${ac_cv_path_install+set}" = set; then
3605 INSTALL
=$ac_cv_path_install
3607 # As a last resort, use the slow shell script. Don't cache a
3608 # value for INSTALL within a source directory, because that will
3609 # break other packages using the cache if that directory is
3610 # removed, or if the value is a relative name.
3611 INSTALL
=$ac_install_sh
3614 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3615 echo "${ECHO_T}$INSTALL" >&6; }
3617 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3618 # It thinks the first close brace ends the variable substitution.
3619 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3621 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3623 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3625 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3626 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3628 if test "$LN_S" = "ln -s"; then
3629 { echo "$as_me:$LINENO: result: yes" >&5
3630 echo "${ECHO_T}yes" >&6; }
3632 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3633 echo "${ECHO_T}no, using $LN_S" >&6; }
3636 # Check whether --enable-shared was given.
3637 if test "${enable_shared+set}" = set; then
3638 enableval
=$enable_shared; p
=${PACKAGE-default}
3640 yes) enable_shared
=yes ;;
3641 no
) enable_shared
=no
;;
3644 # Look at the argument we got. We use all the common list separators.
3645 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3646 for pkg
in $enableval; do
3648 if test "X$pkg" = "X$p"; then
3660 # Check whether --enable-static was given.
3661 if test "${enable_static+set}" = set; then
3662 enableval
=$enable_static; p
=${PACKAGE-default}
3664 yes) enable_static
=yes ;;
3665 no
) enable_static
=no
;;
3668 # Look at the argument we got. We use all the common list separators.
3669 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3670 for pkg
in $enableval; do
3672 if test "X$pkg" = "X$p"; then
3684 # Check whether --enable-fast-install was given.
3685 if test "${enable_fast_install+set}" = set; then
3686 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3688 yes) enable_fast_install
=yes ;;
3689 no
) enable_fast_install
=no
;;
3691 enable_fast_install
=no
3692 # Look at the argument we got. We use all the common list separators.
3693 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3694 for pkg
in $enableval; do
3696 if test "X$pkg" = "X$p"; then
3697 enable_fast_install
=yes
3704 enable_fast_install
=yes
3708 # Make sure we can run config.sub.
3709 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3710 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3711 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3712 { (exit 1); exit 1; }; }
3714 { echo "$as_me:$LINENO: checking build system type" >&5
3715 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3716 if test "${ac_cv_build+set}" = set; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 ac_build_alias
=$build_alias
3720 test "x$ac_build_alias" = x
&&
3721 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3722 test "x$ac_build_alias" = x
&&
3723 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3724 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3725 { (exit 1); exit 1; }; }
3726 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3727 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3728 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3729 { (exit 1); exit 1; }; }
3732 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3733 echo "${ECHO_T}$ac_cv_build" >&6; }
3734 case $ac_cv_build in
3736 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3737 echo "$as_me: error: invalid value of canonical build" >&2;}
3738 { (exit 1); exit 1; }; };;
3741 ac_save_IFS
=$IFS; IFS
='-'
3747 # Remember, the first character of IFS is used to create $*,
3748 # except with old shells:
3751 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3754 { echo "$as_me:$LINENO: checking host system type" >&5
3755 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3756 if test "${ac_cv_host+set}" = set; then
3757 echo $ECHO_N "(cached) $ECHO_C" >&6
3759 if test "x$host_alias" = x
; then
3760 ac_cv_host
=$ac_cv_build
3762 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3763 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3764 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3765 { (exit 1); exit 1; }; }
3769 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3770 echo "${ECHO_T}$ac_cv_host" >&6; }
3773 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3774 echo "$as_me: error: invalid value of canonical host" >&2;}
3775 { (exit 1); exit 1; }; };;
3778 ac_save_IFS
=$IFS; IFS
='-'
3784 # Remember, the first character of IFS is used to create $*,
3785 # except with old shells:
3788 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3791 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3792 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3793 if test "${lt_cv_path_SED+set}" = set; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3796 # Loop through the user's path and test for sed and gsed.
3797 # Then use that list of sed's as ones to test for truncation.
3798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir
=.
3803 for lt_ac_prog
in sed gsed
; do
3804 for ac_exec_ext
in '' $ac_executable_extensions; do
3805 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3806 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3814 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3815 # along with /bin/sed that truncates output.
3816 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3817 test ! -f $lt_ac_sed && continue
3818 cat /dev
/null
> conftest.
in
3820 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3821 # Check for GNU sed and select it if it is found.
3822 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3823 lt_cv_path_SED
=$lt_ac_sed
3827 cat conftest.
in conftest.
in >conftest.tmp
3828 mv conftest.tmp conftest.
in
3829 cp conftest.
in conftest.
nl
3831 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3832 cmp -s conftest.out conftest.
nl ||
break
3833 # 10000 chars as input seems more than enough
3834 test $lt_ac_count -gt 10 && break
3835 lt_ac_count
=`expr $lt_ac_count + 1`
3836 if test $lt_ac_count -gt $lt_ac_max; then
3837 lt_ac_max
=$lt_ac_count
3838 lt_cv_path_SED
=$lt_ac_sed
3847 { echo "$as_me:$LINENO: result: $SED" >&5
3848 echo "${ECHO_T}$SED" >&6; }
3850 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3851 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3852 if test "${ac_cv_path_GREP+set}" = set; then
3853 echo $ECHO_N "(cached) $ECHO_C" >&6
3855 # Extract the first word of "grep ggrep" to use in msg output
3856 if test -z "$GREP"; then
3857 set dummy
grep ggrep
; ac_prog_name
=$2
3858 if test "${ac_cv_path_GREP+set}" = set; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6
3861 ac_path_GREP_found
=false
3862 # Loop through the user's path and test for each of PROGNAME-LIST
3863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3864 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3867 test -z "$as_dir" && as_dir
=.
3868 for ac_prog
in grep ggrep
; do
3869 for ac_exec_ext
in '' $ac_executable_extensions; do
3870 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3871 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3872 # Check for GNU ac_path_GREP and select it if it is found.
3873 # Check for GNU $ac_path_GREP
3874 case `"$ac_path_GREP" --version 2>&1` in
3876 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3879 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3882 cat "conftest.in" "conftest.in" >"conftest.tmp"
3883 mv "conftest.tmp" "conftest.in"
3884 cp "conftest.in" "conftest.nl"
3885 echo 'GREP' >> "conftest.nl"
3886 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3887 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3888 ac_count
=`expr $ac_count + 1`
3889 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3890 # Best one so far, save it but keep looking for a better one
3891 ac_cv_path_GREP
="$ac_path_GREP"
3892 ac_path_GREP_max
=$ac_count
3894 # 10*(2^10) chars as input seems more than enough
3895 test $ac_count -gt 10 && break
3897 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3901 $ac_path_GREP_found && break 3
3911 GREP
="$ac_cv_path_GREP"
3912 if test -z "$GREP"; then
3913 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3914 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3915 { (exit 1); exit 1; }; }
3919 ac_cv_path_GREP
=$GREP
3924 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3925 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3926 GREP
="$ac_cv_path_GREP"
3929 { echo "$as_me:$LINENO: checking for egrep" >&5
3930 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3931 if test "${ac_cv_path_EGREP+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3935 then ac_cv_path_EGREP
="$GREP -E"
3937 # Extract the first word of "egrep" to use in msg output
3938 if test -z "$EGREP"; then
3939 set dummy
egrep; ac_prog_name
=$2
3940 if test "${ac_cv_path_EGREP+set}" = set; then
3941 echo $ECHO_N "(cached) $ECHO_C" >&6
3943 ac_path_EGREP_found
=false
3944 # Loop through the user's path and test for each of PROGNAME-LIST
3945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3946 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3949 test -z "$as_dir" && as_dir
=.
3950 for ac_prog
in egrep; do
3951 for ac_exec_ext
in '' $ac_executable_extensions; do
3952 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3953 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3954 # Check for GNU ac_path_EGREP and select it if it is found.
3955 # Check for GNU $ac_path_EGREP
3956 case `"$ac_path_EGREP" --version 2>&1` in
3958 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3961 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3964 cat "conftest.in" "conftest.in" >"conftest.tmp"
3965 mv "conftest.tmp" "conftest.in"
3966 cp "conftest.in" "conftest.nl"
3967 echo 'EGREP' >> "conftest.nl"
3968 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3969 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3970 ac_count
=`expr $ac_count + 1`
3971 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3972 # Best one so far, save it but keep looking for a better one
3973 ac_cv_path_EGREP
="$ac_path_EGREP"
3974 ac_path_EGREP_max
=$ac_count
3976 # 10*(2^10) chars as input seems more than enough
3977 test $ac_count -gt 10 && break
3979 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3983 $ac_path_EGREP_found && break 3
3993 EGREP
="$ac_cv_path_EGREP"
3994 if test -z "$EGREP"; then
3995 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3996 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3997 { (exit 1); exit 1; }; }
4001 ac_cv_path_EGREP
=$EGREP
4007 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4008 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4009 EGREP
="$ac_cv_path_EGREP"
4013 # Check whether --with-gnu-ld was given.
4014 if test "${with_gnu_ld+set}" = set; then
4015 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4021 if test "$GCC" = yes; then
4022 # Check if gcc -print-prog-name=ld gives a path.
4023 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4024 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4027 # gcc leaves a trailing carriage return which upsets mingw
4028 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4030 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4033 # Accept absolute paths.
4035 re_direlt
='/[^/][^/]*/\.\./'
4036 # Canonicalize the pathname of ld
4037 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4038 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4039 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4041 test -z "$LD" && LD
="$ac_prog"
4044 # If it fails, then pretend we aren't using GCC.
4048 # If it is relative, then search for the first ld in PATH.
4052 elif test "$with_gnu_ld" = yes; then
4053 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4054 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4056 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4057 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4059 if test "${lt_cv_path_LD+set}" = set; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 if test -z "$LD"; then
4063 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4064 for ac_dir
in $PATH; do
4066 test -z "$ac_dir" && ac_dir
=.
4067 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4068 lt_cv_path_LD
="$ac_dir/$ac_prog"
4069 # Check to see if the program is GNU ld. I'd rather use --version,
4070 # but apparently some variants of GNU ld only accept -v.
4071 # Break only if it was the GNU/non-GNU ld that we prefer.
4072 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4073 *GNU
* |
*'with BFD'*)
4074 test "$with_gnu_ld" != no
&& break
4077 test "$with_gnu_ld" != yes && break
4084 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4089 if test -n "$LD"; then
4090 { echo "$as_me:$LINENO: result: $LD" >&5
4091 echo "${ECHO_T}$LD" >&6; }
4093 { echo "$as_me:$LINENO: result: no" >&5
4094 echo "${ECHO_T}no" >&6; }
4096 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4097 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4098 { (exit 1); exit 1; }; }
4099 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4100 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4101 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4102 echo $ECHO_N "(cached) $ECHO_C" >&6
4104 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4105 case `$LD -v 2>&1 </dev/null` in
4106 *GNU
* |
*'with BFD'*)
4107 lt_cv_prog_gnu_ld
=yes
4110 lt_cv_prog_gnu_ld
=no
4114 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4115 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4116 with_gnu_ld
=$lt_cv_prog_gnu_ld
4119 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4120 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4121 if test "${lt_cv_ld_reload_flag+set}" = set; then
4122 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 lt_cv_ld_reload_flag
='-r'
4126 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4127 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4128 reload_flag
=$lt_cv_ld_reload_flag
4129 case $reload_flag in
4131 *) reload_flag
=" $reload_flag" ;;
4133 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4136 if test "$GCC" = yes; then
4137 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4139 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4144 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4145 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4146 if test "${lt_cv_path_NM+set}" = set; then
4147 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 if test -n "$NM"; then
4150 # Let the user override the test.
4153 lt_nm_to_check
="${ac_tool_prefix}nm"
4154 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4155 lt_nm_to_check
="$lt_nm_to_check nm"
4157 for lt_tmp_nm
in $lt_nm_to_check; do
4158 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4159 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4161 test -z "$ac_dir" && ac_dir
=.
4162 tmp_nm
="$ac_dir/$lt_tmp_nm"
4163 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4164 # Check to see if the nm accepts a BSD-compat flag.
4165 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4166 # nm: unknown option "B" ignored
4167 # Tru64's nm complains that /dev/null is an invalid object file
4168 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4169 */dev
/null
* |
*'Invalid file or object type'*)
4170 lt_cv_path_NM
="$tmp_nm -B"
4174 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4176 lt_cv_path_NM
="$tmp_nm -p"
4180 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4181 continue # so that we can try to find one that supports BSD flags
4190 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4193 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4194 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4197 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4198 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4199 if test "${lt_cv_deplibs_check_method+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4202 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4203 lt_cv_file_magic_test_file
=
4204 lt_cv_deplibs_check_method
='unknown'
4205 # Need to set the preceding variable on all platforms that support
4206 # interlibrary dependencies.
4207 # 'none' -- dependencies not supported.
4208 # `unknown' -- same as none, but documents that we really don't know.
4209 # 'pass_all' -- all dependencies passed with no checks.
4210 # 'test_compile' -- check by making test program.
4211 # 'file_magic [[regex]]' -- check by looking for files in library path
4212 # which responds to the $file_magic_cmd with a given extended regex.
4213 # If you have `file' or equivalent on your system and you're not sure
4214 # whether `pass_all' will *always* work, you probably want this one.
4218 lt_cv_deplibs_check_method
=pass_all
4222 lt_cv_deplibs_check_method
=pass_all
4226 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4227 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4228 lt_cv_file_magic_test_file
=/shlib
/libc.so
4232 # func_win32_libid is a shell function defined in ltmain.sh
4233 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4234 lt_cv_file_magic_cmd
='func_win32_libid'
4238 # Base MSYS/MinGW do not provide the 'file' command needed by
4239 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4240 # unless we find 'file', for example because we are cross-compiling.
4241 if ( file / ) >/dev
/null
2>&1; then
4242 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4243 lt_cv_file_magic_cmd
='func_win32_libid'
4245 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4246 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4250 darwin
* | rhapsody
*)
4251 lt_cv_deplibs_check_method
=pass_all
4254 freebsd
* | dragonfly
*)
4255 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4258 # Not sure whether the presence of OpenBSD here was a mistake.
4259 # Let's accept both of them until this is cleared up.
4260 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4261 lt_cv_file_magic_cmd
=/usr
/bin
/file
4262 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4266 lt_cv_deplibs_check_method
=pass_all
4271 lt_cv_deplibs_check_method
=pass_all
4274 hpux10.20
* | hpux11
*)
4275 lt_cv_file_magic_cmd
=/usr
/bin
/file
4278 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4279 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4282 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]'
4283 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4286 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4287 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4293 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4294 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4297 irix5
* | irix6
* | nonstopux
*)
4299 *-32|
*"-32 ") libmagic
=32-bit;;
4300 *-n32|
*"-n32 ") libmagic
=N32
;;
4301 *-64|
*"-64 ") libmagic
=64-bit;;
4302 *) libmagic
=never-match
;;
4304 lt_cv_deplibs_check_method
=pass_all
4307 # This must be Linux ELF.
4308 linux
* | k
*bsd
*-gnu)
4309 lt_cv_deplibs_check_method
=pass_all
4313 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4314 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4316 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4321 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4322 lt_cv_file_magic_cmd
=/usr
/bin
/file
4323 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4327 lt_cv_deplibs_check_method
=unknown
4331 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4332 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4334 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4338 osf3
* | osf4
* | osf5
*)
4339 lt_cv_deplibs_check_method
=pass_all
4343 lt_cv_deplibs_check_method
=pass_all
4347 lt_cv_deplibs_check_method
=pass_all
4351 case $host_vendor in
4353 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]'
4354 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4357 lt_cv_deplibs_check_method
=pass_all
4360 lt_cv_file_magic_cmd
='/bin/file'
4361 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4364 lt_cv_file_magic_cmd
='/bin/file'
4365 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4366 lt_cv_file_magic_test_file
=/lib
/libc.so
4369 lt_cv_deplibs_check_method
=pass_all
4372 lt_cv_deplibs_check_method
=pass_all
4377 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4378 lt_cv_deplibs_check_method
=pass_all
4383 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4384 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4385 file_magic_cmd
=$lt_cv_file_magic_cmd
4386 deplibs_check_method
=$lt_cv_deplibs_check_method
4387 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4392 # If no C compiler was specified, use CC.
4395 # If no C compiler flags were specified, use CFLAGS.
4396 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4398 # Allow CC to be a program name with arguments.
4402 # Check whether --enable-libtool-lock was given.
4403 if test "${enable_libtool_lock+set}" = set; then
4404 enableval
=$enable_libtool_lock;
4407 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4409 # Some flags need to be propagated to the compiler or linker for good
4413 # Find out which ABI we are using.
4414 echo 'int i;' > conftest.
$ac_ext
4415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4416 (eval $ac_compile) 2>&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; then
4420 case `/usr/bin/file conftest.$ac_objext` in
4432 # Find out which ABI we are using.
4433 echo '#line 4433 "configure"' > conftest.
$ac_ext
4434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4435 (eval $ac_compile) 2>&5
4437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438 (exit $ac_status); }; then
4439 if test "$lt_cv_prog_gnu_ld" = yes; then
4440 case `/usr/bin/file conftest.$ac_objext` in
4442 LD
="${LD-ld} -melf32bsmip"
4445 LD
="${LD-ld} -melf32bmipn32"
4448 LD
="${LD-ld} -melf64bmip"
4452 case `/usr/bin/file conftest.$ac_objext` in
4468 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4469 s390
*-*linux
*|sparc
*-*linux
*)
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.o` in
4480 x86_64-
*kfreebsd
*-gnu)
4481 LD
="${LD-ld} -m elf_i386_fbsd"
4484 LD
="${LD-ld} -m elf_i386"
4486 ppc64-
*linux
*|powerpc64-
*linux
*)
4487 LD
="${LD-ld} -m elf32ppclinux"
4490 LD
="${LD-ld} -m elf_s390"
4493 LD
="${LD-ld} -m elf32_sparc"
4500 x86_64-
*kfreebsd
*-gnu)
4501 LD
="${LD-ld} -m elf_x86_64_fbsd"
4504 LD
="${LD-ld} -m elf_x86_64"
4506 ppc
*-*linux
*|powerpc
*-*linux
*)
4507 LD
="${LD-ld} -m elf64ppc"
4510 LD
="${LD-ld} -m elf64_s390"
4513 LD
="${LD-ld} -m elf64_sparc"
4523 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4524 SAVE_CFLAGS
="$CFLAGS"
4525 CFLAGS
="$CFLAGS -belf"
4526 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4527 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4528 if test "${lt_cv_cc_needs_belf+set}" = set; then
4529 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 ac_cpp
='$CPP $CPPFLAGS'
4533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4537 cat >conftest.
$ac_ext <<_ACEOF
4540 cat confdefs.h
>>conftest.
$ac_ext
4541 cat >>conftest.
$ac_ext <<_ACEOF
4542 /* end confdefs.h. */
4552 rm -f conftest.
$ac_objext conftest
$ac_exeext
4553 if { (ac_try
="$ac_link"
4555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4556 *) ac_try_echo=$ac_try;;
4558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4559 (eval "$ac_link") 2>conftest.er1
4561 grep -v '^ *+' conftest.er1 >conftest.err
4563 cat conftest.err >&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } && {
4566 test -z "$ac_c_werror_flag" ||
4567 test ! -s conftest.err
4568 } && test -s conftest$ac_exeext &&
4569 $as_test_x conftest$ac_exeext; then
4570 lt_cv_cc_needs_belf=yes
4572 echo "$as_me: failed program was:" >&5
4573 sed 's/^/| /' conftest.$ac_ext >&5
4575 lt_cv_cc_needs_belf=no
4578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4579 conftest$ac_exeext conftest.$ac_ext
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
4587 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4588 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4589 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4590 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4591 CFLAGS="$SAVE_CFLAGS"
4595 # Find out which ABI we are using.
4596 echo 'int i;' > conftest.$ac_ext
4597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4598 (eval $ac_compile) 2>&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; then
4602 case `/usr
/bin
/file conftest.o
` in
4604 case $lt_cv_prog_gnu_ld in
4605 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4606 *) LD="${LD-ld} -64" ;;
4617 need_locks="$enable_libtool_lock"
4621 ac_cpp='$CPP $CPPFLAGS'
4622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4625 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4626 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4627 # On Suns, sometimes $CPP names a directory.
4628 if test -n "$CPP" && test -d "$CPP"; then
4631 if test -z "$CPP"; then
4632 if test "${ac_cv_prog_CPP+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 # Double quotes because CPP needs to be expanded
4636 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4639 for ac_c_preproc_warn_flag in '' yes
4641 # Use a header file that comes with gcc, so configuring glibc
4642 # with a fresh cross-compiler works.
4643 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4644 # <limits.h> exists even on freestanding compilers.
4645 # On the NeXT, cc -E runs the code through the compiler's parser,
4646 # not just through cpp. "Syntax error" is here to catch this case.
4647 cat >conftest.$ac_ext <<_ACEOF
4650 cat confdefs.h >>conftest.$ac_ext
4651 cat >>conftest.$ac_ext <<_ACEOF
4652 /* end confdefs.h. */
4654 # include <limits.h>
4656 # include <assert.h>
4660 if { (ac_try="$ac_cpp conftest.$ac_ext"
4662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4663 *) ac_try_echo
=$ac_try;;
4665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4668 grep -v '^ *+' conftest.er1
>conftest.err
4670 cat conftest.err
>&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); } >/dev
/null
&& {
4673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4674 test ! -s conftest.err
4678 echo "$as_me: failed program was:" >&5
4679 sed 's/^/| /' conftest.
$ac_ext >&5
4681 # Broken: fails on valid input.
4685 rm -f conftest.err conftest.
$ac_ext
4687 # OK, works on sane cases. Now check whether nonexistent headers
4688 # can be detected and how.
4689 cat >conftest.
$ac_ext <<_ACEOF
4692 cat confdefs.h
>>conftest.
$ac_ext
4693 cat >>conftest.
$ac_ext <<_ACEOF
4694 /* end confdefs.h. */
4695 #include <ac_nonexistent.h>
4697 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4700 *) ac_try_echo=$ac_try;;
4702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4705 grep -v '^ *+' conftest.er1 >conftest.err
4707 cat conftest.err >&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); } >/dev/null && {
4710 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4711 test ! -s conftest.err
4713 # Broken: success on invalid input.
4716 echo "$as_me: failed program was:" >&5
4717 sed 's/^/| /' conftest.$ac_ext >&5
4719 # Passes both tests.
4724 rm -f conftest.err conftest.$ac_ext
4727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728 rm -f conftest.err conftest.
$ac_ext
4729 if $ac_preproc_ok; then
4741 { echo "$as_me:$LINENO: result: $CPP" >&5
4742 echo "${ECHO_T}$CPP" >&6; }
4744 for ac_c_preproc_warn_flag
in '' yes
4746 # Use a header file that comes with gcc, so configuring glibc
4747 # with a fresh cross-compiler works.
4748 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4749 # <limits.h> exists even on freestanding compilers.
4750 # On the NeXT, cc -E runs the code through the compiler's parser,
4751 # not just through cpp. "Syntax error" is here to catch this case.
4752 cat >conftest.
$ac_ext <<_ACEOF
4755 cat confdefs.h
>>conftest.
$ac_ext
4756 cat >>conftest.
$ac_ext <<_ACEOF
4757 /* end confdefs.h. */
4759 # include <limits.h>
4761 # include <assert.h>
4765 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4768 *) ac_try_echo=$ac_try;;
4770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4771 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4773 grep -v '^ *+' conftest.er1 >conftest.err
4775 cat conftest.err >&5
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); } >/dev/null && {
4778 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4779 test ! -s conftest.err
4783 echo "$as_me: failed program was:" >&5
4784 sed 's/^/| /' conftest.$ac_ext >&5
4786 # Broken: fails on valid input.
4790 rm -f conftest.err conftest.$ac_ext
4792 # OK, works on sane cases. Now check whether nonexistent headers
4793 # can be detected and how.
4794 cat >conftest.$ac_ext <<_ACEOF
4797 cat confdefs.h >>conftest.$ac_ext
4798 cat >>conftest.$ac_ext <<_ACEOF
4799 /* end confdefs.h. */
4800 #include <ac_nonexistent.h>
4802 if { (ac_try="$ac_cpp conftest.$ac_ext"
4804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4805 *) ac_try_echo
=$ac_try;;
4807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4810 grep -v '^ *+' conftest.er1
>conftest.err
4812 cat conftest.err
>&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } >/dev
/null
&& {
4815 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4816 test ! -s conftest.err
4818 # Broken: success on invalid input.
4821 echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.
$ac_ext >&5
4824 # Passes both tests.
4829 rm -f conftest.err conftest.
$ac_ext
4832 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4833 rm -f conftest.err conftest.
$ac_ext
4834 if $ac_preproc_ok; then
4837 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4838 See \`config.log' for more details." >&5
4839 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4840 See \`config.log' for more details." >&2;}
4841 { (exit 1); exit 1; }; }
4845 ac_cpp
='$CPP $CPPFLAGS'
4846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4851 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4852 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4853 if test "${ac_cv_header_stdc+set}" = set; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4856 cat >conftest.
$ac_ext <<_ACEOF
4859 cat confdefs.h
>>conftest.
$ac_ext
4860 cat >>conftest.
$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4875 rm -f conftest.
$ac_objext
4876 if { (ac_try
="$ac_compile"
4878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4879 *) ac_try_echo=$ac_try;;
4881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4882 (eval "$ac_compile") 2>conftest.er1
4884 grep -v '^ *+' conftest.er1 >conftest.err
4886 cat conftest.err >&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); } && {
4889 test -z "$ac_c_werror_flag" ||
4890 test ! -s conftest.err
4891 } && test -s conftest.$ac_objext; then
4892 ac_cv_header_stdc=yes
4894 echo "$as_me: failed program was:" >&5
4895 sed 's/^/| /' conftest.$ac_ext >&5
4897 ac_cv_header_stdc=no
4900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 if test $ac_cv_header_stdc = yes; then
4903 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4904 cat >conftest.$ac_ext <<_ACEOF
4907 cat confdefs.h >>conftest.$ac_ext
4908 cat >>conftest.$ac_ext <<_ACEOF
4909 /* end confdefs.h. */
4913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4914 $EGREP "memchr" >/dev/null 2>&1; then
4917 ac_cv_header_stdc=no
4923 if test $ac_cv_header_stdc = yes; then
4924 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4925 cat >conftest.$ac_ext <<_ACEOF
4928 cat confdefs.h >>conftest.$ac_ext
4929 cat >>conftest.$ac_ext <<_ACEOF
4930 /* end confdefs.h. */
4934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4935 $EGREP "free" >/dev/null 2>&1; then
4938 ac_cv_header_stdc=no
4944 if test $ac_cv_header_stdc = yes; then
4945 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4946 if test "$cross_compiling" = yes; then
4949 cat >conftest.$ac_ext <<_ACEOF
4952 cat confdefs.h >>conftest.$ac_ext
4953 cat >>conftest.$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4957 #if ((' ' & 0x0FF) == 0x020)
4958 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4959 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4961 # define ISLOWER(c) \
4962 (('a' <= (c) && (c) <= 'i') \
4963 || ('j' <= (c) && (c) <= 'r') \
4964 || ('s' <= (c) && (c) <= 'z'))
4965 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4968 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4973 for (i = 0; i < 256; i++)
4974 if (XOR (islower (i), ISLOWER (i))
4975 || toupper (i) != TOUPPER (i))
4980 rm -f conftest$ac_exeext
4981 if { (ac_try="$ac_link"
4983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4984 *) ac_try_echo
=$ac_try;;
4986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4987 (eval "$ac_link") 2>&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4991 { (case "(($ac_try" in
4992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4993 *) ac_try_echo=$ac_try;;
4995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4996 (eval "$ac_try") 2>&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); }; }; then
5002 echo "$as_me: program exited with status $ac_status" >&5
5003 echo "$as_me: failed program was:" >&5
5004 sed 's/^/| /' conftest.$ac_ext >&5
5007 ac_cv_header_stdc=no
5009 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5015 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5016 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5017 if test $ac_cv_header_stdc = yes; then
5019 cat >>confdefs.h <<\_ACEOF
5020 #define STDC_HEADERS 1
5025 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5035 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5036 inttypes.h stdint.h unistd.h
5038 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5039 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5042 echo $ECHO_N "(cached) $ECHO_C" >&6
5044 cat >conftest.$ac_ext <<_ACEOF
5047 cat confdefs.h >>conftest.$ac_ext
5048 cat >>conftest.$ac_ext <<_ACEOF
5049 /* end confdefs.h. */
5050 $ac_includes_default
5052 #include <$ac_header>
5054 rm -f conftest.$ac_objext
5055 if { (ac_try="$ac_compile"
5057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5058 *) ac_try_echo
=$ac_try;;
5060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5061 (eval "$ac_compile") 2>conftest.er1
5063 grep -v '^ *+' conftest.er1
>conftest.err
5065 cat conftest.err
>&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); } && {
5068 test -z "$ac_c_werror_flag" ||
5069 test ! -s conftest.err
5070 } && test -s conftest.
$ac_objext; then
5071 eval "$as_ac_Header=yes"
5073 echo "$as_me: failed program was:" >&5
5074 sed 's/^/| /' conftest.
$ac_ext >&5
5076 eval "$as_ac_Header=no"
5079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5081 ac_res
=`eval echo '${'$as_ac_Header'}'`
5082 { echo "$as_me:$LINENO: result: $ac_res" >&5
5083 echo "${ECHO_T}$ac_res" >&6; }
5084 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5085 cat >>confdefs.h
<<_ACEOF
5086 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5095 for ac_header
in dlfcn.h
5097 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5098 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5099 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5101 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 ac_res
=`eval echo '${'$as_ac_Header'}'`
5105 { echo "$as_me:$LINENO: result: $ac_res" >&5
5106 echo "${ECHO_T}$ac_res" >&6; }
5108 # Is the header compilable?
5109 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5111 cat >conftest.
$ac_ext <<_ACEOF
5114 cat confdefs.h
>>conftest.
$ac_ext
5115 cat >>conftest.
$ac_ext <<_ACEOF
5116 /* end confdefs.h. */
5117 $ac_includes_default
5118 #include <$ac_header>
5120 rm -f conftest.
$ac_objext
5121 if { (ac_try
="$ac_compile"
5123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5124 *) ac_try_echo=$ac_try;;
5126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5127 (eval "$ac_compile") 2>conftest.er1
5129 grep -v '^ *+' conftest.er1 >conftest.err
5131 cat conftest.err >&5
5132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133 (exit $ac_status); } && {
5134 test -z "$ac_c_werror_flag" ||
5135 test ! -s conftest.err
5136 } && test -s conftest.$ac_objext; then
5137 ac_header_compiler=yes
5139 echo "$as_me: failed program was:" >&5
5140 sed 's/^/| /' conftest.$ac_ext >&5
5142 ac_header_compiler=no
5145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5146 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5147 echo "${ECHO_T}$ac_header_compiler" >&6; }
5149 # Is the header present?
5150 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5152 cat >conftest.$ac_ext <<_ACEOF
5155 cat confdefs.h >>conftest.$ac_ext
5156 cat >>conftest.$ac_ext <<_ACEOF
5157 /* end confdefs.h. */
5158 #include <$ac_header>
5160 if { (ac_try="$ac_cpp conftest.$ac_ext"
5162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5163 *) ac_try_echo
=$ac_try;;
5165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5168 grep -v '^ *+' conftest.er1
>conftest.err
5170 cat conftest.err
>&5
5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); } >/dev
/null
&& {
5173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5174 test ! -s conftest.err
5176 ac_header_preproc
=yes
5178 echo "$as_me: failed program was:" >&5
5179 sed 's/^/| /' conftest.
$ac_ext >&5
5181 ac_header_preproc
=no
5184 rm -f conftest.err conftest.
$ac_ext
5185 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5186 echo "${ECHO_T}$ac_header_preproc" >&6; }
5188 # So? What about this header?
5189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5195 ac_header_preproc
=yes
5198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5202 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5204 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5205 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5208 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5211 ## -------------------------------------------------- ##
5212 ## Report this to courier-users@lists.sourceforge.net ##
5213 ## -------------------------------------------------- ##
5215 ) |
sed "s/^/$as_me: WARNING: /" >&2
5218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5220 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5221 echo $ECHO_N "(cached) $ECHO_C" >&6
5223 eval "$as_ac_Header=\$ac_header_preproc"
5225 ac_res
=`eval echo '${'$as_ac_Header'}'`
5226 { echo "$as_me:$LINENO: result: $ac_res" >&5
5227 echo "${ECHO_T}$ac_res" >&6; }
5230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5231 cat >>confdefs.h
<<_ACEOF
5232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5240 ac_cpp
='$CXXCPP $CPPFLAGS'
5241 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5242 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5243 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5244 if test -z "$CXX"; then
5245 if test -n "$CCC"; then
5248 if test -n "$ac_tool_prefix"; then
5249 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5252 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5255 if test "${ac_cv_prog_CXX+set}" = set; then
5256 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 if test -n "$CXX"; then
5259 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5265 test -z "$as_dir" && as_dir
=.
5266 for ac_exec_ext
in '' $ac_executable_extensions; do
5267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5268 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 if test -n "$CXX"; then
5280 { echo "$as_me:$LINENO: result: $CXX" >&5
5281 echo "${ECHO_T}$CXX" >&6; }
5283 { echo "$as_me:$LINENO: result: no" >&5
5284 echo "${ECHO_T}no" >&6; }
5288 test -n "$CXX" && break
5291 if test -z "$CXX"; then
5293 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5295 # Extract the first word of "$ac_prog", so it can be a program name with args.
5296 set dummy
$ac_prog; ac_word
=$2
5297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5299 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 if test -n "$ac_ct_CXX"; then
5303 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir
=.
5310 for ac_exec_ext
in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5323 if test -n "$ac_ct_CXX"; then
5324 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5325 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5327 { echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6; }
5332 test -n "$ac_ct_CXX" && break
5335 if test "x$ac_ct_CXX" = x
; then
5338 case $cross_compiling:$ac_tool_warned in
5340 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5341 whose name does not start with the host triplet. If you think this
5342 configuration is useful to you, please write to autoconf@gnu.org." >&5
5343 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5344 whose name does not start with the host triplet. If you think this
5345 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5346 ac_tool_warned
=yes ;;
5354 # Provide some information about the compiler.
5355 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5356 ac_compiler
=`set X $ac_compile; echo $2`
5357 { (ac_try
="$ac_compiler --version >&5"
5359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5360 *) ac_try_echo=$ac_try;;
5362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5363 (eval "$ac_compiler --version >&5") 2>&5
5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366 (exit $ac_status); }
5367 { (ac_try="$ac_compiler -v >&5"
5369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5370 *) ac_try_echo
=$ac_try;;
5372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5373 (eval "$ac_compiler -v >&5") 2>&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); }
5377 { (ac_try
="$ac_compiler -V >&5"
5379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5380 *) ac_try_echo=$ac_try;;
5382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5383 (eval "$ac_compiler -V >&5") 2>&5
5385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386 (exit $ac_status); }
5388 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5389 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5390 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5391 echo $ECHO_N "(cached) $ECHO_C" >&6
5393 cat >conftest.$ac_ext <<_ACEOF
5396 cat confdefs.h >>conftest.$ac_ext
5397 cat >>conftest.$ac_ext <<_ACEOF
5398 /* end confdefs.h. */
5411 rm -f conftest.$ac_objext
5412 if { (ac_try="$ac_compile"
5414 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5415 *) ac_try_echo
=$ac_try;;
5417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5418 (eval "$ac_compile") 2>conftest.er1
5420 grep -v '^ *+' conftest.er1
>conftest.err
5422 cat conftest.err
>&5
5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424 (exit $ac_status); } && {
5425 test -z "$ac_cxx_werror_flag" ||
5426 test ! -s conftest.err
5427 } && test -s conftest.
$ac_objext; then
5430 echo "$as_me: failed program was:" >&5
5431 sed 's/^/| /' conftest.
$ac_ext >&5
5436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5437 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5440 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5441 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5442 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5443 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5444 ac_save_CXXFLAGS
=$CXXFLAGS
5445 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5446 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5447 if test "${ac_cv_prog_cxx_g+set}" = set; then
5448 echo $ECHO_N "(cached) $ECHO_C" >&6
5450 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5451 ac_cxx_werror_flag
=yes
5454 cat >conftest.
$ac_ext <<_ACEOF
5457 cat confdefs.h
>>conftest.
$ac_ext
5458 cat >>conftest.
$ac_ext <<_ACEOF
5459 /* end confdefs.h. */
5469 rm -f conftest.
$ac_objext
5470 if { (ac_try
="$ac_compile"
5472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5473 *) ac_try_echo=$ac_try;;
5475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5476 (eval "$ac_compile") 2>conftest.er1
5478 grep -v '^ *+' conftest.er1 >conftest.err
5480 cat conftest.err >&5
5481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482 (exit $ac_status); } && {
5483 test -z "$ac_cxx_werror_flag" ||
5484 test ! -s conftest.err
5485 } && test -s conftest.$ac_objext; then
5486 ac_cv_prog_cxx_g=yes
5488 echo "$as_me: failed program was:" >&5
5489 sed 's/^/| /' conftest.$ac_ext >&5
5492 cat >conftest.$ac_ext <<_ACEOF
5495 cat confdefs.h >>conftest.$ac_ext
5496 cat >>conftest.$ac_ext <<_ACEOF
5497 /* end confdefs.h. */
5507 rm -f conftest.$ac_objext
5508 if { (ac_try="$ac_compile"
5510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5511 *) ac_try_echo
=$ac_try;;
5513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5514 (eval "$ac_compile") 2>conftest.er1
5516 grep -v '^ *+' conftest.er1
>conftest.err
5518 cat conftest.err
>&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); } && {
5521 test -z "$ac_cxx_werror_flag" ||
5522 test ! -s conftest.err
5523 } && test -s conftest.
$ac_objext; then
5526 echo "$as_me: failed program was:" >&5
5527 sed 's/^/| /' conftest.
$ac_ext >&5
5529 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5531 cat >conftest.
$ac_ext <<_ACEOF
5534 cat confdefs.h
>>conftest.
$ac_ext
5535 cat >>conftest.
$ac_ext <<_ACEOF
5536 /* end confdefs.h. */
5546 rm -f conftest.
$ac_objext
5547 if { (ac_try
="$ac_compile"
5549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5550 *) ac_try_echo=$ac_try;;
5552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5553 (eval "$ac_compile") 2>conftest.er1
5555 grep -v '^ *+' conftest.er1 >conftest.err
5557 cat conftest.err >&5
5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 (exit $ac_status); } && {
5560 test -z "$ac_cxx_werror_flag" ||
5561 test ! -s conftest.err
5562 } && test -s conftest.$ac_objext; then
5563 ac_cv_prog_cxx_g=yes
5565 echo "$as_me: failed program was:" >&5
5566 sed 's/^/| /' conftest.$ac_ext >&5
5571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5578 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5580 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5581 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5582 if test "$ac_test_CXXFLAGS" = set; then
5583 CXXFLAGS=$ac_save_CXXFLAGS
5584 elif test $ac_cv_prog_cxx_g = yes; then
5585 if test "$GXX" = yes; then
5591 if test "$GXX" = yes; then
5598 ac_cpp='$CXXCPP $CPPFLAGS'
5599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5603 depcc="$CXX" am_compiler_list=
5605 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5606 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5607 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5608 echo $ECHO_N "(cached) $ECHO_C" >&6
5610 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5611 # We make a subdir and do the tests there. Otherwise we can end up
5612 # making bogus files that we don't know about and never remove. For
5613 # instance it was reported that on HP-UX the gcc test will end up
5614 # making a dummy file named `D
' -- because `-MD' means
`put the output
5617 # Copy depcomp to subdir because otherwise we won't find it if we're
5618 # using a relative directory.
5619 cp "$am_depcomp" conftest.dir
5621 # We will build objects and dependencies in a subdirectory because
5622 # it helps to detect inapplicable dependency modes. For instance
5623 # both Tru64's cc and ICC support -MD to output dependencies as a
5624 # side effect of compilation, but ICC will put the dependencies in
5625 # the current directory while Tru64 will put them in the object
5629 am_cv_CXX_dependencies_compiler_type=none
5630 if test "$am_compiler_list" = ""; then
5631 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5633 for depmode in $am_compiler_list; do
5634 # Setup a source with many dependencies, because some compilers
5635 # like to wrap large dependency lists on column 80 (with \), and
5636 # we should not choose a depcomp mode which is confused by this.
5638 # We need to recreate these files for each test, as the compiler may
5639 # overwrite some of them when testing with obscure command lines.
5640 # This happens at least with the AIX C compiler.
5642 for i in 1 2 3 4 5 6; do
5643 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5644 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5645 # Solaris 8's
{/usr
,}/bin
/sh.
5646 touch sub
/conftst
$i.h
5648 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5652 # after this tag, mechanisms are not by side-effect, so they'll
5653 # only be used when explicitly requested
5654 if test "x$enable_dependency_tracking" = xyes
; then
5662 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5663 # mode. It turns out that the SunPro C++ compiler does not properly
5664 # handle `-M -o', and we need to detect this.
5665 if depmode
=$depmode \
5666 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5667 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5668 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5669 >/dev
/null
2>conftest.err
&&
5670 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5671 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5672 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5673 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5674 # icc doesn't choke on unknown options, it will just issue warnings
5675 # or remarks (even with -Werror). So we grep stderr for any message
5676 # that says an option was ignored or not supported.
5677 # When given -MP, icc 7.0 and 7.1 complain thusly:
5678 # icc: Command line warning: ignoring option '-M'; no argument required
5679 # The diagnosis changed in icc 8.0:
5680 # icc: Command line remark: option '-MP' not supported
5681 if (grep 'ignoring option' conftest.err ||
5682 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5683 am_cv_CXX_dependencies_compiler_type
=$depmode
5692 am_cv_CXX_dependencies_compiler_type
=none
5696 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5697 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5698 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5701 test "x$enable_dependency_tracking" != xno \
5702 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5703 am__fastdepCXX_TRUE
=
5704 am__fastdepCXX_FALSE
='#'
5706 am__fastdepCXX_TRUE
='#'
5707 am__fastdepCXX_FALSE
=
5713 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5714 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5715 (test "X$CXX" != "Xg++"))) ; then
5717 ac_cpp
='$CXXCPP $CPPFLAGS'
5718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5721 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5722 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5723 if test -z "$CXXCPP"; then
5724 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 # Double quotes because CXXCPP needs to be expanded
5728 for CXXCPP
in "$CXX -E" "/lib/cpp"
5731 for ac_cxx_preproc_warn_flag
in '' yes
5733 # Use a header file that comes with gcc, so configuring glibc
5734 # with a fresh cross-compiler works.
5735 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5736 # <limits.h> exists even on freestanding compilers.
5737 # On the NeXT, cc -E runs the code through the compiler's parser,
5738 # not just through cpp. "Syntax error" is here to catch this case.
5739 cat >conftest.
$ac_ext <<_ACEOF
5742 cat confdefs.h
>>conftest.
$ac_ext
5743 cat >>conftest.
$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5746 # include <limits.h>
5748 # include <assert.h>
5752 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5755 *) ac_try_echo=$ac_try;;
5757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5760 grep -v '^ *+' conftest.er1 >conftest.err
5762 cat conftest.err >&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); } >/dev/null && {
5765 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5766 test ! -s conftest.err
5770 echo "$as_me: failed program was:" >&5
5771 sed 's/^/| /' conftest.$ac_ext >&5
5773 # Broken: fails on valid input.
5777 rm -f conftest.err conftest.$ac_ext
5779 # OK, works on sane cases. Now check whether nonexistent headers
5780 # can be detected and how.
5781 cat >conftest.$ac_ext <<_ACEOF
5784 cat confdefs.h >>conftest.$ac_ext
5785 cat >>conftest.$ac_ext <<_ACEOF
5786 /* end confdefs.h. */
5787 #include <ac_nonexistent.h>
5789 if { (ac_try="$ac_cpp conftest.$ac_ext"
5791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5792 *) ac_try_echo
=$ac_try;;
5794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5797 grep -v '^ *+' conftest.er1
>conftest.err
5799 cat conftest.err
>&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); } >/dev
/null
&& {
5802 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5803 test ! -s conftest.err
5805 # Broken: success on invalid input.
5808 echo "$as_me: failed program was:" >&5
5809 sed 's/^/| /' conftest.
$ac_ext >&5
5811 # Passes both tests.
5816 rm -f conftest.err conftest.
$ac_ext
5819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5820 rm -f conftest.err conftest.
$ac_ext
5821 if $ac_preproc_ok; then
5826 ac_cv_prog_CXXCPP
=$CXXCPP
5829 CXXCPP
=$ac_cv_prog_CXXCPP
5831 ac_cv_prog_CXXCPP
=$CXXCPP
5833 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5834 echo "${ECHO_T}$CXXCPP" >&6; }
5836 for ac_cxx_preproc_warn_flag
in '' yes
5838 # Use a header file that comes with gcc, so configuring glibc
5839 # with a fresh cross-compiler works.
5840 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5841 # <limits.h> exists even on freestanding compilers.
5842 # On the NeXT, cc -E runs the code through the compiler's parser,
5843 # not just through cpp. "Syntax error" is here to catch this case.
5844 cat >conftest.
$ac_ext <<_ACEOF
5847 cat confdefs.h
>>conftest.
$ac_ext
5848 cat >>conftest.
$ac_ext <<_ACEOF
5849 /* end confdefs.h. */
5851 # include <limits.h>
5853 # include <assert.h>
5857 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5860 *) ac_try_echo=$ac_try;;
5862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5865 grep -v '^ *+' conftest.er1 >conftest.err
5867 cat conftest.err >&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); } >/dev/null && {
5870 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5871 test ! -s conftest.err
5875 echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.$ac_ext >&5
5878 # Broken: fails on valid input.
5882 rm -f conftest.err conftest.$ac_ext
5884 # OK, works on sane cases. Now check whether nonexistent headers
5885 # can be detected and how.
5886 cat >conftest.$ac_ext <<_ACEOF
5889 cat confdefs.h >>conftest.$ac_ext
5890 cat >>conftest.$ac_ext <<_ACEOF
5891 /* end confdefs.h. */
5892 #include <ac_nonexistent.h>
5894 if { (ac_try="$ac_cpp conftest.$ac_ext"
5896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5897 *) ac_try_echo
=$ac_try;;
5899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5900 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5902 grep -v '^ *+' conftest.er1
>conftest.err
5904 cat conftest.err
>&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); } >/dev
/null
&& {
5907 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5908 test ! -s conftest.err
5910 # Broken: success on invalid input.
5913 echo "$as_me: failed program was:" >&5
5914 sed 's/^/| /' conftest.
$ac_ext >&5
5916 # Passes both tests.
5921 rm -f conftest.err conftest.
$ac_ext
5924 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5925 rm -f conftest.err conftest.
$ac_ext
5926 if $ac_preproc_ok; then
5929 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5930 See \`config.log' for more details." >&5
5931 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5932 See \`config.log' for more details." >&2;}
5933 { (exit 1); exit 1; }; }
5937 ac_cpp
='$CXXCPP $CPPFLAGS'
5938 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5939 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5940 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5946 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5947 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5948 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5949 if test -n "$ac_tool_prefix"; then
5950 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
5952 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5953 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5956 if test "${ac_cv_prog_F77+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 if test -n "$F77"; then
5960 ac_cv_prog_F77
="$F77" # Let the user override the test.
5962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5966 test -z "$as_dir" && as_dir
=.
5967 for ac_exec_ext
in '' $ac_executable_extensions; do
5968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5969 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5980 if test -n "$F77"; then
5981 { echo "$as_me:$LINENO: result: $F77" >&5
5982 echo "${ECHO_T}$F77" >&6; }
5984 { echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6; }
5989 test -n "$F77" && break
5992 if test -z "$F77"; then
5994 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
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy
$ac_prog; ac_word
=$2
5998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6003 if test -n "$ac_ct_F77"; then
6004 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6010 test -z "$as_dir" && as_dir
=.
6011 for ac_exec_ext
in '' $ac_executable_extensions; do
6012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013 ac_cv_prog_ac_ct_F77
="$ac_prog"
6014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6024 if test -n "$ac_ct_F77"; then
6025 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6026 echo "${ECHO_T}$ac_ct_F77" >&6; }
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6033 test -n "$ac_ct_F77" && break
6036 if test "x$ac_ct_F77" = x
; then
6039 case $cross_compiling:$ac_tool_warned in
6041 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6042 whose name does not start with the host triplet. If you think this
6043 configuration is useful to you, please write to autoconf@gnu.org." >&5
6044 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6045 whose name does not start with the host triplet. If you think this
6046 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6047 ac_tool_warned
=yes ;;
6054 # Provide some information about the compiler.
6055 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6056 ac_compiler
=`set X $ac_compile; echo $2`
6057 { (ac_try
="$ac_compiler --version >&5"
6059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6060 *) ac_try_echo=$ac_try;;
6062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6063 (eval "$ac_compiler --version >&5") 2>&5
6065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066 (exit $ac_status); }
6067 { (ac_try="$ac_compiler -v >&5"
6069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6070 *) ac_try_echo
=$ac_try;;
6072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6073 (eval "$ac_compiler -v >&5") 2>&5
6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076 (exit $ac_status); }
6077 { (ac_try
="$ac_compiler -V >&5"
6079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6080 *) ac_try_echo=$ac_try;;
6082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6083 (eval "$ac_compiler -V >&5") 2>&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); }
6089 # If we don't use `.F
' as extension, the preprocessor is not run on the
6090 # input file. (Note that this only needs to work for GNU compilers.)
6093 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6094 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6095 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 cat >conftest.$ac_ext <<_ACEOF
6106 rm -f conftest.$ac_objext
6107 if { (ac_try="$ac_compile"
6109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6110 *) ac_try_echo=$ac_try;;
6112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6113 (eval "$ac_compile") 2>conftest.er1
6115 grep -v '^
*+' conftest.er1 >conftest.err
6117 cat conftest.err >&5
6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119 (exit $ac_status); } && {
6120 test -z "$ac_f77_werror_flag" ||
6121 test ! -s conftest.err
6122 } && test -s conftest.$ac_objext; then
6125 echo "$as_me: failed program was:" >&5
6126 sed 's
/^
/|
/' conftest.$ac_ext >&5
6131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6132 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6135 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6136 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6138 ac_test_FFLAGS=${FFLAGS+set}
6139 ac_save_FFLAGS=$FFLAGS
6141 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6142 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6143 if test "${ac_cv_prog_f77_g+set}" = set; then
6144 echo $ECHO_N "(cached) $ECHO_C" >&6
6147 cat >conftest.$ac_ext <<_ACEOF
6152 rm -f conftest.$ac_objext
6153 if { (ac_try="$ac_compile"
6155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6156 *) ac_try_echo=$ac_try;;
6158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6159 (eval "$ac_compile") 2>conftest.er1
6161 grep -v '^
*+' conftest.er1 >conftest.err
6163 cat conftest.err >&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); } && {
6166 test -z "$ac_f77_werror_flag" ||
6167 test ! -s conftest.err
6168 } && test -s conftest.$ac_objext; then
6169 ac_cv_prog_f77_g=yes
6171 echo "$as_me: failed program was:" >&5
6172 sed 's
/^
/|
/' conftest.$ac_ext >&5
6177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6180 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6181 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6182 if test "$ac_test_FFLAGS" = set; then
6183 FFLAGS=$ac_save_FFLAGS
6184 elif test $ac_cv_prog_f77_g = yes; then
6185 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6191 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6198 G77=`test $ac_compiler_gnu = yes && echo yes`
6200 ac_cpp='$CPP $CPPFLAGS'
6201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6202 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6207 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6209 # find the maximum length of command line arguments
6210 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6211 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6212 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6213 echo $ECHO_N "(cached) $ECHO_C" >&6
6220 # On DJGPP, this test can blow up pretty badly due to problems in libc
6221 # (any single argument exceeding 2000 bytes causes a buffer overrun
6222 # during glob expansion). Even if it were fixed, the result of this
6223 # check would be larger than it should be.
6224 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6228 # Under GNU Hurd, this test is not required because there is
6229 # no limit to the length of command line arguments.
6230 # Libtool will interpret -1 as no limit whatsoever
6231 lt_cv_sys_max_cmd_len
=-1;
6235 # On Win9x/ME, this test blows up -- it succeeds, but takes
6236 # about 5 minutes as the teststring grows exponentially.
6237 # Worse, since 9x/ME are not pre-emptively multitasking,
6238 # you end up with a "frozen" computer, even though with patience
6239 # the test eventually succeeds (with a max line length of 256k).
6240 # Instead, let's just punt: use the minimum linelength reported by
6241 # all of the supported platforms: 8192 (on NT/2K/XP).
6242 lt_cv_sys_max_cmd_len
=8192;
6246 # On AmigaOS with pdksh, this test takes hours, literally.
6247 # So we just punt and use a minimum line length of 8192.
6248 lt_cv_sys_max_cmd_len
=8192;
6251 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6252 # This has been around since 386BSD, at least. Likely further.
6253 if test -x /sbin
/sysctl
; then
6254 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6255 elif test -x /usr
/sbin
/sysctl
; then
6256 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6258 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6260 # And add a safety zone
6261 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6262 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6266 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6267 lt_cv_sys_max_cmd_len
=196608
6271 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6272 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6273 # nice to cause kernel panics so lets avoid the loop below.
6274 # First set a reasonable default.
6275 lt_cv_sys_max_cmd_len
=16384
6277 if test -x /sbin
/sysconfig
; then
6278 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6279 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6284 lt_cv_sys_max_cmd_len
=102400
6286 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6287 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6288 if test -n "$kargmax"; then
6289 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6291 lt_cv_sys_max_cmd_len
=32768
6295 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6296 if test -n "$lt_cv_sys_max_cmd_len"; then
6297 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6298 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6300 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6301 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6302 = "XX$teststring") >/dev
/null
2>&1 &&
6303 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6304 lt_cv_sys_max_cmd_len
=$new_result &&
6305 test $i != 17 # 1/2 MB should be enough
6308 teststring
=$teststring$teststring
6311 # Add a significant safety factor because C++ compilers can tack on massive
6312 # amounts of additional arguments before passing them to the linker.
6313 # It appears as though 1/2 is a usable value.
6314 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6321 if test -n $lt_cv_sys_max_cmd_len ; then
6322 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6323 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6325 { echo "$as_me:$LINENO: result: none" >&5
6326 echo "${ECHO_T}none" >&6; }
6333 # Check for command to grab the raw symbol name followed by C symbol from nm.
6334 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6335 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6336 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6337 echo $ECHO_N "(cached) $ECHO_C" >&6
6340 # These are sane defaults that work on at least a few old systems.
6341 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6343 # Character class describing NM global symbol codes.
6344 symcode
='[BCDEGRST]'
6346 # Regexp to match symbols that can be accessed directly from C.
6347 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6349 # Transform an extracted symbol line into a proper C declaration
6350 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6352 # Transform an extracted symbol line into symbol name and symbol address
6353 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'"
6355 # Define system-specific variables.
6360 cygwin
* | mingw
* | pw32
*)
6361 symcode
='[ABCDGISTW]'
6363 hpux
*) # Its linker distinguishes data from code symbols
6364 if test "$host_cpu" = ia64
; then
6365 symcode
='[ABCDEGRST]'
6367 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6368 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'"
6370 linux
* | k
*bsd
*-gnu)
6371 if test "$host_cpu" = ia64
; then
6372 symcode
='[ABCDGIRSTW]'
6373 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6374 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'"
6378 symcode
='[BCDEGRST]'
6381 symcode
='[BCDEGQRST]'
6392 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6400 # Handle CRLF in mingw tool chain
6404 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6408 # If we're using GNU nm, then use its standard symbol codes.
6409 case `$NM -V 2>&1` in
6410 *GNU
* |
*'with BFD'*)
6411 symcode
='[ABCDGIRSTW]' ;;
6414 # Try without a prefix undercore, then with it.
6415 for ac_symprfx
in "" "_"; do
6417 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6418 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6420 # Write the raw and C identifiers.
6421 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6423 # Check to see that the pipe works correctly.
6427 cat > conftest.
$ac_ext <<EOF
6432 void nm_test_func(){}
6436 int main(){nm_test_var='a';nm_test_func();return(0);}
6439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6440 (eval $ac_compile) 2>&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); }; then
6444 # Now try to grab the symbols.
6446 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6447 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); } && test -s "$nlist"; then
6451 # Try sorting and uniquifying the output.
6452 if sort "$nlist" |
uniq > "$nlist"T
; then
6453 mv -f "$nlist"T
"$nlist"
6458 # Make sure that we snagged all the symbols we need.
6459 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6460 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6461 cat <<EOF > conftest.$ac_ext
6467 # Now generate the symbol file.
6468 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6470 cat <<EOF >> conftest.$ac_ext
6471 #if defined (__STDC__) && __STDC__
6472 # define lt_ptr_t void *
6474 # define lt_ptr_t char *
6478 /* The mapping between symbol names and symbols. */
6483 lt_preloaded_symbols[] =
6486 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6487 cat <<\EOF
>> conftest.
$ac_ext
6495 # Now try linking the two files.
6496 mv conftest.
$ac_objext conftstm.
$ac_objext
6497 lt_save_LIBS
="$LIBS"
6498 lt_save_CFLAGS
="$CFLAGS"
6499 LIBS
="conftstm.$ac_objext"
6500 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6502 (eval $ac_link) 2>&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6508 LIBS
="$lt_save_LIBS"
6509 CFLAGS
="$lt_save_CFLAGS"
6511 echo "cannot find nm_test_func in $nlist" >&5
6514 echo "cannot find nm_test_var in $nlist" >&5
6517 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6520 echo "$progname: failed program was:" >&5
6521 cat conftest.
$ac_ext >&5
6523 rm -f conftest
* conftst
*
6525 # Do not use the global_symbol_pipe unless it works.
6526 if test "$pipe_works" = yes; then
6529 lt_cv_sys_global_symbol_pipe
=
6535 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6536 lt_cv_sys_global_symbol_to_cdecl
=
6538 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6539 { echo "$as_me:$LINENO: result: failed" >&5
6540 echo "${ECHO_T}failed" >&6; }
6542 { echo "$as_me:$LINENO: result: ok" >&5
6543 echo "${ECHO_T}ok" >&6; }
6546 { echo "$as_me:$LINENO: checking for objdir" >&5
6547 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6548 if test "${lt_cv_objdir+set}" = set; then
6549 echo $ECHO_N "(cached) $ECHO_C" >&6
6551 rm -f .libs
2>/dev
/null
6552 mkdir .libs
2>/dev
/null
6553 if test -d .libs
; then
6556 # MS-DOS does not allow filenames that begin with a dot.
6559 rmdir .libs
2>/dev
/null
6561 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6562 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6563 objdir
=$lt_cv_objdir
6571 # AIX sometimes has problems with the GCC collect2 program. For some
6572 # reason, if we set the COLLECT_NAMES environment variable, the problems
6573 # vanish in a puff of smoke.
6574 if test "X${COLLECT_NAMES+set}" != Xset
; then
6576 export COLLECT_NAMES
6581 # Sed substitution that helps us do robust quoting. It backslashifies
6582 # metacharacters that are still active within double-quoted strings.
6583 Xsed
='sed -e 1s/^X//'
6584 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6586 # Same as above, but do not quote variable references.
6587 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6589 # Sed substitution to delay expansion of an escaped shell variable in a
6590 # double_quote_subst'ed string.
6591 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6593 # Sed substitution to avoid accidental globbing in evaled expressions
6594 no_glob_subst
='s/\*/\\\*/g'
6600 default_ofile
=libtool
6601 can_build_shared
=yes
6603 # All known linkers require a `.a' archive for static linking (except MSVC,
6604 # which needs '.lib').
6606 ltmain
="$ac_aux_dir/ltmain.sh"
6607 ofile
="$default_ofile"
6608 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6610 if test -n "$ac_tool_prefix"; then
6611 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6612 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6615 if test "${ac_cv_prog_AR+set}" = set; then
6616 echo $ECHO_N "(cached) $ECHO_C" >&6
6618 if test -n "$AR"; then
6619 ac_cv_prog_AR
="$AR" # Let the user override the test.
6621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6625 test -z "$as_dir" && as_dir
=.
6626 for ac_exec_ext
in '' $ac_executable_extensions; do
6627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6628 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 if test -n "$AR"; then
6640 { echo "$as_me:$LINENO: result: $AR" >&5
6641 echo "${ECHO_T}$AR" >&6; }
6643 { echo "$as_me:$LINENO: result: no" >&5
6644 echo "${ECHO_T}no" >&6; }
6649 if test -z "$ac_cv_prog_AR"; then
6651 # Extract the first word of "ar", so it can be a program name with args.
6652 set dummy
ar; ac_word
=$2
6653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6655 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6656 echo $ECHO_N "(cached) $ECHO_C" >&6
6658 if test -n "$ac_ct_AR"; then
6659 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6665 test -z "$as_dir" && as_dir
=.
6666 for ac_exec_ext
in '' $ac_executable_extensions; do
6667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6668 ac_cv_prog_ac_ct_AR
="ar"
6669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6678 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6679 if test -n "$ac_ct_AR"; then
6680 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6681 echo "${ECHO_T}$ac_ct_AR" >&6; }
6683 { echo "$as_me:$LINENO: result: no" >&5
6684 echo "${ECHO_T}no" >&6; }
6687 if test "x$ac_ct_AR" = x
; then
6690 case $cross_compiling:$ac_tool_warned in
6692 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6693 whose name does not start with the host triplet. If you think this
6694 configuration is useful to you, please write to autoconf@gnu.org." >&5
6695 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6696 whose name does not start with the host triplet. If you think this
6697 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6698 ac_tool_warned
=yes ;;
6706 if test -n "$ac_tool_prefix"; then
6707 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6708 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6711 if test "${ac_cv_prog_RANLIB+set}" = set; then
6712 echo $ECHO_N "(cached) $ECHO_C" >&6
6714 if test -n "$RANLIB"; then
6715 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6721 test -z "$as_dir" && as_dir
=.
6722 for ac_exec_ext
in '' $ac_executable_extensions; do
6723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6724 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6734 RANLIB
=$ac_cv_prog_RANLIB
6735 if test -n "$RANLIB"; then
6736 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6737 echo "${ECHO_T}$RANLIB" >&6; }
6739 { echo "$as_me:$LINENO: result: no" >&5
6740 echo "${ECHO_T}no" >&6; }
6745 if test -z "$ac_cv_prog_RANLIB"; then
6746 ac_ct_RANLIB
=$RANLIB
6747 # Extract the first word of "ranlib", so it can be a program name with args.
6748 set dummy ranlib
; ac_word
=$2
6749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6751 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6752 echo $ECHO_N "(cached) $ECHO_C" >&6
6754 if test -n "$ac_ct_RANLIB"; then
6755 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6761 test -z "$as_dir" && as_dir
=.
6762 for ac_exec_ext
in '' $ac_executable_extensions; do
6763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6764 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6775 if test -n "$ac_ct_RANLIB"; then
6776 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6777 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6779 { echo "$as_me:$LINENO: result: no" >&5
6780 echo "${ECHO_T}no" >&6; }
6783 if test "x$ac_ct_RANLIB" = x
; then
6786 case $cross_compiling:$ac_tool_warned in
6788 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6789 whose name does not start with the host triplet. If you think this
6790 configuration is useful to you, please write to autoconf@gnu.org." >&5
6791 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6792 whose name does not start with the host triplet. If you think this
6793 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6794 ac_tool_warned
=yes ;;
6796 RANLIB
=$ac_ct_RANLIB
6799 RANLIB
="$ac_cv_prog_RANLIB"
6802 if test -n "$ac_tool_prefix"; then
6803 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6804 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6807 if test "${ac_cv_prog_STRIP+set}" = set; then
6808 echo $ECHO_N "(cached) $ECHO_C" >&6
6810 if test -n "$STRIP"; then
6811 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6817 test -z "$as_dir" && as_dir
=.
6818 for ac_exec_ext
in '' $ac_executable_extensions; do
6819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6820 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6830 STRIP
=$ac_cv_prog_STRIP
6831 if test -n "$STRIP"; then
6832 { echo "$as_me:$LINENO: result: $STRIP" >&5
6833 echo "${ECHO_T}$STRIP" >&6; }
6835 { echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6; }
6841 if test -z "$ac_cv_prog_STRIP"; then
6843 # Extract the first word of "strip", so it can be a program name with args.
6844 set dummy strip
; ac_word
=$2
6845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6847 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6848 echo $ECHO_N "(cached) $ECHO_C" >&6
6850 if test -n "$ac_ct_STRIP"; then
6851 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6857 test -z "$as_dir" && as_dir
=.
6858 for ac_exec_ext
in '' $ac_executable_extensions; do
6859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6860 ac_cv_prog_ac_ct_STRIP
="strip"
6861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6870 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6871 if test -n "$ac_ct_STRIP"; then
6872 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6873 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6875 { echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6; }
6879 if test "x$ac_ct_STRIP" = x
; then
6882 case $cross_compiling:$ac_tool_warned in
6884 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6885 whose name does not start with the host triplet. If you think this
6886 configuration is useful to you, please write to autoconf@gnu.org." >&5
6887 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6888 whose name does not start with the host triplet. If you think this
6889 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6890 ac_tool_warned
=yes ;;
6895 STRIP
="$ac_cv_prog_STRIP"
6900 old_CFLAGS
="$CFLAGS"
6902 # Set sane defaults for various variables
6903 test -z "$AR" && AR
=ar
6904 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6905 test -z "$AS" && AS
=as
6906 test -z "$CC" && CC
=cc
6907 test -z "$LTCC" && LTCC
=$CC
6908 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6909 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6910 test -z "$LD" && LD
=ld
6911 test -z "$LN_S" && LN_S
="ln -s"
6912 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6913 test -z "$NM" && NM
=nm
6914 test -z "$SED" && SED
=sed
6915 test -z "$OBJDUMP" && OBJDUMP
=objdump
6916 test -z "$RANLIB" && RANLIB
=:
6917 test -z "$STRIP" && STRIP
=:
6918 test -z "$ac_objext" && ac_objext
=o
6920 # Determine commands to create old-style static archives.
6921 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6922 old_postinstall_cmds
='chmod 644 $oldlib'
6923 old_postuninstall_cmds
=
6925 if test -n "$RANLIB"; then
6928 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6931 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6934 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6937 for cc_temp
in $compiler""; do
6939 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6940 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6945 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6948 # Only perform the check for file, if the check method requires it
6949 case $deplibs_check_method in
6951 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6952 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6953 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6954 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6955 echo $ECHO_N "(cached) $ECHO_C" >&6
6959 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6962 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6963 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6964 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6965 for ac_dir
in $ac_dummy; do
6967 test -z "$ac_dir" && ac_dir
=.
6968 if test -f $ac_dir/${ac_tool_prefix}file; then
6969 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6970 if test -n "$file_magic_test_file"; then
6971 case $deplibs_check_method in
6973 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6974 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6975 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6976 $EGREP "$file_magic_regex" > /dev
/null
; then
6981 *** Warning: the command libtool uses to detect shared libraries,
6982 *** $file_magic_cmd, produces output that libtool cannot recognize.
6983 *** The result is that libtool may fail to recognize shared libraries
6984 *** as such. This will affect the creation of libtool libraries that
6985 *** depend on shared libraries, but programs linked with such libtool
6986 *** libraries will work regardless of this problem. Nevertheless, you
6987 *** may want to report the problem to your system manager and/or to
6988 *** bug-libtool@gnu.org
6998 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7003 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7004 if test -n "$MAGIC_CMD"; then
7005 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7006 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7008 { echo "$as_me:$LINENO: result: no" >&5
7009 echo "${ECHO_T}no" >&6; }
7012 if test -z "$lt_cv_path_MAGIC_CMD"; then
7013 if test -n "$ac_tool_prefix"; then
7014 { echo "$as_me:$LINENO: checking for file" >&5
7015 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7016 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7017 echo $ECHO_N "(cached) $ECHO_C" >&6
7021 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7024 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7025 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7026 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7027 for ac_dir
in $ac_dummy; do
7029 test -z "$ac_dir" && ac_dir
=.
7030 if test -f $ac_dir/file; then
7031 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7032 if test -n "$file_magic_test_file"; then
7033 case $deplibs_check_method in
7035 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7036 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7037 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7038 $EGREP "$file_magic_regex" > /dev
/null
; then
7043 *** Warning: the command libtool uses to detect shared libraries,
7044 *** $file_magic_cmd, produces output that libtool cannot recognize.
7045 *** The result is that libtool may fail to recognize shared libraries
7046 *** as such. This will affect the creation of libtool libraries that
7047 *** depend on shared libraries, but programs linked with such libtool
7048 *** libraries will work regardless of this problem. Nevertheless, you
7049 *** may want to report the problem to your system manager and/or to
7050 *** bug-libtool@gnu.org
7060 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7065 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7066 if test -n "$MAGIC_CMD"; then
7067 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7068 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7070 { echo "$as_me:$LINENO: result: no" >&5
7071 echo "${ECHO_T}no" >&6; }
7086 # Check whether --enable-libtool-lock was given.
7087 if test "${enable_libtool_lock+set}" = set; then
7088 enableval
=$enable_libtool_lock;
7091 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7094 # Check whether --with-pic was given.
7095 if test "${with_pic+set}" = set; then
7096 withval
=$with_pic; pic_mode
="$withval"
7101 test -z "$pic_mode" && pic_mode
=default
7103 # Use C for the default configuration in the libtool script
7107 ac_cpp
='$CPP $CPPFLAGS'
7108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7113 # Source file extension for C test sources.
7116 # Object file extension for compiled C test sources.
7120 # Code to be used in simple compile tests
7121 lt_simple_compile_test_code
="int some_variable = 0;"
7123 # Code to be used in simple link tests
7124 lt_simple_link_test_code
='int main(){return(0);}'
7127 # If no C compiler was specified, use CC.
7130 # If no C compiler flags were specified, use CFLAGS.
7131 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7133 # Allow CC to be a program name with arguments.
7137 # save warnings/boilerplate of simple test code
7138 ac_outfile
=conftest.
$ac_objext
7139 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7140 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7141 _lt_compiler_boilerplate
=`cat conftest.err`
7144 ac_outfile
=conftest.
$ac_objext
7145 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7146 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7147 _lt_linker_boilerplate
=`cat conftest.err`
7152 lt_prog_compiler_no_builtin_flag
=
7154 if test "$GCC" = yes; then
7155 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7158 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7159 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7160 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7161 echo $ECHO_N "(cached) $ECHO_C" >&6
7163 lt_cv_prog_compiler_rtti_exceptions
=no
7164 ac_outfile
=conftest.
$ac_objext
7165 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7166 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7167 # Insert the option either (1) after the last *FLAGS variable, or
7168 # (2) before a word containing "conftest.", or (3) at the end.
7169 # Note that $ac_compile itself does not contain backslashes and begins
7170 # with a dollar sign (not a hyphen), so the echo should work correctly.
7171 # The option is referenced via a variable to avoid confusing sed.
7172 lt_compile
=`echo "$ac_compile" | $SED \
7173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7175 -e 's:$: $lt_compiler_flag:'`
7176 (eval echo "\"\$as_me:7176: $lt_compile\"" >&5)
7177 (eval "$lt_compile" 2>conftest.err
)
7179 cat conftest.err
>&5
7180 echo "$as_me:7180: \$? = $ac_status" >&5
7181 if (exit $ac_status) && test -s "$ac_outfile"; then
7182 # The compiler can only warn and ignore the option if not recognized
7183 # So say no if there are warnings other than the usual output.
7184 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7185 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7186 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7187 lt_cv_prog_compiler_rtti_exceptions
=yes
7193 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7194 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7196 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7197 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7204 lt_prog_compiler_wl
=
7205 lt_prog_compiler_pic
=
7206 lt_prog_compiler_static
=
7208 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7209 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7211 if test "$GCC" = yes; then
7212 lt_prog_compiler_wl
='-Wl,'
7213 lt_prog_compiler_static
='-static'
7217 # All AIX code is PIC.
7218 if test "$host_cpu" = ia64
; then
7219 # AIX 5 now supports IA64 processor
7220 lt_prog_compiler_static
='-Bstatic'
7225 # FIXME: we need at least 68020 code to build shared libraries, but
7226 # adding the `-m68020' flag to GCC prevents building anything better,
7228 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7231 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7232 # PIC is the default for these OSes.
7235 mingw
* | cygwin
* | pw32
* | os2
*)
7236 # This hack is so that the source file can tell whether it is being
7237 # built for inclusion in a dll (and should export symbols for example).
7238 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7239 # (--disable-auto-import) libraries
7240 lt_prog_compiler_pic
='-DDLL_EXPORT'
7243 darwin
* | rhapsody
*)
7244 # PIC is the default on this platform
7245 # Common symbols not allowed in MH_DYLIB files
7246 lt_prog_compiler_pic
='-fno-common'
7250 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7251 # Instead, we relocate shared libraries at runtime.
7255 # Just because we use GCC doesn't mean we suddenly get shared libraries
7256 # on systems that don't support them.
7257 lt_prog_compiler_can_build_shared
=no
7262 if test -d /usr
/nec
; then
7263 lt_prog_compiler_pic
=-Kconform_pic
7268 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7275 lt_prog_compiler_pic
='-fPIC'
7281 lt_prog_compiler_pic
='-fPIC'
7285 # PORTME Check for flag to pass linker flags through the system compiler.
7288 lt_prog_compiler_wl
='-Wl,'
7289 if test "$host_cpu" = ia64
; then
7290 # AIX 5 now supports IA64 processor
7291 lt_prog_compiler_static
='-Bstatic'
7293 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7297 # PIC is the default on this platform
7298 # Common symbols not allowed in MH_DYLIB files
7299 case $cc_basename in
7301 lt_prog_compiler_pic
='-qnocommon'
7302 lt_prog_compiler_wl
='-Wl,'
7307 mingw
* | cygwin
* | pw32
* | os2
*)
7308 # This hack is so that the source file can tell whether it is being
7309 # built for inclusion in a dll (and should export symbols for example).
7310 lt_prog_compiler_pic
='-DDLL_EXPORT'
7313 hpux9
* | hpux10
* | hpux11
*)
7314 lt_prog_compiler_wl
='-Wl,'
7315 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7322 lt_prog_compiler_pic
='+Z'
7325 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7326 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7329 irix5
* | irix6
* | nonstopux
*)
7330 lt_prog_compiler_wl
='-Wl,'
7331 # PIC (with -KPIC) is the default.
7332 lt_prog_compiler_static
='-non_shared'
7336 lt_prog_compiler_pic
='-KPIC'
7337 lt_prog_compiler_static
='-Bstatic'
7340 linux
* | k
*bsd
*-gnu)
7341 case $cc_basename in
7343 lt_prog_compiler_wl
='-Wl,'
7344 lt_prog_compiler_pic
='-KPIC'
7345 lt_prog_compiler_static
='-static'
7347 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7348 # Portland Group compilers (*not* the Pentium gcc compiler,
7349 # which looks to be a dead project)
7350 lt_prog_compiler_wl
='-Wl,'
7351 lt_prog_compiler_pic
='-fpic'
7352 lt_prog_compiler_static
='-Bstatic'
7355 lt_prog_compiler_wl
='-Wl,'
7356 # All Alpha code is PIC.
7357 lt_prog_compiler_static
='-non_shared'
7360 case `$CC -V 2>&1 | sed 5q` in
7363 lt_prog_compiler_pic
='-KPIC'
7364 lt_prog_compiler_static
='-Bstatic'
7365 lt_prog_compiler_wl
='-Wl,'
7368 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7369 lt_prog_compiler_pic
='-KPIC'
7370 lt_prog_compiler_static
='-Bstatic'
7371 lt_prog_compiler_wl
=''
7378 osf3
* | osf4
* | osf5
*)
7379 lt_prog_compiler_wl
='-Wl,'
7380 # All OSF/1 code is PIC.
7381 lt_prog_compiler_static
='-non_shared'
7385 lt_prog_compiler_static
='-non_shared'
7389 lt_prog_compiler_pic
='-KPIC'
7390 lt_prog_compiler_static
='-Bstatic'
7391 case $cc_basename in
7393 lt_prog_compiler_wl
='-Qoption ld ';;
7395 lt_prog_compiler_wl
='-Wl,';;
7400 lt_prog_compiler_wl
='-Qoption ld '
7401 lt_prog_compiler_pic
='-PIC'
7402 lt_prog_compiler_static
='-Bstatic'
7405 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7406 lt_prog_compiler_wl
='-Wl,'
7407 lt_prog_compiler_pic
='-KPIC'
7408 lt_prog_compiler_static
='-Bstatic'
7412 if test -d /usr
/nec
;then
7413 lt_prog_compiler_pic
='-Kconform_pic'
7414 lt_prog_compiler_static
='-Bstatic'
7418 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7419 lt_prog_compiler_wl
='-Wl,'
7420 lt_prog_compiler_pic
='-KPIC'
7421 lt_prog_compiler_static
='-Bstatic'
7425 lt_prog_compiler_wl
='-Wl,'
7426 lt_prog_compiler_can_build_shared
=no
7430 lt_prog_compiler_pic
='-pic'
7431 lt_prog_compiler_static
='-Bstatic'
7435 lt_prog_compiler_can_build_shared
=no
7440 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7441 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7444 # Check to make sure the PIC flag actually works.
7446 if test -n "$lt_prog_compiler_pic"; then
7448 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7449 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7450 if test "${lt_prog_compiler_pic_works+set}" = set; then
7451 echo $ECHO_N "(cached) $ECHO_C" >&6
7453 lt_prog_compiler_pic_works
=no
7454 ac_outfile
=conftest.
$ac_objext
7455 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7456 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7457 # Insert the option either (1) after the last *FLAGS variable, or
7458 # (2) before a word containing "conftest.", or (3) at the end.
7459 # Note that $ac_compile itself does not contain backslashes and begins
7460 # with a dollar sign (not a hyphen), so the echo should work correctly.
7461 # The option is referenced via a variable to avoid confusing sed.
7462 lt_compile
=`echo "$ac_compile" | $SED \
7463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7465 -e 's:$: $lt_compiler_flag:'`
7466 (eval echo "\"\$as_me:7466: $lt_compile\"" >&5)
7467 (eval "$lt_compile" 2>conftest.err
)
7469 cat conftest.err
>&5
7470 echo "$as_me:7470: \$? = $ac_status" >&5
7471 if (exit $ac_status) && test -s "$ac_outfile"; then
7472 # The compiler can only warn and ignore the option if not recognized
7473 # So say no if there are warnings other than the usual output.
7474 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7475 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7476 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7477 lt_prog_compiler_pic_works
=yes
7483 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7484 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7486 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7487 case $lt_prog_compiler_pic in
7489 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7492 lt_prog_compiler_pic
=
7493 lt_prog_compiler_can_build_shared
=no
7498 # For platforms which do not support PIC, -DPIC is meaningless:
7500 lt_prog_compiler_pic
=
7503 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7508 # Check to make sure the static flag actually works.
7510 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7511 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7512 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7513 if test "${lt_prog_compiler_static_works+set}" = set; then
7514 echo $ECHO_N "(cached) $ECHO_C" >&6
7516 lt_prog_compiler_static_works
=no
7517 save_LDFLAGS
="$LDFLAGS"
7518 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7519 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7520 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7521 # The linker can only warn and ignore the option if not recognized
7522 # So say no if there are warnings
7523 if test -s conftest.err
; then
7524 # Append any errors to the config.log.
7525 cat conftest.err
1>&5
7526 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7527 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7528 if diff conftest.exp conftest.er2
>/dev
/null
; then
7529 lt_prog_compiler_static_works
=yes
7532 lt_prog_compiler_static_works
=yes
7536 LDFLAGS
="$save_LDFLAGS"
7539 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7540 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7542 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7545 lt_prog_compiler_static
=
7549 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7550 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7551 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7552 echo $ECHO_N "(cached) $ECHO_C" >&6
7554 lt_cv_prog_compiler_c_o
=no
7555 $rm -r conftest
2>/dev
/null
7559 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7561 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7562 # Insert the option either (1) after the last *FLAGS variable, or
7563 # (2) before a word containing "conftest.", or (3) at the end.
7564 # Note that $ac_compile itself does not contain backslashes and begins
7565 # with a dollar sign (not a hyphen), so the echo should work correctly.
7566 lt_compile
=`echo "$ac_compile" | $SED \
7567 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7568 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7569 -e 's:$: $lt_compiler_flag:'`
7570 (eval echo "\"\$as_me:7570: $lt_compile\"" >&5)
7571 (eval "$lt_compile" 2>out
/conftest.err
)
7573 cat out
/conftest.err
>&5
7574 echo "$as_me:7574: \$? = $ac_status" >&5
7575 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7577 # The compiler can only warn and ignore the option if not recognized
7578 # So say no if there are warnings
7579 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7580 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7581 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7582 lt_cv_prog_compiler_c_o
=yes
7587 # SGI C++ compiler will create directory out/ii_files/ for
7588 # template instantiation
7589 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7590 $rm out
/* && rmdir out
7596 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7597 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7600 hard_links
="nottested"
7601 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7602 # do not overwrite the value of need_locks provided by the user
7603 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7604 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7607 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7609 ln conftest.a conftest.b
2>&5 || hard_links
=no
7610 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7611 { echo "$as_me:$LINENO: result: $hard_links" >&5
7612 echo "${ECHO_T}$hard_links" >&6; }
7613 if test "$hard_links" = no
; then
7614 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7615 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7622 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7623 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7626 allow_undefined_flag
=
7627 enable_shared_with_static_runtimes
=no
7629 archive_expsym_cmds
=
7630 old_archive_From_new_cmds
=
7631 old_archive_from_expsyms_cmds
=
7632 export_dynamic_flag_spec
=
7633 whole_archive_flag_spec
=
7634 thread_safe_flag_spec
=
7635 hardcode_libdir_flag_spec
=
7636 hardcode_libdir_flag_spec_ld
=
7637 hardcode_libdir_separator
=
7640 hardcode_shlibpath_var
=unsupported
7641 link_all_deplibs
=unknown
7642 hardcode_automatic
=no
7645 always_export_symbols
=no
7646 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7647 # include_expsyms should be a list of space-separated symbols to be *always*
7648 # included in the symbol list
7650 # exclude_expsyms can be an extended regexp of symbols to exclude
7651 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7652 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7653 # as well as any symbol that contains `d'.
7654 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7655 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7656 # platforms (ab)use it in PIC code, but their linkers get confused if
7657 # the symbol is explicitly referenced. Since portable code cannot
7658 # rely on this symbol name, it's probably fine to never include it in
7659 # preloaded symbol tables.
7660 extract_expsyms_cmds
=
7661 # Just being paranoid about ensuring that cc_basename is set.
7662 for cc_temp
in $compiler""; do
7664 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7665 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7670 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7673 cygwin
* | mingw
* | pw32
*)
7674 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7675 # When not using gcc, we currently assume that we are using
7676 # Microsoft Visual C++.
7677 if test "$GCC" != yes; then
7682 # we just hope/assume this is gcc and not c89 (= MSVC++)
7691 if test "$with_gnu_ld" = yes; then
7692 # If archive_cmds runs LD, not CC, wlarc should be empty
7695 # Set some defaults for GNU ld with shared library support. These
7696 # are reset later if shared libraries are not supported. Putting them
7697 # here allows them to be overridden if necessary.
7698 runpath_var
=LD_RUN_PATH
7699 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7700 export_dynamic_flag_spec
='${wl}--export-dynamic'
7701 # ancient GNU ld didn't support --whole-archive et. al.
7702 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7703 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7705 whole_archive_flag_spec
=
7707 supports_anon_versioning
=no
7708 case `$LD -v 2>/dev/null` in
7709 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7710 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7711 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7712 *\
2.11.
*) ;; # other 2.11 versions
7713 *) supports_anon_versioning
=yes ;;
7716 # See if GNU ld supports shared libraries.
7718 aix3
* | aix4
* | aix5
*)
7719 # On AIX/PPC, the GNU linker is very broken
7720 if test "$host_cpu" != ia64
; then
7724 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7725 *** to be unable to reliably create shared libraries on AIX.
7726 *** Therefore, libtool is disabling shared libraries support. If you
7727 *** really care for shared libraries, you may want to modify your PATH
7728 *** so that a non-GNU linker is found, and then restart.
7735 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)'
7736 hardcode_libdir_flag_spec
='-L$libdir'
7737 hardcode_minus_L
=yes
7739 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7740 # that the semantics of dynamic libraries on AmigaOS, at least up
7741 # to version 4, is to share data among multiple programs linked
7742 # with the same dynamic library. Since this doesn't match the
7743 # behavior of shared libraries on other platforms, we can't use
7749 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7750 allow_undefined_flag
=unsupported
7751 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7752 # support --undefined. This deserves some investigation. FIXME
7753 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7759 cygwin
* | mingw
* | pw32
*)
7760 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7761 # as there is no search path for DLLs.
7762 hardcode_libdir_flag_spec
='-L$libdir'
7763 allow_undefined_flag
=unsupported
7764 always_export_symbols
=no
7765 enable_shared_with_static_runtimes
=yes
7766 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7768 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7769 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7770 # If the export-symbols file already is a .def file (1st line
7771 # is EXPORTS), use it as is; otherwise, prepend...
7772 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7773 cp $export_symbols $output_objdir/$soname.def;
7775 echo EXPORTS > $output_objdir/$soname.def;
7776 cat $export_symbols >> $output_objdir/$soname.def;
7778 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7786 hardcode_shlibpath_var
=no
7787 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7788 export_dynamic_flag_spec
='${wl}-E'
7789 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7790 # Instead, shared libraries are loaded at an image base (0x10000000 by
7791 # default) and relocated if they conflict, which is a slow very memory
7792 # consuming and fragmenting process. To avoid this, we pick a random,
7793 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7794 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7795 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7796 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'
7799 gnu
* | linux
* | k
*bsd
*-gnu)
7800 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7802 case $cc_basename,$host_cpu in
7803 pgcc
*) # Portland Group C compiler
7804 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'
7805 tmp_addflag
=' $pic_flag'
7807 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7808 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'
7809 tmp_addflag
=' $pic_flag -Mnomain' ;;
7810 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7811 tmp_addflag
=' -i_dynamic' ;;
7812 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7813 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7814 ifc
* | ifort
*) # Intel Fortran compiler
7815 tmp_addflag
=' -nofor_main' ;;
7817 case `$CC -V 2>&1 | sed 5q` in
7818 *Sun\ C
*) # Sun C 5.9
7819 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7820 tmp_sharedflag
='-G' ;;
7821 *Sun\ F
*) # Sun Fortran 8.3
7822 tmp_sharedflag
='-G' ;;
7824 tmp_sharedflag
='-shared' ;;
7826 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7828 if test $supports_anon_versioning = yes; then
7829 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7830 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7831 $echo "local: *; };" >> $output_objdir/$libname.ver~
7832 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7840 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7841 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7844 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7845 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7850 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7854 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7855 *** create shared libraries on Solaris systems. Therefore, libtool
7856 *** is disabling shared libraries support. We urge you to upgrade GNU
7857 *** binutils to release 2.9.1 or newer. Another option is to modify
7858 *** your PATH or compiler configuration so that the native linker is
7859 *** used, and then restart.
7862 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7863 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7864 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7870 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7871 case `$LD -v 2>&1` in
7872 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7876 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7877 *** reliably create shared libraries on SCO systems. Therefore, libtool
7878 *** is disabling shared libraries support. We urge you to upgrade GNU
7879 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7880 *** your PATH or compiler configuration so that the native linker is
7881 *** used, and then restart.
7886 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7887 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7888 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7889 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7898 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7901 hardcode_shlibpath_var
=no
7905 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7906 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7907 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7914 if test "$ld_shlibs" = no
; then
7916 hardcode_libdir_flag_spec
=
7917 export_dynamic_flag_spec
=
7918 whole_archive_flag_spec
=
7921 # PORTME fill in a description of your system's linker (not GNU ld)
7924 allow_undefined_flag
=unsupported
7925 always_export_symbols
=yes
7926 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'
7927 # Note: this linker hardcodes the directories in LIBPATH if there
7928 # are no directories specified by -L.
7929 hardcode_minus_L
=yes
7930 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7931 # Neither direct hardcoding nor static linking is supported with a
7933 hardcode_direct
=unsupported
7938 if test "$host_cpu" = ia64
; then
7939 # On IA64, the linker does run time linking by default, so we don't
7940 # have to do anything special.
7941 aix_use_runtimelinking
=no
7942 exp_sym_flag
='-Bexport'
7945 # If we're using GNU nm, then we don't want the "-C" option.
7946 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7947 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7948 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'
7950 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'
7952 aix_use_runtimelinking
=no
7954 # Test if we are trying to use run time linking or normal
7955 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7956 # need to do runtime linking.
7957 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7958 for ld_flag
in $LDFLAGS; do
7959 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7960 aix_use_runtimelinking
=yes
7967 exp_sym_flag
='-bexport'
7968 no_entry_flag
='-bnoentry'
7971 # When large executables or shared objects are built, AIX ld can
7972 # have problems creating the table of contents. If linking a library
7973 # or program results in "error TOC overflow" add -mminimal-toc to
7974 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7975 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7979 hardcode_libdir_separator
=':'
7980 link_all_deplibs
=yes
7982 if test "$GCC" = yes; then
7983 case $host_os in aix4.
[012]|aix4.
[012].
*)
7984 # We only want to do this on AIX 4.2 and lower, the check
7985 # below for broken collect2 doesn't work under 4.3+
7986 collect2name
=`${CC} -print-prog-name=collect2`
7987 if test -f "$collect2name" && \
7988 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7990 # We have reworked collect2
7993 # We have old collect2
7994 hardcode_direct
=unsupported
7995 # It fails to find uninstalled libraries when the uninstalled
7996 # path is not listed in the libpath. Setting hardcode_minus_L
7997 # to unsupported forces relinking
7998 hardcode_minus_L
=yes
7999 hardcode_libdir_flag_spec
='-L$libdir'
8000 hardcode_libdir_separator
=
8004 shared_flag
='-shared'
8005 if test "$aix_use_runtimelinking" = yes; then
8006 shared_flag
="$shared_flag "'${wl}-G'
8010 if test "$host_cpu" = ia64
; then
8011 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8012 # chokes on -Wl,-G. The following line is correct:
8015 if test "$aix_use_runtimelinking" = yes; then
8016 shared_flag
='${wl}-G'
8018 shared_flag
='${wl}-bM:SRE'
8023 # It seems that -bexpall does not export symbols beginning with
8024 # underscore (_), so it is better to generate a list of symbols to export.
8025 always_export_symbols
=yes
8026 if test "$aix_use_runtimelinking" = yes; then
8027 # Warning - without using the other runtime loading flags (-brtl),
8028 # -berok will link without error, but may produce a broken library.
8029 allow_undefined_flag
='-berok'
8030 # Determine the default libpath from the value encoded in an empty executable.
8031 cat >conftest.
$ac_ext <<_ACEOF
8034 cat confdefs.h
>>conftest.
$ac_ext
8035 cat >>conftest.
$ac_ext <<_ACEOF
8036 /* end confdefs.h. */
8046 rm -f conftest.
$ac_objext conftest
$ac_exeext
8047 if { (ac_try
="$ac_link"
8049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8050 *) ac_try_echo=$ac_try;;
8052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8053 (eval "$ac_link") 2>conftest.er1
8055 grep -v '^ *+' conftest.er1 >conftest.err
8057 cat conftest.err >&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); } && {
8060 test -z "$ac_c_werror_flag" ||
8061 test ! -s conftest.err
8062 } && test -s conftest$ac_exeext &&
8063 $as_test_x conftest$ac_exeext; then
8065 lt_aix_libpath_sed='
8066 /Import File Strings/,/^$/ {
8072 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8073 # Check for a 64-bit object if we didn't find anything.
8074 if test -z "$aix_libpath"; then
8075 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8078 echo "$as_me: failed program was:" >&5
8079 sed 's/^/| /' conftest.$ac_ext >&5
8084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8085 conftest$ac_exeext conftest.$ac_ext
8086 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8088 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8089 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"
8091 if test "$host_cpu" = ia64; then
8092 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8093 allow_undefined_flag="-z nodefs"
8094 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"
8096 # Determine the default libpath from the value encoded in an empty executable.
8097 cat >conftest.$ac_ext <<_ACEOF
8100 cat confdefs.h >>conftest.$ac_ext
8101 cat >>conftest.$ac_ext <<_ACEOF
8102 /* end confdefs.h. */
8112 rm -f conftest.$ac_objext conftest$ac_exeext
8113 if { (ac_try="$ac_link"
8115 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8116 *) ac_try_echo
=$ac_try;;
8118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8119 (eval "$ac_link") 2>conftest.er1
8121 grep -v '^ *+' conftest.er1
>conftest.err
8123 cat conftest.err
>&5
8124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 (exit $ac_status); } && {
8126 test -z "$ac_c_werror_flag" ||
8127 test ! -s conftest.err
8128 } && test -s conftest
$ac_exeext &&
8129 $as_test_x conftest
$ac_exeext; then
8131 lt_aix_libpath_sed
='
8132 /Import File Strings/,/^$/ {
8138 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8139 # Check for a 64-bit object if we didn't find anything.
8140 if test -z "$aix_libpath"; then
8141 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
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` $xlcverstring'
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 $xlcverstring~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
* | 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
8403 if test -f /usr
/libexec
/ld.so
; then
8405 hardcode_shlibpath_var
=no
8406 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8407 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8408 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8409 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8410 export_dynamic_flag_spec
='${wl}-E'
8413 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8414 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8415 hardcode_libdir_flag_spec
='-R$libdir'
8418 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8419 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8429 hardcode_libdir_flag_spec
='-L$libdir'
8430 hardcode_minus_L
=yes
8431 allow_undefined_flag
=unsupported
8432 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'
8433 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8437 if test "$GCC" = yes; then
8438 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8439 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'
8441 allow_undefined_flag
=' -expect_unresolved \*'
8442 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'
8444 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8445 hardcode_libdir_separator
=:
8448 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8449 if test "$GCC" = yes; then
8450 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8451 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'
8452 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8454 allow_undefined_flag
=' -expect_unresolved \*'
8455 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'
8456 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8457 $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'
8459 # Both c and cxx compiler support -rpath directly
8460 hardcode_libdir_flag_spec
='-rpath $libdir'
8462 hardcode_libdir_separator
=:
8466 no_undefined_flag
=' -z text'
8467 if test "$GCC" = yes; then
8469 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8470 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8471 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8474 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8475 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8476 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8478 hardcode_libdir_flag_spec
='-R$libdir'
8479 hardcode_shlibpath_var
=no
8481 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8483 # The compiler driver will combine and reorder linker options,
8484 # but understands `-z linker_flag'. GCC discards it without `$wl',
8485 # but is careful enough not to reorder.
8486 # Supported since Solaris 2.6 (maybe 2.5.1?)
8487 if test "$GCC" = yes; then
8488 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8490 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8494 link_all_deplibs
=yes
8498 if test "x$host_vendor" = xsequent
; then
8499 # Use $CC to link under sequent, because it throws in some extra .o
8500 # files that make .init and .fini sections work.
8501 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8503 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8505 hardcode_libdir_flag_spec
='-L$libdir'
8507 hardcode_minus_L
=yes
8508 hardcode_shlibpath_var
=no
8512 case $host_vendor in
8514 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8515 hardcode_direct
=yes # is this really true???
8518 ## LD is ld it makes a PLAMLIB
8519 ## CC just makes a GrossModule.
8520 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8521 reload_cmds
='$CC -r -o $output$reload_objs'
8525 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8526 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8529 runpath_var
='LD_RUN_PATH'
8530 hardcode_shlibpath_var
=no
8534 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8535 hardcode_shlibpath_var
=no
8536 export_dynamic_flag_spec
='-Bexport'
8540 if test -d /usr
/nec
; then
8541 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8542 hardcode_shlibpath_var
=no
8543 runpath_var
=LD_RUN_PATH
8544 hardcode_runpath_var
=yes
8549 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8550 no_undefined_flag
='${wl}-z,text'
8551 archive_cmds_need_lc
=no
8552 hardcode_shlibpath_var
=no
8553 runpath_var
='LD_RUN_PATH'
8555 if test "$GCC" = yes; then
8556 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8557 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8559 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8560 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8564 sysv5
* | sco3.2v5
* | sco5v6
*)
8565 # Note: We can NOT use -z defs as we might desire, because we do not
8566 # link with -lc, and that would cause any symbols used from libc to
8567 # always be unresolved, which means just about no library would
8568 # ever link correctly. If we're not using GNU ld we use -z text
8569 # though, which does catch some bad symbols but isn't as heavy-handed
8571 no_undefined_flag
='${wl}-z,text'
8572 allow_undefined_flag
='${wl}-z,nodefs'
8573 archive_cmds_need_lc
=no
8574 hardcode_shlibpath_var
=no
8575 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8576 hardcode_libdir_separator
=':'
8577 link_all_deplibs
=yes
8578 export_dynamic_flag_spec
='${wl}-Bexport'
8579 runpath_var
='LD_RUN_PATH'
8581 if test "$GCC" = yes; then
8582 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8583 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8585 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8586 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8591 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8592 hardcode_libdir_flag_spec
='-L$libdir'
8593 hardcode_shlibpath_var
=no
8602 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8603 echo "${ECHO_T}$ld_shlibs" >&6; }
8604 test "$ld_shlibs" = no
&& can_build_shared
=no
8607 # Do we need to explicitly link libc?
8609 case "x$archive_cmds_need_lc" in
8611 # Assume -lc should be added
8612 archive_cmds_need_lc
=yes
8614 if test "$enable_shared" = yes && test "$GCC" = yes; then
8615 case $archive_cmds in
8617 # FIXME: we may have to deal with multi-command sequences.
8620 # Test whether the compiler implicitly links with -lc since on some
8621 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8622 # to ld, don't add -lc before -lgcc.
8623 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8624 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8626 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8629 (eval $ac_compile) 2>&5
8631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 (exit $ac_status); } 2>conftest.err
; then
8635 libobjs
=conftest.
$ac_objext
8637 wl
=$lt_prog_compiler_wl
8638 pic_flag
=$lt_prog_compiler_pic
8644 lt_save_allow_undefined_flag
=$allow_undefined_flag
8645 allow_undefined_flag
=
8646 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8647 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8650 (exit $ac_status); }
8652 archive_cmds_need_lc
=no
8654 archive_cmds_need_lc
=yes
8656 allow_undefined_flag
=$lt_save_allow_undefined_flag
8658 cat conftest.err
1>&5
8661 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8662 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8669 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8670 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8672 libname_spec
='lib$name'
8680 shlibpath_overrides_runpath
=unknown
8682 dynamic_linker
="$host_os ld.so"
8683 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8685 if test "$GCC" = yes; then
8687 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8688 *) lt_awk_arg
="/^libraries:/" ;;
8690 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8691 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8692 # if the path contains ";" then we assume it to be the separator
8693 # otherwise default to the standard path separator (i.e. ":") - it is
8694 # assumed that no part of a normal pathname contains ";" but that should
8695 # okay in the real world where ";" in dirpaths is itself problematic.
8696 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8698 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8700 # Ok, now we have the path, separated by spaces, we can step through it
8701 # and add multilib dir if necessary.
8702 lt_tmp_lt_search_path_spec
=
8703 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8704 for lt_sys_path
in $lt_search_path_spec; do
8705 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8706 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8708 test -d "$lt_sys_path" && \
8709 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8712 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8713 BEGIN {RS=" "; FS="/|\n";} {
8716 for (lt_i = NF; lt_i > 0; lt_i--) {
8717 if ($lt_i != "" && $lt_i != ".") {
8718 if ($lt_i == "..") {
8721 if (lt_count == 0) {
8722 lt_foo="/" $lt_i lt_foo;
8729 if (lt_foo != "") { lt_freq[lt_foo]++; }
8730 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8732 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8734 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8736 need_lib_prefix
=unknown
8737 hardcode_into_libs
=no
8739 # when you set need_version to no, make sure it does not cause -set_version
8740 # flags to be left without arguments
8741 need_version
=unknown
8746 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8747 shlibpath_var
=LIBPATH
8749 # AIX 3 has no versioning support, so we append a major version to the name.
8750 soname_spec
='${libname}${release}${shared_ext}$major'
8757 hardcode_into_libs
=yes
8758 if test "$host_cpu" = ia64
; then
8759 # AIX 5 supports IA64
8760 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8761 shlibpath_var
=LD_LIBRARY_PATH
8763 # With GCC up to 2.95.x, collect2 would create an import file
8764 # for dependence libraries. The import file would start with
8765 # the line `#! .'. This would cause the generated library to
8766 # depend on `.', always an invalid library. This was fixed in
8767 # development snapshots of GCC prior to 3.0.
8769 aix4 | aix4.
[01] | aix4.
[01].
*)
8770 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8772 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8779 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8780 # soname into executable. Probably we can add versioning support to
8781 # collect2, so additional links can be useful in future.
8782 if test "$aix_use_runtimelinking" = yes; then
8783 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8784 # instead of lib<name>.a to let people know that these are not
8785 # typical AIX shared libraries.
8786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8788 # We preserve .a as extension for shared libraries through AIX4.2
8789 # and later when we are not doing run time linking.
8790 library_names_spec
='${libname}${release}.a $libname.a'
8791 soname_spec
='${libname}${release}${shared_ext}$major'
8793 shlibpath_var
=LIBPATH
8798 library_names_spec
='$libname.ixlibrary $libname.a'
8799 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8800 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'
8804 library_names_spec
='${libname}${shared_ext}'
8805 dynamic_linker
="$host_os ld.so"
8806 shlibpath_var
=LIBRARY_PATH
8812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8813 soname_spec
='${libname}${release}${shared_ext}$major'
8814 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8815 shlibpath_var
=LD_LIBRARY_PATH
8816 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8817 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8818 # the default ld.so.conf also contains /usr/contrib/lib and
8819 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8820 # libtool to hard-code these into programs
8823 cygwin
* | mingw
* | pw32
*)
8824 version_type
=windows
8829 case $GCC,$host_os in
8830 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8831 library_names_spec
='$libname.dll.a'
8832 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8833 postinstall_cmds
='base_file=`basename \${file}`~
8834 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8835 dldir=$destdir/`dirname \$dlpath`~
8836 test -d \$dldir || mkdir -p \$dldir~
8837 $install_prog $dir/$dlname \$dldir/$dlname~
8838 chmod a+x \$dldir/$dlname'
8839 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8840 dlpath=$dir/\$dldll~
8842 shlibpath_overrides_runpath
=yes
8846 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8847 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8848 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8851 # MinGW DLLs use traditional 'lib' prefix
8852 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8853 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8854 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8855 # It is most probably a Windows format PATH printed by
8856 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8857 # path with ; separators, and with drive letters. We can handle the
8858 # drive letters (cygwin fileutils understands them), so leave them,
8859 # especially as we might pass files found there to a mingw objdump,
8860 # which wouldn't understand a cygwinified path. Ahh.
8861 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8863 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8867 # pw32 DLLs use 'pw' prefix rather than 'lib'
8868 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8874 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8877 dynamic_linker
='Win32 ld.exe'
8878 # FIXME: first we should search . and the directory the executable is in
8882 darwin
* | rhapsody
*)
8883 dynamic_linker
="$host_os dyld"
8887 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8888 soname_spec
='${libname}${release}${major}$shared_ext'
8889 shlibpath_overrides_runpath
=yes
8890 shlibpath_var
=DYLD_LIBRARY_PATH
8891 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8893 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8894 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8902 soname_spec
='${libname}${release}${shared_ext}$major'
8903 shlibpath_var
=LD_LIBRARY_PATH
8910 freebsd
* | dragonfly
*)
8911 # DragonFly does not have aout. When/if they implement a new
8912 # versioning mechanism, adjust this.
8913 if test -x /usr
/bin
/objformat
; then
8914 objformat
=`/usr/bin/objformat`
8917 freebsd
[123]*) objformat
=aout
;;
8921 version_type
=freebsd-
$objformat
8922 case $version_type in
8924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8929 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8933 shlibpath_var
=LD_LIBRARY_PATH
8936 shlibpath_overrides_runpath
=yes
8938 freebsd3.
[01]* | freebsdelf3.
[01]*)
8939 shlibpath_overrides_runpath
=yes
8940 hardcode_into_libs
=yes
8942 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8943 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8944 shlibpath_overrides_runpath
=no
8945 hardcode_into_libs
=yes
8947 *) # from 4.6 on, and DragonFly
8948 shlibpath_overrides_runpath
=yes
8949 hardcode_into_libs
=yes
8958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8959 soname_spec
='${libname}${release}${shared_ext}$major'
8960 shlibpath_var
=LD_LIBRARY_PATH
8961 hardcode_into_libs
=yes
8964 hpux9
* | hpux10
* | hpux11
*)
8965 # Give a soname corresponding to the major version so that dld.sl refuses to
8966 # link against other versions.
8973 hardcode_into_libs
=yes
8974 dynamic_linker
="$host_os dld.so"
8975 shlibpath_var
=LD_LIBRARY_PATH
8976 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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'
8979 if test "X$HPUX_IA64_MODE" = X32
; then
8980 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8982 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8984 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8988 hardcode_into_libs
=yes
8989 dynamic_linker
="$host_os dld.sl"
8990 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8991 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8993 soname_spec
='${libname}${release}${shared_ext}$major'
8994 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8995 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8999 dynamic_linker
="$host_os dld.sl"
9000 shlibpath_var
=SHLIB_PATH
9001 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9003 soname_spec
='${libname}${release}${shared_ext}$major'
9006 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9007 postinstall_cmds
='chmod 555 $lib'
9014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9015 soname_spec
='${libname}${release}${shared_ext}$major'
9016 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9017 shlibpath_var
=LD_LIBRARY_PATH
9018 shlibpath_overrides_runpath
=no
9019 hardcode_into_libs
=yes
9022 irix5
* | irix6
* | nonstopux
*)
9024 nonstopux
*) version_type
=nonstopux
;;
9026 if test "$lt_cv_prog_gnu_ld" = yes; then
9034 soname_spec
='${libname}${release}${shared_ext}$major'
9035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9037 irix5
* | nonstopux
*)
9041 case $LD in # libtool.m4 will add one of these switches to LD
9042 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9043 libsuff
= shlibsuff
= libmagic
=32-bit;;
9044 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9045 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9046 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9047 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9048 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9052 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9053 shlibpath_overrides_runpath
=no
9054 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9055 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9056 hardcode_into_libs
=yes
9059 # No shared lib support for Linux oldld, aout, or coff.
9060 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9064 # This must be Linux ELF.
9065 linux
* | k
*bsd
*-gnu)
9069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9070 soname_spec
='${libname}${release}${shared_ext}$major'
9071 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9072 shlibpath_var
=LD_LIBRARY_PATH
9073 shlibpath_overrides_runpath
=no
9074 # This implies no fast_install, which is unacceptable.
9075 # Some rework will be needed to allow for fast_install
9076 # before this can be enabled.
9077 hardcode_into_libs
=yes
9078 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9079 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9081 # Append ld.so.conf contents to the search path
9082 if test -f /etc
/ld.so.conf
; then
9083 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9084 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9087 # We used to test for /lib/ld.so.1 and disable shared libraries on
9088 # powerpc, because MkLinux only supported shared libraries with the
9089 # GNU dynamic linker. Since this was broken with cross compilers,
9090 # most powerpc-linux boxes support dynamic linking these days and
9091 # people can always --disable-shared, the test was removed, and we
9092 # assume the GNU/Linux dynamic linker is in use.
9093 dynamic_linker
='GNU/Linux ld.so'
9100 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9102 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9103 dynamic_linker
='NetBSD (a.out) ld.so'
9105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9106 soname_spec
='${libname}${release}${shared_ext}$major'
9107 dynamic_linker
='NetBSD ld.elf_so'
9109 shlibpath_var
=LD_LIBRARY_PATH
9110 shlibpath_overrides_runpath
=yes
9111 hardcode_into_libs
=yes
9116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9117 shlibpath_var
=LD_LIBRARY_PATH
9118 shlibpath_overrides_runpath
=yes
9125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9126 soname_spec
='${libname}${release}${shared_ext}$major'
9127 shlibpath_var
=LD_LIBRARY_PATH
9128 shlibpath_overrides_runpath
=yes
9133 sys_lib_dlsearch_path_spec
="/usr/lib"
9135 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9137 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9138 *) need_version
=no
;;
9140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9141 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9142 shlibpath_var
=LD_LIBRARY_PATH
9143 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9145 openbsd2.
[89] | openbsd2.
[89].
*)
9146 shlibpath_overrides_runpath
=no
9149 shlibpath_overrides_runpath
=yes
9153 shlibpath_overrides_runpath
=yes
9158 libname_spec
='$name'
9161 library_names_spec
='$libname${shared_ext} $libname.a'
9162 dynamic_linker
='OS/2 ld.exe'
9163 shlibpath_var
=LIBPATH
9166 osf3
* | osf4
* | osf5
*)
9170 soname_spec
='${libname}${release}${shared_ext}$major'
9171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9172 shlibpath_var
=LD_LIBRARY_PATH
9173 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9174 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9186 soname_spec
='${libname}${release}${shared_ext}$major'
9187 shlibpath_var
=LD_LIBRARY_PATH
9188 shlibpath_overrides_runpath
=yes
9189 hardcode_into_libs
=yes
9190 # ldd complains unless libraries are executable
9191 postinstall_cmds
='chmod +x $lib'
9196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9197 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9198 shlibpath_var
=LD_LIBRARY_PATH
9199 shlibpath_overrides_runpath
=yes
9200 if test "$with_gnu_ld" = yes; then
9208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9209 soname_spec
='${libname}${release}${shared_ext}$major'
9210 shlibpath_var
=LD_LIBRARY_PATH
9211 case $host_vendor in
9213 shlibpath_overrides_runpath
=no
9215 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9216 runpath_var
=LD_RUN_PATH
9224 shlibpath_overrides_runpath
=no
9225 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9231 if test -d /usr
/nec
;then
9233 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9234 soname_spec
='$libname${shared_ext}.$major'
9235 shlibpath_var
=LD_LIBRARY_PATH
9239 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9240 version_type
=freebsd-elf
9243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9244 soname_spec
='${libname}${release}${shared_ext}$major'
9245 shlibpath_var
=LD_LIBRARY_PATH
9246 hardcode_into_libs
=yes
9247 if test "$with_gnu_ld" = yes; then
9248 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9249 shlibpath_overrides_runpath
=no
9251 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9252 shlibpath_overrides_runpath
=yes
9255 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9259 sys_lib_dlsearch_path_spec
='/usr/lib'
9264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9265 soname_spec
='${libname}${release}${shared_ext}$major'
9266 shlibpath_var
=LD_LIBRARY_PATH
9273 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9274 echo "${ECHO_T}$dynamic_linker" >&6; }
9275 test "$dynamic_linker" = no
&& can_build_shared
=no
9277 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9278 if test "$GCC" = yes; then
9279 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9282 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9283 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9285 if test -n "$hardcode_libdir_flag_spec" || \
9286 test -n "$runpath_var" || \
9287 test "X$hardcode_automatic" = "Xyes" ; then
9289 # We can hardcode non-existant directories.
9290 if test "$hardcode_direct" != no
&&
9291 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9292 # have to relink, otherwise we might link with an installed library
9293 # when we should be linking with a yet-to-be-installed one
9294 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9295 test "$hardcode_minus_L" != no
; then
9296 # Linking always hardcodes the temporary library directory.
9297 hardcode_action
=relink
9299 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9300 hardcode_action
=immediate
9303 # We cannot hardcode anything, or else we can only hardcode existing
9305 hardcode_action
=unsupported
9307 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9308 echo "${ECHO_T}$hardcode_action" >&6; }
9310 if test "$hardcode_action" = relink
; then
9311 # Fast installation is not supported
9312 enable_fast_install
=no
9313 elif test "$shlibpath_overrides_runpath" = yes ||
9314 test "$enable_shared" = no
; then
9315 # Fast installation is not necessary
9316 enable_fast_install
=needless
9321 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9322 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9323 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9324 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9325 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9326 { echo "$as_me:$LINENO: result: yes" >&5
9327 echo "${ECHO_T}yes" >&6; }
9329 # FIXME - insert some real tests, host_os isn't really good enough
9332 if test -n "$STRIP" ; then
9333 striplib
="$STRIP -x"
9334 old_striplib
="$STRIP -S"
9335 { echo "$as_me:$LINENO: result: yes" >&5
9336 echo "${ECHO_T}yes" >&6; }
9338 { echo "$as_me:$LINENO: result: no" >&5
9339 echo "${ECHO_T}no" >&6; }
9343 { echo "$as_me:$LINENO: result: no" >&5
9344 echo "${ECHO_T}no" >&6; }
9349 if test "x$enable_dlopen" != xyes
; then
9350 enable_dlopen
=unknown
9351 enable_dlopen_self
=unknown
9352 enable_dlopen_self_static
=unknown
9359 lt_cv_dlopen
="load_add_on"
9361 lt_cv_dlopen_self
=yes
9365 lt_cv_dlopen
="LoadLibrary"
9370 lt_cv_dlopen
="dlopen"
9375 # if libdl is installed we need to link against it
9376 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9377 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9378 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9379 echo $ECHO_N "(cached) $ECHO_C" >&6
9381 ac_check_lib_save_LIBS
=$LIBS
9383 cat >conftest.
$ac_ext <<_ACEOF
9386 cat confdefs.h
>>conftest.
$ac_ext
9387 cat >>conftest.
$ac_ext <<_ACEOF
9388 /* end confdefs.h. */
9390 /* Override any GCC internal prototype to avoid an error.
9391 Use char because int might match the return type of a GCC
9392 builtin and then its argument prototype would still apply. */
9405 rm -f conftest.
$ac_objext conftest
$ac_exeext
9406 if { (ac_try
="$ac_link"
9408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9409 *) ac_try_echo=$ac_try;;
9411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9412 (eval "$ac_link") 2>conftest.er1
9414 grep -v '^ *+' conftest.er1 >conftest.err
9416 cat conftest.err >&5
9417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9418 (exit $ac_status); } && {
9419 test -z "$ac_c_werror_flag" ||
9420 test ! -s conftest.err
9421 } && test -s conftest$ac_exeext &&
9422 $as_test_x conftest$ac_exeext; then
9423 ac_cv_lib_dl_dlopen=yes
9425 echo "$as_me: failed program was:" >&5
9426 sed 's/^/| /' conftest.$ac_ext >&5
9428 ac_cv_lib_dl_dlopen=no
9431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9432 conftest$ac_exeext conftest.$ac_ext
9433 LIBS=$ac_check_lib_save_LIBS
9435 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9436 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9437 if test $ac_cv_lib_dl_dlopen = yes; then
9438 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9443 lt_cv_dlopen_self=yes
9450 { echo "$as_me:$LINENO: checking for shl_load" >&5
9451 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9452 if test "${ac_cv_func_shl_load+set}" = set; then
9453 echo $ECHO_N "(cached) $ECHO_C" >&6
9455 cat >conftest.$ac_ext <<_ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9461 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9463 #define shl_load innocuous_shl_load
9465 /* System header to define __stub macros and hopefully few prototypes,
9466 which can conflict with char shl_load (); below.
9467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9468 <limits.h> exists even on freestanding compilers. */
9471 # include <limits.h>
9473 # include <assert.h>
9478 /* Override any GCC internal prototype to avoid an error.
9479 Use char because int might match the return type of a GCC
9480 builtin and then its argument prototype would still apply. */
9485 /* The GNU C library defines this for functions which it implements
9486 to always fail with ENOSYS. Some functions are actually named
9487 something starting with __ and the normal name is an alias. */
9488 #if defined __stub_shl_load || defined __stub___shl_load
9500 rm -f conftest.$ac_objext conftest$ac_exeext
9501 if { (ac_try="$ac_link"
9503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9504 *) ac_try_echo
=$ac_try;;
9506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9507 (eval "$ac_link") 2>conftest.er1
9509 grep -v '^ *+' conftest.er1
>conftest.err
9511 cat conftest.err
>&5
9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513 (exit $ac_status); } && {
9514 test -z "$ac_c_werror_flag" ||
9515 test ! -s conftest.err
9516 } && test -s conftest
$ac_exeext &&
9517 $as_test_x conftest
$ac_exeext; then
9518 ac_cv_func_shl_load
=yes
9520 echo "$as_me: failed program was:" >&5
9521 sed 's/^/| /' conftest.
$ac_ext >&5
9523 ac_cv_func_shl_load
=no
9526 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9527 conftest
$ac_exeext conftest.
$ac_ext
9529 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9530 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9531 if test $ac_cv_func_shl_load = yes; then
9532 lt_cv_dlopen
="shl_load"
9534 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9535 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9536 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9537 echo $ECHO_N "(cached) $ECHO_C" >&6
9539 ac_check_lib_save_LIBS
=$LIBS
9541 cat >conftest.
$ac_ext <<_ACEOF
9544 cat confdefs.h
>>conftest.
$ac_ext
9545 cat >>conftest.
$ac_ext <<_ACEOF
9546 /* end confdefs.h. */
9548 /* Override any GCC internal prototype to avoid an error.
9549 Use char because int might match the return type of a GCC
9550 builtin and then its argument prototype would still apply. */
9563 rm -f conftest.
$ac_objext conftest
$ac_exeext
9564 if { (ac_try
="$ac_link"
9566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9567 *) ac_try_echo=$ac_try;;
9569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9570 (eval "$ac_link") 2>conftest.er1
9572 grep -v '^ *+' conftest.er1 >conftest.err
9574 cat conftest.err >&5
9575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576 (exit $ac_status); } && {
9577 test -z "$ac_c_werror_flag" ||
9578 test ! -s conftest.err
9579 } && test -s conftest$ac_exeext &&
9580 $as_test_x conftest$ac_exeext; then
9581 ac_cv_lib_dld_shl_load=yes
9583 echo "$as_me: failed program was:" >&5
9584 sed 's/^/| /' conftest.$ac_ext >&5
9586 ac_cv_lib_dld_shl_load=no
9589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9590 conftest$ac_exeext conftest.$ac_ext
9591 LIBS=$ac_check_lib_save_LIBS
9593 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9594 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9595 if test $ac_cv_lib_dld_shl_load = yes; then
9596 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9598 { echo "$as_me:$LINENO: checking for dlopen" >&5
9599 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9600 if test "${ac_cv_func_dlopen+set}" = set; then
9601 echo $ECHO_N "(cached) $ECHO_C" >&6
9603 cat >conftest.$ac_ext <<_ACEOF
9606 cat confdefs.h >>conftest.$ac_ext
9607 cat >>conftest.$ac_ext <<_ACEOF
9608 /* end confdefs.h. */
9609 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9611 #define dlopen innocuous_dlopen
9613 /* System header to define __stub macros and hopefully few prototypes,
9614 which can conflict with char dlopen (); below.
9615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9616 <limits.h> exists even on freestanding compilers. */
9619 # include <limits.h>
9621 # include <assert.h>
9626 /* Override any GCC internal prototype to avoid an error.
9627 Use char because int might match the return type of a GCC
9628 builtin and then its argument prototype would still apply. */
9633 /* The GNU C library defines this for functions which it implements
9634 to always fail with ENOSYS. Some functions are actually named
9635 something starting with __ and the normal name is an alias. */
9636 #if defined __stub_dlopen || defined __stub___dlopen
9648 rm -f conftest.$ac_objext conftest$ac_exeext
9649 if { (ac_try="$ac_link"
9651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9652 *) ac_try_echo
=$ac_try;;
9654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9655 (eval "$ac_link") 2>conftest.er1
9657 grep -v '^ *+' conftest.er1
>conftest.err
9659 cat conftest.err
>&5
9660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661 (exit $ac_status); } && {
9662 test -z "$ac_c_werror_flag" ||
9663 test ! -s conftest.err
9664 } && test -s conftest
$ac_exeext &&
9665 $as_test_x conftest
$ac_exeext; then
9666 ac_cv_func_dlopen
=yes
9668 echo "$as_me: failed program was:" >&5
9669 sed 's/^/| /' conftest.
$ac_ext >&5
9671 ac_cv_func_dlopen
=no
9674 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9675 conftest
$ac_exeext conftest.
$ac_ext
9677 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9678 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9679 if test $ac_cv_func_dlopen = yes; then
9680 lt_cv_dlopen
="dlopen"
9682 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9683 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9684 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9685 echo $ECHO_N "(cached) $ECHO_C" >&6
9687 ac_check_lib_save_LIBS
=$LIBS
9689 cat >conftest.
$ac_ext <<_ACEOF
9692 cat confdefs.h
>>conftest.
$ac_ext
9693 cat >>conftest.
$ac_ext <<_ACEOF
9694 /* end confdefs.h. */
9696 /* Override any GCC internal prototype to avoid an error.
9697 Use char because int might match the return type of a GCC
9698 builtin and then its argument prototype would still apply. */
9711 rm -f conftest.
$ac_objext conftest
$ac_exeext
9712 if { (ac_try
="$ac_link"
9714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9715 *) ac_try_echo=$ac_try;;
9717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9718 (eval "$ac_link") 2>conftest.er1
9720 grep -v '^ *+' conftest.er1 >conftest.err
9722 cat conftest.err >&5
9723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9724 (exit $ac_status); } && {
9725 test -z "$ac_c_werror_flag" ||
9726 test ! -s conftest.err
9727 } && test -s conftest$ac_exeext &&
9728 $as_test_x conftest$ac_exeext; then
9729 ac_cv_lib_dl_dlopen=yes
9731 echo "$as_me: failed program was:" >&5
9732 sed 's/^/| /' conftest.$ac_ext >&5
9734 ac_cv_lib_dl_dlopen=no
9737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9738 conftest$ac_exeext conftest.$ac_ext
9739 LIBS=$ac_check_lib_save_LIBS
9741 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9742 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9743 if test $ac_cv_lib_dl_dlopen = yes; then
9744 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9746 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9747 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9748 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9749 echo $ECHO_N "(cached) $ECHO_C" >&6
9751 ac_check_lib_save_LIBS=$LIBS
9753 cat >conftest.$ac_ext <<_ACEOF
9756 cat confdefs.h >>conftest.$ac_ext
9757 cat >>conftest.$ac_ext <<_ACEOF
9758 /* end confdefs.h. */
9760 /* Override any GCC internal prototype to avoid an error.
9761 Use char because int might match the return type of a GCC
9762 builtin and then its argument prototype would still apply. */
9775 rm -f conftest.$ac_objext conftest$ac_exeext
9776 if { (ac_try="$ac_link"
9778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9779 *) ac_try_echo
=$ac_try;;
9781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9782 (eval "$ac_link") 2>conftest.er1
9784 grep -v '^ *+' conftest.er1
>conftest.err
9786 cat conftest.err
>&5
9787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788 (exit $ac_status); } && {
9789 test -z "$ac_c_werror_flag" ||
9790 test ! -s conftest.err
9791 } && test -s conftest
$ac_exeext &&
9792 $as_test_x conftest
$ac_exeext; then
9793 ac_cv_lib_svld_dlopen
=yes
9795 echo "$as_me: failed program was:" >&5
9796 sed 's/^/| /' conftest.
$ac_ext >&5
9798 ac_cv_lib_svld_dlopen
=no
9801 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9802 conftest
$ac_exeext conftest.
$ac_ext
9803 LIBS
=$ac_check_lib_save_LIBS
9805 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9806 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9807 if test $ac_cv_lib_svld_dlopen = yes; then
9808 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9810 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9811 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9812 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9813 echo $ECHO_N "(cached) $ECHO_C" >&6
9815 ac_check_lib_save_LIBS
=$LIBS
9817 cat >conftest.
$ac_ext <<_ACEOF
9820 cat confdefs.h
>>conftest.
$ac_ext
9821 cat >>conftest.
$ac_ext <<_ACEOF
9822 /* end confdefs.h. */
9824 /* Override any GCC internal prototype to avoid an error.
9825 Use char because int might match the return type of a GCC
9826 builtin and then its argument prototype would still apply. */
9839 rm -f conftest.
$ac_objext conftest
$ac_exeext
9840 if { (ac_try
="$ac_link"
9842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9843 *) ac_try_echo=$ac_try;;
9845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9846 (eval "$ac_link") 2>conftest.er1
9848 grep -v '^ *+' conftest.er1 >conftest.err
9850 cat conftest.err >&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); } && {
9853 test -z "$ac_c_werror_flag" ||
9854 test ! -s conftest.err
9855 } && test -s conftest$ac_exeext &&
9856 $as_test_x conftest$ac_exeext; then
9857 ac_cv_lib_dld_dld_link=yes
9859 echo "$as_me: failed program was:" >&5
9860 sed 's/^/| /' conftest.$ac_ext >&5
9862 ac_cv_lib_dld_dld_link=no
9865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9866 conftest$ac_exeext conftest.$ac_ext
9867 LIBS=$ac_check_lib_save_LIBS
9869 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9870 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9871 if test $ac_cv_lib_dld_dld_link = yes; then
9872 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9893 if test "x$lt_cv_dlopen" != xno; then
9899 case $lt_cv_dlopen in
9901 save_CPPFLAGS="$CPPFLAGS"
9902 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9904 save_LDFLAGS="$LDFLAGS"
9905 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9908 LIBS="$lt_cv_dlopen_libs $LIBS"
9910 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9911 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9912 if test "${lt_cv_dlopen_self+set}" = set; then
9913 echo $ECHO_N "(cached) $ECHO_C" >&6
9915 if test "$cross_compiling" = yes; then :
9916 lt_cv_dlopen_self=cross
9918 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9919 lt_status=$lt_dlunknown
9920 cat > conftest.$ac_ext <<EOF
9921 #line 9921 "configure"
9922 #include "confdefs.h"
9931 # define LT_DLGLOBAL RTLD_GLOBAL
9934 # define LT_DLGLOBAL DL_GLOBAL
9936 # define LT_DLGLOBAL 0
9940 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9941 find out it does not work in some platform. */
9942 #ifndef LT_DLLAZY_OR_NOW
9944 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9947 # define LT_DLLAZY_OR_NOW DL_LAZY
9950 # define LT_DLLAZY_OR_NOW RTLD_NOW
9953 # define LT_DLLAZY_OR_NOW DL_NOW
9955 # define LT_DLLAZY_OR_NOW 0
9963 extern "C" void exit (int);
9966 void fnord() { int i=42;}
9969 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9970 int status = $lt_dlunknown;
9974 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9975 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9976 /* dlclose (self); */
9984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9985 (eval $ac_link) 2>&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9989 (./conftest; exit; ) >&5 2>/dev/null
9992 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9993 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9994 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9997 # compilation failed
9998 lt_cv_dlopen_self=no
10005 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10006 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10008 if test "x$lt_cv_dlopen_self" = xyes; then
10009 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10010 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10011 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10012 if test "${lt_cv_dlopen_self_static+set}" = set; then
10013 echo $ECHO_N "(cached) $ECHO_C" >&6
10015 if test "$cross_compiling" = yes; then :
10016 lt_cv_dlopen_self_static=cross
10018 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10019 lt_status=$lt_dlunknown
10020 cat > conftest.$ac_ext <<EOF
10021 #line 10021 "configure"
10022 #include "confdefs.h"
10031 # define LT_DLGLOBAL RTLD_GLOBAL
10034 # define LT_DLGLOBAL DL_GLOBAL
10036 # define LT_DLGLOBAL 0
10040 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10041 find out it does not work in some platform. */
10042 #ifndef LT_DLLAZY_OR_NOW
10044 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10047 # define LT_DLLAZY_OR_NOW DL_LAZY
10050 # define LT_DLLAZY_OR_NOW RTLD_NOW
10053 # define LT_DLLAZY_OR_NOW DL_NOW
10055 # define LT_DLLAZY_OR_NOW 0
10063 extern "C" void exit (int);
10066 void fnord() { int i=42;}
10069 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10070 int status = $lt_dlunknown;
10074 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10075 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10076 /* dlclose (self); */
10084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10085 (eval $ac_link) 2>&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10089 (./conftest; exit; ) >&5 2>/dev/null
10091 case x$lt_status in
10092 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10093 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10094 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10097 # compilation failed
10098 lt_cv_dlopen_self_static=no
10105 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10106 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10109 CPPFLAGS="$save_CPPFLAGS"
10110 LDFLAGS="$save_LDFLAGS"
10115 case $lt_cv_dlopen_self in
10116 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10117 *) enable_dlopen_self=unknown ;;
10120 case $lt_cv_dlopen_self_static in
10121 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10122 *) enable_dlopen_self_static=unknown ;;
10127 # Report which library types will actually be built
10128 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10129 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10130 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10131 echo "${ECHO_T}$can_build_shared" >&6; }
10133 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10134 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10135 test "$can_build_shared" = "no" && enable_shared=no
10137 # On AIX, shared libraries and static libraries use the same namespace, and
10138 # are all built from PIC.
10141 test "$enable_shared" = yes && enable_static=no
10142 if test -n "$RANLIB"; then
10143 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10144 postinstall_cmds='$RANLIB $lib'
10149 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10150 test "$enable_shared" = yes && enable_static=no
10154 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10155 echo "${ECHO_T}$enable_shared" >&6; }
10157 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10158 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10159 # Make sure either enable_shared or enable_static is yes.
10160 test "$enable_shared" = yes || enable_static=yes
10161 { echo "$as_me:$LINENO: result: $enable_static" >&5
10162 echo "${ECHO_T}$enable_static" >&6; }
10164 # The else clause should only fire when bootstrapping the
10165 # libtool distribution, otherwise you forgot to ship ltmain.sh
10166 # with your package, and you will get complaints that there are
10167 # no rules to generate ltmain.sh.
10168 if test -f "$ltmain"; then
10169 # See if we are running on zsh, and set the options which allow our commands through
10170 # without removal of \ escapes.
10171 if test -n "${ZSH_VERSION+set}" ; then
10172 setopt NO_GLOB_SUBST
10174 # Now quote all the things that may contain metacharacters while being
10175 # careful not to overquote the AC_SUBSTed values. We take copies of the
10176 # variables and quote the copies for generation of the libtool script.
10177 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10179 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10180 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10181 deplibs_check_method reload_flag reload_cmds need_locks \
10182 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10183 lt_cv_sys_global_symbol_to_c_name_address \
10184 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10185 old_postinstall_cmds old_postuninstall_cmds \
10189 lt_prog_compiler_wl \
10190 lt_prog_compiler_pic \
10191 lt_prog_compiler_static \
10192 lt_prog_compiler_no_builtin_flag \
10193 export_dynamic_flag_spec \
10194 thread_safe_flag_spec \
10195 whole_archive_flag_spec \
10196 enable_shared_with_static_runtimes \
10198 old_archive_from_new_cmds \
10203 compiler_lib_search_path \
10205 archive_expsym_cmds \
10207 postuninstall_cmds \
10208 old_archive_from_expsyms_cmds \
10209 allow_undefined_flag \
10210 no_undefined_flag \
10211 export_symbols_cmds \
10212 hardcode_libdir_flag_spec \
10213 hardcode_libdir_flag_spec_ld \
10214 hardcode_libdir_separator \
10215 hardcode_automatic \
10217 module_expsym_cmds \
10218 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, 2002, 2003, 2004, 2005, 2006, 2007
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=$lt_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;"
10759 # Code to be used in simple link tests
10760 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
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 echo "$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 echo "$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
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 lt_aix_libpath_sed
='
11116 /Import File Strings/,/^$/ {
11122 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11123 # Check for a 64-bit object if we didn't find anything.
11124 if test -z "$aix_libpath"; then
11125 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11128 echo "$as_me: failed program was:" >&5
11129 sed 's/^/| /' conftest.
$ac_ext >&5
11134 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11135 conftest
$ac_exeext conftest.
$ac_ext
11136 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11138 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11140 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"
11142 if test "$host_cpu" = ia64
; then
11143 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11144 allow_undefined_flag_CXX
="-z nodefs"
11145 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"
11147 # Determine the default libpath from the value encoded in an empty executable.
11148 cat >conftest.
$ac_ext <<_ACEOF
11151 cat confdefs.h
>>conftest.
$ac_ext
11152 cat >>conftest.
$ac_ext <<_ACEOF
11153 /* end confdefs.h. */
11163 rm -f conftest.
$ac_objext conftest
$ac_exeext
11164 if { (ac_try
="$ac_link"
11165 case "(($ac_try" in
11166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11167 *) ac_try_echo=$ac_try;;
11169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11170 (eval "$ac_link") 2>conftest.er1
11172 grep -v '^ *+' conftest.er1 >conftest.err
11174 cat conftest.err >&5
11175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176 (exit $ac_status); } && {
11177 test -z "$ac_cxx_werror_flag" ||
11178 test ! -s conftest.err
11179 } && test -s conftest$ac_exeext &&
11180 $as_test_x conftest$ac_exeext; then
11182 lt_aix_libpath_sed='
11183 /Import File Strings/,/^$/ {
11189 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11190 # Check for a 64-bit object if we didn't find anything.
11191 if test -z "$aix_libpath"; then
11192 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11195 echo "$as_me: failed program was:" >&5
11196 sed 's/^/| /' conftest.$ac_ext >&5
11201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11202 conftest$ac_exeext conftest.$ac_ext
11203 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11205 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11206 # Warning - without using the other run time loading flags,
11207 # -berok will link without error, but may produce a broken library.
11208 no_undefined_flag_CXX=' ${wl}-bernotok'
11209 allow_undefined_flag_CXX=' ${wl}-berok'
11210 # Exported symbols can be pulled into shared objects from archives
11211 whole_archive_flag_spec_CXX='$convenience'
11212 archive_cmds_need_lc_CXX=yes
11213 # This is similar to how AIX traditionally builds its shared libraries.
11214 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'
11220 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11221 allow_undefined_flag_CXX=unsupported
11222 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11223 # support --undefined. This deserves some investigation. FIXME
11224 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11231 case $cc_basename in
11233 # FIXME: insert proper C++ library support
11239 cygwin* | mingw* | pw32*)
11240 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11241 # as there is no search path for DLLs.
11242 hardcode_libdir_flag_spec_CXX='-L$libdir'
11243 allow_undefined_flag_CXX=unsupported
11244 always_export_symbols_CXX=no
11245 enable_shared_with_static_runtimes_CXX=yes
11247 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11248 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'
11249 # If the export-symbols file already is a .def file (1st line
11250 # is EXPORTS), use it as is; otherwise, prepend...
11251 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11252 cp $export_symbols $output_objdir/$soname.def;
11254 echo EXPORTS > $output_objdir/$soname.def;
11255 cat $export_symbols >> $output_objdir/$soname.def;
11257 $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'
11262 darwin* | rhapsody*)
11264 rhapsody* | darwin1.[012])
11265 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11268 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11269 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11271 case ${MACOSX_DEPLOYMENT_TARGET} in
11273 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11276 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11282 archive_cmds_need_lc_CXX=no
11283 hardcode_direct_CXX=no
11284 hardcode_automatic_CXX=yes
11285 hardcode_shlibpath_var_CXX=unsupported
11286 whole_archive_flag_spec_CXX=''
11287 link_all_deplibs_CXX=yes
11289 if test "$GXX" = yes ; then
11290 lt_int_apple_cc_single_mod=no
11291 output_verbose_link_cmd='echo'
11292 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11293 lt_int_apple_cc_single_mod=yes
11295 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11296 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11298 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'
11300 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11301 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11302 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11303 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}'
11305 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}'
11307 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}'
11309 case $cc_basename in
11311 output_verbose_link_cmd='echo'
11312 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11313 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11314 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11315 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11316 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}'
11326 case $cc_basename in
11328 # FIXME: insert proper C++ library support
11332 # Green Hills C++ Compiler
11333 # FIXME: insert proper C++ library support
11337 # FIXME: insert proper C++ library support
11343 # C++ shared libraries reported to be fairly broken before switch to ELF
11347 archive_cmds_need_lc_CXX=no
11349 freebsd* | dragonfly*)
11350 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11357 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11358 hardcode_libdir_separator_CXX=:
11359 export_dynamic_flag_spec_CXX='${wl}-E'
11360 hardcode_direct_CXX=yes
11361 hardcode_minus_L_CXX=yes # Not in the search PATH,
11362 # but as the default
11363 # location of the library.
11365 case $cc_basename in
11367 # FIXME: insert proper C++ library support
11371 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'
11372 # Commands to make compiler produce verbose output that lists
11373 # what "hidden" libraries, object files and flags are used when
11374 # linking a shared library.
11376 # There doesn't appear to be a way to prevent this compiler from
11377 # explicitly linking system object files so we need to strip them
11378 # from the output so that they don't get included in the library
11380 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'
11383 if test "$GXX" = yes; then
11384 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'
11386 # FIXME: insert proper C++ library support
11393 if test $with_gnu_ld = no; then
11394 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11395 hardcode_libdir_separator_CXX=:
11400 export_dynamic_flag_spec_CXX='${wl}-E'
11406 hardcode_direct_CXX=no
11407 hardcode_shlibpath_var_CXX=no
11410 hardcode_direct_CXX=yes
11411 hardcode_minus_L_CXX=yes # Not in the search PATH,
11412 # but as the default
11413 # location of the library.
11417 case $cc_basename in
11419 # FIXME: insert proper C++ library support
11425 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11428 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11431 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11434 # Commands to make compiler produce verbose output that lists
11435 # what "hidden" libraries, object files and flags are used when
11436 # linking a shared library.
11438 # There doesn't appear to be a way to prevent this compiler from
11439 # explicitly linking system object files so we need to strip them
11440 # from the output so that they don't get included in the library
11442 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'
11445 if test "$GXX" = yes; then
11446 if test $with_gnu_ld = no; then
11449 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11452 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11455 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'
11460 # FIXME: insert proper C++ library support
11467 hardcode_direct_CXX=no
11468 hardcode_shlibpath_var_CXX=no
11469 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11470 export_dynamic_flag_spec_CXX='${wl}-E'
11471 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11472 # Instead, shared libraries are loaded at an image base (0x10000000 by
11473 # default) and relocated if they conflict, which is a slow very memory
11474 # consuming and fragmenting process. To avoid this, we pick a random,
11475 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11476 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11477 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'
11478 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'
11481 case $cc_basename in
11484 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'
11486 # Archives containing C++ object files must be created using
11487 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11488 # necessary to make sure instantiated templates are included
11490 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11493 if test "$GXX" = yes; then
11494 if test "$with_gnu_ld" = no; then
11495 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'
11497 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'
11500 link_all_deplibs_CXX=yes
11503 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11504 hardcode_libdir_separator_CXX=:
11506 linux* | k*bsd*-gnu)
11507 case $cc_basename in
11509 # Kuck and Associates, Inc. (KAI) C++ Compiler
11511 # KCC will only create a shared library if the output file
11512 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11513 # to its proper name (with version) after linking.
11514 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'
11515 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'
11516 # Commands to make compiler produce verbose output that lists
11517 # what "hidden" libraries, object files and flags are used when
11518 # linking a shared library.
11520 # There doesn't appear to be a way to prevent this compiler from
11521 # explicitly linking system object files so we need to strip them
11522 # from the output so that they don't get included in the library
11524 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'
11526 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11527 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11529 # Archives containing C++ object files must be created using
11530 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11531 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11536 # version 8.0 and above of icpc choke on multiply defined symbols
11537 # if we add $predep_objects and $postdep_objects, however 7.1 and
11538 # earlier do not add the objects themselves.
11539 case `$CC -V 2>&1` in
11541 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11542 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'
11544 *) # Version 8.0 or newer
11547 ia64
*) tmp_idyn
=' -i_dynamic';;
11549 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11550 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'
11553 archive_cmds_need_lc_CXX
=no
11554 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11555 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11556 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11559 # Portland Group C++ compiler
11560 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11561 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'
11563 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11564 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11565 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'
11569 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11570 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'
11572 runpath_var
=LD_RUN_PATH
11573 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11574 hardcode_libdir_separator_CXX
=:
11576 # Commands to make compiler produce verbose output that lists
11577 # what "hidden" libraries, object files and flags are used when
11578 # linking a shared library.
11580 # There doesn't appear to be a way to prevent this compiler from
11581 # explicitly linking system object files so we need to strip them
11582 # from the output so that they don't get included in the library
11584 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'
11587 case `$CC -V 2>&1 | sed 5q` in
11590 no_undefined_flag_CXX
=' -zdefs'
11591 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11592 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11593 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11594 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11596 # Not sure whether something based on
11597 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11599 output_verbose_link_cmd
='echo'
11601 # Archives containing C++ object files must be created using
11602 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11603 # necessary to make sure instantiated templates are included
11605 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11612 # FIXME: insert proper C++ library support
11616 # FIXME: insert proper C++ library support
11620 case $cc_basename in
11622 # FIXME: insert proper C++ library support
11626 # FIXME: insert proper C++ library support
11632 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11633 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11635 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11636 hardcode_direct_CXX
=yes
11637 hardcode_shlibpath_var_CXX
=no
11639 # Workaround some broken pre-1.5 toolchains
11640 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11643 # C++ shared libraries are fairly broken
11647 if test -f /usr
/libexec
/ld.so
; then
11648 hardcode_direct_CXX
=yes
11649 hardcode_shlibpath_var_CXX
=no
11650 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11651 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11652 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11653 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11654 export_dynamic_flag_spec_CXX
='${wl}-E'
11655 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11657 output_verbose_link_cmd
='echo'
11663 case $cc_basename in
11665 # Kuck and Associates, Inc. (KAI) C++ Compiler
11667 # KCC will only create a shared library if the output file
11668 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11669 # to its proper name (with version) after linking.
11670 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'
11672 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11673 hardcode_libdir_separator_CXX
=:
11675 # Archives containing C++ object files must be created using
11676 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11677 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11681 # Rational C++ 2.4.1
11682 # FIXME: insert proper C++ library support
11686 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11687 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'
11689 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11690 hardcode_libdir_separator_CXX
=:
11692 # Commands to make compiler produce verbose output that lists
11693 # what "hidden" libraries, object files and flags are used when
11694 # linking a shared library.
11696 # There doesn't appear to be a way to prevent this compiler from
11697 # explicitly linking system object files so we need to strip them
11698 # from the output so that they don't get included in the library
11700 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'
11703 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11704 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11705 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'
11707 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11708 hardcode_libdir_separator_CXX
=:
11710 # Commands to make compiler produce verbose output that lists
11711 # what "hidden" libraries, object files and flags are used when
11712 # linking a shared library.
11713 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11716 # FIXME: insert proper C++ library support
11723 case $cc_basename in
11725 # Kuck and Associates, Inc. (KAI) C++ Compiler
11727 # KCC will only create a shared library if the output file
11728 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11729 # to its proper name (with version) after linking.
11730 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'
11732 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11733 hardcode_libdir_separator_CXX
=:
11735 # Archives containing C++ object files must be created using
11736 # the KAI C++ compiler.
11737 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11740 # Rational C++ 2.4.1
11741 # FIXME: insert proper C++ library support
11745 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11746 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'
11747 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11748 echo "-hidden">> $lib.exp~
11749 $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~
11752 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11753 hardcode_libdir_separator_CXX
=:
11755 # Commands to make compiler produce verbose output that lists
11756 # what "hidden" libraries, object files and flags are used when
11757 # linking a shared library.
11759 # There doesn't appear to be a way to prevent this compiler from
11760 # explicitly linking system object files so we need to strip them
11761 # from the output so that they don't get included in the library
11763 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | 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'
11766 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11767 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11768 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'
11770 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11771 hardcode_libdir_separator_CXX
=:
11773 # Commands to make compiler produce verbose output that lists
11774 # what "hidden" libraries, object files and flags are used when
11775 # linking a shared library.
11776 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11779 # FIXME: insert proper C++ library support
11786 # FIXME: insert proper C++ library support
11790 case $cc_basename in
11793 # FIXME: insert proper C++ library support
11798 # FIXME: insert proper C++ library support
11802 # FIXME: insert proper C++ library support
11808 case $cc_basename in
11810 # Sun C++ 4.2, 5.x and Centerline C++
11811 archive_cmds_need_lc_CXX
=yes
11812 no_undefined_flag_CXX
=' -zdefs'
11813 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11814 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11815 $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'
11817 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11818 hardcode_shlibpath_var_CXX
=no
11820 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11822 # The compiler driver will combine and reorder linker options,
11823 # but understands `-z linker_flag'.
11824 # Supported since Solaris 2.6 (maybe 2.5.1?)
11825 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11828 link_all_deplibs_CXX
=yes
11830 output_verbose_link_cmd
='echo'
11832 # Archives containing C++ object files must be created using
11833 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11834 # necessary to make sure instantiated templates are included
11836 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11839 # Green Hills C++ Compiler
11840 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11842 # The C++ compiler must be used to create the archive.
11843 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11846 # GNU C++ compiler with Solaris linker
11847 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11848 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11849 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11850 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11851 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11852 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11854 # Commands to make compiler produce verbose output that lists
11855 # what "hidden" libraries, object files and flags are used when
11856 # linking a shared library.
11857 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11859 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11861 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11862 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11863 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11865 # Commands to make compiler produce verbose output that lists
11866 # what "hidden" libraries, object files and flags are used when
11867 # linking a shared library.
11868 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11871 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11873 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11875 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11882 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11883 no_undefined_flag_CXX
='${wl}-z,text'
11884 archive_cmds_need_lc_CXX
=no
11885 hardcode_shlibpath_var_CXX
=no
11886 runpath_var
='LD_RUN_PATH'
11888 case $cc_basename in
11890 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11891 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11894 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11895 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11899 sysv5
* | sco3.2v5
* | sco5v6
*)
11900 # Note: We can NOT use -z defs as we might desire, because we do not
11901 # link with -lc, and that would cause any symbols used from libc to
11902 # always be unresolved, which means just about no library would
11903 # ever link correctly. If we're not using GNU ld we use -z text
11904 # though, which does catch some bad symbols but isn't as heavy-handed
11906 # For security reasons, it is highly recommended that you always
11907 # use absolute paths for naming shared libraries, and exclude the
11908 # DT_RUNPATH tag from executables and libraries. But doing so
11909 # requires that you compile everything twice, which is a pain.
11910 # So that behaviour is only enabled if SCOABSPATH is set to a
11911 # non-empty value in the environment. Most likely only useful for
11912 # creating official distributions of packages.
11913 # This is a hack until libtool officially supports absolute path
11914 # names for shared libraries.
11915 no_undefined_flag_CXX
='${wl}-z,text'
11916 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11917 archive_cmds_need_lc_CXX
=no
11918 hardcode_shlibpath_var_CXX
=no
11919 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11920 hardcode_libdir_separator_CXX
=':'
11921 link_all_deplibs_CXX
=yes
11922 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11923 runpath_var
='LD_RUN_PATH'
11925 case $cc_basename in
11927 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11928 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11931 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11932 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11937 case $cc_basename in
11939 # NonStop-UX NCC 3.20
11940 # FIXME: insert proper C++ library support
11944 # FIXME: insert proper C++ library support
11950 # FIXME: insert proper C++ library support
11954 # FIXME: insert proper C++ library support
11958 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11959 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11960 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11966 cat > conftest.
$ac_ext <<EOF
11970 Foo (void) { a = 0; }
11976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11977 (eval $ac_compile) 2>&5
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); }; then
11981 # Parse the compiler output and extract the necessary
11982 # objects, libraries and library flags.
11984 # Sentinel used to keep track of whether or not we are before
11985 # the conftest object file.
11986 pre_test_object_deps_done
=no
11988 # The `*' in the case matches for architectures that use `case' in
11989 # $output_verbose_cmd can trigger glob expansion during the loop
11990 # eval without this substitution.
11991 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11993 for p
in `eval $output_verbose_link_cmd`; do
11997 # Some compilers place space between "-{L,R}" and the path.
11998 # Remove the space.
11999 if test $p = "-L" \
12000 ||
test $p = "-R"; then
12007 if test "$pre_test_object_deps_done" = no
; then
12010 # Internal compiler library paths should come after those
12011 # provided the user. The postdeps already come after the
12012 # user supplied libs so there is no need to process them.
12013 if test -z "$compiler_lib_search_path_CXX"; then
12014 compiler_lib_search_path_CXX
="${prev}${p}"
12016 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12019 # The "-l" case would never come before the object being
12020 # linked, so don't bother handling this case.
12023 if test -z "$postdeps_CXX"; then
12024 postdeps_CXX
="${prev}${p}"
12026 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12032 # This assumes that the test object file only shows up
12033 # once in the compiler output.
12034 if test "$p" = "conftest.$objext"; then
12035 pre_test_object_deps_done
=yes
12039 if test "$pre_test_object_deps_done" = no
; then
12040 if test -z "$predep_objects_CXX"; then
12041 predep_objects_CXX
="$p"
12043 predep_objects_CXX
="$predep_objects_CXX $p"
12046 if test -z "$postdep_objects_CXX"; then
12047 postdep_objects_CXX
="$p"
12049 postdep_objects_CXX
="$postdep_objects_CXX $p"
12054 *) ;; # Ignore the rest.
12062 echo "libtool.m4: error: problem compiling CXX test program"
12065 $rm -f confest.
$objext
12067 # PORTME: override above test on systems where it is broken
12070 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12071 # hack all around it, let's just trust "g++" to DTRT.
12072 predep_objects_CXX
=
12073 postdep_objects_CXX
=
12078 case `$CC -V 2>&1 | sed 5q` in
12082 # The more standards-conforming stlport4 library is
12083 # incompatible with the Cstd library. Avoid specifying
12084 # it if it's in CXXFLAGS. Ignore libCrun as
12085 # -library=stlport4 depends on it.
12086 case " $CXX $CXXFLAGS " in
12087 *" -library=stlport4 "*)
12088 solaris_use_stlport4
=yes
12091 if test "$solaris_use_stlport4" != yes; then
12092 postdeps_CXX
='-library=Cstd -library=Crun'
12099 case $cc_basename in
12101 # The more standards-conforming stlport4 library is
12102 # incompatible with the Cstd library. Avoid specifying
12103 # it if it's in CXXFLAGS. Ignore libCrun as
12104 # -library=stlport4 depends on it.
12105 case " $CXX $CXXFLAGS " in
12106 *" -library=stlport4 "*)
12107 solaris_use_stlport4
=yes
12111 # Adding this requires a known-good setup of shared libraries for
12112 # Sun compiler versions before 5.6, else PIC objects from an old
12113 # archive will be linked into the output, leading to subtle bugs.
12114 if test "$solaris_use_stlport4" != yes; then
12115 postdeps_CXX
='-library=Cstd -library=Crun'
12123 case " $postdeps_CXX " in
12124 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12127 lt_prog_compiler_wl_CXX
=
12128 lt_prog_compiler_pic_CXX
=
12129 lt_prog_compiler_static_CXX
=
12131 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12132 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12134 # C++ specific cases for pic, static, wl, etc.
12135 if test "$GXX" = yes; then
12136 lt_prog_compiler_wl_CXX
='-Wl,'
12137 lt_prog_compiler_static_CXX
='-static'
12141 # All AIX code is PIC.
12142 if test "$host_cpu" = ia64
; then
12143 # AIX 5 now supports IA64 processor
12144 lt_prog_compiler_static_CXX
='-Bstatic'
12148 # FIXME: we need at least 68020 code to build shared libraries, but
12149 # adding the `-m68020' flag to GCC prevents building anything better,
12151 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12153 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12154 # PIC is the default for these OSes.
12156 mingw
* | cygwin
* | os2
* | pw32
*)
12157 # This hack is so that the source file can tell whether it is being
12158 # built for inclusion in a dll (and should export symbols for example).
12159 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12160 # (--disable-auto-import) libraries
12161 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12163 darwin
* | rhapsody
*)
12164 # PIC is the default on this platform
12165 # Common symbols not allowed in MH_DYLIB files
12166 lt_prog_compiler_pic_CXX
='-fno-common'
12169 # DJGPP does not support shared libraries at all
12170 lt_prog_compiler_pic_CXX
=
12173 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12174 # Instead, we relocate shared libraries at runtime.
12177 if test -d /usr
/nec
; then
12178 lt_prog_compiler_pic_CXX
=-Kconform_pic
12182 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12183 # not for PA HP-UX.
12188 lt_prog_compiler_pic_CXX
='-fPIC'
12193 lt_prog_compiler_pic_CXX
='-fPIC'
12199 # All AIX code is PIC.
12200 if test "$host_cpu" = ia64
; then
12201 # AIX 5 now supports IA64 processor
12202 lt_prog_compiler_static_CXX
='-Bstatic'
12204 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12208 case $cc_basename in
12210 # Green Hills C++ Compiler
12211 # _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"
12216 # PIC is the default on this platform
12217 # Common symbols not allowed in MH_DYLIB files
12218 case $cc_basename in
12220 lt_prog_compiler_pic_CXX
='-qnocommon'
12221 lt_prog_compiler_wl_CXX
='-Wl,'
12226 case $cc_basename in
12228 lt_prog_compiler_pic_CXX
='-KPIC'
12231 # Green Hills C++ Compiler
12232 lt_prog_compiler_pic_CXX
='-pic'
12238 freebsd
* | dragonfly
*)
12239 # FreeBSD uses GNU C++
12241 hpux9
* | hpux10
* | hpux11
*)
12242 case $cc_basename in
12244 lt_prog_compiler_wl_CXX
='-Wl,'
12245 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12246 if test "$host_cpu" != ia64
; then
12247 lt_prog_compiler_pic_CXX
='+Z'
12251 lt_prog_compiler_wl_CXX
='-Wl,'
12252 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12258 lt_prog_compiler_pic_CXX
='+Z'
12267 # This is c89, which is MS Visual C++ (no shared libs)
12268 # Anyone wants to do a port?
12270 irix5
* | irix6
* | nonstopux
*)
12271 case $cc_basename in
12273 lt_prog_compiler_wl_CXX
='-Wl,'
12274 lt_prog_compiler_static_CXX
='-non_shared'
12275 # CC pic flag -KPIC is the default.
12281 linux
* | k
*bsd
*-gnu)
12282 case $cc_basename in
12285 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12286 lt_prog_compiler_pic_CXX
='-fPIC'
12290 lt_prog_compiler_wl_CXX
='-Wl,'
12291 lt_prog_compiler_pic_CXX
='-KPIC'
12292 lt_prog_compiler_static_CXX
='-static'
12295 # Portland Group C++ compiler.
12296 lt_prog_compiler_wl_CXX
='-Wl,'
12297 lt_prog_compiler_pic_CXX
='-fpic'
12298 lt_prog_compiler_static_CXX
='-Bstatic'
12302 # Make sure the PIC flag is empty. It appears that all Alpha
12303 # Linux and Compaq Tru64 Unix objects are PIC.
12304 lt_prog_compiler_pic_CXX
=
12305 lt_prog_compiler_static_CXX
='-non_shared'
12308 case `$CC -V 2>&1 | sed 5q` in
12311 lt_prog_compiler_pic_CXX
='-KPIC'
12312 lt_prog_compiler_static_CXX
='-Bstatic'
12313 lt_prog_compiler_wl_CXX
='-Qoption ld '
12324 case $cc_basename in
12326 lt_prog_compiler_pic_CXX
='-W c,exportall'
12334 osf3
* | osf4
* | osf5
*)
12335 case $cc_basename in
12337 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12340 # Rational C++ 2.4.1
12341 lt_prog_compiler_pic_CXX
='-pic'
12344 # Digital/Compaq C++
12345 lt_prog_compiler_wl_CXX
='-Wl,'
12346 # Make sure the PIC flag is empty. It appears that all Alpha
12347 # Linux and Compaq Tru64 Unix objects are PIC.
12348 lt_prog_compiler_pic_CXX
=
12349 lt_prog_compiler_static_CXX
='-non_shared'
12358 case $cc_basename in
12360 # Sun C++ 4.2, 5.x and Centerline C++
12361 lt_prog_compiler_pic_CXX
='-KPIC'
12362 lt_prog_compiler_static_CXX
='-Bstatic'
12363 lt_prog_compiler_wl_CXX
='-Qoption ld '
12366 # Green Hills C++ Compiler
12367 lt_prog_compiler_pic_CXX
='-PIC'
12374 case $cc_basename in
12377 lt_prog_compiler_pic_CXX
='-pic'
12378 lt_prog_compiler_static_CXX
='-Bstatic'
12382 lt_prog_compiler_pic_CXX
='-pic'
12389 case $cc_basename in
12391 # NonStop-UX NCC 3.20
12392 lt_prog_compiler_pic_CXX
='-KPIC'
12398 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12399 case $cc_basename in
12401 lt_prog_compiler_wl_CXX
='-Wl,'
12402 lt_prog_compiler_pic_CXX
='-KPIC'
12403 lt_prog_compiler_static_CXX
='-Bstatic'
12410 lt_prog_compiler_can_build_shared_CXX
=no
12415 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12416 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12419 # Check to make sure the PIC flag actually works.
12421 if test -n "$lt_prog_compiler_pic_CXX"; then
12423 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12424 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12425 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12426 echo $ECHO_N "(cached) $ECHO_C" >&6
12428 lt_prog_compiler_pic_works_CXX
=no
12429 ac_outfile
=conftest.
$ac_objext
12430 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12431 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12432 # Insert the option either (1) after the last *FLAGS variable, or
12433 # (2) before a word containing "conftest.", or (3) at the end.
12434 # Note that $ac_compile itself does not contain backslashes and begins
12435 # with a dollar sign (not a hyphen), so the echo should work correctly.
12436 # The option is referenced via a variable to avoid confusing sed.
12437 lt_compile
=`echo "$ac_compile" | $SED \
12438 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12439 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12440 -e 's:$: $lt_compiler_flag:'`
12441 (eval echo "\"\$as_me:12441: $lt_compile\"" >&5)
12442 (eval "$lt_compile" 2>conftest.err
)
12444 cat conftest.err
>&5
12445 echo "$as_me:12445: \$? = $ac_status" >&5
12446 if (exit $ac_status) && test -s "$ac_outfile"; then
12447 # The compiler can only warn and ignore the option if not recognized
12448 # So say no if there are warnings other than the usual output.
12449 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12450 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12451 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12452 lt_prog_compiler_pic_works_CXX
=yes
12458 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12459 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12461 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12462 case $lt_prog_compiler_pic_CXX in
12464 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12467 lt_prog_compiler_pic_CXX
=
12468 lt_prog_compiler_can_build_shared_CXX
=no
12473 # For platforms which do not support PIC, -DPIC is meaningless:
12475 lt_prog_compiler_pic_CXX
=
12478 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12483 # Check to make sure the static flag actually works.
12485 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12486 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12487 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12488 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12489 echo $ECHO_N "(cached) $ECHO_C" >&6
12491 lt_prog_compiler_static_works_CXX
=no
12492 save_LDFLAGS
="$LDFLAGS"
12493 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12494 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12495 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12496 # The linker can only warn and ignore the option if not recognized
12497 # So say no if there are warnings
12498 if test -s conftest.err
; then
12499 # Append any errors to the config.log.
12500 cat conftest.err
1>&5
12501 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12502 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12503 if diff conftest.exp conftest.er2
>/dev
/null
; then
12504 lt_prog_compiler_static_works_CXX
=yes
12507 lt_prog_compiler_static_works_CXX
=yes
12511 LDFLAGS
="$save_LDFLAGS"
12514 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12515 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12517 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12520 lt_prog_compiler_static_CXX
=
12524 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12525 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12526 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12527 echo $ECHO_N "(cached) $ECHO_C" >&6
12529 lt_cv_prog_compiler_c_o_CXX
=no
12530 $rm -r conftest
2>/dev
/null
12534 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12536 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12537 # Insert the option either (1) after the last *FLAGS variable, or
12538 # (2) before a word containing "conftest.", or (3) at the end.
12539 # Note that $ac_compile itself does not contain backslashes and begins
12540 # with a dollar sign (not a hyphen), so the echo should work correctly.
12541 lt_compile
=`echo "$ac_compile" | $SED \
12542 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12543 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12544 -e 's:$: $lt_compiler_flag:'`
12545 (eval echo "\"\$as_me:12545: $lt_compile\"" >&5)
12546 (eval "$lt_compile" 2>out
/conftest.err
)
12548 cat out
/conftest.err
>&5
12549 echo "$as_me:12549: \$? = $ac_status" >&5
12550 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12552 # The compiler can only warn and ignore the option if not recognized
12553 # So say no if there are warnings
12554 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12555 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12556 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12557 lt_cv_prog_compiler_c_o_CXX
=yes
12562 # SGI C++ compiler will create directory out/ii_files/ for
12563 # template instantiation
12564 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12565 $rm out
/* && rmdir out
12571 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12572 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12575 hard_links
="nottested"
12576 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12577 # do not overwrite the value of need_locks provided by the user
12578 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12579 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12582 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12584 ln conftest.a conftest.b
2>&5 || hard_links
=no
12585 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12586 { echo "$as_me:$LINENO: result: $hard_links" >&5
12587 echo "${ECHO_T}$hard_links" >&6; }
12588 if test "$hard_links" = no
; then
12589 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12590 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12597 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12598 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12600 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12603 # If we're using GNU nm, then we don't want the "-C" option.
12604 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12605 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12606 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'
12608 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'
12612 export_symbols_cmds_CXX
="$ltdll_cmds"
12615 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'
12618 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12622 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12623 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12624 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12627 # Do we need to explicitly link libc?
12629 case "x$archive_cmds_need_lc_CXX" in
12631 # Assume -lc should be added
12632 archive_cmds_need_lc_CXX
=yes
12634 if test "$enable_shared" = yes && test "$GCC" = yes; then
12635 case $archive_cmds_CXX in
12637 # FIXME: we may have to deal with multi-command sequences.
12640 # Test whether the compiler implicitly links with -lc since on some
12641 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12642 # to ld, don't add -lc before -lgcc.
12643 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12644 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12646 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12649 (eval $ac_compile) 2>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); } 2>conftest.err
; then
12655 libobjs
=conftest.
$ac_objext
12657 wl
=$lt_prog_compiler_wl_CXX
12658 pic_flag
=$lt_prog_compiler_pic_CXX
12664 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12665 allow_undefined_flag_CXX
=
12666 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12667 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); }
12672 archive_cmds_need_lc_CXX
=no
12674 archive_cmds_need_lc_CXX
=yes
12676 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12678 cat conftest.err
1>&5
12681 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12682 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12689 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12690 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12691 library_names_spec
=
12692 libname_spec
='lib$name'
12696 postuninstall_cmds
=
12700 shlibpath_overrides_runpath
=unknown
12702 dynamic_linker
="$host_os ld.so"
12703 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12705 need_lib_prefix
=unknown
12706 hardcode_into_libs
=no
12708 # when you set need_version to no, make sure it does not cause -set_version
12709 # flags to be left without arguments
12710 need_version
=unknown
12715 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12716 shlibpath_var
=LIBPATH
12718 # AIX 3 has no versioning support, so we append a major version to the name.
12719 soname_spec
='${libname}${release}${shared_ext}$major'
12726 hardcode_into_libs
=yes
12727 if test "$host_cpu" = ia64
; then
12728 # AIX 5 supports IA64
12729 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12730 shlibpath_var
=LD_LIBRARY_PATH
12732 # With GCC up to 2.95.x, collect2 would create an import file
12733 # for dependence libraries. The import file would start with
12734 # the line `#! .'. This would cause the generated library to
12735 # depend on `.', always an invalid library. This was fixed in
12736 # development snapshots of GCC prior to 3.0.
12738 aix4 | aix4.
[01] | aix4.
[01].
*)
12739 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12741 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12744 can_build_shared
=no
12748 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12749 # soname into executable. Probably we can add versioning support to
12750 # collect2, so additional links can be useful in future.
12751 if test "$aix_use_runtimelinking" = yes; then
12752 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12753 # instead of lib<name>.a to let people know that these are not
12754 # typical AIX shared libraries.
12755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12757 # We preserve .a as extension for shared libraries through AIX4.2
12758 # and later when we are not doing run time linking.
12759 library_names_spec
='${libname}${release}.a $libname.a'
12760 soname_spec
='${libname}${release}${shared_ext}$major'
12762 shlibpath_var
=LIBPATH
12767 library_names_spec
='$libname.ixlibrary $libname.a'
12768 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12769 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'
12773 library_names_spec
='${libname}${shared_ext}'
12774 dynamic_linker
="$host_os ld.so"
12775 shlibpath_var
=LIBRARY_PATH
12781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12782 soname_spec
='${libname}${release}${shared_ext}$major'
12783 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12784 shlibpath_var
=LD_LIBRARY_PATH
12785 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12786 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12787 # the default ld.so.conf also contains /usr/contrib/lib and
12788 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12789 # libtool to hard-code these into programs
12792 cygwin
* | mingw
* | pw32
*)
12793 version_type
=windows
12798 case $GCC,$host_os in
12799 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12800 library_names_spec
='$libname.dll.a'
12801 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12802 postinstall_cmds
='base_file=`basename \${file}`~
12803 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12804 dldir=$destdir/`dirname \$dlpath`~
12805 test -d \$dldir || mkdir -p \$dldir~
12806 $install_prog $dir/$dlname \$dldir/$dlname~
12807 chmod a+x \$dldir/$dlname'
12808 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12809 dlpath=$dir/\$dldll~
12811 shlibpath_overrides_runpath
=yes
12815 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12816 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12817 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12820 # MinGW DLLs use traditional 'lib' prefix
12821 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12822 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12823 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12824 # It is most probably a Windows format PATH printed by
12825 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12826 # path with ; separators, and with drive letters. We can handle the
12827 # drive letters (cygwin fileutils understands them), so leave them,
12828 # especially as we might pass files found there to a mingw objdump,
12829 # which wouldn't understand a cygwinified path. Ahh.
12830 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12832 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12836 # pw32 DLLs use 'pw' prefix rather than 'lib'
12837 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12843 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12846 dynamic_linker
='Win32 ld.exe'
12847 # FIXME: first we should search . and the directory the executable is in
12851 darwin
* | rhapsody
*)
12852 dynamic_linker
="$host_os dyld"
12853 version_type
=darwin
12856 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12857 soname_spec
='${libname}${release}${major}$shared_ext'
12858 shlibpath_overrides_runpath
=yes
12859 shlibpath_var
=DYLD_LIBRARY_PATH
12860 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12862 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12870 soname_spec
='${libname}${release}${shared_ext}$major'
12871 shlibpath_var
=LD_LIBRARY_PATH
12878 freebsd
* | dragonfly
*)
12879 # DragonFly does not have aout. When/if they implement a new
12880 # versioning mechanism, adjust this.
12881 if test -x /usr
/bin
/objformat
; then
12882 objformat
=`/usr/bin/objformat`
12885 freebsd
[123]*) objformat
=aout
;;
12886 *) objformat
=elf
;;
12889 version_type
=freebsd-
$objformat
12890 case $version_type in
12892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12897 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12901 shlibpath_var
=LD_LIBRARY_PATH
12904 shlibpath_overrides_runpath
=yes
12906 freebsd3.
[01]* | freebsdelf3.
[01]*)
12907 shlibpath_overrides_runpath
=yes
12908 hardcode_into_libs
=yes
12910 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12911 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12912 shlibpath_overrides_runpath
=no
12913 hardcode_into_libs
=yes
12915 *) # from 4.6 on, and DragonFly
12916 shlibpath_overrides_runpath
=yes
12917 hardcode_into_libs
=yes
12926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12927 soname_spec
='${libname}${release}${shared_ext}$major'
12928 shlibpath_var
=LD_LIBRARY_PATH
12929 hardcode_into_libs
=yes
12932 hpux9
* | hpux10
* | hpux11
*)
12933 # Give a soname corresponding to the major version so that dld.sl refuses to
12934 # link against other versions.
12941 hardcode_into_libs
=yes
12942 dynamic_linker
="$host_os dld.so"
12943 shlibpath_var
=LD_LIBRARY_PATH
12944 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12946 soname_spec
='${libname}${release}${shared_ext}$major'
12947 if test "X$HPUX_IA64_MODE" = X32
; then
12948 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12950 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12952 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12956 hardcode_into_libs
=yes
12957 dynamic_linker
="$host_os dld.sl"
12958 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12959 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12961 soname_spec
='${libname}${release}${shared_ext}$major'
12962 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12963 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12967 dynamic_linker
="$host_os dld.sl"
12968 shlibpath_var
=SHLIB_PATH
12969 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12971 soname_spec
='${libname}${release}${shared_ext}$major'
12974 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12975 postinstall_cmds
='chmod 555 $lib'
12982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12983 soname_spec
='${libname}${release}${shared_ext}$major'
12984 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12985 shlibpath_var
=LD_LIBRARY_PATH
12986 shlibpath_overrides_runpath
=no
12987 hardcode_into_libs
=yes
12990 irix5
* | irix6
* | nonstopux
*)
12992 nonstopux
*) version_type
=nonstopux
;;
12994 if test "$lt_cv_prog_gnu_ld" = yes; then
13002 soname_spec
='${libname}${release}${shared_ext}$major'
13003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13005 irix5
* | nonstopux
*)
13006 libsuff
= shlibsuff
=
13009 case $LD in # libtool.m4 will add one of these switches to LD
13010 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13011 libsuff
= shlibsuff
= libmagic
=32-bit;;
13012 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13013 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13014 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13015 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13016 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13020 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13021 shlibpath_overrides_runpath
=no
13022 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13023 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13024 hardcode_into_libs
=yes
13027 # No shared lib support for Linux oldld, aout, or coff.
13028 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13032 # This must be Linux ELF.
13033 linux
* | k
*bsd
*-gnu)
13037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13038 soname_spec
='${libname}${release}${shared_ext}$major'
13039 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13040 shlibpath_var
=LD_LIBRARY_PATH
13041 shlibpath_overrides_runpath
=no
13042 # This implies no fast_install, which is unacceptable.
13043 # Some rework will be needed to allow for fast_install
13044 # before this can be enabled.
13045 hardcode_into_libs
=yes
13046 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13047 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13049 # Append ld.so.conf contents to the search path
13050 if test -f /etc
/ld.so.conf
; then
13051 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13052 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13055 # We used to test for /lib/ld.so.1 and disable shared libraries on
13056 # powerpc, because MkLinux only supported shared libraries with the
13057 # GNU dynamic linker. Since this was broken with cross compilers,
13058 # most powerpc-linux boxes support dynamic linking these days and
13059 # people can always --disable-shared, the test was removed, and we
13060 # assume the GNU/Linux dynamic linker is in use.
13061 dynamic_linker
='GNU/Linux ld.so'
13068 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13070 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13071 dynamic_linker
='NetBSD (a.out) ld.so'
13073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13074 soname_spec
='${libname}${release}${shared_ext}$major'
13075 dynamic_linker
='NetBSD ld.elf_so'
13077 shlibpath_var
=LD_LIBRARY_PATH
13078 shlibpath_overrides_runpath
=yes
13079 hardcode_into_libs
=yes
13084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13085 shlibpath_var
=LD_LIBRARY_PATH
13086 shlibpath_overrides_runpath
=yes
13093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13094 soname_spec
='${libname}${release}${shared_ext}$major'
13095 shlibpath_var
=LD_LIBRARY_PATH
13096 shlibpath_overrides_runpath
=yes
13101 sys_lib_dlsearch_path_spec
="/usr/lib"
13103 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13105 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13106 *) need_version
=no
;;
13108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13109 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13110 shlibpath_var
=LD_LIBRARY_PATH
13111 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13113 openbsd2.
[89] | openbsd2.
[89].
*)
13114 shlibpath_overrides_runpath
=no
13117 shlibpath_overrides_runpath
=yes
13121 shlibpath_overrides_runpath
=yes
13126 libname_spec
='$name'
13129 library_names_spec
='$libname${shared_ext} $libname.a'
13130 dynamic_linker
='OS/2 ld.exe'
13131 shlibpath_var
=LIBPATH
13134 osf3
* | osf4
* | osf5
*)
13138 soname_spec
='${libname}${release}${shared_ext}$major'
13139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13140 shlibpath_var
=LD_LIBRARY_PATH
13141 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13142 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13154 soname_spec
='${libname}${release}${shared_ext}$major'
13155 shlibpath_var
=LD_LIBRARY_PATH
13156 shlibpath_overrides_runpath
=yes
13157 hardcode_into_libs
=yes
13158 # ldd complains unless libraries are executable
13159 postinstall_cmds
='chmod +x $lib'
13164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13165 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13166 shlibpath_var
=LD_LIBRARY_PATH
13167 shlibpath_overrides_runpath
=yes
13168 if test "$with_gnu_ld" = yes; then
13176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13177 soname_spec
='${libname}${release}${shared_ext}$major'
13178 shlibpath_var
=LD_LIBRARY_PATH
13179 case $host_vendor in
13181 shlibpath_overrides_runpath
=no
13183 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13184 runpath_var
=LD_RUN_PATH
13192 shlibpath_overrides_runpath
=no
13193 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13199 if test -d /usr
/nec
;then
13201 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13202 soname_spec
='$libname${shared_ext}.$major'
13203 shlibpath_var
=LD_LIBRARY_PATH
13207 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13208 version_type
=freebsd-elf
13211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13212 soname_spec
='${libname}${release}${shared_ext}$major'
13213 shlibpath_var
=LD_LIBRARY_PATH
13214 hardcode_into_libs
=yes
13215 if test "$with_gnu_ld" = yes; then
13216 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13217 shlibpath_overrides_runpath
=no
13219 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13220 shlibpath_overrides_runpath
=yes
13223 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13227 sys_lib_dlsearch_path_spec
='/usr/lib'
13232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13233 soname_spec
='${libname}${release}${shared_ext}$major'
13234 shlibpath_var
=LD_LIBRARY_PATH
13241 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13242 echo "${ECHO_T}$dynamic_linker" >&6; }
13243 test "$dynamic_linker" = no
&& can_build_shared
=no
13245 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13246 if test "$GCC" = yes; then
13247 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13250 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13251 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13252 hardcode_action_CXX
=
13253 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13254 test -n "$runpath_var_CXX" || \
13255 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13257 # We can hardcode non-existant directories.
13258 if test "$hardcode_direct_CXX" != no
&&
13259 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13260 # have to relink, otherwise we might link with an installed library
13261 # when we should be linking with a yet-to-be-installed one
13262 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13263 test "$hardcode_minus_L_CXX" != no
; then
13264 # Linking always hardcodes the temporary library directory.
13265 hardcode_action_CXX
=relink
13267 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13268 hardcode_action_CXX
=immediate
13271 # We cannot hardcode anything, or else we can only hardcode existing
13273 hardcode_action_CXX
=unsupported
13275 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13276 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13278 if test "$hardcode_action_CXX" = relink
; then
13279 # Fast installation is not supported
13280 enable_fast_install
=no
13281 elif test "$shlibpath_overrides_runpath" = yes ||
13282 test "$enable_shared" = no
; then
13283 # Fast installation is not necessary
13284 enable_fast_install
=needless
13288 # The else clause should only fire when bootstrapping the
13289 # libtool distribution, otherwise you forgot to ship ltmain.sh
13290 # with your package, and you will get complaints that there are
13291 # no rules to generate ltmain.sh.
13292 if test -f "$ltmain"; then
13293 # See if we are running on zsh, and set the options which allow our commands through
13294 # without removal of \ escapes.
13295 if test -n "${ZSH_VERSION+set}" ; then
13296 setopt NO_GLOB_SUBST
13298 # Now quote all the things that may contain metacharacters while being
13299 # careful not to overquote the AC_SUBSTed values. We take copies of the
13300 # variables and quote the copies for generation of the libtool script.
13301 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13303 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13304 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13305 deplibs_check_method reload_flag reload_cmds need_locks \
13306 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13307 lt_cv_sys_global_symbol_to_c_name_address \
13308 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13309 old_postinstall_cmds old_postuninstall_cmds \
13313 lt_prog_compiler_wl_CXX \
13314 lt_prog_compiler_pic_CXX \
13315 lt_prog_compiler_static_CXX \
13316 lt_prog_compiler_no_builtin_flag_CXX \
13317 export_dynamic_flag_spec_CXX \
13318 thread_safe_flag_spec_CXX \
13319 whole_archive_flag_spec_CXX \
13320 enable_shared_with_static_runtimes_CXX \
13321 old_archive_cmds_CXX \
13322 old_archive_from_new_cmds_CXX \
13323 predep_objects_CXX \
13324 postdep_objects_CXX \
13327 compiler_lib_search_path_CXX \
13329 archive_expsym_cmds_CXX \
13330 postinstall_cmds_CXX \
13331 postuninstall_cmds_CXX \
13332 old_archive_from_expsyms_cmds_CXX \
13333 allow_undefined_flag_CXX \
13334 no_undefined_flag_CXX \
13335 export_symbols_cmds_CXX \
13336 hardcode_libdir_flag_spec_CXX \
13337 hardcode_libdir_flag_spec_ld_CXX \
13338 hardcode_libdir_separator_CXX \
13339 hardcode_automatic_CXX \
13341 module_expsym_cmds_CXX \
13342 lt_cv_prog_compiler_c_o_CXX \
13343 fix_srcfile_path_CXX \
13344 exclude_expsyms_CXX \
13345 include_expsyms_CXX
; do
13348 old_archive_cmds_CXX | \
13349 old_archive_from_new_cmds_CXX | \
13350 archive_cmds_CXX | \
13351 archive_expsym_cmds_CXX | \
13352 module_cmds_CXX | \
13353 module_expsym_cmds_CXX | \
13354 old_archive_from_expsyms_cmds_CXX | \
13355 export_symbols_cmds_CXX | \
13356 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13357 postinstall_cmds | postuninstall_cmds | \
13358 old_postinstall_cmds | old_postuninstall_cmds | \
13359 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13360 # Double-quote double-evaled strings.
13361 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13364 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13370 *'\$0 --fallback-echo"')
13371 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13377 cat <<__EOF__ >> "$cfgfile"
13378 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13380 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13382 # Shell to use when invoking shell scripts.
13385 # Whether or not to build shared libraries.
13386 build_libtool_libs=$enable_shared
13388 # Whether or not to build static libraries.
13389 build_old_libs=$enable_static
13391 # Whether or not to add -lc for building shared libraries.
13392 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13394 # Whether or not to disallow shared libs when runtime libs are static
13395 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13397 # Whether or not to optimize for fast installation.
13398 fast_install=$enable_fast_install
13401 host_alias=$host_alias
13405 # The build system.
13406 build_alias=$build_alias
13410 # An echo program that does not interpret backslashes.
13415 AR_FLAGS=$lt_AR_FLAGS
13420 # LTCC compiler flags.
13421 LTCFLAGS=$lt_LTCFLAGS
13423 # A language-specific compiler.
13424 CC=$lt_compiler_CXX
13426 # Is the compiler the GNU C compiler?
13432 # The linker used to build libraries.
13435 # Whether we need hard or soft links.
13438 # A BSD-compatible nm program.
13441 # A symbol stripping program
13444 # Used to examine libraries when file_magic_cmd begins "file"
13445 MAGIC_CMD=$MAGIC_CMD
13447 # Used on cygwin: DLL creation program.
13450 # Used on cygwin: object dumper.
13453 # Used on cygwin: assembler.
13456 # The name of the directory that contains temporary libtool files.
13459 # How to create reloadable object files.
13460 reload_flag=$lt_reload_flag
13461 reload_cmds=$lt_reload_cmds
13463 # How to pass a linker flag through the compiler.
13464 wl=$lt_lt_prog_compiler_wl_CXX
13466 # Object file suffix (normally "o").
13467 objext="$ac_objext"
13469 # Old archive suffix (normally "a").
13472 # Shared library suffix (normally ".so").
13473 shrext_cmds='$shrext_cmds'
13475 # Executable file suffix (normally "").
13478 # Additional compiler flags for building library objects.
13479 pic_flag=$lt_lt_prog_compiler_pic_CXX
13482 # What is the maximum length of a command?
13483 max_cmd_len=$lt_cv_sys_max_cmd_len
13485 # Does compiler simultaneously support -c and -o options?
13486 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13488 # Must we lock files when doing compilation?
13489 need_locks=$lt_need_locks
13491 # Do we need the lib prefix for modules?
13492 need_lib_prefix=$need_lib_prefix
13494 # Do we need a version for libraries?
13495 need_version=$need_version
13497 # Whether dlopen is supported.
13498 dlopen_support=$enable_dlopen
13500 # Whether dlopen of programs is supported.
13501 dlopen_self=$enable_dlopen_self
13503 # Whether dlopen of statically linked programs is supported.
13504 dlopen_self_static=$enable_dlopen_self_static
13506 # Compiler flag to prevent dynamic linking.
13507 link_static_flag=$lt_lt_prog_compiler_static_CXX
13509 # Compiler flag to turn off builtin functions.
13510 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13512 # Compiler flag to allow reflexive dlopens.
13513 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13515 # Compiler flag to generate shared objects directly from archives.
13516 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13518 # Compiler flag to generate thread-safe objects.
13519 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13521 # Library versioning type.
13522 version_type=$version_type
13524 # Format of library name prefix.
13525 libname_spec=$lt_libname_spec
13527 # List of archive names. First name is the real one, the rest are links.
13528 # The last name is the one that the linker finds with -lNAME.
13529 library_names_spec=$lt_library_names_spec
13531 # The coded name of the library, if different from the real name.
13532 soname_spec=$lt_soname_spec
13534 # Commands used to build and install an old-style archive.
13536 old_archive_cmds=$lt_old_archive_cmds_CXX
13537 old_postinstall_cmds=$lt_old_postinstall_cmds
13538 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13540 # Create an old-style archive from a shared archive.
13541 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13543 # Create a temporary old-style archive to link instead of a shared archive.
13544 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13546 # Commands used to build and install a shared archive.
13547 archive_cmds=$lt_archive_cmds_CXX
13548 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13549 postinstall_cmds=$lt_postinstall_cmds
13550 postuninstall_cmds=$lt_postuninstall_cmds
13552 # Commands used to build a loadable module (assumed same as above if empty)
13553 module_cmds=$lt_module_cmds_CXX
13554 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13556 # Commands to strip libraries.
13557 old_striplib=$lt_old_striplib
13558 striplib=$lt_striplib
13560 # Dependencies to place before the objects being linked to create a
13562 predep_objects=$lt_predep_objects_CXX
13564 # Dependencies to place after the objects being linked to create a
13566 postdep_objects=$lt_postdep_objects_CXX
13568 # Dependencies to place before the objects being linked to create a
13570 predeps=$lt_predeps_CXX
13572 # Dependencies to place after the objects being linked to create a
13574 postdeps=$lt_postdeps_CXX
13576 # The library search path used internally by the compiler when linking
13577 # a shared library.
13578 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13580 # Method to check whether dependent libraries are shared objects.
13581 deplibs_check_method=$lt_deplibs_check_method
13583 # Command to use when deplibs_check_method == file_magic.
13584 file_magic_cmd=$lt_file_magic_cmd
13586 # Flag that allows shared libraries with undefined symbols to be built.
13587 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13589 # Flag that forces no undefined symbols.
13590 no_undefined_flag=$lt_no_undefined_flag_CXX
13592 # Commands used to finish a libtool library installation in a directory.
13593 finish_cmds=$lt_finish_cmds
13595 # Same as above, but a single script fragment to be evaled but not shown.
13596 finish_eval=$lt_finish_eval
13598 # Take the output of nm and produce a listing of raw symbols and C names.
13599 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13601 # Transform the output of nm in a proper C declaration
13602 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13604 # Transform the output of nm in a C name address pair
13605 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13607 # This is the shared library runtime path variable.
13608 runpath_var=$runpath_var
13610 # This is the shared library path variable.
13611 shlibpath_var=$shlibpath_var
13613 # Is shlibpath searched before the hard-coded library search path?
13614 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13616 # How to hardcode a shared library path into an executable.
13617 hardcode_action=$hardcode_action_CXX
13619 # Whether we should hardcode library paths into libraries.
13620 hardcode_into_libs=$hardcode_into_libs
13622 # Flag to hardcode \$libdir into a binary during linking.
13623 # This must work even if \$libdir does not exist.
13624 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13626 # If ld is used when linking, flag to hardcode \$libdir into
13627 # a binary during linking. This must work even if \$libdir does
13629 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13631 # Whether we need a single -rpath flag with a separated argument.
13632 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13634 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13635 # resulting binary.
13636 hardcode_direct=$hardcode_direct_CXX
13638 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13639 # resulting binary.
13640 hardcode_minus_L=$hardcode_minus_L_CXX
13642 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13643 # the resulting binary.
13644 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13646 # Set to yes if building a shared library automatically hardcodes DIR into the library
13647 # and all subsequent libraries and executables linked against it.
13648 hardcode_automatic=$hardcode_automatic_CXX
13650 # Variables whose values should be saved in libtool wrapper scripts and
13651 # restored at relink time.
13652 variables_saved_for_relink="$variables_saved_for_relink"
13654 # Whether libtool must link a program against all its dependency libraries.
13655 link_all_deplibs=$link_all_deplibs_CXX
13657 # Compile-time system search path for libraries
13658 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13660 # Run-time system search path for libraries
13661 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13663 # Fix the shell variable \$srcfile for the compiler.
13664 fix_srcfile_path=$lt_fix_srcfile_path
13666 # Set to yes if exported symbols are required.
13667 always_export_symbols=$always_export_symbols_CXX
13669 # The commands to list exported symbols.
13670 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13672 # The commands to extract the exported symbol list from a shared archive.
13673 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13675 # Symbols that should not be listed in the preloaded symbols.
13676 exclude_expsyms=$lt_exclude_expsyms_CXX
13678 # Symbols that must always be exported.
13679 include_expsyms=$lt_include_expsyms_CXX
13681 # ### END LIBTOOL TAG CONFIG: $tagname
13687 # If there is no Makefile yet, we rely on a make rule to execute
13688 # `config.status --recheck' to rerun these tests and create the
13689 # libtool script then.
13690 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13691 if test -f "$ltmain_in"; then
13692 test -f Makefile
&& make "$ltmain"
13698 ac_cpp
='$CPP $CPPFLAGS'
13699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13707 with_gnu_ldcxx
=$with_gnu_ld
13708 with_gnu_ld
=$lt_save_with_gnu_ld
13709 lt_cv_path_LDCXX
=$lt_cv_path_LD
13710 lt_cv_path_LD
=$lt_save_path_LD
13711 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13712 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13720 if test -n "$F77" && test "X$F77" != "Xno"; then
13723 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13724 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13725 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13728 archive_cmds_need_lc_F77
=no
13729 allow_undefined_flag_F77
=
13730 always_export_symbols_F77
=no
13731 archive_expsym_cmds_F77
=
13732 export_dynamic_flag_spec_F77
=
13733 hardcode_direct_F77
=no
13734 hardcode_libdir_flag_spec_F77
=
13735 hardcode_libdir_flag_spec_ld_F77
=
13736 hardcode_libdir_separator_F77
=
13737 hardcode_minus_L_F77
=no
13738 hardcode_automatic_F77
=no
13740 module_expsym_cmds_F77
=
13741 link_all_deplibs_F77
=unknown
13742 old_archive_cmds_F77
=$old_archive_cmds
13743 no_undefined_flag_F77
=
13744 whole_archive_flag_spec_F77
=
13745 enable_shared_with_static_runtimes_F77
=no
13747 # Source file extension for f77 test sources.
13750 # Object file extension for compiled f77 test sources.
13754 # Code to be used in simple compile tests
13755 lt_simple_compile_test_code
="\
13761 # Code to be used in simple link tests
13762 lt_simple_link_test_code
="\
13767 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13769 # If no C compiler was specified, use CC.
13772 # If no C compiler flags were specified, use CFLAGS.
13773 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13775 # Allow CC to be a program name with arguments.
13779 # save warnings/boilerplate of simple test code
13780 ac_outfile
=conftest.
$ac_objext
13781 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13782 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13783 _lt_compiler_boilerplate
=`cat conftest.err`
13786 ac_outfile
=conftest.
$ac_objext
13787 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13788 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13789 _lt_linker_boilerplate
=`cat conftest.err`
13793 # Allow CC to be a program name with arguments.
13798 for cc_temp
in $compiler""; do
13800 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13801 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13806 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13809 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13810 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13811 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13812 echo "${ECHO_T}$can_build_shared" >&6; }
13814 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13815 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13816 test "$can_build_shared" = "no" && enable_shared
=no
13818 # On AIX, shared libraries and static libraries use the same namespace, and
13819 # are all built from PIC.
13822 test "$enable_shared" = yes && enable_static
=no
13823 if test -n "$RANLIB"; then
13824 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13825 postinstall_cmds
='$RANLIB $lib'
13829 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13830 test "$enable_shared" = yes && enable_static
=no
13834 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13835 echo "${ECHO_T}$enable_shared" >&6; }
13837 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13838 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13839 # Make sure either enable_shared or enable_static is yes.
13840 test "$enable_shared" = yes || enable_static
=yes
13841 { echo "$as_me:$LINENO: result: $enable_static" >&5
13842 echo "${ECHO_T}$enable_static" >&6; }
13847 lt_prog_compiler_wl_F77
=
13848 lt_prog_compiler_pic_F77
=
13849 lt_prog_compiler_static_F77
=
13851 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13852 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13854 if test "$GCC" = yes; then
13855 lt_prog_compiler_wl_F77
='-Wl,'
13856 lt_prog_compiler_static_F77
='-static'
13860 # All AIX code is PIC.
13861 if test "$host_cpu" = ia64
; then
13862 # AIX 5 now supports IA64 processor
13863 lt_prog_compiler_static_F77
='-Bstatic'
13868 # FIXME: we need at least 68020 code to build shared libraries, but
13869 # adding the `-m68020' flag to GCC prevents building anything better,
13871 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13874 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13875 # PIC is the default for these OSes.
13878 mingw
* | cygwin
* | pw32
* | os2
*)
13879 # This hack is so that the source file can tell whether it is being
13880 # built for inclusion in a dll (and should export symbols for example).
13881 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13882 # (--disable-auto-import) libraries
13883 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13886 darwin
* | rhapsody
*)
13887 # PIC is the default on this platform
13888 # Common symbols not allowed in MH_DYLIB files
13889 lt_prog_compiler_pic_F77
='-fno-common'
13893 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13894 # Instead, we relocate shared libraries at runtime.
13898 # Just because we use GCC doesn't mean we suddenly get shared libraries
13899 # on systems that don't support them.
13900 lt_prog_compiler_can_build_shared_F77
=no
13905 if test -d /usr
/nec
; then
13906 lt_prog_compiler_pic_F77
=-Kconform_pic
13911 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13912 # not for PA HP-UX.
13918 lt_prog_compiler_pic_F77
='-fPIC'
13924 lt_prog_compiler_pic_F77
='-fPIC'
13928 # PORTME Check for flag to pass linker flags through the system compiler.
13931 lt_prog_compiler_wl_F77
='-Wl,'
13932 if test "$host_cpu" = ia64
; then
13933 # AIX 5 now supports IA64 processor
13934 lt_prog_compiler_static_F77
='-Bstatic'
13936 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13940 # PIC is the default on this platform
13941 # Common symbols not allowed in MH_DYLIB files
13942 case $cc_basename in
13944 lt_prog_compiler_pic_F77
='-qnocommon'
13945 lt_prog_compiler_wl_F77
='-Wl,'
13950 mingw
* | cygwin
* | pw32
* | os2
*)
13951 # This hack is so that the source file can tell whether it is being
13952 # built for inclusion in a dll (and should export symbols for example).
13953 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13956 hpux9
* | hpux10
* | hpux11
*)
13957 lt_prog_compiler_wl_F77
='-Wl,'
13958 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13959 # not for PA HP-UX.
13965 lt_prog_compiler_pic_F77
='+Z'
13968 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13969 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13972 irix5
* | irix6
* | nonstopux
*)
13973 lt_prog_compiler_wl_F77
='-Wl,'
13974 # PIC (with -KPIC) is the default.
13975 lt_prog_compiler_static_F77
='-non_shared'
13979 lt_prog_compiler_pic_F77
='-KPIC'
13980 lt_prog_compiler_static_F77
='-Bstatic'
13983 linux
* | k
*bsd
*-gnu)
13984 case $cc_basename in
13986 lt_prog_compiler_wl_F77
='-Wl,'
13987 lt_prog_compiler_pic_F77
='-KPIC'
13988 lt_prog_compiler_static_F77
='-static'
13990 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13991 # Portland Group compilers (*not* the Pentium gcc compiler,
13992 # which looks to be a dead project)
13993 lt_prog_compiler_wl_F77
='-Wl,'
13994 lt_prog_compiler_pic_F77
='-fpic'
13995 lt_prog_compiler_static_F77
='-Bstatic'
13998 lt_prog_compiler_wl_F77
='-Wl,'
13999 # All Alpha code is PIC.
14000 lt_prog_compiler_static_F77
='-non_shared'
14003 case `$CC -V 2>&1 | sed 5q` in
14006 lt_prog_compiler_pic_F77
='-KPIC'
14007 lt_prog_compiler_static_F77
='-Bstatic'
14008 lt_prog_compiler_wl_F77
='-Wl,'
14011 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14012 lt_prog_compiler_pic_F77
='-KPIC'
14013 lt_prog_compiler_static_F77
='-Bstatic'
14014 lt_prog_compiler_wl_F77
=''
14021 osf3
* | osf4
* | osf5
*)
14022 lt_prog_compiler_wl_F77
='-Wl,'
14023 # All OSF/1 code is PIC.
14024 lt_prog_compiler_static_F77
='-non_shared'
14028 lt_prog_compiler_static_F77
='-non_shared'
14032 lt_prog_compiler_pic_F77
='-KPIC'
14033 lt_prog_compiler_static_F77
='-Bstatic'
14034 case $cc_basename in
14035 f77
* | f90
* | f95
*)
14036 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14038 lt_prog_compiler_wl_F77
='-Wl,';;
14043 lt_prog_compiler_wl_F77
='-Qoption ld '
14044 lt_prog_compiler_pic_F77
='-PIC'
14045 lt_prog_compiler_static_F77
='-Bstatic'
14048 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14049 lt_prog_compiler_wl_F77
='-Wl,'
14050 lt_prog_compiler_pic_F77
='-KPIC'
14051 lt_prog_compiler_static_F77
='-Bstatic'
14055 if test -d /usr
/nec
;then
14056 lt_prog_compiler_pic_F77
='-Kconform_pic'
14057 lt_prog_compiler_static_F77
='-Bstatic'
14061 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14062 lt_prog_compiler_wl_F77
='-Wl,'
14063 lt_prog_compiler_pic_F77
='-KPIC'
14064 lt_prog_compiler_static_F77
='-Bstatic'
14068 lt_prog_compiler_wl_F77
='-Wl,'
14069 lt_prog_compiler_can_build_shared_F77
=no
14073 lt_prog_compiler_pic_F77
='-pic'
14074 lt_prog_compiler_static_F77
='-Bstatic'
14078 lt_prog_compiler_can_build_shared_F77
=no
14083 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14084 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14087 # Check to make sure the PIC flag actually works.
14089 if test -n "$lt_prog_compiler_pic_F77"; then
14091 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14092 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14093 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 lt_prog_compiler_pic_works_F77
=no
14097 ac_outfile
=conftest.
$ac_objext
14098 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14099 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14100 # Insert the option either (1) after the last *FLAGS variable, or
14101 # (2) before a word containing "conftest.", or (3) at the end.
14102 # Note that $ac_compile itself does not contain backslashes and begins
14103 # with a dollar sign (not a hyphen), so the echo should work correctly.
14104 # The option is referenced via a variable to avoid confusing sed.
14105 lt_compile
=`echo "$ac_compile" | $SED \
14106 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14107 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14108 -e 's:$: $lt_compiler_flag:'`
14109 (eval echo "\"\$as_me:14109: $lt_compile\"" >&5)
14110 (eval "$lt_compile" 2>conftest.err
)
14112 cat conftest.err
>&5
14113 echo "$as_me:14113: \$? = $ac_status" >&5
14114 if (exit $ac_status) && test -s "$ac_outfile"; then
14115 # The compiler can only warn and ignore the option if not recognized
14116 # So say no if there are warnings other than the usual output.
14117 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14118 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14119 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14120 lt_prog_compiler_pic_works_F77
=yes
14126 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14127 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14129 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14130 case $lt_prog_compiler_pic_F77 in
14132 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14135 lt_prog_compiler_pic_F77
=
14136 lt_prog_compiler_can_build_shared_F77
=no
14141 # For platforms which do not support PIC, -DPIC is meaningless:
14143 lt_prog_compiler_pic_F77
=
14146 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14151 # Check to make sure the static flag actually works.
14153 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14154 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14155 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14156 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14157 echo $ECHO_N "(cached) $ECHO_C" >&6
14159 lt_prog_compiler_static_works_F77
=no
14160 save_LDFLAGS
="$LDFLAGS"
14161 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14162 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14163 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14164 # The linker can only warn and ignore the option if not recognized
14165 # So say no if there are warnings
14166 if test -s conftest.err
; then
14167 # Append any errors to the config.log.
14168 cat conftest.err
1>&5
14169 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14170 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14171 if diff conftest.exp conftest.er2
>/dev
/null
; then
14172 lt_prog_compiler_static_works_F77
=yes
14175 lt_prog_compiler_static_works_F77
=yes
14179 LDFLAGS
="$save_LDFLAGS"
14182 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14183 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14185 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14188 lt_prog_compiler_static_F77
=
14192 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14193 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14194 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14195 echo $ECHO_N "(cached) $ECHO_C" >&6
14197 lt_cv_prog_compiler_c_o_F77
=no
14198 $rm -r conftest
2>/dev
/null
14202 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14204 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14205 # Insert the option either (1) after the last *FLAGS variable, or
14206 # (2) before a word containing "conftest.", or (3) at the end.
14207 # Note that $ac_compile itself does not contain backslashes and begins
14208 # with a dollar sign (not a hyphen), so the echo should work correctly.
14209 lt_compile
=`echo "$ac_compile" | $SED \
14210 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14211 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14212 -e 's:$: $lt_compiler_flag:'`
14213 (eval echo "\"\$as_me:14213: $lt_compile\"" >&5)
14214 (eval "$lt_compile" 2>out
/conftest.err
)
14216 cat out
/conftest.err
>&5
14217 echo "$as_me:14217: \$? = $ac_status" >&5
14218 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14220 # The compiler can only warn and ignore the option if not recognized
14221 # So say no if there are warnings
14222 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14223 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14224 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14225 lt_cv_prog_compiler_c_o_F77
=yes
14230 # SGI C++ compiler will create directory out/ii_files/ for
14231 # template instantiation
14232 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14233 $rm out
/* && rmdir out
14239 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14240 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14243 hard_links
="nottested"
14244 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14245 # do not overwrite the value of need_locks provided by the user
14246 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14247 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14250 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14252 ln conftest.a conftest.b
2>&5 || hard_links
=no
14253 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14254 { echo "$as_me:$LINENO: result: $hard_links" >&5
14255 echo "${ECHO_T}$hard_links" >&6; }
14256 if test "$hard_links" = no
; then
14257 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14258 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14265 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14266 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14269 allow_undefined_flag_F77
=
14270 enable_shared_with_static_runtimes_F77
=no
14272 archive_expsym_cmds_F77
=
14273 old_archive_From_new_cmds_F77
=
14274 old_archive_from_expsyms_cmds_F77
=
14275 export_dynamic_flag_spec_F77
=
14276 whole_archive_flag_spec_F77
=
14277 thread_safe_flag_spec_F77
=
14278 hardcode_libdir_flag_spec_F77
=
14279 hardcode_libdir_flag_spec_ld_F77
=
14280 hardcode_libdir_separator_F77
=
14281 hardcode_direct_F77
=no
14282 hardcode_minus_L_F77
=no
14283 hardcode_shlibpath_var_F77
=unsupported
14284 link_all_deplibs_F77
=unknown
14285 hardcode_automatic_F77
=no
14287 module_expsym_cmds_F77
=
14288 always_export_symbols_F77
=no
14289 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14290 # include_expsyms should be a list of space-separated symbols to be *always*
14291 # included in the symbol list
14292 include_expsyms_F77
=
14293 # exclude_expsyms can be an extended regexp of symbols to exclude
14294 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14295 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14296 # as well as any symbol that contains `d'.
14297 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14298 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14299 # platforms (ab)use it in PIC code, but their linkers get confused if
14300 # the symbol is explicitly referenced. Since portable code cannot
14301 # rely on this symbol name, it's probably fine to never include it in
14302 # preloaded symbol tables.
14303 extract_expsyms_cmds
=
14304 # Just being paranoid about ensuring that cc_basename is set.
14305 for cc_temp
in $compiler""; do
14307 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14308 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14313 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14316 cygwin
* | mingw
* | pw32
*)
14317 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14318 # When not using gcc, we currently assume that we are using
14319 # Microsoft Visual C++.
14320 if test "$GCC" != yes; then
14325 # we just hope/assume this is gcc and not c89 (= MSVC++)
14334 if test "$with_gnu_ld" = yes; then
14335 # If archive_cmds runs LD, not CC, wlarc should be empty
14338 # Set some defaults for GNU ld with shared library support. These
14339 # are reset later if shared libraries are not supported. Putting them
14340 # here allows them to be overridden if necessary.
14341 runpath_var
=LD_RUN_PATH
14342 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14343 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14344 # ancient GNU ld didn't support --whole-archive et. al.
14345 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14346 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14348 whole_archive_flag_spec_F77
=
14350 supports_anon_versioning
=no
14351 case `$LD -v 2>/dev/null` in
14352 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14353 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14354 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14355 *\
2.11.
*) ;; # other 2.11 versions
14356 *) supports_anon_versioning
=yes ;;
14359 # See if GNU ld supports shared libraries.
14361 aix3
* | aix4
* | aix5
*)
14362 # On AIX/PPC, the GNU linker is very broken
14363 if test "$host_cpu" != ia64
; then
14367 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14368 *** to be unable to reliably create shared libraries on AIX.
14369 *** Therefore, libtool is disabling shared libraries support. If you
14370 *** really care for shared libraries, you may want to modify your PATH
14371 *** so that a non-GNU linker is found, and then restart.
14378 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)'
14379 hardcode_libdir_flag_spec_F77
='-L$libdir'
14380 hardcode_minus_L_F77
=yes
14382 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14383 # that the semantics of dynamic libraries on AmigaOS, at least up
14384 # to version 4, is to share data among multiple programs linked
14385 # with the same dynamic library. Since this doesn't match the
14386 # behavior of shared libraries on other platforms, we can't use
14392 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14393 allow_undefined_flag_F77
=unsupported
14394 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14395 # support --undefined. This deserves some investigation. FIXME
14396 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14402 cygwin
* | mingw
* | pw32
*)
14403 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14404 # as there is no search path for DLLs.
14405 hardcode_libdir_flag_spec_F77
='-L$libdir'
14406 allow_undefined_flag_F77
=unsupported
14407 always_export_symbols_F77
=no
14408 enable_shared_with_static_runtimes_F77
=yes
14409 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14411 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14412 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14413 # If the export-symbols file already is a .def file (1st line
14414 # is EXPORTS), use it as is; otherwise, prepend...
14415 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14416 cp $export_symbols $output_objdir/$soname.def;
14418 echo EXPORTS > $output_objdir/$soname.def;
14419 cat $export_symbols >> $output_objdir/$soname.def;
14421 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14428 hardcode_direct_F77
=no
14429 hardcode_shlibpath_var_F77
=no
14430 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14431 export_dynamic_flag_spec_F77
='${wl}-E'
14432 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14433 # Instead, shared libraries are loaded at an image base (0x10000000 by
14434 # default) and relocated if they conflict, which is a slow very memory
14435 # consuming and fragmenting process. To avoid this, we pick a random,
14436 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14437 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14438 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'
14439 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'
14442 gnu
* | linux
* | k
*bsd
*-gnu)
14443 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14445 case $cc_basename,$host_cpu in
14446 pgcc
*) # Portland Group C compiler
14447 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'
14448 tmp_addflag
=' $pic_flag'
14450 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14451 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'
14452 tmp_addflag
=' $pic_flag -Mnomain' ;;
14453 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14454 tmp_addflag
=' -i_dynamic' ;;
14455 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14456 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14457 ifc
* | ifort
*) # Intel Fortran compiler
14458 tmp_addflag
=' -nofor_main' ;;
14460 case `$CC -V 2>&1 | sed 5q` in
14461 *Sun\ C
*) # Sun C 5.9
14462 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14463 tmp_sharedflag
='-G' ;;
14464 *Sun\ F
*) # Sun Fortran 8.3
14465 tmp_sharedflag
='-G' ;;
14467 tmp_sharedflag
='-shared' ;;
14469 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14471 if test $supports_anon_versioning = yes; then
14472 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14473 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14474 $echo "local: *; };" >> $output_objdir/$libname.ver~
14475 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14483 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14484 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14487 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14488 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14493 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14497 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14498 *** create shared libraries on Solaris systems. Therefore, libtool
14499 *** is disabling shared libraries support. We urge you to upgrade GNU
14500 *** binutils to release 2.9.1 or newer. Another option is to modify
14501 *** your PATH or compiler configuration so that the native linker is
14502 *** used, and then restart.
14505 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14506 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14507 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14513 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14514 case `$LD -v 2>&1` in
14515 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14519 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14520 *** reliably create shared libraries on SCO systems. Therefore, libtool
14521 *** is disabling shared libraries support. We urge you to upgrade GNU
14522 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14523 *** your PATH or compiler configuration so that the native linker is
14524 *** used, and then restart.
14529 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14530 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14531 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14532 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14541 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14543 hardcode_direct_F77
=yes
14544 hardcode_shlibpath_var_F77
=no
14548 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14549 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14550 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14557 if test "$ld_shlibs_F77" = no
; then
14559 hardcode_libdir_flag_spec_F77
=
14560 export_dynamic_flag_spec_F77
=
14561 whole_archive_flag_spec_F77
=
14564 # PORTME fill in a description of your system's linker (not GNU ld)
14567 allow_undefined_flag_F77
=unsupported
14568 always_export_symbols_F77
=yes
14569 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'
14570 # Note: this linker hardcodes the directories in LIBPATH if there
14571 # are no directories specified by -L.
14572 hardcode_minus_L_F77
=yes
14573 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14574 # Neither direct hardcoding nor static linking is supported with a
14576 hardcode_direct_F77
=unsupported
14581 if test "$host_cpu" = ia64
; then
14582 # On IA64, the linker does run time linking by default, so we don't
14583 # have to do anything special.
14584 aix_use_runtimelinking
=no
14585 exp_sym_flag
='-Bexport'
14588 # If we're using GNU nm, then we don't want the "-C" option.
14589 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14590 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14591 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'
14593 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'
14595 aix_use_runtimelinking
=no
14597 # Test if we are trying to use run time linking or normal
14598 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14599 # need to do runtime linking.
14600 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14601 for ld_flag
in $LDFLAGS; do
14602 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14603 aix_use_runtimelinking
=yes
14610 exp_sym_flag
='-bexport'
14611 no_entry_flag
='-bnoentry'
14614 # When large executables or shared objects are built, AIX ld can
14615 # have problems creating the table of contents. If linking a library
14616 # or program results in "error TOC overflow" add -mminimal-toc to
14617 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14618 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14620 archive_cmds_F77
=''
14621 hardcode_direct_F77
=yes
14622 hardcode_libdir_separator_F77
=':'
14623 link_all_deplibs_F77
=yes
14625 if test "$GCC" = yes; then
14626 case $host_os in aix4.
[012]|aix4.
[012].
*)
14627 # We only want to do this on AIX 4.2 and lower, the check
14628 # below for broken collect2 doesn't work under 4.3+
14629 collect2name
=`${CC} -print-prog-name=collect2`
14630 if test -f "$collect2name" && \
14631 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14633 # We have reworked collect2
14636 # We have old collect2
14637 hardcode_direct_F77
=unsupported
14638 # It fails to find uninstalled libraries when the uninstalled
14639 # path is not listed in the libpath. Setting hardcode_minus_L
14640 # to unsupported forces relinking
14641 hardcode_minus_L_F77
=yes
14642 hardcode_libdir_flag_spec_F77
='-L$libdir'
14643 hardcode_libdir_separator_F77
=
14647 shared_flag
='-shared'
14648 if test "$aix_use_runtimelinking" = yes; then
14649 shared_flag
="$shared_flag "'${wl}-G'
14653 if test "$host_cpu" = ia64
; then
14654 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14655 # chokes on -Wl,-G. The following line is correct:
14658 if test "$aix_use_runtimelinking" = yes; then
14659 shared_flag
='${wl}-G'
14661 shared_flag
='${wl}-bM:SRE'
14666 # It seems that -bexpall does not export symbols beginning with
14667 # underscore (_), so it is better to generate a list of symbols to export.
14668 always_export_symbols_F77
=yes
14669 if test "$aix_use_runtimelinking" = yes; then
14670 # Warning - without using the other runtime loading flags (-brtl),
14671 # -berok will link without error, but may produce a broken library.
14672 allow_undefined_flag_F77
='-berok'
14673 # Determine the default libpath from the value encoded in an empty executable.
14674 cat >conftest.
$ac_ext <<_ACEOF
14679 rm -f conftest.
$ac_objext conftest
$ac_exeext
14680 if { (ac_try
="$ac_link"
14681 case "(($ac_try" in
14682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14683 *) ac_try_echo=$ac_try;;
14685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14686 (eval "$ac_link") 2>conftest.er1
14688 grep -v '^ *+' conftest.er1 >conftest.err
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } && {
14693 test -z "$ac_f77_werror_flag" ||
14694 test ! -s conftest.err
14695 } && test -s conftest$ac_exeext &&
14696 $as_test_x conftest$ac_exeext; then
14698 lt_aix_libpath_sed='
14699 /Import File Strings/,/^$/ {
14705 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14706 # Check for a 64-bit object if we didn't find anything.
14707 if test -z "$aix_libpath"; then
14708 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14718 conftest$ac_exeext conftest.$ac_ext
14719 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14721 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14722 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"
14724 if test "$host_cpu" = ia64; then
14725 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14726 allow_undefined_flag_F77="-z nodefs"
14727 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"
14729 # Determine the default libpath from the value encoded in an empty executable.
14730 cat >conftest.$ac_ext <<_ACEOF
14735 rm -f conftest.$ac_objext conftest$ac_exeext
14736 if { (ac_try="$ac_link"
14737 case "(($ac_try" in
14738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14739 *) ac_try_echo
=$ac_try;;
14741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14742 (eval "$ac_link") 2>conftest.er1
14744 grep -v '^ *+' conftest.er1
>conftest.err
14746 cat conftest.err
>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); } && {
14749 test -z "$ac_f77_werror_flag" ||
14750 test ! -s conftest.err
14751 } && test -s conftest
$ac_exeext &&
14752 $as_test_x conftest
$ac_exeext; then
14754 lt_aix_libpath_sed
='
14755 /Import File Strings/,/^$/ {
14761 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14762 # Check for a 64-bit object if we didn't find anything.
14763 if test -z "$aix_libpath"; then
14764 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14767 echo "$as_me: failed program was:" >&5
14768 sed 's/^/| /' conftest.
$ac_ext >&5
14773 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14774 conftest
$ac_exeext conftest.
$ac_ext
14775 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14777 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14778 # Warning - without using the other run time loading flags,
14779 # -berok will link without error, but may produce a broken library.
14780 no_undefined_flag_F77
=' ${wl}-bernotok'
14781 allow_undefined_flag_F77
=' ${wl}-berok'
14782 # Exported symbols can be pulled into shared objects from archives
14783 whole_archive_flag_spec_F77
='$convenience'
14784 archive_cmds_need_lc_F77
=yes
14785 # This is similar to how AIX traditionally builds its shared libraries.
14786 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'
14792 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)'
14793 hardcode_libdir_flag_spec_F77
='-L$libdir'
14794 hardcode_minus_L_F77
=yes
14795 # see comment about different semantics on the GNU ld section
14800 export_dynamic_flag_spec_F77
=-rdynamic
14803 cygwin
* | mingw
* | pw32
*)
14804 # When not using gcc, we currently assume that we are using
14805 # Microsoft Visual C++.
14806 # hardcode_libdir_flag_spec is actually meaningless, as there is
14807 # no search path for DLLs.
14808 hardcode_libdir_flag_spec_F77
=' '
14809 allow_undefined_flag_F77
=unsupported
14810 # Tell ltmain to make .lib files, not .a files.
14812 # Tell ltmain to make .dll files, not .so files.
14814 # FIXME: Setting linknames here is a bad hack.
14815 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14816 # The linker will automatically build a .lib file if we build a DLL.
14817 old_archive_From_new_cmds_F77
='true'
14818 # FIXME: Should let the user specify the lib program.
14819 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14820 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14821 enable_shared_with_static_runtimes_F77
=yes
14824 darwin
* | rhapsody
*)
14826 rhapsody
* | darwin1.
[012])
14827 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14830 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14831 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14833 case ${MACOSX_DEPLOYMENT_TARGET} in
14835 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14838 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14844 archive_cmds_need_lc_F77
=no
14845 hardcode_direct_F77
=no
14846 hardcode_automatic_F77
=yes
14847 hardcode_shlibpath_var_F77
=unsupported
14848 whole_archive_flag_spec_F77
=''
14849 link_all_deplibs_F77
=yes
14850 if test "$GCC" = yes ; then
14851 output_verbose_link_cmd
='echo'
14852 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14853 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14854 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14855 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}'
14856 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}'
14858 case $cc_basename in
14860 output_verbose_link_cmd
='echo'
14861 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14862 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14863 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14864 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14865 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}'
14875 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14876 hardcode_libdir_flag_spec_F77
='-L$libdir'
14877 hardcode_shlibpath_var_F77
=no
14884 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14885 # support. Future versions do this automatically, but an explicit c++rt0.o
14886 # does not break anything, and helps significantly (at the cost of a little
14889 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14890 hardcode_libdir_flag_spec_F77
='-R$libdir'
14891 hardcode_direct_F77
=yes
14892 hardcode_shlibpath_var_F77
=no
14895 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14897 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14898 hardcode_direct_F77
=yes
14899 hardcode_minus_L_F77
=yes
14900 hardcode_shlibpath_var_F77
=no
14903 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14904 freebsd
* | dragonfly
*)
14905 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14906 hardcode_libdir_flag_spec_F77
='-R$libdir'
14907 hardcode_direct_F77
=yes
14908 hardcode_shlibpath_var_F77
=no
14912 if test "$GCC" = yes; then
14913 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'
14915 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'
14917 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14918 hardcode_libdir_separator_F77
=:
14919 hardcode_direct_F77
=yes
14921 # hardcode_minus_L: Not really in the search PATH,
14922 # but as the default location of the library.
14923 hardcode_minus_L_F77
=yes
14924 export_dynamic_flag_spec_F77
='${wl}-E'
14928 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14929 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14931 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14933 if test "$with_gnu_ld" = no
; then
14934 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14935 hardcode_libdir_separator_F77
=:
14937 hardcode_direct_F77
=yes
14938 export_dynamic_flag_spec_F77
='${wl}-E'
14940 # hardcode_minus_L: Not really in the search PATH,
14941 # but as the default location of the library.
14942 hardcode_minus_L_F77
=yes
14947 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14950 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14953 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14956 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14962 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14965 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14968 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14972 if test "$with_gnu_ld" = no
; then
14973 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14974 hardcode_libdir_separator_F77
=:
14978 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14979 hardcode_direct_F77
=no
14980 hardcode_shlibpath_var_F77
=no
14983 hardcode_direct_F77
=yes
14984 export_dynamic_flag_spec_F77
='${wl}-E'
14986 # hardcode_minus_L: Not really in the search PATH,
14987 # but as the default location of the library.
14988 hardcode_minus_L_F77
=yes
14994 irix5
* | irix6
* | nonstopux
*)
14995 if test "$GCC" = yes; then
14996 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'
14998 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'
14999 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15001 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15002 hardcode_libdir_separator_F77
=:
15003 link_all_deplibs_F77
=yes
15007 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15008 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15010 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15012 hardcode_libdir_flag_spec_F77
='-R$libdir'
15013 hardcode_direct_F77
=yes
15014 hardcode_shlibpath_var_F77
=no
15018 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15019 hardcode_direct_F77
=yes
15020 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15021 hardcode_libdir_separator_F77
=:
15022 hardcode_shlibpath_var_F77
=no
15026 if test -f /usr
/libexec
/ld.so
; then
15027 hardcode_direct_F77
=yes
15028 hardcode_shlibpath_var_F77
=no
15029 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15030 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15031 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15032 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15033 export_dynamic_flag_spec_F77
='${wl}-E'
15036 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15037 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15038 hardcode_libdir_flag_spec_F77
='-R$libdir'
15041 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15042 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15052 hardcode_libdir_flag_spec_F77
='-L$libdir'
15053 hardcode_minus_L_F77
=yes
15054 allow_undefined_flag_F77
=unsupported
15055 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'
15056 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15060 if test "$GCC" = yes; then
15061 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15062 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'
15064 allow_undefined_flag_F77
=' -expect_unresolved \*'
15065 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'
15067 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15068 hardcode_libdir_separator_F77
=:
15071 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15072 if test "$GCC" = yes; then
15073 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15074 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'
15075 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15077 allow_undefined_flag_F77
=' -expect_unresolved \*'
15078 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'
15079 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~
15080 $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'
15082 # Both c and cxx compiler support -rpath directly
15083 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15085 hardcode_libdir_separator_F77
=:
15089 no_undefined_flag_F77
=' -z text'
15090 if test "$GCC" = yes; then
15092 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15093 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15094 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15097 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15098 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15099 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15101 hardcode_libdir_flag_spec_F77
='-R$libdir'
15102 hardcode_shlibpath_var_F77
=no
15104 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15106 # The compiler driver will combine and reorder linker options,
15107 # but understands `-z linker_flag'. GCC discards it without `$wl',
15108 # but is careful enough not to reorder.
15109 # Supported since Solaris 2.6 (maybe 2.5.1?)
15110 if test "$GCC" = yes; then
15111 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15113 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15117 link_all_deplibs_F77
=yes
15121 if test "x$host_vendor" = xsequent
; then
15122 # Use $CC to link under sequent, because it throws in some extra .o
15123 # files that make .init and .fini sections work.
15124 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15126 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15128 hardcode_libdir_flag_spec_F77
='-L$libdir'
15129 hardcode_direct_F77
=yes
15130 hardcode_minus_L_F77
=yes
15131 hardcode_shlibpath_var_F77
=no
15135 case $host_vendor in
15137 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15138 hardcode_direct_F77
=yes # is this really true???
15141 ## LD is ld it makes a PLAMLIB
15142 ## CC just makes a GrossModule.
15143 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15144 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15145 hardcode_direct_F77
=no
15148 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15149 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15152 runpath_var
='LD_RUN_PATH'
15153 hardcode_shlibpath_var_F77
=no
15157 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15158 hardcode_shlibpath_var_F77
=no
15159 export_dynamic_flag_spec_F77
='-Bexport'
15163 if test -d /usr
/nec
; then
15164 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15165 hardcode_shlibpath_var_F77
=no
15166 runpath_var
=LD_RUN_PATH
15167 hardcode_runpath_var
=yes
15172 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15173 no_undefined_flag_F77
='${wl}-z,text'
15174 archive_cmds_need_lc_F77
=no
15175 hardcode_shlibpath_var_F77
=no
15176 runpath_var
='LD_RUN_PATH'
15178 if test "$GCC" = yes; then
15179 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15180 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15182 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15183 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15187 sysv5
* | sco3.2v5
* | sco5v6
*)
15188 # Note: We can NOT use -z defs as we might desire, because we do not
15189 # link with -lc, and that would cause any symbols used from libc to
15190 # always be unresolved, which means just about no library would
15191 # ever link correctly. If we're not using GNU ld we use -z text
15192 # though, which does catch some bad symbols but isn't as heavy-handed
15194 no_undefined_flag_F77
='${wl}-z,text'
15195 allow_undefined_flag_F77
='${wl}-z,nodefs'
15196 archive_cmds_need_lc_F77
=no
15197 hardcode_shlibpath_var_F77
=no
15198 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15199 hardcode_libdir_separator_F77
=':'
15200 link_all_deplibs_F77
=yes
15201 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15202 runpath_var
='LD_RUN_PATH'
15204 if test "$GCC" = yes; then
15205 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15206 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15208 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15209 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15214 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15215 hardcode_libdir_flag_spec_F77
='-L$libdir'
15216 hardcode_shlibpath_var_F77
=no
15225 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15226 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15227 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15230 # Do we need to explicitly link libc?
15232 case "x$archive_cmds_need_lc_F77" in
15234 # Assume -lc should be added
15235 archive_cmds_need_lc_F77
=yes
15237 if test "$enable_shared" = yes && test "$GCC" = yes; then
15238 case $archive_cmds_F77 in
15240 # FIXME: we may have to deal with multi-command sequences.
15243 # Test whether the compiler implicitly links with -lc since on some
15244 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15245 # to ld, don't add -lc before -lgcc.
15246 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15247 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15249 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15252 (eval $ac_compile) 2>&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); } 2>conftest.err
; then
15258 libobjs
=conftest.
$ac_objext
15260 wl
=$lt_prog_compiler_wl_F77
15261 pic_flag
=$lt_prog_compiler_pic_F77
15267 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15268 allow_undefined_flag_F77
=
15269 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15270 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); }
15275 archive_cmds_need_lc_F77
=no
15277 archive_cmds_need_lc_F77
=yes
15279 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15281 cat conftest.err
1>&5
15284 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15285 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15292 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15293 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15294 library_names_spec
=
15295 libname_spec
='lib$name'
15299 postuninstall_cmds
=
15303 shlibpath_overrides_runpath
=unknown
15305 dynamic_linker
="$host_os ld.so"
15306 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15308 need_lib_prefix
=unknown
15309 hardcode_into_libs
=no
15311 # when you set need_version to no, make sure it does not cause -set_version
15312 # flags to be left without arguments
15313 need_version
=unknown
15318 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15319 shlibpath_var
=LIBPATH
15321 # AIX 3 has no versioning support, so we append a major version to the name.
15322 soname_spec
='${libname}${release}${shared_ext}$major'
15329 hardcode_into_libs
=yes
15330 if test "$host_cpu" = ia64
; then
15331 # AIX 5 supports IA64
15332 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15333 shlibpath_var
=LD_LIBRARY_PATH
15335 # With GCC up to 2.95.x, collect2 would create an import file
15336 # for dependence libraries. The import file would start with
15337 # the line `#! .'. This would cause the generated library to
15338 # depend on `.', always an invalid library. This was fixed in
15339 # development snapshots of GCC prior to 3.0.
15341 aix4 | aix4.
[01] | aix4.
[01].
*)
15342 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15344 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15347 can_build_shared
=no
15351 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15352 # soname into executable. Probably we can add versioning support to
15353 # collect2, so additional links can be useful in future.
15354 if test "$aix_use_runtimelinking" = yes; then
15355 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15356 # instead of lib<name>.a to let people know that these are not
15357 # typical AIX shared libraries.
15358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15360 # We preserve .a as extension for shared libraries through AIX4.2
15361 # and later when we are not doing run time linking.
15362 library_names_spec
='${libname}${release}.a $libname.a'
15363 soname_spec
='${libname}${release}${shared_ext}$major'
15365 shlibpath_var
=LIBPATH
15370 library_names_spec
='$libname.ixlibrary $libname.a'
15371 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15372 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'
15376 library_names_spec
='${libname}${shared_ext}'
15377 dynamic_linker
="$host_os ld.so"
15378 shlibpath_var
=LIBRARY_PATH
15384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15385 soname_spec
='${libname}${release}${shared_ext}$major'
15386 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15387 shlibpath_var
=LD_LIBRARY_PATH
15388 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15389 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15390 # the default ld.so.conf also contains /usr/contrib/lib and
15391 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15392 # libtool to hard-code these into programs
15395 cygwin
* | mingw
* | pw32
*)
15396 version_type
=windows
15401 case $GCC,$host_os in
15402 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15403 library_names_spec
='$libname.dll.a'
15404 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15405 postinstall_cmds
='base_file=`basename \${file}`~
15406 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15407 dldir=$destdir/`dirname \$dlpath`~
15408 test -d \$dldir || mkdir -p \$dldir~
15409 $install_prog $dir/$dlname \$dldir/$dlname~
15410 chmod a+x \$dldir/$dlname'
15411 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15412 dlpath=$dir/\$dldll~
15414 shlibpath_overrides_runpath
=yes
15418 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15419 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15420 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15423 # MinGW DLLs use traditional 'lib' prefix
15424 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15425 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15426 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15427 # It is most probably a Windows format PATH printed by
15428 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15429 # path with ; separators, and with drive letters. We can handle the
15430 # drive letters (cygwin fileutils understands them), so leave them,
15431 # especially as we might pass files found there to a mingw objdump,
15432 # which wouldn't understand a cygwinified path. Ahh.
15433 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15435 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15439 # pw32 DLLs use 'pw' prefix rather than 'lib'
15440 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15446 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15449 dynamic_linker
='Win32 ld.exe'
15450 # FIXME: first we should search . and the directory the executable is in
15454 darwin
* | rhapsody
*)
15455 dynamic_linker
="$host_os dyld"
15456 version_type
=darwin
15459 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15460 soname_spec
='${libname}${release}${major}$shared_ext'
15461 shlibpath_overrides_runpath
=yes
15462 shlibpath_var
=DYLD_LIBRARY_PATH
15463 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15465 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15473 soname_spec
='${libname}${release}${shared_ext}$major'
15474 shlibpath_var
=LD_LIBRARY_PATH
15481 freebsd
* | dragonfly
*)
15482 # DragonFly does not have aout. When/if they implement a new
15483 # versioning mechanism, adjust this.
15484 if test -x /usr
/bin
/objformat
; then
15485 objformat
=`/usr/bin/objformat`
15488 freebsd
[123]*) objformat
=aout
;;
15489 *) objformat
=elf
;;
15492 version_type
=freebsd-
$objformat
15493 case $version_type in
15495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15500 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15504 shlibpath_var
=LD_LIBRARY_PATH
15507 shlibpath_overrides_runpath
=yes
15509 freebsd3.
[01]* | freebsdelf3.
[01]*)
15510 shlibpath_overrides_runpath
=yes
15511 hardcode_into_libs
=yes
15513 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15514 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15515 shlibpath_overrides_runpath
=no
15516 hardcode_into_libs
=yes
15518 *) # from 4.6 on, and DragonFly
15519 shlibpath_overrides_runpath
=yes
15520 hardcode_into_libs
=yes
15529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15530 soname_spec
='${libname}${release}${shared_ext}$major'
15531 shlibpath_var
=LD_LIBRARY_PATH
15532 hardcode_into_libs
=yes
15535 hpux9
* | hpux10
* | hpux11
*)
15536 # Give a soname corresponding to the major version so that dld.sl refuses to
15537 # link against other versions.
15544 hardcode_into_libs
=yes
15545 dynamic_linker
="$host_os dld.so"
15546 shlibpath_var
=LD_LIBRARY_PATH
15547 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15549 soname_spec
='${libname}${release}${shared_ext}$major'
15550 if test "X$HPUX_IA64_MODE" = X32
; then
15551 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15553 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15555 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15559 hardcode_into_libs
=yes
15560 dynamic_linker
="$host_os dld.sl"
15561 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15562 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15564 soname_spec
='${libname}${release}${shared_ext}$major'
15565 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15566 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15570 dynamic_linker
="$host_os dld.sl"
15571 shlibpath_var
=SHLIB_PATH
15572 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15574 soname_spec
='${libname}${release}${shared_ext}$major'
15577 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15578 postinstall_cmds
='chmod 555 $lib'
15585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15586 soname_spec
='${libname}${release}${shared_ext}$major'
15587 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15588 shlibpath_var
=LD_LIBRARY_PATH
15589 shlibpath_overrides_runpath
=no
15590 hardcode_into_libs
=yes
15593 irix5
* | irix6
* | nonstopux
*)
15595 nonstopux
*) version_type
=nonstopux
;;
15597 if test "$lt_cv_prog_gnu_ld" = yes; then
15605 soname_spec
='${libname}${release}${shared_ext}$major'
15606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15608 irix5
* | nonstopux
*)
15609 libsuff
= shlibsuff
=
15612 case $LD in # libtool.m4 will add one of these switches to LD
15613 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15614 libsuff
= shlibsuff
= libmagic
=32-bit;;
15615 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15616 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15617 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15618 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15619 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15623 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15624 shlibpath_overrides_runpath
=no
15625 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15626 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15627 hardcode_into_libs
=yes
15630 # No shared lib support for Linux oldld, aout, or coff.
15631 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15635 # This must be Linux ELF.
15636 linux
* | k
*bsd
*-gnu)
15640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15641 soname_spec
='${libname}${release}${shared_ext}$major'
15642 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15643 shlibpath_var
=LD_LIBRARY_PATH
15644 shlibpath_overrides_runpath
=no
15645 # This implies no fast_install, which is unacceptable.
15646 # Some rework will be needed to allow for fast_install
15647 # before this can be enabled.
15648 hardcode_into_libs
=yes
15649 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15650 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15652 # Append ld.so.conf contents to the search path
15653 if test -f /etc
/ld.so.conf
; then
15654 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15655 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15658 # We used to test for /lib/ld.so.1 and disable shared libraries on
15659 # powerpc, because MkLinux only supported shared libraries with the
15660 # GNU dynamic linker. Since this was broken with cross compilers,
15661 # most powerpc-linux boxes support dynamic linking these days and
15662 # people can always --disable-shared, the test was removed, and we
15663 # assume the GNU/Linux dynamic linker is in use.
15664 dynamic_linker
='GNU/Linux ld.so'
15671 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15673 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15674 dynamic_linker
='NetBSD (a.out) ld.so'
15676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15677 soname_spec
='${libname}${release}${shared_ext}$major'
15678 dynamic_linker
='NetBSD ld.elf_so'
15680 shlibpath_var
=LD_LIBRARY_PATH
15681 shlibpath_overrides_runpath
=yes
15682 hardcode_into_libs
=yes
15687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15688 shlibpath_var
=LD_LIBRARY_PATH
15689 shlibpath_overrides_runpath
=yes
15696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15697 soname_spec
='${libname}${release}${shared_ext}$major'
15698 shlibpath_var
=LD_LIBRARY_PATH
15699 shlibpath_overrides_runpath
=yes
15704 sys_lib_dlsearch_path_spec
="/usr/lib"
15706 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15708 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15709 *) need_version
=no
;;
15711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15712 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15713 shlibpath_var
=LD_LIBRARY_PATH
15714 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15716 openbsd2.
[89] | openbsd2.
[89].
*)
15717 shlibpath_overrides_runpath
=no
15720 shlibpath_overrides_runpath
=yes
15724 shlibpath_overrides_runpath
=yes
15729 libname_spec
='$name'
15732 library_names_spec
='$libname${shared_ext} $libname.a'
15733 dynamic_linker
='OS/2 ld.exe'
15734 shlibpath_var
=LIBPATH
15737 osf3
* | osf4
* | osf5
*)
15741 soname_spec
='${libname}${release}${shared_ext}$major'
15742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15743 shlibpath_var
=LD_LIBRARY_PATH
15744 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15745 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15757 soname_spec
='${libname}${release}${shared_ext}$major'
15758 shlibpath_var
=LD_LIBRARY_PATH
15759 shlibpath_overrides_runpath
=yes
15760 hardcode_into_libs
=yes
15761 # ldd complains unless libraries are executable
15762 postinstall_cmds
='chmod +x $lib'
15767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15768 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15769 shlibpath_var
=LD_LIBRARY_PATH
15770 shlibpath_overrides_runpath
=yes
15771 if test "$with_gnu_ld" = yes; then
15779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15780 soname_spec
='${libname}${release}${shared_ext}$major'
15781 shlibpath_var
=LD_LIBRARY_PATH
15782 case $host_vendor in
15784 shlibpath_overrides_runpath
=no
15786 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15787 runpath_var
=LD_RUN_PATH
15795 shlibpath_overrides_runpath
=no
15796 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15802 if test -d /usr
/nec
;then
15804 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15805 soname_spec
='$libname${shared_ext}.$major'
15806 shlibpath_var
=LD_LIBRARY_PATH
15810 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15811 version_type
=freebsd-elf
15814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15815 soname_spec
='${libname}${release}${shared_ext}$major'
15816 shlibpath_var
=LD_LIBRARY_PATH
15817 hardcode_into_libs
=yes
15818 if test "$with_gnu_ld" = yes; then
15819 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15820 shlibpath_overrides_runpath
=no
15822 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15823 shlibpath_overrides_runpath
=yes
15826 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15830 sys_lib_dlsearch_path_spec
='/usr/lib'
15835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15836 soname_spec
='${libname}${release}${shared_ext}$major'
15837 shlibpath_var
=LD_LIBRARY_PATH
15844 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15845 echo "${ECHO_T}$dynamic_linker" >&6; }
15846 test "$dynamic_linker" = no
&& can_build_shared
=no
15848 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15849 if test "$GCC" = yes; then
15850 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15853 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15854 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15855 hardcode_action_F77
=
15856 if test -n "$hardcode_libdir_flag_spec_F77" || \
15857 test -n "$runpath_var_F77" || \
15858 test "X$hardcode_automatic_F77" = "Xyes" ; then
15860 # We can hardcode non-existant directories.
15861 if test "$hardcode_direct_F77" != no
&&
15862 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15863 # have to relink, otherwise we might link with an installed library
15864 # when we should be linking with a yet-to-be-installed one
15865 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15866 test "$hardcode_minus_L_F77" != no
; then
15867 # Linking always hardcodes the temporary library directory.
15868 hardcode_action_F77
=relink
15870 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15871 hardcode_action_F77
=immediate
15874 # We cannot hardcode anything, or else we can only hardcode existing
15876 hardcode_action_F77
=unsupported
15878 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15879 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15881 if test "$hardcode_action_F77" = relink
; then
15882 # Fast installation is not supported
15883 enable_fast_install
=no
15884 elif test "$shlibpath_overrides_runpath" = yes ||
15885 test "$enable_shared" = no
; then
15886 # Fast installation is not necessary
15887 enable_fast_install
=needless
15891 # The else clause should only fire when bootstrapping the
15892 # libtool distribution, otherwise you forgot to ship ltmain.sh
15893 # with your package, and you will get complaints that there are
15894 # no rules to generate ltmain.sh.
15895 if test -f "$ltmain"; then
15896 # See if we are running on zsh, and set the options which allow our commands through
15897 # without removal of \ escapes.
15898 if test -n "${ZSH_VERSION+set}" ; then
15899 setopt NO_GLOB_SUBST
15901 # Now quote all the things that may contain metacharacters while being
15902 # careful not to overquote the AC_SUBSTed values. We take copies of the
15903 # variables and quote the copies for generation of the libtool script.
15904 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15906 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15907 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15908 deplibs_check_method reload_flag reload_cmds need_locks \
15909 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15910 lt_cv_sys_global_symbol_to_c_name_address \
15911 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15912 old_postinstall_cmds old_postuninstall_cmds \
15916 lt_prog_compiler_wl_F77 \
15917 lt_prog_compiler_pic_F77 \
15918 lt_prog_compiler_static_F77 \
15919 lt_prog_compiler_no_builtin_flag_F77 \
15920 export_dynamic_flag_spec_F77 \
15921 thread_safe_flag_spec_F77 \
15922 whole_archive_flag_spec_F77 \
15923 enable_shared_with_static_runtimes_F77 \
15924 old_archive_cmds_F77 \
15925 old_archive_from_new_cmds_F77 \
15926 predep_objects_F77 \
15927 postdep_objects_F77 \
15930 compiler_lib_search_path_F77 \
15932 archive_expsym_cmds_F77 \
15933 postinstall_cmds_F77 \
15934 postuninstall_cmds_F77 \
15935 old_archive_from_expsyms_cmds_F77 \
15936 allow_undefined_flag_F77 \
15937 no_undefined_flag_F77 \
15938 export_symbols_cmds_F77 \
15939 hardcode_libdir_flag_spec_F77 \
15940 hardcode_libdir_flag_spec_ld_F77 \
15941 hardcode_libdir_separator_F77 \
15942 hardcode_automatic_F77 \
15944 module_expsym_cmds_F77 \
15945 lt_cv_prog_compiler_c_o_F77 \
15946 fix_srcfile_path_F77 \
15947 exclude_expsyms_F77 \
15948 include_expsyms_F77
; do
15951 old_archive_cmds_F77 | \
15952 old_archive_from_new_cmds_F77 | \
15953 archive_cmds_F77 | \
15954 archive_expsym_cmds_F77 | \
15955 module_cmds_F77 | \
15956 module_expsym_cmds_F77 | \
15957 old_archive_from_expsyms_cmds_F77 | \
15958 export_symbols_cmds_F77 | \
15959 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15960 postinstall_cmds | postuninstall_cmds | \
15961 old_postinstall_cmds | old_postuninstall_cmds | \
15962 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15963 # Double-quote double-evaled strings.
15964 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15967 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15973 *'\$0 --fallback-echo"')
15974 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15980 cat <<__EOF__ >> "$cfgfile"
15981 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15983 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15985 # Shell to use when invoking shell scripts.
15988 # Whether or not to build shared libraries.
15989 build_libtool_libs=$enable_shared
15991 # Whether or not to build static libraries.
15992 build_old_libs=$enable_static
15994 # Whether or not to add -lc for building shared libraries.
15995 build_libtool_need_lc=$archive_cmds_need_lc_F77
15997 # Whether or not to disallow shared libs when runtime libs are static
15998 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16000 # Whether or not to optimize for fast installation.
16001 fast_install=$enable_fast_install
16004 host_alias=$host_alias
16008 # The build system.
16009 build_alias=$build_alias
16013 # An echo program that does not interpret backslashes.
16018 AR_FLAGS=$lt_AR_FLAGS
16023 # LTCC compiler flags.
16024 LTCFLAGS=$lt_LTCFLAGS
16026 # A language-specific compiler.
16027 CC=$lt_compiler_F77
16029 # Is the compiler the GNU C compiler?
16035 # The linker used to build libraries.
16038 # Whether we need hard or soft links.
16041 # A BSD-compatible nm program.
16044 # A symbol stripping program
16047 # Used to examine libraries when file_magic_cmd begins "file"
16048 MAGIC_CMD=$MAGIC_CMD
16050 # Used on cygwin: DLL creation program.
16053 # Used on cygwin: object dumper.
16056 # Used on cygwin: assembler.
16059 # The name of the directory that contains temporary libtool files.
16062 # How to create reloadable object files.
16063 reload_flag=$lt_reload_flag
16064 reload_cmds=$lt_reload_cmds
16066 # How to pass a linker flag through the compiler.
16067 wl=$lt_lt_prog_compiler_wl_F77
16069 # Object file suffix (normally "o").
16070 objext="$ac_objext"
16072 # Old archive suffix (normally "a").
16075 # Shared library suffix (normally ".so").
16076 shrext_cmds='$shrext_cmds'
16078 # Executable file suffix (normally "").
16081 # Additional compiler flags for building library objects.
16082 pic_flag=$lt_lt_prog_compiler_pic_F77
16085 # What is the maximum length of a command?
16086 max_cmd_len=$lt_cv_sys_max_cmd_len
16088 # Does compiler simultaneously support -c and -o options?
16089 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16091 # Must we lock files when doing compilation?
16092 need_locks=$lt_need_locks
16094 # Do we need the lib prefix for modules?
16095 need_lib_prefix=$need_lib_prefix
16097 # Do we need a version for libraries?
16098 need_version=$need_version
16100 # Whether dlopen is supported.
16101 dlopen_support=$enable_dlopen
16103 # Whether dlopen of programs is supported.
16104 dlopen_self=$enable_dlopen_self
16106 # Whether dlopen of statically linked programs is supported.
16107 dlopen_self_static=$enable_dlopen_self_static
16109 # Compiler flag to prevent dynamic linking.
16110 link_static_flag=$lt_lt_prog_compiler_static_F77
16112 # Compiler flag to turn off builtin functions.
16113 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16115 # Compiler flag to allow reflexive dlopens.
16116 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16118 # Compiler flag to generate shared objects directly from archives.
16119 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16121 # Compiler flag to generate thread-safe objects.
16122 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16124 # Library versioning type.
16125 version_type=$version_type
16127 # Format of library name prefix.
16128 libname_spec=$lt_libname_spec
16130 # List of archive names. First name is the real one, the rest are links.
16131 # The last name is the one that the linker finds with -lNAME.
16132 library_names_spec=$lt_library_names_spec
16134 # The coded name of the library, if different from the real name.
16135 soname_spec=$lt_soname_spec
16137 # Commands used to build and install an old-style archive.
16139 old_archive_cmds=$lt_old_archive_cmds_F77
16140 old_postinstall_cmds=$lt_old_postinstall_cmds
16141 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16143 # Create an old-style archive from a shared archive.
16144 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16146 # Create a temporary old-style archive to link instead of a shared archive.
16147 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16149 # Commands used to build and install a shared archive.
16150 archive_cmds=$lt_archive_cmds_F77
16151 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16152 postinstall_cmds=$lt_postinstall_cmds
16153 postuninstall_cmds=$lt_postuninstall_cmds
16155 # Commands used to build a loadable module (assumed same as above if empty)
16156 module_cmds=$lt_module_cmds_F77
16157 module_expsym_cmds=$lt_module_expsym_cmds_F77
16159 # Commands to strip libraries.
16160 old_striplib=$lt_old_striplib
16161 striplib=$lt_striplib
16163 # Dependencies to place before the objects being linked to create a
16165 predep_objects=$lt_predep_objects_F77
16167 # Dependencies to place after the objects being linked to create a
16169 postdep_objects=$lt_postdep_objects_F77
16171 # Dependencies to place before the objects being linked to create a
16173 predeps=$lt_predeps_F77
16175 # Dependencies to place after the objects being linked to create a
16177 postdeps=$lt_postdeps_F77
16179 # The library search path used internally by the compiler when linking
16180 # a shared library.
16181 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16183 # Method to check whether dependent libraries are shared objects.
16184 deplibs_check_method=$lt_deplibs_check_method
16186 # Command to use when deplibs_check_method == file_magic.
16187 file_magic_cmd=$lt_file_magic_cmd
16189 # Flag that allows shared libraries with undefined symbols to be built.
16190 allow_undefined_flag=$lt_allow_undefined_flag_F77
16192 # Flag that forces no undefined symbols.
16193 no_undefined_flag=$lt_no_undefined_flag_F77
16195 # Commands used to finish a libtool library installation in a directory.
16196 finish_cmds=$lt_finish_cmds
16198 # Same as above, but a single script fragment to be evaled but not shown.
16199 finish_eval=$lt_finish_eval
16201 # Take the output of nm and produce a listing of raw symbols and C names.
16202 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16204 # Transform the output of nm in a proper C declaration
16205 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16207 # Transform the output of nm in a C name address pair
16208 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16210 # This is the shared library runtime path variable.
16211 runpath_var=$runpath_var
16213 # This is the shared library path variable.
16214 shlibpath_var=$shlibpath_var
16216 # Is shlibpath searched before the hard-coded library search path?
16217 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16219 # How to hardcode a shared library path into an executable.
16220 hardcode_action=$hardcode_action_F77
16222 # Whether we should hardcode library paths into libraries.
16223 hardcode_into_libs=$hardcode_into_libs
16225 # Flag to hardcode \$libdir into a binary during linking.
16226 # This must work even if \$libdir does not exist.
16227 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16229 # If ld is used when linking, flag to hardcode \$libdir into
16230 # a binary during linking. This must work even if \$libdir does
16232 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16234 # Whether we need a single -rpath flag with a separated argument.
16235 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16237 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16238 # resulting binary.
16239 hardcode_direct=$hardcode_direct_F77
16241 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16242 # resulting binary.
16243 hardcode_minus_L=$hardcode_minus_L_F77
16245 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16246 # the resulting binary.
16247 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16249 # Set to yes if building a shared library automatically hardcodes DIR into the library
16250 # and all subsequent libraries and executables linked against it.
16251 hardcode_automatic=$hardcode_automatic_F77
16253 # Variables whose values should be saved in libtool wrapper scripts and
16254 # restored at relink time.
16255 variables_saved_for_relink="$variables_saved_for_relink"
16257 # Whether libtool must link a program against all its dependency libraries.
16258 link_all_deplibs=$link_all_deplibs_F77
16260 # Compile-time system search path for libraries
16261 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16263 # Run-time system search path for libraries
16264 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16266 # Fix the shell variable \$srcfile for the compiler.
16267 fix_srcfile_path=$lt_fix_srcfile_path
16269 # Set to yes if exported symbols are required.
16270 always_export_symbols=$always_export_symbols_F77
16272 # The commands to list exported symbols.
16273 export_symbols_cmds=$lt_export_symbols_cmds_F77
16275 # The commands to extract the exported symbol list from a shared archive.
16276 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16278 # Symbols that should not be listed in the preloaded symbols.
16279 exclude_expsyms=$lt_exclude_expsyms_F77
16281 # Symbols that must always be exported.
16282 include_expsyms=$lt_include_expsyms_F77
16284 # ### END LIBTOOL TAG CONFIG: $tagname
16290 # If there is no Makefile yet, we rely on a make rule to execute
16291 # `config.status --recheck' to rerun these tests and create the
16292 # libtool script then.
16293 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16294 if test -f "$ltmain_in"; then
16295 test -f Makefile
&& make "$ltmain"
16301 ac_cpp
='$CPP $CPPFLAGS'
16302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16314 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16317 # Source file extension for Java test sources.
16320 # Object file extension for compiled Java test sources.
16324 # Code to be used in simple compile tests
16325 lt_simple_compile_test_code
="class foo {}"
16327 # Code to be used in simple link tests
16328 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16330 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16332 # If no C compiler was specified, use CC.
16335 # If no C compiler flags were specified, use CFLAGS.
16336 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16338 # Allow CC to be a program name with arguments.
16342 # save warnings/boilerplate of simple test code
16343 ac_outfile
=conftest.
$ac_objext
16344 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16345 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16346 _lt_compiler_boilerplate
=`cat conftest.err`
16349 ac_outfile
=conftest.
$ac_objext
16350 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16351 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16352 _lt_linker_boilerplate
=`cat conftest.err`
16356 # Allow CC to be a program name with arguments.
16361 for cc_temp
in $compiler""; do
16363 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16364 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16369 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16372 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16373 archive_cmds_need_lc_GCJ
=no
16375 old_archive_cmds_GCJ
=$old_archive_cmds
16378 lt_prog_compiler_no_builtin_flag_GCJ
=
16380 if test "$GCC" = yes; then
16381 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16384 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16385 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16386 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16387 echo $ECHO_N "(cached) $ECHO_C" >&6
16389 lt_cv_prog_compiler_rtti_exceptions
=no
16390 ac_outfile
=conftest.
$ac_objext
16391 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16392 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16393 # Insert the option either (1) after the last *FLAGS variable, or
16394 # (2) before a word containing "conftest.", or (3) at the end.
16395 # Note that $ac_compile itself does not contain backslashes and begins
16396 # with a dollar sign (not a hyphen), so the echo should work correctly.
16397 # The option is referenced via a variable to avoid confusing sed.
16398 lt_compile
=`echo "$ac_compile" | $SED \
16399 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16400 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16401 -e 's:$: $lt_compiler_flag:'`
16402 (eval echo "\"\$as_me:16402: $lt_compile\"" >&5)
16403 (eval "$lt_compile" 2>conftest.err
)
16405 cat conftest.err
>&5
16406 echo "$as_me:16406: \$? = $ac_status" >&5
16407 if (exit $ac_status) && test -s "$ac_outfile"; then
16408 # The compiler can only warn and ignore the option if not recognized
16409 # So say no if there are warnings other than the usual output.
16410 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16411 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16412 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16413 lt_cv_prog_compiler_rtti_exceptions
=yes
16419 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16420 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16422 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16423 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16430 lt_prog_compiler_wl_GCJ
=
16431 lt_prog_compiler_pic_GCJ
=
16432 lt_prog_compiler_static_GCJ
=
16434 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16435 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16437 if test "$GCC" = yes; then
16438 lt_prog_compiler_wl_GCJ
='-Wl,'
16439 lt_prog_compiler_static_GCJ
='-static'
16443 # All AIX code is PIC.
16444 if test "$host_cpu" = ia64
; then
16445 # AIX 5 now supports IA64 processor
16446 lt_prog_compiler_static_GCJ
='-Bstatic'
16451 # FIXME: we need at least 68020 code to build shared libraries, but
16452 # adding the `-m68020' flag to GCC prevents building anything better,
16454 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16457 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16458 # PIC is the default for these OSes.
16461 mingw
* | cygwin
* | pw32
* | os2
*)
16462 # This hack is so that the source file can tell whether it is being
16463 # built for inclusion in a dll (and should export symbols for example).
16464 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16465 # (--disable-auto-import) libraries
16466 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16469 darwin
* | rhapsody
*)
16470 # PIC is the default on this platform
16471 # Common symbols not allowed in MH_DYLIB files
16472 lt_prog_compiler_pic_GCJ
='-fno-common'
16476 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16477 # Instead, we relocate shared libraries at runtime.
16481 # Just because we use GCC doesn't mean we suddenly get shared libraries
16482 # on systems that don't support them.
16483 lt_prog_compiler_can_build_shared_GCJ
=no
16488 if test -d /usr
/nec
; then
16489 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16494 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16495 # not for PA HP-UX.
16501 lt_prog_compiler_pic_GCJ
='-fPIC'
16507 lt_prog_compiler_pic_GCJ
='-fPIC'
16511 # PORTME Check for flag to pass linker flags through the system compiler.
16514 lt_prog_compiler_wl_GCJ
='-Wl,'
16515 if test "$host_cpu" = ia64
; then
16516 # AIX 5 now supports IA64 processor
16517 lt_prog_compiler_static_GCJ
='-Bstatic'
16519 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16523 # PIC is the default on this platform
16524 # Common symbols not allowed in MH_DYLIB files
16525 case $cc_basename in
16527 lt_prog_compiler_pic_GCJ
='-qnocommon'
16528 lt_prog_compiler_wl_GCJ
='-Wl,'
16533 mingw
* | cygwin
* | pw32
* | os2
*)
16534 # This hack is so that the source file can tell whether it is being
16535 # built for inclusion in a dll (and should export symbols for example).
16536 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16539 hpux9
* | hpux10
* | hpux11
*)
16540 lt_prog_compiler_wl_GCJ
='-Wl,'
16541 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16542 # not for PA HP-UX.
16548 lt_prog_compiler_pic_GCJ
='+Z'
16551 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16552 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16555 irix5
* | irix6
* | nonstopux
*)
16556 lt_prog_compiler_wl_GCJ
='-Wl,'
16557 # PIC (with -KPIC) is the default.
16558 lt_prog_compiler_static_GCJ
='-non_shared'
16562 lt_prog_compiler_pic_GCJ
='-KPIC'
16563 lt_prog_compiler_static_GCJ
='-Bstatic'
16566 linux
* | k
*bsd
*-gnu)
16567 case $cc_basename in
16569 lt_prog_compiler_wl_GCJ
='-Wl,'
16570 lt_prog_compiler_pic_GCJ
='-KPIC'
16571 lt_prog_compiler_static_GCJ
='-static'
16573 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16574 # Portland Group compilers (*not* the Pentium gcc compiler,
16575 # which looks to be a dead project)
16576 lt_prog_compiler_wl_GCJ
='-Wl,'
16577 lt_prog_compiler_pic_GCJ
='-fpic'
16578 lt_prog_compiler_static_GCJ
='-Bstatic'
16581 lt_prog_compiler_wl_GCJ
='-Wl,'
16582 # All Alpha code is PIC.
16583 lt_prog_compiler_static_GCJ
='-non_shared'
16586 case `$CC -V 2>&1 | sed 5q` in
16589 lt_prog_compiler_pic_GCJ
='-KPIC'
16590 lt_prog_compiler_static_GCJ
='-Bstatic'
16591 lt_prog_compiler_wl_GCJ
='-Wl,'
16594 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16595 lt_prog_compiler_pic_GCJ
='-KPIC'
16596 lt_prog_compiler_static_GCJ
='-Bstatic'
16597 lt_prog_compiler_wl_GCJ
=''
16604 osf3
* | osf4
* | osf5
*)
16605 lt_prog_compiler_wl_GCJ
='-Wl,'
16606 # All OSF/1 code is PIC.
16607 lt_prog_compiler_static_GCJ
='-non_shared'
16611 lt_prog_compiler_static_GCJ
='-non_shared'
16615 lt_prog_compiler_pic_GCJ
='-KPIC'
16616 lt_prog_compiler_static_GCJ
='-Bstatic'
16617 case $cc_basename in
16618 f77
* | f90
* | f95
*)
16619 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16621 lt_prog_compiler_wl_GCJ
='-Wl,';;
16626 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16627 lt_prog_compiler_pic_GCJ
='-PIC'
16628 lt_prog_compiler_static_GCJ
='-Bstatic'
16631 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16632 lt_prog_compiler_wl_GCJ
='-Wl,'
16633 lt_prog_compiler_pic_GCJ
='-KPIC'
16634 lt_prog_compiler_static_GCJ
='-Bstatic'
16638 if test -d /usr
/nec
;then
16639 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16640 lt_prog_compiler_static_GCJ
='-Bstatic'
16644 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16645 lt_prog_compiler_wl_GCJ
='-Wl,'
16646 lt_prog_compiler_pic_GCJ
='-KPIC'
16647 lt_prog_compiler_static_GCJ
='-Bstatic'
16651 lt_prog_compiler_wl_GCJ
='-Wl,'
16652 lt_prog_compiler_can_build_shared_GCJ
=no
16656 lt_prog_compiler_pic_GCJ
='-pic'
16657 lt_prog_compiler_static_GCJ
='-Bstatic'
16661 lt_prog_compiler_can_build_shared_GCJ
=no
16666 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16667 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16670 # Check to make sure the PIC flag actually works.
16672 if test -n "$lt_prog_compiler_pic_GCJ"; then
16674 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16675 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16676 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16677 echo $ECHO_N "(cached) $ECHO_C" >&6
16679 lt_prog_compiler_pic_works_GCJ
=no
16680 ac_outfile
=conftest.
$ac_objext
16681 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16682 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16683 # Insert the option either (1) after the last *FLAGS variable, or
16684 # (2) before a word containing "conftest.", or (3) at the end.
16685 # Note that $ac_compile itself does not contain backslashes and begins
16686 # with a dollar sign (not a hyphen), so the echo should work correctly.
16687 # The option is referenced via a variable to avoid confusing sed.
16688 lt_compile
=`echo "$ac_compile" | $SED \
16689 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16690 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16691 -e 's:$: $lt_compiler_flag:'`
16692 (eval echo "\"\$as_me:16692: $lt_compile\"" >&5)
16693 (eval "$lt_compile" 2>conftest.err
)
16695 cat conftest.err
>&5
16696 echo "$as_me:16696: \$? = $ac_status" >&5
16697 if (exit $ac_status) && test -s "$ac_outfile"; then
16698 # The compiler can only warn and ignore the option if not recognized
16699 # So say no if there are warnings other than the usual output.
16700 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16701 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16702 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16703 lt_prog_compiler_pic_works_GCJ
=yes
16709 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16710 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16712 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16713 case $lt_prog_compiler_pic_GCJ in
16715 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16718 lt_prog_compiler_pic_GCJ
=
16719 lt_prog_compiler_can_build_shared_GCJ
=no
16724 # For platforms which do not support PIC, -DPIC is meaningless:
16726 lt_prog_compiler_pic_GCJ
=
16729 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16734 # Check to make sure the static flag actually works.
16736 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16737 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16738 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16739 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16740 echo $ECHO_N "(cached) $ECHO_C" >&6
16742 lt_prog_compiler_static_works_GCJ
=no
16743 save_LDFLAGS
="$LDFLAGS"
16744 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16745 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16746 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16747 # The linker can only warn and ignore the option if not recognized
16748 # So say no if there are warnings
16749 if test -s conftest.err
; then
16750 # Append any errors to the config.log.
16751 cat conftest.err
1>&5
16752 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16753 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16754 if diff conftest.exp conftest.er2
>/dev
/null
; then
16755 lt_prog_compiler_static_works_GCJ
=yes
16758 lt_prog_compiler_static_works_GCJ
=yes
16762 LDFLAGS
="$save_LDFLAGS"
16765 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16766 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16768 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16771 lt_prog_compiler_static_GCJ
=
16775 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16776 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16777 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16778 echo $ECHO_N "(cached) $ECHO_C" >&6
16780 lt_cv_prog_compiler_c_o_GCJ
=no
16781 $rm -r conftest
2>/dev
/null
16785 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16787 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16788 # Insert the option either (1) after the last *FLAGS variable, or
16789 # (2) before a word containing "conftest.", or (3) at the end.
16790 # Note that $ac_compile itself does not contain backslashes and begins
16791 # with a dollar sign (not a hyphen), so the echo should work correctly.
16792 lt_compile
=`echo "$ac_compile" | $SED \
16793 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16794 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16795 -e 's:$: $lt_compiler_flag:'`
16796 (eval echo "\"\$as_me:16796: $lt_compile\"" >&5)
16797 (eval "$lt_compile" 2>out
/conftest.err
)
16799 cat out
/conftest.err
>&5
16800 echo "$as_me:16800: \$? = $ac_status" >&5
16801 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16803 # The compiler can only warn and ignore the option if not recognized
16804 # So say no if there are warnings
16805 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16806 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16807 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16808 lt_cv_prog_compiler_c_o_GCJ
=yes
16813 # SGI C++ compiler will create directory out/ii_files/ for
16814 # template instantiation
16815 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16816 $rm out
/* && rmdir out
16822 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16823 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16826 hard_links
="nottested"
16827 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16828 # do not overwrite the value of need_locks provided by the user
16829 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16830 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16833 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16835 ln conftest.a conftest.b
2>&5 || hard_links
=no
16836 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16837 { echo "$as_me:$LINENO: result: $hard_links" >&5
16838 echo "${ECHO_T}$hard_links" >&6; }
16839 if test "$hard_links" = no
; then
16840 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16841 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16848 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16849 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16852 allow_undefined_flag_GCJ
=
16853 enable_shared_with_static_runtimes_GCJ
=no
16855 archive_expsym_cmds_GCJ
=
16856 old_archive_From_new_cmds_GCJ
=
16857 old_archive_from_expsyms_cmds_GCJ
=
16858 export_dynamic_flag_spec_GCJ
=
16859 whole_archive_flag_spec_GCJ
=
16860 thread_safe_flag_spec_GCJ
=
16861 hardcode_libdir_flag_spec_GCJ
=
16862 hardcode_libdir_flag_spec_ld_GCJ
=
16863 hardcode_libdir_separator_GCJ
=
16864 hardcode_direct_GCJ
=no
16865 hardcode_minus_L_GCJ
=no
16866 hardcode_shlibpath_var_GCJ
=unsupported
16867 link_all_deplibs_GCJ
=unknown
16868 hardcode_automatic_GCJ
=no
16870 module_expsym_cmds_GCJ
=
16871 always_export_symbols_GCJ
=no
16872 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16873 # include_expsyms should be a list of space-separated symbols to be *always*
16874 # included in the symbol list
16875 include_expsyms_GCJ
=
16876 # exclude_expsyms can be an extended regexp of symbols to exclude
16877 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16878 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16879 # as well as any symbol that contains `d'.
16880 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16881 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16882 # platforms (ab)use it in PIC code, but their linkers get confused if
16883 # the symbol is explicitly referenced. Since portable code cannot
16884 # rely on this symbol name, it's probably fine to never include it in
16885 # preloaded symbol tables.
16886 extract_expsyms_cmds
=
16887 # Just being paranoid about ensuring that cc_basename is set.
16888 for cc_temp
in $compiler""; do
16890 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16891 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16896 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16899 cygwin
* | mingw
* | pw32
*)
16900 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16901 # When not using gcc, we currently assume that we are using
16902 # Microsoft Visual C++.
16903 if test "$GCC" != yes; then
16908 # we just hope/assume this is gcc and not c89 (= MSVC++)
16917 if test "$with_gnu_ld" = yes; then
16918 # If archive_cmds runs LD, not CC, wlarc should be empty
16921 # Set some defaults for GNU ld with shared library support. These
16922 # are reset later if shared libraries are not supported. Putting them
16923 # here allows them to be overridden if necessary.
16924 runpath_var
=LD_RUN_PATH
16925 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16926 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16927 # ancient GNU ld didn't support --whole-archive et. al.
16928 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16929 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16931 whole_archive_flag_spec_GCJ
=
16933 supports_anon_versioning
=no
16934 case `$LD -v 2>/dev/null` in
16935 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16936 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16937 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16938 *\
2.11.
*) ;; # other 2.11 versions
16939 *) supports_anon_versioning
=yes ;;
16942 # See if GNU ld supports shared libraries.
16944 aix3
* | aix4
* | aix5
*)
16945 # On AIX/PPC, the GNU linker is very broken
16946 if test "$host_cpu" != ia64
; then
16950 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16951 *** to be unable to reliably create shared libraries on AIX.
16952 *** Therefore, libtool is disabling shared libraries support. If you
16953 *** really care for shared libraries, you may want to modify your PATH
16954 *** so that a non-GNU linker is found, and then restart.
16961 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)'
16962 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16963 hardcode_minus_L_GCJ
=yes
16965 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16966 # that the semantics of dynamic libraries on AmigaOS, at least up
16967 # to version 4, is to share data among multiple programs linked
16968 # with the same dynamic library. Since this doesn't match the
16969 # behavior of shared libraries on other platforms, we can't use
16975 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16976 allow_undefined_flag_GCJ
=unsupported
16977 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16978 # support --undefined. This deserves some investigation. FIXME
16979 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16985 cygwin
* | mingw
* | pw32
*)
16986 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16987 # as there is no search path for DLLs.
16988 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16989 allow_undefined_flag_GCJ
=unsupported
16990 always_export_symbols_GCJ
=no
16991 enable_shared_with_static_runtimes_GCJ
=yes
16992 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16994 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16995 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16996 # If the export-symbols file already is a .def file (1st line
16997 # is EXPORTS), use it as is; otherwise, prepend...
16998 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16999 cp $export_symbols $output_objdir/$soname.def;
17001 echo EXPORTS > $output_objdir/$soname.def;
17002 cat $export_symbols >> $output_objdir/$soname.def;
17004 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17011 hardcode_direct_GCJ
=no
17012 hardcode_shlibpath_var_GCJ
=no
17013 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17014 export_dynamic_flag_spec_GCJ
='${wl}-E'
17015 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17016 # Instead, shared libraries are loaded at an image base (0x10000000 by
17017 # default) and relocated if they conflict, which is a slow very memory
17018 # consuming and fragmenting process. To avoid this, we pick a random,
17019 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17020 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17021 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'
17022 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'
17025 gnu
* | linux
* | k
*bsd
*-gnu)
17026 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17028 case $cc_basename,$host_cpu in
17029 pgcc
*) # Portland Group C compiler
17030 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'
17031 tmp_addflag
=' $pic_flag'
17033 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17034 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'
17035 tmp_addflag
=' $pic_flag -Mnomain' ;;
17036 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17037 tmp_addflag
=' -i_dynamic' ;;
17038 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17039 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17040 ifc
* | ifort
*) # Intel Fortran compiler
17041 tmp_addflag
=' -nofor_main' ;;
17043 case `$CC -V 2>&1 | sed 5q` in
17044 *Sun\ C
*) # Sun C 5.9
17045 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17046 tmp_sharedflag
='-G' ;;
17047 *Sun\ F
*) # Sun Fortran 8.3
17048 tmp_sharedflag
='-G' ;;
17050 tmp_sharedflag
='-shared' ;;
17052 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17054 if test $supports_anon_versioning = yes; then
17055 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17056 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17057 $echo "local: *; };" >> $output_objdir/$libname.ver~
17058 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17066 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17067 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17070 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17071 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17076 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17080 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17081 *** create shared libraries on Solaris systems. Therefore, libtool
17082 *** is disabling shared libraries support. We urge you to upgrade GNU
17083 *** binutils to release 2.9.1 or newer. Another option is to modify
17084 *** your PATH or compiler configuration so that the native linker is
17085 *** used, and then restart.
17088 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17089 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17090 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17096 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17097 case `$LD -v 2>&1` in
17098 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17102 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17103 *** reliably create shared libraries on SCO systems. Therefore, libtool
17104 *** is disabling shared libraries support. We urge you to upgrade GNU
17105 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17106 *** your PATH or compiler configuration so that the native linker is
17107 *** used, and then restart.
17112 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17113 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17114 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17115 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17124 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17126 hardcode_direct_GCJ
=yes
17127 hardcode_shlibpath_var_GCJ
=no
17131 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17132 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17133 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17140 if test "$ld_shlibs_GCJ" = no
; then
17142 hardcode_libdir_flag_spec_GCJ
=
17143 export_dynamic_flag_spec_GCJ
=
17144 whole_archive_flag_spec_GCJ
=
17147 # PORTME fill in a description of your system's linker (not GNU ld)
17150 allow_undefined_flag_GCJ
=unsupported
17151 always_export_symbols_GCJ
=yes
17152 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'
17153 # Note: this linker hardcodes the directories in LIBPATH if there
17154 # are no directories specified by -L.
17155 hardcode_minus_L_GCJ
=yes
17156 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17157 # Neither direct hardcoding nor static linking is supported with a
17159 hardcode_direct_GCJ
=unsupported
17164 if test "$host_cpu" = ia64
; then
17165 # On IA64, the linker does run time linking by default, so we don't
17166 # have to do anything special.
17167 aix_use_runtimelinking
=no
17168 exp_sym_flag
='-Bexport'
17171 # If we're using GNU nm, then we don't want the "-C" option.
17172 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17173 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17174 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'
17176 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'
17178 aix_use_runtimelinking
=no
17180 # Test if we are trying to use run time linking or normal
17181 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17182 # need to do runtime linking.
17183 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17184 for ld_flag
in $LDFLAGS; do
17185 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17186 aix_use_runtimelinking
=yes
17193 exp_sym_flag
='-bexport'
17194 no_entry_flag
='-bnoentry'
17197 # When large executables or shared objects are built, AIX ld can
17198 # have problems creating the table of contents. If linking a library
17199 # or program results in "error TOC overflow" add -mminimal-toc to
17200 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17201 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17203 archive_cmds_GCJ
=''
17204 hardcode_direct_GCJ
=yes
17205 hardcode_libdir_separator_GCJ
=':'
17206 link_all_deplibs_GCJ
=yes
17208 if test "$GCC" = yes; then
17209 case $host_os in aix4.
[012]|aix4.
[012].
*)
17210 # We only want to do this on AIX 4.2 and lower, the check
17211 # below for broken collect2 doesn't work under 4.3+
17212 collect2name
=`${CC} -print-prog-name=collect2`
17213 if test -f "$collect2name" && \
17214 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17216 # We have reworked collect2
17219 # We have old collect2
17220 hardcode_direct_GCJ
=unsupported
17221 # It fails to find uninstalled libraries when the uninstalled
17222 # path is not listed in the libpath. Setting hardcode_minus_L
17223 # to unsupported forces relinking
17224 hardcode_minus_L_GCJ
=yes
17225 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17226 hardcode_libdir_separator_GCJ
=
17230 shared_flag
='-shared'
17231 if test "$aix_use_runtimelinking" = yes; then
17232 shared_flag
="$shared_flag "'${wl}-G'
17236 if test "$host_cpu" = ia64
; then
17237 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17238 # chokes on -Wl,-G. The following line is correct:
17241 if test "$aix_use_runtimelinking" = yes; then
17242 shared_flag
='${wl}-G'
17244 shared_flag
='${wl}-bM:SRE'
17249 # It seems that -bexpall does not export symbols beginning with
17250 # underscore (_), so it is better to generate a list of symbols to export.
17251 always_export_symbols_GCJ
=yes
17252 if test "$aix_use_runtimelinking" = yes; then
17253 # Warning - without using the other runtime loading flags (-brtl),
17254 # -berok will link without error, but may produce a broken library.
17255 allow_undefined_flag_GCJ
='-berok'
17256 # Determine the default libpath from the value encoded in an empty executable.
17257 cat >conftest.
$ac_ext <<_ACEOF
17260 cat confdefs.h
>>conftest.
$ac_ext
17261 cat >>conftest.
$ac_ext <<_ACEOF
17262 /* end confdefs.h. */
17272 rm -f conftest.
$ac_objext conftest
$ac_exeext
17273 if { (ac_try
="$ac_link"
17274 case "(($ac_try" in
17275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17276 *) ac_try_echo=$ac_try;;
17278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17279 (eval "$ac_link") 2>conftest.er1
17281 grep -v '^ *+' conftest.er1 >conftest.err
17283 cat conftest.err >&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } && {
17286 test -z "$ac_c_werror_flag" ||
17287 test ! -s conftest.err
17288 } && test -s conftest$ac_exeext &&
17289 $as_test_x conftest$ac_exeext; then
17291 lt_aix_libpath_sed='
17292 /Import File Strings/,/^$/ {
17298 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17299 # Check for a 64-bit object if we didn't find anything.
17300 if test -z "$aix_libpath"; then
17301 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.$ac_ext >&5
17310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17311 conftest$ac_exeext conftest.$ac_ext
17312 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17314 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17315 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"
17317 if test "$host_cpu" = ia64; then
17318 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17319 allow_undefined_flag_GCJ="-z nodefs"
17320 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"
17322 # Determine the default libpath from the value encoded in an empty executable.
17323 cat >conftest.$ac_ext <<_ACEOF
17326 cat confdefs.h >>conftest.$ac_ext
17327 cat >>conftest.$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17338 rm -f conftest.$ac_objext conftest$ac_exeext
17339 if { (ac_try="$ac_link"
17340 case "(($ac_try" in
17341 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17342 *) ac_try_echo
=$ac_try;;
17344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17345 (eval "$ac_link") 2>conftest.er1
17347 grep -v '^ *+' conftest.er1
>conftest.err
17349 cat conftest.err
>&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); } && {
17352 test -z "$ac_c_werror_flag" ||
17353 test ! -s conftest.err
17354 } && test -s conftest
$ac_exeext &&
17355 $as_test_x conftest
$ac_exeext; then
17357 lt_aix_libpath_sed
='
17358 /Import File Strings/,/^$/ {
17364 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17365 # Check for a 64-bit object if we didn't find anything.
17366 if test -z "$aix_libpath"; then
17367 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.
$ac_ext >&5
17376 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17377 conftest
$ac_exeext conftest.
$ac_ext
17378 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17380 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17381 # Warning - without using the other run time loading flags,
17382 # -berok will link without error, but may produce a broken library.
17383 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17384 allow_undefined_flag_GCJ
=' ${wl}-berok'
17385 # Exported symbols can be pulled into shared objects from archives
17386 whole_archive_flag_spec_GCJ
='$convenience'
17387 archive_cmds_need_lc_GCJ
=yes
17388 # This is similar to how AIX traditionally builds its shared libraries.
17389 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'
17395 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)'
17396 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17397 hardcode_minus_L_GCJ
=yes
17398 # see comment about different semantics on the GNU ld section
17403 export_dynamic_flag_spec_GCJ
=-rdynamic
17406 cygwin
* | mingw
* | pw32
*)
17407 # When not using gcc, we currently assume that we are using
17408 # Microsoft Visual C++.
17409 # hardcode_libdir_flag_spec is actually meaningless, as there is
17410 # no search path for DLLs.
17411 hardcode_libdir_flag_spec_GCJ
=' '
17412 allow_undefined_flag_GCJ
=unsupported
17413 # Tell ltmain to make .lib files, not .a files.
17415 # Tell ltmain to make .dll files, not .so files.
17417 # FIXME: Setting linknames here is a bad hack.
17418 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17419 # The linker will automatically build a .lib file if we build a DLL.
17420 old_archive_From_new_cmds_GCJ
='true'
17421 # FIXME: Should let the user specify the lib program.
17422 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17423 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17424 enable_shared_with_static_runtimes_GCJ
=yes
17427 darwin
* | rhapsody
*)
17429 rhapsody
* | darwin1.
[012])
17430 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17433 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17434 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17436 case ${MACOSX_DEPLOYMENT_TARGET} in
17438 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17441 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17447 archive_cmds_need_lc_GCJ
=no
17448 hardcode_direct_GCJ
=no
17449 hardcode_automatic_GCJ
=yes
17450 hardcode_shlibpath_var_GCJ
=unsupported
17451 whole_archive_flag_spec_GCJ
=''
17452 link_all_deplibs_GCJ
=yes
17453 if test "$GCC" = yes ; then
17454 output_verbose_link_cmd
='echo'
17455 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17456 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17457 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17458 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}'
17459 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}'
17461 case $cc_basename in
17463 output_verbose_link_cmd
='echo'
17464 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17465 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17466 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17467 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17468 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}'
17478 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17479 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17480 hardcode_shlibpath_var_GCJ
=no
17487 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17488 # support. Future versions do this automatically, but an explicit c++rt0.o
17489 # does not break anything, and helps significantly (at the cost of a little
17492 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17493 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17494 hardcode_direct_GCJ
=yes
17495 hardcode_shlibpath_var_GCJ
=no
17498 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17500 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17501 hardcode_direct_GCJ
=yes
17502 hardcode_minus_L_GCJ
=yes
17503 hardcode_shlibpath_var_GCJ
=no
17506 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17507 freebsd
* | dragonfly
*)
17508 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17509 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17510 hardcode_direct_GCJ
=yes
17511 hardcode_shlibpath_var_GCJ
=no
17515 if test "$GCC" = yes; then
17516 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'
17518 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'
17520 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17521 hardcode_libdir_separator_GCJ
=:
17522 hardcode_direct_GCJ
=yes
17524 # hardcode_minus_L: Not really in the search PATH,
17525 # but as the default location of the library.
17526 hardcode_minus_L_GCJ
=yes
17527 export_dynamic_flag_spec_GCJ
='${wl}-E'
17531 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17532 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17534 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17536 if test "$with_gnu_ld" = no
; then
17537 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17538 hardcode_libdir_separator_GCJ
=:
17540 hardcode_direct_GCJ
=yes
17541 export_dynamic_flag_spec_GCJ
='${wl}-E'
17543 # hardcode_minus_L: Not really in the search PATH,
17544 # but as the default location of the library.
17545 hardcode_minus_L_GCJ
=yes
17550 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17553 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17556 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17559 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17565 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17568 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17571 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17575 if test "$with_gnu_ld" = no
; then
17576 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17577 hardcode_libdir_separator_GCJ
=:
17581 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17582 hardcode_direct_GCJ
=no
17583 hardcode_shlibpath_var_GCJ
=no
17586 hardcode_direct_GCJ
=yes
17587 export_dynamic_flag_spec_GCJ
='${wl}-E'
17589 # hardcode_minus_L: Not really in the search PATH,
17590 # but as the default location of the library.
17591 hardcode_minus_L_GCJ
=yes
17597 irix5
* | irix6
* | nonstopux
*)
17598 if test "$GCC" = yes; then
17599 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'
17601 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'
17602 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17604 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17605 hardcode_libdir_separator_GCJ
=:
17606 link_all_deplibs_GCJ
=yes
17610 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17611 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17613 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17615 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17616 hardcode_direct_GCJ
=yes
17617 hardcode_shlibpath_var_GCJ
=no
17621 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17622 hardcode_direct_GCJ
=yes
17623 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17624 hardcode_libdir_separator_GCJ
=:
17625 hardcode_shlibpath_var_GCJ
=no
17629 if test -f /usr
/libexec
/ld.so
; then
17630 hardcode_direct_GCJ
=yes
17631 hardcode_shlibpath_var_GCJ
=no
17632 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17633 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17634 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17635 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17636 export_dynamic_flag_spec_GCJ
='${wl}-E'
17639 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17640 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17641 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17644 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17645 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17655 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17656 hardcode_minus_L_GCJ
=yes
17657 allow_undefined_flag_GCJ
=unsupported
17658 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'
17659 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17663 if test "$GCC" = yes; then
17664 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17665 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'
17667 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17668 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'
17670 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17671 hardcode_libdir_separator_GCJ
=:
17674 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17675 if test "$GCC" = yes; then
17676 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17677 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'
17678 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17680 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17681 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'
17682 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~
17683 $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'
17685 # Both c and cxx compiler support -rpath directly
17686 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17688 hardcode_libdir_separator_GCJ
=:
17692 no_undefined_flag_GCJ
=' -z text'
17693 if test "$GCC" = yes; then
17695 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17696 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17697 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17700 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17701 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17702 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17704 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17705 hardcode_shlibpath_var_GCJ
=no
17707 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17709 # The compiler driver will combine and reorder linker options,
17710 # but understands `-z linker_flag'. GCC discards it without `$wl',
17711 # but is careful enough not to reorder.
17712 # Supported since Solaris 2.6 (maybe 2.5.1?)
17713 if test "$GCC" = yes; then
17714 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17716 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17720 link_all_deplibs_GCJ
=yes
17724 if test "x$host_vendor" = xsequent
; then
17725 # Use $CC to link under sequent, because it throws in some extra .o
17726 # files that make .init and .fini sections work.
17727 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17729 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17731 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17732 hardcode_direct_GCJ
=yes
17733 hardcode_minus_L_GCJ
=yes
17734 hardcode_shlibpath_var_GCJ
=no
17738 case $host_vendor in
17740 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17741 hardcode_direct_GCJ
=yes # is this really true???
17744 ## LD is ld it makes a PLAMLIB
17745 ## CC just makes a GrossModule.
17746 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17747 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17748 hardcode_direct_GCJ
=no
17751 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17752 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17755 runpath_var
='LD_RUN_PATH'
17756 hardcode_shlibpath_var_GCJ
=no
17760 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17761 hardcode_shlibpath_var_GCJ
=no
17762 export_dynamic_flag_spec_GCJ
='-Bexport'
17766 if test -d /usr
/nec
; then
17767 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17768 hardcode_shlibpath_var_GCJ
=no
17769 runpath_var
=LD_RUN_PATH
17770 hardcode_runpath_var
=yes
17775 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17776 no_undefined_flag_GCJ
='${wl}-z,text'
17777 archive_cmds_need_lc_GCJ
=no
17778 hardcode_shlibpath_var_GCJ
=no
17779 runpath_var
='LD_RUN_PATH'
17781 if test "$GCC" = yes; then
17782 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17783 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17785 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17786 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17790 sysv5
* | sco3.2v5
* | sco5v6
*)
17791 # Note: We can NOT use -z defs as we might desire, because we do not
17792 # link with -lc, and that would cause any symbols used from libc to
17793 # always be unresolved, which means just about no library would
17794 # ever link correctly. If we're not using GNU ld we use -z text
17795 # though, which does catch some bad symbols but isn't as heavy-handed
17797 no_undefined_flag_GCJ
='${wl}-z,text'
17798 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17799 archive_cmds_need_lc_GCJ
=no
17800 hardcode_shlibpath_var_GCJ
=no
17801 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17802 hardcode_libdir_separator_GCJ
=':'
17803 link_all_deplibs_GCJ
=yes
17804 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17805 runpath_var
='LD_RUN_PATH'
17807 if test "$GCC" = yes; then
17808 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17809 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17811 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17812 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17817 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17818 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17819 hardcode_shlibpath_var_GCJ
=no
17828 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17829 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17830 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17833 # Do we need to explicitly link libc?
17835 case "x$archive_cmds_need_lc_GCJ" in
17837 # Assume -lc should be added
17838 archive_cmds_need_lc_GCJ
=yes
17840 if test "$enable_shared" = yes && test "$GCC" = yes; then
17841 case $archive_cmds_GCJ in
17843 # FIXME: we may have to deal with multi-command sequences.
17846 # Test whether the compiler implicitly links with -lc since on some
17847 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17848 # to ld, don't add -lc before -lgcc.
17849 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17850 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17852 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17855 (eval $ac_compile) 2>&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); } 2>conftest.err
; then
17861 libobjs
=conftest.
$ac_objext
17863 wl
=$lt_prog_compiler_wl_GCJ
17864 pic_flag
=$lt_prog_compiler_pic_GCJ
17870 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17871 allow_undefined_flag_GCJ
=
17872 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17873 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); }
17878 archive_cmds_need_lc_GCJ
=no
17880 archive_cmds_need_lc_GCJ
=yes
17882 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17884 cat conftest.err
1>&5
17887 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17888 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17895 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17896 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17897 library_names_spec
=
17898 libname_spec
='lib$name'
17902 postuninstall_cmds
=
17906 shlibpath_overrides_runpath
=unknown
17908 dynamic_linker
="$host_os ld.so"
17909 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17911 need_lib_prefix
=unknown
17912 hardcode_into_libs
=no
17914 # when you set need_version to no, make sure it does not cause -set_version
17915 # flags to be left without arguments
17916 need_version
=unknown
17921 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17922 shlibpath_var
=LIBPATH
17924 # AIX 3 has no versioning support, so we append a major version to the name.
17925 soname_spec
='${libname}${release}${shared_ext}$major'
17932 hardcode_into_libs
=yes
17933 if test "$host_cpu" = ia64
; then
17934 # AIX 5 supports IA64
17935 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17936 shlibpath_var
=LD_LIBRARY_PATH
17938 # With GCC up to 2.95.x, collect2 would create an import file
17939 # for dependence libraries. The import file would start with
17940 # the line `#! .'. This would cause the generated library to
17941 # depend on `.', always an invalid library. This was fixed in
17942 # development snapshots of GCC prior to 3.0.
17944 aix4 | aix4.
[01] | aix4.
[01].
*)
17945 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17947 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17950 can_build_shared
=no
17954 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17955 # soname into executable. Probably we can add versioning support to
17956 # collect2, so additional links can be useful in future.
17957 if test "$aix_use_runtimelinking" = yes; then
17958 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17959 # instead of lib<name>.a to let people know that these are not
17960 # typical AIX shared libraries.
17961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17963 # We preserve .a as extension for shared libraries through AIX4.2
17964 # and later when we are not doing run time linking.
17965 library_names_spec
='${libname}${release}.a $libname.a'
17966 soname_spec
='${libname}${release}${shared_ext}$major'
17968 shlibpath_var
=LIBPATH
17973 library_names_spec
='$libname.ixlibrary $libname.a'
17974 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17975 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'
17979 library_names_spec
='${libname}${shared_ext}'
17980 dynamic_linker
="$host_os ld.so"
17981 shlibpath_var
=LIBRARY_PATH
17987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17988 soname_spec
='${libname}${release}${shared_ext}$major'
17989 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17990 shlibpath_var
=LD_LIBRARY_PATH
17991 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17992 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17993 # the default ld.so.conf also contains /usr/contrib/lib and
17994 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17995 # libtool to hard-code these into programs
17998 cygwin
* | mingw
* | pw32
*)
17999 version_type
=windows
18004 case $GCC,$host_os in
18005 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18006 library_names_spec
='$libname.dll.a'
18007 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18008 postinstall_cmds
='base_file=`basename \${file}`~
18009 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18010 dldir=$destdir/`dirname \$dlpath`~
18011 test -d \$dldir || mkdir -p \$dldir~
18012 $install_prog $dir/$dlname \$dldir/$dlname~
18013 chmod a+x \$dldir/$dlname'
18014 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18015 dlpath=$dir/\$dldll~
18017 shlibpath_overrides_runpath
=yes
18021 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18022 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18023 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18026 # MinGW DLLs use traditional 'lib' prefix
18027 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18028 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18029 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18030 # It is most probably a Windows format PATH printed by
18031 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18032 # path with ; separators, and with drive letters. We can handle the
18033 # drive letters (cygwin fileutils understands them), so leave them,
18034 # especially as we might pass files found there to a mingw objdump,
18035 # which wouldn't understand a cygwinified path. Ahh.
18036 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18038 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18042 # pw32 DLLs use 'pw' prefix rather than 'lib'
18043 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18049 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18052 dynamic_linker
='Win32 ld.exe'
18053 # FIXME: first we should search . and the directory the executable is in
18057 darwin
* | rhapsody
*)
18058 dynamic_linker
="$host_os dyld"
18059 version_type
=darwin
18062 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18063 soname_spec
='${libname}${release}${major}$shared_ext'
18064 shlibpath_overrides_runpath
=yes
18065 shlibpath_var
=DYLD_LIBRARY_PATH
18066 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18068 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18076 soname_spec
='${libname}${release}${shared_ext}$major'
18077 shlibpath_var
=LD_LIBRARY_PATH
18084 freebsd
* | dragonfly
*)
18085 # DragonFly does not have aout. When/if they implement a new
18086 # versioning mechanism, adjust this.
18087 if test -x /usr
/bin
/objformat
; then
18088 objformat
=`/usr/bin/objformat`
18091 freebsd
[123]*) objformat
=aout
;;
18092 *) objformat
=elf
;;
18095 version_type
=freebsd-
$objformat
18096 case $version_type in
18098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18103 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18107 shlibpath_var
=LD_LIBRARY_PATH
18110 shlibpath_overrides_runpath
=yes
18112 freebsd3.
[01]* | freebsdelf3.
[01]*)
18113 shlibpath_overrides_runpath
=yes
18114 hardcode_into_libs
=yes
18116 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18117 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18118 shlibpath_overrides_runpath
=no
18119 hardcode_into_libs
=yes
18121 *) # from 4.6 on, and DragonFly
18122 shlibpath_overrides_runpath
=yes
18123 hardcode_into_libs
=yes
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'
18134 shlibpath_var
=LD_LIBRARY_PATH
18135 hardcode_into_libs
=yes
18138 hpux9
* | hpux10
* | hpux11
*)
18139 # Give a soname corresponding to the major version so that dld.sl refuses to
18140 # link against other versions.
18147 hardcode_into_libs
=yes
18148 dynamic_linker
="$host_os dld.so"
18149 shlibpath_var
=LD_LIBRARY_PATH
18150 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18152 soname_spec
='${libname}${release}${shared_ext}$major'
18153 if test "X$HPUX_IA64_MODE" = X32
; then
18154 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18156 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18158 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18162 hardcode_into_libs
=yes
18163 dynamic_linker
="$host_os dld.sl"
18164 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18165 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18167 soname_spec
='${libname}${release}${shared_ext}$major'
18168 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18169 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18173 dynamic_linker
="$host_os dld.sl"
18174 shlibpath_var
=SHLIB_PATH
18175 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18177 soname_spec
='${libname}${release}${shared_ext}$major'
18180 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18181 postinstall_cmds
='chmod 555 $lib'
18188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18189 soname_spec
='${libname}${release}${shared_ext}$major'
18190 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18191 shlibpath_var
=LD_LIBRARY_PATH
18192 shlibpath_overrides_runpath
=no
18193 hardcode_into_libs
=yes
18196 irix5
* | irix6
* | nonstopux
*)
18198 nonstopux
*) version_type
=nonstopux
;;
18200 if test "$lt_cv_prog_gnu_ld" = yes; then
18208 soname_spec
='${libname}${release}${shared_ext}$major'
18209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18211 irix5
* | nonstopux
*)
18212 libsuff
= shlibsuff
=
18215 case $LD in # libtool.m4 will add one of these switches to LD
18216 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18217 libsuff
= shlibsuff
= libmagic
=32-bit;;
18218 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18219 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18220 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18221 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18222 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18226 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18227 shlibpath_overrides_runpath
=no
18228 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18229 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18230 hardcode_into_libs
=yes
18233 # No shared lib support for Linux oldld, aout, or coff.
18234 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18238 # This must be Linux ELF.
18239 linux
* | k
*bsd
*-gnu)
18243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18244 soname_spec
='${libname}${release}${shared_ext}$major'
18245 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18246 shlibpath_var
=LD_LIBRARY_PATH
18247 shlibpath_overrides_runpath
=no
18248 # This implies no fast_install, which is unacceptable.
18249 # Some rework will be needed to allow for fast_install
18250 # before this can be enabled.
18251 hardcode_into_libs
=yes
18252 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18253 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18255 # Append ld.so.conf contents to the search path
18256 if test -f /etc
/ld.so.conf
; then
18257 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18258 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
18261 # We used to test for /lib/ld.so.1 and disable shared libraries on
18262 # powerpc, because MkLinux only supported shared libraries with the
18263 # GNU dynamic linker. Since this was broken with cross compilers,
18264 # most powerpc-linux boxes support dynamic linking these days and
18265 # people can always --disable-shared, the test was removed, and we
18266 # assume the GNU/Linux dynamic linker is in use.
18267 dynamic_linker
='GNU/Linux ld.so'
18274 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18276 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18277 dynamic_linker
='NetBSD (a.out) ld.so'
18279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18280 soname_spec
='${libname}${release}${shared_ext}$major'
18281 dynamic_linker
='NetBSD ld.elf_so'
18283 shlibpath_var
=LD_LIBRARY_PATH
18284 shlibpath_overrides_runpath
=yes
18285 hardcode_into_libs
=yes
18290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18291 shlibpath_var
=LD_LIBRARY_PATH
18292 shlibpath_overrides_runpath
=yes
18299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18300 soname_spec
='${libname}${release}${shared_ext}$major'
18301 shlibpath_var
=LD_LIBRARY_PATH
18302 shlibpath_overrides_runpath
=yes
18307 sys_lib_dlsearch_path_spec
="/usr/lib"
18309 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18311 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18312 *) need_version
=no
;;
18314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18315 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18316 shlibpath_var
=LD_LIBRARY_PATH
18317 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18319 openbsd2.
[89] | openbsd2.
[89].
*)
18320 shlibpath_overrides_runpath
=no
18323 shlibpath_overrides_runpath
=yes
18327 shlibpath_overrides_runpath
=yes
18332 libname_spec
='$name'
18335 library_names_spec
='$libname${shared_ext} $libname.a'
18336 dynamic_linker
='OS/2 ld.exe'
18337 shlibpath_var
=LIBPATH
18340 osf3
* | osf4
* | osf5
*)
18344 soname_spec
='${libname}${release}${shared_ext}$major'
18345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18346 shlibpath_var
=LD_LIBRARY_PATH
18347 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18348 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18360 soname_spec
='${libname}${release}${shared_ext}$major'
18361 shlibpath_var
=LD_LIBRARY_PATH
18362 shlibpath_overrides_runpath
=yes
18363 hardcode_into_libs
=yes
18364 # ldd complains unless libraries are executable
18365 postinstall_cmds
='chmod +x $lib'
18370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18371 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18372 shlibpath_var
=LD_LIBRARY_PATH
18373 shlibpath_overrides_runpath
=yes
18374 if test "$with_gnu_ld" = yes; then
18382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18383 soname_spec
='${libname}${release}${shared_ext}$major'
18384 shlibpath_var
=LD_LIBRARY_PATH
18385 case $host_vendor in
18387 shlibpath_overrides_runpath
=no
18389 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18390 runpath_var
=LD_RUN_PATH
18398 shlibpath_overrides_runpath
=no
18399 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18405 if test -d /usr
/nec
;then
18407 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18408 soname_spec
='$libname${shared_ext}.$major'
18409 shlibpath_var
=LD_LIBRARY_PATH
18413 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18414 version_type
=freebsd-elf
18417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18418 soname_spec
='${libname}${release}${shared_ext}$major'
18419 shlibpath_var
=LD_LIBRARY_PATH
18420 hardcode_into_libs
=yes
18421 if test "$with_gnu_ld" = yes; then
18422 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18423 shlibpath_overrides_runpath
=no
18425 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18426 shlibpath_overrides_runpath
=yes
18429 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18433 sys_lib_dlsearch_path_spec
='/usr/lib'
18438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18439 soname_spec
='${libname}${release}${shared_ext}$major'
18440 shlibpath_var
=LD_LIBRARY_PATH
18447 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18448 echo "${ECHO_T}$dynamic_linker" >&6; }
18449 test "$dynamic_linker" = no
&& can_build_shared
=no
18451 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18452 if test "$GCC" = yes; then
18453 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18456 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18457 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18458 hardcode_action_GCJ
=
18459 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18460 test -n "$runpath_var_GCJ" || \
18461 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18463 # We can hardcode non-existant directories.
18464 if test "$hardcode_direct_GCJ" != no
&&
18465 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18466 # have to relink, otherwise we might link with an installed library
18467 # when we should be linking with a yet-to-be-installed one
18468 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18469 test "$hardcode_minus_L_GCJ" != no
; then
18470 # Linking always hardcodes the temporary library directory.
18471 hardcode_action_GCJ
=relink
18473 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18474 hardcode_action_GCJ
=immediate
18477 # We cannot hardcode anything, or else we can only hardcode existing
18479 hardcode_action_GCJ
=unsupported
18481 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18482 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18484 if test "$hardcode_action_GCJ" = relink
; then
18485 # Fast installation is not supported
18486 enable_fast_install
=no
18487 elif test "$shlibpath_overrides_runpath" = yes ||
18488 test "$enable_shared" = no
; then
18489 # Fast installation is not necessary
18490 enable_fast_install
=needless
18494 # The else clause should only fire when bootstrapping the
18495 # libtool distribution, otherwise you forgot to ship ltmain.sh
18496 # with your package, and you will get complaints that there are
18497 # no rules to generate ltmain.sh.
18498 if test -f "$ltmain"; then
18499 # See if we are running on zsh, and set the options which allow our commands through
18500 # without removal of \ escapes.
18501 if test -n "${ZSH_VERSION+set}" ; then
18502 setopt NO_GLOB_SUBST
18504 # Now quote all the things that may contain metacharacters while being
18505 # careful not to overquote the AC_SUBSTed values. We take copies of the
18506 # variables and quote the copies for generation of the libtool script.
18507 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18509 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18510 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18511 deplibs_check_method reload_flag reload_cmds need_locks \
18512 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18513 lt_cv_sys_global_symbol_to_c_name_address \
18514 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18515 old_postinstall_cmds old_postuninstall_cmds \
18519 lt_prog_compiler_wl_GCJ \
18520 lt_prog_compiler_pic_GCJ \
18521 lt_prog_compiler_static_GCJ \
18522 lt_prog_compiler_no_builtin_flag_GCJ \
18523 export_dynamic_flag_spec_GCJ \
18524 thread_safe_flag_spec_GCJ \
18525 whole_archive_flag_spec_GCJ \
18526 enable_shared_with_static_runtimes_GCJ \
18527 old_archive_cmds_GCJ \
18528 old_archive_from_new_cmds_GCJ \
18529 predep_objects_GCJ \
18530 postdep_objects_GCJ \
18533 compiler_lib_search_path_GCJ \
18535 archive_expsym_cmds_GCJ \
18536 postinstall_cmds_GCJ \
18537 postuninstall_cmds_GCJ \
18538 old_archive_from_expsyms_cmds_GCJ \
18539 allow_undefined_flag_GCJ \
18540 no_undefined_flag_GCJ \
18541 export_symbols_cmds_GCJ \
18542 hardcode_libdir_flag_spec_GCJ \
18543 hardcode_libdir_flag_spec_ld_GCJ \
18544 hardcode_libdir_separator_GCJ \
18545 hardcode_automatic_GCJ \
18547 module_expsym_cmds_GCJ \
18548 lt_cv_prog_compiler_c_o_GCJ \
18549 fix_srcfile_path_GCJ \
18550 exclude_expsyms_GCJ \
18551 include_expsyms_GCJ
; do
18554 old_archive_cmds_GCJ | \
18555 old_archive_from_new_cmds_GCJ | \
18556 archive_cmds_GCJ | \
18557 archive_expsym_cmds_GCJ | \
18558 module_cmds_GCJ | \
18559 module_expsym_cmds_GCJ | \
18560 old_archive_from_expsyms_cmds_GCJ | \
18561 export_symbols_cmds_GCJ | \
18562 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18563 postinstall_cmds | postuninstall_cmds | \
18564 old_postinstall_cmds | old_postuninstall_cmds | \
18565 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18566 # Double-quote double-evaled strings.
18567 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18570 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18576 *'\$0 --fallback-echo"')
18577 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18583 cat <<__EOF__ >> "$cfgfile"
18584 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18586 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18588 # Shell to use when invoking shell scripts.
18591 # Whether or not to build shared libraries.
18592 build_libtool_libs=$enable_shared
18594 # Whether or not to build static libraries.
18595 build_old_libs=$enable_static
18597 # Whether or not to add -lc for building shared libraries.
18598 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18600 # Whether or not to disallow shared libs when runtime libs are static
18601 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18603 # Whether or not to optimize for fast installation.
18604 fast_install=$enable_fast_install
18607 host_alias=$host_alias
18611 # The build system.
18612 build_alias=$build_alias
18616 # An echo program that does not interpret backslashes.
18621 AR_FLAGS=$lt_AR_FLAGS
18626 # LTCC compiler flags.
18627 LTCFLAGS=$lt_LTCFLAGS
18629 # A language-specific compiler.
18630 CC=$lt_compiler_GCJ
18632 # Is the compiler the GNU C compiler?
18638 # The linker used to build libraries.
18641 # Whether we need hard or soft links.
18644 # A BSD-compatible nm program.
18647 # A symbol stripping program
18650 # Used to examine libraries when file_magic_cmd begins "file"
18651 MAGIC_CMD=$MAGIC_CMD
18653 # Used on cygwin: DLL creation program.
18656 # Used on cygwin: object dumper.
18659 # Used on cygwin: assembler.
18662 # The name of the directory that contains temporary libtool files.
18665 # How to create reloadable object files.
18666 reload_flag=$lt_reload_flag
18667 reload_cmds=$lt_reload_cmds
18669 # How to pass a linker flag through the compiler.
18670 wl=$lt_lt_prog_compiler_wl_GCJ
18672 # Object file suffix (normally "o").
18673 objext="$ac_objext"
18675 # Old archive suffix (normally "a").
18678 # Shared library suffix (normally ".so").
18679 shrext_cmds='$shrext_cmds'
18681 # Executable file suffix (normally "").
18684 # Additional compiler flags for building library objects.
18685 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18688 # What is the maximum length of a command?
18689 max_cmd_len=$lt_cv_sys_max_cmd_len
18691 # Does compiler simultaneously support -c and -o options?
18692 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18694 # Must we lock files when doing compilation?
18695 need_locks=$lt_need_locks
18697 # Do we need the lib prefix for modules?
18698 need_lib_prefix=$need_lib_prefix
18700 # Do we need a version for libraries?
18701 need_version=$need_version
18703 # Whether dlopen is supported.
18704 dlopen_support=$enable_dlopen
18706 # Whether dlopen of programs is supported.
18707 dlopen_self=$enable_dlopen_self
18709 # Whether dlopen of statically linked programs is supported.
18710 dlopen_self_static=$enable_dlopen_self_static
18712 # Compiler flag to prevent dynamic linking.
18713 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18715 # Compiler flag to turn off builtin functions.
18716 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18718 # Compiler flag to allow reflexive dlopens.
18719 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18721 # Compiler flag to generate shared objects directly from archives.
18722 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18724 # Compiler flag to generate thread-safe objects.
18725 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18727 # Library versioning type.
18728 version_type=$version_type
18730 # Format of library name prefix.
18731 libname_spec=$lt_libname_spec
18733 # List of archive names. First name is the real one, the rest are links.
18734 # The last name is the one that the linker finds with -lNAME.
18735 library_names_spec=$lt_library_names_spec
18737 # The coded name of the library, if different from the real name.
18738 soname_spec=$lt_soname_spec
18740 # Commands used to build and install an old-style archive.
18742 old_archive_cmds=$lt_old_archive_cmds_GCJ
18743 old_postinstall_cmds=$lt_old_postinstall_cmds
18744 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18746 # Create an old-style archive from a shared archive.
18747 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18749 # Create a temporary old-style archive to link instead of a shared archive.
18750 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18752 # Commands used to build and install a shared archive.
18753 archive_cmds=$lt_archive_cmds_GCJ
18754 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18755 postinstall_cmds=$lt_postinstall_cmds
18756 postuninstall_cmds=$lt_postuninstall_cmds
18758 # Commands used to build a loadable module (assumed same as above if empty)
18759 module_cmds=$lt_module_cmds_GCJ
18760 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18762 # Commands to strip libraries.
18763 old_striplib=$lt_old_striplib
18764 striplib=$lt_striplib
18766 # Dependencies to place before the objects being linked to create a
18768 predep_objects=$lt_predep_objects_GCJ
18770 # Dependencies to place after the objects being linked to create a
18772 postdep_objects=$lt_postdep_objects_GCJ
18774 # Dependencies to place before the objects being linked to create a
18776 predeps=$lt_predeps_GCJ
18778 # Dependencies to place after the objects being linked to create a
18780 postdeps=$lt_postdeps_GCJ
18782 # The library search path used internally by the compiler when linking
18783 # a shared library.
18784 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18786 # Method to check whether dependent libraries are shared objects.
18787 deplibs_check_method=$lt_deplibs_check_method
18789 # Command to use when deplibs_check_method == file_magic.
18790 file_magic_cmd=$lt_file_magic_cmd
18792 # Flag that allows shared libraries with undefined symbols to be built.
18793 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18795 # Flag that forces no undefined symbols.
18796 no_undefined_flag=$lt_no_undefined_flag_GCJ
18798 # Commands used to finish a libtool library installation in a directory.
18799 finish_cmds=$lt_finish_cmds
18801 # Same as above, but a single script fragment to be evaled but not shown.
18802 finish_eval=$lt_finish_eval
18804 # Take the output of nm and produce a listing of raw symbols and C names.
18805 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18807 # Transform the output of nm in a proper C declaration
18808 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18810 # Transform the output of nm in a C name address pair
18811 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18813 # This is the shared library runtime path variable.
18814 runpath_var=$runpath_var
18816 # This is the shared library path variable.
18817 shlibpath_var=$shlibpath_var
18819 # Is shlibpath searched before the hard-coded library search path?
18820 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18822 # How to hardcode a shared library path into an executable.
18823 hardcode_action=$hardcode_action_GCJ
18825 # Whether we should hardcode library paths into libraries.
18826 hardcode_into_libs=$hardcode_into_libs
18828 # Flag to hardcode \$libdir into a binary during linking.
18829 # This must work even if \$libdir does not exist.
18830 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18832 # If ld is used when linking, flag to hardcode \$libdir into
18833 # a binary during linking. This must work even if \$libdir does
18835 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18837 # Whether we need a single -rpath flag with a separated argument.
18838 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18840 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18841 # resulting binary.
18842 hardcode_direct=$hardcode_direct_GCJ
18844 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18845 # resulting binary.
18846 hardcode_minus_L=$hardcode_minus_L_GCJ
18848 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18849 # the resulting binary.
18850 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18852 # Set to yes if building a shared library automatically hardcodes DIR into the library
18853 # and all subsequent libraries and executables linked against it.
18854 hardcode_automatic=$hardcode_automatic_GCJ
18856 # Variables whose values should be saved in libtool wrapper scripts and
18857 # restored at relink time.
18858 variables_saved_for_relink="$variables_saved_for_relink"
18860 # Whether libtool must link a program against all its dependency libraries.
18861 link_all_deplibs=$link_all_deplibs_GCJ
18863 # Compile-time system search path for libraries
18864 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18866 # Run-time system search path for libraries
18867 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18869 # Fix the shell variable \$srcfile for the compiler.
18870 fix_srcfile_path=$lt_fix_srcfile_path
18872 # Set to yes if exported symbols are required.
18873 always_export_symbols=$always_export_symbols_GCJ
18875 # The commands to list exported symbols.
18876 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18878 # The commands to extract the exported symbol list from a shared archive.
18879 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18881 # Symbols that should not be listed in the preloaded symbols.
18882 exclude_expsyms=$lt_exclude_expsyms_GCJ
18884 # Symbols that must always be exported.
18885 include_expsyms=$lt_include_expsyms_GCJ
18887 # ### END LIBTOOL TAG CONFIG: $tagname
18893 # If there is no Makefile yet, we rely on a make rule to execute
18894 # `config.status --recheck' to rerun these tests and create the
18895 # libtool script then.
18896 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18897 if test -f "$ltmain_in"; then
18898 test -f Makefile
&& make "$ltmain"
18904 ac_cpp
='$CPP $CPPFLAGS'
18905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18919 # Source file extension for RC test sources.
18922 # Object file extension for compiled RC test sources.
18926 # Code to be used in simple compile tests
18927 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18929 # Code to be used in simple link tests
18930 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18932 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18934 # If no C compiler was specified, use CC.
18937 # If no C compiler flags were specified, use CFLAGS.
18938 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18940 # Allow CC to be a program name with arguments.
18944 # save warnings/boilerplate of simple test code
18945 ac_outfile
=conftest.
$ac_objext
18946 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18947 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18948 _lt_compiler_boilerplate
=`cat conftest.err`
18951 ac_outfile
=conftest.
$ac_objext
18952 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18953 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18954 _lt_linker_boilerplate
=`cat conftest.err`
18958 # Allow CC to be a program name with arguments.
18963 for cc_temp
in $compiler""; do
18965 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18966 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18971 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18973 lt_cv_prog_compiler_c_o_RC
=yes
18975 # The else clause should only fire when bootstrapping the
18976 # libtool distribution, otherwise you forgot to ship ltmain.sh
18977 # with your package, and you will get complaints that there are
18978 # no rules to generate ltmain.sh.
18979 if test -f "$ltmain"; then
18980 # See if we are running on zsh, and set the options which allow our commands through
18981 # without removal of \ escapes.
18982 if test -n "${ZSH_VERSION+set}" ; then
18983 setopt NO_GLOB_SUBST
18985 # Now quote all the things that may contain metacharacters while being
18986 # careful not to overquote the AC_SUBSTed values. We take copies of the
18987 # variables and quote the copies for generation of the libtool script.
18988 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18990 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18991 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18992 deplibs_check_method reload_flag reload_cmds need_locks \
18993 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18994 lt_cv_sys_global_symbol_to_c_name_address \
18995 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18996 old_postinstall_cmds old_postuninstall_cmds \
19000 lt_prog_compiler_wl_RC \
19001 lt_prog_compiler_pic_RC \
19002 lt_prog_compiler_static_RC \
19003 lt_prog_compiler_no_builtin_flag_RC \
19004 export_dynamic_flag_spec_RC \
19005 thread_safe_flag_spec_RC \
19006 whole_archive_flag_spec_RC \
19007 enable_shared_with_static_runtimes_RC \
19008 old_archive_cmds_RC \
19009 old_archive_from_new_cmds_RC \
19010 predep_objects_RC \
19011 postdep_objects_RC \
19014 compiler_lib_search_path_RC \
19016 archive_expsym_cmds_RC \
19017 postinstall_cmds_RC \
19018 postuninstall_cmds_RC \
19019 old_archive_from_expsyms_cmds_RC \
19020 allow_undefined_flag_RC \
19021 no_undefined_flag_RC \
19022 export_symbols_cmds_RC \
19023 hardcode_libdir_flag_spec_RC \
19024 hardcode_libdir_flag_spec_ld_RC \
19025 hardcode_libdir_separator_RC \
19026 hardcode_automatic_RC \
19028 module_expsym_cmds_RC \
19029 lt_cv_prog_compiler_c_o_RC \
19030 fix_srcfile_path_RC \
19031 exclude_expsyms_RC \
19032 include_expsyms_RC
; do
19035 old_archive_cmds_RC | \
19036 old_archive_from_new_cmds_RC | \
19037 archive_cmds_RC | \
19038 archive_expsym_cmds_RC | \
19040 module_expsym_cmds_RC | \
19041 old_archive_from_expsyms_cmds_RC | \
19042 export_symbols_cmds_RC | \
19043 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19044 postinstall_cmds | postuninstall_cmds | \
19045 old_postinstall_cmds | old_postuninstall_cmds | \
19046 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19047 # Double-quote double-evaled strings.
19048 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19051 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19057 *'\$0 --fallback-echo"')
19058 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19064 cat <<__EOF__ >> "$cfgfile"
19065 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19067 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19069 # Shell to use when invoking shell scripts.
19072 # Whether or not to build shared libraries.
19073 build_libtool_libs=$enable_shared
19075 # Whether or not to build static libraries.
19076 build_old_libs=$enable_static
19078 # Whether or not to add -lc for building shared libraries.
19079 build_libtool_need_lc=$archive_cmds_need_lc_RC
19081 # Whether or not to disallow shared libs when runtime libs are static
19082 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19084 # Whether or not to optimize for fast installation.
19085 fast_install=$enable_fast_install
19088 host_alias=$host_alias
19092 # The build system.
19093 build_alias=$build_alias
19097 # An echo program that does not interpret backslashes.
19102 AR_FLAGS=$lt_AR_FLAGS
19107 # LTCC compiler flags.
19108 LTCFLAGS=$lt_LTCFLAGS
19110 # A language-specific compiler.
19113 # Is the compiler the GNU C compiler?
19119 # The linker used to build libraries.
19122 # Whether we need hard or soft links.
19125 # A BSD-compatible nm program.
19128 # A symbol stripping program
19131 # Used to examine libraries when file_magic_cmd begins "file"
19132 MAGIC_CMD=$MAGIC_CMD
19134 # Used on cygwin: DLL creation program.
19137 # Used on cygwin: object dumper.
19140 # Used on cygwin: assembler.
19143 # The name of the directory that contains temporary libtool files.
19146 # How to create reloadable object files.
19147 reload_flag=$lt_reload_flag
19148 reload_cmds=$lt_reload_cmds
19150 # How to pass a linker flag through the compiler.
19151 wl=$lt_lt_prog_compiler_wl_RC
19153 # Object file suffix (normally "o").
19154 objext="$ac_objext"
19156 # Old archive suffix (normally "a").
19159 # Shared library suffix (normally ".so").
19160 shrext_cmds='$shrext_cmds'
19162 # Executable file suffix (normally "").
19165 # Additional compiler flags for building library objects.
19166 pic_flag=$lt_lt_prog_compiler_pic_RC
19169 # What is the maximum length of a command?
19170 max_cmd_len=$lt_cv_sys_max_cmd_len
19172 # Does compiler simultaneously support -c and -o options?
19173 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19175 # Must we lock files when doing compilation?
19176 need_locks=$lt_need_locks
19178 # Do we need the lib prefix for modules?
19179 need_lib_prefix=$need_lib_prefix
19181 # Do we need a version for libraries?
19182 need_version=$need_version
19184 # Whether dlopen is supported.
19185 dlopen_support=$enable_dlopen
19187 # Whether dlopen of programs is supported.
19188 dlopen_self=$enable_dlopen_self
19190 # Whether dlopen of statically linked programs is supported.
19191 dlopen_self_static=$enable_dlopen_self_static
19193 # Compiler flag to prevent dynamic linking.
19194 link_static_flag=$lt_lt_prog_compiler_static_RC
19196 # Compiler flag to turn off builtin functions.
19197 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19199 # Compiler flag to allow reflexive dlopens.
19200 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19202 # Compiler flag to generate shared objects directly from archives.
19203 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19205 # Compiler flag to generate thread-safe objects.
19206 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19208 # Library versioning type.
19209 version_type=$version_type
19211 # Format of library name prefix.
19212 libname_spec=$lt_libname_spec
19214 # List of archive names. First name is the real one, the rest are links.
19215 # The last name is the one that the linker finds with -lNAME.
19216 library_names_spec=$lt_library_names_spec
19218 # The coded name of the library, if different from the real name.
19219 soname_spec=$lt_soname_spec
19221 # Commands used to build and install an old-style archive.
19223 old_archive_cmds=$lt_old_archive_cmds_RC
19224 old_postinstall_cmds=$lt_old_postinstall_cmds
19225 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19227 # Create an old-style archive from a shared archive.
19228 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19230 # Create a temporary old-style archive to link instead of a shared archive.
19231 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19233 # Commands used to build and install a shared archive.
19234 archive_cmds=$lt_archive_cmds_RC
19235 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19236 postinstall_cmds=$lt_postinstall_cmds
19237 postuninstall_cmds=$lt_postuninstall_cmds
19239 # Commands used to build a loadable module (assumed same as above if empty)
19240 module_cmds=$lt_module_cmds_RC
19241 module_expsym_cmds=$lt_module_expsym_cmds_RC
19243 # Commands to strip libraries.
19244 old_striplib=$lt_old_striplib
19245 striplib=$lt_striplib
19247 # Dependencies to place before the objects being linked to create a
19249 predep_objects=$lt_predep_objects_RC
19251 # Dependencies to place after the objects being linked to create a
19253 postdep_objects=$lt_postdep_objects_RC
19255 # Dependencies to place before the objects being linked to create a
19257 predeps=$lt_predeps_RC
19259 # Dependencies to place after the objects being linked to create a
19261 postdeps=$lt_postdeps_RC
19263 # The library search path used internally by the compiler when linking
19264 # a shared library.
19265 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19267 # Method to check whether dependent libraries are shared objects.
19268 deplibs_check_method=$lt_deplibs_check_method
19270 # Command to use when deplibs_check_method == file_magic.
19271 file_magic_cmd=$lt_file_magic_cmd
19273 # Flag that allows shared libraries with undefined symbols to be built.
19274 allow_undefined_flag=$lt_allow_undefined_flag_RC
19276 # Flag that forces no undefined symbols.
19277 no_undefined_flag=$lt_no_undefined_flag_RC
19279 # Commands used to finish a libtool library installation in a directory.
19280 finish_cmds=$lt_finish_cmds
19282 # Same as above, but a single script fragment to be evaled but not shown.
19283 finish_eval=$lt_finish_eval
19285 # Take the output of nm and produce a listing of raw symbols and C names.
19286 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19288 # Transform the output of nm in a proper C declaration
19289 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19291 # Transform the output of nm in a C name address pair
19292 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19294 # This is the shared library runtime path variable.
19295 runpath_var=$runpath_var
19297 # This is the shared library path variable.
19298 shlibpath_var=$shlibpath_var
19300 # Is shlibpath searched before the hard-coded library search path?
19301 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19303 # How to hardcode a shared library path into an executable.
19304 hardcode_action=$hardcode_action_RC
19306 # Whether we should hardcode library paths into libraries.
19307 hardcode_into_libs=$hardcode_into_libs
19309 # Flag to hardcode \$libdir into a binary during linking.
19310 # This must work even if \$libdir does not exist.
19311 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19313 # If ld is used when linking, flag to hardcode \$libdir into
19314 # a binary during linking. This must work even if \$libdir does
19316 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19318 # Whether we need a single -rpath flag with a separated argument.
19319 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19321 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19322 # resulting binary.
19323 hardcode_direct=$hardcode_direct_RC
19325 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19326 # resulting binary.
19327 hardcode_minus_L=$hardcode_minus_L_RC
19329 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19330 # the resulting binary.
19331 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19333 # Set to yes if building a shared library automatically hardcodes DIR into the library
19334 # and all subsequent libraries and executables linked against it.
19335 hardcode_automatic=$hardcode_automatic_RC
19337 # Variables whose values should be saved in libtool wrapper scripts and
19338 # restored at relink time.
19339 variables_saved_for_relink="$variables_saved_for_relink"
19341 # Whether libtool must link a program against all its dependency libraries.
19342 link_all_deplibs=$link_all_deplibs_RC
19344 # Compile-time system search path for libraries
19345 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19347 # Run-time system search path for libraries
19348 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19350 # Fix the shell variable \$srcfile for the compiler.
19351 fix_srcfile_path=$lt_fix_srcfile_path
19353 # Set to yes if exported symbols are required.
19354 always_export_symbols=$always_export_symbols_RC
19356 # The commands to list exported symbols.
19357 export_symbols_cmds=$lt_export_symbols_cmds_RC
19359 # The commands to extract the exported symbol list from a shared archive.
19360 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19362 # Symbols that should not be listed in the preloaded symbols.
19363 exclude_expsyms=$lt_exclude_expsyms_RC
19365 # Symbols that must always be exported.
19366 include_expsyms=$lt_include_expsyms_RC
19368 # ### END LIBTOOL TAG CONFIG: $tagname
19374 # If there is no Makefile yet, we rely on a make rule to execute
19375 # `config.status --recheck' to rerun these tests and create the
19376 # libtool script then.
19377 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19378 if test -f "$ltmain_in"; then
19379 test -f Makefile
&& make "$ltmain"
19385 ac_cpp
='$CPP $CPPFLAGS'
19386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19395 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19396 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19397 { (exit 1); exit 1; }; }
19401 # Append the new tag name to the list of available tags.
19402 if test -n "$tagname" ; then
19403 available_tags
="$available_tags $tagname"
19409 # Now substitute the updated list of available tags.
19410 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19411 mv "${ofile}T" "$ofile"
19415 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19416 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19417 { (exit 1); exit 1; }; }
19423 # This can be used to rebuild libtool when needed
19424 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19426 # Always use our own libtool.
19427 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19429 # Prevent multiple expansion
19451 if test "$GCC" = "yes"
19453 CFLAGS
="$CFLAGS -Wall"
19459 for ac_header
in unistd.h
19461 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19462 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19463 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19465 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19466 echo $ECHO_N "(cached) $ECHO_C" >&6
19468 ac_res
=`eval echo '${'$as_ac_Header'}'`
19469 { echo "$as_me:$LINENO: result: $ac_res" >&5
19470 echo "${ECHO_T}$ac_res" >&6; }
19472 # Is the header compilable?
19473 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19474 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19475 cat >conftest.
$ac_ext <<_ACEOF
19478 cat confdefs.h
>>conftest.
$ac_ext
19479 cat >>conftest.
$ac_ext <<_ACEOF
19480 /* end confdefs.h. */
19481 $ac_includes_default
19482 #include <$ac_header>
19484 rm -f conftest.
$ac_objext
19485 if { (ac_try
="$ac_compile"
19486 case "(($ac_try" in
19487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19488 *) ac_try_echo=$ac_try;;
19490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19491 (eval "$ac_compile") 2>conftest.er1
19493 grep -v '^ *+' conftest.er1 >conftest.err
19495 cat conftest.err >&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); } && {
19498 test -z "$ac_c_werror_flag" ||
19499 test ! -s conftest.err
19500 } && test -s conftest.$ac_objext; then
19501 ac_header_compiler=yes
19503 echo "$as_me: failed program was:" >&5
19504 sed 's/^/| /' conftest.$ac_ext >&5
19506 ac_header_compiler=no
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19511 echo "${ECHO_T}$ac_header_compiler" >&6; }
19513 # Is the header present?
19514 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19516 cat >conftest.$ac_ext <<_ACEOF
19519 cat confdefs.h >>conftest.$ac_ext
19520 cat >>conftest.$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 #include <$ac_header>
19524 if { (ac_try="$ac_cpp conftest.$ac_ext"
19525 case "(($ac_try" in
19526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19527 *) ac_try_echo
=$ac_try;;
19529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19530 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19532 grep -v '^ *+' conftest.er1
>conftest.err
19534 cat conftest.err
>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); } >/dev
/null
&& {
19537 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19538 test ! -s conftest.err
19540 ac_header_preproc
=yes
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.
$ac_ext >&5
19545 ac_header_preproc
=no
19548 rm -f conftest.err conftest.
$ac_ext
19549 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19550 echo "${ECHO_T}$ac_header_preproc" >&6; }
19552 # So? What about this header?
19553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19559 ac_header_preproc
=yes
19562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19575 ## -------------------------------------------------- ##
19576 ## Report this to courier-users@lists.sourceforge.net ##
19577 ## -------------------------------------------------- ##
19579 ) |
sed "s/^/$as_me: WARNING: /" >&2
19582 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19584 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19585 echo $ECHO_N "(cached) $ECHO_C" >&6
19587 eval "$as_ac_Header=\$ac_header_preproc"
19589 ac_res
=`eval echo '${'$as_ac_Header'}'`
19590 { echo "$as_me:$LINENO: result: $ac_res" >&5
19591 echo "${ECHO_T}$ac_res" >&6; }
19594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19595 cat >>confdefs.h
<<_ACEOF
19596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19604 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
19605 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
19606 if test "${ac_cv_type_uid_t+set}" = set; then
19607 echo $ECHO_N "(cached) $ECHO_C" >&6
19609 cat >conftest.
$ac_ext <<_ACEOF
19612 cat confdefs.h
>>conftest.
$ac_ext
19613 cat >>conftest.
$ac_ext <<_ACEOF
19614 /* end confdefs.h. */
19615 #include <sys/types.h>
19618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19619 $EGREP "uid_t" >/dev
/null
2>&1; then
19620 ac_cv_type_uid_t
=yes
19622 ac_cv_type_uid_t
=no
19627 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
19628 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
19629 if test $ac_cv_type_uid_t = no
; then
19631 cat >>confdefs.h
<<\_ACEOF
19636 cat >>confdefs.h
<<\_ACEOF
19642 { echo "$as_me:$LINENO: checking for pid_t" >&5
19643 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19644 if test "${ac_cv_type_pid_t+set}" = set; then
19645 echo $ECHO_N "(cached) $ECHO_C" >&6
19647 cat >conftest.
$ac_ext <<_ACEOF
19650 cat confdefs.h
>>conftest.
$ac_ext
19651 cat >>conftest.
$ac_ext <<_ACEOF
19652 /* end confdefs.h. */
19653 $ac_includes_default
19654 typedef pid_t ac__type_new_;
19658 if ((ac__type_new_ *) 0)
19660 if (sizeof (ac__type_new_))
19666 rm -f conftest.
$ac_objext
19667 if { (ac_try
="$ac_compile"
19668 case "(($ac_try" in
19669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19670 *) ac_try_echo=$ac_try;;
19672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19673 (eval "$ac_compile") 2>conftest.er1
19675 grep -v '^ *+' conftest.er1 >conftest.err
19677 cat conftest.err >&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); } && {
19680 test -z "$ac_c_werror_flag" ||
19681 test ! -s conftest.err
19682 } && test -s conftest.$ac_objext; then
19683 ac_cv_type_pid_t=yes
19685 echo "$as_me: failed program was:" >&5
19686 sed 's/^/| /' conftest.$ac_ext >&5
19688 ac_cv_type_pid_t=no
19691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19693 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19694 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19695 if test $ac_cv_type_pid_t = yes; then
19699 cat >>confdefs.h <<_ACEOF
19709 for ac_func in setgroups initgroups
19711 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
19712 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19714 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 cat >conftest.$ac_ext <<_ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19725 #define $ac_func innocuous_$ac_func
19727 /* System header to define __stub macros and hopefully few prototypes,
19728 which can conflict with char $ac_func (); below.
19729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19730 <limits.h> exists even on freestanding compilers. */
19733 # include <limits.h>
19735 # include <assert.h>
19740 /* Override any GCC internal prototype to avoid an error.
19741 Use char because int might match the return type of a GCC
19742 builtin and then its argument prototype would still apply. */
19747 /* The GNU C library defines this for functions which it implements
19748 to always fail with ENOSYS. Some functions are actually named
19749 something starting with __ and the normal name is an alias. */
19750 #if defined __stub_$ac_func || defined __stub___$ac_func
19757 return $ac_func ();
19762 rm -f conftest.$ac_objext conftest$ac_exeext
19763 if { (ac_try="$ac_link"
19764 case "(($ac_try" in
19765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19766 *) ac_try_echo
=$ac_try;;
19768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19769 (eval "$ac_link") 2>conftest.er1
19771 grep -v '^ *+' conftest.er1
>conftest.err
19773 cat conftest.err
>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); } && {
19776 test -z "$ac_c_werror_flag" ||
19777 test ! -s conftest.err
19778 } && test -s conftest
$ac_exeext &&
19779 $as_test_x conftest
$ac_exeext; then
19780 eval "$as_ac_var=yes"
19782 echo "$as_me: failed program was:" >&5
19783 sed 's/^/| /' conftest.
$ac_ext >&5
19785 eval "$as_ac_var=no"
19788 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19789 conftest
$ac_exeext conftest.
$ac_ext
19791 ac_res
=`eval echo '${'$as_ac_var'}'`
19792 { echo "$as_me:$LINENO: result: $ac_res" >&5
19793 echo "${ECHO_T}$ac_res" >&6; }
19794 if test `eval echo '${'$as_ac_var'}'` = yes; then
19795 cat >>confdefs.h
<<_ACEOF
19796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19802 ac_config_files
="$ac_config_files Makefile"
19804 cat >confcache
<<\_ACEOF
19805 # This file is a shell script that caches the results of configure
19806 # tests run on this system so they can be shared between configure
19807 # scripts and configure runs, see configure's option --config-cache.
19808 # It is not useful on other systems. If it contains results you don't
19809 # want to keep, you may remove or edit it.
19811 # config.status only pays attention to the cache file if you give it
19812 # the --recheck option to rerun configure.
19814 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19815 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19816 # following values.
19820 # The following way of writing the cache mishandles newlines in values,
19821 # but we know of no workaround that is simple, portable, and efficient.
19822 # So, we kill variables containing newlines.
19823 # Ultrix sh set writes to stderr and can't be redirected directly,
19824 # and sets the high bit in the cache file unless we assign to the vars.
19826 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19827 eval ac_val
=\$
$ac_var
19831 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
19832 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
19835 _ | IFS | as_nl
) ;; #(
19836 *) $as_unset $ac_var ;;
19842 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19843 *${as_nl}ac_space
=\
*)
19844 # `set' does not quote correctly, so add quotes (double-quote
19845 # substitution turns \\\\ into \\, and sed turns \\ into \).
19848 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19851 # `set' quotes correctly as required by POSIX, so do not add quotes.
19852 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19861 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19863 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19865 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19866 if test -w "$cache_file"; then
19867 test "x$cache_file" != "x/dev/null" &&
19868 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
19869 echo "$as_me: updating cache $cache_file" >&6;}
19870 cat confcache
>$cache_file
19872 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19873 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19878 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19879 # Let make expand exec_prefix.
19880 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19882 DEFS
=-DHAVE_CONFIG_H
19886 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19887 # 1. Remove the extension, and $U if already installed.
19888 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19889 ac_i
=`echo "$ac_i" | sed "$ac_script"`
19890 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19891 # will be set to the directory where LIBOBJS objects are built.
19892 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19893 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19895 LIBOBJS
=$ac_libobjs
19897 LTLIBOBJS
=$ac_ltlibobjs
19900 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19901 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19902 Usually this means the macro was only invoked conditionally." >&5
19903 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19904 Usually this means the macro was only invoked conditionally." >&2;}
19905 { (exit 1); exit 1; }; }
19907 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19908 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19909 Usually this means the macro was only invoked conditionally." >&5
19910 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19911 Usually this means the macro was only invoked conditionally." >&2;}
19912 { (exit 1); exit 1; }; }
19914 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19915 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19916 Usually this means the macro was only invoked conditionally." >&5
19917 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19918 Usually this means the macro was only invoked conditionally." >&2;}
19919 { (exit 1); exit 1; }; }
19922 : ${CONFIG_STATUS=./config.status}
19923 ac_clean_files_save
=$ac_clean_files
19924 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19925 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19926 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19927 cat >$CONFIG_STATUS <<_ACEOF
19929 # Generated by $as_me.
19930 # Run this file to recreate the current configuration.
19931 # Compiler output produced by configure, useful for debugging
19932 # configure, is in config.log if it exists.
19935 ac_cs_recheck=false
19937 SHELL=\${CONFIG_SHELL-$SHELL}
19940 cat >>$CONFIG_STATUS <<\_ACEOF
19941 ## --------------------- ##
19942 ## M4sh Initialization. ##
19943 ## --------------------- ##
19945 # Be more Bourne compatible
19946 DUALCASE
=1; export DUALCASE
# for MKS sh
19947 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19950 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19951 # is contrary to our usage. Disable this feature.
19952 alias -g '${1+"$@"}'='"$@"'
19953 setopt NO_GLOB_SUBST
19955 case `(set -o) 2>/dev/null` in
19956 *posix
*) set -o posix
;;
19965 # Avoid depending upon Character Ranges.
19966 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19967 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19968 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19969 as_cr_digits
='0123456789'
19970 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19972 # The user is always right.
19973 if test "${PATH_SEPARATOR+set}" != set; then
19974 echo "#! /bin/sh" >conf$$.sh
19975 echo "exit 0" >>conf$$.sh
19977 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19985 # Support unset when possible.
19986 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19994 # We need space, tab and new line, in precisely that order. Quoting is
19995 # there to prevent editors from complaining about space-tab.
19996 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19997 # splitting by setting IFS to empty value.)
20002 # Find who we are. Look in the path if we contain no directory separator.
20004 *[\\/]* ) as_myself
=$0 ;;
20005 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20006 for as_dir
in $PATH
20009 test -z "$as_dir" && as_dir
=.
20010 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20016 # We did not find ourselves, most probably we were run as `sh COMMAND'
20017 # in which case we are not to be found in the path.
20018 if test "x$as_myself" = x
; then
20021 if test ! -f "$as_myself"; then
20022 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20023 { (exit 1); exit 1; }
20026 # Work around bugs in pre-3.0 UWIN ksh.
20027 for as_var
in ENV MAIL MAILPATH
20028 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20036 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20037 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20038 LC_TELEPHONE LC_TIME
20040 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20041 eval $as_var=C
; export $as_var
20043 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20047 # Required to use basename.
20048 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20049 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20055 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20056 as_basename
=basename
20062 # Name of the executable.
20063 as_me
=`$as_basename -- "$0" ||
20064 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20065 X"$0" : 'X\(//\)$' \| \
20066 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20068 sed '/^.*\/\([^/][^/]*\)\/*$/{
20087 as_lineno_1
=$LINENO
20088 as_lineno_2
=$LINENO
20089 test "x$as_lineno_1" != "x$as_lineno_2" &&
20090 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20092 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20093 # uniformly replaced by the line number. The first 'sed' inserts a
20094 # line-number line after each line using $LINENO; the second 'sed'
20095 # does the real work. The second script uses 'N' to pair each
20096 # line-number line with the line containing $LINENO, and appends
20097 # trailing '-' during substitution so that $LINENO is not a special
20098 # case at line end.
20099 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20100 # scripts with optimization help from Paolo Bonzini. Blame Lee
20101 # E. McMahon (1931-1989) for sed's syntax. :-)
20113 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20116 ' >$as_me.lineno
&&
20117 chmod +x
"$as_me.lineno" ||
20118 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20119 { (exit 1); exit 1; }; }
20121 # Don't try to exec as it changes $[0], causing all sort of problems
20122 # (the dirname of $[0] is not the place where we might find the
20123 # original and so on. Autoconf is especially sensitive to this).
20124 .
"./$as_me.lineno"
20125 # Exit status is that of the last command.
20130 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20136 ECHO_C
= ECHO_N
= ECHO_T
=
20137 case `echo -n x` in
20139 case `echo 'x\c'` in
20140 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20147 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20148 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20154 rm -f conf$$ conf$$.exe conf$$.
file
20155 if test -d conf$$.dir
; then
20156 rm -f conf$$.dir
/conf$$.
file
20162 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20164 # ... but there are two gotchas:
20165 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20166 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20167 # In both cases, we have to default to `cp -p'.
20168 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20170 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20175 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20176 rmdir conf$$.dir
2>/dev
/null
20178 if mkdir
-p .
2>/dev
/null
; then
20181 test -d .
/-p && rmdir .
/-p
20185 if test -x / >/dev
/null
2>&1; then
20186 as_test_x
='test -x'
20188 if ls -dL / >/dev
/null
2>&1; then
20195 if test -d "$1"; then
20201 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20202 ???[sx]*):;;*)false;;esac;fi
20206 as_executable_p
=$as_test_x
20208 # Sed expression to map a string onto a valid CPP name.
20209 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20211 # Sed expression to map a string onto a valid variable name.
20212 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20217 # Save the log message, to keep $[0] and so on meaningful, and to
20218 # report actual input values of CONFIG_FILES etc. instead of their
20219 # values after options handling.
20221 This file was extended by numlib $as_me 0.10, which was
20222 generated by GNU Autoconf 2.61. Invocation command line was
20224 CONFIG_FILES = $CONFIG_FILES
20225 CONFIG_HEADERS = $CONFIG_HEADERS
20226 CONFIG_LINKS = $CONFIG_LINKS
20227 CONFIG_COMMANDS = $CONFIG_COMMANDS
20230 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20235 cat >>$CONFIG_STATUS <<_ACEOF
20236 # Files that config.status was made for.
20237 config_files="$ac_config_files"
20238 config_headers="$ac_config_headers"
20239 config_commands="$ac_config_commands"
20243 cat >>$CONFIG_STATUS <<\_ACEOF
20245 \`$as_me' instantiates files from templates according to the
20246 current configuration.
20248 Usage: $0 [OPTIONS] [FILE]...
20250 -h, --help print this help, then exit
20251 -V, --version print version number and configuration settings, then exit
20252 -q, --quiet do not print progress messages
20253 -d, --debug don't remove temporary files
20254 --recheck update $as_me by reconfiguring in the same conditions
20255 --file=FILE[:TEMPLATE]
20256 instantiate the configuration file FILE
20257 --header=FILE[:TEMPLATE]
20258 instantiate the configuration header FILE
20260 Configuration files:
20263 Configuration headers:
20266 Configuration commands:
20269 Report bugs to <bug-autoconf@gnu.org>."
20272 cat >>$CONFIG_STATUS <<_ACEOF
20274 numlib config.status 0.10
20275 configured by $0, generated by GNU Autoconf 2.61,
20276 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20278 Copyright (C) 2006 Free Software Foundation, Inc.
20279 This config.status script is free software; the Free Software Foundation
20280 gives unlimited permission to copy, distribute and modify it."
20288 cat >>$CONFIG_STATUS <<\_ACEOF
20289 # If no file are specified by the user, then we need to provide default
20290 # value. By we need to know if files were specified by the user.
20296 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20297 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20308 # Handling of the options.
20309 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20311 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20312 echo "$ac_cs_version"; exit ;;
20313 --debug |
--debu |
--deb |
--de |
--d |
-d )
20315 --file |
--fil |
--fi |
--f )
20317 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20318 ac_need_defaults
=false
;;
20319 --header |
--heade |
--head |
--hea )
20321 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20322 ac_need_defaults
=false
;;
20324 # Conflict between --help and --header
20325 { echo "$as_me: error: ambiguous option: $1
20326 Try \`$0 --help' for more information." >&2
20327 { (exit 1); exit 1; }; };;
20328 --help |
--hel |
-h )
20329 echo "$ac_cs_usage"; exit ;;
20330 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20331 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20334 # This is an error.
20335 -*) { echo "$as_me: error: unrecognized option: $1
20336 Try \`$0 --help' for more information." >&2
20337 { (exit 1); exit 1; }; } ;;
20339 *) ac_config_targets
="$ac_config_targets $1"
20340 ac_need_defaults
=false
;;
20346 ac_configure_extra_args
=
20348 if $ac_cs_silent; then
20350 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20354 cat >>$CONFIG_STATUS <<_ACEOF
20355 if \$ac_cs_recheck; then
20356 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20357 CONFIG_SHELL=$SHELL
20358 export CONFIG_SHELL
20359 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20363 cat >>$CONFIG_STATUS <<\_ACEOF
20367 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20368 ## Running $as_me. ##
20374 cat >>$CONFIG_STATUS <<_ACEOF
20378 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20382 cat >>$CONFIG_STATUS <<\_ACEOF
20384 # Handling of arguments.
20385 for ac_config_target
in $ac_config_targets
20387 case $ac_config_target in
20388 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20389 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20390 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20392 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20393 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20394 { (exit 1); exit 1; }; };;
20399 # If the user did not use the arguments to specify the items to instantiate,
20400 # then the envvar interface is used. Set only those that are not.
20401 # We use the long form for the default assignment because of an extremely
20402 # bizarre bug on SunOS 4.1.3.
20403 if $ac_need_defaults; then
20404 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20405 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20406 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20409 # Have a temporary directory for convenience. Make it in the build tree
20410 # simply because there is no reason against having it here, and in addition,
20411 # creating and moving files from /tmp can sometimes cause problems.
20412 # Hook for its removal unless debugging.
20413 # Note that there is a small window in which the directory will not be cleaned:
20414 # after its creation but before its name has been assigned to `$tmp'.
20418 trap 'exit_status=$?
20419 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20421 trap '{ (exit 1); exit 1; }' 1 2 13 15
20423 # Create a (secure) tmp directory for tmp files.
20426 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20427 test -n "$tmp" && test -d "$tmp"
20430 tmp
=.
/conf$$
-$RANDOM
20431 (umask 077 && mkdir
"$tmp")
20434 echo "$me: cannot create a temporary directory in ." >&2
20435 { (exit 1); exit 1; }
20439 # Set up the sed scripts for CONFIG_FILES section.
20442 # No need to generate the scripts if there are no CONFIG_FILES.
20443 # This happens for instance when ./config.status config.h
20444 if test -n "$CONFIG_FILES"; then
20451 for ac_last_try
in false false false false false
:; do
20452 cat >conf$
$subs.
sed <<_ACEOF
20453 SHELL!$SHELL$ac_delim
20454 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20455 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20456 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20457 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20458 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20459 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20460 exec_prefix!$exec_prefix$ac_delim
20461 prefix!$prefix$ac_delim
20462 program_transform_name!$program_transform_name$ac_delim
20463 bindir!$bindir$ac_delim
20464 sbindir!$sbindir$ac_delim
20465 libexecdir!$libexecdir$ac_delim
20466 datarootdir!$datarootdir$ac_delim
20467 datadir!$datadir$ac_delim
20468 sysconfdir!$sysconfdir$ac_delim
20469 sharedstatedir!$sharedstatedir$ac_delim
20470 localstatedir!$localstatedir$ac_delim
20471 includedir!$includedir$ac_delim
20472 oldincludedir!$oldincludedir$ac_delim
20473 docdir!$docdir$ac_delim
20474 infodir!$infodir$ac_delim
20475 htmldir!$htmldir$ac_delim
20476 dvidir!$dvidir$ac_delim
20477 pdfdir!$pdfdir$ac_delim
20478 psdir!$psdir$ac_delim
20479 libdir!$libdir$ac_delim
20480 localedir!$localedir$ac_delim
20481 mandir!$mandir$ac_delim
20482 DEFS!$DEFS$ac_delim
20483 ECHO_C!$ECHO_C$ac_delim
20484 ECHO_N!$ECHO_N$ac_delim
20485 ECHO_T!$ECHO_T$ac_delim
20486 LIBS!$LIBS$ac_delim
20487 build_alias!$build_alias$ac_delim
20488 host_alias!$host_alias$ac_delim
20489 target_alias!$target_alias$ac_delim
20490 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20491 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20492 INSTALL_DATA!$INSTALL_DATA$ac_delim
20493 am__isrc!$am__isrc$ac_delim
20494 CYGPATH_W!$CYGPATH_W$ac_delim
20495 PACKAGE!$PACKAGE$ac_delim
20496 VERSION!$VERSION$ac_delim
20497 ACLOCAL!$ACLOCAL$ac_delim
20498 AUTOCONF!$AUTOCONF$ac_delim
20499 AUTOMAKE!$AUTOMAKE$ac_delim
20500 AUTOHEADER!$AUTOHEADER$ac_delim
20501 MAKEINFO!$MAKEINFO$ac_delim
20502 install_sh!$install_sh$ac_delim
20503 STRIP!$STRIP$ac_delim
20504 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20505 mkdir_p!$mkdir_p$ac_delim
20507 SET_MAKE!$SET_MAKE$ac_delim
20508 am__leading_dot!$am__leading_dot$ac_delim
20509 AMTAR!$AMTAR$ac_delim
20510 am__tar!$am__tar$ac_delim
20511 am__untar!$am__untar$ac_delim
20513 CFLAGS!$CFLAGS$ac_delim
20514 LDFLAGS!$LDFLAGS$ac_delim
20515 CPPFLAGS!$CPPFLAGS$ac_delim
20516 ac_ct_CC!$ac_ct_CC$ac_delim
20517 EXEEXT!$EXEEXT$ac_delim
20518 OBJEXT!$OBJEXT$ac_delim
20519 DEPDIR!$DEPDIR$ac_delim
20520 am__include!$am__include$ac_delim
20521 am__quote!$am__quote$ac_delim
20522 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20523 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20524 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20525 CCDEPMODE!$CCDEPMODE$ac_delim
20526 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20527 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20528 LN_S!$LN_S$ac_delim
20529 build!$build$ac_delim
20530 build_cpu!$build_cpu$ac_delim
20531 build_vendor!$build_vendor$ac_delim
20532 build_os!$build_os$ac_delim
20533 host!$host$ac_delim
20534 host_cpu!$host_cpu$ac_delim
20535 host_vendor!$host_vendor$ac_delim
20536 host_os!$host_os$ac_delim
20538 GREP!$GREP$ac_delim
20539 EGREP!$EGREP$ac_delim
20540 ECHO!$ECHO$ac_delim
20542 RANLIB!$RANLIB$ac_delim
20545 CXXFLAGS!$CXXFLAGS$ac_delim
20546 ac_ct_CXX!$ac_ct_CXX$ac_delim
20547 CXXDEPMODE!$CXXDEPMODE$ac_delim
20548 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20549 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20552 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20554 elif $ac_last_try; then
20555 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20556 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20557 { (exit 1); exit 1; }; }
20559 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20563 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20564 if test -n "$ac_eof"; then
20565 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20566 ac_eof
=`expr $ac_eof + 1`
20569 cat >>$CONFIG_STATUS <<_ACEOF
20570 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20571 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20574 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20575 s/^/s,@/; s/!/@,|#_!!_#|/
20578 s/'"$ac_delim"'$/,g/; t
20580 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20581 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20582 rm -f conf$
$subs.
sed
20583 cat >>$CONFIG_STATUS <<_ACEOF
20589 for ac_last_try
in false false false false false
:; do
20590 cat >conf$
$subs.
sed <<_ACEOF
20591 CXXCPP!$CXXCPP$ac_delim
20593 FFLAGS!$FFLAGS$ac_delim
20594 ac_ct_F77!$ac_ct_F77$ac_delim
20595 LIBTOOL!$LIBTOOL$ac_delim
20596 LIBOBJS!$LIBOBJS$ac_delim
20597 LTLIBOBJS!$LTLIBOBJS$ac_delim
20600 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then
20602 elif $ac_last_try; then
20603 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20604 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20605 { (exit 1); exit 1; }; }
20607 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20611 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20612 if test -n "$ac_eof"; then
20613 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20614 ac_eof
=`expr $ac_eof + 1`
20617 cat >>$CONFIG_STATUS <<_ACEOF
20618 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20619 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20622 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20623 s/^/s,@/; s/!/@,|#_!!_#|/
20626 s/'"$ac_delim"'$/,g/; t
20628 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20629 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20630 rm -f conf$
$subs.
sed
20631 cat >>$CONFIG_STATUS <<_ACEOF
20638 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20639 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20640 # trailing colons and then remove the whole line if VPATH becomes empty
20641 # (actually we leave an empty line to preserve line numbers).
20642 if test "x$srcdir" = x.
; then
20643 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20644 s/:*\$(srcdir):*/:/
20645 s/:*\${srcdir}:*/:/
20647 s/^\([^=]*=[ ]*\):*/\1/
20653 cat >>$CONFIG_STATUS <<\_ACEOF
20654 fi # test -n "$CONFIG_FILES"
20657 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
20660 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20662 case $ac_mode$ac_tag in
20664 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20665 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20666 { (exit 1); exit 1; }; };;
20667 :[FH
]-) ac_tag
=-:-;;
20668 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20685 -) ac_f
="$tmp/stdin";;
20686 *) # Look for the file first in the build tree, then in the source tree
20687 # (if the path is not absolute). The absolute path cannot be DOS-style,
20688 # because $ac_f cannot contain `:'.
20692 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20694 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20695 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20696 { (exit 1); exit 1; }; };;
20698 ac_file_inputs
="$ac_file_inputs $ac_f"
20701 # Let's still pretend it is `configure' which instantiates (i.e., don't
20702 # use $as_me), people would be surprised to read:
20703 # /* config.h. Generated by config.status. */
20704 configure_input
="Generated from "`IFS=:
20705 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20706 if test x
"$ac_file" != x-
; then
20707 configure_input
="$ac_file. $configure_input"
20708 { echo "$as_me:$LINENO: creating $ac_file" >&5
20709 echo "$as_me: creating $ac_file" >&6;}
20713 *:-:* |
*:-) cat >"$tmp/stdin";;
20718 ac_dir
=`$as_dirname -- "$ac_file" ||
20719 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20720 X"$ac_file" : 'X\(//\)[^/]' \| \
20721 X"$ac_file" : 'X\(//\)$' \| \
20722 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20728 /^X\(\/\/\)[^/].*/{
20743 -*) as_dir
=.
/$as_dir;;
20745 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20749 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20750 *) as_qdir
=$as_dir;;
20752 as_dirs
="'$as_qdir' $as_dirs"
20753 as_dir
=`$as_dirname -- "$as_dir" ||
20754 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20755 X"$as_dir" : 'X\(//\)[^/]' \| \
20756 X"$as_dir" : 'X\(//\)$' \| \
20757 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20763 /^X\(\/\/\)[^/].*/{
20776 test -d "$as_dir" && break
20778 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20779 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20780 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20781 { (exit 1); exit 1; }; }; }
20785 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20787 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20788 # A ".." for each directory in $ac_dir_suffix.
20789 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20790 case $ac_top_builddir_sub in
20791 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20792 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20795 ac_abs_top_builddir
=$ac_pwd
20796 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20797 # for backward compatibility:
20798 ac_top_builddir
=$ac_top_build_prefix
20801 .
) # We are building in place.
20803 ac_top_srcdir
=$ac_top_builddir_sub
20804 ac_abs_top_srcdir
=$ac_pwd ;;
20805 [\\/]* | ?
:[\\/]* ) # Absolute name.
20806 ac_srcdir
=$srcdir$ac_dir_suffix;
20807 ac_top_srcdir
=$srcdir
20808 ac_abs_top_srcdir
=$srcdir ;;
20809 *) # Relative name.
20810 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20811 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20812 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20814 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20824 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20825 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20827 ac_MKDIR_P
=$MKDIR_P
20829 [\\/$
]* | ?
:[\\/]* ) ;;
20830 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20834 cat >>$CONFIG_STATUS <<\_ACEOF
20835 # If the template does not know about datarootdir, expand it.
20836 # FIXME: This hack should be removed a few years after 2.60.
20837 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20839 case `sed -n '/datarootdir/ {
20848 ' $ac_file_inputs` in
20849 *datarootdir
*) ac_datarootdir_seen
=yes;;
20850 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20851 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20852 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20854 cat >>$CONFIG_STATUS <<_ACEOF
20855 ac_datarootdir_hack='
20856 s&@datadir@&$datadir&g
20857 s&@docdir@&$docdir&g
20858 s&@infodir@&$infodir&g
20859 s&@localedir@&$localedir&g
20860 s&@mandir@&$mandir&g
20861 s&\\\${datarootdir}&$datarootdir&g' ;;
20865 # Neutralize VPATH when `$srcdir' = `.'.
20866 # Shell code in configure.ac might set extrasub.
20867 # FIXME: do we really want to maintain this feature?
20868 cat >>$CONFIG_STATUS <<_ACEOF
20872 cat >>$CONFIG_STATUS <<\_ACEOF
20874 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20875 s
&@configure_input@
&$configure_input&;t t
20876 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20877 s
&@srcdir@
&$ac_srcdir&;t t
20878 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20879 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20880 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20881 s
&@builddir@
&$ac_builddir&;t t
20882 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20883 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20884 s
&@INSTALL@
&$ac_INSTALL&;t t
20885 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20886 $ac_datarootdir_hack
20887 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
20889 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20890 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
20891 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
20892 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20893 which seems to be undefined. Please make sure it is defined." >&5
20894 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20895 which seems to be undefined. Please make sure it is defined." >&2;}
20899 -) cat "$tmp/out"; rm -f "$tmp/out";;
20900 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20909 # Transform confdefs.h into a sed script `conftest.defines', that
20910 # substitutes the proper values into config.h.in to produce config.h.
20911 rm -f conftest.defines conftest.
tail
20912 # First, append a space to every undef/define line, to ease matching.
20913 echo 's/$/ /' >conftest.defines
20914 # Then, protect against being on the right side of a sed subst, or in
20915 # an unquoted here document, in config.status. If some macros were
20916 # called several times there might be several #defines for the same
20917 # symbol, which is useless. But do not sort them, since the last
20918 # AC_DEFINE must be honored.
20919 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
20920 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
20921 # NAME is the cpp macro being defined, VALUE is the value it is being given.
20922 # PARAMS is the parameter list in the macro definition--in most cases, it's
20923 # just an empty string.
20924 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
20925 ac_dB
='\\)[ (].*,\\1define\\2'
20933 s/^[ ]*#[ ]*define[ ][ ]*//
20938 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
20939 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
20940 ' >>conftest.defines
20942 # Remove the space that was appended to ease matching.
20943 # Then replace #undef with comments. This is necessary, for
20944 # example, in the case of _POSIX_SOURCE, which is predefined and required
20945 # on some systems where configure will not decide to define it.
20946 # (The regexp can be short, since the line contains either #define or #undef.)
20948 s,^[ #]*u.*,/* & */,' >>conftest.defines
20950 # Break up conftest.defines:
20951 ac_max_sed_lines
=50
20953 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
20954 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
20955 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
20957 ac_in
='$ac_file_inputs'
20958 ac_out
='"$tmp/out1"'
20959 ac_nxt
='"$tmp/out2"'
20963 # Write a here document:
20964 cat >>$CONFIG_STATUS <<_ACEOF
20965 # First, check the format of the line:
20966 cat >"\$tmp/defines.sed" <<\\CEOF
20967 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
20968 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
20972 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
20974 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
20975 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
20976 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
20977 grep . conftest.
tail >/dev
/null ||
break
20978 rm -f conftest.defines
20979 mv conftest.
tail conftest.defines
20981 rm -f conftest.defines conftest.
tail
20983 echo "ac_result=$ac_in" >>$CONFIG_STATUS
20984 cat >>$CONFIG_STATUS <<\_ACEOF
20985 if test x
"$ac_file" != x-
; then
20986 echo "/* $configure_input */" >"$tmp/config.h"
20987 cat "$ac_result" >>"$tmp/config.h"
20988 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
20989 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20990 echo "$as_me: $ac_file is unchanged" >&6;}
20993 mv "$tmp/config.h" $ac_file
20996 echo "/* $configure_input */"
21000 # Compute $ac_file's index in $config_headers.
21003 for _am_header
in $config_headers :; do
21004 case $_am_header in
21005 $_am_arg |
$_am_arg:* )
21008 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21011 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21012 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21013 X"$_am_arg" : 'X\(//\)[^/]' \| \
21014 X"$_am_arg" : 'X\(//\)$' \| \
21015 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21021 /^X\(\/\/\)[^/].*/{
21033 s/.*/./; q'`/stamp-h
$_am_stamp_count
21036 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21037 echo "$as_me: executing $ac_file commands" >&6;}
21042 case $ac_file$ac_mode in
21043 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21044 # Strip MF so we end up with the name of the file.
21045 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21046 # Check whether this is an Automake generated Makefile or not.
21047 # We used to match only the files named `Makefile.in', but
21048 # some people rename them; so instead we look at the file content.
21049 # Grep'ing the first line is not enough: some people post-process
21050 # each Makefile.in and add a new line on top of each file to say so.
21051 # Grep'ing the whole file is not good either: AIX grep has a line
21052 # limit of 2048, but all sed's we know have understand at least 4000.
21053 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21054 dirpart
=`$as_dirname -- "$mf" ||
21055 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21056 X"$mf" : 'X\(//\)[^/]' \| \
21057 X"$mf" : 'X\(//\)$' \| \
21058 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21064 /^X\(\/\/\)[^/].*/{
21080 # Extract the definition of DEPDIR, am__include, and am__quote
21081 # from the Makefile without running `make'.
21082 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21083 test -z "$DEPDIR" && continue
21084 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21085 test -z "am__include" && continue
21086 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21087 # When using ansi2knr, U may be empty or an underscore; expand it
21088 U
=`sed -n 's/^U = //p' < "$mf"`
21089 # Find all dependency output files, they are included files with
21090 # $(DEPDIR) in their names. We invoke sed twice because it is the
21091 # simplest approach to changing $(DEPDIR) to its actual value in the
21093 for file in `sed -n "
21094 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21095 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21096 # Make sure the directory exists.
21097 test -f "$dirpart/$file" && continue
21098 fdir
=`$as_dirname -- "$file" ||
21099 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21100 X"$file" : 'X\(//\)[^/]' \| \
21101 X"$file" : 'X\(//\)$' \| \
21102 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21108 /^X\(\/\/\)[^/].*/{
21121 { as_dir
=$dirpart/$fdir
21123 -*) as_dir
=.
/$as_dir;;
21125 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21129 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21130 *) as_qdir
=$as_dir;;
21132 as_dirs
="'$as_qdir' $as_dirs"
21133 as_dir
=`$as_dirname -- "$as_dir" ||
21134 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21135 X"$as_dir" : 'X\(//\)[^/]' \| \
21136 X"$as_dir" : 'X\(//\)$' \| \
21137 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21143 /^X\(\/\/\)[^/].*/{
21156 test -d "$as_dir" && break
21158 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21159 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21160 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21161 { (exit 1); exit 1; }; }; }
21162 # echo "creating $dirpart/$file"
21163 echo '# dummy' > "$dirpart/$file"
21172 { (exit 0); exit 0; }
21174 chmod +x
$CONFIG_STATUS
21175 ac_clean_files
=$ac_clean_files_save
21178 # configure is writing to config.log, and then calls config.status.
21179 # config.status does its own redirection, appending to config.log.
21180 # Unfortunately, on DOS this fails, as config.log is still kept open
21181 # by configure, so config.status won't be able to write to it; its
21182 # output is simply discarded. So we exec the FD to /dev/null,
21183 # effectively closing config.log, so it can be properly (re)opened and
21184 # appended to by config.status. When coming back to configure, we
21185 # need to make the FD available again.
21186 if test "$no_create" != yes; then
21188 ac_config_status_args
=
21189 test "$silent" = yes &&
21190 ac_config_status_args
="$ac_config_status_args --quiet"
21192 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21194 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21195 # would make configure fail if this is the last instruction.
21196 $ac_cs_success ||
{ (exit 1); exit 1; }