2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for makedat 0.60.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec
; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo
; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo
; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset
; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
599 echo_test_string
=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
619 for dir
in $PATH /usr
/ucb
; do
621 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho
; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL
=/bin
/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
660 SHELL
="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string
=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames
=${tagnames+${tagnames},}CXX
706 tagnames
=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev
/null
6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix
=/usr
/local
720 ac_config_libobj_dir
=.
726 SHELL
=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME
='makedat'
730 PACKAGE_TARNAME
='makedat'
731 PACKAGE_VERSION
='0.60'
732 PACKAGE_STRING
='makedat 0.60'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="makedatprog.c"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
882 ac_precious_vars
='build_alias
899 # Initialize some variables set by options.
901 ac_init_version
=false
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
911 program_transform_name
=s
,x
,x
,
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir
='${exec_prefix}/bin'
926 sbindir
='${exec_prefix}/sbin'
927 libexecdir
='${exec_prefix}/libexec'
928 datarootdir
='${prefix}/share'
929 datadir
='${datarootdir}'
930 sysconfdir
='${prefix}/etc'
931 sharedstatedir
='${prefix}/com'
932 localstatedir
='${prefix}/var'
933 includedir
='${prefix}/include'
934 oldincludedir
='/usr/include'
935 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir
='${datarootdir}/info'
941 libdir
='${exec_prefix}/lib'
942 localedir
='${datarootdir}/locale'
943 mandir
='${datarootdir}/man'
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\
$ac_option
957 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
961 # Accept the important Cygnus configure options, so we can diagnose typos.
963 case $ac_dashdash$ac_option in
967 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
969 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
972 -build |
--build |
--buil |
--bui |
--bu)
973 ac_prev
=build_alias
;;
974 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
975 build_alias
=$ac_optarg ;;
977 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
978 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
979 ac_prev
=cache_file
;;
980 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
981 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
982 cache_file
=$ac_optarg ;;
985 cache_file
=config.cache
;;
987 -datadir |
--datadir |
--datadi |
--datad)
989 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
990 datadir
=$ac_optarg ;;
992 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
993 |
--dataroo |
--dataro |
--datar)
994 ac_prev
=datarootdir
;;
995 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
996 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
997 datarootdir
=$ac_optarg ;;
999 -disable-* |
--disable-*)
1000 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1003 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1004 { (exit 1); exit 1; }; }
1005 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1006 eval enable_
$ac_feature=no
;;
1008 -docdir |
--docdir |
--docdi |
--doc |
--do)
1010 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1011 docdir
=$ac_optarg ;;
1013 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1015 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1016 dvidir
=$ac_optarg ;;
1018 -enable-* |
--enable-*)
1019 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1022 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1023 { (exit 1); exit 1; }; }
1024 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1025 eval enable_
$ac_feature=\
$ac_optarg ;;
1027 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1028 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1029 |
--exec |
--exe |
--ex)
1030 ac_prev
=exec_prefix
;;
1031 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1032 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1033 |
--exec=* |
--exe=* |
--ex=*)
1034 exec_prefix
=$ac_optarg ;;
1036 -gas |
--gas |
--ga |
--g)
1037 # Obsolete; use --with-gas.
1040 -help |
--help |
--hel |
--he |
-h)
1041 ac_init_help
=long
;;
1042 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1043 ac_init_help
=recursive
;;
1044 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1045 ac_init_help
=short
;;
1047 -host |
--host |
--hos |
--ho)
1048 ac_prev
=host_alias
;;
1049 -host=* |
--host=* |
--hos=* |
--ho=*)
1050 host_alias
=$ac_optarg ;;
1052 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1054 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1056 htmldir
=$ac_optarg ;;
1058 -includedir |
--includedir |
--includedi |
--included |
--include \
1059 |
--includ |
--inclu |
--incl |
--inc)
1060 ac_prev
=includedir
;;
1061 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1062 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1063 includedir
=$ac_optarg ;;
1065 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1067 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1068 infodir
=$ac_optarg ;;
1070 -libdir |
--libdir |
--libdi |
--libd)
1072 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1073 libdir
=$ac_optarg ;;
1075 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1076 |
--libexe |
--libex |
--libe)
1077 ac_prev
=libexecdir
;;
1078 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1079 |
--libexe=* |
--libex=* |
--libe=*)
1080 libexecdir
=$ac_optarg ;;
1082 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1083 ac_prev
=localedir
;;
1084 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1085 localedir
=$ac_optarg ;;
1087 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1088 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1089 ac_prev
=localstatedir
;;
1090 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1091 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1092 localstatedir
=$ac_optarg ;;
1094 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1096 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1097 mandir
=$ac_optarg ;;
1099 -nfp |
--nfp |
--nf)
1100 # Obsolete; use --without-fp.
1103 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1104 |
--no-cr |
--no-c |
-n)
1107 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1108 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1111 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1112 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1113 |
--oldin |
--oldi |
--old |
--ol |
--o)
1114 ac_prev
=oldincludedir
;;
1115 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1116 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1117 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1118 oldincludedir
=$ac_optarg ;;
1120 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1122 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1123 prefix
=$ac_optarg ;;
1125 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1126 |
--program-pre |
--program-pr |
--program-p)
1127 ac_prev
=program_prefix
;;
1128 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1129 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1130 program_prefix
=$ac_optarg ;;
1132 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1133 |
--program-suf |
--program-su |
--program-s)
1134 ac_prev
=program_suffix
;;
1135 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1136 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1137 program_suffix
=$ac_optarg ;;
1139 -program-transform-name |
--program-transform-name \
1140 |
--program-transform-nam |
--program-transform-na \
1141 |
--program-transform-n |
--program-transform- \
1142 |
--program-transform |
--program-transfor \
1143 |
--program-transfo |
--program-transf \
1144 |
--program-trans |
--program-tran \
1145 |
--progr-tra |
--program-tr |
--program-t)
1146 ac_prev
=program_transform_name
;;
1147 -program-transform-name=* |
--program-transform-name=* \
1148 |
--program-transform-nam=* |
--program-transform-na=* \
1149 |
--program-transform-n=* |
--program-transform-=* \
1150 |
--program-transform=* |
--program-transfor=* \
1151 |
--program-transfo=* |
--program-transf=* \
1152 |
--program-trans=* |
--program-tran=* \
1153 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1154 program_transform_name
=$ac_optarg ;;
1156 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1158 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1159 pdfdir
=$ac_optarg ;;
1161 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1163 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1166 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1167 |
-silent |
--silent |
--silen |
--sile |
--sil)
1170 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1172 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1174 sbindir
=$ac_optarg ;;
1176 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1177 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1178 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1180 ac_prev
=sharedstatedir
;;
1181 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1182 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1183 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1185 sharedstatedir
=$ac_optarg ;;
1187 -site |
--site |
--sit)
1189 -site=* |
--site=* |
--sit=*)
1192 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1194 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1195 srcdir
=$ac_optarg ;;
1197 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1198 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1199 ac_prev
=sysconfdir
;;
1200 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1201 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1202 sysconfdir
=$ac_optarg ;;
1204 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1205 ac_prev
=target_alias
;;
1206 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1207 target_alias
=$ac_optarg ;;
1209 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1212 -version |
--version |
--versio |
--versi |
--vers |
-V)
1213 ac_init_version
=: ;;
1216 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1217 # Reject names that are not valid shell variable names.
1218 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1219 { echo "$as_me: error: invalid package name: $ac_package" >&2
1220 { (exit 1); exit 1; }; }
1221 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1222 eval with_
$ac_package=\
$ac_optarg ;;
1224 -without-* |
--without-*)
1225 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1228 { echo "$as_me: error: invalid package name: $ac_package" >&2
1229 { (exit 1); exit 1; }; }
1230 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1231 eval with_
$ac_package=no
;;
1234 # Obsolete; use --with-x.
1237 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1238 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1239 ac_prev
=x_includes
;;
1240 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1241 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1242 x_includes
=$ac_optarg ;;
1244 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1245 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1246 ac_prev
=x_libraries
;;
1247 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1248 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1249 x_libraries
=$ac_optarg ;;
1251 -*) { echo "$as_me: error: unrecognized option: $ac_option
1252 Try \`$0 --help' for more information." >&2
1253 { (exit 1); exit 1; }; }
1257 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1258 # Reject names that are not valid shell variable names.
1259 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1260 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1261 { (exit 1); exit 1; }; }
1262 eval $ac_envvar=\
$ac_optarg
1263 export $ac_envvar ;;
1266 # FIXME: should be removed in autoconf 3.0.
1267 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1268 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1269 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1270 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1276 if test -n "$ac_prev"; then
1277 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1278 { echo "$as_me: error: missing argument to $ac_option" >&2
1279 { (exit 1); exit 1; }; }
1282 # Be sure to have absolute directory names.
1283 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1284 datadir sysconfdir sharedstatedir localstatedir includedir \
1285 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1286 libdir localedir mandir
1288 eval ac_val
=\$
$ac_var
1290 [\\/$
]* | ?
:[\\/]* ) continue;;
1291 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1293 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1294 { (exit 1); exit 1; }; }
1297 # There might be people who depend on the old broken behavior: `$host'
1298 # used to hold the argument of --host etc.
1299 # FIXME: To remove some day.
1302 target
=$target_alias
1304 # FIXME: To remove some day.
1305 if test "x$host_alias" != x
; then
1306 if test "x$build_alias" = x
; then
1307 cross_compiling
=maybe
1308 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1309 If a cross compiler is detected then cross compile mode will be used." >&2
1310 elif test "x$build_alias" != "x$host_alias"; then
1316 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1318 test "$silent" = yes && exec 6>/dev
/null
1321 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1322 ac_ls_di
=`ls -di .` &&
1323 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1324 { echo "$as_me: error: Working directory cannot be determined" >&2
1325 { (exit 1); exit 1; }; }
1326 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1327 { echo "$as_me: error: pwd does not report name of working directory" >&2
1328 { (exit 1); exit 1; }; }
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333 ac_srcdir_defaulted
=yes
1334 # Try the directory containing this script, then the parent directory.
1335 ac_confdir
=`$as_dirname -- "$0" ||
1336 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337 X"$0" : 'X\(//\)[^/]' \| \
1338 X"$0" : 'X\(//\)$' \| \
1339 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1363 ac_srcdir_defaulted
=no
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1367 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1368 { (exit 1); exit 1; }; }
1370 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1372 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1373 { (exit 1); exit 1; }; }
1375 # When building in place, set srcdir=.
1376 if test "$ac_abs_confdir" = "$ac_pwd"; then
1379 # Remove unnecessary trailing slashes from srcdir.
1380 # Double slashes in file names in object file debugging info
1381 # mess up M-x gdb in Emacs.
1383 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1385 for ac_var
in $ac_precious_vars; do
1386 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1388 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1389 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1393 # Report the --help message.
1395 if test "$ac_init_help" = "long"; then
1396 # Omit some internal or obsolete options to make the list less imposing.
1397 # This message is too long to be a string in the A/UX 3.1 sh.
1399 \`configure' configures makedat 0.60 to adapt to many kinds of systems.
1401 Usage: $0 [OPTION]... [VAR=VALUE]...
1403 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1404 VAR=VALUE. See below for descriptions of some of the useful variables.
1406 Defaults for the options are specified in brackets.
1409 -h, --help display this help and exit
1410 --help=short display options specific to this package
1411 --help=recursive display the short help of all the included packages
1412 -V, --version display version information and exit
1413 -q, --quiet, --silent do not print \`checking...' messages
1414 --cache-file=FILE cache test results in FILE [disabled]
1415 -C, --config-cache alias for \`--cache-file=config.cache'
1416 -n, --no-create do not create output files
1417 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1419 Installation directories:
1420 --prefix=PREFIX install architecture-independent files in PREFIX
1421 [$ac_default_prefix]
1422 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1425 By default, \`make install' will install all the files in
1426 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1427 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1428 for instance \`--prefix=\$HOME'.
1430 For better control, use the options below.
1432 Fine tuning of the installation directories:
1433 --bindir=DIR user executables [EPREFIX/bin]
1434 --sbindir=DIR system admin executables [EPREFIX/sbin]
1435 --libexecdir=DIR program executables [EPREFIX/libexec]
1436 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1437 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1438 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1439 --libdir=DIR object code libraries [EPREFIX/lib]
1440 --includedir=DIR C header files [PREFIX/include]
1441 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1442 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1443 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1444 --infodir=DIR info documentation [DATAROOTDIR/info]
1445 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1446 --mandir=DIR man documentation [DATAROOTDIR/man]
1447 --docdir=DIR documentation root [DATAROOTDIR/doc/makedat]
1448 --htmldir=DIR html documentation [DOCDIR]
1449 --dvidir=DIR dvi documentation [DOCDIR]
1450 --pdfdir=DIR pdf documentation [DOCDIR]
1451 --psdir=DIR ps documentation [DOCDIR]
1457 --program-prefix=PREFIX prepend PREFIX to installed program names
1458 --program-suffix=SUFFIX append SUFFIX to installed program names
1459 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1462 --build=BUILD configure
for building on BUILD
[guessed
]
1463 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1467 if test -n "$ac_init_help"; then
1468 case $ac_init_help in
1469 short | recursive
) echo "Configuration of makedat 0.60:";;
1474 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1475 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1476 --disable-dependency-tracking speeds up one-time build
1477 --enable-dependency-tracking do not reject slow dependency extractors
1478 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1479 --enable-static[=PKGS
] build static libraries
[default
=yes]
1480 --enable-fast-install[=PKGS
]
1481 optimize
for fast installation
[default
=yes]
1482 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1485 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1486 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1487 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1488 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1490 --with-tags[=TAGS
] include additional configurations
[automatic
]
1491 --with-makedatprog=filename Installed location and name of makedatprog
1493 Some influential environment variables
:
1494 CC C compiler
command
1495 CFLAGS C compiler flags
1496 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1497 nonstandard directory
<lib dir
>
1498 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1499 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1500 you have headers
in a nonstandard directory
<include dir
>
1502 CXX C
++ compiler
command
1503 CXXFLAGS C
++ compiler flags
1504 CXXCPP C
++ preprocessor
1505 F77 Fortran
77 compiler
command
1506 FFLAGS Fortran
77 compiler flags
1508 Use these variables to override the choices made by
`configure' or to help
1509 it to find libraries and programs with nonstandard names/locations.
1511 Report bugs to <courier-users@lists.sourceforge.net>.
1516 if test "$ac_init_help" = "recursive"; then
1517 # If there are subdirs, report their specific --help.
1518 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1519 test -d "$ac_dir" || continue
1523 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1525 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1526 # A ".." for each directory in $ac_dir_suffix.
1527 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1528 case $ac_top_builddir_sub in
1529 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1533 ac_abs_top_builddir=$ac_pwd
1534 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1535 # for backward compatibility:
1536 ac_top_builddir=$ac_top_build_prefix
1539 .) # We are building in place.
1541 ac_top_srcdir=$ac_top_builddir_sub
1542 ac_abs_top_srcdir=$ac_pwd ;;
1543 [\\/]* | ?:[\\/]* ) # Absolute name.
1544 ac_srcdir=$srcdir$ac_dir_suffix;
1545 ac_top_srcdir=$srcdir
1546 ac_abs_top_srcdir=$srcdir ;;
1548 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1549 ac_top_srcdir=$ac_top_build_prefix$srcdir
1550 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1552 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1554 cd "$ac_dir" || { ac_status=$?; continue; }
1555 # Check for guested configure.
1556 if test -f "$ac_srcdir/configure.gnu"; then
1558 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1559 elif test -f "$ac_srcdir/configure"; then
1561 $SHELL "$ac_srcdir/configure" --help=recursive
1563 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1565 cd "$ac_pwd" || { ac_status=$?; break; }
1569 test -n "$ac_init_help" && exit $ac_status
1570 if $ac_init_version; then
1572 makedat configure 0.60
1573 generated by GNU Autoconf 2.61
1575 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1576 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1577 This configure script is free software; the Free Software Foundation
1578 gives unlimited permission to copy, distribute and modify it.
1582 cat >config.log <<_ACEOF
1583 This file contains any messages produced by compilers while
1584 running configure, to aid debugging if configure makes a mistake.
1586 It was created by makedat $as_me 0.60, which was
1587 generated by GNU Autoconf 2.61. Invocation command line was
1599 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1600 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1601 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1602 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1603 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1605 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1606 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1608 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1609 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1610 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1611 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1612 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1613 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1614 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1622 test -z "$as_dir" && as_dir=.
1623 echo "PATH: $as_dir"
1639 # Keep a trace of the command line.
1640 # Strip out --no-create and --no-recursion so they do not pile up.
1641 # Strip out --silent because we don't want to record it for future runs.
1642 # Also quote any args containing shell meta-characters.
1643 # Make two passes to allow for proper duplicate-argument suppression.
1647 ac_must_keep_next=false
1653 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1654 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1655 | -silent | --silent | --silen | --sile | --sil)
1658 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1661 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1663 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1664 if test $ac_must_keep_next = true; then
1665 ac_must_keep_next=false # Got value, back to normal.
1668 *=* | --config-cache | -C | -disable-* | --disable-* \
1669 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1670 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1671 | -with-* | --with-* | -without-* | --without-* | --x)
1672 case "$ac_configure_args0 " in
1673 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1676 -* ) ac_must_keep_next=true ;;
1679 ac_configure_args="$ac_configure_args '$ac_arg'"
1684 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1685 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1687 # When interrupted or exit'd, cleanup temporary files, and complete
1688 # config.log. We remove comments because anyway the quotes in there
1689 # would cause problems or look ugly.
1690 # WARNING: Use '\'' to represent an apostrophe within the trap.
1691 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1692 trap 'exit_status=$?
1693 # Save into config.log some information that might help in debugging.
1698 ## ---------------- ##
1699 ## Cache variables. ##
1700 ## ---------------- ##
1703 # The following way of writing the cache mishandles newlines in values,
1705 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1706 eval ac_val=\$$ac_var
1710 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1711 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1714 _ | IFS | as_nl) ;; #(
1715 *) $as_unset $ac_var ;;
1720 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1721 *${as_nl}ac_space=\ *)
1723 "s/'\''/'\''\\\\'\'''\''/g;
1724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1735 ## ----------------- ##
1736 ## Output variables. ##
1737 ## ----------------- ##
1740 for ac_var in $ac_subst_vars
1742 eval ac_val=\$$ac_var
1744 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1746 echo "$ac_var='\''$ac_val'\''"
1750 if test -n "$ac_subst_files"; then
1752 ## ------------------- ##
1753 ## File substitutions. ##
1754 ## ------------------- ##
1757 for ac_var in $ac_subst_files
1759 eval ac_val=\$$ac_var
1761 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1763 echo "$ac_var='\''$ac_val'\''"
1768 if test -s confdefs.h; then
1778 test "$ac_signal" != 0 &&
1779 echo "$as_me: caught signal $ac_signal"
1780 echo "$as_me: exit $exit_status"
1782 rm -f core *.core core.conftest.* &&
1783 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1786 for ac_signal in 1 2 13 15; do
1787 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1791 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1792 rm -f -r conftest* confdefs.h
1794 # Predefined preprocessor variables.
1796 cat >>confdefs.h <<_ACEOF
1797 #define PACKAGE_NAME "$PACKAGE_NAME"
1801 cat >>confdefs.h <<_ACEOF
1802 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1806 cat >>confdefs.h <<_ACEOF
1807 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1811 cat >>confdefs.h <<_ACEOF
1812 #define PACKAGE_STRING "$PACKAGE_STRING"
1816 cat >>confdefs.h <<_ACEOF
1817 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1821 # Let the site file select an alternate cache file if it wants to.
1822 # Prefer explicitly selected file to automatically selected ones.
1823 if test -n "$CONFIG_SITE"; then
1824 set x "$CONFIG_SITE"
1825 elif test "x$prefix" != xNONE; then
1826 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1828 set x "$ac_default_prefix/share/config.site" \
1829 "$ac_default_prefix/etc/config.site"
1834 if test -r "$ac_site_file"; then
1835 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1836 echo "$as_me: loading site script $ac_site_file" >&6;}
1837 sed 's/^/| /' "$ac_site_file" >&5
1842 if test -r "$cache_file"; then
1843 # Some versions of bash will fail to source /dev/null (special
1844 # files actually), so we avoid doing that.
1845 if test -f "$cache_file"; then
1846 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1847 echo "$as_me: loading cache $cache_file" >&6;}
1849 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1850 *) . "./$cache_file";;
1854 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1855 echo "$as_me: creating cache $cache_file" >&6;}
1859 # Check that the precious variables saved in the cache have kept the same
1861 ac_cache_corrupted=false
1862 for ac_var in $ac_precious_vars; do
1863 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1864 eval ac_new_set=\$ac_env_${ac_var}_set
1865 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1866 eval ac_new_val=\$ac_env_${ac_var}_value
1867 case $ac_old_set,$ac_new_set in
1869 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1870 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1871 ac_cache_corrupted=: ;;
1873 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1874 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1875 ac_cache_corrupted=: ;;
1878 if test "x$ac_old_val" != "x$ac_new_val"; then
1879 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1880 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1881 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1882 echo "$as_me: former value
: $ac_old_val" >&2;}
1883 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1884 echo "$as_me: current value
: $ac_new_val" >&2;}
1885 ac_cache_corrupted=:
1888 # Pass precious variables to config.status.
1889 if test "$ac_new_set" = set; then
1891 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1892 *) ac_arg=$ac_var=$ac_new_val ;;
1894 case " $ac_configure_args " in
1895 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1896 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1900 if $ac_cache_corrupted; then
1901 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1902 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1903 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1904 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1905 { (exit 1); exit 1; }; }
1933 ac_cpp='$CPP $CPPFLAGS'
1934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1940 >confdefs.h # Kill PACKAGE_ macros
1943 am__api_version='1.10'
1946 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1947 if test -f "$ac_dir/install-sh"; then
1949 ac_install_sh="$ac_aux_dir/install-sh -c"
1951 elif test -f "$ac_dir/install.sh"; then
1953 ac_install_sh="$ac_aux_dir/install.sh -c"
1955 elif test -f "$ac_dir/shtool"; then
1957 ac_install_sh="$ac_aux_dir/shtool install -c"
1961 if test -z "$ac_aux_dir"; then
1962 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1963 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1964 { (exit 1); exit 1; }; }
1967 # These three variables are undocumented and unsupported,
1968 # and are intended to be withdrawn in a future Autoconf release.
1969 # They can cause serious problems if a builder's source tree is in a directory
1970 # whose full name contains unusual characters.
1971 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1972 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1973 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1976 # Find a good install program. We prefer a C program (faster),
1977 # so one script is as good as another. But avoid the broken or
1978 # incompatible versions:
1979 # SysV /etc/install, /usr/sbin/install
1980 # SunOS /usr/etc/install
1981 # IRIX /sbin/install
1983 # AmigaOS /C/install, which installs bootblocks on floppy discs
1984 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1985 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1986 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1987 # OS/2's system install, which has a completely different semantic
1988 # ./install, which can be erroneously created by make from ./install.sh.
1989 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1990 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1991 if test -z "$INSTALL"; then
1992 if test "${ac_cv_path_install+set}" = set; then
1993 echo $ECHO_N "(cached) $ECHO_C" >&6
1995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999 test -z "$as_dir" && as_dir=.
2000 # Account for people who put trailing slashes in PATH elements.
2002 ./ | .// | /cC/* | \
2003 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2004 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2007 # OSF1 and SCO ODT 3.0 have their own names for install.
2008 # Don't use installbsd from OSF since it installs stuff as root
2010 for ac_prog in ginstall scoinst install; do
2011 for ac_exec_ext in '' $ac_executable_extensions; do
2012 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2013 if test $ac_prog = install &&
2014 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2015 # AIX install. It has an incompatible calling convention.
2017 elif test $ac_prog = install &&
2018 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2019 # program-specific install script used by HP pwplus--don't use.
2022 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2035 if test "${ac_cv_path_install+set}" = set; then
2036 INSTALL=$ac_cv_path_install
2038 # As a last resort, use the slow shell script. Don't cache a
2039 # value for INSTALL within a source directory, because that will
2040 # break other packages using the cache if that directory is
2041 # removed, or if the value is a relative name.
2042 INSTALL=$ac_install_sh
2045 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2046 echo "${ECHO_T}$INSTALL" >&6; }
2048 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2049 # It thinks the first close brace ends the variable substitution.
2050 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2052 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2054 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2056 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2057 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2060 echo timestamp > conftest.file
2061 # Do `set' in a subshell so we don't clobber the current shell
's
2062 # arguments. Must try -L first in case configure is actually a
2063 # symlink; some systems play weird games with the mod time of symlinks
2064 # (eg FreeBSD returns the mod time of the symlink's containing
2067 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2068 if test "$*" = "X"; then
2070 set X
`ls -t $srcdir/configure conftest.file`
2073 if test "$*" != "X $srcdir/configure conftest.file" \
2074 && test "$*" != "X conftest.file $srcdir/configure"; then
2076 # If neither matched, then we have a broken ls. This can happen
2077 # if, for instance, CONFIG_SHELL is bash and it inherits a
2078 # broken ls alias from the environment. This has actually
2079 # happened. Such a system could not be considered "sane".
2080 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2081 alias in your environment" >&5
2082 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2083 alias in your environment" >&2;}
2084 { (exit 1); exit 1; }; }
2087 test "$2" = conftest.
file
2093 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2094 Check your system clock" >&5
2095 echo "$as_me: error: newly created file is older than distributed files!
2096 Check your system clock" >&2;}
2097 { (exit 1); exit 1; }; }
2099 { echo "$as_me:$LINENO: result: yes" >&5
2100 echo "${ECHO_T}yes" >&6; }
2101 test "$program_prefix" != NONE
&&
2102 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2103 # Use a double $ so make ignores it.
2104 test "$program_suffix" != NONE
&&
2105 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2106 # Double any \ or $. echo might interpret backslashes.
2107 # By default was `s,x,x', remove it if useless.
2108 cat <<\_ACEOF
>conftest.
sed
2109 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2111 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2114 # expand $ac_aux_dir to an absolute path
2115 am_aux_dir
=`cd $ac_aux_dir && pwd`
2117 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2118 # Use eval to expand $SHELL
2119 if eval "$MISSING --run true"; then
2120 am_missing_run
="$MISSING --run "
2123 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2124 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2127 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2128 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2129 if test -z "$MKDIR_P"; then
2130 if test "${ac_cv_path_mkdir+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2134 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2137 test -z "$as_dir" && as_dir
=.
2138 for ac_prog
in mkdir gmkdir
; do
2139 for ac_exec_ext
in '' $ac_executable_extensions; do
2140 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2141 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2142 'mkdir (GNU coreutils) '* | \
2143 'mkdir (coreutils) '* | \
2144 'mkdir (fileutils) '4.1*)
2145 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2155 if test "${ac_cv_path_mkdir+set}" = set; then
2156 MKDIR_P
="$ac_cv_path_mkdir -p"
2158 # As a last resort, use the slow shell script. Don't cache a
2159 # value for MKDIR_P within a source directory, because that will
2160 # break other packages using the cache if that directory is
2161 # removed, or if the value is a relative name.
2162 test -d .
/--version && rmdir .
/--version
2163 MKDIR_P
="$ac_install_sh -d"
2166 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2167 echo "${ECHO_T}$MKDIR_P" >&6; }
2171 [\\/$
]* | ?
:[\\/]*) ;;
2172 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2175 for ac_prog
in gawk mawk nawk
awk
2177 # Extract the first word of "$ac_prog", so it can be a program name with args.
2178 set dummy
$ac_prog; ac_word
=$2
2179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2181 if test "${ac_cv_prog_AWK+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 if test -n "$AWK"; then
2185 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2191 test -z "$as_dir" && as_dir
=.
2192 for ac_exec_ext
in '' $ac_executable_extensions; do
2193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2194 ac_cv_prog_AWK
="$ac_prog"
2195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 if test -n "$AWK"; then
2206 { echo "$as_me:$LINENO: result: $AWK" >&5
2207 echo "${ECHO_T}$AWK" >&6; }
2209 { echo "$as_me:$LINENO: result: no" >&5
2210 echo "${ECHO_T}no" >&6; }
2214 test -n "$AWK" && break
2217 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2218 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2219 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2220 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 cat >conftest.
make <<\_ACEOF
2226 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2228 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2229 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2231 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2233 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2237 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2238 { echo "$as_me:$LINENO: result: yes" >&5
2239 echo "${ECHO_T}yes" >&6; }
2242 { echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6; }
2244 SET_MAKE
="MAKE=${MAKE-make}"
2247 rm -rf .tst
2>/dev
/null
2248 mkdir .tst
2>/dev
/null
2249 if test -d .tst
; then
2254 rmdir .tst
2>/dev
/null
2256 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2257 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2258 # is not polluted with repeated "-I."
2259 am__isrc
=' -I$(srcdir)'
2260 # test to see if srcdir already configured
2261 if test -f $srcdir/config.status
; then
2262 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2263 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2264 { (exit 1); exit 1; }; }
2268 # test whether we have cygpath
2269 if test -z "$CYGPATH_W"; then
2270 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2271 CYGPATH_W
='cygpath -w'
2278 # Define the identity of the package.
2283 # Some tools Automake needs.
2285 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2288 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2291 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2294 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2297 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2299 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2301 # Installed binaries are usually stripped using `strip' when the user
2302 # run `make install-strip'. However `strip' might not be the right
2303 # tool to use in cross-compilation environments, therefore Automake
2304 # will honor the `STRIP' environment variable to overrule this program.
2305 if test "$cross_compiling" != no
; then
2306 if test -n "$ac_tool_prefix"; then
2307 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2308 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2311 if test "${ac_cv_prog_STRIP+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 if test -n "$STRIP"; then
2315 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir
=.
2322 for ac_exec_ext
in '' $ac_executable_extensions; do
2323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334 STRIP
=$ac_cv_prog_STRIP
2335 if test -n "$STRIP"; then
2336 { echo "$as_me:$LINENO: result: $STRIP" >&5
2337 echo "${ECHO_T}$STRIP" >&6; }
2339 { echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6; }
2345 if test -z "$ac_cv_prog_STRIP"; then
2347 # Extract the first word of "strip", so it can be a program name with args.
2348 set dummy strip
; ac_word
=$2
2349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2351 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2352 echo $ECHO_N "(cached) $ECHO_C" >&6
2354 if test -n "$ac_ct_STRIP"; then
2355 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2361 test -z "$as_dir" && as_dir
=.
2362 for ac_exec_ext
in '' $ac_executable_extensions; do
2363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2364 ac_cv_prog_ac_ct_STRIP
="strip"
2365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2375 if test -n "$ac_ct_STRIP"; then
2376 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2377 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2379 { echo "$as_me:$LINENO: result: no" >&5
2380 echo "${ECHO_T}no" >&6; }
2383 if test "x$ac_ct_STRIP" = x
; then
2386 case $cross_compiling:$ac_tool_warned in
2388 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2389 whose name does not start with the host triplet. If you think this
2390 configuration is useful to you, please write to autoconf@gnu.org." >&5
2391 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2392 whose name does not start with the host triplet. If you think this
2393 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2394 ac_tool_warned
=yes ;;
2399 STRIP
="$ac_cv_prog_STRIP"
2403 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2405 # We need awk for the "check" target. The system "awk" is bad on
2407 # Always define AMTAR for backward compatibility.
2409 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2411 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2417 LPATH
="$PATH:/usr/local/bin"
2418 ac_config_headers
="$ac_config_headers config.h"
2422 ac_cpp
='$CPP $CPPFLAGS'
2423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2426 if test -n "$ac_tool_prefix"; then
2427 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2428 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2431 if test "${ac_cv_prog_CC+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 if test -n "$CC"; then
2435 ac_cv_prog_CC
="$CC" # Let the user override the test.
2437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2441 test -z "$as_dir" && as_dir
=.
2442 for ac_exec_ext
in '' $ac_executable_extensions; do
2443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2444 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2455 if test -n "$CC"; then
2456 { echo "$as_me:$LINENO: result: $CC" >&5
2457 echo "${ECHO_T}$CC" >&6; }
2459 { echo "$as_me:$LINENO: result: no" >&5
2460 echo "${ECHO_T}no" >&6; }
2465 if test -z "$ac_cv_prog_CC"; then
2467 # Extract the first word of "gcc", so it can be a program name with args.
2468 set dummy gcc
; ac_word
=$2
2469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2471 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2474 if test -n "$ac_ct_CC"; then
2475 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2481 test -z "$as_dir" && as_dir
=.
2482 for ac_exec_ext
in '' $ac_executable_extensions; do
2483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2484 ac_cv_prog_ac_ct_CC
="gcc"
2485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2494 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2495 if test -n "$ac_ct_CC"; then
2496 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2497 echo "${ECHO_T}$ac_ct_CC" >&6; }
2499 { echo "$as_me:$LINENO: result: no" >&5
2500 echo "${ECHO_T}no" >&6; }
2503 if test "x$ac_ct_CC" = x
; then
2506 case $cross_compiling:$ac_tool_warned in
2508 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2509 whose name does not start with the host triplet. If you think this
2510 configuration is useful to you, please write to autoconf@gnu.org." >&5
2511 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2512 whose name does not start with the host triplet. If you think this
2513 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2514 ac_tool_warned
=yes ;;
2522 if test -z "$CC"; then
2523 if test -n "$ac_tool_prefix"; then
2524 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2525 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2528 if test "${ac_cv_prog_CC+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 if test -n "$CC"; then
2532 ac_cv_prog_CC
="$CC" # Let the user override the test.
2534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2538 test -z "$as_dir" && as_dir
=.
2539 for ac_exec_ext
in '' $ac_executable_extensions; do
2540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2541 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 if test -n "$CC"; then
2553 { echo "$as_me:$LINENO: result: $CC" >&5
2554 echo "${ECHO_T}$CC" >&6; }
2556 { echo "$as_me:$LINENO: result: no" >&5
2557 echo "${ECHO_T}no" >&6; }
2563 if test -z "$CC"; then
2564 # Extract the first word of "cc", so it can be a program name with args.
2565 set dummy cc
; ac_word
=$2
2566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2568 if test "${ac_cv_prog_CC+set}" = set; then
2569 echo $ECHO_N "(cached) $ECHO_C" >&6
2571 if test -n "$CC"; then
2572 ac_cv_prog_CC
="$CC" # Let the user override the test.
2575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir
=.
2580 for ac_exec_ext
in '' $ac_executable_extensions; do
2581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2583 ac_prog_rejected
=yes
2587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 if test $ac_prog_rejected = yes; then
2595 # We found a bogon in the path, so make sure we never use it.
2596 set dummy
$ac_cv_prog_CC
2598 if test $# != 0; then
2599 # We chose a different compiler from the bogus one.
2600 # However, it has the same basename, so the bogon will be chosen
2601 # first if we set CC to just the basename; use the full file name.
2603 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2609 if test -n "$CC"; then
2610 { echo "$as_me:$LINENO: result: $CC" >&5
2611 echo "${ECHO_T}$CC" >&6; }
2613 { echo "$as_me:$LINENO: result: no" >&5
2614 echo "${ECHO_T}no" >&6; }
2619 if test -z "$CC"; then
2620 if test -n "$ac_tool_prefix"; then
2621 for ac_prog
in cl.exe
2623 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2624 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2627 if test "${ac_cv_prog_CC+set}" = set; then
2628 echo $ECHO_N "(cached) $ECHO_C" >&6
2630 if test -n "$CC"; then
2631 ac_cv_prog_CC
="$CC" # Let the user override the test.
2633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2637 test -z "$as_dir" && as_dir
=.
2638 for ac_exec_ext
in '' $ac_executable_extensions; do
2639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2640 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2651 if test -n "$CC"; then
2652 { echo "$as_me:$LINENO: result: $CC" >&5
2653 echo "${ECHO_T}$CC" >&6; }
2655 { echo "$as_me:$LINENO: result: no" >&5
2656 echo "${ECHO_T}no" >&6; }
2660 test -n "$CC" && break
2663 if test -z "$CC"; then
2665 for ac_prog
in cl.exe
2667 # Extract the first word of "$ac_prog", so it can be a program name with args.
2668 set dummy
$ac_prog; ac_word
=$2
2669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2671 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2672 echo $ECHO_N "(cached) $ECHO_C" >&6
2674 if test -n "$ac_ct_CC"; then
2675 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir
=.
2682 for ac_exec_ext
in '' $ac_executable_extensions; do
2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684 ac_cv_prog_ac_ct_CC
="$ac_prog"
2685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2695 if test -n "$ac_ct_CC"; then
2696 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2697 echo "${ECHO_T}$ac_ct_CC" >&6; }
2699 { echo "$as_me:$LINENO: result: no" >&5
2700 echo "${ECHO_T}no" >&6; }
2704 test -n "$ac_ct_CC" && break
2707 if test "x$ac_ct_CC" = x
; then
2710 case $cross_compiling:$ac_tool_warned in
2712 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2713 whose name does not start with the host triplet. If you think this
2714 configuration is useful to you, please write to autoconf@gnu.org." >&5
2715 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2716 whose name does not start with the host triplet. If you think this
2717 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2718 ac_tool_warned
=yes ;;
2727 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2728 See \`config.log' for more details." >&5
2729 echo "$as_me: error: no acceptable C compiler found in \$PATH
2730 See \`config.log' for more details." >&2;}
2731 { (exit 1); exit 1; }; }
2733 # Provide some information about the compiler.
2734 echo "$as_me:$LINENO: checking for C compiler version" >&5
2735 ac_compiler
=`set X $ac_compile; echo $2`
2736 { (ac_try
="$ac_compiler --version >&5"
2738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2742 (eval "$ac_compiler --version >&5") 2>&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); }
2746 { (ac_try="$ac_compiler -v >&5"
2748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2749 *) ac_try_echo
=$ac_try;;
2751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2752 (eval "$ac_compiler -v >&5") 2>&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }
2756 { (ac_try
="$ac_compiler -V >&5"
2758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2759 *) ac_try_echo=$ac_try;;
2761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2762 (eval "$ac_compiler -V >&5") 2>&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }
2767 cat >conftest.$ac_ext <<_ACEOF
2770 cat confdefs.h >>conftest.$ac_ext
2771 cat >>conftest.$ac_ext <<_ACEOF
2772 /* end confdefs.h. */
2782 ac_clean_files_save=$ac_clean_files
2783 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2784 # Try to create an executable without -o first, disregard a.out.
2785 # It will help us diagnose broken compilers, and finding out an intuition
2787 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2788 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2789 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2791 # List of possible output files, starting from the most likely.
2792 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2793 # only as a last resort. b.out is created by i960 compilers.
2794 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2796 # The IRIX 6 linker writes into existing files which may not be
2797 # executable, retaining their permissions. Remove them first so a
2798 # subsequent execution test works.
2800 for ac_file in $ac_files
2803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2804 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2809 if { (ac_try="$ac_link_default"
2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2812 *) ac_try_echo=$ac_try;;
2814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2815 (eval "$ac_link_default") 2>&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }; then
2819 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2820 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2821 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2822 # so that the user can short-circuit this test for compilers unknown to
2824 for ac_file
in $ac_files ''
2826 test -f "$ac_file" ||
continue
2828 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2831 # We found the default executable, but exeext='' is most
2835 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2837 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2839 # We set ac_cv_exeext here because the later test for it is not
2840 # safe: cross compilers may not add the suffix if given an `-o'
2841 # argument, so we may need to know it at that point already.
2842 # Even if this section looks crufty: it has the advantage of
2849 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2855 { echo "$as_me:$LINENO: result: $ac_file" >&5
2856 echo "${ECHO_T}$ac_file" >&6; }
2857 if test -z "$ac_file"; then
2858 echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.
$ac_ext >&5
2861 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2862 See \`config.log' for more details." >&5
2863 echo "$as_me: error: C compiler cannot create executables
2864 See \`config.log' for more details." >&2;}
2865 { (exit 77); exit 77; }; }
2868 ac_exeext
=$ac_cv_exeext
2870 # Check that the compiler produces executables we can run. If not, either
2871 # the compiler is broken, or we cross compile.
2872 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2873 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2874 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2875 # If not cross compiling, check that we can run a simple program.
2876 if test "$cross_compiling" != yes; then
2877 if { ac_try
='./$ac_file'
2878 { (case "(($ac_try" in
2879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2883 (eval "$ac_try") 2>&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }; }; then
2889 if test "$cross_compiling" = maybe; then
2892 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2893 If you meant to cross compile, use \`--host'.
2894 See \`config.log' for more details.
" >&5
2895 echo "$as_me: error
: cannot run C compiled programs.
2896 If you meant to cross compile
, use \
`--host'.
2897 See \`config.log
' for more details." >&2;}
2898 { (exit 1); exit 1; }; }
2902 { echo "$as_me:$LINENO: result: yes" >&5
2903 echo "${ECHO_T}yes" >&6; }
2905 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2906 ac_clean_files=$ac_clean_files_save
2907 # Check that the compiler produces executables we can run. If not, either
2908 # the compiler is broken, or we cross compile.
2909 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2910 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2911 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2912 echo "${ECHO_T}$cross_compiling" >&6; }
2914 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2915 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2916 if { (ac_try="$ac_link"
2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919 *) ac_try_echo=$ac_try;;
2921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2922 (eval "$ac_link") 2>&5
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); }; then
2926 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2927 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2928 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2930 for ac_file
in conftest.exe conftest conftest.
*; do
2931 test -f "$ac_file" ||
continue
2933 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2934 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2940 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2941 See \`config.log' for more details." >&5
2942 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2943 See \`config.log' for more details." >&2;}
2944 { (exit 1); exit 1; }; }
2947 rm -f conftest
$ac_cv_exeext
2948 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2949 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2951 rm -f conftest.
$ac_ext
2952 EXEEXT
=$ac_cv_exeext
2954 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2955 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2956 if test "${ac_cv_objext+set}" = set; then
2957 echo $ECHO_N "(cached) $ECHO_C" >&6
2959 cat >conftest.
$ac_ext <<_ACEOF
2962 cat confdefs.h
>>conftest.
$ac_ext
2963 cat >>conftest.
$ac_ext <<_ACEOF
2964 /* end confdefs.h. */
2974 rm -f conftest.o conftest.obj
2975 if { (ac_try
="$ac_compile"
2977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2981 (eval "$ac_compile") 2>&5
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); }; then
2985 for ac_file in conftest.o conftest.obj conftest.*; do
2986 test -f "$ac_file" || continue;
2988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2989 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2997 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2998 See \`config.log
' for more details." >&5
2999 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3000 See \`config.log' for more details.
" >&2;}
3001 { (exit 1); exit 1; }; }
3004 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3006 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3007 echo "${ECHO_T}$ac_cv_objext" >&6; }
3008 OBJEXT=$ac_cv_objext
3010 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3011 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3012 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3013 echo $ECHO_N "(cached
) $ECHO_C" >&6
3015 cat >conftest.$ac_ext <<_ACEOF
3018 cat confdefs.h >>conftest.$ac_ext
3019 cat >>conftest.$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3033 rm -f conftest.$ac_objext
3034 if { (ac_try="$ac_compile"
3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3039 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3040 (eval "$ac_compile") 2>conftest.er1
3042 grep -v '^ *+' conftest.er1 >conftest.err
3044 cat conftest.err >&5
3045 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3046 (exit $ac_status); } && {
3047 test -z "$ac_c_werror_flag" ||
3048 test ! -s conftest.err
3049 } && test -s conftest.$ac_objext; then
3052 echo "$as_me: failed program was
:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3062 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3063 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3064 GCC=`test $ac_compiler_gnu = yes && echo yes`
3065 ac_test_CFLAGS=${CFLAGS+set}
3066 ac_save_CFLAGS=$CFLAGS
3067 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3068 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3069 if test "${ac_cv_prog_cc_g+set}" = set; then
3070 echo $ECHO_N "(cached
) $ECHO_C" >&6
3072 ac_save_c_werror_flag=$ac_c_werror_flag
3073 ac_c_werror_flag=yes
3076 cat >conftest.$ac_ext <<_ACEOF
3079 cat confdefs.h >>conftest.$ac_ext
3080 cat >>conftest.$ac_ext <<_ACEOF
3081 /* end confdefs.h. */
3091 rm -f conftest.$ac_objext
3092 if { (ac_try="$ac_compile"
3094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095 *) ac_try_echo=$ac_try;;
3097 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3098 (eval "$ac_compile") 2>conftest.er1
3100 grep -v '^ *+' conftest.er1 >conftest.err
3102 cat conftest.err >&5
3103 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3104 (exit $ac_status); } && {
3105 test -z "$ac_c_werror_flag" ||
3106 test ! -s conftest.err
3107 } && test -s conftest.$ac_objext; then
3110 echo "$as_me: failed program was
:" >&5
3111 sed 's/^/| /' conftest.$ac_ext >&5
3114 cat >conftest.$ac_ext <<_ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3129 rm -f conftest.$ac_objext
3130 if { (ac_try="$ac_compile"
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3135 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_compile") 2>conftest.er1
3138 grep -v '^ *+' conftest.er1 >conftest.err
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3142 (exit $ac_status); } && {
3143 test -z "$ac_c_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then
3148 echo "$as_me: failed program was
:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_c_werror_flag=$ac_save_c_werror_flag
3153 cat >conftest.$ac_ext <<_ACEOF
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3168 rm -f conftest.$ac_objext
3169 if { (ac_try="$ac_compile"
3171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3174 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3175 (eval "$ac_compile") 2>conftest.er1
3177 grep -v '^ *+' conftest.er1 >conftest.err
3179 cat conftest.err >&5
3180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3181 (exit $ac_status); } && {
3182 test -z "$ac_c_werror_flag" ||
3183 test ! -s conftest.err
3184 } && test -s conftest.$ac_objext; then
3187 echo "$as_me: failed program was
:" >&5
3188 sed 's/^/| /' conftest.$ac_ext >&5
3193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3200 ac_c_werror_flag=$ac_save_c_werror_flag
3202 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3203 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3204 if test "$ac_test_CFLAGS" = set; then
3205 CFLAGS=$ac_save_CFLAGS
3206 elif test $ac_cv_prog_cc_g = yes; then
3207 if test "$GCC" = yes; then
3213 if test "$GCC" = yes; then
3219 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3220 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3221 if test "${ac_cv_prog_cc_c89+set}" = set; then
3222 echo $ECHO_N "(cached
) $ECHO_C" >&6
3224 ac_cv_prog_cc_c89=no
3226 cat >conftest.$ac_ext <<_ACEOF
3229 cat confdefs.h >>conftest.$ac_ext
3230 cat >>conftest.$ac_ext <<_ACEOF
3231 /* end confdefs.h. */
3234 #include <sys/types.h>
3235 #include <sys/stat.h>
3236 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3237 struct buf { int x; };
3238 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3239 static char *e (p, i)
3245 static char *f (char * (*g) (char **, int), char **p, ...)
3250 s = g (p, va_arg (v,int));
3255 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3256 function prototypes and stuff, but not '\xHH' hex character constants.
3257 These don't provoke an error unfortunately, instead are silently treated
3258 as 'x'. The following induces an error, until -std is added to get
3259 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3260 array size at least. It's necessary to write '\x00'==0 to get something
3261 that's true only with -std. */
3262 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3264 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3265 inside strings and character constants. */
3267 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3269 int test (int i, double x);
3270 struct s1 {int (*f) (int a);};
3271 struct s2 {int (*f) (double a);};
3272 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3278 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3283 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3284 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3286 CC="$ac_save_CC $ac_arg"
3287 rm -f conftest.$ac_objext
3288 if { (ac_try="$ac_compile"
3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3293 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3294 (eval "$ac_compile") 2>conftest.er1
3296 grep -v '^ *+' conftest.er1 >conftest.err
3298 cat conftest.err >&5
3299 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3300 (exit $ac_status); } && {
3301 test -z "$ac_c_werror_flag" ||
3302 test ! -s conftest.err
3303 } && test -s conftest.$ac_objext; then
3304 ac_cv_prog_cc_c89=$ac_arg
3306 echo "$as_me: failed program was
:" >&5
3307 sed 's/^/| /' conftest.$ac_ext >&5
3312 rm -f core conftest.err conftest.$ac_objext
3313 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3315 rm -f conftest.$ac_ext
3320 case "x
$ac_cv_prog_cc_c89" in
3322 { echo "$as_me:$LINENO: result
: none needed
" >&5
3323 echo "${ECHO_T}none needed
" >&6; } ;;
3325 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3326 echo "${ECHO_T}unsupported
" >&6; } ;;
3328 CC="$CC $ac_cv_prog_cc_c89"
3329 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3330 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3335 ac_cpp='$CPP $CPPFLAGS'
3336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3339 DEPDIR="${am__leading_dot}deps
"
3341 ac_config_commands="$ac_config_commands depfiles
"
3344 am_make=${MAKE-make}
3345 cat > confinc << 'END'
3350 # If we don't find an include directive, just comment out the code.
3351 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3352 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3356 # First try GNU make style include.
3357 echo "include confinc" > confmf
3358 # We grep out `Entering directory' and `Leaving directory'
3359 # messages which can occur if `w' ends up in MAKEFLAGS.
3360 # In particular we don't look at `^make:' because GNU make might
3361 # be invoked under some other name (usually "gmake"), in which
3362 # case it prints its new name instead of `make'.
3363 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3368 # Now try BSD make style include.
3369 if test "$am__include" = "#"; then
3370 echo '.include "confinc"' > confmf
3371 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3372 am__include
=.include
3379 { echo "$as_me:$LINENO: result: $_am_result" >&5
3380 echo "${ECHO_T}$_am_result" >&6; }
3381 rm -f confinc confmf
3383 # Check whether --enable-dependency-tracking was given.
3384 if test "${enable_dependency_tracking+set}" = set; then
3385 enableval
=$enable_dependency_tracking;
3388 if test "x$enable_dependency_tracking" != xno
; then
3389 am_depcomp
="$ac_aux_dir/depcomp"
3392 if test "x$enable_dependency_tracking" != xno; then
3402 depcc
="$CC" am_compiler_list
=
3404 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3405 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3406 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3409 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3410 # We make a subdir and do the tests there. Otherwise we can end up
3411 # making bogus files that we don't know about and never remove. For
3412 # instance it was reported that on HP-UX the gcc test will end up
3413 # making a dummy file named `D' -- because `-MD' means `put the output
3416 # Copy depcomp to subdir because otherwise we won't find it if we're
3417 # using a relative directory.
3418 cp "$am_depcomp" conftest.dir
3420 # We will build objects and dependencies in a subdirectory because
3421 # it helps to detect inapplicable dependency modes. For instance
3422 # both Tru64's cc and ICC support -MD to output dependencies as a
3423 # side effect of compilation, but ICC will put the dependencies in
3424 # the current directory while Tru64 will put them in the object
3428 am_cv_CC_dependencies_compiler_type
=none
3429 if test "$am_compiler_list" = ""; then
3430 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3432 for depmode
in $am_compiler_list; do
3433 # Setup a source with many dependencies, because some compilers
3434 # like to wrap large dependency lists on column 80 (with \), and
3435 # we should not choose a depcomp mode which is confused by this.
3437 # We need to recreate these files for each test, as the compiler may
3438 # overwrite some of them when testing with obscure command lines.
3439 # This happens at least with the AIX C compiler.
3441 for i
in 1 2 3 4 5 6; do
3442 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3443 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3444 # Solaris 8's {/usr,}/bin/sh.
3445 touch sub
/conftst
$i.h
3447 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3451 # after this tag, mechanisms are not by side-effect, so they'll
3452 # only be used when explicitly requested
3453 if test "x$enable_dependency_tracking" = xyes
; then
3461 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3462 # mode. It turns out that the SunPro C++ compiler does not properly
3463 # handle `-M -o', and we need to detect this.
3464 if depmode
=$depmode \
3465 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3466 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3467 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3468 >/dev
/null
2>conftest.err
&&
3469 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3470 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3471 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3472 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3473 # icc doesn't choke on unknown options, it will just issue warnings
3474 # or remarks (even with -Werror). So we grep stderr for any message
3475 # that says an option was ignored or not supported.
3476 # When given -MP, icc 7.0 and 7.1 complain thusly:
3477 # icc: Command line warning: ignoring option '-M'; no argument required
3478 # The diagnosis changed in icc 8.0:
3479 # icc: Command line remark: option '-MP' not supported
3480 if (grep 'ignoring option' conftest.err ||
3481 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3482 am_cv_CC_dependencies_compiler_type
=$depmode
3491 am_cv_CC_dependencies_compiler_type
=none
3495 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3496 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3497 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3500 test "x$enable_dependency_tracking" != xno \
3501 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3503 am__fastdepCC_FALSE
='#'
3505 am__fastdepCC_TRUE
='#'
3506 am__fastdepCC_FALSE
=
3510 # Find a good install program. We prefer a C program (faster),
3511 # so one script is as good as another. But avoid the broken or
3512 # incompatible versions:
3513 # SysV /etc/install, /usr/sbin/install
3514 # SunOS /usr/etc/install
3515 # IRIX /sbin/install
3517 # AmigaOS /C/install, which installs bootblocks on floppy discs
3518 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3519 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3520 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3521 # OS/2's system install, which has a completely different semantic
3522 # ./install, which can be erroneously created by make from ./install.sh.
3523 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3524 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3525 if test -z "$INSTALL"; then
3526 if test "${ac_cv_path_install+set}" = set; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3533 test -z "$as_dir" && as_dir
=.
3534 # Account for people who put trailing slashes in PATH elements.
3536 .
/ | .
// |
/cC
/* | \
3537 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3538 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3541 # OSF1 and SCO ODT 3.0 have their own names for install.
3542 # Don't use installbsd from OSF since it installs stuff as root
3544 for ac_prog
in ginstall scoinst
install; do
3545 for ac_exec_ext
in '' $ac_executable_extensions; do
3546 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3547 if test $ac_prog = install &&
3548 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3549 # AIX install. It has an incompatible calling convention.
3551 elif test $ac_prog = install &&
3552 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3553 # program-specific install script used by HP pwplus--don't use.
3556 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3569 if test "${ac_cv_path_install+set}" = set; then
3570 INSTALL
=$ac_cv_path_install
3572 # As a last resort, use the slow shell script. Don't cache a
3573 # value for INSTALL within a source directory, because that will
3574 # break other packages using the cache if that directory is
3575 # removed, or if the value is a relative name.
3576 INSTALL
=$ac_install_sh
3579 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3580 echo "${ECHO_T}$INSTALL" >&6; }
3582 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3583 # It thinks the first close brace ends the variable substitution.
3584 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3586 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3588 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3590 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3591 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3593 if test "$LN_S" = "ln -s"; then
3594 { echo "$as_me:$LINENO: result: yes" >&5
3595 echo "${ECHO_T}yes" >&6; }
3597 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3598 echo "${ECHO_T}no, using $LN_S" >&6; }
3601 for ac_prog
in perl5 perl
3603 # Extract the first word of "$ac_prog", so it can be a program name with args.
3604 set dummy
$ac_prog; ac_word
=$2
3605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3607 if test "${ac_cv_path_PERL+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3616 for as_dir
in $LPATH
3619 test -z "$as_dir" && as_dir
=.
3620 for ac_exec_ext
in '' $ac_executable_extensions; do
3621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3622 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
3623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3633 PERL
=$ac_cv_path_PERL
3634 if test -n "$PERL"; then
3635 { echo "$as_me:$LINENO: result: $PERL" >&5
3636 echo "${ECHO_T}$PERL" >&6; }
3638 { echo "$as_me:$LINENO: result: no" >&5
3639 echo "${ECHO_T}no" >&6; }
3643 test -n "$PERL" && break
3645 test -n "$PERL" || PERL
="perl"
3650 # Extract the first word of "$ac_prog", so it can be a program name with args.
3651 set dummy
$ac_prog; ac_word
=$2
3652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3654 if test "${ac_cv_path_CAT+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3659 ac_cv_path_CAT
="$CAT" # Let the user override the test with a path.
3662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3666 test -z "$as_dir" && as_dir
=.
3667 for ac_exec_ext
in '' $ac_executable_extensions; do
3668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3669 ac_cv_path_CAT
="$as_dir/$ac_word$ac_exec_ext"
3670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3681 if test -n "$CAT"; then
3682 { echo "$as_me:$LINENO: result: $CAT" >&5
3683 echo "${ECHO_T}$CAT" >&6; }
3685 { echo "$as_me:$LINENO: result: no" >&5
3686 echo "${ECHO_T}no" >&6; }
3690 test -n "$CAT" && break
3692 test -n "$CAT" || CAT
="cat"
3696 # Check whether --enable-shared was given.
3697 if test "${enable_shared+set}" = set; then
3698 enableval
=$enable_shared; p
=${PACKAGE-default}
3700 yes) enable_shared
=yes ;;
3701 no
) enable_shared
=no
;;
3704 # Look at the argument we got. We use all the common list separators.
3705 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3706 for pkg
in $enableval; do
3708 if test "X$pkg" = "X$p"; then
3720 # Check whether --enable-static was given.
3721 if test "${enable_static+set}" = set; then
3722 enableval
=$enable_static; p
=${PACKAGE-default}
3724 yes) enable_static
=yes ;;
3725 no
) enable_static
=no
;;
3728 # Look at the argument we got. We use all the common list separators.
3729 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3730 for pkg
in $enableval; do
3732 if test "X$pkg" = "X$p"; then
3744 # Check whether --enable-fast-install was given.
3745 if test "${enable_fast_install+set}" = set; then
3746 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3748 yes) enable_fast_install
=yes ;;
3749 no
) enable_fast_install
=no
;;
3751 enable_fast_install
=no
3752 # Look at the argument we got. We use all the common list separators.
3753 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3754 for pkg
in $enableval; do
3756 if test "X$pkg" = "X$p"; then
3757 enable_fast_install
=yes
3764 enable_fast_install
=yes
3768 # Make sure we can run config.sub.
3769 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3770 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3771 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3772 { (exit 1); exit 1; }; }
3774 { echo "$as_me:$LINENO: checking build system type" >&5
3775 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3776 if test "${ac_cv_build+set}" = set; then
3777 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 ac_build_alias
=$build_alias
3780 test "x$ac_build_alias" = x
&&
3781 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3782 test "x$ac_build_alias" = x
&&
3783 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3784 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3785 { (exit 1); exit 1; }; }
3786 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3787 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3788 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3789 { (exit 1); exit 1; }; }
3792 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3793 echo "${ECHO_T}$ac_cv_build" >&6; }
3794 case $ac_cv_build in
3796 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3797 echo "$as_me: error: invalid value of canonical build" >&2;}
3798 { (exit 1); exit 1; }; };;
3801 ac_save_IFS
=$IFS; IFS
='-'
3807 # Remember, the first character of IFS is used to create $*,
3808 # except with old shells:
3811 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3814 { echo "$as_me:$LINENO: checking host system type" >&5
3815 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3816 if test "${ac_cv_host+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 if test "x$host_alias" = x
; then
3820 ac_cv_host
=$ac_cv_build
3822 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3823 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3824 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3825 { (exit 1); exit 1; }; }
3829 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3830 echo "${ECHO_T}$ac_cv_host" >&6; }
3833 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3834 echo "$as_me: error: invalid value of canonical host" >&2;}
3835 { (exit 1); exit 1; }; };;
3838 ac_save_IFS
=$IFS; IFS
='-'
3844 # Remember, the first character of IFS is used to create $*,
3845 # except with old shells:
3848 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3851 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3852 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3853 if test "${lt_cv_path_SED+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 # Loop through the user's path and test for sed and gsed.
3857 # Then use that list of sed's as ones to test for truncation.
3858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3862 test -z "$as_dir" && as_dir
=.
3863 for lt_ac_prog
in sed gsed
; do
3864 for ac_exec_ext
in '' $ac_executable_extensions; do
3865 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3866 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3874 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3875 # along with /bin/sed that truncates output.
3876 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3877 test ! -f $lt_ac_sed && continue
3878 cat /dev
/null
> conftest.
in
3880 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3881 # Check for GNU sed and select it if it is found.
3882 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3883 lt_cv_path_SED
=$lt_ac_sed
3887 cat conftest.
in conftest.
in >conftest.tmp
3888 mv conftest.tmp conftest.
in
3889 cp conftest.
in conftest.
nl
3891 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3892 cmp -s conftest.out conftest.
nl ||
break
3893 # 10000 chars as input seems more than enough
3894 test $lt_ac_count -gt 10 && break
3895 lt_ac_count
=`expr $lt_ac_count + 1`
3896 if test $lt_ac_count -gt $lt_ac_max; then
3897 lt_ac_max
=$lt_ac_count
3898 lt_cv_path_SED
=$lt_ac_sed
3907 { echo "$as_me:$LINENO: result: $SED" >&5
3908 echo "${ECHO_T}$SED" >&6; }
3910 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3911 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3912 if test "${ac_cv_path_GREP+set}" = set; then
3913 echo $ECHO_N "(cached) $ECHO_C" >&6
3915 # Extract the first word of "grep ggrep" to use in msg output
3916 if test -z "$GREP"; then
3917 set dummy
grep ggrep
; ac_prog_name
=$2
3918 if test "${ac_cv_path_GREP+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 ac_path_GREP_found
=false
3922 # Loop through the user's path and test for each of PROGNAME-LIST
3923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3924 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3927 test -z "$as_dir" && as_dir
=.
3928 for ac_prog
in grep ggrep
; do
3929 for ac_exec_ext
in '' $ac_executable_extensions; do
3930 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3931 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3932 # Check for GNU ac_path_GREP and select it if it is found.
3933 # Check for GNU $ac_path_GREP
3934 case `"$ac_path_GREP" --version 2>&1` in
3936 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3939 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3942 cat "conftest.in" "conftest.in" >"conftest.tmp"
3943 mv "conftest.tmp" "conftest.in"
3944 cp "conftest.in" "conftest.nl"
3945 echo 'GREP' >> "conftest.nl"
3946 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3947 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3948 ac_count
=`expr $ac_count + 1`
3949 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3950 # Best one so far, save it but keep looking for a better one
3951 ac_cv_path_GREP
="$ac_path_GREP"
3952 ac_path_GREP_max
=$ac_count
3954 # 10*(2^10) chars as input seems more than enough
3955 test $ac_count -gt 10 && break
3957 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3961 $ac_path_GREP_found && break 3
3971 GREP
="$ac_cv_path_GREP"
3972 if test -z "$GREP"; then
3973 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3974 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3975 { (exit 1); exit 1; }; }
3979 ac_cv_path_GREP
=$GREP
3984 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3985 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3986 GREP
="$ac_cv_path_GREP"
3989 { echo "$as_me:$LINENO: checking for egrep" >&5
3990 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3991 if test "${ac_cv_path_EGREP+set}" = set; then
3992 echo $ECHO_N "(cached) $ECHO_C" >&6
3994 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3995 then ac_cv_path_EGREP
="$GREP -E"
3997 # Extract the first word of "egrep" to use in msg output
3998 if test -z "$EGREP"; then
3999 set dummy
egrep; ac_prog_name
=$2
4000 if test "${ac_cv_path_EGREP+set}" = set; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 ac_path_EGREP_found
=false
4004 # Loop through the user's path and test for each of PROGNAME-LIST
4005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4006 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4009 test -z "$as_dir" && as_dir
=.
4010 for ac_prog
in egrep; do
4011 for ac_exec_ext
in '' $ac_executable_extensions; do
4012 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4013 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4014 # Check for GNU ac_path_EGREP and select it if it is found.
4015 # Check for GNU $ac_path_EGREP
4016 case `"$ac_path_EGREP" --version 2>&1` in
4018 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4021 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4024 cat "conftest.in" "conftest.in" >"conftest.tmp"
4025 mv "conftest.tmp" "conftest.in"
4026 cp "conftest.in" "conftest.nl"
4027 echo 'EGREP' >> "conftest.nl"
4028 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4029 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4030 ac_count
=`expr $ac_count + 1`
4031 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4032 # Best one so far, save it but keep looking for a better one
4033 ac_cv_path_EGREP
="$ac_path_EGREP"
4034 ac_path_EGREP_max
=$ac_count
4036 # 10*(2^10) chars as input seems more than enough
4037 test $ac_count -gt 10 && break
4039 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4043 $ac_path_EGREP_found && break 3
4053 EGREP
="$ac_cv_path_EGREP"
4054 if test -z "$EGREP"; then
4055 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4056 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4057 { (exit 1); exit 1; }; }
4061 ac_cv_path_EGREP
=$EGREP
4067 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4068 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4069 EGREP
="$ac_cv_path_EGREP"
4073 # Check whether --with-gnu-ld was given.
4074 if test "${with_gnu_ld+set}" = set; then
4075 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4081 if test "$GCC" = yes; then
4082 # Check if gcc -print-prog-name=ld gives a path.
4083 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4084 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4087 # gcc leaves a trailing carriage return which upsets mingw
4088 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4090 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4093 # Accept absolute paths.
4095 re_direlt
='/[^/][^/]*/\.\./'
4096 # Canonicalize the pathname of ld
4097 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4098 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4099 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4101 test -z "$LD" && LD
="$ac_prog"
4104 # If it fails, then pretend we aren't using GCC.
4108 # If it is relative, then search for the first ld in PATH.
4112 elif test "$with_gnu_ld" = yes; then
4113 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4114 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4116 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4117 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4119 if test "${lt_cv_path_LD+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 if test -z "$LD"; then
4123 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4124 for ac_dir
in $PATH; do
4126 test -z "$ac_dir" && ac_dir
=.
4127 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4128 lt_cv_path_LD
="$ac_dir/$ac_prog"
4129 # Check to see if the program is GNU ld. I'd rather use --version,
4130 # but apparently some variants of GNU ld only accept -v.
4131 # Break only if it was the GNU/non-GNU ld that we prefer.
4132 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4133 *GNU
* |
*'with BFD'*)
4134 test "$with_gnu_ld" != no
&& break
4137 test "$with_gnu_ld" != yes && break
4144 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4149 if test -n "$LD"; then
4150 { echo "$as_me:$LINENO: result: $LD" >&5
4151 echo "${ECHO_T}$LD" >&6; }
4153 { echo "$as_me:$LINENO: result: no" >&5
4154 echo "${ECHO_T}no" >&6; }
4156 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4157 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4158 { (exit 1); exit 1; }; }
4159 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4160 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4161 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4165 case `$LD -v 2>&1 </dev/null` in
4166 *GNU
* |
*'with BFD'*)
4167 lt_cv_prog_gnu_ld
=yes
4170 lt_cv_prog_gnu_ld
=no
4174 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4175 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4176 with_gnu_ld
=$lt_cv_prog_gnu_ld
4179 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4180 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4181 if test "${lt_cv_ld_reload_flag+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 lt_cv_ld_reload_flag
='-r'
4186 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4187 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4188 reload_flag
=$lt_cv_ld_reload_flag
4189 case $reload_flag in
4191 *) reload_flag
=" $reload_flag" ;;
4193 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4196 if test "$GCC" = yes; then
4197 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4199 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4204 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4205 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4206 if test "${lt_cv_path_NM+set}" = set; then
4207 echo $ECHO_N "(cached) $ECHO_C" >&6
4209 if test -n "$NM"; then
4210 # Let the user override the test.
4213 lt_nm_to_check
="${ac_tool_prefix}nm"
4214 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4215 lt_nm_to_check
="$lt_nm_to_check nm"
4217 for lt_tmp_nm
in $lt_nm_to_check; do
4218 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4219 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4221 test -z "$ac_dir" && ac_dir
=.
4222 tmp_nm
="$ac_dir/$lt_tmp_nm"
4223 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4224 # Check to see if the nm accepts a BSD-compat flag.
4225 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4226 # nm: unknown option "B" ignored
4227 # Tru64's nm complains that /dev/null is an invalid object file
4228 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4229 */dev
/null
* |
*'Invalid file or object type'*)
4230 lt_cv_path_NM
="$tmp_nm -B"
4234 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4236 lt_cv_path_NM
="$tmp_nm -p"
4240 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4241 continue # so that we can try to find one that supports BSD flags
4250 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4253 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4254 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4257 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4258 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4259 if test "${lt_cv_deplibs_check_method+set}" = set; then
4260 echo $ECHO_N "(cached) $ECHO_C" >&6
4262 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4263 lt_cv_file_magic_test_file
=
4264 lt_cv_deplibs_check_method
='unknown'
4265 # Need to set the preceding variable on all platforms that support
4266 # interlibrary dependencies.
4267 # 'none' -- dependencies not supported.
4268 # `unknown' -- same as none, but documents that we really don't know.
4269 # 'pass_all' -- all dependencies passed with no checks.
4270 # 'test_compile' -- check by making test program.
4271 # 'file_magic [[regex]]' -- check by looking for files in library path
4272 # which responds to the $file_magic_cmd with a given extended regex.
4273 # If you have `file' or equivalent on your system and you're not sure
4274 # whether `pass_all' will *always* work, you probably want this one.
4278 lt_cv_deplibs_check_method
=pass_all
4282 lt_cv_deplibs_check_method
=pass_all
4286 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4287 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4288 lt_cv_file_magic_test_file
=/shlib
/libc.so
4292 # func_win32_libid is a shell function defined in ltmain.sh
4293 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4294 lt_cv_file_magic_cmd
='func_win32_libid'
4298 # Base MSYS/MinGW do not provide the 'file' command needed by
4299 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4300 # unless we find 'file', for example because we are cross-compiling.
4301 if ( file / ) >/dev
/null
2>&1; then
4302 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4303 lt_cv_file_magic_cmd
='func_win32_libid'
4305 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4306 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4310 darwin
* | rhapsody
*)
4311 lt_cv_deplibs_check_method
=pass_all
4314 freebsd
* | dragonfly
*)
4315 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4318 # Not sure whether the presence of OpenBSD here was a mistake.
4319 # Let's accept both of them until this is cleared up.
4320 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4321 lt_cv_file_magic_cmd
=/usr
/bin
/file
4322 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4326 lt_cv_deplibs_check_method
=pass_all
4331 lt_cv_deplibs_check_method
=pass_all
4334 hpux10.20
* | hpux11
*)
4335 lt_cv_file_magic_cmd
=/usr
/bin
/file
4338 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4339 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4342 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]'
4343 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4346 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4347 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4353 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4354 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4357 irix5
* | irix6
* | nonstopux
*)
4359 *-32|
*"-32 ") libmagic
=32-bit;;
4360 *-n32|
*"-n32 ") libmagic
=N32
;;
4361 *-64|
*"-64 ") libmagic
=64-bit;;
4362 *) libmagic
=never-match
;;
4364 lt_cv_deplibs_check_method
=pass_all
4367 # This must be Linux ELF.
4368 linux
* | k
*bsd
*-gnu)
4369 lt_cv_deplibs_check_method
=pass_all
4373 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4374 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4376 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4381 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4382 lt_cv_file_magic_cmd
=/usr
/bin
/file
4383 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4387 lt_cv_deplibs_check_method
=unknown
4391 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4392 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4394 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4398 osf3
* | osf4
* | osf5
*)
4399 lt_cv_deplibs_check_method
=pass_all
4403 lt_cv_deplibs_check_method
=pass_all
4407 lt_cv_deplibs_check_method
=pass_all
4411 case $host_vendor in
4413 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]'
4414 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4417 lt_cv_deplibs_check_method
=pass_all
4420 lt_cv_file_magic_cmd
='/bin/file'
4421 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4424 lt_cv_file_magic_cmd
='/bin/file'
4425 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4426 lt_cv_file_magic_test_file
=/lib
/libc.so
4429 lt_cv_deplibs_check_method
=pass_all
4432 lt_cv_deplibs_check_method
=pass_all
4437 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4438 lt_cv_deplibs_check_method
=pass_all
4443 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4444 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4445 file_magic_cmd
=$lt_cv_file_magic_cmd
4446 deplibs_check_method
=$lt_cv_deplibs_check_method
4447 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4452 # If no C compiler was specified, use CC.
4455 # If no C compiler flags were specified, use CFLAGS.
4456 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4458 # Allow CC to be a program name with arguments.
4462 # Check whether --enable-libtool-lock was given.
4463 if test "${enable_libtool_lock+set}" = set; then
4464 enableval
=$enable_libtool_lock;
4467 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4469 # Some flags need to be propagated to the compiler or linker for good
4473 # Find out which ABI we are using.
4474 echo 'int i;' > conftest.
$ac_ext
4475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4476 (eval $ac_compile) 2>&5
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); }; then
4480 case `/usr/bin/file conftest.$ac_objext` in
4492 # Find out which ABI we are using.
4493 echo '#line 4493 "configure"' > conftest.
$ac_ext
4494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4495 (eval $ac_compile) 2>&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); }; then
4499 if test "$lt_cv_prog_gnu_ld" = yes; then
4500 case `/usr/bin/file conftest.$ac_objext` in
4502 LD
="${LD-ld} -melf32bsmip"
4505 LD
="${LD-ld} -melf32bmipn32"
4508 LD
="${LD-ld} -melf64bmip"
4512 case `/usr/bin/file conftest.$ac_objext` in
4528 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4529 s390
*-*linux
*|sparc
*-*linux
*)
4530 # Find out which ABI we are using.
4531 echo 'int i;' > conftest.
$ac_ext
4532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4533 (eval $ac_compile) 2>&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); }; then
4537 case `/usr/bin/file conftest.o` in
4540 x86_64-
*kfreebsd
*-gnu)
4541 LD
="${LD-ld} -m elf_i386_fbsd"
4544 LD
="${LD-ld} -m elf_i386"
4546 ppc64-
*linux
*|powerpc64-
*linux
*)
4547 LD
="${LD-ld} -m elf32ppclinux"
4550 LD
="${LD-ld} -m elf_s390"
4553 LD
="${LD-ld} -m elf32_sparc"
4560 x86_64-
*kfreebsd
*-gnu)
4561 LD
="${LD-ld} -m elf_x86_64_fbsd"
4564 LD
="${LD-ld} -m elf_x86_64"
4566 ppc
*-*linux
*|powerpc
*-*linux
*)
4567 LD
="${LD-ld} -m elf64ppc"
4570 LD
="${LD-ld} -m elf64_s390"
4573 LD
="${LD-ld} -m elf64_sparc"
4583 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4584 SAVE_CFLAGS
="$CFLAGS"
4585 CFLAGS
="$CFLAGS -belf"
4586 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4587 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4588 if test "${lt_cv_cc_needs_belf+set}" = set; then
4589 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 ac_cpp
='$CPP $CPPFLAGS'
4593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4597 cat >conftest.
$ac_ext <<_ACEOF
4600 cat confdefs.h
>>conftest.
$ac_ext
4601 cat >>conftest.
$ac_ext <<_ACEOF
4602 /* end confdefs.h. */
4612 rm -f conftest.
$ac_objext conftest
$ac_exeext
4613 if { (ac_try
="$ac_link"
4615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4616 *) ac_try_echo=$ac_try;;
4618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4619 (eval "$ac_link") 2>conftest.er1
4621 grep -v '^ *+' conftest.er1 >conftest.err
4623 cat conftest.err >&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); } && {
4626 test -z "$ac_c_werror_flag" ||
4627 test ! -s conftest.err
4628 } && test -s conftest$ac_exeext &&
4629 $as_test_x conftest$ac_exeext; then
4630 lt_cv_cc_needs_belf=yes
4632 echo "$as_me: failed program was:" >&5
4633 sed 's/^/| /' conftest.$ac_ext >&5
4635 lt_cv_cc_needs_belf=no
4638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4639 conftest$ac_exeext conftest.$ac_ext
4641 ac_cpp='$CPP $CPPFLAGS'
4642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4647 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4648 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4649 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4650 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4651 CFLAGS="$SAVE_CFLAGS"
4655 # Find out which ABI we are using.
4656 echo 'int i;' > conftest.$ac_ext
4657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4658 (eval $ac_compile) 2>&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; then
4662 case `/usr
/bin
/file conftest.o
` in
4664 case $lt_cv_prog_gnu_ld in
4665 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4666 *) LD="${LD-ld} -64" ;;
4677 need_locks="$enable_libtool_lock"
4681 ac_cpp='$CPP $CPPFLAGS'
4682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4685 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4686 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4687 # On Suns, sometimes $CPP names a directory.
4688 if test -n "$CPP" && test -d "$CPP"; then
4691 if test -z "$CPP"; then
4692 if test "${ac_cv_prog_CPP+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 # Double quotes because CPP needs to be expanded
4696 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4699 for ac_c_preproc_warn_flag in '' yes
4701 # Use a header file that comes with gcc, so configuring glibc
4702 # with a fresh cross-compiler works.
4703 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4704 # <limits.h> exists even on freestanding compilers.
4705 # On the NeXT, cc -E runs the code through the compiler's parser,
4706 # not just through cpp. "Syntax error" is here to catch this case.
4707 cat >conftest.$ac_ext <<_ACEOF
4710 cat confdefs.h >>conftest.$ac_ext
4711 cat >>conftest.$ac_ext <<_ACEOF
4712 /* end confdefs.h. */
4714 # include <limits.h>
4716 # include <assert.h>
4720 if { (ac_try="$ac_cpp conftest.$ac_ext"
4722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4723 *) ac_try_echo
=$ac_try;;
4725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4726 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4728 grep -v '^ *+' conftest.er1
>conftest.err
4730 cat conftest.err
>&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } >/dev
/null
&& {
4733 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4734 test ! -s conftest.err
4738 echo "$as_me: failed program was:" >&5
4739 sed 's/^/| /' conftest.
$ac_ext >&5
4741 # Broken: fails on valid input.
4745 rm -f conftest.err conftest.
$ac_ext
4747 # OK, works on sane cases. Now check whether nonexistent headers
4748 # can be detected and how.
4749 cat >conftest.
$ac_ext <<_ACEOF
4752 cat confdefs.h
>>conftest.
$ac_ext
4753 cat >>conftest.
$ac_ext <<_ACEOF
4754 /* end confdefs.h. */
4755 #include <ac_nonexistent.h>
4757 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4760 *) ac_try_echo=$ac_try;;
4762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4765 grep -v '^ *+' conftest.er1 >conftest.err
4767 cat conftest.err >&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); } >/dev/null && {
4770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4771 test ! -s conftest.err
4773 # Broken: success on invalid input.
4776 echo "$as_me: failed program was:" >&5
4777 sed 's/^/| /' conftest.$ac_ext >&5
4779 # Passes both tests.
4784 rm -f conftest.err conftest.$ac_ext
4787 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4788 rm -f conftest.err conftest.
$ac_ext
4789 if $ac_preproc_ok; then
4801 { echo "$as_me:$LINENO: result: $CPP" >&5
4802 echo "${ECHO_T}$CPP" >&6; }
4804 for ac_c_preproc_warn_flag
in '' yes
4806 # Use a header file that comes with gcc, so configuring glibc
4807 # with a fresh cross-compiler works.
4808 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4809 # <limits.h> exists even on freestanding compilers.
4810 # On the NeXT, cc -E runs the code through the compiler's parser,
4811 # not just through cpp. "Syntax error" is here to catch this case.
4812 cat >conftest.
$ac_ext <<_ACEOF
4815 cat confdefs.h
>>conftest.
$ac_ext
4816 cat >>conftest.
$ac_ext <<_ACEOF
4817 /* end confdefs.h. */
4819 # include <limits.h>
4821 # include <assert.h>
4825 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4828 *) ac_try_echo=$ac_try;;
4830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4831 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4833 grep -v '^ *+' conftest.er1 >conftest.err
4835 cat conftest.err >&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } >/dev/null && {
4838 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4839 test ! -s conftest.err
4843 echo "$as_me: failed program was:" >&5
4844 sed 's/^/| /' conftest.$ac_ext >&5
4846 # Broken: fails on valid input.
4850 rm -f conftest.err conftest.$ac_ext
4852 # OK, works on sane cases. Now check whether nonexistent headers
4853 # can be detected and how.
4854 cat >conftest.$ac_ext <<_ACEOF
4857 cat confdefs.h >>conftest.$ac_ext
4858 cat >>conftest.$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4860 #include <ac_nonexistent.h>
4862 if { (ac_try="$ac_cpp conftest.$ac_ext"
4864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4865 *) ac_try_echo
=$ac_try;;
4867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4868 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4870 grep -v '^ *+' conftest.er1
>conftest.err
4872 cat conftest.err
>&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } >/dev
/null
&& {
4875 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4876 test ! -s conftest.err
4878 # Broken: success on invalid input.
4881 echo "$as_me: failed program was:" >&5
4882 sed 's/^/| /' conftest.
$ac_ext >&5
4884 # Passes both tests.
4889 rm -f conftest.err conftest.
$ac_ext
4892 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4893 rm -f conftest.err conftest.
$ac_ext
4894 if $ac_preproc_ok; then
4897 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4898 See \`config.log' for more details." >&5
4899 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4900 See \`config.log' for more details." >&2;}
4901 { (exit 1); exit 1; }; }
4905 ac_cpp
='$CPP $CPPFLAGS'
4906 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4907 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4908 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4911 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4912 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4913 if test "${ac_cv_header_stdc+set}" = set; then
4914 echo $ECHO_N "(cached) $ECHO_C" >&6
4916 cat >conftest.
$ac_ext <<_ACEOF
4919 cat confdefs.h
>>conftest.
$ac_ext
4920 cat >>conftest.
$ac_ext <<_ACEOF
4921 /* end confdefs.h. */
4935 rm -f conftest.
$ac_objext
4936 if { (ac_try
="$ac_compile"
4938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4939 *) ac_try_echo=$ac_try;;
4941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4942 (eval "$ac_compile") 2>conftest.er1
4944 grep -v '^ *+' conftest.er1 >conftest.err
4946 cat conftest.err >&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); } && {
4949 test -z "$ac_c_werror_flag" ||
4950 test ! -s conftest.err
4951 } && test -s conftest.$ac_objext; then
4952 ac_cv_header_stdc=yes
4954 echo "$as_me: failed program was:" >&5
4955 sed 's/^/| /' conftest.$ac_ext >&5
4957 ac_cv_header_stdc=no
4960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4962 if test $ac_cv_header_stdc = yes; then
4963 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4964 cat >conftest.$ac_ext <<_ACEOF
4967 cat confdefs.h >>conftest.$ac_ext
4968 cat >>conftest.$ac_ext <<_ACEOF
4969 /* end confdefs.h. */
4973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4974 $EGREP "memchr" >/dev/null 2>&1; then
4977 ac_cv_header_stdc=no
4983 if test $ac_cv_header_stdc = yes; then
4984 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4985 cat >conftest.$ac_ext <<_ACEOF
4988 cat confdefs.h >>conftest.$ac_ext
4989 cat >>conftest.$ac_ext <<_ACEOF
4990 /* end confdefs.h. */
4994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4995 $EGREP "free" >/dev/null 2>&1; then
4998 ac_cv_header_stdc=no
5004 if test $ac_cv_header_stdc = yes; then
5005 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5006 if test "$cross_compiling" = yes; then
5009 cat >conftest.$ac_ext <<_ACEOF
5012 cat confdefs.h >>conftest.$ac_ext
5013 cat >>conftest.$ac_ext <<_ACEOF
5014 /* end confdefs.h. */
5017 #if ((' ' & 0x0FF) == 0x020)
5018 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5019 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5021 # define ISLOWER(c) \
5022 (('a' <= (c) && (c) <= 'i') \
5023 || ('j' <= (c) && (c) <= 'r') \
5024 || ('s' <= (c) && (c) <= 'z'))
5025 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5028 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5033 for (i = 0; i < 256; i++)
5034 if (XOR (islower (i), ISLOWER (i))
5035 || toupper (i) != TOUPPER (i))
5040 rm -f conftest$ac_exeext
5041 if { (ac_try="$ac_link"
5043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5044 *) ac_try_echo
=$ac_try;;
5046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5047 (eval "$ac_link") 2>&5
5049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5051 { (case "(($ac_try" in
5052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5053 *) ac_try_echo=$ac_try;;
5055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5056 (eval "$ac_try") 2>&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }; }; then
5062 echo "$as_me: program exited with status $ac_status" >&5
5063 echo "$as_me: failed program was:" >&5
5064 sed 's/^/| /' conftest.$ac_ext >&5
5067 ac_cv_header_stdc=no
5069 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5075 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5076 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5077 if test $ac_cv_header_stdc = yes; then
5079 cat >>confdefs.h <<\_ACEOF
5080 #define STDC_HEADERS 1
5085 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5095 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5096 inttypes.h stdint.h unistd.h
5098 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
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 cat >conftest.$ac_ext <<_ACEOF
5107 cat confdefs.h >>conftest.$ac_ext
5108 cat >>conftest.$ac_ext <<_ACEOF
5109 /* end confdefs.h. */
5110 $ac_includes_default
5112 #include <$ac_header>
5114 rm -f conftest.$ac_objext
5115 if { (ac_try="$ac_compile"
5117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5118 *) ac_try_echo
=$ac_try;;
5120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5121 (eval "$ac_compile") 2>conftest.er1
5123 grep -v '^ *+' conftest.er1
>conftest.err
5125 cat conftest.err
>&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); } && {
5128 test -z "$ac_c_werror_flag" ||
5129 test ! -s conftest.err
5130 } && test -s conftest.
$ac_objext; then
5131 eval "$as_ac_Header=yes"
5133 echo "$as_me: failed program was:" >&5
5134 sed 's/^/| /' conftest.
$ac_ext >&5
5136 eval "$as_ac_Header=no"
5139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5141 ac_res
=`eval echo '${'$as_ac_Header'}'`
5142 { echo "$as_me:$LINENO: result: $ac_res" >&5
5143 echo "${ECHO_T}$ac_res" >&6; }
5144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5145 cat >>confdefs.h
<<_ACEOF
5146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5155 for ac_header
in dlfcn.h
5157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5158 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5159 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5161 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 ac_res
=`eval echo '${'$as_ac_Header'}'`
5165 { echo "$as_me:$LINENO: result: $ac_res" >&5
5166 echo "${ECHO_T}$ac_res" >&6; }
5168 # Is the header compilable?
5169 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5170 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5171 cat >conftest.
$ac_ext <<_ACEOF
5174 cat confdefs.h
>>conftest.
$ac_ext
5175 cat >>conftest.
$ac_ext <<_ACEOF
5176 /* end confdefs.h. */
5177 $ac_includes_default
5178 #include <$ac_header>
5180 rm -f conftest.
$ac_objext
5181 if { (ac_try
="$ac_compile"
5183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5184 *) ac_try_echo=$ac_try;;
5186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5187 (eval "$ac_compile") 2>conftest.er1
5189 grep -v '^ *+' conftest.er1 >conftest.err
5191 cat conftest.err >&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); } && {
5194 test -z "$ac_c_werror_flag" ||
5195 test ! -s conftest.err
5196 } && test -s conftest.$ac_objext; then
5197 ac_header_compiler=yes
5199 echo "$as_me: failed program was:" >&5
5200 sed 's/^/| /' conftest.$ac_ext >&5
5202 ac_header_compiler=no
5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5206 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5207 echo "${ECHO_T}$ac_header_compiler" >&6; }
5209 # Is the header present?
5210 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5211 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5212 cat >conftest.$ac_ext <<_ACEOF
5215 cat confdefs.h >>conftest.$ac_ext
5216 cat >>conftest.$ac_ext <<_ACEOF
5217 /* end confdefs.h. */
5218 #include <$ac_header>
5220 if { (ac_try="$ac_cpp conftest.$ac_ext"
5222 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5223 *) ac_try_echo
=$ac_try;;
5225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5226 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5228 grep -v '^ *+' conftest.er1
>conftest.err
5230 cat conftest.err
>&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); } >/dev
/null
&& {
5233 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5234 test ! -s conftest.err
5236 ac_header_preproc
=yes
5238 echo "$as_me: failed program was:" >&5
5239 sed 's/^/| /' conftest.
$ac_ext >&5
5241 ac_header_preproc
=no
5244 rm -f conftest.err conftest.
$ac_ext
5245 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5246 echo "${ECHO_T}$ac_header_preproc" >&6; }
5248 # So? What about this header?
5249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5251 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5252 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5254 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5255 ac_header_preproc
=yes
5258 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5259 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5260 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5261 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5262 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5263 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5264 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5265 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5268 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5269 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5271 ## -------------------------------------------------- ##
5272 ## Report this to courier-users@lists.sourceforge.net ##
5273 ## -------------------------------------------------- ##
5275 ) |
sed "s/^/$as_me: WARNING: /" >&2
5278 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5280 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5281 echo $ECHO_N "(cached) $ECHO_C" >&6
5283 eval "$as_ac_Header=\$ac_header_preproc"
5285 ac_res
=`eval echo '${'$as_ac_Header'}'`
5286 { echo "$as_me:$LINENO: result: $ac_res" >&5
5287 echo "${ECHO_T}$ac_res" >&6; }
5290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5291 cat >>confdefs.h
<<_ACEOF
5292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5300 ac_cpp
='$CXXCPP $CPPFLAGS'
5301 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5302 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5303 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5304 if test -z "$CXX"; then
5305 if test -n "$CCC"; then
5308 if test -n "$ac_tool_prefix"; then
5309 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5311 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5312 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5315 if test "${ac_cv_prog_CXX+set}" = set; then
5316 echo $ECHO_N "(cached) $ECHO_C" >&6
5318 if test -n "$CXX"; then
5319 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5325 test -z "$as_dir" && as_dir
=.
5326 for ac_exec_ext
in '' $ac_executable_extensions; do
5327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5328 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5339 if test -n "$CXX"; then
5340 { echo "$as_me:$LINENO: result: $CXX" >&5
5341 echo "${ECHO_T}$CXX" >&6; }
5343 { echo "$as_me:$LINENO: result: no" >&5
5344 echo "${ECHO_T}no" >&6; }
5348 test -n "$CXX" && break
5351 if test -z "$CXX"; then
5353 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5355 # Extract the first word of "$ac_prog", so it can be a program name with args.
5356 set dummy
$ac_prog; ac_word
=$2
5357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5359 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5360 echo $ECHO_N "(cached) $ECHO_C" >&6
5362 if test -n "$ac_ct_CXX"; then
5363 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5369 test -z "$as_dir" && as_dir
=.
5370 for ac_exec_ext
in '' $ac_executable_extensions; do
5371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5372 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5382 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5383 if test -n "$ac_ct_CXX"; then
5384 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5385 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5387 { echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6; }
5392 test -n "$ac_ct_CXX" && break
5395 if test "x$ac_ct_CXX" = x
; then
5398 case $cross_compiling:$ac_tool_warned in
5400 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5401 whose name does not start with the host triplet. If you think this
5402 configuration is useful to you, please write to autoconf@gnu.org." >&5
5403 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5404 whose name does not start with the host triplet. If you think this
5405 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5406 ac_tool_warned
=yes ;;
5414 # Provide some information about the compiler.
5415 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5416 ac_compiler
=`set X $ac_compile; echo $2`
5417 { (ac_try
="$ac_compiler --version >&5"
5419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5420 *) ac_try_echo=$ac_try;;
5422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5423 (eval "$ac_compiler --version >&5") 2>&5
5425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426 (exit $ac_status); }
5427 { (ac_try="$ac_compiler -v >&5"
5429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5430 *) ac_try_echo
=$ac_try;;
5432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5433 (eval "$ac_compiler -v >&5") 2>&5
5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); }
5437 { (ac_try
="$ac_compiler -V >&5"
5439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5440 *) ac_try_echo=$ac_try;;
5442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5443 (eval "$ac_compiler -V >&5") 2>&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); }
5448 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5449 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5450 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5451 echo $ECHO_N "(cached) $ECHO_C" >&6
5453 cat >conftest.$ac_ext <<_ACEOF
5456 cat confdefs.h >>conftest.$ac_ext
5457 cat >>conftest.$ac_ext <<_ACEOF
5458 /* end confdefs.h. */
5471 rm -f conftest.$ac_objext
5472 if { (ac_try="$ac_compile"
5474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5475 *) ac_try_echo
=$ac_try;;
5477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5478 (eval "$ac_compile") 2>conftest.er1
5480 grep -v '^ *+' conftest.er1
>conftest.err
5482 cat conftest.err
>&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); } && {
5485 test -z "$ac_cxx_werror_flag" ||
5486 test ! -s conftest.err
5487 } && test -s conftest.
$ac_objext; then
5490 echo "$as_me: failed program was:" >&5
5491 sed 's/^/| /' conftest.
$ac_ext >&5
5496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5497 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5500 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5501 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5502 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5503 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5504 ac_save_CXXFLAGS
=$CXXFLAGS
5505 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5506 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5507 if test "${ac_cv_prog_cxx_g+set}" = set; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5511 ac_cxx_werror_flag
=yes
5514 cat >conftest.
$ac_ext <<_ACEOF
5517 cat confdefs.h
>>conftest.
$ac_ext
5518 cat >>conftest.
$ac_ext <<_ACEOF
5519 /* end confdefs.h. */
5529 rm -f conftest.
$ac_objext
5530 if { (ac_try
="$ac_compile"
5532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5533 *) ac_try_echo=$ac_try;;
5535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5536 (eval "$ac_compile") 2>conftest.er1
5538 grep -v '^ *+' conftest.er1 >conftest.err
5540 cat conftest.err >&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } && {
5543 test -z "$ac_cxx_werror_flag" ||
5544 test ! -s conftest.err
5545 } && test -s conftest.$ac_objext; then
5546 ac_cv_prog_cxx_g=yes
5548 echo "$as_me: failed program was:" >&5
5549 sed 's/^/| /' conftest.$ac_ext >&5
5552 cat >conftest.$ac_ext <<_ACEOF
5555 cat confdefs.h >>conftest.$ac_ext
5556 cat >>conftest.$ac_ext <<_ACEOF
5557 /* end confdefs.h. */
5567 rm -f conftest.$ac_objext
5568 if { (ac_try="$ac_compile"
5570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5571 *) ac_try_echo
=$ac_try;;
5573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5574 (eval "$ac_compile") 2>conftest.er1
5576 grep -v '^ *+' conftest.er1
>conftest.err
5578 cat conftest.err
>&5
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); } && {
5581 test -z "$ac_cxx_werror_flag" ||
5582 test ! -s conftest.err
5583 } && test -s conftest.
$ac_objext; then
5586 echo "$as_me: failed program was:" >&5
5587 sed 's/^/| /' conftest.
$ac_ext >&5
5589 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5591 cat >conftest.
$ac_ext <<_ACEOF
5594 cat confdefs.h
>>conftest.
$ac_ext
5595 cat >>conftest.
$ac_ext <<_ACEOF
5596 /* end confdefs.h. */
5606 rm -f conftest.
$ac_objext
5607 if { (ac_try
="$ac_compile"
5609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5610 *) ac_try_echo=$ac_try;;
5612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5613 (eval "$ac_compile") 2>conftest.er1
5615 grep -v '^ *+' conftest.er1 >conftest.err
5617 cat conftest.err >&5
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); } && {
5620 test -z "$ac_cxx_werror_flag" ||
5621 test ! -s conftest.err
5622 } && test -s conftest.$ac_objext; then
5623 ac_cv_prog_cxx_g=yes
5625 echo "$as_me: failed program was:" >&5
5626 sed 's/^/| /' conftest.$ac_ext >&5
5631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5638 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5640 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5641 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5642 if test "$ac_test_CXXFLAGS" = set; then
5643 CXXFLAGS=$ac_save_CXXFLAGS
5644 elif test $ac_cv_prog_cxx_g = yes; then
5645 if test "$GXX" = yes; then
5651 if test "$GXX" = yes; then
5658 ac_cpp='$CXXCPP $CPPFLAGS'
5659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5663 depcc="$CXX" am_compiler_list=
5665 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5666 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5667 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5668 echo $ECHO_N "(cached) $ECHO_C" >&6
5670 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5671 # We make a subdir and do the tests there. Otherwise we can end up
5672 # making bogus files that we don't know about and never remove. For
5673 # instance it was reported that on HP-UX the gcc test will end up
5674 # making a dummy file named `D
' -- because `-MD' means
`put the output
5677 # Copy depcomp to subdir because otherwise we won't find it if we're
5678 # using a relative directory.
5679 cp "$am_depcomp" conftest.dir
5681 # We will build objects and dependencies in a subdirectory because
5682 # it helps to detect inapplicable dependency modes. For instance
5683 # both Tru64's cc and ICC support -MD to output dependencies as a
5684 # side effect of compilation, but ICC will put the dependencies in
5685 # the current directory while Tru64 will put them in the object
5689 am_cv_CXX_dependencies_compiler_type=none
5690 if test "$am_compiler_list" = ""; then
5691 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5693 for depmode in $am_compiler_list; do
5694 # Setup a source with many dependencies, because some compilers
5695 # like to wrap large dependency lists on column 80 (with \), and
5696 # we should not choose a depcomp mode which is confused by this.
5698 # We need to recreate these files for each test, as the compiler may
5699 # overwrite some of them when testing with obscure command lines.
5700 # This happens at least with the AIX C compiler.
5702 for i in 1 2 3 4 5 6; do
5703 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5704 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5705 # Solaris 8's
{/usr
,}/bin
/sh.
5706 touch sub
/conftst
$i.h
5708 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5712 # after this tag, mechanisms are not by side-effect, so they'll
5713 # only be used when explicitly requested
5714 if test "x$enable_dependency_tracking" = xyes
; then
5722 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5723 # mode. It turns out that the SunPro C++ compiler does not properly
5724 # handle `-M -o', and we need to detect this.
5725 if depmode
=$depmode \
5726 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5727 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5728 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5729 >/dev
/null
2>conftest.err
&&
5730 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5731 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5732 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5733 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5734 # icc doesn't choke on unknown options, it will just issue warnings
5735 # or remarks (even with -Werror). So we grep stderr for any message
5736 # that says an option was ignored or not supported.
5737 # When given -MP, icc 7.0 and 7.1 complain thusly:
5738 # icc: Command line warning: ignoring option '-M'; no argument required
5739 # The diagnosis changed in icc 8.0:
5740 # icc: Command line remark: option '-MP' not supported
5741 if (grep 'ignoring option' conftest.err ||
5742 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5743 am_cv_CXX_dependencies_compiler_type
=$depmode
5752 am_cv_CXX_dependencies_compiler_type
=none
5756 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5757 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5758 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5761 test "x$enable_dependency_tracking" != xno \
5762 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5763 am__fastdepCXX_TRUE
=
5764 am__fastdepCXX_FALSE
='#'
5766 am__fastdepCXX_TRUE
='#'
5767 am__fastdepCXX_FALSE
=
5773 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5774 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5775 (test "X$CXX" != "Xg++"))) ; then
5777 ac_cpp
='$CXXCPP $CPPFLAGS'
5778 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5779 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5780 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5781 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5782 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5783 if test -z "$CXXCPP"; then
5784 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5785 echo $ECHO_N "(cached) $ECHO_C" >&6
5787 # Double quotes because CXXCPP needs to be expanded
5788 for CXXCPP
in "$CXX -E" "/lib/cpp"
5791 for ac_cxx_preproc_warn_flag
in '' yes
5793 # Use a header file that comes with gcc, so configuring glibc
5794 # with a fresh cross-compiler works.
5795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5796 # <limits.h> exists even on freestanding compilers.
5797 # On the NeXT, cc -E runs the code through the compiler's parser,
5798 # not just through cpp. "Syntax error" is here to catch this case.
5799 cat >conftest.
$ac_ext <<_ACEOF
5802 cat confdefs.h
>>conftest.
$ac_ext
5803 cat >>conftest.
$ac_ext <<_ACEOF
5804 /* end confdefs.h. */
5806 # include <limits.h>
5808 # include <assert.h>
5812 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5815 *) ac_try_echo=$ac_try;;
5817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5818 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5820 grep -v '^ *+' conftest.er1 >conftest.err
5822 cat conftest.err >&5
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); } >/dev/null && {
5825 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5826 test ! -s conftest.err
5830 echo "$as_me: failed program was:" >&5
5831 sed 's/^/| /' conftest.$ac_ext >&5
5833 # Broken: fails on valid input.
5837 rm -f conftest.err conftest.$ac_ext
5839 # OK, works on sane cases. Now check whether nonexistent headers
5840 # can be detected and how.
5841 cat >conftest.$ac_ext <<_ACEOF
5844 cat confdefs.h >>conftest.$ac_ext
5845 cat >>conftest.$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5847 #include <ac_nonexistent.h>
5849 if { (ac_try="$ac_cpp conftest.$ac_ext"
5851 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5852 *) ac_try_echo
=$ac_try;;
5854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5855 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5857 grep -v '^ *+' conftest.er1
>conftest.err
5859 cat conftest.err
>&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); } >/dev
/null
&& {
5862 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5863 test ! -s conftest.err
5865 # Broken: success on invalid input.
5868 echo "$as_me: failed program was:" >&5
5869 sed 's/^/| /' conftest.
$ac_ext >&5
5871 # Passes both tests.
5876 rm -f conftest.err conftest.
$ac_ext
5879 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5880 rm -f conftest.err conftest.
$ac_ext
5881 if $ac_preproc_ok; then
5886 ac_cv_prog_CXXCPP
=$CXXCPP
5889 CXXCPP
=$ac_cv_prog_CXXCPP
5891 ac_cv_prog_CXXCPP
=$CXXCPP
5893 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5894 echo "${ECHO_T}$CXXCPP" >&6; }
5896 for ac_cxx_preproc_warn_flag
in '' yes
5898 # Use a header file that comes with gcc, so configuring glibc
5899 # with a fresh cross-compiler works.
5900 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5901 # <limits.h> exists even on freestanding compilers.
5902 # On the NeXT, cc -E runs the code through the compiler's parser,
5903 # not just through cpp. "Syntax error" is here to catch this case.
5904 cat >conftest.
$ac_ext <<_ACEOF
5907 cat confdefs.h
>>conftest.
$ac_ext
5908 cat >>conftest.
$ac_ext <<_ACEOF
5909 /* end confdefs.h. */
5911 # include <limits.h>
5913 # include <assert.h>
5917 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5920 *) ac_try_echo=$ac_try;;
5922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5923 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5925 grep -v '^ *+' conftest.er1 >conftest.err
5927 cat conftest.err >&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); } >/dev/null && {
5930 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5931 test ! -s conftest.err
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.$ac_ext >&5
5938 # Broken: fails on valid input.
5942 rm -f conftest.err conftest.$ac_ext
5944 # OK, works on sane cases. Now check whether nonexistent headers
5945 # can be detected and how.
5946 cat >conftest.$ac_ext <<_ACEOF
5949 cat confdefs.h >>conftest.$ac_ext
5950 cat >>conftest.$ac_ext <<_ACEOF
5951 /* end confdefs.h. */
5952 #include <ac_nonexistent.h>
5954 if { (ac_try="$ac_cpp conftest.$ac_ext"
5956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5957 *) ac_try_echo
=$ac_try;;
5959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5962 grep -v '^ *+' conftest.er1
>conftest.err
5964 cat conftest.err
>&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); } >/dev
/null
&& {
5967 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5968 test ! -s conftest.err
5970 # Broken: success on invalid input.
5973 echo "$as_me: failed program was:" >&5
5974 sed 's/^/| /' conftest.
$ac_ext >&5
5976 # Passes both tests.
5981 rm -f conftest.err conftest.
$ac_ext
5984 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5985 rm -f conftest.err conftest.
$ac_ext
5986 if $ac_preproc_ok; then
5989 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5990 See \`config.log' for more details." >&5
5991 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5992 See \`config.log' for more details." >&2;}
5993 { (exit 1); exit 1; }; }
5997 ac_cpp
='$CXXCPP $CPPFLAGS'
5998 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5999 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6000 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6006 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6007 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6008 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6009 if test -n "$ac_tool_prefix"; then
6010 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
6012 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6013 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6016 if test "${ac_cv_prog_F77+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6019 if test -n "$F77"; then
6020 ac_cv_prog_F77
="$F77" # Let the user override the test.
6022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6026 test -z "$as_dir" && as_dir
=.
6027 for ac_exec_ext
in '' $ac_executable_extensions; do
6028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6029 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6040 if test -n "$F77"; then
6041 { echo "$as_me:$LINENO: result: $F77" >&5
6042 echo "${ECHO_T}$F77" >&6; }
6044 { echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6; }
6049 test -n "$F77" && break
6052 if test -z "$F77"; then
6054 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
6056 # Extract the first word of "$ac_prog", so it can be a program name with args.
6057 set dummy
$ac_prog; ac_word
=$2
6058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6060 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6063 if test -n "$ac_ct_F77"; then
6064 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6070 test -z "$as_dir" && as_dir
=.
6071 for ac_exec_ext
in '' $ac_executable_extensions; do
6072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6073 ac_cv_prog_ac_ct_F77
="$ac_prog"
6074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6084 if test -n "$ac_ct_F77"; then
6085 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6086 echo "${ECHO_T}$ac_ct_F77" >&6; }
6088 { echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6; }
6093 test -n "$ac_ct_F77" && break
6096 if test "x$ac_ct_F77" = x
; then
6099 case $cross_compiling:$ac_tool_warned in
6101 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6102 whose name does not start with the host triplet. If you think this
6103 configuration is useful to you, please write to autoconf@gnu.org." >&5
6104 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6105 whose name does not start with the host triplet. If you think this
6106 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6107 ac_tool_warned
=yes ;;
6114 # Provide some information about the compiler.
6115 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6116 ac_compiler
=`set X $ac_compile; echo $2`
6117 { (ac_try
="$ac_compiler --version >&5"
6119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6120 *) ac_try_echo=$ac_try;;
6122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6123 (eval "$ac_compiler --version >&5") 2>&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }
6127 { (ac_try="$ac_compiler -v >&5"
6129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6130 *) ac_try_echo
=$ac_try;;
6132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6133 (eval "$ac_compiler -v >&5") 2>&5
6135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); }
6137 { (ac_try
="$ac_compiler -V >&5"
6139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6140 *) ac_try_echo=$ac_try;;
6142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6143 (eval "$ac_compiler -V >&5") 2>&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }
6149 # If we don't use `.F
' as extension, the preprocessor is not run on the
6150 # input file. (Note that this only needs to work for GNU compilers.)
6153 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6154 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6155 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6156 echo $ECHO_N "(cached) $ECHO_C" >&6
6158 cat >conftest.$ac_ext <<_ACEOF
6166 rm -f conftest.$ac_objext
6167 if { (ac_try="$ac_compile"
6169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6170 *) ac_try_echo=$ac_try;;
6172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6173 (eval "$ac_compile") 2>conftest.er1
6175 grep -v '^
*+' conftest.er1 >conftest.err
6177 cat conftest.err >&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); } && {
6180 test -z "$ac_f77_werror_flag" ||
6181 test ! -s conftest.err
6182 } && test -s conftest.$ac_objext; then
6185 echo "$as_me: failed program was:" >&5
6186 sed 's
/^
/|
/' conftest.$ac_ext >&5
6191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6192 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6195 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6196 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6198 ac_test_FFLAGS=${FFLAGS+set}
6199 ac_save_FFLAGS=$FFLAGS
6201 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6202 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6203 if test "${ac_cv_prog_f77_g+set}" = set; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6207 cat >conftest.$ac_ext <<_ACEOF
6212 rm -f conftest.$ac_objext
6213 if { (ac_try="$ac_compile"
6215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6216 *) ac_try_echo=$ac_try;;
6218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6219 (eval "$ac_compile") 2>conftest.er1
6221 grep -v '^
*+' conftest.er1 >conftest.err
6223 cat conftest.err >&5
6224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225 (exit $ac_status); } && {
6226 test -z "$ac_f77_werror_flag" ||
6227 test ! -s conftest.err
6228 } && test -s conftest.$ac_objext; then
6229 ac_cv_prog_f77_g=yes
6231 echo "$as_me: failed program was:" >&5
6232 sed 's
/^
/|
/' conftest.$ac_ext >&5
6237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6240 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6241 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6242 if test "$ac_test_FFLAGS" = set; then
6243 FFLAGS=$ac_save_FFLAGS
6244 elif test $ac_cv_prog_f77_g = yes; then
6245 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6251 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6258 G77=`test $ac_compiler_gnu = yes && echo yes`
6260 ac_cpp='$CPP $CPPFLAGS'
6261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6262 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6267 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6269 # find the maximum length of command line arguments
6270 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6271 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6272 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6273 echo $ECHO_N "(cached) $ECHO_C" >&6
6280 # On DJGPP, this test can blow up pretty badly due to problems in libc
6281 # (any single argument exceeding 2000 bytes causes a buffer overrun
6282 # during glob expansion). Even if it were fixed, the result of this
6283 # check would be larger than it should be.
6284 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6288 # Under GNU Hurd, this test is not required because there is
6289 # no limit to the length of command line arguments.
6290 # Libtool will interpret -1 as no limit whatsoever
6291 lt_cv_sys_max_cmd_len
=-1;
6295 # On Win9x/ME, this test blows up -- it succeeds, but takes
6296 # about 5 minutes as the teststring grows exponentially.
6297 # Worse, since 9x/ME are not pre-emptively multitasking,
6298 # you end up with a "frozen" computer, even though with patience
6299 # the test eventually succeeds (with a max line length of 256k).
6300 # Instead, let's just punt: use the minimum linelength reported by
6301 # all of the supported platforms: 8192 (on NT/2K/XP).
6302 lt_cv_sys_max_cmd_len
=8192;
6306 # On AmigaOS with pdksh, this test takes hours, literally.
6307 # So we just punt and use a minimum line length of 8192.
6308 lt_cv_sys_max_cmd_len
=8192;
6311 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6312 # This has been around since 386BSD, at least. Likely further.
6313 if test -x /sbin
/sysctl
; then
6314 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6315 elif test -x /usr
/sbin
/sysctl
; then
6316 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6318 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6320 # And add a safety zone
6321 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6322 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6326 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6327 lt_cv_sys_max_cmd_len
=196608
6331 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6332 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6333 # nice to cause kernel panics so lets avoid the loop below.
6334 # First set a reasonable default.
6335 lt_cv_sys_max_cmd_len
=16384
6337 if test -x /sbin
/sysconfig
; then
6338 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6339 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6344 lt_cv_sys_max_cmd_len
=102400
6346 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6347 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6348 if test -n "$kargmax"; then
6349 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6351 lt_cv_sys_max_cmd_len
=32768
6355 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6356 if test -n "$lt_cv_sys_max_cmd_len"; then
6357 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6358 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6360 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6361 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6362 = "XX$teststring") >/dev
/null
2>&1 &&
6363 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6364 lt_cv_sys_max_cmd_len
=$new_result &&
6365 test $i != 17 # 1/2 MB should be enough
6368 teststring
=$teststring$teststring
6371 # Add a significant safety factor because C++ compilers can tack on massive
6372 # amounts of additional arguments before passing them to the linker.
6373 # It appears as though 1/2 is a usable value.
6374 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6381 if test -n $lt_cv_sys_max_cmd_len ; then
6382 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6383 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6385 { echo "$as_me:$LINENO: result: none" >&5
6386 echo "${ECHO_T}none" >&6; }
6393 # Check for command to grab the raw symbol name followed by C symbol from nm.
6394 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6395 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6396 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6397 echo $ECHO_N "(cached) $ECHO_C" >&6
6400 # These are sane defaults that work on at least a few old systems.
6401 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6403 # Character class describing NM global symbol codes.
6404 symcode
='[BCDEGRST]'
6406 # Regexp to match symbols that can be accessed directly from C.
6407 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6409 # Transform an extracted symbol line into a proper C declaration
6410 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6412 # Transform an extracted symbol line into symbol name and symbol address
6413 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6415 # Define system-specific variables.
6420 cygwin
* | mingw
* | pw32
*)
6421 symcode
='[ABCDGISTW]'
6423 hpux
*) # Its linker distinguishes data from code symbols
6424 if test "$host_cpu" = ia64
; then
6425 symcode
='[ABCDEGRST]'
6427 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6428 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'"
6430 linux
* | k
*bsd
*-gnu)
6431 if test "$host_cpu" = ia64
; then
6432 symcode
='[ABCDGIRSTW]'
6433 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6434 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'"
6438 symcode
='[BCDEGRST]'
6441 symcode
='[BCDEGQRST]'
6452 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6460 # Handle CRLF in mingw tool chain
6464 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6468 # If we're using GNU nm, then use its standard symbol codes.
6469 case `$NM -V 2>&1` in
6470 *GNU
* |
*'with BFD'*)
6471 symcode
='[ABCDGIRSTW]' ;;
6474 # Try without a prefix undercore, then with it.
6475 for ac_symprfx
in "" "_"; do
6477 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6478 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6480 # Write the raw and C identifiers.
6481 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6483 # Check to see that the pipe works correctly.
6487 cat > conftest.
$ac_ext <<EOF
6492 void nm_test_func(){}
6496 int main(){nm_test_var='a';nm_test_func();return(0);}
6499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6500 (eval $ac_compile) 2>&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); }; then
6504 # Now try to grab the symbols.
6506 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6507 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); } && test -s "$nlist"; then
6511 # Try sorting and uniquifying the output.
6512 if sort "$nlist" |
uniq > "$nlist"T
; then
6513 mv -f "$nlist"T
"$nlist"
6518 # Make sure that we snagged all the symbols we need.
6519 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6520 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6521 cat <<EOF > conftest.$ac_ext
6527 # Now generate the symbol file.
6528 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6530 cat <<EOF >> conftest.$ac_ext
6531 #if defined (__STDC__) && __STDC__
6532 # define lt_ptr_t void *
6534 # define lt_ptr_t char *
6538 /* The mapping between symbol names and symbols. */
6543 lt_preloaded_symbols[] =
6546 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6547 cat <<\EOF
>> conftest.
$ac_ext
6555 # Now try linking the two files.
6556 mv conftest.
$ac_objext conftstm.
$ac_objext
6557 lt_save_LIBS
="$LIBS"
6558 lt_save_CFLAGS
="$CFLAGS"
6559 LIBS
="conftstm.$ac_objext"
6560 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6562 (eval $ac_link) 2>&5
6564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6565 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6568 LIBS
="$lt_save_LIBS"
6569 CFLAGS
="$lt_save_CFLAGS"
6571 echo "cannot find nm_test_func in $nlist" >&5
6574 echo "cannot find nm_test_var in $nlist" >&5
6577 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6580 echo "$progname: failed program was:" >&5
6581 cat conftest.
$ac_ext >&5
6583 rm -f conftest
* conftst
*
6585 # Do not use the global_symbol_pipe unless it works.
6586 if test "$pipe_works" = yes; then
6589 lt_cv_sys_global_symbol_pipe
=
6595 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6596 lt_cv_sys_global_symbol_to_cdecl
=
6598 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6599 { echo "$as_me:$LINENO: result: failed" >&5
6600 echo "${ECHO_T}failed" >&6; }
6602 { echo "$as_me:$LINENO: result: ok" >&5
6603 echo "${ECHO_T}ok" >&6; }
6606 { echo "$as_me:$LINENO: checking for objdir" >&5
6607 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6608 if test "${lt_cv_objdir+set}" = set; then
6609 echo $ECHO_N "(cached) $ECHO_C" >&6
6611 rm -f .libs
2>/dev
/null
6612 mkdir .libs
2>/dev
/null
6613 if test -d .libs
; then
6616 # MS-DOS does not allow filenames that begin with a dot.
6619 rmdir .libs
2>/dev
/null
6621 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6622 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6623 objdir
=$lt_cv_objdir
6631 # AIX sometimes has problems with the GCC collect2 program. For some
6632 # reason, if we set the COLLECT_NAMES environment variable, the problems
6633 # vanish in a puff of smoke.
6634 if test "X${COLLECT_NAMES+set}" != Xset
; then
6636 export COLLECT_NAMES
6641 # Sed substitution that helps us do robust quoting. It backslashifies
6642 # metacharacters that are still active within double-quoted strings.
6643 Xsed
='sed -e 1s/^X//'
6644 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6646 # Same as above, but do not quote variable references.
6647 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6649 # Sed substitution to delay expansion of an escaped shell variable in a
6650 # double_quote_subst'ed string.
6651 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6653 # Sed substitution to avoid accidental globbing in evaled expressions
6654 no_glob_subst
='s/\*/\\\*/g'
6660 default_ofile
=libtool
6661 can_build_shared
=yes
6663 # All known linkers require a `.a' archive for static linking (except MSVC,
6664 # which needs '.lib').
6666 ltmain
="$ac_aux_dir/ltmain.sh"
6667 ofile
="$default_ofile"
6668 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6670 if test -n "$ac_tool_prefix"; then
6671 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6672 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6675 if test "${ac_cv_prog_AR+set}" = set; then
6676 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 if test -n "$AR"; then
6679 ac_cv_prog_AR
="$AR" # Let the user override the test.
6681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6685 test -z "$as_dir" && as_dir
=.
6686 for ac_exec_ext
in '' $ac_executable_extensions; do
6687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6688 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6699 if test -n "$AR"; then
6700 { echo "$as_me:$LINENO: result: $AR" >&5
6701 echo "${ECHO_T}$AR" >&6; }
6703 { echo "$as_me:$LINENO: result: no" >&5
6704 echo "${ECHO_T}no" >&6; }
6709 if test -z "$ac_cv_prog_AR"; then
6711 # Extract the first word of "ar", so it can be a program name with args.
6712 set dummy
ar; ac_word
=$2
6713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6715 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
6718 if test -n "$ac_ct_AR"; then
6719 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6725 test -z "$as_dir" && as_dir
=.
6726 for ac_exec_ext
in '' $ac_executable_extensions; do
6727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6728 ac_cv_prog_ac_ct_AR
="ar"
6729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6738 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6739 if test -n "$ac_ct_AR"; then
6740 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6741 echo "${ECHO_T}$ac_ct_AR" >&6; }
6743 { echo "$as_me:$LINENO: result: no" >&5
6744 echo "${ECHO_T}no" >&6; }
6747 if test "x$ac_ct_AR" = x
; then
6750 case $cross_compiling:$ac_tool_warned in
6752 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6753 whose name does not start with the host triplet. If you think this
6754 configuration is useful to you, please write to autoconf@gnu.org." >&5
6755 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6756 whose name does not start with the host triplet. If you think this
6757 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6758 ac_tool_warned
=yes ;;
6766 if test -n "$ac_tool_prefix"; then
6767 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6768 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6771 if test "${ac_cv_prog_RANLIB+set}" = set; then
6772 echo $ECHO_N "(cached) $ECHO_C" >&6
6774 if test -n "$RANLIB"; then
6775 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6781 test -z "$as_dir" && as_dir
=.
6782 for ac_exec_ext
in '' $ac_executable_extensions; do
6783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6784 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6794 RANLIB
=$ac_cv_prog_RANLIB
6795 if test -n "$RANLIB"; then
6796 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6797 echo "${ECHO_T}$RANLIB" >&6; }
6799 { echo "$as_me:$LINENO: result: no" >&5
6800 echo "${ECHO_T}no" >&6; }
6805 if test -z "$ac_cv_prog_RANLIB"; then
6806 ac_ct_RANLIB
=$RANLIB
6807 # Extract the first word of "ranlib", so it can be a program name with args.
6808 set dummy ranlib
; ac_word
=$2
6809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6811 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6812 echo $ECHO_N "(cached) $ECHO_C" >&6
6814 if test -n "$ac_ct_RANLIB"; then
6815 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6821 test -z "$as_dir" && as_dir
=.
6822 for ac_exec_ext
in '' $ac_executable_extensions; do
6823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6824 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6834 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6835 if test -n "$ac_ct_RANLIB"; then
6836 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6837 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6839 { echo "$as_me:$LINENO: result: no" >&5
6840 echo "${ECHO_T}no" >&6; }
6843 if test "x$ac_ct_RANLIB" = x
; then
6846 case $cross_compiling:$ac_tool_warned in
6848 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6849 whose name does not start with the host triplet. If you think this
6850 configuration is useful to you, please write to autoconf@gnu.org." >&5
6851 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6852 whose name does not start with the host triplet. If you think this
6853 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6854 ac_tool_warned
=yes ;;
6856 RANLIB
=$ac_ct_RANLIB
6859 RANLIB
="$ac_cv_prog_RANLIB"
6862 if test -n "$ac_tool_prefix"; then
6863 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6864 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6867 if test "${ac_cv_prog_STRIP+set}" = set; then
6868 echo $ECHO_N "(cached) $ECHO_C" >&6
6870 if test -n "$STRIP"; then
6871 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6877 test -z "$as_dir" && as_dir
=.
6878 for ac_exec_ext
in '' $ac_executable_extensions; do
6879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6880 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6890 STRIP
=$ac_cv_prog_STRIP
6891 if test -n "$STRIP"; then
6892 { echo "$as_me:$LINENO: result: $STRIP" >&5
6893 echo "${ECHO_T}$STRIP" >&6; }
6895 { echo "$as_me:$LINENO: result: no" >&5
6896 echo "${ECHO_T}no" >&6; }
6901 if test -z "$ac_cv_prog_STRIP"; then
6903 # Extract the first word of "strip", so it can be a program name with args.
6904 set dummy strip
; ac_word
=$2
6905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6907 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6908 echo $ECHO_N "(cached) $ECHO_C" >&6
6910 if test -n "$ac_ct_STRIP"; then
6911 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6917 test -z "$as_dir" && as_dir
=.
6918 for ac_exec_ext
in '' $ac_executable_extensions; do
6919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6920 ac_cv_prog_ac_ct_STRIP
="strip"
6921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6930 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6931 if test -n "$ac_ct_STRIP"; then
6932 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6933 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6935 { echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6; }
6939 if test "x$ac_ct_STRIP" = x
; then
6942 case $cross_compiling:$ac_tool_warned in
6944 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6945 whose name does not start with the host triplet. If you think this
6946 configuration is useful to you, please write to autoconf@gnu.org." >&5
6947 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6948 whose name does not start with the host triplet. If you think this
6949 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6950 ac_tool_warned
=yes ;;
6955 STRIP
="$ac_cv_prog_STRIP"
6960 old_CFLAGS
="$CFLAGS"
6962 # Set sane defaults for various variables
6963 test -z "$AR" && AR
=ar
6964 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6965 test -z "$AS" && AS
=as
6966 test -z "$CC" && CC
=cc
6967 test -z "$LTCC" && LTCC
=$CC
6968 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6969 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6970 test -z "$LD" && LD
=ld
6971 test -z "$LN_S" && LN_S
="ln -s"
6972 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6973 test -z "$NM" && NM
=nm
6974 test -z "$SED" && SED
=sed
6975 test -z "$OBJDUMP" && OBJDUMP
=objdump
6976 test -z "$RANLIB" && RANLIB
=:
6977 test -z "$STRIP" && STRIP
=:
6978 test -z "$ac_objext" && ac_objext
=o
6980 # Determine commands to create old-style static archives.
6981 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6982 old_postinstall_cmds
='chmod 644 $oldlib'
6983 old_postuninstall_cmds
=
6985 if test -n "$RANLIB"; then
6988 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6991 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6994 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6997 for cc_temp
in $compiler""; do
6999 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7000 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7005 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7008 # Only perform the check for file, if the check method requires it
7009 case $deplibs_check_method in
7011 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7012 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7013 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7014 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7015 echo $ECHO_N "(cached) $ECHO_C" >&6
7019 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7022 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7023 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7024 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7025 for ac_dir
in $ac_dummy; do
7027 test -z "$ac_dir" && ac_dir
=.
7028 if test -f $ac_dir/${ac_tool_prefix}file; then
7029 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7030 if test -n "$file_magic_test_file"; then
7031 case $deplibs_check_method in
7033 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7034 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7035 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7036 $EGREP "$file_magic_regex" > /dev
/null
; then
7041 *** Warning: the command libtool uses to detect shared libraries,
7042 *** $file_magic_cmd, produces output that libtool cannot recognize.
7043 *** The result is that libtool may fail to recognize shared libraries
7044 *** as such. This will affect the creation of libtool libraries that
7045 *** depend on shared libraries, but programs linked with such libtool
7046 *** libraries will work regardless of this problem. Nevertheless, you
7047 *** may want to report the problem to your system manager and/or to
7048 *** bug-libtool@gnu.org
7058 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7063 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7064 if test -n "$MAGIC_CMD"; then
7065 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7066 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7068 { echo "$as_me:$LINENO: result: no" >&5
7069 echo "${ECHO_T}no" >&6; }
7072 if test -z "$lt_cv_path_MAGIC_CMD"; then
7073 if test -n "$ac_tool_prefix"; then
7074 { echo "$as_me:$LINENO: checking for file" >&5
7075 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7076 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7077 echo $ECHO_N "(cached) $ECHO_C" >&6
7081 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7084 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7085 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7086 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7087 for ac_dir
in $ac_dummy; do
7089 test -z "$ac_dir" && ac_dir
=.
7090 if test -f $ac_dir/file; then
7091 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7092 if test -n "$file_magic_test_file"; then
7093 case $deplibs_check_method in
7095 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7096 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7097 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7098 $EGREP "$file_magic_regex" > /dev
/null
; then
7103 *** Warning: the command libtool uses to detect shared libraries,
7104 *** $file_magic_cmd, produces output that libtool cannot recognize.
7105 *** The result is that libtool may fail to recognize shared libraries
7106 *** as such. This will affect the creation of libtool libraries that
7107 *** depend on shared libraries, but programs linked with such libtool
7108 *** libraries will work regardless of this problem. Nevertheless, you
7109 *** may want to report the problem to your system manager and/or to
7110 *** bug-libtool@gnu.org
7120 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7125 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7126 if test -n "$MAGIC_CMD"; then
7127 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7128 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7130 { echo "$as_me:$LINENO: result: no" >&5
7131 echo "${ECHO_T}no" >&6; }
7146 # Check whether --enable-libtool-lock was given.
7147 if test "${enable_libtool_lock+set}" = set; then
7148 enableval
=$enable_libtool_lock;
7151 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7154 # Check whether --with-pic was given.
7155 if test "${with_pic+set}" = set; then
7156 withval
=$with_pic; pic_mode
="$withval"
7161 test -z "$pic_mode" && pic_mode
=default
7163 # Use C for the default configuration in the libtool script
7167 ac_cpp
='$CPP $CPPFLAGS'
7168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7173 # Source file extension for C test sources.
7176 # Object file extension for compiled C test sources.
7180 # Code to be used in simple compile tests
7181 lt_simple_compile_test_code
="int some_variable = 0;"
7183 # Code to be used in simple link tests
7184 lt_simple_link_test_code
='int main(){return(0);}'
7187 # If no C compiler was specified, use CC.
7190 # If no C compiler flags were specified, use CFLAGS.
7191 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7193 # Allow CC to be a program name with arguments.
7197 # save warnings/boilerplate of simple test code
7198 ac_outfile
=conftest.
$ac_objext
7199 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7200 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7201 _lt_compiler_boilerplate
=`cat conftest.err`
7204 ac_outfile
=conftest.
$ac_objext
7205 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7206 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7207 _lt_linker_boilerplate
=`cat conftest.err`
7212 lt_prog_compiler_no_builtin_flag
=
7214 if test "$GCC" = yes; then
7215 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7218 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7219 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7220 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7221 echo $ECHO_N "(cached) $ECHO_C" >&6
7223 lt_cv_prog_compiler_rtti_exceptions
=no
7224 ac_outfile
=conftest.
$ac_objext
7225 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7226 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7227 # Insert the option either (1) after the last *FLAGS variable, or
7228 # (2) before a word containing "conftest.", or (3) at the end.
7229 # Note that $ac_compile itself does not contain backslashes and begins
7230 # with a dollar sign (not a hyphen), so the echo should work correctly.
7231 # The option is referenced via a variable to avoid confusing sed.
7232 lt_compile
=`echo "$ac_compile" | $SED \
7233 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7234 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7235 -e 's:$: $lt_compiler_flag:'`
7236 (eval echo "\"\$as_me:7236: $lt_compile\"" >&5)
7237 (eval "$lt_compile" 2>conftest.err
)
7239 cat conftest.err
>&5
7240 echo "$as_me:7240: \$? = $ac_status" >&5
7241 if (exit $ac_status) && test -s "$ac_outfile"; then
7242 # The compiler can only warn and ignore the option if not recognized
7243 # So say no if there are warnings other than the usual output.
7244 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7245 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7246 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7247 lt_cv_prog_compiler_rtti_exceptions
=yes
7253 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7254 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7256 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7257 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7264 lt_prog_compiler_wl
=
7265 lt_prog_compiler_pic
=
7266 lt_prog_compiler_static
=
7268 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7269 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7271 if test "$GCC" = yes; then
7272 lt_prog_compiler_wl
='-Wl,'
7273 lt_prog_compiler_static
='-static'
7277 # All AIX code is PIC.
7278 if test "$host_cpu" = ia64
; then
7279 # AIX 5 now supports IA64 processor
7280 lt_prog_compiler_static
='-Bstatic'
7285 # FIXME: we need at least 68020 code to build shared libraries, but
7286 # adding the `-m68020' flag to GCC prevents building anything better,
7288 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7291 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7292 # PIC is the default for these OSes.
7295 mingw
* | cygwin
* | pw32
* | os2
*)
7296 # This hack is so that the source file can tell whether it is being
7297 # built for inclusion in a dll (and should export symbols for example).
7298 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7299 # (--disable-auto-import) libraries
7300 lt_prog_compiler_pic
='-DDLL_EXPORT'
7303 darwin
* | rhapsody
*)
7304 # PIC is the default on this platform
7305 # Common symbols not allowed in MH_DYLIB files
7306 lt_prog_compiler_pic
='-fno-common'
7310 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7311 # Instead, we relocate shared libraries at runtime.
7315 # Just because we use GCC doesn't mean we suddenly get shared libraries
7316 # on systems that don't support them.
7317 lt_prog_compiler_can_build_shared
=no
7322 if test -d /usr
/nec
; then
7323 lt_prog_compiler_pic
=-Kconform_pic
7328 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7335 lt_prog_compiler_pic
='-fPIC'
7341 lt_prog_compiler_pic
='-fPIC'
7345 # PORTME Check for flag to pass linker flags through the system compiler.
7348 lt_prog_compiler_wl
='-Wl,'
7349 if test "$host_cpu" = ia64
; then
7350 # AIX 5 now supports IA64 processor
7351 lt_prog_compiler_static
='-Bstatic'
7353 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7357 # PIC is the default on this platform
7358 # Common symbols not allowed in MH_DYLIB files
7359 case $cc_basename in
7361 lt_prog_compiler_pic
='-qnocommon'
7362 lt_prog_compiler_wl
='-Wl,'
7367 mingw
* | cygwin
* | pw32
* | os2
*)
7368 # This hack is so that the source file can tell whether it is being
7369 # built for inclusion in a dll (and should export symbols for example).
7370 lt_prog_compiler_pic
='-DDLL_EXPORT'
7373 hpux9
* | hpux10
* | hpux11
*)
7374 lt_prog_compiler_wl
='-Wl,'
7375 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7382 lt_prog_compiler_pic
='+Z'
7385 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7386 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7389 irix5
* | irix6
* | nonstopux
*)
7390 lt_prog_compiler_wl
='-Wl,'
7391 # PIC (with -KPIC) is the default.
7392 lt_prog_compiler_static
='-non_shared'
7396 lt_prog_compiler_pic
='-KPIC'
7397 lt_prog_compiler_static
='-Bstatic'
7400 linux
* | k
*bsd
*-gnu)
7401 case $cc_basename in
7403 lt_prog_compiler_wl
='-Wl,'
7404 lt_prog_compiler_pic
='-KPIC'
7405 lt_prog_compiler_static
='-static'
7407 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7408 # Portland Group compilers (*not* the Pentium gcc compiler,
7409 # which looks to be a dead project)
7410 lt_prog_compiler_wl
='-Wl,'
7411 lt_prog_compiler_pic
='-fpic'
7412 lt_prog_compiler_static
='-Bstatic'
7415 lt_prog_compiler_wl
='-Wl,'
7416 # All Alpha code is PIC.
7417 lt_prog_compiler_static
='-non_shared'
7420 case `$CC -V 2>&1 | sed 5q` in
7423 lt_prog_compiler_pic
='-KPIC'
7424 lt_prog_compiler_static
='-Bstatic'
7425 lt_prog_compiler_wl
='-Wl,'
7428 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7429 lt_prog_compiler_pic
='-KPIC'
7430 lt_prog_compiler_static
='-Bstatic'
7431 lt_prog_compiler_wl
=''
7438 osf3
* | osf4
* | osf5
*)
7439 lt_prog_compiler_wl
='-Wl,'
7440 # All OSF/1 code is PIC.
7441 lt_prog_compiler_static
='-non_shared'
7445 lt_prog_compiler_static
='-non_shared'
7449 lt_prog_compiler_pic
='-KPIC'
7450 lt_prog_compiler_static
='-Bstatic'
7451 case $cc_basename in
7453 lt_prog_compiler_wl
='-Qoption ld ';;
7455 lt_prog_compiler_wl
='-Wl,';;
7460 lt_prog_compiler_wl
='-Qoption ld '
7461 lt_prog_compiler_pic
='-PIC'
7462 lt_prog_compiler_static
='-Bstatic'
7465 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7466 lt_prog_compiler_wl
='-Wl,'
7467 lt_prog_compiler_pic
='-KPIC'
7468 lt_prog_compiler_static
='-Bstatic'
7472 if test -d /usr
/nec
;then
7473 lt_prog_compiler_pic
='-Kconform_pic'
7474 lt_prog_compiler_static
='-Bstatic'
7478 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7479 lt_prog_compiler_wl
='-Wl,'
7480 lt_prog_compiler_pic
='-KPIC'
7481 lt_prog_compiler_static
='-Bstatic'
7485 lt_prog_compiler_wl
='-Wl,'
7486 lt_prog_compiler_can_build_shared
=no
7490 lt_prog_compiler_pic
='-pic'
7491 lt_prog_compiler_static
='-Bstatic'
7495 lt_prog_compiler_can_build_shared
=no
7500 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7501 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7504 # Check to make sure the PIC flag actually works.
7506 if test -n "$lt_prog_compiler_pic"; then
7508 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7509 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7510 if test "${lt_prog_compiler_pic_works+set}" = set; then
7511 echo $ECHO_N "(cached) $ECHO_C" >&6
7513 lt_prog_compiler_pic_works
=no
7514 ac_outfile
=conftest.
$ac_objext
7515 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7516 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7517 # Insert the option either (1) after the last *FLAGS variable, or
7518 # (2) before a word containing "conftest.", or (3) at the end.
7519 # Note that $ac_compile itself does not contain backslashes and begins
7520 # with a dollar sign (not a hyphen), so the echo should work correctly.
7521 # The option is referenced via a variable to avoid confusing sed.
7522 lt_compile
=`echo "$ac_compile" | $SED \
7523 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7524 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7525 -e 's:$: $lt_compiler_flag:'`
7526 (eval echo "\"\$as_me:7526: $lt_compile\"" >&5)
7527 (eval "$lt_compile" 2>conftest.err
)
7529 cat conftest.err
>&5
7530 echo "$as_me:7530: \$? = $ac_status" >&5
7531 if (exit $ac_status) && test -s "$ac_outfile"; then
7532 # The compiler can only warn and ignore the option if not recognized
7533 # So say no if there are warnings other than the usual output.
7534 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7535 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7536 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7537 lt_prog_compiler_pic_works
=yes
7543 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7544 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7546 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7547 case $lt_prog_compiler_pic in
7549 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7552 lt_prog_compiler_pic
=
7553 lt_prog_compiler_can_build_shared
=no
7558 # For platforms which do not support PIC, -DPIC is meaningless:
7560 lt_prog_compiler_pic
=
7563 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7568 # Check to make sure the static flag actually works.
7570 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7571 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7572 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7573 if test "${lt_prog_compiler_static_works+set}" = set; then
7574 echo $ECHO_N "(cached) $ECHO_C" >&6
7576 lt_prog_compiler_static_works
=no
7577 save_LDFLAGS
="$LDFLAGS"
7578 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7579 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7580 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7581 # The linker can only warn and ignore the option if not recognized
7582 # So say no if there are warnings
7583 if test -s conftest.err
; then
7584 # Append any errors to the config.log.
7585 cat conftest.err
1>&5
7586 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7587 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7588 if diff conftest.exp conftest.er2
>/dev
/null
; then
7589 lt_prog_compiler_static_works
=yes
7592 lt_prog_compiler_static_works
=yes
7596 LDFLAGS
="$save_LDFLAGS"
7599 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7600 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7602 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7605 lt_prog_compiler_static
=
7609 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7610 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7611 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6
7614 lt_cv_prog_compiler_c_o
=no
7615 $rm -r conftest
2>/dev
/null
7619 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7621 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7622 # Insert the option either (1) after the last *FLAGS variable, or
7623 # (2) before a word containing "conftest.", or (3) at the end.
7624 # Note that $ac_compile itself does not contain backslashes and begins
7625 # with a dollar sign (not a hyphen), so the echo should work correctly.
7626 lt_compile
=`echo "$ac_compile" | $SED \
7627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7629 -e 's:$: $lt_compiler_flag:'`
7630 (eval echo "\"\$as_me:7630: $lt_compile\"" >&5)
7631 (eval "$lt_compile" 2>out
/conftest.err
)
7633 cat out
/conftest.err
>&5
7634 echo "$as_me:7634: \$? = $ac_status" >&5
7635 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7637 # The compiler can only warn and ignore the option if not recognized
7638 # So say no if there are warnings
7639 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7640 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7641 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7642 lt_cv_prog_compiler_c_o
=yes
7647 # SGI C++ compiler will create directory out/ii_files/ for
7648 # template instantiation
7649 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7650 $rm out
/* && rmdir out
7656 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7657 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7660 hard_links
="nottested"
7661 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7662 # do not overwrite the value of need_locks provided by the user
7663 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7664 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7667 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7669 ln conftest.a conftest.b
2>&5 || hard_links
=no
7670 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7671 { echo "$as_me:$LINENO: result: $hard_links" >&5
7672 echo "${ECHO_T}$hard_links" >&6; }
7673 if test "$hard_links" = no
; then
7674 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7675 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7682 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7683 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7686 allow_undefined_flag
=
7687 enable_shared_with_static_runtimes
=no
7689 archive_expsym_cmds
=
7690 old_archive_From_new_cmds
=
7691 old_archive_from_expsyms_cmds
=
7692 export_dynamic_flag_spec
=
7693 whole_archive_flag_spec
=
7694 thread_safe_flag_spec
=
7695 hardcode_libdir_flag_spec
=
7696 hardcode_libdir_flag_spec_ld
=
7697 hardcode_libdir_separator
=
7700 hardcode_shlibpath_var
=unsupported
7701 link_all_deplibs
=unknown
7702 hardcode_automatic
=no
7705 always_export_symbols
=no
7706 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7707 # include_expsyms should be a list of space-separated symbols to be *always*
7708 # included in the symbol list
7710 # exclude_expsyms can be an extended regexp of symbols to exclude
7711 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7712 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7713 # as well as any symbol that contains `d'.
7714 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7715 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7716 # platforms (ab)use it in PIC code, but their linkers get confused if
7717 # the symbol is explicitly referenced. Since portable code cannot
7718 # rely on this symbol name, it's probably fine to never include it in
7719 # preloaded symbol tables.
7720 extract_expsyms_cmds
=
7721 # Just being paranoid about ensuring that cc_basename is set.
7722 for cc_temp
in $compiler""; do
7724 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7725 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7730 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7733 cygwin
* | mingw
* | pw32
*)
7734 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7735 # When not using gcc, we currently assume that we are using
7736 # Microsoft Visual C++.
7737 if test "$GCC" != yes; then
7742 # we just hope/assume this is gcc and not c89 (= MSVC++)
7751 if test "$with_gnu_ld" = yes; then
7752 # If archive_cmds runs LD, not CC, wlarc should be empty
7755 # Set some defaults for GNU ld with shared library support. These
7756 # are reset later if shared libraries are not supported. Putting them
7757 # here allows them to be overridden if necessary.
7758 runpath_var
=LD_RUN_PATH
7759 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7760 export_dynamic_flag_spec
='${wl}--export-dynamic'
7761 # ancient GNU ld didn't support --whole-archive et. al.
7762 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7763 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7765 whole_archive_flag_spec
=
7767 supports_anon_versioning
=no
7768 case `$LD -v 2>/dev/null` in
7769 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7770 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7771 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7772 *\
2.11.
*) ;; # other 2.11 versions
7773 *) supports_anon_versioning
=yes ;;
7776 # See if GNU ld supports shared libraries.
7778 aix3
* | aix4
* | aix5
*)
7779 # On AIX/PPC, the GNU linker is very broken
7780 if test "$host_cpu" != ia64
; then
7784 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7785 *** to be unable to reliably create shared libraries on AIX.
7786 *** Therefore, libtool is disabling shared libraries support. If you
7787 *** really care for shared libraries, you may want to modify your PATH
7788 *** so that a non-GNU linker is found, and then restart.
7795 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)'
7796 hardcode_libdir_flag_spec
='-L$libdir'
7797 hardcode_minus_L
=yes
7799 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7800 # that the semantics of dynamic libraries on AmigaOS, at least up
7801 # to version 4, is to share data among multiple programs linked
7802 # with the same dynamic library. Since this doesn't match the
7803 # behavior of shared libraries on other platforms, we can't use
7809 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7810 allow_undefined_flag
=unsupported
7811 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7812 # support --undefined. This deserves some investigation. FIXME
7813 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7819 cygwin
* | mingw
* | pw32
*)
7820 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7821 # as there is no search path for DLLs.
7822 hardcode_libdir_flag_spec
='-L$libdir'
7823 allow_undefined_flag
=unsupported
7824 always_export_symbols
=no
7825 enable_shared_with_static_runtimes
=yes
7826 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7828 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7829 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7830 # If the export-symbols file already is a .def file (1st line
7831 # is EXPORTS), use it as is; otherwise, prepend...
7832 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7833 cp $export_symbols $output_objdir/$soname.def;
7835 echo EXPORTS > $output_objdir/$soname.def;
7836 cat $export_symbols >> $output_objdir/$soname.def;
7838 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7846 hardcode_shlibpath_var
=no
7847 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7848 export_dynamic_flag_spec
='${wl}-E'
7849 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7850 # Instead, shared libraries are loaded at an image base (0x10000000 by
7851 # default) and relocated if they conflict, which is a slow very memory
7852 # consuming and fragmenting process. To avoid this, we pick a random,
7853 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7854 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7855 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7856 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'
7859 gnu
* | linux
* | k
*bsd
*-gnu)
7860 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7862 case $cc_basename,$host_cpu in
7863 pgcc
*) # Portland Group C compiler
7864 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'
7865 tmp_addflag
=' $pic_flag'
7867 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7868 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'
7869 tmp_addflag
=' $pic_flag -Mnomain' ;;
7870 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7871 tmp_addflag
=' -i_dynamic' ;;
7872 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7873 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7874 ifc
* | ifort
*) # Intel Fortran compiler
7875 tmp_addflag
=' -nofor_main' ;;
7877 case `$CC -V 2>&1 | sed 5q` in
7878 *Sun\ C
*) # Sun C 5.9
7879 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'
7880 tmp_sharedflag
='-G' ;;
7881 *Sun\ F
*) # Sun Fortran 8.3
7882 tmp_sharedflag
='-G' ;;
7884 tmp_sharedflag
='-shared' ;;
7886 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7888 if test $supports_anon_versioning = yes; then
7889 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7890 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7891 $echo "local: *; };" >> $output_objdir/$libname.ver~
7892 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7900 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7901 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7904 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7905 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7910 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7914 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7915 *** create shared libraries on Solaris systems. Therefore, libtool
7916 *** is disabling shared libraries support. We urge you to upgrade GNU
7917 *** binutils to release 2.9.1 or newer. Another option is to modify
7918 *** your PATH or compiler configuration so that the native linker is
7919 *** used, and then restart.
7922 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7923 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7924 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7930 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7931 case `$LD -v 2>&1` in
7932 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7936 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7937 *** reliably create shared libraries on SCO systems. Therefore, libtool
7938 *** is disabling shared libraries support. We urge you to upgrade GNU
7939 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7940 *** your PATH or compiler configuration so that the native linker is
7941 *** used, and then restart.
7946 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7947 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7948 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7949 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7958 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7961 hardcode_shlibpath_var
=no
7965 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7966 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7967 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7974 if test "$ld_shlibs" = no
; then
7976 hardcode_libdir_flag_spec
=
7977 export_dynamic_flag_spec
=
7978 whole_archive_flag_spec
=
7981 # PORTME fill in a description of your system's linker (not GNU ld)
7984 allow_undefined_flag
=unsupported
7985 always_export_symbols
=yes
7986 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'
7987 # Note: this linker hardcodes the directories in LIBPATH if there
7988 # are no directories specified by -L.
7989 hardcode_minus_L
=yes
7990 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7991 # Neither direct hardcoding nor static linking is supported with a
7993 hardcode_direct
=unsupported
7998 if test "$host_cpu" = ia64
; then
7999 # On IA64, the linker does run time linking by default, so we don't
8000 # have to do anything special.
8001 aix_use_runtimelinking
=no
8002 exp_sym_flag
='-Bexport'
8005 # If we're using GNU nm, then we don't want the "-C" option.
8006 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8007 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8008 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'
8010 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'
8012 aix_use_runtimelinking
=no
8014 # Test if we are trying to use run time linking or normal
8015 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8016 # need to do runtime linking.
8017 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8018 for ld_flag
in $LDFLAGS; do
8019 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8020 aix_use_runtimelinking
=yes
8027 exp_sym_flag
='-bexport'
8028 no_entry_flag
='-bnoentry'
8031 # When large executables or shared objects are built, AIX ld can
8032 # have problems creating the table of contents. If linking a library
8033 # or program results in "error TOC overflow" add -mminimal-toc to
8034 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8035 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8039 hardcode_libdir_separator
=':'
8040 link_all_deplibs
=yes
8042 if test "$GCC" = yes; then
8043 case $host_os in aix4.
[012]|aix4.
[012].
*)
8044 # We only want to do this on AIX 4.2 and lower, the check
8045 # below for broken collect2 doesn't work under 4.3+
8046 collect2name
=`${CC} -print-prog-name=collect2`
8047 if test -f "$collect2name" && \
8048 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8050 # We have reworked collect2
8053 # We have old collect2
8054 hardcode_direct
=unsupported
8055 # It fails to find uninstalled libraries when the uninstalled
8056 # path is not listed in the libpath. Setting hardcode_minus_L
8057 # to unsupported forces relinking
8058 hardcode_minus_L
=yes
8059 hardcode_libdir_flag_spec
='-L$libdir'
8060 hardcode_libdir_separator
=
8064 shared_flag
='-shared'
8065 if test "$aix_use_runtimelinking" = yes; then
8066 shared_flag
="$shared_flag "'${wl}-G'
8070 if test "$host_cpu" = ia64
; then
8071 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8072 # chokes on -Wl,-G. The following line is correct:
8075 if test "$aix_use_runtimelinking" = yes; then
8076 shared_flag
='${wl}-G'
8078 shared_flag
='${wl}-bM:SRE'
8083 # It seems that -bexpall does not export symbols beginning with
8084 # underscore (_), so it is better to generate a list of symbols to export.
8085 always_export_symbols
=yes
8086 if test "$aix_use_runtimelinking" = yes; then
8087 # Warning - without using the other runtime loading flags (-brtl),
8088 # -berok will link without error, but may produce a broken library.
8089 allow_undefined_flag
='-berok'
8090 # Determine the default libpath from the value encoded in an empty executable.
8091 cat >conftest.
$ac_ext <<_ACEOF
8094 cat confdefs.h
>>conftest.
$ac_ext
8095 cat >>conftest.
$ac_ext <<_ACEOF
8096 /* end confdefs.h. */
8106 rm -f conftest.
$ac_objext conftest
$ac_exeext
8107 if { (ac_try
="$ac_link"
8109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8110 *) ac_try_echo=$ac_try;;
8112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8113 (eval "$ac_link") 2>conftest.er1
8115 grep -v '^ *+' conftest.er1 >conftest.err
8117 cat conftest.err >&5
8118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119 (exit $ac_status); } && {
8120 test -z "$ac_c_werror_flag" ||
8121 test ! -s conftest.err
8122 } && test -s conftest$ac_exeext &&
8123 $as_test_x conftest$ac_exeext; then
8125 lt_aix_libpath_sed='
8126 /Import File Strings/,/^$/ {
8132 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8133 # Check for a 64-bit object if we didn't find anything.
8134 if test -z "$aix_libpath"; then
8135 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8138 echo "$as_me: failed program was:" >&5
8139 sed 's/^/| /' conftest.$ac_ext >&5
8144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8145 conftest$ac_exeext conftest.$ac_ext
8146 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8148 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8149 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"
8151 if test "$host_cpu" = ia64; then
8152 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8153 allow_undefined_flag="-z nodefs"
8154 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"
8156 # Determine the default libpath from the value encoded in an empty executable.
8157 cat >conftest.$ac_ext <<_ACEOF
8160 cat confdefs.h >>conftest.$ac_ext
8161 cat >>conftest.$ac_ext <<_ACEOF
8162 /* end confdefs.h. */
8172 rm -f conftest.$ac_objext conftest$ac_exeext
8173 if { (ac_try="$ac_link"
8175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8176 *) ac_try_echo
=$ac_try;;
8178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8179 (eval "$ac_link") 2>conftest.er1
8181 grep -v '^ *+' conftest.er1
>conftest.err
8183 cat conftest.err
>&5
8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); } && {
8186 test -z "$ac_c_werror_flag" ||
8187 test ! -s conftest.err
8188 } && test -s conftest
$ac_exeext &&
8189 $as_test_x conftest
$ac_exeext; then
8191 lt_aix_libpath_sed
='
8192 /Import File Strings/,/^$/ {
8198 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8199 # Check for a 64-bit object if we didn't find anything.
8200 if test -z "$aix_libpath"; then
8201 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8204 echo "$as_me: failed program was:" >&5
8205 sed 's/^/| /' conftest.
$ac_ext >&5
8210 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8211 conftest
$ac_exeext conftest.
$ac_ext
8212 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8214 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8215 # Warning - without using the other run time loading flags,
8216 # -berok will link without error, but may produce a broken library.
8217 no_undefined_flag
=' ${wl}-bernotok'
8218 allow_undefined_flag
=' ${wl}-berok'
8219 # Exported symbols can be pulled into shared objects from archives
8220 whole_archive_flag_spec
='$convenience'
8221 archive_cmds_need_lc
=yes
8222 # This is similar to how AIX traditionally builds its shared libraries.
8223 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'
8229 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)'
8230 hardcode_libdir_flag_spec
='-L$libdir'
8231 hardcode_minus_L
=yes
8232 # see comment about different semantics on the GNU ld section
8237 export_dynamic_flag_spec
=-rdynamic
8240 cygwin
* | mingw
* | pw32
*)
8241 # When not using gcc, we currently assume that we are using
8242 # Microsoft Visual C++.
8243 # hardcode_libdir_flag_spec is actually meaningless, as there is
8244 # no search path for DLLs.
8245 hardcode_libdir_flag_spec
=' '
8246 allow_undefined_flag
=unsupported
8247 # Tell ltmain to make .lib files, not .a files.
8249 # Tell ltmain to make .dll files, not .so files.
8251 # FIXME: Setting linknames here is a bad hack.
8252 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8253 # The linker will automatically build a .lib file if we build a DLL.
8254 old_archive_From_new_cmds
='true'
8255 # FIXME: Should let the user specify the lib program.
8256 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8257 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8258 enable_shared_with_static_runtimes
=yes
8261 darwin
* | rhapsody
*)
8263 rhapsody
* | darwin1.
[012])
8264 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8267 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8268 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8270 case ${MACOSX_DEPLOYMENT_TARGET} in
8272 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8275 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8281 archive_cmds_need_lc
=no
8283 hardcode_automatic
=yes
8284 hardcode_shlibpath_var
=unsupported
8285 whole_archive_flag_spec
=''
8286 link_all_deplibs
=yes
8287 if test "$GCC" = yes ; then
8288 output_verbose_link_cmd
='echo'
8289 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8290 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8291 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8292 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}'
8293 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}'
8295 case $cc_basename in
8297 output_verbose_link_cmd
='echo'
8298 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8299 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8300 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8301 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}'
8302 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}'
8312 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8313 hardcode_libdir_flag_spec
='-L$libdir'
8314 hardcode_shlibpath_var
=no
8321 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8322 # support. Future versions do this automatically, but an explicit c++rt0.o
8323 # does not break anything, and helps significantly (at the cost of a little
8326 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8327 hardcode_libdir_flag_spec
='-R$libdir'
8329 hardcode_shlibpath_var
=no
8332 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8334 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8336 hardcode_minus_L
=yes
8337 hardcode_shlibpath_var
=no
8340 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8341 freebsd
* | dragonfly
*)
8342 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8343 hardcode_libdir_flag_spec
='-R$libdir'
8345 hardcode_shlibpath_var
=no
8349 if test "$GCC" = yes; then
8350 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'
8352 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'
8354 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8355 hardcode_libdir_separator
=:
8358 # hardcode_minus_L: Not really in the search PATH,
8359 # but as the default location of the library.
8360 hardcode_minus_L
=yes
8361 export_dynamic_flag_spec
='${wl}-E'
8365 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8366 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8368 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8370 if test "$with_gnu_ld" = no
; then
8371 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8372 hardcode_libdir_separator
=:
8375 export_dynamic_flag_spec
='${wl}-E'
8377 # hardcode_minus_L: Not really in the search PATH,
8378 # but as the default location of the library.
8379 hardcode_minus_L
=yes
8384 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8387 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8390 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8393 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8399 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8402 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8405 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8409 if test "$with_gnu_ld" = no
; then
8410 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8411 hardcode_libdir_separator
=:
8415 hardcode_libdir_flag_spec_ld
='+b $libdir'
8417 hardcode_shlibpath_var
=no
8421 export_dynamic_flag_spec
='${wl}-E'
8423 # hardcode_minus_L: Not really in the search PATH,
8424 # but as the default location of the library.
8425 hardcode_minus_L
=yes
8431 irix5
* | irix6
* | nonstopux
*)
8432 if test "$GCC" = yes; then
8433 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'
8435 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'
8436 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8438 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8439 hardcode_libdir_separator
=:
8440 link_all_deplibs
=yes
8444 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8445 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8447 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8449 hardcode_libdir_flag_spec
='-R$libdir'
8451 hardcode_shlibpath_var
=no
8455 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8457 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8458 hardcode_libdir_separator
=:
8459 hardcode_shlibpath_var
=no
8463 if test -f /usr
/libexec
/ld.so
; then
8465 hardcode_shlibpath_var
=no
8466 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8467 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8468 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8469 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8470 export_dynamic_flag_spec
='${wl}-E'
8473 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8474 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8475 hardcode_libdir_flag_spec
='-R$libdir'
8478 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8479 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8489 hardcode_libdir_flag_spec
='-L$libdir'
8490 hardcode_minus_L
=yes
8491 allow_undefined_flag
=unsupported
8492 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'
8493 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8497 if test "$GCC" = yes; then
8498 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8499 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'
8501 allow_undefined_flag
=' -expect_unresolved \*'
8502 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'
8504 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8505 hardcode_libdir_separator
=:
8508 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8509 if test "$GCC" = yes; then
8510 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8511 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'
8512 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8514 allow_undefined_flag
=' -expect_unresolved \*'
8515 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'
8516 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8517 $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'
8519 # Both c and cxx compiler support -rpath directly
8520 hardcode_libdir_flag_spec
='-rpath $libdir'
8522 hardcode_libdir_separator
=:
8526 no_undefined_flag
=' -z text'
8527 if test "$GCC" = yes; then
8529 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8530 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8531 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8534 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8535 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8536 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8538 hardcode_libdir_flag_spec
='-R$libdir'
8539 hardcode_shlibpath_var
=no
8541 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8543 # The compiler driver will combine and reorder linker options,
8544 # but understands `-z linker_flag'. GCC discards it without `$wl',
8545 # but is careful enough not to reorder.
8546 # Supported since Solaris 2.6 (maybe 2.5.1?)
8547 if test "$GCC" = yes; then
8548 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8550 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8554 link_all_deplibs
=yes
8558 if test "x$host_vendor" = xsequent
; then
8559 # Use $CC to link under sequent, because it throws in some extra .o
8560 # files that make .init and .fini sections work.
8561 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8563 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8565 hardcode_libdir_flag_spec
='-L$libdir'
8567 hardcode_minus_L
=yes
8568 hardcode_shlibpath_var
=no
8572 case $host_vendor in
8574 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8575 hardcode_direct
=yes # is this really true???
8578 ## LD is ld it makes a PLAMLIB
8579 ## CC just makes a GrossModule.
8580 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8581 reload_cmds
='$CC -r -o $output$reload_objs'
8585 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8586 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8589 runpath_var
='LD_RUN_PATH'
8590 hardcode_shlibpath_var
=no
8594 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8595 hardcode_shlibpath_var
=no
8596 export_dynamic_flag_spec
='-Bexport'
8600 if test -d /usr
/nec
; then
8601 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8602 hardcode_shlibpath_var
=no
8603 runpath_var
=LD_RUN_PATH
8604 hardcode_runpath_var
=yes
8609 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8610 no_undefined_flag
='${wl}-z,text'
8611 archive_cmds_need_lc
=no
8612 hardcode_shlibpath_var
=no
8613 runpath_var
='LD_RUN_PATH'
8615 if test "$GCC" = yes; then
8616 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8617 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8619 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8620 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8624 sysv5
* | sco3.2v5
* | sco5v6
*)
8625 # Note: We can NOT use -z defs as we might desire, because we do not
8626 # link with -lc, and that would cause any symbols used from libc to
8627 # always be unresolved, which means just about no library would
8628 # ever link correctly. If we're not using GNU ld we use -z text
8629 # though, which does catch some bad symbols but isn't as heavy-handed
8631 no_undefined_flag
='${wl}-z,text'
8632 allow_undefined_flag
='${wl}-z,nodefs'
8633 archive_cmds_need_lc
=no
8634 hardcode_shlibpath_var
=no
8635 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8636 hardcode_libdir_separator
=':'
8637 link_all_deplibs
=yes
8638 export_dynamic_flag_spec
='${wl}-Bexport'
8639 runpath_var
='LD_RUN_PATH'
8641 if test "$GCC" = yes; then
8642 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8643 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8645 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8646 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8651 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8652 hardcode_libdir_flag_spec
='-L$libdir'
8653 hardcode_shlibpath_var
=no
8662 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8663 echo "${ECHO_T}$ld_shlibs" >&6; }
8664 test "$ld_shlibs" = no
&& can_build_shared
=no
8667 # Do we need to explicitly link libc?
8669 case "x$archive_cmds_need_lc" in
8671 # Assume -lc should be added
8672 archive_cmds_need_lc
=yes
8674 if test "$enable_shared" = yes && test "$GCC" = yes; then
8675 case $archive_cmds in
8677 # FIXME: we may have to deal with multi-command sequences.
8680 # Test whether the compiler implicitly links with -lc since on some
8681 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8682 # to ld, don't add -lc before -lgcc.
8683 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8684 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8686 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8689 (eval $ac_compile) 2>&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); } 2>conftest.err
; then
8695 libobjs
=conftest.
$ac_objext
8697 wl
=$lt_prog_compiler_wl
8698 pic_flag
=$lt_prog_compiler_pic
8704 lt_save_allow_undefined_flag
=$allow_undefined_flag
8705 allow_undefined_flag
=
8706 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8707 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); }
8712 archive_cmds_need_lc
=no
8714 archive_cmds_need_lc
=yes
8716 allow_undefined_flag
=$lt_save_allow_undefined_flag
8718 cat conftest.err
1>&5
8721 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8722 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8729 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8730 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8732 libname_spec
='lib$name'
8740 shlibpath_overrides_runpath
=unknown
8742 dynamic_linker
="$host_os ld.so"
8743 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8745 if test "$GCC" = yes; then
8747 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8748 *) lt_awk_arg
="/^libraries:/" ;;
8750 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8751 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8752 # if the path contains ";" then we assume it to be the separator
8753 # otherwise default to the standard path separator (i.e. ":") - it is
8754 # assumed that no part of a normal pathname contains ";" but that should
8755 # okay in the real world where ";" in dirpaths is itself problematic.
8756 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8758 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8760 # Ok, now we have the path, separated by spaces, we can step through it
8761 # and add multilib dir if necessary.
8762 lt_tmp_lt_search_path_spec
=
8763 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8764 for lt_sys_path
in $lt_search_path_spec; do
8765 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8766 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8768 test -d "$lt_sys_path" && \
8769 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8772 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8773 BEGIN {RS=" "; FS="/|\n";} {
8776 for (lt_i = NF; lt_i > 0; lt_i--) {
8777 if ($lt_i != "" && $lt_i != ".") {
8778 if ($lt_i == "..") {
8781 if (lt_count == 0) {
8782 lt_foo="/" $lt_i lt_foo;
8789 if (lt_foo != "") { lt_freq[lt_foo]++; }
8790 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8792 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8794 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8796 need_lib_prefix
=unknown
8797 hardcode_into_libs
=no
8799 # when you set need_version to no, make sure it does not cause -set_version
8800 # flags to be left without arguments
8801 need_version
=unknown
8806 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8807 shlibpath_var
=LIBPATH
8809 # AIX 3 has no versioning support, so we append a major version to the name.
8810 soname_spec
='${libname}${release}${shared_ext}$major'
8817 hardcode_into_libs
=yes
8818 if test "$host_cpu" = ia64
; then
8819 # AIX 5 supports IA64
8820 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8821 shlibpath_var
=LD_LIBRARY_PATH
8823 # With GCC up to 2.95.x, collect2 would create an import file
8824 # for dependence libraries. The import file would start with
8825 # the line `#! .'. This would cause the generated library to
8826 # depend on `.', always an invalid library. This was fixed in
8827 # development snapshots of GCC prior to 3.0.
8829 aix4 | aix4.
[01] | aix4.
[01].
*)
8830 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8832 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8839 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8840 # soname into executable. Probably we can add versioning support to
8841 # collect2, so additional links can be useful in future.
8842 if test "$aix_use_runtimelinking" = yes; then
8843 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8844 # instead of lib<name>.a to let people know that these are not
8845 # typical AIX shared libraries.
8846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8848 # We preserve .a as extension for shared libraries through AIX4.2
8849 # and later when we are not doing run time linking.
8850 library_names_spec
='${libname}${release}.a $libname.a'
8851 soname_spec
='${libname}${release}${shared_ext}$major'
8853 shlibpath_var
=LIBPATH
8858 library_names_spec
='$libname.ixlibrary $libname.a'
8859 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8860 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'
8864 library_names_spec
='${libname}${shared_ext}'
8865 dynamic_linker
="$host_os ld.so"
8866 shlibpath_var
=LIBRARY_PATH
8872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8873 soname_spec
='${libname}${release}${shared_ext}$major'
8874 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8875 shlibpath_var
=LD_LIBRARY_PATH
8876 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8877 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8878 # the default ld.so.conf also contains /usr/contrib/lib and
8879 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8880 # libtool to hard-code these into programs
8883 cygwin
* | mingw
* | pw32
*)
8884 version_type
=windows
8889 case $GCC,$host_os in
8890 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8891 library_names_spec
='$libname.dll.a'
8892 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8893 postinstall_cmds
='base_file=`basename \${file}`~
8894 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8895 dldir=$destdir/`dirname \$dlpath`~
8896 test -d \$dldir || mkdir -p \$dldir~
8897 $install_prog $dir/$dlname \$dldir/$dlname~
8898 chmod a+x \$dldir/$dlname'
8899 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8900 dlpath=$dir/\$dldll~
8902 shlibpath_overrides_runpath
=yes
8906 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8907 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8908 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8911 # MinGW DLLs use traditional 'lib' prefix
8912 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8913 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8914 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8915 # It is most probably a Windows format PATH printed by
8916 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8917 # path with ; separators, and with drive letters. We can handle the
8918 # drive letters (cygwin fileutils understands them), so leave them,
8919 # especially as we might pass files found there to a mingw objdump,
8920 # which wouldn't understand a cygwinified path. Ahh.
8921 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8923 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8927 # pw32 DLLs use 'pw' prefix rather than 'lib'
8928 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8934 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8937 dynamic_linker
='Win32 ld.exe'
8938 # FIXME: first we should search . and the directory the executable is in
8942 darwin
* | rhapsody
*)
8943 dynamic_linker
="$host_os dyld"
8947 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8948 soname_spec
='${libname}${release}${major}$shared_ext'
8949 shlibpath_overrides_runpath
=yes
8950 shlibpath_var
=DYLD_LIBRARY_PATH
8951 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8953 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8954 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8962 soname_spec
='${libname}${release}${shared_ext}$major'
8963 shlibpath_var
=LD_LIBRARY_PATH
8970 freebsd
* | dragonfly
*)
8971 # DragonFly does not have aout. When/if they implement a new
8972 # versioning mechanism, adjust this.
8973 if test -x /usr
/bin
/objformat
; then
8974 objformat
=`/usr/bin/objformat`
8977 freebsd
[123]*) objformat
=aout
;;
8981 version_type
=freebsd-
$objformat
8982 case $version_type in
8984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8989 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8993 shlibpath_var
=LD_LIBRARY_PATH
8996 shlibpath_overrides_runpath
=yes
8998 freebsd3.
[01]* | freebsdelf3.
[01]*)
8999 shlibpath_overrides_runpath
=yes
9000 hardcode_into_libs
=yes
9002 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9003 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9004 shlibpath_overrides_runpath
=no
9005 hardcode_into_libs
=yes
9007 *) # from 4.6 on, and DragonFly
9008 shlibpath_overrides_runpath
=yes
9009 hardcode_into_libs
=yes
9018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9019 soname_spec
='${libname}${release}${shared_ext}$major'
9020 shlibpath_var
=LD_LIBRARY_PATH
9021 hardcode_into_libs
=yes
9024 hpux9
* | hpux10
* | hpux11
*)
9025 # Give a soname corresponding to the major version so that dld.sl refuses to
9026 # link against other versions.
9033 hardcode_into_libs
=yes
9034 dynamic_linker
="$host_os dld.so"
9035 shlibpath_var
=LD_LIBRARY_PATH
9036 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9038 soname_spec
='${libname}${release}${shared_ext}$major'
9039 if test "X$HPUX_IA64_MODE" = X32
; then
9040 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9042 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9044 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9048 hardcode_into_libs
=yes
9049 dynamic_linker
="$host_os dld.sl"
9050 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9051 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9053 soname_spec
='${libname}${release}${shared_ext}$major'
9054 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9055 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9059 dynamic_linker
="$host_os dld.sl"
9060 shlibpath_var
=SHLIB_PATH
9061 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9063 soname_spec
='${libname}${release}${shared_ext}$major'
9066 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9067 postinstall_cmds
='chmod 555 $lib'
9074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9075 soname_spec
='${libname}${release}${shared_ext}$major'
9076 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9077 shlibpath_var
=LD_LIBRARY_PATH
9078 shlibpath_overrides_runpath
=no
9079 hardcode_into_libs
=yes
9082 irix5
* | irix6
* | nonstopux
*)
9084 nonstopux
*) version_type
=nonstopux
;;
9086 if test "$lt_cv_prog_gnu_ld" = yes; then
9094 soname_spec
='${libname}${release}${shared_ext}$major'
9095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9097 irix5
* | nonstopux
*)
9101 case $LD in # libtool.m4 will add one of these switches to LD
9102 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9103 libsuff
= shlibsuff
= libmagic
=32-bit;;
9104 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9105 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9106 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9107 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9108 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9112 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9113 shlibpath_overrides_runpath
=no
9114 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9115 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9116 hardcode_into_libs
=yes
9119 # No shared lib support for Linux oldld, aout, or coff.
9120 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9124 # This must be Linux ELF.
9125 linux
* | k
*bsd
*-gnu)
9129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9130 soname_spec
='${libname}${release}${shared_ext}$major'
9131 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9132 shlibpath_var
=LD_LIBRARY_PATH
9133 shlibpath_overrides_runpath
=no
9134 # This implies no fast_install, which is unacceptable.
9135 # Some rework will be needed to allow for fast_install
9136 # before this can be enabled.
9137 hardcode_into_libs
=yes
9138 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9139 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9141 # Append ld.so.conf contents to the search path
9142 if test -f /etc
/ld.so.conf
; then
9143 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' ' '`
9144 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9147 # We used to test for /lib/ld.so.1 and disable shared libraries on
9148 # powerpc, because MkLinux only supported shared libraries with the
9149 # GNU dynamic linker. Since this was broken with cross compilers,
9150 # most powerpc-linux boxes support dynamic linking these days and
9151 # people can always --disable-shared, the test was removed, and we
9152 # assume the GNU/Linux dynamic linker is in use.
9153 dynamic_linker
='GNU/Linux ld.so'
9160 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9162 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9163 dynamic_linker
='NetBSD (a.out) ld.so'
9165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9166 soname_spec
='${libname}${release}${shared_ext}$major'
9167 dynamic_linker
='NetBSD ld.elf_so'
9169 shlibpath_var
=LD_LIBRARY_PATH
9170 shlibpath_overrides_runpath
=yes
9171 hardcode_into_libs
=yes
9176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9177 shlibpath_var
=LD_LIBRARY_PATH
9178 shlibpath_overrides_runpath
=yes
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
9193 sys_lib_dlsearch_path_spec
="/usr/lib"
9195 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9197 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9198 *) need_version
=no
;;
9200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9201 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9202 shlibpath_var
=LD_LIBRARY_PATH
9203 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9205 openbsd2.
[89] | openbsd2.
[89].
*)
9206 shlibpath_overrides_runpath
=no
9209 shlibpath_overrides_runpath
=yes
9213 shlibpath_overrides_runpath
=yes
9218 libname_spec
='$name'
9221 library_names_spec
='$libname${shared_ext} $libname.a'
9222 dynamic_linker
='OS/2 ld.exe'
9223 shlibpath_var
=LIBPATH
9226 osf3
* | osf4
* | osf5
*)
9230 soname_spec
='${libname}${release}${shared_ext}$major'
9231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9232 shlibpath_var
=LD_LIBRARY_PATH
9233 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9234 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9246 soname_spec
='${libname}${release}${shared_ext}$major'
9247 shlibpath_var
=LD_LIBRARY_PATH
9248 shlibpath_overrides_runpath
=yes
9249 hardcode_into_libs
=yes
9250 # ldd complains unless libraries are executable
9251 postinstall_cmds
='chmod +x $lib'
9256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9257 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9258 shlibpath_var
=LD_LIBRARY_PATH
9259 shlibpath_overrides_runpath
=yes
9260 if test "$with_gnu_ld" = yes; then
9268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9269 soname_spec
='${libname}${release}${shared_ext}$major'
9270 shlibpath_var
=LD_LIBRARY_PATH
9271 case $host_vendor in
9273 shlibpath_overrides_runpath
=no
9275 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9276 runpath_var
=LD_RUN_PATH
9284 shlibpath_overrides_runpath
=no
9285 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9291 if test -d /usr
/nec
;then
9293 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9294 soname_spec
='$libname${shared_ext}.$major'
9295 shlibpath_var
=LD_LIBRARY_PATH
9299 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9300 version_type
=freebsd-elf
9303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9304 soname_spec
='${libname}${release}${shared_ext}$major'
9305 shlibpath_var
=LD_LIBRARY_PATH
9306 hardcode_into_libs
=yes
9307 if test "$with_gnu_ld" = yes; then
9308 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9309 shlibpath_overrides_runpath
=no
9311 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9312 shlibpath_overrides_runpath
=yes
9315 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9319 sys_lib_dlsearch_path_spec
='/usr/lib'
9324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9325 soname_spec
='${libname}${release}${shared_ext}$major'
9326 shlibpath_var
=LD_LIBRARY_PATH
9333 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9334 echo "${ECHO_T}$dynamic_linker" >&6; }
9335 test "$dynamic_linker" = no
&& can_build_shared
=no
9337 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9338 if test "$GCC" = yes; then
9339 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9342 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9343 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9345 if test -n "$hardcode_libdir_flag_spec" || \
9346 test -n "$runpath_var" || \
9347 test "X$hardcode_automatic" = "Xyes" ; then
9349 # We can hardcode non-existant directories.
9350 if test "$hardcode_direct" != no
&&
9351 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9352 # have to relink, otherwise we might link with an installed library
9353 # when we should be linking with a yet-to-be-installed one
9354 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9355 test "$hardcode_minus_L" != no
; then
9356 # Linking always hardcodes the temporary library directory.
9357 hardcode_action
=relink
9359 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9360 hardcode_action
=immediate
9363 # We cannot hardcode anything, or else we can only hardcode existing
9365 hardcode_action
=unsupported
9367 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9368 echo "${ECHO_T}$hardcode_action" >&6; }
9370 if test "$hardcode_action" = relink
; then
9371 # Fast installation is not supported
9372 enable_fast_install
=no
9373 elif test "$shlibpath_overrides_runpath" = yes ||
9374 test "$enable_shared" = no
; then
9375 # Fast installation is not necessary
9376 enable_fast_install
=needless
9381 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9382 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9383 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9384 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9385 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9386 { echo "$as_me:$LINENO: result: yes" >&5
9387 echo "${ECHO_T}yes" >&6; }
9389 # FIXME - insert some real tests, host_os isn't really good enough
9392 if test -n "$STRIP" ; then
9393 striplib
="$STRIP -x"
9394 old_striplib
="$STRIP -S"
9395 { echo "$as_me:$LINENO: result: yes" >&5
9396 echo "${ECHO_T}yes" >&6; }
9398 { echo "$as_me:$LINENO: result: no" >&5
9399 echo "${ECHO_T}no" >&6; }
9403 { echo "$as_me:$LINENO: result: no" >&5
9404 echo "${ECHO_T}no" >&6; }
9409 if test "x$enable_dlopen" != xyes
; then
9410 enable_dlopen
=unknown
9411 enable_dlopen_self
=unknown
9412 enable_dlopen_self_static
=unknown
9419 lt_cv_dlopen
="load_add_on"
9421 lt_cv_dlopen_self
=yes
9425 lt_cv_dlopen
="LoadLibrary"
9430 lt_cv_dlopen
="dlopen"
9435 # if libdl is installed we need to link against it
9436 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9437 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9438 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9439 echo $ECHO_N "(cached) $ECHO_C" >&6
9441 ac_check_lib_save_LIBS
=$LIBS
9443 cat >conftest.
$ac_ext <<_ACEOF
9446 cat confdefs.h
>>conftest.
$ac_ext
9447 cat >>conftest.
$ac_ext <<_ACEOF
9448 /* end confdefs.h. */
9450 /* Override any GCC internal prototype to avoid an error.
9451 Use char because int might match the return type of a GCC
9452 builtin and then its argument prototype would still apply. */
9465 rm -f conftest.
$ac_objext conftest
$ac_exeext
9466 if { (ac_try
="$ac_link"
9468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9469 *) ac_try_echo=$ac_try;;
9471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9472 (eval "$ac_link") 2>conftest.er1
9474 grep -v '^ *+' conftest.er1 >conftest.err
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } && {
9479 test -z "$ac_c_werror_flag" ||
9480 test ! -s conftest.err
9481 } && test -s conftest$ac_exeext &&
9482 $as_test_x conftest$ac_exeext; then
9483 ac_cv_lib_dl_dlopen=yes
9485 echo "$as_me: failed program was:" >&5
9486 sed 's/^/| /' conftest.$ac_ext >&5
9488 ac_cv_lib_dl_dlopen=no
9491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9492 conftest$ac_exeext conftest.$ac_ext
9493 LIBS=$ac_check_lib_save_LIBS
9495 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9496 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9497 if test $ac_cv_lib_dl_dlopen = yes; then
9498 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9503 lt_cv_dlopen_self=yes
9510 { echo "$as_me:$LINENO: checking for shl_load" >&5
9511 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9512 if test "${ac_cv_func_shl_load+set}" = set; then
9513 echo $ECHO_N "(cached) $ECHO_C" >&6
9515 cat >conftest.$ac_ext <<_ACEOF
9518 cat confdefs.h >>conftest.$ac_ext
9519 cat >>conftest.$ac_ext <<_ACEOF
9520 /* end confdefs.h. */
9521 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9523 #define shl_load innocuous_shl_load
9525 /* System header to define __stub macros and hopefully few prototypes,
9526 which can conflict with char shl_load (); below.
9527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9528 <limits.h> exists even on freestanding compilers. */
9531 # include <limits.h>
9533 # include <assert.h>
9538 /* Override any GCC internal prototype to avoid an error.
9539 Use char because int might match the return type of a GCC
9540 builtin and then its argument prototype would still apply. */
9545 /* The GNU C library defines this for functions which it implements
9546 to always fail with ENOSYS. Some functions are actually named
9547 something starting with __ and the normal name is an alias. */
9548 #if defined __stub_shl_load || defined __stub___shl_load
9560 rm -f conftest.$ac_objext conftest$ac_exeext
9561 if { (ac_try="$ac_link"
9563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9564 *) ac_try_echo
=$ac_try;;
9566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9567 (eval "$ac_link") 2>conftest.er1
9569 grep -v '^ *+' conftest.er1
>conftest.err
9571 cat conftest.err
>&5
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 (exit $ac_status); } && {
9574 test -z "$ac_c_werror_flag" ||
9575 test ! -s conftest.err
9576 } && test -s conftest
$ac_exeext &&
9577 $as_test_x conftest
$ac_exeext; then
9578 ac_cv_func_shl_load
=yes
9580 echo "$as_me: failed program was:" >&5
9581 sed 's/^/| /' conftest.
$ac_ext >&5
9583 ac_cv_func_shl_load
=no
9586 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9587 conftest
$ac_exeext conftest.
$ac_ext
9589 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9590 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9591 if test $ac_cv_func_shl_load = yes; then
9592 lt_cv_dlopen
="shl_load"
9594 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9595 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9596 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9597 echo $ECHO_N "(cached) $ECHO_C" >&6
9599 ac_check_lib_save_LIBS
=$LIBS
9601 cat >conftest.
$ac_ext <<_ACEOF
9604 cat confdefs.h
>>conftest.
$ac_ext
9605 cat >>conftest.
$ac_ext <<_ACEOF
9606 /* end confdefs.h. */
9608 /* Override any GCC internal prototype to avoid an error.
9609 Use char because int might match the return type of a GCC
9610 builtin and then its argument prototype would still apply. */
9623 rm -f conftest.
$ac_objext conftest
$ac_exeext
9624 if { (ac_try
="$ac_link"
9626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9627 *) ac_try_echo=$ac_try;;
9629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9630 (eval "$ac_link") 2>conftest.er1
9632 grep -v '^ *+' conftest.er1 >conftest.err
9634 cat conftest.err >&5
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); } && {
9637 test -z "$ac_c_werror_flag" ||
9638 test ! -s conftest.err
9639 } && test -s conftest$ac_exeext &&
9640 $as_test_x conftest$ac_exeext; then
9641 ac_cv_lib_dld_shl_load=yes
9643 echo "$as_me: failed program was:" >&5
9644 sed 's/^/| /' conftest.$ac_ext >&5
9646 ac_cv_lib_dld_shl_load=no
9649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9650 conftest$ac_exeext conftest.$ac_ext
9651 LIBS=$ac_check_lib_save_LIBS
9653 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9654 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9655 if test $ac_cv_lib_dld_shl_load = yes; then
9656 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9658 { echo "$as_me:$LINENO: checking for dlopen" >&5
9659 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9660 if test "${ac_cv_func_dlopen+set}" = set; then
9661 echo $ECHO_N "(cached) $ECHO_C" >&6
9663 cat >conftest.$ac_ext <<_ACEOF
9666 cat confdefs.h >>conftest.$ac_ext
9667 cat >>conftest.$ac_ext <<_ACEOF
9668 /* end confdefs.h. */
9669 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9671 #define dlopen innocuous_dlopen
9673 /* System header to define __stub macros and hopefully few prototypes,
9674 which can conflict with char dlopen (); below.
9675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9676 <limits.h> exists even on freestanding compilers. */
9679 # include <limits.h>
9681 # include <assert.h>
9686 /* Override any GCC internal prototype to avoid an error.
9687 Use char because int might match the return type of a GCC
9688 builtin and then its argument prototype would still apply. */
9693 /* The GNU C library defines this for functions which it implements
9694 to always fail with ENOSYS. Some functions are actually named
9695 something starting with __ and the normal name is an alias. */
9696 #if defined __stub_dlopen || defined __stub___dlopen
9708 rm -f conftest.$ac_objext conftest$ac_exeext
9709 if { (ac_try="$ac_link"
9711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9712 *) ac_try_echo
=$ac_try;;
9714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9715 (eval "$ac_link") 2>conftest.er1
9717 grep -v '^ *+' conftest.er1
>conftest.err
9719 cat conftest.err
>&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); } && {
9722 test -z "$ac_c_werror_flag" ||
9723 test ! -s conftest.err
9724 } && test -s conftest
$ac_exeext &&
9725 $as_test_x conftest
$ac_exeext; then
9726 ac_cv_func_dlopen
=yes
9728 echo "$as_me: failed program was:" >&5
9729 sed 's/^/| /' conftest.
$ac_ext >&5
9731 ac_cv_func_dlopen
=no
9734 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9735 conftest
$ac_exeext conftest.
$ac_ext
9737 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9738 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9739 if test $ac_cv_func_dlopen = yes; then
9740 lt_cv_dlopen
="dlopen"
9742 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9743 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9744 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9745 echo $ECHO_N "(cached) $ECHO_C" >&6
9747 ac_check_lib_save_LIBS
=$LIBS
9749 cat >conftest.
$ac_ext <<_ACEOF
9752 cat confdefs.h
>>conftest.
$ac_ext
9753 cat >>conftest.
$ac_ext <<_ACEOF
9754 /* end confdefs.h. */
9756 /* Override any GCC internal prototype to avoid an error.
9757 Use char because int might match the return type of a GCC
9758 builtin and then its argument prototype would still apply. */
9771 rm -f conftest.
$ac_objext conftest
$ac_exeext
9772 if { (ac_try
="$ac_link"
9774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9775 *) ac_try_echo=$ac_try;;
9777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9778 (eval "$ac_link") 2>conftest.er1
9780 grep -v '^ *+' conftest.er1 >conftest.err
9782 cat conftest.err >&5
9783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784 (exit $ac_status); } && {
9785 test -z "$ac_c_werror_flag" ||
9786 test ! -s conftest.err
9787 } && test -s conftest$ac_exeext &&
9788 $as_test_x conftest$ac_exeext; then
9789 ac_cv_lib_dl_dlopen=yes
9791 echo "$as_me: failed program was:" >&5
9792 sed 's/^/| /' conftest.$ac_ext >&5
9794 ac_cv_lib_dl_dlopen=no
9797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9798 conftest$ac_exeext conftest.$ac_ext
9799 LIBS=$ac_check_lib_save_LIBS
9801 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9802 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9803 if test $ac_cv_lib_dl_dlopen = yes; then
9804 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9806 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9807 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9808 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9809 echo $ECHO_N "(cached) $ECHO_C" >&6
9811 ac_check_lib_save_LIBS=$LIBS
9813 cat >conftest.$ac_ext <<_ACEOF
9816 cat confdefs.h >>conftest.$ac_ext
9817 cat >>conftest.$ac_ext <<_ACEOF
9818 /* end confdefs.h. */
9820 /* Override any GCC internal prototype to avoid an error.
9821 Use char because int might match the return type of a GCC
9822 builtin and then its argument prototype would still apply. */
9835 rm -f conftest.$ac_objext conftest$ac_exeext
9836 if { (ac_try="$ac_link"
9838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9839 *) ac_try_echo
=$ac_try;;
9841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9842 (eval "$ac_link") 2>conftest.er1
9844 grep -v '^ *+' conftest.er1
>conftest.err
9846 cat conftest.err
>&5
9847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9848 (exit $ac_status); } && {
9849 test -z "$ac_c_werror_flag" ||
9850 test ! -s conftest.err
9851 } && test -s conftest
$ac_exeext &&
9852 $as_test_x conftest
$ac_exeext; then
9853 ac_cv_lib_svld_dlopen
=yes
9855 echo "$as_me: failed program was:" >&5
9856 sed 's/^/| /' conftest.
$ac_ext >&5
9858 ac_cv_lib_svld_dlopen
=no
9861 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9862 conftest
$ac_exeext conftest.
$ac_ext
9863 LIBS
=$ac_check_lib_save_LIBS
9865 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9866 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9867 if test $ac_cv_lib_svld_dlopen = yes; then
9868 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9870 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9871 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9872 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9873 echo $ECHO_N "(cached) $ECHO_C" >&6
9875 ac_check_lib_save_LIBS
=$LIBS
9877 cat >conftest.
$ac_ext <<_ACEOF
9880 cat confdefs.h
>>conftest.
$ac_ext
9881 cat >>conftest.
$ac_ext <<_ACEOF
9882 /* end confdefs.h. */
9884 /* Override any GCC internal prototype to avoid an error.
9885 Use char because int might match the return type of a GCC
9886 builtin and then its argument prototype would still apply. */
9899 rm -f conftest.
$ac_objext conftest
$ac_exeext
9900 if { (ac_try
="$ac_link"
9902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9903 *) ac_try_echo=$ac_try;;
9905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9906 (eval "$ac_link") 2>conftest.er1
9908 grep -v '^ *+' conftest.er1 >conftest.err
9910 cat conftest.err >&5
9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912 (exit $ac_status); } && {
9913 test -z "$ac_c_werror_flag" ||
9914 test ! -s conftest.err
9915 } && test -s conftest$ac_exeext &&
9916 $as_test_x conftest$ac_exeext; then
9917 ac_cv_lib_dld_dld_link=yes
9919 echo "$as_me: failed program was:" >&5
9920 sed 's/^/| /' conftest.$ac_ext >&5
9922 ac_cv_lib_dld_dld_link=no
9925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9926 conftest$ac_exeext conftest.$ac_ext
9927 LIBS=$ac_check_lib_save_LIBS
9929 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9930 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9931 if test $ac_cv_lib_dld_dld_link = yes; then
9932 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9953 if test "x$lt_cv_dlopen" != xno; then
9959 case $lt_cv_dlopen in
9961 save_CPPFLAGS="$CPPFLAGS"
9962 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9964 save_LDFLAGS="$LDFLAGS"
9965 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9968 LIBS="$lt_cv_dlopen_libs $LIBS"
9970 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9971 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9972 if test "${lt_cv_dlopen_self+set}" = set; then
9973 echo $ECHO_N "(cached) $ECHO_C" >&6
9975 if test "$cross_compiling" = yes; then :
9976 lt_cv_dlopen_self=cross
9978 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9979 lt_status=$lt_dlunknown
9980 cat > conftest.$ac_ext <<EOF
9981 #line 9981 "configure"
9982 #include "confdefs.h"
9991 # define LT_DLGLOBAL RTLD_GLOBAL
9994 # define LT_DLGLOBAL DL_GLOBAL
9996 # define LT_DLGLOBAL 0
10000 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10001 find out it does not work in some platform. */
10002 #ifndef LT_DLLAZY_OR_NOW
10004 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10007 # define LT_DLLAZY_OR_NOW DL_LAZY
10010 # define LT_DLLAZY_OR_NOW RTLD_NOW
10013 # define LT_DLLAZY_OR_NOW DL_NOW
10015 # define LT_DLLAZY_OR_NOW 0
10023 extern "C" void exit (int);
10026 void fnord() { int i=42;}
10029 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10030 int status = $lt_dlunknown;
10034 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10035 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10036 /* dlclose (self); */
10044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10045 (eval $ac_link) 2>&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10049 (./conftest; exit; ) >&5 2>/dev/null
10051 case x$lt_status in
10052 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10053 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10054 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10057 # compilation failed
10058 lt_cv_dlopen_self=no
10065 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10066 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10068 if test "x$lt_cv_dlopen_self" = xyes; then
10069 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10070 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10071 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10072 if test "${lt_cv_dlopen_self_static+set}" = set; then
10073 echo $ECHO_N "(cached) $ECHO_C" >&6
10075 if test "$cross_compiling" = yes; then :
10076 lt_cv_dlopen_self_static=cross
10078 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10079 lt_status=$lt_dlunknown
10080 cat > conftest.$ac_ext <<EOF
10081 #line 10081 "configure"
10082 #include "confdefs.h"
10091 # define LT_DLGLOBAL RTLD_GLOBAL
10094 # define LT_DLGLOBAL DL_GLOBAL
10096 # define LT_DLGLOBAL 0
10100 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10101 find out it does not work in some platform. */
10102 #ifndef LT_DLLAZY_OR_NOW
10104 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10107 # define LT_DLLAZY_OR_NOW DL_LAZY
10110 # define LT_DLLAZY_OR_NOW RTLD_NOW
10113 # define LT_DLLAZY_OR_NOW DL_NOW
10115 # define LT_DLLAZY_OR_NOW 0
10123 extern "C" void exit (int);
10126 void fnord() { int i=42;}
10129 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10130 int status = $lt_dlunknown;
10134 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10135 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10136 /* dlclose (self); */
10144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10145 (eval $ac_link) 2>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10149 (./conftest; exit; ) >&5 2>/dev/null
10151 case x$lt_status in
10152 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10153 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10154 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10157 # compilation failed
10158 lt_cv_dlopen_self_static=no
10165 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10166 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10169 CPPFLAGS="$save_CPPFLAGS"
10170 LDFLAGS="$save_LDFLAGS"
10175 case $lt_cv_dlopen_self in
10176 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10177 *) enable_dlopen_self=unknown ;;
10180 case $lt_cv_dlopen_self_static in
10181 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10182 *) enable_dlopen_self_static=unknown ;;
10187 # Report which library types will actually be built
10188 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10189 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10190 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10191 echo "${ECHO_T}$can_build_shared" >&6; }
10193 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10194 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10195 test "$can_build_shared" = "no" && enable_shared=no
10197 # On AIX, shared libraries and static libraries use the same namespace, and
10198 # are all built from PIC.
10201 test "$enable_shared" = yes && enable_static=no
10202 if test -n "$RANLIB"; then
10203 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10204 postinstall_cmds='$RANLIB $lib'
10209 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10210 test "$enable_shared" = yes && enable_static=no
10214 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10215 echo "${ECHO_T}$enable_shared" >&6; }
10217 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10218 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10219 # Make sure either enable_shared or enable_static is yes.
10220 test "$enable_shared" = yes || enable_static=yes
10221 { echo "$as_me:$LINENO: result: $enable_static" >&5
10222 echo "${ECHO_T}$enable_static" >&6; }
10224 # The else clause should only fire when bootstrapping the
10225 # libtool distribution, otherwise you forgot to ship ltmain.sh
10226 # with your package, and you will get complaints that there are
10227 # no rules to generate ltmain.sh.
10228 if test -f "$ltmain"; then
10229 # See if we are running on zsh, and set the options which allow our commands through
10230 # without removal of \ escapes.
10231 if test -n "${ZSH_VERSION+set}" ; then
10232 setopt NO_GLOB_SUBST
10234 # Now quote all the things that may contain metacharacters while being
10235 # careful not to overquote the AC_SUBSTed values. We take copies of the
10236 # variables and quote the copies for generation of the libtool script.
10237 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10239 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10240 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10241 deplibs_check_method reload_flag reload_cmds need_locks \
10242 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10243 lt_cv_sys_global_symbol_to_c_name_address \
10244 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10245 old_postinstall_cmds old_postuninstall_cmds \
10249 lt_prog_compiler_wl \
10250 lt_prog_compiler_pic \
10251 lt_prog_compiler_static \
10252 lt_prog_compiler_no_builtin_flag \
10253 export_dynamic_flag_spec \
10254 thread_safe_flag_spec \
10255 whole_archive_flag_spec \
10256 enable_shared_with_static_runtimes \
10258 old_archive_from_new_cmds \
10263 compiler_lib_search_path \
10265 archive_expsym_cmds \
10267 postuninstall_cmds \
10268 old_archive_from_expsyms_cmds \
10269 allow_undefined_flag \
10270 no_undefined_flag \
10271 export_symbols_cmds \
10272 hardcode_libdir_flag_spec \
10273 hardcode_libdir_flag_spec_ld \
10274 hardcode_libdir_separator \
10275 hardcode_automatic \
10277 module_expsym_cmds \
10278 lt_cv_prog_compiler_c_o \
10281 include_expsyms; do
10284 old_archive_cmds | \
10285 old_archive_from_new_cmds | \
10287 archive_expsym_cmds | \
10289 module_expsym_cmds | \
10290 old_archive_from_expsyms_cmds | \
10291 export_symbols_cmds | \
10292 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10293 postinstall_cmds | postuninstall_cmds | \
10294 old_postinstall_cmds | old_postuninstall_cmds | \
10295 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10296 # Double-quote double-evaled strings.
10297 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10300 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10306 *'\$0 --fallback-echo"')
10307 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10311 cfgfile="${ofile}T"
10312 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10314 { echo "$as_me:$LINENO: creating $ofile" >&5
10315 echo "$as_me: creating $ofile" >&6;}
10317 cat <<__EOF__ >> "$cfgfile"
10320 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10321 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10322 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10324 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10325 # Free Software Foundation, Inc.
10327 # This file is part of GNU Libtool:
10328 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10330 # This program is free software; you can redistribute it and/or modify
10331 # it under the terms of the GNU General Public License as published by
10332 # the Free Software Foundation; either version 2 of the License, or
10333 # (at your option) any later version.
10335 # This program is distributed in the hope that it will be useful, but
10336 # WITHOUT ANY WARRANTY; without even the implied warranty of
10337 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10338 # General Public License for more details.
10340 # You should have received a copy of the GNU General Public License
10341 # along with this program; if not, write to the Free Software
10342 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10344 # As a special exception to the GNU General Public License, if you
10345 # distribute this file as part of a program that contains a
10346 # configuration script generated by Autoconf, you may include it under
10347 # the same distribution terms that you use for the rest of that program.
10349 # A sed program that does not truncate output.
10352 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10353 Xsed="$SED -e 1s/^X//"
10355 # The HP-UX ksh and POSIX shell print the target directory to stdout
10356 # if CDPATH is set.
10357 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10359 # The names of the tagged configurations supported by this script.
10362 # ### BEGIN LIBTOOL CONFIG
10364 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10366 # Shell to use when invoking shell scripts.
10369 # Whether or not to build shared libraries.
10370 build_libtool_libs=$enable_shared
10372 # Whether or not to build static libraries.
10373 build_old_libs=$enable_static
10375 # Whether or not to add -lc for building shared libraries.
10376 build_libtool_need_lc=$archive_cmds_need_lc
10378 # Whether or not to disallow shared libs when runtime libs are static
10379 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10381 # Whether or not to optimize for fast installation.
10382 fast_install=$enable_fast_install
10385 host_alias=$host_alias
10389 # The build system.
10390 build_alias=$build_alias
10394 # An echo program that does not interpret backslashes.
10399 AR_FLAGS=$lt_AR_FLAGS
10404 # LTCC compiler flags.
10405 LTCFLAGS=$lt_LTCFLAGS
10407 # A language-specific compiler.
10410 # Is the compiler the GNU C compiler?
10416 # The linker used to build libraries.
10419 # Whether we need hard or soft links.
10422 # A BSD-compatible nm program.
10425 # A symbol stripping program
10428 # Used to examine libraries when file_magic_cmd begins "file"
10429 MAGIC_CMD=$MAGIC_CMD
10431 # Used on cygwin: DLL creation program.
10434 # Used on cygwin: object dumper.
10437 # Used on cygwin: assembler.
10440 # The name of the directory that contains temporary libtool files.
10443 # How to create reloadable object files.
10444 reload_flag=$lt_reload_flag
10445 reload_cmds=$lt_reload_cmds
10447 # How to pass a linker flag through the compiler.
10448 wl=$lt_lt_prog_compiler_wl
10450 # Object file suffix (normally "o").
10451 objext="$ac_objext"
10453 # Old archive suffix (normally "a").
10456 # Shared library suffix (normally ".so").
10457 shrext_cmds='$shrext_cmds'
10459 # Executable file suffix (normally "").
10462 # Additional compiler flags for building library objects.
10463 pic_flag=$lt_lt_prog_compiler_pic
10466 # What is the maximum length of a command?
10467 max_cmd_len=$lt_cv_sys_max_cmd_len
10469 # Does compiler simultaneously support -c and -o options?
10470 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10472 # Must we lock files when doing compilation?
10473 need_locks=$lt_need_locks
10475 # Do we need the lib prefix for modules?
10476 need_lib_prefix=$need_lib_prefix
10478 # Do we need a version for libraries?
10479 need_version=$need_version
10481 # Whether dlopen is supported.
10482 dlopen_support=$enable_dlopen
10484 # Whether dlopen of programs is supported.
10485 dlopen_self=$enable_dlopen_self
10487 # Whether dlopen of statically linked programs is supported.
10488 dlopen_self_static=$enable_dlopen_self_static
10490 # Compiler flag to prevent dynamic linking.
10491 link_static_flag=$lt_lt_prog_compiler_static
10493 # Compiler flag to turn off builtin functions.
10494 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10496 # Compiler flag to allow reflexive dlopens.
10497 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10499 # Compiler flag to generate shared objects directly from archives.
10500 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10502 # Compiler flag to generate thread-safe objects.
10503 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10505 # Library versioning type.
10506 version_type=$version_type
10508 # Format of library name prefix.
10509 libname_spec=$lt_libname_spec
10511 # List of archive names. First name is the real one, the rest are links.
10512 # The last name is the one that the linker finds with -lNAME.
10513 library_names_spec=$lt_library_names_spec
10515 # The coded name of the library, if different from the real name.
10516 soname_spec=$lt_soname_spec
10518 # Commands used to build and install an old-style archive.
10520 old_archive_cmds=$lt_old_archive_cmds
10521 old_postinstall_cmds=$lt_old_postinstall_cmds
10522 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10524 # Create an old-style archive from a shared archive.
10525 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10527 # Create a temporary old-style archive to link instead of a shared archive.
10528 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10530 # Commands used to build and install a shared archive.
10531 archive_cmds=$lt_archive_cmds
10532 archive_expsym_cmds=$lt_archive_expsym_cmds
10533 postinstall_cmds=$lt_postinstall_cmds
10534 postuninstall_cmds=$lt_postuninstall_cmds
10536 # Commands used to build a loadable module (assumed same as above if empty)
10537 module_cmds=$lt_module_cmds
10538 module_expsym_cmds=$lt_module_expsym_cmds
10540 # Commands to strip libraries.
10541 old_striplib=$lt_old_striplib
10542 striplib=$lt_striplib
10544 # Dependencies to place before the objects being linked to create a
10546 predep_objects=$lt_predep_objects
10548 # Dependencies to place after the objects being linked to create a
10550 postdep_objects=$lt_postdep_objects
10552 # Dependencies to place before the objects being linked to create a
10554 predeps=$lt_predeps
10556 # Dependencies to place after the objects being linked to create a
10558 postdeps=$lt_postdeps
10560 # The library search path used internally by the compiler when linking
10561 # a shared library.
10562 compiler_lib_search_path=$lt_compiler_lib_search_path
10564 # Method to check whether dependent libraries are shared objects.
10565 deplibs_check_method=$lt_deplibs_check_method
10567 # Command to use when deplibs_check_method == file_magic.
10568 file_magic_cmd=$lt_file_magic_cmd
10570 # Flag that allows shared libraries with undefined symbols to be built.
10571 allow_undefined_flag=$lt_allow_undefined_flag
10573 # Flag that forces no undefined symbols.
10574 no_undefined_flag=$lt_no_undefined_flag
10576 # Commands used to finish a libtool library installation in a directory.
10577 finish_cmds=$lt_finish_cmds
10579 # Same as above, but a single script fragment to be evaled but not shown.
10580 finish_eval=$lt_finish_eval
10582 # Take the output of nm and produce a listing of raw symbols and C names.
10583 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10585 # Transform the output of nm in a proper C declaration
10586 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10588 # Transform the output of nm in a C name address pair
10589 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10591 # This is the shared library runtime path variable.
10592 runpath_var=$runpath_var
10594 # This is the shared library path variable.
10595 shlibpath_var=$shlibpath_var
10597 # Is shlibpath searched before the hard-coded library search path?
10598 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10600 # How to hardcode a shared library path into an executable.
10601 hardcode_action=$hardcode_action
10603 # Whether we should hardcode library paths into libraries.
10604 hardcode_into_libs=$hardcode_into_libs
10606 # Flag to hardcode \$libdir into a binary during linking.
10607 # This must work even if \$libdir does not exist.
10608 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10610 # If ld is used when linking, flag to hardcode \$libdir into
10611 # a binary during linking. This must work even if \$libdir does
10613 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10615 # Whether we need a single -rpath flag with a separated argument.
10616 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10618 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10619 # resulting binary.
10620 hardcode_direct=$hardcode_direct
10622 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10623 # resulting binary.
10624 hardcode_minus_L=$hardcode_minus_L
10626 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10627 # the resulting binary.
10628 hardcode_shlibpath_var=$hardcode_shlibpath_var
10630 # Set to yes if building a shared library automatically hardcodes DIR into the library
10631 # and all subsequent libraries and executables linked against it.
10632 hardcode_automatic=$hardcode_automatic
10634 # Variables whose values should be saved in libtool wrapper scripts and
10635 # restored at relink time.
10636 variables_saved_for_relink="$variables_saved_for_relink"
10638 # Whether libtool must link a program against all its dependency libraries.
10639 link_all_deplibs=$link_all_deplibs
10641 # Compile-time system search path for libraries
10642 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10644 # Run-time system search path for libraries
10645 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10647 # Fix the shell variable \$srcfile for the compiler.
10648 fix_srcfile_path=$lt_fix_srcfile_path
10650 # Set to yes if exported symbols are required.
10651 always_export_symbols=$always_export_symbols
10653 # The commands to list exported symbols.
10654 export_symbols_cmds=$lt_export_symbols_cmds
10656 # The commands to extract the exported symbol list from a shared archive.
10657 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10659 # Symbols that should not be listed in the preloaded symbols.
10660 exclude_expsyms=$lt_exclude_expsyms
10662 # Symbols that must always be exported.
10663 include_expsyms=$lt_include_expsyms
10665 # ### END LIBTOOL CONFIG
10672 cat <<\EOF >> "$cfgfile"
10674 # AIX sometimes has problems with the GCC collect2 program. For some
10675 # reason, if we set the COLLECT_NAMES environment variable, the problems
10676 # vanish in a puff of smoke.
10677 if test "X${COLLECT_NAMES+set}" != Xset; then
10679 export COLLECT_NAMES
10685 # We use sed instead of cat because bash on DJGPP gets confused if
10686 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10687 # text mode, it properly converts lines to CR/LF. This bash problem
10688 # is reportedly fixed, but why not run on old versions too?
10689 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10691 mv -f "$cfgfile" "$ofile" || \
10692 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10696 # If there is no Makefile yet, we rely on a make rule to execute
10697 # `config.status
--recheck' to rerun these tests and create the
10698 # libtool script then.
10699 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10700 if test -f "$ltmain_in"; then
10701 test -f Makefile && make "$ltmain"
10707 ac_cpp='$CPP $CPPFLAGS'
10708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10709 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10715 # Check whether --with-tags was given.
10716 if test "${with_tags+set}" = set; then
10717 withval=$with_tags; tagnames="$withval"
10721 if test -f "$ltmain" && test -n "$tagnames"; then
10722 if test ! -f "${ofile}"; then
10723 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10724 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10727 if test -z "$LTCC"; then
10728 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10729 if test -z "$LTCC"; then
10730 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10731 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10733 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10734 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10737 if test -z "$LTCFLAGS"; then
10738 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10741 # Extract list of available tagged configurations in $ofile.
10742 # Note that this assumes the entire list is on one line.
10743 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10745 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10746 for tagname in $tagnames; do
10748 # Check whether tagname contains only valid characters
10749 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10751 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10752 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10753 { (exit 1); exit 1; }; }
10757 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10759 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10760 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10761 { (exit 1); exit 1; }; }
10764 # Update the list of available tags.
10765 if test -n "$tagname"; then
10766 echo appending configuration tag \"$tagname\" to $ofile
10770 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10771 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10772 (test "X$CXX" != "Xg++"))) ; then
10774 ac_cpp='$CXXCPP $CPPFLAGS'
10775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10782 archive_cmds_need_lc_CXX=no
10783 allow_undefined_flag_CXX=
10784 always_export_symbols_CXX=no
10785 archive_expsym_cmds_CXX=
10786 export_dynamic_flag_spec_CXX=
10787 hardcode_direct_CXX=no
10788 hardcode_libdir_flag_spec_CXX=
10789 hardcode_libdir_flag_spec_ld_CXX=
10790 hardcode_libdir_separator_CXX=
10791 hardcode_minus_L_CXX=no
10792 hardcode_shlibpath_var_CXX=unsupported
10793 hardcode_automatic_CXX=no
10795 module_expsym_cmds_CXX=
10796 link_all_deplibs_CXX=unknown
10797 old_archive_cmds_CXX=$old_archive_cmds
10798 no_undefined_flag_CXX=
10799 whole_archive_flag_spec_CXX=
10800 enable_shared_with_static_runtimes_CXX=no
10802 # Dependencies to place before and after the object being linked:
10803 predep_objects_CXX=
10804 postdep_objects_CXX=
10807 compiler_lib_search_path_CXX=
10809 # Source file extension for C++ test sources.
10812 # Object file extension for compiled C++ test sources.
10816 # Code to be used in simple compile tests
10817 lt_simple_compile_test_code="int some_variable = 0;"
10819 # Code to be used in simple link tests
10820 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10822 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10824 # If no C compiler was specified, use CC.
10827 # If no C compiler flags were specified, use CFLAGS.
10828 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10830 # Allow CC to be a program name with arguments.
10834 # save warnings/boilerplate of simple test code
10835 ac_outfile=conftest.$ac_objext
10836 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10837 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10838 _lt_compiler_boilerplate=`cat conftest.err
`
10841 ac_outfile=conftest.$ac_objext
10842 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10843 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10844 _lt_linker_boilerplate=`cat conftest.err
`
10848 # Allow CC to be a program name with arguments.
10853 lt_save_with_gnu_ld=$with_gnu_ld
10854 lt_save_path_LD=$lt_cv_path_LD
10855 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10856 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10858 $as_unset lt_cv_prog_gnu_ld
10860 if test -n "${lt_cv_path_LDCXX+set}"; then
10861 lt_cv_path_LD=$lt_cv_path_LDCXX
10863 $as_unset lt_cv_path_LD
10865 test -z "${LDCXX+set}" || LD=$LDCXX
10869 for cc_temp in $compiler""; do
10871 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10872 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10877 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10880 # We don't want -fno-exception wen compiling C++ code, so set the
10881 # no_builtin_flag separately
10882 if test "$GXX" = yes; then
10883 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10885 lt_prog_compiler_no_builtin_flag_CXX=
10888 if test "$GXX" = yes; then
10889 # Set up default GNU C++ configuration
10892 # Check whether --with-gnu-ld was given.
10893 if test "${with_gnu_ld+set}" = set; then
10894 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10900 if test "$GCC" = yes; then
10901 # Check if gcc -print-prog-name=ld gives a path.
10902 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10903 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10906 # gcc leaves a trailing carriage return which upsets mingw
10907 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10909 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10912 # Accept absolute paths.
10914 re_direlt='/[^/][^/]*/\.\./'
10915 # Canonicalize the pathname of ld
10916 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10917 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10918 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10920 test -z "$LD" && LD="$ac_prog"
10923 # If it fails, then pretend we aren't using GCC.
10927 # If it is relative, then search for the first ld in PATH.
10928 with_gnu_ld=unknown
10931 elif test "$with_gnu_ld" = yes; then
10932 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10933 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10935 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10936 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10938 if test "${lt_cv_path_LD+set}" = set; then
10939 echo $ECHO_N "(cached) $ECHO_C" >&6
10941 if test -z "$LD"; then
10942 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10943 for ac_dir in $PATH; do
10945 test -z "$ac_dir" && ac_dir=.
10946 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10947 lt_cv_path_LD="$ac_dir/$ac_prog"
10948 # Check to see if the program is GNU ld. I'd rather use --version,
10949 # but apparently some variants of GNU ld only accept -v.
10950 # Break only if it was the GNU/non-GNU ld that we prefer.
10951 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10952 *GNU* | *'with BFD'*)
10953 test "$with_gnu_ld" != no && break
10956 test "$with_gnu_ld" != yes && break
10963 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10967 LD="$lt_cv_path_LD"
10968 if test -n "$LD"; then
10969 { echo "$as_me:$LINENO: result: $LD" >&5
10970 echo "${ECHO_T}$LD" >&6; }
10972 { echo "$as_me:$LINENO: result: no" >&5
10973 echo "${ECHO_T}no" >&6; }
10975 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10976 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10977 { (exit 1); exit 1; }; }
10978 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10979 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10980 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10981 echo $ECHO_N "(cached) $ECHO_C" >&6
10983 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10984 case `$LD -v 2>&1 </dev
/null
` in
10985 *GNU* | *'with BFD'*)
10986 lt_cv_prog_gnu_ld=yes
10989 lt_cv_prog_gnu_ld=no
10993 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10994 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10995 with_gnu_ld=$lt_cv_prog_gnu_ld
10999 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11000 # archiving commands below assume that GNU ld is being used.
11001 if test "$with_gnu_ld" = yes; then
11002 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11003 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'
11005 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11006 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11008 # If archive_cmds runs LD, not CC, wlarc should be empty
11009 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11010 # investigate it a little bit more. (MM)
11013 # ancient GNU ld didn't support --whole-archive et. al.
11014 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11015 grep 'no-whole-archive' > /dev/null; then
11016 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11018 whole_archive_flag_spec_CXX=
11024 # A generic and very simple default shared library creation
11025 # command for GNU C++ for the case where it uses the native
11026 # linker, instead of GNU ld. If possible, this setting should
11027 # overridden to take advantage of the native linker features on
11028 # the platform it is being used on.
11029 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11032 # Commands to make compiler produce verbose output that lists
11033 # what "hidden" libraries, object files and flags are used when
11034 # linking a shared library.
11035 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11043 # PORTME: fill in a description of your system's C++ link characteristics
11044 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11045 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11049 # FIXME: insert proper C++ library support
11053 if test "$host_cpu" = ia64; then
11054 # On IA64, the linker does run time linking by default, so we don't
11055 # have to do anything special.
11056 aix_use_runtimelinking=no
11057 exp_sym_flag='-Bexport'
11060 aix_use_runtimelinking=no
11062 # Test if we are trying to use run time linking or normal
11063 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11064 # need to do runtime linking.
11065 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11066 for ld_flag in $LDFLAGS; do
11069 aix_use_runtimelinking=yes
11077 exp_sym_flag='-bexport'
11078 no_entry_flag='-bnoentry'
11081 # When large executables or shared objects are built, AIX ld can
11082 # have problems creating the table of contents. If linking a library
11083 # or program results in "error TOC overflow" add -mminimal-toc to
11084 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11085 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11087 archive_cmds_CXX=''
11088 hardcode_direct_CXX=yes
11089 hardcode_libdir_separator_CXX=':'
11090 link_all_deplibs_CXX=yes
11092 if test "$GXX" = yes; then
11093 case $host_os in aix4.[012]|aix4.[012].*)
11094 # We only want to do this on AIX 4.2 and lower, the check
11095 # below for broken collect2 doesn't work under 4.3+
11096 collect2name=`${CC} -print-prog-name=collect2
`
11097 if test -f "$collect2name" && \
11098 strings "$collect2name" | grep resolve_lib_name >/dev/null
11100 # We have reworked collect2
11103 # We have old collect2
11104 hardcode_direct_CXX=unsupported
11105 # It fails to find uninstalled libraries when the uninstalled
11106 # path is not listed in the libpath. Setting hardcode_minus_L
11107 # to unsupported forces relinking
11108 hardcode_minus_L_CXX=yes
11109 hardcode_libdir_flag_spec_CXX='-L$libdir'
11110 hardcode_libdir_separator_CXX=
11114 shared_flag='-shared'
11115 if test "$aix_use_runtimelinking" = yes; then
11116 shared_flag="$shared_flag "'${wl}-G'
11120 if test "$host_cpu" = ia64; then
11121 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11122 # chokes on -Wl,-G. The following line is correct:
11125 if test "$aix_use_runtimelinking" = yes; then
11126 shared_flag='${wl}-G'
11128 shared_flag='${wl}-bM:SRE'
11133 # It seems that -bexpall does not export symbols beginning with
11134 # underscore (_), so it is better to generate a list of symbols to export.
11135 always_export_symbols_CXX=yes
11136 if test "$aix_use_runtimelinking" = yes; then
11137 # Warning - without using the other runtime loading flags (-brtl),
11138 # -berok will link without error, but may produce a broken library.
11139 allow_undefined_flag_CXX='-berok'
11140 # Determine the default libpath from the value encoded in an empty executable.
11141 cat >conftest.$ac_ext <<_ACEOF
11144 cat confdefs.h >>conftest.$ac_ext
11145 cat >>conftest.$ac_ext <<_ACEOF
11146 /* end confdefs.h. */
11156 rm -f conftest.$ac_objext conftest$ac_exeext
11157 if { (ac_try="$ac_link"
11158 case "(($ac_try" in
11159 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11160 *) ac_try_echo
=$ac_try;;
11162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11163 (eval "$ac_link") 2>conftest.er1
11165 grep -v '^ *+' conftest.er1
>conftest.err
11167 cat conftest.err
>&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); } && {
11170 test -z "$ac_cxx_werror_flag" ||
11171 test ! -s conftest.err
11172 } && test -s conftest
$ac_exeext &&
11173 $as_test_x conftest
$ac_exeext; then
11175 lt_aix_libpath_sed
='
11176 /Import File Strings/,/^$/ {
11182 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11183 # Check for a 64-bit object if we didn't find anything.
11184 if test -z "$aix_libpath"; then
11185 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11188 echo "$as_me: failed program was:" >&5
11189 sed 's/^/| /' conftest.
$ac_ext >&5
11194 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11195 conftest
$ac_exeext conftest.
$ac_ext
11196 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11198 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11200 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"
11202 if test "$host_cpu" = ia64
; then
11203 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11204 allow_undefined_flag_CXX
="-z nodefs"
11205 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"
11207 # Determine the default libpath from the value encoded in an empty executable.
11208 cat >conftest.
$ac_ext <<_ACEOF
11211 cat confdefs.h
>>conftest.
$ac_ext
11212 cat >>conftest.
$ac_ext <<_ACEOF
11213 /* end confdefs.h. */
11223 rm -f conftest.
$ac_objext conftest
$ac_exeext
11224 if { (ac_try
="$ac_link"
11225 case "(($ac_try" in
11226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11227 *) ac_try_echo=$ac_try;;
11229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11230 (eval "$ac_link") 2>conftest.er1
11232 grep -v '^ *+' conftest.er1 >conftest.err
11234 cat conftest.err >&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); } && {
11237 test -z "$ac_cxx_werror_flag" ||
11238 test ! -s conftest.err
11239 } && test -s conftest$ac_exeext &&
11240 $as_test_x conftest$ac_exeext; then
11242 lt_aix_libpath_sed='
11243 /Import File Strings/,/^$/ {
11249 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11250 # Check for a 64-bit object if we didn't find anything.
11251 if test -z "$aix_libpath"; then
11252 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11255 echo "$as_me: failed program was:" >&5
11256 sed 's/^/| /' conftest.$ac_ext >&5
11261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11262 conftest$ac_exeext conftest.$ac_ext
11263 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11265 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11266 # Warning - without using the other run time loading flags,
11267 # -berok will link without error, but may produce a broken library.
11268 no_undefined_flag_CXX=' ${wl}-bernotok'
11269 allow_undefined_flag_CXX=' ${wl}-berok'
11270 # Exported symbols can be pulled into shared objects from archives
11271 whole_archive_flag_spec_CXX='$convenience'
11272 archive_cmds_need_lc_CXX=yes
11273 # This is similar to how AIX traditionally builds its shared libraries.
11274 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'
11280 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11281 allow_undefined_flag_CXX=unsupported
11282 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11283 # support --undefined. This deserves some investigation. FIXME
11284 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11291 case $cc_basename in
11293 # FIXME: insert proper C++ library support
11299 cygwin* | mingw* | pw32*)
11300 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11301 # as there is no search path for DLLs.
11302 hardcode_libdir_flag_spec_CXX='-L$libdir'
11303 allow_undefined_flag_CXX=unsupported
11304 always_export_symbols_CXX=no
11305 enable_shared_with_static_runtimes_CXX=yes
11307 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11308 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'
11309 # If the export-symbols file already is a .def file (1st line
11310 # is EXPORTS), use it as is; otherwise, prepend...
11311 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11312 cp $export_symbols $output_objdir/$soname.def;
11314 echo EXPORTS > $output_objdir/$soname.def;
11315 cat $export_symbols >> $output_objdir/$soname.def;
11317 $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'
11322 darwin* | rhapsody*)
11324 rhapsody* | darwin1.[012])
11325 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11328 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11329 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11331 case ${MACOSX_DEPLOYMENT_TARGET} in
11333 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11336 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11342 archive_cmds_need_lc_CXX=no
11343 hardcode_direct_CXX=no
11344 hardcode_automatic_CXX=yes
11345 hardcode_shlibpath_var_CXX=unsupported
11346 whole_archive_flag_spec_CXX=''
11347 link_all_deplibs_CXX=yes
11349 if test "$GXX" = yes ; then
11350 lt_int_apple_cc_single_mod=no
11351 output_verbose_link_cmd='echo'
11352 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11353 lt_int_apple_cc_single_mod=yes
11355 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11356 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11358 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'
11360 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11361 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11362 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11363 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}'
11365 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}'
11367 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}'
11369 case $cc_basename in
11371 output_verbose_link_cmd='echo'
11372 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'
11373 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11374 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11375 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}'
11376 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}'
11386 case $cc_basename in
11388 # FIXME: insert proper C++ library support
11392 # Green Hills C++ Compiler
11393 # FIXME: insert proper C++ library support
11397 # FIXME: insert proper C++ library support
11403 # C++ shared libraries reported to be fairly broken before switch to ELF
11407 archive_cmds_need_lc_CXX=no
11409 freebsd* | dragonfly*)
11410 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11417 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11418 hardcode_libdir_separator_CXX=:
11419 export_dynamic_flag_spec_CXX='${wl}-E'
11420 hardcode_direct_CXX=yes
11421 hardcode_minus_L_CXX=yes # Not in the search PATH,
11422 # but as the default
11423 # location of the library.
11425 case $cc_basename in
11427 # FIXME: insert proper C++ library support
11431 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'
11432 # Commands to make compiler produce verbose output that lists
11433 # what "hidden" libraries, object files and flags are used when
11434 # linking a shared library.
11436 # There doesn't appear to be a way to prevent this compiler from
11437 # explicitly linking system object files so we need to strip them
11438 # from the output so that they don't get included in the library
11440 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'
11443 if test "$GXX" = yes; then
11444 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'
11446 # FIXME: insert proper C++ library support
11453 if test $with_gnu_ld = no; then
11454 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11455 hardcode_libdir_separator_CXX=:
11460 export_dynamic_flag_spec_CXX='${wl}-E'
11466 hardcode_direct_CXX=no
11467 hardcode_shlibpath_var_CXX=no
11470 hardcode_direct_CXX=yes
11471 hardcode_minus_L_CXX=yes # Not in the search PATH,
11472 # but as the default
11473 # location of the library.
11477 case $cc_basename in
11479 # FIXME: insert proper C++ library support
11485 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11488 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11491 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11494 # Commands to make compiler produce verbose output that lists
11495 # what "hidden" libraries, object files and flags are used when
11496 # linking a shared library.
11498 # There doesn't appear to be a way to prevent this compiler from
11499 # explicitly linking system object files so we need to strip them
11500 # from the output so that they don't get included in the library
11502 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'
11505 if test "$GXX" = yes; then
11506 if test $with_gnu_ld = no; then
11509 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11512 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11515 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'
11520 # FIXME: insert proper C++ library support
11527 hardcode_direct_CXX=no
11528 hardcode_shlibpath_var_CXX=no
11529 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11530 export_dynamic_flag_spec_CXX='${wl}-E'
11531 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11532 # Instead, shared libraries are loaded at an image base (0x10000000 by
11533 # default) and relocated if they conflict, which is a slow very memory
11534 # consuming and fragmenting process. To avoid this, we pick a random,
11535 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11536 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11537 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'
11538 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'
11541 case $cc_basename in
11544 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'
11546 # Archives containing C++ object files must be created using
11547 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11548 # necessary to make sure instantiated templates are included
11550 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11553 if test "$GXX" = yes; then
11554 if test "$with_gnu_ld" = no; then
11555 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'
11557 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'
11560 link_all_deplibs_CXX=yes
11563 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11564 hardcode_libdir_separator_CXX=:
11566 linux* | k*bsd*-gnu)
11567 case $cc_basename in
11569 # Kuck and Associates, Inc. (KAI) C++ Compiler
11571 # KCC will only create a shared library if the output file
11572 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11573 # to its proper name (with version) after linking.
11574 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'
11575 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'
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 $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'
11586 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11587 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11589 # Archives containing C++ object files must be created using
11590 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11591 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11596 # version 8.0 and above of icpc choke on multiply defined symbols
11597 # if we add $predep_objects and $postdep_objects, however 7.1 and
11598 # earlier do not add the objects themselves.
11599 case `$CC -V 2>&1` in
11601 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11602 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'
11604 *) # Version 8.0 or newer
11607 ia64
*) tmp_idyn
=' -i_dynamic';;
11609 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11610 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'
11613 archive_cmds_need_lc_CXX
=no
11614 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11615 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11616 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11619 # Portland Group C++ compiler
11620 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11621 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'
11623 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11624 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11625 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'
11629 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11630 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'
11632 runpath_var
=LD_RUN_PATH
11633 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11634 hardcode_libdir_separator_CXX
=:
11636 # Commands to make compiler produce verbose output that lists
11637 # what "hidden" libraries, object files and flags are used when
11638 # linking a shared library.
11640 # There doesn't appear to be a way to prevent this compiler from
11641 # explicitly linking system object files so we need to strip them
11642 # from the output so that they don't get included in the library
11644 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'
11647 case `$CC -V 2>&1 | sed 5q` in
11650 no_undefined_flag_CXX
=' -zdefs'
11651 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11652 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'
11653 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11654 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'
11656 # Not sure whether something based on
11657 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11659 output_verbose_link_cmd
='echo'
11661 # Archives containing C++ object files must be created using
11662 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11663 # necessary to make sure instantiated templates are included
11665 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11672 # FIXME: insert proper C++ library support
11676 # FIXME: insert proper C++ library support
11680 case $cc_basename in
11682 # FIXME: insert proper C++ library support
11686 # FIXME: insert proper C++ library support
11692 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11693 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11695 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11696 hardcode_direct_CXX
=yes
11697 hardcode_shlibpath_var_CXX
=no
11699 # Workaround some broken pre-1.5 toolchains
11700 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11703 # C++ shared libraries are fairly broken
11707 if test -f /usr
/libexec
/ld.so
; then
11708 hardcode_direct_CXX
=yes
11709 hardcode_shlibpath_var_CXX
=no
11710 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11711 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11712 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11713 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11714 export_dynamic_flag_spec_CXX
='${wl}-E'
11715 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11717 output_verbose_link_cmd
='echo'
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 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11737 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11741 # Rational C++ 2.4.1
11742 # FIXME: insert proper C++ library support
11746 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11747 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'
11749 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11750 hardcode_libdir_separator_CXX
=:
11752 # Commands to make compiler produce verbose output that lists
11753 # what "hidden" libraries, object files and flags are used when
11754 # linking a shared library.
11756 # There doesn't appear to be a way to prevent this compiler from
11757 # explicitly linking system object files so we need to strip them
11758 # from the output so that they don't get included in the library
11760 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'
11763 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11764 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11765 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'
11767 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11768 hardcode_libdir_separator_CXX
=:
11770 # Commands to make compiler produce verbose output that lists
11771 # what "hidden" libraries, object files and flags are used when
11772 # linking a shared library.
11773 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11776 # FIXME: insert proper C++ library support
11783 case $cc_basename in
11785 # Kuck and Associates, Inc. (KAI) C++ Compiler
11787 # KCC will only create a shared library if the output file
11788 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11789 # to its proper name (with version) after linking.
11790 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'
11792 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11793 hardcode_libdir_separator_CXX
=:
11795 # Archives containing C++ object files must be created using
11796 # the KAI C++ compiler.
11797 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11800 # Rational C++ 2.4.1
11801 # FIXME: insert proper C++ library support
11805 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11806 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'
11807 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11808 echo "-hidden">> $lib.exp~
11809 $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~
11812 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11813 hardcode_libdir_separator_CXX
=:
11815 # Commands to make compiler produce verbose output that lists
11816 # what "hidden" libraries, object files and flags are used when
11817 # linking a shared library.
11819 # There doesn't appear to be a way to prevent this compiler from
11820 # explicitly linking system object files so we need to strip them
11821 # from the output so that they don't get included in the library
11823 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'
11826 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11827 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11828 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'
11830 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11831 hardcode_libdir_separator_CXX
=:
11833 # Commands to make compiler produce verbose output that lists
11834 # what "hidden" libraries, object files and flags are used when
11835 # linking a shared library.
11836 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11839 # FIXME: insert proper C++ library support
11846 # FIXME: insert proper C++ library support
11850 case $cc_basename in
11853 # FIXME: insert proper C++ library support
11858 # FIXME: insert proper C++ library support
11862 # FIXME: insert proper C++ library support
11868 case $cc_basename in
11870 # Sun C++ 4.2, 5.x and Centerline C++
11871 archive_cmds_need_lc_CXX
=yes
11872 no_undefined_flag_CXX
=' -zdefs'
11873 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11874 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11875 $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'
11877 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11878 hardcode_shlibpath_var_CXX
=no
11880 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11882 # The compiler driver will combine and reorder linker options,
11883 # but understands `-z linker_flag'.
11884 # Supported since Solaris 2.6 (maybe 2.5.1?)
11885 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11888 link_all_deplibs_CXX
=yes
11890 output_verbose_link_cmd
='echo'
11892 # Archives containing C++ object files must be created using
11893 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11894 # necessary to make sure instantiated templates are included
11896 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11899 # Green Hills C++ Compiler
11900 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11902 # The C++ compiler must be used to create the archive.
11903 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11906 # GNU C++ compiler with Solaris linker
11907 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11908 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11909 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11910 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11911 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11912 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11914 # Commands to make compiler produce verbose output that lists
11915 # what "hidden" libraries, object files and flags are used when
11916 # linking a shared library.
11917 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11919 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11921 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11922 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11923 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11925 # Commands to make compiler produce verbose output that lists
11926 # what "hidden" libraries, object files and flags are used when
11927 # linking a shared library.
11928 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11931 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11933 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11935 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11942 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11943 no_undefined_flag_CXX
='${wl}-z,text'
11944 archive_cmds_need_lc_CXX
=no
11945 hardcode_shlibpath_var_CXX
=no
11946 runpath_var
='LD_RUN_PATH'
11948 case $cc_basename in
11950 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11951 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11954 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11955 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11959 sysv5
* | sco3.2v5
* | sco5v6
*)
11960 # Note: We can NOT use -z defs as we might desire, because we do not
11961 # link with -lc, and that would cause any symbols used from libc to
11962 # always be unresolved, which means just about no library would
11963 # ever link correctly. If we're not using GNU ld we use -z text
11964 # though, which does catch some bad symbols but isn't as heavy-handed
11966 # For security reasons, it is highly recommended that you always
11967 # use absolute paths for naming shared libraries, and exclude the
11968 # DT_RUNPATH tag from executables and libraries. But doing so
11969 # requires that you compile everything twice, which is a pain.
11970 # So that behaviour is only enabled if SCOABSPATH is set to a
11971 # non-empty value in the environment. Most likely only useful for
11972 # creating official distributions of packages.
11973 # This is a hack until libtool officially supports absolute path
11974 # names for shared libraries.
11975 no_undefined_flag_CXX
='${wl}-z,text'
11976 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11977 archive_cmds_need_lc_CXX
=no
11978 hardcode_shlibpath_var_CXX
=no
11979 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11980 hardcode_libdir_separator_CXX
=':'
11981 link_all_deplibs_CXX
=yes
11982 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11983 runpath_var
='LD_RUN_PATH'
11985 case $cc_basename in
11987 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11988 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11991 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11992 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11997 case $cc_basename in
11999 # NonStop-UX NCC 3.20
12000 # FIXME: insert proper C++ library support
12004 # FIXME: insert proper C++ library support
12010 # FIXME: insert proper C++ library support
12014 # FIXME: insert proper C++ library support
12018 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12019 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12020 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12026 cat > conftest.
$ac_ext <<EOF
12030 Foo (void) { a = 0; }
12036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12037 (eval $ac_compile) 2>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); }; then
12041 # Parse the compiler output and extract the necessary
12042 # objects, libraries and library flags.
12044 # Sentinel used to keep track of whether or not we are before
12045 # the conftest object file.
12046 pre_test_object_deps_done
=no
12048 # The `*' in the case matches for architectures that use `case' in
12049 # $output_verbose_cmd can trigger glob expansion during the loop
12050 # eval without this substitution.
12051 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12053 for p
in `eval $output_verbose_link_cmd`; do
12057 # Some compilers place space between "-{L,R}" and the path.
12058 # Remove the space.
12059 if test $p = "-L" \
12060 ||
test $p = "-R"; then
12067 if test "$pre_test_object_deps_done" = no
; then
12070 # Internal compiler library paths should come after those
12071 # provided the user. The postdeps already come after the
12072 # user supplied libs so there is no need to process them.
12073 if test -z "$compiler_lib_search_path_CXX"; then
12074 compiler_lib_search_path_CXX
="${prev}${p}"
12076 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12079 # The "-l" case would never come before the object being
12080 # linked, so don't bother handling this case.
12083 if test -z "$postdeps_CXX"; then
12084 postdeps_CXX
="${prev}${p}"
12086 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12092 # This assumes that the test object file only shows up
12093 # once in the compiler output.
12094 if test "$p" = "conftest.$objext"; then
12095 pre_test_object_deps_done
=yes
12099 if test "$pre_test_object_deps_done" = no
; then
12100 if test -z "$predep_objects_CXX"; then
12101 predep_objects_CXX
="$p"
12103 predep_objects_CXX
="$predep_objects_CXX $p"
12106 if test -z "$postdep_objects_CXX"; then
12107 postdep_objects_CXX
="$p"
12109 postdep_objects_CXX
="$postdep_objects_CXX $p"
12114 *) ;; # Ignore the rest.
12122 echo "libtool.m4: error: problem compiling CXX test program"
12125 $rm -f confest.
$objext
12127 # PORTME: override above test on systems where it is broken
12130 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12131 # hack all around it, let's just trust "g++" to DTRT.
12132 predep_objects_CXX
=
12133 postdep_objects_CXX
=
12138 case `$CC -V 2>&1 | sed 5q` in
12142 # The more standards-conforming stlport4 library is
12143 # incompatible with the Cstd library. Avoid specifying
12144 # it if it's in CXXFLAGS. Ignore libCrun as
12145 # -library=stlport4 depends on it.
12146 case " $CXX $CXXFLAGS " in
12147 *" -library=stlport4 "*)
12148 solaris_use_stlport4
=yes
12151 if test "$solaris_use_stlport4" != yes; then
12152 postdeps_CXX
='-library=Cstd -library=Crun'
12159 case $cc_basename in
12161 # The more standards-conforming stlport4 library is
12162 # incompatible with the Cstd library. Avoid specifying
12163 # it if it's in CXXFLAGS. Ignore libCrun as
12164 # -library=stlport4 depends on it.
12165 case " $CXX $CXXFLAGS " in
12166 *" -library=stlport4 "*)
12167 solaris_use_stlport4
=yes
12171 # Adding this requires a known-good setup of shared libraries for
12172 # Sun compiler versions before 5.6, else PIC objects from an old
12173 # archive will be linked into the output, leading to subtle bugs.
12174 if test "$solaris_use_stlport4" != yes; then
12175 postdeps_CXX
='-library=Cstd -library=Crun'
12183 case " $postdeps_CXX " in
12184 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12187 lt_prog_compiler_wl_CXX
=
12188 lt_prog_compiler_pic_CXX
=
12189 lt_prog_compiler_static_CXX
=
12191 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12192 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12194 # C++ specific cases for pic, static, wl, etc.
12195 if test "$GXX" = yes; then
12196 lt_prog_compiler_wl_CXX
='-Wl,'
12197 lt_prog_compiler_static_CXX
='-static'
12201 # All AIX code is PIC.
12202 if test "$host_cpu" = ia64
; then
12203 # AIX 5 now supports IA64 processor
12204 lt_prog_compiler_static_CXX
='-Bstatic'
12208 # FIXME: we need at least 68020 code to build shared libraries, but
12209 # adding the `-m68020' flag to GCC prevents building anything better,
12211 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12213 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12214 # PIC is the default for these OSes.
12216 mingw
* | cygwin
* | os2
* | pw32
*)
12217 # This hack is so that the source file can tell whether it is being
12218 # built for inclusion in a dll (and should export symbols for example).
12219 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12220 # (--disable-auto-import) libraries
12221 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12223 darwin
* | rhapsody
*)
12224 # PIC is the default on this platform
12225 # Common symbols not allowed in MH_DYLIB files
12226 lt_prog_compiler_pic_CXX
='-fno-common'
12229 # DJGPP does not support shared libraries at all
12230 lt_prog_compiler_pic_CXX
=
12233 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12234 # Instead, we relocate shared libraries at runtime.
12237 if test -d /usr
/nec
; then
12238 lt_prog_compiler_pic_CXX
=-Kconform_pic
12242 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12243 # not for PA HP-UX.
12248 lt_prog_compiler_pic_CXX
='-fPIC'
12253 lt_prog_compiler_pic_CXX
='-fPIC'
12259 # All AIX code is PIC.
12260 if test "$host_cpu" = ia64
; then
12261 # AIX 5 now supports IA64 processor
12262 lt_prog_compiler_static_CXX
='-Bstatic'
12264 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12268 case $cc_basename in
12270 # Green Hills C++ Compiler
12271 # _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"
12276 # PIC is the default on this platform
12277 # Common symbols not allowed in MH_DYLIB files
12278 case $cc_basename in
12280 lt_prog_compiler_pic_CXX
='-qnocommon'
12281 lt_prog_compiler_wl_CXX
='-Wl,'
12286 case $cc_basename in
12288 lt_prog_compiler_pic_CXX
='-KPIC'
12291 # Green Hills C++ Compiler
12292 lt_prog_compiler_pic_CXX
='-pic'
12298 freebsd
* | dragonfly
*)
12299 # FreeBSD uses GNU C++
12301 hpux9
* | hpux10
* | hpux11
*)
12302 case $cc_basename in
12304 lt_prog_compiler_wl_CXX
='-Wl,'
12305 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12306 if test "$host_cpu" != ia64
; then
12307 lt_prog_compiler_pic_CXX
='+Z'
12311 lt_prog_compiler_wl_CXX
='-Wl,'
12312 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12318 lt_prog_compiler_pic_CXX
='+Z'
12327 # This is c89, which is MS Visual C++ (no shared libs)
12328 # Anyone wants to do a port?
12330 irix5
* | irix6
* | nonstopux
*)
12331 case $cc_basename in
12333 lt_prog_compiler_wl_CXX
='-Wl,'
12334 lt_prog_compiler_static_CXX
='-non_shared'
12335 # CC pic flag -KPIC is the default.
12341 linux
* | k
*bsd
*-gnu)
12342 case $cc_basename in
12345 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12346 lt_prog_compiler_pic_CXX
='-fPIC'
12350 lt_prog_compiler_wl_CXX
='-Wl,'
12351 lt_prog_compiler_pic_CXX
='-KPIC'
12352 lt_prog_compiler_static_CXX
='-static'
12355 # Portland Group C++ compiler.
12356 lt_prog_compiler_wl_CXX
='-Wl,'
12357 lt_prog_compiler_pic_CXX
='-fpic'
12358 lt_prog_compiler_static_CXX
='-Bstatic'
12362 # Make sure the PIC flag is empty. It appears that all Alpha
12363 # Linux and Compaq Tru64 Unix objects are PIC.
12364 lt_prog_compiler_pic_CXX
=
12365 lt_prog_compiler_static_CXX
='-non_shared'
12368 case `$CC -V 2>&1 | sed 5q` in
12371 lt_prog_compiler_pic_CXX
='-KPIC'
12372 lt_prog_compiler_static_CXX
='-Bstatic'
12373 lt_prog_compiler_wl_CXX
='-Qoption ld '
12384 case $cc_basename in
12386 lt_prog_compiler_pic_CXX
='-W c,exportall'
12394 osf3
* | osf4
* | osf5
*)
12395 case $cc_basename in
12397 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12400 # Rational C++ 2.4.1
12401 lt_prog_compiler_pic_CXX
='-pic'
12404 # Digital/Compaq C++
12405 lt_prog_compiler_wl_CXX
='-Wl,'
12406 # Make sure the PIC flag is empty. It appears that all Alpha
12407 # Linux and Compaq Tru64 Unix objects are PIC.
12408 lt_prog_compiler_pic_CXX
=
12409 lt_prog_compiler_static_CXX
='-non_shared'
12418 case $cc_basename in
12420 # Sun C++ 4.2, 5.x and Centerline C++
12421 lt_prog_compiler_pic_CXX
='-KPIC'
12422 lt_prog_compiler_static_CXX
='-Bstatic'
12423 lt_prog_compiler_wl_CXX
='-Qoption ld '
12426 # Green Hills C++ Compiler
12427 lt_prog_compiler_pic_CXX
='-PIC'
12434 case $cc_basename in
12437 lt_prog_compiler_pic_CXX
='-pic'
12438 lt_prog_compiler_static_CXX
='-Bstatic'
12442 lt_prog_compiler_pic_CXX
='-pic'
12449 case $cc_basename in
12451 # NonStop-UX NCC 3.20
12452 lt_prog_compiler_pic_CXX
='-KPIC'
12458 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12459 case $cc_basename in
12461 lt_prog_compiler_wl_CXX
='-Wl,'
12462 lt_prog_compiler_pic_CXX
='-KPIC'
12463 lt_prog_compiler_static_CXX
='-Bstatic'
12470 lt_prog_compiler_can_build_shared_CXX
=no
12475 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12476 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12479 # Check to make sure the PIC flag actually works.
12481 if test -n "$lt_prog_compiler_pic_CXX"; then
12483 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12484 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12485 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12486 echo $ECHO_N "(cached) $ECHO_C" >&6
12488 lt_prog_compiler_pic_works_CXX
=no
12489 ac_outfile
=conftest.
$ac_objext
12490 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12491 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12492 # Insert the option either (1) after the last *FLAGS variable, or
12493 # (2) before a word containing "conftest.", or (3) at the end.
12494 # Note that $ac_compile itself does not contain backslashes and begins
12495 # with a dollar sign (not a hyphen), so the echo should work correctly.
12496 # The option is referenced via a variable to avoid confusing sed.
12497 lt_compile
=`echo "$ac_compile" | $SED \
12498 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12499 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12500 -e 's:$: $lt_compiler_flag:'`
12501 (eval echo "\"\$as_me:12501: $lt_compile\"" >&5)
12502 (eval "$lt_compile" 2>conftest.err
)
12504 cat conftest.err
>&5
12505 echo "$as_me:12505: \$? = $ac_status" >&5
12506 if (exit $ac_status) && test -s "$ac_outfile"; then
12507 # The compiler can only warn and ignore the option if not recognized
12508 # So say no if there are warnings other than the usual output.
12509 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12510 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12511 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12512 lt_prog_compiler_pic_works_CXX
=yes
12518 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12519 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12521 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12522 case $lt_prog_compiler_pic_CXX in
12524 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12527 lt_prog_compiler_pic_CXX
=
12528 lt_prog_compiler_can_build_shared_CXX
=no
12533 # For platforms which do not support PIC, -DPIC is meaningless:
12535 lt_prog_compiler_pic_CXX
=
12538 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12543 # Check to make sure the static flag actually works.
12545 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12546 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12547 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12548 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12549 echo $ECHO_N "(cached) $ECHO_C" >&6
12551 lt_prog_compiler_static_works_CXX
=no
12552 save_LDFLAGS
="$LDFLAGS"
12553 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12554 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12555 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12556 # The linker can only warn and ignore the option if not recognized
12557 # So say no if there are warnings
12558 if test -s conftest.err
; then
12559 # Append any errors to the config.log.
12560 cat conftest.err
1>&5
12561 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12562 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12563 if diff conftest.exp conftest.er2
>/dev
/null
; then
12564 lt_prog_compiler_static_works_CXX
=yes
12567 lt_prog_compiler_static_works_CXX
=yes
12571 LDFLAGS
="$save_LDFLAGS"
12574 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12575 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12577 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12580 lt_prog_compiler_static_CXX
=
12584 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12585 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12586 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12587 echo $ECHO_N "(cached) $ECHO_C" >&6
12589 lt_cv_prog_compiler_c_o_CXX
=no
12590 $rm -r conftest
2>/dev
/null
12594 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12596 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12597 # Insert the option either (1) after the last *FLAGS variable, or
12598 # (2) before a word containing "conftest.", or (3) at the end.
12599 # Note that $ac_compile itself does not contain backslashes and begins
12600 # with a dollar sign (not a hyphen), so the echo should work correctly.
12601 lt_compile
=`echo "$ac_compile" | $SED \
12602 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12603 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12604 -e 's:$: $lt_compiler_flag:'`
12605 (eval echo "\"\$as_me:12605: $lt_compile\"" >&5)
12606 (eval "$lt_compile" 2>out
/conftest.err
)
12608 cat out
/conftest.err
>&5
12609 echo "$as_me:12609: \$? = $ac_status" >&5
12610 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12612 # The compiler can only warn and ignore the option if not recognized
12613 # So say no if there are warnings
12614 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12615 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12616 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12617 lt_cv_prog_compiler_c_o_CXX
=yes
12622 # SGI C++ compiler will create directory out/ii_files/ for
12623 # template instantiation
12624 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12625 $rm out
/* && rmdir out
12631 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12632 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12635 hard_links
="nottested"
12636 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12637 # do not overwrite the value of need_locks provided by the user
12638 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12639 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12642 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12644 ln conftest.a conftest.b
2>&5 || hard_links
=no
12645 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12646 { echo "$as_me:$LINENO: result: $hard_links" >&5
12647 echo "${ECHO_T}$hard_links" >&6; }
12648 if test "$hard_links" = no
; then
12649 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12650 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12657 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12658 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12660 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12663 # If we're using GNU nm, then we don't want the "-C" option.
12664 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12665 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12666 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'
12668 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'
12672 export_symbols_cmds_CXX
="$ltdll_cmds"
12675 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'
12678 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12682 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12683 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12684 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12687 # Do we need to explicitly link libc?
12689 case "x$archive_cmds_need_lc_CXX" in
12691 # Assume -lc should be added
12692 archive_cmds_need_lc_CXX
=yes
12694 if test "$enable_shared" = yes && test "$GCC" = yes; then
12695 case $archive_cmds_CXX in
12697 # FIXME: we may have to deal with multi-command sequences.
12700 # Test whether the compiler implicitly links with -lc since on some
12701 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12702 # to ld, don't add -lc before -lgcc.
12703 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12704 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12706 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12709 (eval $ac_compile) 2>&5
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); } 2>conftest.err
; then
12715 libobjs
=conftest.
$ac_objext
12717 wl
=$lt_prog_compiler_wl_CXX
12718 pic_flag
=$lt_prog_compiler_pic_CXX
12724 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12725 allow_undefined_flag_CXX
=
12726 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12727 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); }
12732 archive_cmds_need_lc_CXX
=no
12734 archive_cmds_need_lc_CXX
=yes
12736 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12738 cat conftest.err
1>&5
12741 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12742 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12749 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12750 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12751 library_names_spec
=
12752 libname_spec
='lib$name'
12756 postuninstall_cmds
=
12760 shlibpath_overrides_runpath
=unknown
12762 dynamic_linker
="$host_os ld.so"
12763 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12765 need_lib_prefix
=unknown
12766 hardcode_into_libs
=no
12768 # when you set need_version to no, make sure it does not cause -set_version
12769 # flags to be left without arguments
12770 need_version
=unknown
12775 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12776 shlibpath_var
=LIBPATH
12778 # AIX 3 has no versioning support, so we append a major version to the name.
12779 soname_spec
='${libname}${release}${shared_ext}$major'
12786 hardcode_into_libs
=yes
12787 if test "$host_cpu" = ia64
; then
12788 # AIX 5 supports IA64
12789 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12790 shlibpath_var
=LD_LIBRARY_PATH
12792 # With GCC up to 2.95.x, collect2 would create an import file
12793 # for dependence libraries. The import file would start with
12794 # the line `#! .'. This would cause the generated library to
12795 # depend on `.', always an invalid library. This was fixed in
12796 # development snapshots of GCC prior to 3.0.
12798 aix4 | aix4.
[01] | aix4.
[01].
*)
12799 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12801 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12804 can_build_shared
=no
12808 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12809 # soname into executable. Probably we can add versioning support to
12810 # collect2, so additional links can be useful in future.
12811 if test "$aix_use_runtimelinking" = yes; then
12812 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12813 # instead of lib<name>.a to let people know that these are not
12814 # typical AIX shared libraries.
12815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12817 # We preserve .a as extension for shared libraries through AIX4.2
12818 # and later when we are not doing run time linking.
12819 library_names_spec
='${libname}${release}.a $libname.a'
12820 soname_spec
='${libname}${release}${shared_ext}$major'
12822 shlibpath_var
=LIBPATH
12827 library_names_spec
='$libname.ixlibrary $libname.a'
12828 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12829 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'
12833 library_names_spec
='${libname}${shared_ext}'
12834 dynamic_linker
="$host_os ld.so"
12835 shlibpath_var
=LIBRARY_PATH
12841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12842 soname_spec
='${libname}${release}${shared_ext}$major'
12843 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12844 shlibpath_var
=LD_LIBRARY_PATH
12845 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12846 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12847 # the default ld.so.conf also contains /usr/contrib/lib and
12848 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12849 # libtool to hard-code these into programs
12852 cygwin
* | mingw
* | pw32
*)
12853 version_type
=windows
12858 case $GCC,$host_os in
12859 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12860 library_names_spec
='$libname.dll.a'
12861 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12862 postinstall_cmds
='base_file=`basename \${file}`~
12863 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12864 dldir=$destdir/`dirname \$dlpath`~
12865 test -d \$dldir || mkdir -p \$dldir~
12866 $install_prog $dir/$dlname \$dldir/$dlname~
12867 chmod a+x \$dldir/$dlname'
12868 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12869 dlpath=$dir/\$dldll~
12871 shlibpath_overrides_runpath
=yes
12875 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12876 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12877 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12880 # MinGW DLLs use traditional 'lib' prefix
12881 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12882 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12883 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12884 # It is most probably a Windows format PATH printed by
12885 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12886 # path with ; separators, and with drive letters. We can handle the
12887 # drive letters (cygwin fileutils understands them), so leave them,
12888 # especially as we might pass files found there to a mingw objdump,
12889 # which wouldn't understand a cygwinified path. Ahh.
12890 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12892 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12896 # pw32 DLLs use 'pw' prefix rather than 'lib'
12897 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12903 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12906 dynamic_linker
='Win32 ld.exe'
12907 # FIXME: first we should search . and the directory the executable is in
12911 darwin
* | rhapsody
*)
12912 dynamic_linker
="$host_os dyld"
12913 version_type
=darwin
12916 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12917 soname_spec
='${libname}${release}${major}$shared_ext'
12918 shlibpath_overrides_runpath
=yes
12919 shlibpath_var
=DYLD_LIBRARY_PATH
12920 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12922 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12930 soname_spec
='${libname}${release}${shared_ext}$major'
12931 shlibpath_var
=LD_LIBRARY_PATH
12938 freebsd
* | dragonfly
*)
12939 # DragonFly does not have aout. When/if they implement a new
12940 # versioning mechanism, adjust this.
12941 if test -x /usr
/bin
/objformat
; then
12942 objformat
=`/usr/bin/objformat`
12945 freebsd
[123]*) objformat
=aout
;;
12946 *) objformat
=elf
;;
12949 version_type
=freebsd-
$objformat
12950 case $version_type in
12952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12957 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12961 shlibpath_var
=LD_LIBRARY_PATH
12964 shlibpath_overrides_runpath
=yes
12966 freebsd3.
[01]* | freebsdelf3.
[01]*)
12967 shlibpath_overrides_runpath
=yes
12968 hardcode_into_libs
=yes
12970 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12971 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12972 shlibpath_overrides_runpath
=no
12973 hardcode_into_libs
=yes
12975 *) # from 4.6 on, and DragonFly
12976 shlibpath_overrides_runpath
=yes
12977 hardcode_into_libs
=yes
12986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12987 soname_spec
='${libname}${release}${shared_ext}$major'
12988 shlibpath_var
=LD_LIBRARY_PATH
12989 hardcode_into_libs
=yes
12992 hpux9
* | hpux10
* | hpux11
*)
12993 # Give a soname corresponding to the major version so that dld.sl refuses to
12994 # link against other versions.
13001 hardcode_into_libs
=yes
13002 dynamic_linker
="$host_os dld.so"
13003 shlibpath_var
=LD_LIBRARY_PATH
13004 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13006 soname_spec
='${libname}${release}${shared_ext}$major'
13007 if test "X$HPUX_IA64_MODE" = X32
; then
13008 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13010 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13012 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13016 hardcode_into_libs
=yes
13017 dynamic_linker
="$host_os dld.sl"
13018 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13019 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13021 soname_spec
='${libname}${release}${shared_ext}$major'
13022 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13023 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13027 dynamic_linker
="$host_os dld.sl"
13028 shlibpath_var
=SHLIB_PATH
13029 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13031 soname_spec
='${libname}${release}${shared_ext}$major'
13034 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13035 postinstall_cmds
='chmod 555 $lib'
13042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13043 soname_spec
='${libname}${release}${shared_ext}$major'
13044 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13045 shlibpath_var
=LD_LIBRARY_PATH
13046 shlibpath_overrides_runpath
=no
13047 hardcode_into_libs
=yes
13050 irix5
* | irix6
* | nonstopux
*)
13052 nonstopux
*) version_type
=nonstopux
;;
13054 if test "$lt_cv_prog_gnu_ld" = yes; then
13062 soname_spec
='${libname}${release}${shared_ext}$major'
13063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13065 irix5
* | nonstopux
*)
13066 libsuff
= shlibsuff
=
13069 case $LD in # libtool.m4 will add one of these switches to LD
13070 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13071 libsuff
= shlibsuff
= libmagic
=32-bit;;
13072 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13073 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13074 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13075 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13076 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13080 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13081 shlibpath_overrides_runpath
=no
13082 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13083 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13084 hardcode_into_libs
=yes
13087 # No shared lib support for Linux oldld, aout, or coff.
13088 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13092 # This must be Linux ELF.
13093 linux
* | k
*bsd
*-gnu)
13097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13098 soname_spec
='${libname}${release}${shared_ext}$major'
13099 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13100 shlibpath_var
=LD_LIBRARY_PATH
13101 shlibpath_overrides_runpath
=no
13102 # This implies no fast_install, which is unacceptable.
13103 # Some rework will be needed to allow for fast_install
13104 # before this can be enabled.
13105 hardcode_into_libs
=yes
13106 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13107 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13109 # Append ld.so.conf contents to the search path
13110 if test -f /etc
/ld.so.conf
; then
13111 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' ' '`
13112 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13115 # We used to test for /lib/ld.so.1 and disable shared libraries on
13116 # powerpc, because MkLinux only supported shared libraries with the
13117 # GNU dynamic linker. Since this was broken with cross compilers,
13118 # most powerpc-linux boxes support dynamic linking these days and
13119 # people can always --disable-shared, the test was removed, and we
13120 # assume the GNU/Linux dynamic linker is in use.
13121 dynamic_linker
='GNU/Linux ld.so'
13128 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13130 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13131 dynamic_linker
='NetBSD (a.out) ld.so'
13133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13134 soname_spec
='${libname}${release}${shared_ext}$major'
13135 dynamic_linker
='NetBSD ld.elf_so'
13137 shlibpath_var
=LD_LIBRARY_PATH
13138 shlibpath_overrides_runpath
=yes
13139 hardcode_into_libs
=yes
13144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13145 shlibpath_var
=LD_LIBRARY_PATH
13146 shlibpath_overrides_runpath
=yes
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
13161 sys_lib_dlsearch_path_spec
="/usr/lib"
13163 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13165 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13166 *) need_version
=no
;;
13168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13169 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13170 shlibpath_var
=LD_LIBRARY_PATH
13171 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13173 openbsd2.
[89] | openbsd2.
[89].
*)
13174 shlibpath_overrides_runpath
=no
13177 shlibpath_overrides_runpath
=yes
13181 shlibpath_overrides_runpath
=yes
13186 libname_spec
='$name'
13189 library_names_spec
='$libname${shared_ext} $libname.a'
13190 dynamic_linker
='OS/2 ld.exe'
13191 shlibpath_var
=LIBPATH
13194 osf3
* | osf4
* | osf5
*)
13198 soname_spec
='${libname}${release}${shared_ext}$major'
13199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13200 shlibpath_var
=LD_LIBRARY_PATH
13201 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13202 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13214 soname_spec
='${libname}${release}${shared_ext}$major'
13215 shlibpath_var
=LD_LIBRARY_PATH
13216 shlibpath_overrides_runpath
=yes
13217 hardcode_into_libs
=yes
13218 # ldd complains unless libraries are executable
13219 postinstall_cmds
='chmod +x $lib'
13224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13225 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13226 shlibpath_var
=LD_LIBRARY_PATH
13227 shlibpath_overrides_runpath
=yes
13228 if test "$with_gnu_ld" = yes; then
13236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13237 soname_spec
='${libname}${release}${shared_ext}$major'
13238 shlibpath_var
=LD_LIBRARY_PATH
13239 case $host_vendor in
13241 shlibpath_overrides_runpath
=no
13243 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13244 runpath_var
=LD_RUN_PATH
13252 shlibpath_overrides_runpath
=no
13253 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13259 if test -d /usr
/nec
;then
13261 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13262 soname_spec
='$libname${shared_ext}.$major'
13263 shlibpath_var
=LD_LIBRARY_PATH
13267 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13268 version_type
=freebsd-elf
13271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13272 soname_spec
='${libname}${release}${shared_ext}$major'
13273 shlibpath_var
=LD_LIBRARY_PATH
13274 hardcode_into_libs
=yes
13275 if test "$with_gnu_ld" = yes; then
13276 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13277 shlibpath_overrides_runpath
=no
13279 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13280 shlibpath_overrides_runpath
=yes
13283 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13287 sys_lib_dlsearch_path_spec
='/usr/lib'
13292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13293 soname_spec
='${libname}${release}${shared_ext}$major'
13294 shlibpath_var
=LD_LIBRARY_PATH
13301 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13302 echo "${ECHO_T}$dynamic_linker" >&6; }
13303 test "$dynamic_linker" = no
&& can_build_shared
=no
13305 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13306 if test "$GCC" = yes; then
13307 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13310 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13311 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13312 hardcode_action_CXX
=
13313 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13314 test -n "$runpath_var_CXX" || \
13315 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13317 # We can hardcode non-existant directories.
13318 if test "$hardcode_direct_CXX" != no
&&
13319 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13320 # have to relink, otherwise we might link with an installed library
13321 # when we should be linking with a yet-to-be-installed one
13322 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13323 test "$hardcode_minus_L_CXX" != no
; then
13324 # Linking always hardcodes the temporary library directory.
13325 hardcode_action_CXX
=relink
13327 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13328 hardcode_action_CXX
=immediate
13331 # We cannot hardcode anything, or else we can only hardcode existing
13333 hardcode_action_CXX
=unsupported
13335 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13336 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13338 if test "$hardcode_action_CXX" = relink
; then
13339 # Fast installation is not supported
13340 enable_fast_install
=no
13341 elif test "$shlibpath_overrides_runpath" = yes ||
13342 test "$enable_shared" = no
; then
13343 # Fast installation is not necessary
13344 enable_fast_install
=needless
13348 # The else clause should only fire when bootstrapping the
13349 # libtool distribution, otherwise you forgot to ship ltmain.sh
13350 # with your package, and you will get complaints that there are
13351 # no rules to generate ltmain.sh.
13352 if test -f "$ltmain"; then
13353 # See if we are running on zsh, and set the options which allow our commands through
13354 # without removal of \ escapes.
13355 if test -n "${ZSH_VERSION+set}" ; then
13356 setopt NO_GLOB_SUBST
13358 # Now quote all the things that may contain metacharacters while being
13359 # careful not to overquote the AC_SUBSTed values. We take copies of the
13360 # variables and quote the copies for generation of the libtool script.
13361 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13363 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13364 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13365 deplibs_check_method reload_flag reload_cmds need_locks \
13366 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13367 lt_cv_sys_global_symbol_to_c_name_address \
13368 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13369 old_postinstall_cmds old_postuninstall_cmds \
13373 lt_prog_compiler_wl_CXX \
13374 lt_prog_compiler_pic_CXX \
13375 lt_prog_compiler_static_CXX \
13376 lt_prog_compiler_no_builtin_flag_CXX \
13377 export_dynamic_flag_spec_CXX \
13378 thread_safe_flag_spec_CXX \
13379 whole_archive_flag_spec_CXX \
13380 enable_shared_with_static_runtimes_CXX \
13381 old_archive_cmds_CXX \
13382 old_archive_from_new_cmds_CXX \
13383 predep_objects_CXX \
13384 postdep_objects_CXX \
13387 compiler_lib_search_path_CXX \
13389 archive_expsym_cmds_CXX \
13390 postinstall_cmds_CXX \
13391 postuninstall_cmds_CXX \
13392 old_archive_from_expsyms_cmds_CXX \
13393 allow_undefined_flag_CXX \
13394 no_undefined_flag_CXX \
13395 export_symbols_cmds_CXX \
13396 hardcode_libdir_flag_spec_CXX \
13397 hardcode_libdir_flag_spec_ld_CXX \
13398 hardcode_libdir_separator_CXX \
13399 hardcode_automatic_CXX \
13401 module_expsym_cmds_CXX \
13402 lt_cv_prog_compiler_c_o_CXX \
13403 fix_srcfile_path_CXX \
13404 exclude_expsyms_CXX \
13405 include_expsyms_CXX
; do
13408 old_archive_cmds_CXX | \
13409 old_archive_from_new_cmds_CXX | \
13410 archive_cmds_CXX | \
13411 archive_expsym_cmds_CXX | \
13412 module_cmds_CXX | \
13413 module_expsym_cmds_CXX | \
13414 old_archive_from_expsyms_cmds_CXX | \
13415 export_symbols_cmds_CXX | \
13416 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13417 postinstall_cmds | postuninstall_cmds | \
13418 old_postinstall_cmds | old_postuninstall_cmds | \
13419 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13420 # Double-quote double-evaled strings.
13421 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13424 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13430 *'\$0 --fallback-echo"')
13431 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13437 cat <<__EOF__ >> "$cfgfile"
13438 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13440 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13442 # Shell to use when invoking shell scripts.
13445 # Whether or not to build shared libraries.
13446 build_libtool_libs=$enable_shared
13448 # Whether or not to build static libraries.
13449 build_old_libs=$enable_static
13451 # Whether or not to add -lc for building shared libraries.
13452 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13454 # Whether or not to disallow shared libs when runtime libs are static
13455 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13457 # Whether or not to optimize for fast installation.
13458 fast_install=$enable_fast_install
13461 host_alias=$host_alias
13465 # The build system.
13466 build_alias=$build_alias
13470 # An echo program that does not interpret backslashes.
13475 AR_FLAGS=$lt_AR_FLAGS
13480 # LTCC compiler flags.
13481 LTCFLAGS=$lt_LTCFLAGS
13483 # A language-specific compiler.
13484 CC=$lt_compiler_CXX
13486 # Is the compiler the GNU C compiler?
13492 # The linker used to build libraries.
13495 # Whether we need hard or soft links.
13498 # A BSD-compatible nm program.
13501 # A symbol stripping program
13504 # Used to examine libraries when file_magic_cmd begins "file"
13505 MAGIC_CMD=$MAGIC_CMD
13507 # Used on cygwin: DLL creation program.
13510 # Used on cygwin: object dumper.
13513 # Used on cygwin: assembler.
13516 # The name of the directory that contains temporary libtool files.
13519 # How to create reloadable object files.
13520 reload_flag=$lt_reload_flag
13521 reload_cmds=$lt_reload_cmds
13523 # How to pass a linker flag through the compiler.
13524 wl=$lt_lt_prog_compiler_wl_CXX
13526 # Object file suffix (normally "o").
13527 objext="$ac_objext"
13529 # Old archive suffix (normally "a").
13532 # Shared library suffix (normally ".so").
13533 shrext_cmds='$shrext_cmds'
13535 # Executable file suffix (normally "").
13538 # Additional compiler flags for building library objects.
13539 pic_flag=$lt_lt_prog_compiler_pic_CXX
13542 # What is the maximum length of a command?
13543 max_cmd_len=$lt_cv_sys_max_cmd_len
13545 # Does compiler simultaneously support -c and -o options?
13546 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13548 # Must we lock files when doing compilation?
13549 need_locks=$lt_need_locks
13551 # Do we need the lib prefix for modules?
13552 need_lib_prefix=$need_lib_prefix
13554 # Do we need a version for libraries?
13555 need_version=$need_version
13557 # Whether dlopen is supported.
13558 dlopen_support=$enable_dlopen
13560 # Whether dlopen of programs is supported.
13561 dlopen_self=$enable_dlopen_self
13563 # Whether dlopen of statically linked programs is supported.
13564 dlopen_self_static=$enable_dlopen_self_static
13566 # Compiler flag to prevent dynamic linking.
13567 link_static_flag=$lt_lt_prog_compiler_static_CXX
13569 # Compiler flag to turn off builtin functions.
13570 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13572 # Compiler flag to allow reflexive dlopens.
13573 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13575 # Compiler flag to generate shared objects directly from archives.
13576 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13578 # Compiler flag to generate thread-safe objects.
13579 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13581 # Library versioning type.
13582 version_type=$version_type
13584 # Format of library name prefix.
13585 libname_spec=$lt_libname_spec
13587 # List of archive names. First name is the real one, the rest are links.
13588 # The last name is the one that the linker finds with -lNAME.
13589 library_names_spec=$lt_library_names_spec
13591 # The coded name of the library, if different from the real name.
13592 soname_spec=$lt_soname_spec
13594 # Commands used to build and install an old-style archive.
13596 old_archive_cmds=$lt_old_archive_cmds_CXX
13597 old_postinstall_cmds=$lt_old_postinstall_cmds
13598 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13600 # Create an old-style archive from a shared archive.
13601 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13603 # Create a temporary old-style archive to link instead of a shared archive.
13604 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13606 # Commands used to build and install a shared archive.
13607 archive_cmds=$lt_archive_cmds_CXX
13608 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13609 postinstall_cmds=$lt_postinstall_cmds
13610 postuninstall_cmds=$lt_postuninstall_cmds
13612 # Commands used to build a loadable module (assumed same as above if empty)
13613 module_cmds=$lt_module_cmds_CXX
13614 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13616 # Commands to strip libraries.
13617 old_striplib=$lt_old_striplib
13618 striplib=$lt_striplib
13620 # Dependencies to place before the objects being linked to create a
13622 predep_objects=$lt_predep_objects_CXX
13624 # Dependencies to place after the objects being linked to create a
13626 postdep_objects=$lt_postdep_objects_CXX
13628 # Dependencies to place before the objects being linked to create a
13630 predeps=$lt_predeps_CXX
13632 # Dependencies to place after the objects being linked to create a
13634 postdeps=$lt_postdeps_CXX
13636 # The library search path used internally by the compiler when linking
13637 # a shared library.
13638 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13640 # Method to check whether dependent libraries are shared objects.
13641 deplibs_check_method=$lt_deplibs_check_method
13643 # Command to use when deplibs_check_method == file_magic.
13644 file_magic_cmd=$lt_file_magic_cmd
13646 # Flag that allows shared libraries with undefined symbols to be built.
13647 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13649 # Flag that forces no undefined symbols.
13650 no_undefined_flag=$lt_no_undefined_flag_CXX
13652 # Commands used to finish a libtool library installation in a directory.
13653 finish_cmds=$lt_finish_cmds
13655 # Same as above, but a single script fragment to be evaled but not shown.
13656 finish_eval=$lt_finish_eval
13658 # Take the output of nm and produce a listing of raw symbols and C names.
13659 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13661 # Transform the output of nm in a proper C declaration
13662 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13664 # Transform the output of nm in a C name address pair
13665 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13667 # This is the shared library runtime path variable.
13668 runpath_var=$runpath_var
13670 # This is the shared library path variable.
13671 shlibpath_var=$shlibpath_var
13673 # Is shlibpath searched before the hard-coded library search path?
13674 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13676 # How to hardcode a shared library path into an executable.
13677 hardcode_action=$hardcode_action_CXX
13679 # Whether we should hardcode library paths into libraries.
13680 hardcode_into_libs=$hardcode_into_libs
13682 # Flag to hardcode \$libdir into a binary during linking.
13683 # This must work even if \$libdir does not exist.
13684 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13686 # If ld is used when linking, flag to hardcode \$libdir into
13687 # a binary during linking. This must work even if \$libdir does
13689 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13691 # Whether we need a single -rpath flag with a separated argument.
13692 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13694 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13695 # resulting binary.
13696 hardcode_direct=$hardcode_direct_CXX
13698 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13699 # resulting binary.
13700 hardcode_minus_L=$hardcode_minus_L_CXX
13702 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13703 # the resulting binary.
13704 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13706 # Set to yes if building a shared library automatically hardcodes DIR into the library
13707 # and all subsequent libraries and executables linked against it.
13708 hardcode_automatic=$hardcode_automatic_CXX
13710 # Variables whose values should be saved in libtool wrapper scripts and
13711 # restored at relink time.
13712 variables_saved_for_relink="$variables_saved_for_relink"
13714 # Whether libtool must link a program against all its dependency libraries.
13715 link_all_deplibs=$link_all_deplibs_CXX
13717 # Compile-time system search path for libraries
13718 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13720 # Run-time system search path for libraries
13721 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13723 # Fix the shell variable \$srcfile for the compiler.
13724 fix_srcfile_path=$lt_fix_srcfile_path
13726 # Set to yes if exported symbols are required.
13727 always_export_symbols=$always_export_symbols_CXX
13729 # The commands to list exported symbols.
13730 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13732 # The commands to extract the exported symbol list from a shared archive.
13733 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13735 # Symbols that should not be listed in the preloaded symbols.
13736 exclude_expsyms=$lt_exclude_expsyms_CXX
13738 # Symbols that must always be exported.
13739 include_expsyms=$lt_include_expsyms_CXX
13741 # ### END LIBTOOL TAG CONFIG: $tagname
13747 # If there is no Makefile yet, we rely on a make rule to execute
13748 # `config.status --recheck' to rerun these tests and create the
13749 # libtool script then.
13750 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13751 if test -f "$ltmain_in"; then
13752 test -f Makefile
&& make "$ltmain"
13758 ac_cpp
='$CPP $CPPFLAGS'
13759 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13760 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13761 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13767 with_gnu_ldcxx
=$with_gnu_ld
13768 with_gnu_ld
=$lt_save_with_gnu_ld
13769 lt_cv_path_LDCXX
=$lt_cv_path_LD
13770 lt_cv_path_LD
=$lt_save_path_LD
13771 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13772 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13780 if test -n "$F77" && test "X$F77" != "Xno"; then
13783 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13784 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13785 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13788 archive_cmds_need_lc_F77
=no
13789 allow_undefined_flag_F77
=
13790 always_export_symbols_F77
=no
13791 archive_expsym_cmds_F77
=
13792 export_dynamic_flag_spec_F77
=
13793 hardcode_direct_F77
=no
13794 hardcode_libdir_flag_spec_F77
=
13795 hardcode_libdir_flag_spec_ld_F77
=
13796 hardcode_libdir_separator_F77
=
13797 hardcode_minus_L_F77
=no
13798 hardcode_automatic_F77
=no
13800 module_expsym_cmds_F77
=
13801 link_all_deplibs_F77
=unknown
13802 old_archive_cmds_F77
=$old_archive_cmds
13803 no_undefined_flag_F77
=
13804 whole_archive_flag_spec_F77
=
13805 enable_shared_with_static_runtimes_F77
=no
13807 # Source file extension for f77 test sources.
13810 # Object file extension for compiled f77 test sources.
13814 # Code to be used in simple compile tests
13815 lt_simple_compile_test_code
="\
13821 # Code to be used in simple link tests
13822 lt_simple_link_test_code
="\
13827 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13829 # If no C compiler was specified, use CC.
13832 # If no C compiler flags were specified, use CFLAGS.
13833 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13835 # Allow CC to be a program name with arguments.
13839 # save warnings/boilerplate of simple test code
13840 ac_outfile
=conftest.
$ac_objext
13841 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13842 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13843 _lt_compiler_boilerplate
=`cat conftest.err`
13846 ac_outfile
=conftest.
$ac_objext
13847 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13848 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13849 _lt_linker_boilerplate
=`cat conftest.err`
13853 # Allow CC to be a program name with arguments.
13858 for cc_temp
in $compiler""; do
13860 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13861 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13866 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13869 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13870 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13871 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13872 echo "${ECHO_T}$can_build_shared" >&6; }
13874 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13875 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13876 test "$can_build_shared" = "no" && enable_shared
=no
13878 # On AIX, shared libraries and static libraries use the same namespace, and
13879 # are all built from PIC.
13882 test "$enable_shared" = yes && enable_static
=no
13883 if test -n "$RANLIB"; then
13884 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13885 postinstall_cmds
='$RANLIB $lib'
13889 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13890 test "$enable_shared" = yes && enable_static
=no
13894 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13895 echo "${ECHO_T}$enable_shared" >&6; }
13897 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13898 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13899 # Make sure either enable_shared or enable_static is yes.
13900 test "$enable_shared" = yes || enable_static
=yes
13901 { echo "$as_me:$LINENO: result: $enable_static" >&5
13902 echo "${ECHO_T}$enable_static" >&6; }
13907 lt_prog_compiler_wl_F77
=
13908 lt_prog_compiler_pic_F77
=
13909 lt_prog_compiler_static_F77
=
13911 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13912 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13914 if test "$GCC" = yes; then
13915 lt_prog_compiler_wl_F77
='-Wl,'
13916 lt_prog_compiler_static_F77
='-static'
13920 # All AIX code is PIC.
13921 if test "$host_cpu" = ia64
; then
13922 # AIX 5 now supports IA64 processor
13923 lt_prog_compiler_static_F77
='-Bstatic'
13928 # FIXME: we need at least 68020 code to build shared libraries, but
13929 # adding the `-m68020' flag to GCC prevents building anything better,
13931 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13934 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13935 # PIC is the default for these OSes.
13938 mingw
* | cygwin
* | pw32
* | os2
*)
13939 # This hack is so that the source file can tell whether it is being
13940 # built for inclusion in a dll (and should export symbols for example).
13941 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13942 # (--disable-auto-import) libraries
13943 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13946 darwin
* | rhapsody
*)
13947 # PIC is the default on this platform
13948 # Common symbols not allowed in MH_DYLIB files
13949 lt_prog_compiler_pic_F77
='-fno-common'
13953 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13954 # Instead, we relocate shared libraries at runtime.
13958 # Just because we use GCC doesn't mean we suddenly get shared libraries
13959 # on systems that don't support them.
13960 lt_prog_compiler_can_build_shared_F77
=no
13965 if test -d /usr
/nec
; then
13966 lt_prog_compiler_pic_F77
=-Kconform_pic
13971 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13972 # not for PA HP-UX.
13978 lt_prog_compiler_pic_F77
='-fPIC'
13984 lt_prog_compiler_pic_F77
='-fPIC'
13988 # PORTME Check for flag to pass linker flags through the system compiler.
13991 lt_prog_compiler_wl_F77
='-Wl,'
13992 if test "$host_cpu" = ia64
; then
13993 # AIX 5 now supports IA64 processor
13994 lt_prog_compiler_static_F77
='-Bstatic'
13996 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14000 # PIC is the default on this platform
14001 # Common symbols not allowed in MH_DYLIB files
14002 case $cc_basename in
14004 lt_prog_compiler_pic_F77
='-qnocommon'
14005 lt_prog_compiler_wl_F77
='-Wl,'
14010 mingw
* | cygwin
* | pw32
* | os2
*)
14011 # This hack is so that the source file can tell whether it is being
14012 # built for inclusion in a dll (and should export symbols for example).
14013 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14016 hpux9
* | hpux10
* | hpux11
*)
14017 lt_prog_compiler_wl_F77
='-Wl,'
14018 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14019 # not for PA HP-UX.
14025 lt_prog_compiler_pic_F77
='+Z'
14028 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14029 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14032 irix5
* | irix6
* | nonstopux
*)
14033 lt_prog_compiler_wl_F77
='-Wl,'
14034 # PIC (with -KPIC) is the default.
14035 lt_prog_compiler_static_F77
='-non_shared'
14039 lt_prog_compiler_pic_F77
='-KPIC'
14040 lt_prog_compiler_static_F77
='-Bstatic'
14043 linux
* | k
*bsd
*-gnu)
14044 case $cc_basename in
14046 lt_prog_compiler_wl_F77
='-Wl,'
14047 lt_prog_compiler_pic_F77
='-KPIC'
14048 lt_prog_compiler_static_F77
='-static'
14050 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14051 # Portland Group compilers (*not* the Pentium gcc compiler,
14052 # which looks to be a dead project)
14053 lt_prog_compiler_wl_F77
='-Wl,'
14054 lt_prog_compiler_pic_F77
='-fpic'
14055 lt_prog_compiler_static_F77
='-Bstatic'
14058 lt_prog_compiler_wl_F77
='-Wl,'
14059 # All Alpha code is PIC.
14060 lt_prog_compiler_static_F77
='-non_shared'
14063 case `$CC -V 2>&1 | sed 5q` in
14066 lt_prog_compiler_pic_F77
='-KPIC'
14067 lt_prog_compiler_static_F77
='-Bstatic'
14068 lt_prog_compiler_wl_F77
='-Wl,'
14071 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14072 lt_prog_compiler_pic_F77
='-KPIC'
14073 lt_prog_compiler_static_F77
='-Bstatic'
14074 lt_prog_compiler_wl_F77
=''
14081 osf3
* | osf4
* | osf5
*)
14082 lt_prog_compiler_wl_F77
='-Wl,'
14083 # All OSF/1 code is PIC.
14084 lt_prog_compiler_static_F77
='-non_shared'
14088 lt_prog_compiler_static_F77
='-non_shared'
14092 lt_prog_compiler_pic_F77
='-KPIC'
14093 lt_prog_compiler_static_F77
='-Bstatic'
14094 case $cc_basename in
14095 f77
* | f90
* | f95
*)
14096 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14098 lt_prog_compiler_wl_F77
='-Wl,';;
14103 lt_prog_compiler_wl_F77
='-Qoption ld '
14104 lt_prog_compiler_pic_F77
='-PIC'
14105 lt_prog_compiler_static_F77
='-Bstatic'
14108 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14109 lt_prog_compiler_wl_F77
='-Wl,'
14110 lt_prog_compiler_pic_F77
='-KPIC'
14111 lt_prog_compiler_static_F77
='-Bstatic'
14115 if test -d /usr
/nec
;then
14116 lt_prog_compiler_pic_F77
='-Kconform_pic'
14117 lt_prog_compiler_static_F77
='-Bstatic'
14121 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14122 lt_prog_compiler_wl_F77
='-Wl,'
14123 lt_prog_compiler_pic_F77
='-KPIC'
14124 lt_prog_compiler_static_F77
='-Bstatic'
14128 lt_prog_compiler_wl_F77
='-Wl,'
14129 lt_prog_compiler_can_build_shared_F77
=no
14133 lt_prog_compiler_pic_F77
='-pic'
14134 lt_prog_compiler_static_F77
='-Bstatic'
14138 lt_prog_compiler_can_build_shared_F77
=no
14143 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14144 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14147 # Check to make sure the PIC flag actually works.
14149 if test -n "$lt_prog_compiler_pic_F77"; then
14151 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14152 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14153 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14154 echo $ECHO_N "(cached) $ECHO_C" >&6
14156 lt_prog_compiler_pic_works_F77
=no
14157 ac_outfile
=conftest.
$ac_objext
14158 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14159 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14160 # Insert the option either (1) after the last *FLAGS variable, or
14161 # (2) before a word containing "conftest.", or (3) at the end.
14162 # Note that $ac_compile itself does not contain backslashes and begins
14163 # with a dollar sign (not a hyphen), so the echo should work correctly.
14164 # The option is referenced via a variable to avoid confusing sed.
14165 lt_compile
=`echo "$ac_compile" | $SED \
14166 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14168 -e 's:$: $lt_compiler_flag:'`
14169 (eval echo "\"\$as_me:14169: $lt_compile\"" >&5)
14170 (eval "$lt_compile" 2>conftest.err
)
14172 cat conftest.err
>&5
14173 echo "$as_me:14173: \$? = $ac_status" >&5
14174 if (exit $ac_status) && test -s "$ac_outfile"; then
14175 # The compiler can only warn and ignore the option if not recognized
14176 # So say no if there are warnings other than the usual output.
14177 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14178 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14179 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14180 lt_prog_compiler_pic_works_F77
=yes
14186 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14187 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14189 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14190 case $lt_prog_compiler_pic_F77 in
14192 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14195 lt_prog_compiler_pic_F77
=
14196 lt_prog_compiler_can_build_shared_F77
=no
14201 # For platforms which do not support PIC, -DPIC is meaningless:
14203 lt_prog_compiler_pic_F77
=
14206 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14211 # Check to make sure the static flag actually works.
14213 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14214 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14215 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14216 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14217 echo $ECHO_N "(cached) $ECHO_C" >&6
14219 lt_prog_compiler_static_works_F77
=no
14220 save_LDFLAGS
="$LDFLAGS"
14221 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14222 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14223 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14224 # The linker can only warn and ignore the option if not recognized
14225 # So say no if there are warnings
14226 if test -s conftest.err
; then
14227 # Append any errors to the config.log.
14228 cat conftest.err
1>&5
14229 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14230 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14231 if diff conftest.exp conftest.er2
>/dev
/null
; then
14232 lt_prog_compiler_static_works_F77
=yes
14235 lt_prog_compiler_static_works_F77
=yes
14239 LDFLAGS
="$save_LDFLAGS"
14242 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14243 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14245 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14248 lt_prog_compiler_static_F77
=
14252 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14253 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14254 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14255 echo $ECHO_N "(cached) $ECHO_C" >&6
14257 lt_cv_prog_compiler_c_o_F77
=no
14258 $rm -r conftest
2>/dev
/null
14262 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14264 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14265 # Insert the option either (1) after the last *FLAGS variable, or
14266 # (2) before a word containing "conftest.", or (3) at the end.
14267 # Note that $ac_compile itself does not contain backslashes and begins
14268 # with a dollar sign (not a hyphen), so the echo should work correctly.
14269 lt_compile
=`echo "$ac_compile" | $SED \
14270 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14271 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14272 -e 's:$: $lt_compiler_flag:'`
14273 (eval echo "\"\$as_me:14273: $lt_compile\"" >&5)
14274 (eval "$lt_compile" 2>out
/conftest.err
)
14276 cat out
/conftest.err
>&5
14277 echo "$as_me:14277: \$? = $ac_status" >&5
14278 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14280 # The compiler can only warn and ignore the option if not recognized
14281 # So say no if there are warnings
14282 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14283 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14284 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14285 lt_cv_prog_compiler_c_o_F77
=yes
14290 # SGI C++ compiler will create directory out/ii_files/ for
14291 # template instantiation
14292 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14293 $rm out
/* && rmdir out
14299 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14300 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14303 hard_links
="nottested"
14304 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14305 # do not overwrite the value of need_locks provided by the user
14306 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14307 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14310 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14312 ln conftest.a conftest.b
2>&5 || hard_links
=no
14313 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14314 { echo "$as_me:$LINENO: result: $hard_links" >&5
14315 echo "${ECHO_T}$hard_links" >&6; }
14316 if test "$hard_links" = no
; then
14317 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14318 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14325 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14326 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14329 allow_undefined_flag_F77
=
14330 enable_shared_with_static_runtimes_F77
=no
14332 archive_expsym_cmds_F77
=
14333 old_archive_From_new_cmds_F77
=
14334 old_archive_from_expsyms_cmds_F77
=
14335 export_dynamic_flag_spec_F77
=
14336 whole_archive_flag_spec_F77
=
14337 thread_safe_flag_spec_F77
=
14338 hardcode_libdir_flag_spec_F77
=
14339 hardcode_libdir_flag_spec_ld_F77
=
14340 hardcode_libdir_separator_F77
=
14341 hardcode_direct_F77
=no
14342 hardcode_minus_L_F77
=no
14343 hardcode_shlibpath_var_F77
=unsupported
14344 link_all_deplibs_F77
=unknown
14345 hardcode_automatic_F77
=no
14347 module_expsym_cmds_F77
=
14348 always_export_symbols_F77
=no
14349 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14350 # include_expsyms should be a list of space-separated symbols to be *always*
14351 # included in the symbol list
14352 include_expsyms_F77
=
14353 # exclude_expsyms can be an extended regexp of symbols to exclude
14354 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14355 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14356 # as well as any symbol that contains `d'.
14357 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14358 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14359 # platforms (ab)use it in PIC code, but their linkers get confused if
14360 # the symbol is explicitly referenced. Since portable code cannot
14361 # rely on this symbol name, it's probably fine to never include it in
14362 # preloaded symbol tables.
14363 extract_expsyms_cmds
=
14364 # Just being paranoid about ensuring that cc_basename is set.
14365 for cc_temp
in $compiler""; do
14367 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14368 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14373 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14376 cygwin
* | mingw
* | pw32
*)
14377 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14378 # When not using gcc, we currently assume that we are using
14379 # Microsoft Visual C++.
14380 if test "$GCC" != yes; then
14385 # we just hope/assume this is gcc and not c89 (= MSVC++)
14394 if test "$with_gnu_ld" = yes; then
14395 # If archive_cmds runs LD, not CC, wlarc should be empty
14398 # Set some defaults for GNU ld with shared library support. These
14399 # are reset later if shared libraries are not supported. Putting them
14400 # here allows them to be overridden if necessary.
14401 runpath_var
=LD_RUN_PATH
14402 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14403 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14404 # ancient GNU ld didn't support --whole-archive et. al.
14405 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14406 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14408 whole_archive_flag_spec_F77
=
14410 supports_anon_versioning
=no
14411 case `$LD -v 2>/dev/null` in
14412 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14413 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14414 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14415 *\
2.11.
*) ;; # other 2.11 versions
14416 *) supports_anon_versioning
=yes ;;
14419 # See if GNU ld supports shared libraries.
14421 aix3
* | aix4
* | aix5
*)
14422 # On AIX/PPC, the GNU linker is very broken
14423 if test "$host_cpu" != ia64
; then
14427 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14428 *** to be unable to reliably create shared libraries on AIX.
14429 *** Therefore, libtool is disabling shared libraries support. If you
14430 *** really care for shared libraries, you may want to modify your PATH
14431 *** so that a non-GNU linker is found, and then restart.
14438 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)'
14439 hardcode_libdir_flag_spec_F77
='-L$libdir'
14440 hardcode_minus_L_F77
=yes
14442 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14443 # that the semantics of dynamic libraries on AmigaOS, at least up
14444 # to version 4, is to share data among multiple programs linked
14445 # with the same dynamic library. Since this doesn't match the
14446 # behavior of shared libraries on other platforms, we can't use
14452 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14453 allow_undefined_flag_F77
=unsupported
14454 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14455 # support --undefined. This deserves some investigation. FIXME
14456 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14462 cygwin
* | mingw
* | pw32
*)
14463 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14464 # as there is no search path for DLLs.
14465 hardcode_libdir_flag_spec_F77
='-L$libdir'
14466 allow_undefined_flag_F77
=unsupported
14467 always_export_symbols_F77
=no
14468 enable_shared_with_static_runtimes_F77
=yes
14469 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14471 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14472 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14473 # If the export-symbols file already is a .def file (1st line
14474 # is EXPORTS), use it as is; otherwise, prepend...
14475 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14476 cp $export_symbols $output_objdir/$soname.def;
14478 echo EXPORTS > $output_objdir/$soname.def;
14479 cat $export_symbols >> $output_objdir/$soname.def;
14481 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14488 hardcode_direct_F77
=no
14489 hardcode_shlibpath_var_F77
=no
14490 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14491 export_dynamic_flag_spec_F77
='${wl}-E'
14492 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14493 # Instead, shared libraries are loaded at an image base (0x10000000 by
14494 # default) and relocated if they conflict, which is a slow very memory
14495 # consuming and fragmenting process. To avoid this, we pick a random,
14496 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14497 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14498 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'
14499 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'
14502 gnu
* | linux
* | k
*bsd
*-gnu)
14503 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14505 case $cc_basename,$host_cpu in
14506 pgcc
*) # Portland Group C compiler
14507 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'
14508 tmp_addflag
=' $pic_flag'
14510 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14511 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'
14512 tmp_addflag
=' $pic_flag -Mnomain' ;;
14513 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14514 tmp_addflag
=' -i_dynamic' ;;
14515 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14516 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14517 ifc
* | ifort
*) # Intel Fortran compiler
14518 tmp_addflag
=' -nofor_main' ;;
14520 case `$CC -V 2>&1 | sed 5q` in
14521 *Sun\ C
*) # Sun C 5.9
14522 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'
14523 tmp_sharedflag
='-G' ;;
14524 *Sun\ F
*) # Sun Fortran 8.3
14525 tmp_sharedflag
='-G' ;;
14527 tmp_sharedflag
='-shared' ;;
14529 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14531 if test $supports_anon_versioning = yes; then
14532 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14533 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14534 $echo "local: *; };" >> $output_objdir/$libname.ver~
14535 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14543 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14544 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14547 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14548 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14553 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14557 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14558 *** create shared libraries on Solaris systems. Therefore, libtool
14559 *** is disabling shared libraries support. We urge you to upgrade GNU
14560 *** binutils to release 2.9.1 or newer. Another option is to modify
14561 *** your PATH or compiler configuration so that the native linker is
14562 *** used, and then restart.
14565 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14566 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14567 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14573 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14574 case `$LD -v 2>&1` in
14575 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14579 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14580 *** reliably create shared libraries on SCO systems. Therefore, libtool
14581 *** is disabling shared libraries support. We urge you to upgrade GNU
14582 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14583 *** your PATH or compiler configuration so that the native linker is
14584 *** used, and then restart.
14589 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14590 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14591 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14592 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14601 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14603 hardcode_direct_F77
=yes
14604 hardcode_shlibpath_var_F77
=no
14608 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14609 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14610 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14617 if test "$ld_shlibs_F77" = no
; then
14619 hardcode_libdir_flag_spec_F77
=
14620 export_dynamic_flag_spec_F77
=
14621 whole_archive_flag_spec_F77
=
14624 # PORTME fill in a description of your system's linker (not GNU ld)
14627 allow_undefined_flag_F77
=unsupported
14628 always_export_symbols_F77
=yes
14629 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'
14630 # Note: this linker hardcodes the directories in LIBPATH if there
14631 # are no directories specified by -L.
14632 hardcode_minus_L_F77
=yes
14633 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14634 # Neither direct hardcoding nor static linking is supported with a
14636 hardcode_direct_F77
=unsupported
14641 if test "$host_cpu" = ia64
; then
14642 # On IA64, the linker does run time linking by default, so we don't
14643 # have to do anything special.
14644 aix_use_runtimelinking
=no
14645 exp_sym_flag
='-Bexport'
14648 # If we're using GNU nm, then we don't want the "-C" option.
14649 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14650 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14651 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'
14653 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'
14655 aix_use_runtimelinking
=no
14657 # Test if we are trying to use run time linking or normal
14658 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14659 # need to do runtime linking.
14660 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14661 for ld_flag
in $LDFLAGS; do
14662 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14663 aix_use_runtimelinking
=yes
14670 exp_sym_flag
='-bexport'
14671 no_entry_flag
='-bnoentry'
14674 # When large executables or shared objects are built, AIX ld can
14675 # have problems creating the table of contents. If linking a library
14676 # or program results in "error TOC overflow" add -mminimal-toc to
14677 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14678 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14680 archive_cmds_F77
=''
14681 hardcode_direct_F77
=yes
14682 hardcode_libdir_separator_F77
=':'
14683 link_all_deplibs_F77
=yes
14685 if test "$GCC" = yes; then
14686 case $host_os in aix4.
[012]|aix4.
[012].
*)
14687 # We only want to do this on AIX 4.2 and lower, the check
14688 # below for broken collect2 doesn't work under 4.3+
14689 collect2name
=`${CC} -print-prog-name=collect2`
14690 if test -f "$collect2name" && \
14691 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14693 # We have reworked collect2
14696 # We have old collect2
14697 hardcode_direct_F77
=unsupported
14698 # It fails to find uninstalled libraries when the uninstalled
14699 # path is not listed in the libpath. Setting hardcode_minus_L
14700 # to unsupported forces relinking
14701 hardcode_minus_L_F77
=yes
14702 hardcode_libdir_flag_spec_F77
='-L$libdir'
14703 hardcode_libdir_separator_F77
=
14707 shared_flag
='-shared'
14708 if test "$aix_use_runtimelinking" = yes; then
14709 shared_flag
="$shared_flag "'${wl}-G'
14713 if test "$host_cpu" = ia64
; then
14714 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14715 # chokes on -Wl,-G. The following line is correct:
14718 if test "$aix_use_runtimelinking" = yes; then
14719 shared_flag
='${wl}-G'
14721 shared_flag
='${wl}-bM:SRE'
14726 # It seems that -bexpall does not export symbols beginning with
14727 # underscore (_), so it is better to generate a list of symbols to export.
14728 always_export_symbols_F77
=yes
14729 if test "$aix_use_runtimelinking" = yes; then
14730 # Warning - without using the other runtime loading flags (-brtl),
14731 # -berok will link without error, but may produce a broken library.
14732 allow_undefined_flag_F77
='-berok'
14733 # Determine the default libpath from the value encoded in an empty executable.
14734 cat >conftest.
$ac_ext <<_ACEOF
14739 rm -f conftest.
$ac_objext conftest
$ac_exeext
14740 if { (ac_try
="$ac_link"
14741 case "(($ac_try" in
14742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14743 *) ac_try_echo=$ac_try;;
14745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14746 (eval "$ac_link") 2>conftest.er1
14748 grep -v '^ *+' conftest.er1 >conftest.err
14750 cat conftest.err >&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); } && {
14753 test -z "$ac_f77_werror_flag" ||
14754 test ! -s conftest.err
14755 } && test -s conftest$ac_exeext &&
14756 $as_test_x conftest$ac_exeext; then
14758 lt_aix_libpath_sed='
14759 /Import File Strings/,/^$/ {
14765 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14766 # Check for a 64-bit object if we didn't find anything.
14767 if test -z "$aix_libpath"; then
14768 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14771 echo "$as_me: failed program was:" >&5
14772 sed 's/^/| /' conftest.$ac_ext >&5
14777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14778 conftest$ac_exeext conftest.$ac_ext
14779 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14781 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14782 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"
14784 if test "$host_cpu" = ia64; then
14785 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14786 allow_undefined_flag_F77="-z nodefs"
14787 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"
14789 # Determine the default libpath from the value encoded in an empty executable.
14790 cat >conftest.$ac_ext <<_ACEOF
14795 rm -f conftest.$ac_objext conftest$ac_exeext
14796 if { (ac_try="$ac_link"
14797 case "(($ac_try" in
14798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14799 *) ac_try_echo
=$ac_try;;
14801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14802 (eval "$ac_link") 2>conftest.er1
14804 grep -v '^ *+' conftest.er1
>conftest.err
14806 cat conftest.err
>&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } && {
14809 test -z "$ac_f77_werror_flag" ||
14810 test ! -s conftest.err
14811 } && test -s conftest
$ac_exeext &&
14812 $as_test_x conftest
$ac_exeext; then
14814 lt_aix_libpath_sed
='
14815 /Import File Strings/,/^$/ {
14821 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14822 # Check for a 64-bit object if we didn't find anything.
14823 if test -z "$aix_libpath"; then
14824 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14827 echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.
$ac_ext >&5
14833 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14834 conftest
$ac_exeext conftest.
$ac_ext
14835 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14837 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14838 # Warning - without using the other run time loading flags,
14839 # -berok will link without error, but may produce a broken library.
14840 no_undefined_flag_F77
=' ${wl}-bernotok'
14841 allow_undefined_flag_F77
=' ${wl}-berok'
14842 # Exported symbols can be pulled into shared objects from archives
14843 whole_archive_flag_spec_F77
='$convenience'
14844 archive_cmds_need_lc_F77
=yes
14845 # This is similar to how AIX traditionally builds its shared libraries.
14846 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'
14852 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)'
14853 hardcode_libdir_flag_spec_F77
='-L$libdir'
14854 hardcode_minus_L_F77
=yes
14855 # see comment about different semantics on the GNU ld section
14860 export_dynamic_flag_spec_F77
=-rdynamic
14863 cygwin
* | mingw
* | pw32
*)
14864 # When not using gcc, we currently assume that we are using
14865 # Microsoft Visual C++.
14866 # hardcode_libdir_flag_spec is actually meaningless, as there is
14867 # no search path for DLLs.
14868 hardcode_libdir_flag_spec_F77
=' '
14869 allow_undefined_flag_F77
=unsupported
14870 # Tell ltmain to make .lib files, not .a files.
14872 # Tell ltmain to make .dll files, not .so files.
14874 # FIXME: Setting linknames here is a bad hack.
14875 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14876 # The linker will automatically build a .lib file if we build a DLL.
14877 old_archive_From_new_cmds_F77
='true'
14878 # FIXME: Should let the user specify the lib program.
14879 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14880 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14881 enable_shared_with_static_runtimes_F77
=yes
14884 darwin
* | rhapsody
*)
14886 rhapsody
* | darwin1.
[012])
14887 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14890 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14891 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14893 case ${MACOSX_DEPLOYMENT_TARGET} in
14895 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14898 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14904 archive_cmds_need_lc_F77
=no
14905 hardcode_direct_F77
=no
14906 hardcode_automatic_F77
=yes
14907 hardcode_shlibpath_var_F77
=unsupported
14908 whole_archive_flag_spec_F77
=''
14909 link_all_deplibs_F77
=yes
14910 if test "$GCC" = yes ; then
14911 output_verbose_link_cmd
='echo'
14912 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14913 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14914 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14915 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}'
14916 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}'
14918 case $cc_basename in
14920 output_verbose_link_cmd
='echo'
14921 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14922 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14923 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14924 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}'
14925 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}'
14935 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14936 hardcode_libdir_flag_spec_F77
='-L$libdir'
14937 hardcode_shlibpath_var_F77
=no
14944 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14945 # support. Future versions do this automatically, but an explicit c++rt0.o
14946 # does not break anything, and helps significantly (at the cost of a little
14949 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14950 hardcode_libdir_flag_spec_F77
='-R$libdir'
14951 hardcode_direct_F77
=yes
14952 hardcode_shlibpath_var_F77
=no
14955 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14957 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14958 hardcode_direct_F77
=yes
14959 hardcode_minus_L_F77
=yes
14960 hardcode_shlibpath_var_F77
=no
14963 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14964 freebsd
* | dragonfly
*)
14965 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14966 hardcode_libdir_flag_spec_F77
='-R$libdir'
14967 hardcode_direct_F77
=yes
14968 hardcode_shlibpath_var_F77
=no
14972 if test "$GCC" = yes; then
14973 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'
14975 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'
14977 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14978 hardcode_libdir_separator_F77
=:
14979 hardcode_direct_F77
=yes
14981 # hardcode_minus_L: Not really in the search PATH,
14982 # but as the default location of the library.
14983 hardcode_minus_L_F77
=yes
14984 export_dynamic_flag_spec_F77
='${wl}-E'
14988 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14989 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14991 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14993 if test "$with_gnu_ld" = no
; then
14994 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14995 hardcode_libdir_separator_F77
=:
14997 hardcode_direct_F77
=yes
14998 export_dynamic_flag_spec_F77
='${wl}-E'
15000 # hardcode_minus_L: Not really in the search PATH,
15001 # but as the default location of the library.
15002 hardcode_minus_L_F77
=yes
15007 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15010 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15013 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15016 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15022 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15025 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15028 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15032 if test "$with_gnu_ld" = no
; then
15033 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15034 hardcode_libdir_separator_F77
=:
15038 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15039 hardcode_direct_F77
=no
15040 hardcode_shlibpath_var_F77
=no
15043 hardcode_direct_F77
=yes
15044 export_dynamic_flag_spec_F77
='${wl}-E'
15046 # hardcode_minus_L: Not really in the search PATH,
15047 # but as the default location of the library.
15048 hardcode_minus_L_F77
=yes
15054 irix5
* | irix6
* | nonstopux
*)
15055 if test "$GCC" = yes; then
15056 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'
15058 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'
15059 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15061 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15062 hardcode_libdir_separator_F77
=:
15063 link_all_deplibs_F77
=yes
15067 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15068 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15070 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15072 hardcode_libdir_flag_spec_F77
='-R$libdir'
15073 hardcode_direct_F77
=yes
15074 hardcode_shlibpath_var_F77
=no
15078 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15079 hardcode_direct_F77
=yes
15080 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15081 hardcode_libdir_separator_F77
=:
15082 hardcode_shlibpath_var_F77
=no
15086 if test -f /usr
/libexec
/ld.so
; then
15087 hardcode_direct_F77
=yes
15088 hardcode_shlibpath_var_F77
=no
15089 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15090 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15091 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15092 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15093 export_dynamic_flag_spec_F77
='${wl}-E'
15096 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15097 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15098 hardcode_libdir_flag_spec_F77
='-R$libdir'
15101 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15102 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15112 hardcode_libdir_flag_spec_F77
='-L$libdir'
15113 hardcode_minus_L_F77
=yes
15114 allow_undefined_flag_F77
=unsupported
15115 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'
15116 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15120 if test "$GCC" = yes; then
15121 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15122 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'
15124 allow_undefined_flag_F77
=' -expect_unresolved \*'
15125 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'
15127 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15128 hardcode_libdir_separator_F77
=:
15131 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15132 if test "$GCC" = yes; then
15133 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15134 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'
15135 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15137 allow_undefined_flag_F77
=' -expect_unresolved \*'
15138 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'
15139 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~
15140 $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'
15142 # Both c and cxx compiler support -rpath directly
15143 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15145 hardcode_libdir_separator_F77
=:
15149 no_undefined_flag_F77
=' -z text'
15150 if test "$GCC" = yes; then
15152 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15153 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15154 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15157 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15158 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15159 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15161 hardcode_libdir_flag_spec_F77
='-R$libdir'
15162 hardcode_shlibpath_var_F77
=no
15164 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15166 # The compiler driver will combine and reorder linker options,
15167 # but understands `-z linker_flag'. GCC discards it without `$wl',
15168 # but is careful enough not to reorder.
15169 # Supported since Solaris 2.6 (maybe 2.5.1?)
15170 if test "$GCC" = yes; then
15171 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15173 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15177 link_all_deplibs_F77
=yes
15181 if test "x$host_vendor" = xsequent
; then
15182 # Use $CC to link under sequent, because it throws in some extra .o
15183 # files that make .init and .fini sections work.
15184 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15186 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15188 hardcode_libdir_flag_spec_F77
='-L$libdir'
15189 hardcode_direct_F77
=yes
15190 hardcode_minus_L_F77
=yes
15191 hardcode_shlibpath_var_F77
=no
15195 case $host_vendor in
15197 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15198 hardcode_direct_F77
=yes # is this really true???
15201 ## LD is ld it makes a PLAMLIB
15202 ## CC just makes a GrossModule.
15203 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15204 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15205 hardcode_direct_F77
=no
15208 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15209 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15212 runpath_var
='LD_RUN_PATH'
15213 hardcode_shlibpath_var_F77
=no
15217 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15218 hardcode_shlibpath_var_F77
=no
15219 export_dynamic_flag_spec_F77
='-Bexport'
15223 if test -d /usr
/nec
; then
15224 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15225 hardcode_shlibpath_var_F77
=no
15226 runpath_var
=LD_RUN_PATH
15227 hardcode_runpath_var
=yes
15232 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15233 no_undefined_flag_F77
='${wl}-z,text'
15234 archive_cmds_need_lc_F77
=no
15235 hardcode_shlibpath_var_F77
=no
15236 runpath_var
='LD_RUN_PATH'
15238 if test "$GCC" = yes; then
15239 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15240 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15242 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15243 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15247 sysv5
* | sco3.2v5
* | sco5v6
*)
15248 # Note: We can NOT use -z defs as we might desire, because we do not
15249 # link with -lc, and that would cause any symbols used from libc to
15250 # always be unresolved, which means just about no library would
15251 # ever link correctly. If we're not using GNU ld we use -z text
15252 # though, which does catch some bad symbols but isn't as heavy-handed
15254 no_undefined_flag_F77
='${wl}-z,text'
15255 allow_undefined_flag_F77
='${wl}-z,nodefs'
15256 archive_cmds_need_lc_F77
=no
15257 hardcode_shlibpath_var_F77
=no
15258 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15259 hardcode_libdir_separator_F77
=':'
15260 link_all_deplibs_F77
=yes
15261 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15262 runpath_var
='LD_RUN_PATH'
15264 if test "$GCC" = yes; then
15265 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15266 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15268 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15269 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15274 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15275 hardcode_libdir_flag_spec_F77
='-L$libdir'
15276 hardcode_shlibpath_var_F77
=no
15285 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15286 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15287 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15290 # Do we need to explicitly link libc?
15292 case "x$archive_cmds_need_lc_F77" in
15294 # Assume -lc should be added
15295 archive_cmds_need_lc_F77
=yes
15297 if test "$enable_shared" = yes && test "$GCC" = yes; then
15298 case $archive_cmds_F77 in
15300 # FIXME: we may have to deal with multi-command sequences.
15303 # Test whether the compiler implicitly links with -lc since on some
15304 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15305 # to ld, don't add -lc before -lgcc.
15306 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15307 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15309 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15312 (eval $ac_compile) 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); } 2>conftest.err
; then
15318 libobjs
=conftest.
$ac_objext
15320 wl
=$lt_prog_compiler_wl_F77
15321 pic_flag
=$lt_prog_compiler_pic_F77
15327 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15328 allow_undefined_flag_F77
=
15329 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15330 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }
15335 archive_cmds_need_lc_F77
=no
15337 archive_cmds_need_lc_F77
=yes
15339 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15341 cat conftest.err
1>&5
15344 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15345 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15352 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15353 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15354 library_names_spec
=
15355 libname_spec
='lib$name'
15359 postuninstall_cmds
=
15363 shlibpath_overrides_runpath
=unknown
15365 dynamic_linker
="$host_os ld.so"
15366 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15368 need_lib_prefix
=unknown
15369 hardcode_into_libs
=no
15371 # when you set need_version to no, make sure it does not cause -set_version
15372 # flags to be left without arguments
15373 need_version
=unknown
15378 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15379 shlibpath_var
=LIBPATH
15381 # AIX 3 has no versioning support, so we append a major version to the name.
15382 soname_spec
='${libname}${release}${shared_ext}$major'
15389 hardcode_into_libs
=yes
15390 if test "$host_cpu" = ia64
; then
15391 # AIX 5 supports IA64
15392 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15393 shlibpath_var
=LD_LIBRARY_PATH
15395 # With GCC up to 2.95.x, collect2 would create an import file
15396 # for dependence libraries. The import file would start with
15397 # the line `#! .'. This would cause the generated library to
15398 # depend on `.', always an invalid library. This was fixed in
15399 # development snapshots of GCC prior to 3.0.
15401 aix4 | aix4.
[01] | aix4.
[01].
*)
15402 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15404 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15407 can_build_shared
=no
15411 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15412 # soname into executable. Probably we can add versioning support to
15413 # collect2, so additional links can be useful in future.
15414 if test "$aix_use_runtimelinking" = yes; then
15415 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15416 # instead of lib<name>.a to let people know that these are not
15417 # typical AIX shared libraries.
15418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15420 # We preserve .a as extension for shared libraries through AIX4.2
15421 # and later when we are not doing run time linking.
15422 library_names_spec
='${libname}${release}.a $libname.a'
15423 soname_spec
='${libname}${release}${shared_ext}$major'
15425 shlibpath_var
=LIBPATH
15430 library_names_spec
='$libname.ixlibrary $libname.a'
15431 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15432 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'
15436 library_names_spec
='${libname}${shared_ext}'
15437 dynamic_linker
="$host_os ld.so"
15438 shlibpath_var
=LIBRARY_PATH
15444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15445 soname_spec
='${libname}${release}${shared_ext}$major'
15446 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15447 shlibpath_var
=LD_LIBRARY_PATH
15448 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15449 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15450 # the default ld.so.conf also contains /usr/contrib/lib and
15451 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15452 # libtool to hard-code these into programs
15455 cygwin
* | mingw
* | pw32
*)
15456 version_type
=windows
15461 case $GCC,$host_os in
15462 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15463 library_names_spec
='$libname.dll.a'
15464 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15465 postinstall_cmds
='base_file=`basename \${file}`~
15466 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15467 dldir=$destdir/`dirname \$dlpath`~
15468 test -d \$dldir || mkdir -p \$dldir~
15469 $install_prog $dir/$dlname \$dldir/$dlname~
15470 chmod a+x \$dldir/$dlname'
15471 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15472 dlpath=$dir/\$dldll~
15474 shlibpath_overrides_runpath
=yes
15478 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15479 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15480 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15483 # MinGW DLLs use traditional 'lib' prefix
15484 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15485 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15486 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15487 # It is most probably a Windows format PATH printed by
15488 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15489 # path with ; separators, and with drive letters. We can handle the
15490 # drive letters (cygwin fileutils understands them), so leave them,
15491 # especially as we might pass files found there to a mingw objdump,
15492 # which wouldn't understand a cygwinified path. Ahh.
15493 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15495 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15499 # pw32 DLLs use 'pw' prefix rather than 'lib'
15500 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15506 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15509 dynamic_linker
='Win32 ld.exe'
15510 # FIXME: first we should search . and the directory the executable is in
15514 darwin
* | rhapsody
*)
15515 dynamic_linker
="$host_os dyld"
15516 version_type
=darwin
15519 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15520 soname_spec
='${libname}${release}${major}$shared_ext'
15521 shlibpath_overrides_runpath
=yes
15522 shlibpath_var
=DYLD_LIBRARY_PATH
15523 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15525 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15533 soname_spec
='${libname}${release}${shared_ext}$major'
15534 shlibpath_var
=LD_LIBRARY_PATH
15541 freebsd
* | dragonfly
*)
15542 # DragonFly does not have aout. When/if they implement a new
15543 # versioning mechanism, adjust this.
15544 if test -x /usr
/bin
/objformat
; then
15545 objformat
=`/usr/bin/objformat`
15548 freebsd
[123]*) objformat
=aout
;;
15549 *) objformat
=elf
;;
15552 version_type
=freebsd-
$objformat
15553 case $version_type in
15555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15560 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15564 shlibpath_var
=LD_LIBRARY_PATH
15567 shlibpath_overrides_runpath
=yes
15569 freebsd3.
[01]* | freebsdelf3.
[01]*)
15570 shlibpath_overrides_runpath
=yes
15571 hardcode_into_libs
=yes
15573 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15574 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15575 shlibpath_overrides_runpath
=no
15576 hardcode_into_libs
=yes
15578 *) # from 4.6 on, and DragonFly
15579 shlibpath_overrides_runpath
=yes
15580 hardcode_into_libs
=yes
15589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15590 soname_spec
='${libname}${release}${shared_ext}$major'
15591 shlibpath_var
=LD_LIBRARY_PATH
15592 hardcode_into_libs
=yes
15595 hpux9
* | hpux10
* | hpux11
*)
15596 # Give a soname corresponding to the major version so that dld.sl refuses to
15597 # link against other versions.
15604 hardcode_into_libs
=yes
15605 dynamic_linker
="$host_os dld.so"
15606 shlibpath_var
=LD_LIBRARY_PATH
15607 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15609 soname_spec
='${libname}${release}${shared_ext}$major'
15610 if test "X$HPUX_IA64_MODE" = X32
; then
15611 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15613 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15615 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15619 hardcode_into_libs
=yes
15620 dynamic_linker
="$host_os dld.sl"
15621 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15622 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15624 soname_spec
='${libname}${release}${shared_ext}$major'
15625 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15626 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15630 dynamic_linker
="$host_os dld.sl"
15631 shlibpath_var
=SHLIB_PATH
15632 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15634 soname_spec
='${libname}${release}${shared_ext}$major'
15637 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15638 postinstall_cmds
='chmod 555 $lib'
15645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15646 soname_spec
='${libname}${release}${shared_ext}$major'
15647 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15648 shlibpath_var
=LD_LIBRARY_PATH
15649 shlibpath_overrides_runpath
=no
15650 hardcode_into_libs
=yes
15653 irix5
* | irix6
* | nonstopux
*)
15655 nonstopux
*) version_type
=nonstopux
;;
15657 if test "$lt_cv_prog_gnu_ld" = yes; then
15665 soname_spec
='${libname}${release}${shared_ext}$major'
15666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15668 irix5
* | nonstopux
*)
15669 libsuff
= shlibsuff
=
15672 case $LD in # libtool.m4 will add one of these switches to LD
15673 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15674 libsuff
= shlibsuff
= libmagic
=32-bit;;
15675 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15676 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15677 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15678 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15679 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15683 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15684 shlibpath_overrides_runpath
=no
15685 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15686 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15687 hardcode_into_libs
=yes
15690 # No shared lib support for Linux oldld, aout, or coff.
15691 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15695 # This must be Linux ELF.
15696 linux
* | k
*bsd
*-gnu)
15700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15701 soname_spec
='${libname}${release}${shared_ext}$major'
15702 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15703 shlibpath_var
=LD_LIBRARY_PATH
15704 shlibpath_overrides_runpath
=no
15705 # This implies no fast_install, which is unacceptable.
15706 # Some rework will be needed to allow for fast_install
15707 # before this can be enabled.
15708 hardcode_into_libs
=yes
15709 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15710 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15712 # Append ld.so.conf contents to the search path
15713 if test -f /etc
/ld.so.conf
; then
15714 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' ' '`
15715 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15718 # We used to test for /lib/ld.so.1 and disable shared libraries on
15719 # powerpc, because MkLinux only supported shared libraries with the
15720 # GNU dynamic linker. Since this was broken with cross compilers,
15721 # most powerpc-linux boxes support dynamic linking these days and
15722 # people can always --disable-shared, the test was removed, and we
15723 # assume the GNU/Linux dynamic linker is in use.
15724 dynamic_linker
='GNU/Linux ld.so'
15731 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15733 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15734 dynamic_linker
='NetBSD (a.out) ld.so'
15736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15737 soname_spec
='${libname}${release}${shared_ext}$major'
15738 dynamic_linker
='NetBSD ld.elf_so'
15740 shlibpath_var
=LD_LIBRARY_PATH
15741 shlibpath_overrides_runpath
=yes
15742 hardcode_into_libs
=yes
15747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15748 shlibpath_var
=LD_LIBRARY_PATH
15749 shlibpath_overrides_runpath
=yes
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
15764 sys_lib_dlsearch_path_spec
="/usr/lib"
15766 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15768 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15769 *) need_version
=no
;;
15771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15772 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15773 shlibpath_var
=LD_LIBRARY_PATH
15774 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15776 openbsd2.
[89] | openbsd2.
[89].
*)
15777 shlibpath_overrides_runpath
=no
15780 shlibpath_overrides_runpath
=yes
15784 shlibpath_overrides_runpath
=yes
15789 libname_spec
='$name'
15792 library_names_spec
='$libname${shared_ext} $libname.a'
15793 dynamic_linker
='OS/2 ld.exe'
15794 shlibpath_var
=LIBPATH
15797 osf3
* | osf4
* | osf5
*)
15801 soname_spec
='${libname}${release}${shared_ext}$major'
15802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15803 shlibpath_var
=LD_LIBRARY_PATH
15804 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15805 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15817 soname_spec
='${libname}${release}${shared_ext}$major'
15818 shlibpath_var
=LD_LIBRARY_PATH
15819 shlibpath_overrides_runpath
=yes
15820 hardcode_into_libs
=yes
15821 # ldd complains unless libraries are executable
15822 postinstall_cmds
='chmod +x $lib'
15827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15828 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15829 shlibpath_var
=LD_LIBRARY_PATH
15830 shlibpath_overrides_runpath
=yes
15831 if test "$with_gnu_ld" = yes; then
15839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15840 soname_spec
='${libname}${release}${shared_ext}$major'
15841 shlibpath_var
=LD_LIBRARY_PATH
15842 case $host_vendor in
15844 shlibpath_overrides_runpath
=no
15846 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15847 runpath_var
=LD_RUN_PATH
15855 shlibpath_overrides_runpath
=no
15856 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15862 if test -d /usr
/nec
;then
15864 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15865 soname_spec
='$libname${shared_ext}.$major'
15866 shlibpath_var
=LD_LIBRARY_PATH
15870 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15871 version_type
=freebsd-elf
15874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15875 soname_spec
='${libname}${release}${shared_ext}$major'
15876 shlibpath_var
=LD_LIBRARY_PATH
15877 hardcode_into_libs
=yes
15878 if test "$with_gnu_ld" = yes; then
15879 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15880 shlibpath_overrides_runpath
=no
15882 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15883 shlibpath_overrides_runpath
=yes
15886 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15890 sys_lib_dlsearch_path_spec
='/usr/lib'
15895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15896 soname_spec
='${libname}${release}${shared_ext}$major'
15897 shlibpath_var
=LD_LIBRARY_PATH
15904 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15905 echo "${ECHO_T}$dynamic_linker" >&6; }
15906 test "$dynamic_linker" = no
&& can_build_shared
=no
15908 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15909 if test "$GCC" = yes; then
15910 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15913 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15914 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15915 hardcode_action_F77
=
15916 if test -n "$hardcode_libdir_flag_spec_F77" || \
15917 test -n "$runpath_var_F77" || \
15918 test "X$hardcode_automatic_F77" = "Xyes" ; then
15920 # We can hardcode non-existant directories.
15921 if test "$hardcode_direct_F77" != no
&&
15922 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15923 # have to relink, otherwise we might link with an installed library
15924 # when we should be linking with a yet-to-be-installed one
15925 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15926 test "$hardcode_minus_L_F77" != no
; then
15927 # Linking always hardcodes the temporary library directory.
15928 hardcode_action_F77
=relink
15930 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15931 hardcode_action_F77
=immediate
15934 # We cannot hardcode anything, or else we can only hardcode existing
15936 hardcode_action_F77
=unsupported
15938 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15939 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15941 if test "$hardcode_action_F77" = relink
; then
15942 # Fast installation is not supported
15943 enable_fast_install
=no
15944 elif test "$shlibpath_overrides_runpath" = yes ||
15945 test "$enable_shared" = no
; then
15946 # Fast installation is not necessary
15947 enable_fast_install
=needless
15951 # The else clause should only fire when bootstrapping the
15952 # libtool distribution, otherwise you forgot to ship ltmain.sh
15953 # with your package, and you will get complaints that there are
15954 # no rules to generate ltmain.sh.
15955 if test -f "$ltmain"; then
15956 # See if we are running on zsh, and set the options which allow our commands through
15957 # without removal of \ escapes.
15958 if test -n "${ZSH_VERSION+set}" ; then
15959 setopt NO_GLOB_SUBST
15961 # Now quote all the things that may contain metacharacters while being
15962 # careful not to overquote the AC_SUBSTed values. We take copies of the
15963 # variables and quote the copies for generation of the libtool script.
15964 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15966 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15967 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15968 deplibs_check_method reload_flag reload_cmds need_locks \
15969 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15970 lt_cv_sys_global_symbol_to_c_name_address \
15971 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15972 old_postinstall_cmds old_postuninstall_cmds \
15976 lt_prog_compiler_wl_F77 \
15977 lt_prog_compiler_pic_F77 \
15978 lt_prog_compiler_static_F77 \
15979 lt_prog_compiler_no_builtin_flag_F77 \
15980 export_dynamic_flag_spec_F77 \
15981 thread_safe_flag_spec_F77 \
15982 whole_archive_flag_spec_F77 \
15983 enable_shared_with_static_runtimes_F77 \
15984 old_archive_cmds_F77 \
15985 old_archive_from_new_cmds_F77 \
15986 predep_objects_F77 \
15987 postdep_objects_F77 \
15990 compiler_lib_search_path_F77 \
15992 archive_expsym_cmds_F77 \
15993 postinstall_cmds_F77 \
15994 postuninstall_cmds_F77 \
15995 old_archive_from_expsyms_cmds_F77 \
15996 allow_undefined_flag_F77 \
15997 no_undefined_flag_F77 \
15998 export_symbols_cmds_F77 \
15999 hardcode_libdir_flag_spec_F77 \
16000 hardcode_libdir_flag_spec_ld_F77 \
16001 hardcode_libdir_separator_F77 \
16002 hardcode_automatic_F77 \
16004 module_expsym_cmds_F77 \
16005 lt_cv_prog_compiler_c_o_F77 \
16006 fix_srcfile_path_F77 \
16007 exclude_expsyms_F77 \
16008 include_expsyms_F77
; do
16011 old_archive_cmds_F77 | \
16012 old_archive_from_new_cmds_F77 | \
16013 archive_cmds_F77 | \
16014 archive_expsym_cmds_F77 | \
16015 module_cmds_F77 | \
16016 module_expsym_cmds_F77 | \
16017 old_archive_from_expsyms_cmds_F77 | \
16018 export_symbols_cmds_F77 | \
16019 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16020 postinstall_cmds | postuninstall_cmds | \
16021 old_postinstall_cmds | old_postuninstall_cmds | \
16022 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16023 # Double-quote double-evaled strings.
16024 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16027 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16033 *'\$0 --fallback-echo"')
16034 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16040 cat <<__EOF__ >> "$cfgfile"
16041 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16043 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16045 # Shell to use when invoking shell scripts.
16048 # Whether or not to build shared libraries.
16049 build_libtool_libs=$enable_shared
16051 # Whether or not to build static libraries.
16052 build_old_libs=$enable_static
16054 # Whether or not to add -lc for building shared libraries.
16055 build_libtool_need_lc=$archive_cmds_need_lc_F77
16057 # Whether or not to disallow shared libs when runtime libs are static
16058 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16060 # Whether or not to optimize for fast installation.
16061 fast_install=$enable_fast_install
16064 host_alias=$host_alias
16068 # The build system.
16069 build_alias=$build_alias
16073 # An echo program that does not interpret backslashes.
16078 AR_FLAGS=$lt_AR_FLAGS
16083 # LTCC compiler flags.
16084 LTCFLAGS=$lt_LTCFLAGS
16086 # A language-specific compiler.
16087 CC=$lt_compiler_F77
16089 # Is the compiler the GNU C compiler?
16095 # The linker used to build libraries.
16098 # Whether we need hard or soft links.
16101 # A BSD-compatible nm program.
16104 # A symbol stripping program
16107 # Used to examine libraries when file_magic_cmd begins "file"
16108 MAGIC_CMD=$MAGIC_CMD
16110 # Used on cygwin: DLL creation program.
16113 # Used on cygwin: object dumper.
16116 # Used on cygwin: assembler.
16119 # The name of the directory that contains temporary libtool files.
16122 # How to create reloadable object files.
16123 reload_flag=$lt_reload_flag
16124 reload_cmds=$lt_reload_cmds
16126 # How to pass a linker flag through the compiler.
16127 wl=$lt_lt_prog_compiler_wl_F77
16129 # Object file suffix (normally "o").
16130 objext="$ac_objext"
16132 # Old archive suffix (normally "a").
16135 # Shared library suffix (normally ".so").
16136 shrext_cmds='$shrext_cmds'
16138 # Executable file suffix (normally "").
16141 # Additional compiler flags for building library objects.
16142 pic_flag=$lt_lt_prog_compiler_pic_F77
16145 # What is the maximum length of a command?
16146 max_cmd_len=$lt_cv_sys_max_cmd_len
16148 # Does compiler simultaneously support -c and -o options?
16149 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16151 # Must we lock files when doing compilation?
16152 need_locks=$lt_need_locks
16154 # Do we need the lib prefix for modules?
16155 need_lib_prefix=$need_lib_prefix
16157 # Do we need a version for libraries?
16158 need_version=$need_version
16160 # Whether dlopen is supported.
16161 dlopen_support=$enable_dlopen
16163 # Whether dlopen of programs is supported.
16164 dlopen_self=$enable_dlopen_self
16166 # Whether dlopen of statically linked programs is supported.
16167 dlopen_self_static=$enable_dlopen_self_static
16169 # Compiler flag to prevent dynamic linking.
16170 link_static_flag=$lt_lt_prog_compiler_static_F77
16172 # Compiler flag to turn off builtin functions.
16173 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16175 # Compiler flag to allow reflexive dlopens.
16176 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16178 # Compiler flag to generate shared objects directly from archives.
16179 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16181 # Compiler flag to generate thread-safe objects.
16182 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16184 # Library versioning type.
16185 version_type=$version_type
16187 # Format of library name prefix.
16188 libname_spec=$lt_libname_spec
16190 # List of archive names. First name is the real one, the rest are links.
16191 # The last name is the one that the linker finds with -lNAME.
16192 library_names_spec=$lt_library_names_spec
16194 # The coded name of the library, if different from the real name.
16195 soname_spec=$lt_soname_spec
16197 # Commands used to build and install an old-style archive.
16199 old_archive_cmds=$lt_old_archive_cmds_F77
16200 old_postinstall_cmds=$lt_old_postinstall_cmds
16201 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16203 # Create an old-style archive from a shared archive.
16204 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16206 # Create a temporary old-style archive to link instead of a shared archive.
16207 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16209 # Commands used to build and install a shared archive.
16210 archive_cmds=$lt_archive_cmds_F77
16211 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16212 postinstall_cmds=$lt_postinstall_cmds
16213 postuninstall_cmds=$lt_postuninstall_cmds
16215 # Commands used to build a loadable module (assumed same as above if empty)
16216 module_cmds=$lt_module_cmds_F77
16217 module_expsym_cmds=$lt_module_expsym_cmds_F77
16219 # Commands to strip libraries.
16220 old_striplib=$lt_old_striplib
16221 striplib=$lt_striplib
16223 # Dependencies to place before the objects being linked to create a
16225 predep_objects=$lt_predep_objects_F77
16227 # Dependencies to place after the objects being linked to create a
16229 postdep_objects=$lt_postdep_objects_F77
16231 # Dependencies to place before the objects being linked to create a
16233 predeps=$lt_predeps_F77
16235 # Dependencies to place after the objects being linked to create a
16237 postdeps=$lt_postdeps_F77
16239 # The library search path used internally by the compiler when linking
16240 # a shared library.
16241 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16243 # Method to check whether dependent libraries are shared objects.
16244 deplibs_check_method=$lt_deplibs_check_method
16246 # Command to use when deplibs_check_method == file_magic.
16247 file_magic_cmd=$lt_file_magic_cmd
16249 # Flag that allows shared libraries with undefined symbols to be built.
16250 allow_undefined_flag=$lt_allow_undefined_flag_F77
16252 # Flag that forces no undefined symbols.
16253 no_undefined_flag=$lt_no_undefined_flag_F77
16255 # Commands used to finish a libtool library installation in a directory.
16256 finish_cmds=$lt_finish_cmds
16258 # Same as above, but a single script fragment to be evaled but not shown.
16259 finish_eval=$lt_finish_eval
16261 # Take the output of nm and produce a listing of raw symbols and C names.
16262 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16264 # Transform the output of nm in a proper C declaration
16265 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16267 # Transform the output of nm in a C name address pair
16268 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16270 # This is the shared library runtime path variable.
16271 runpath_var=$runpath_var
16273 # This is the shared library path variable.
16274 shlibpath_var=$shlibpath_var
16276 # Is shlibpath searched before the hard-coded library search path?
16277 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16279 # How to hardcode a shared library path into an executable.
16280 hardcode_action=$hardcode_action_F77
16282 # Whether we should hardcode library paths into libraries.
16283 hardcode_into_libs=$hardcode_into_libs
16285 # Flag to hardcode \$libdir into a binary during linking.
16286 # This must work even if \$libdir does not exist.
16287 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16289 # If ld is used when linking, flag to hardcode \$libdir into
16290 # a binary during linking. This must work even if \$libdir does
16292 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16294 # Whether we need a single -rpath flag with a separated argument.
16295 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16297 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16298 # resulting binary.
16299 hardcode_direct=$hardcode_direct_F77
16301 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16302 # resulting binary.
16303 hardcode_minus_L=$hardcode_minus_L_F77
16305 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16306 # the resulting binary.
16307 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16309 # Set to yes if building a shared library automatically hardcodes DIR into the library
16310 # and all subsequent libraries and executables linked against it.
16311 hardcode_automatic=$hardcode_automatic_F77
16313 # Variables whose values should be saved in libtool wrapper scripts and
16314 # restored at relink time.
16315 variables_saved_for_relink="$variables_saved_for_relink"
16317 # Whether libtool must link a program against all its dependency libraries.
16318 link_all_deplibs=$link_all_deplibs_F77
16320 # Compile-time system search path for libraries
16321 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16323 # Run-time system search path for libraries
16324 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16326 # Fix the shell variable \$srcfile for the compiler.
16327 fix_srcfile_path=$lt_fix_srcfile_path
16329 # Set to yes if exported symbols are required.
16330 always_export_symbols=$always_export_symbols_F77
16332 # The commands to list exported symbols.
16333 export_symbols_cmds=$lt_export_symbols_cmds_F77
16335 # The commands to extract the exported symbol list from a shared archive.
16336 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16338 # Symbols that should not be listed in the preloaded symbols.
16339 exclude_expsyms=$lt_exclude_expsyms_F77
16341 # Symbols that must always be exported.
16342 include_expsyms=$lt_include_expsyms_F77
16344 # ### END LIBTOOL TAG CONFIG: $tagname
16350 # If there is no Makefile yet, we rely on a make rule to execute
16351 # `config.status --recheck' to rerun these tests and create the
16352 # libtool script then.
16353 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16354 if test -f "$ltmain_in"; then
16355 test -f Makefile
&& make "$ltmain"
16361 ac_cpp
='$CPP $CPPFLAGS'
16362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16374 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16377 # Source file extension for Java test sources.
16380 # Object file extension for compiled Java test sources.
16384 # Code to be used in simple compile tests
16385 lt_simple_compile_test_code
="class foo {}"
16387 # Code to be used in simple link tests
16388 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16390 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16392 # If no C compiler was specified, use CC.
16395 # If no C compiler flags were specified, use CFLAGS.
16396 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16398 # Allow CC to be a program name with arguments.
16402 # save warnings/boilerplate of simple test code
16403 ac_outfile
=conftest.
$ac_objext
16404 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16405 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16406 _lt_compiler_boilerplate
=`cat conftest.err`
16409 ac_outfile
=conftest.
$ac_objext
16410 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16411 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16412 _lt_linker_boilerplate
=`cat conftest.err`
16416 # Allow CC to be a program name with arguments.
16421 for cc_temp
in $compiler""; do
16423 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16424 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16429 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16432 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16433 archive_cmds_need_lc_GCJ
=no
16435 old_archive_cmds_GCJ
=$old_archive_cmds
16438 lt_prog_compiler_no_builtin_flag_GCJ
=
16440 if test "$GCC" = yes; then
16441 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16444 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16445 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16446 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16447 echo $ECHO_N "(cached) $ECHO_C" >&6
16449 lt_cv_prog_compiler_rtti_exceptions
=no
16450 ac_outfile
=conftest.
$ac_objext
16451 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16452 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16453 # Insert the option either (1) after the last *FLAGS variable, or
16454 # (2) before a word containing "conftest.", or (3) at the end.
16455 # Note that $ac_compile itself does not contain backslashes and begins
16456 # with a dollar sign (not a hyphen), so the echo should work correctly.
16457 # The option is referenced via a variable to avoid confusing sed.
16458 lt_compile
=`echo "$ac_compile" | $SED \
16459 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16460 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16461 -e 's:$: $lt_compiler_flag:'`
16462 (eval echo "\"\$as_me:16462: $lt_compile\"" >&5)
16463 (eval "$lt_compile" 2>conftest.err
)
16465 cat conftest.err
>&5
16466 echo "$as_me:16466: \$? = $ac_status" >&5
16467 if (exit $ac_status) && test -s "$ac_outfile"; then
16468 # The compiler can only warn and ignore the option if not recognized
16469 # So say no if there are warnings other than the usual output.
16470 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16471 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16472 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16473 lt_cv_prog_compiler_rtti_exceptions
=yes
16479 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16480 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16482 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16483 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16490 lt_prog_compiler_wl_GCJ
=
16491 lt_prog_compiler_pic_GCJ
=
16492 lt_prog_compiler_static_GCJ
=
16494 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16495 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16497 if test "$GCC" = yes; then
16498 lt_prog_compiler_wl_GCJ
='-Wl,'
16499 lt_prog_compiler_static_GCJ
='-static'
16503 # All AIX code is PIC.
16504 if test "$host_cpu" = ia64
; then
16505 # AIX 5 now supports IA64 processor
16506 lt_prog_compiler_static_GCJ
='-Bstatic'
16511 # FIXME: we need at least 68020 code to build shared libraries, but
16512 # adding the `-m68020' flag to GCC prevents building anything better,
16514 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16517 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16518 # PIC is the default for these OSes.
16521 mingw
* | cygwin
* | pw32
* | os2
*)
16522 # This hack is so that the source file can tell whether it is being
16523 # built for inclusion in a dll (and should export symbols for example).
16524 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16525 # (--disable-auto-import) libraries
16526 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16529 darwin
* | rhapsody
*)
16530 # PIC is the default on this platform
16531 # Common symbols not allowed in MH_DYLIB files
16532 lt_prog_compiler_pic_GCJ
='-fno-common'
16536 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16537 # Instead, we relocate shared libraries at runtime.
16541 # Just because we use GCC doesn't mean we suddenly get shared libraries
16542 # on systems that don't support them.
16543 lt_prog_compiler_can_build_shared_GCJ
=no
16548 if test -d /usr
/nec
; then
16549 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16554 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16555 # not for PA HP-UX.
16561 lt_prog_compiler_pic_GCJ
='-fPIC'
16567 lt_prog_compiler_pic_GCJ
='-fPIC'
16571 # PORTME Check for flag to pass linker flags through the system compiler.
16574 lt_prog_compiler_wl_GCJ
='-Wl,'
16575 if test "$host_cpu" = ia64
; then
16576 # AIX 5 now supports IA64 processor
16577 lt_prog_compiler_static_GCJ
='-Bstatic'
16579 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16583 # PIC is the default on this platform
16584 # Common symbols not allowed in MH_DYLIB files
16585 case $cc_basename in
16587 lt_prog_compiler_pic_GCJ
='-qnocommon'
16588 lt_prog_compiler_wl_GCJ
='-Wl,'
16593 mingw
* | cygwin
* | pw32
* | os2
*)
16594 # This hack is so that the source file can tell whether it is being
16595 # built for inclusion in a dll (and should export symbols for example).
16596 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16599 hpux9
* | hpux10
* | hpux11
*)
16600 lt_prog_compiler_wl_GCJ
='-Wl,'
16601 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16602 # not for PA HP-UX.
16608 lt_prog_compiler_pic_GCJ
='+Z'
16611 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16612 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16615 irix5
* | irix6
* | nonstopux
*)
16616 lt_prog_compiler_wl_GCJ
='-Wl,'
16617 # PIC (with -KPIC) is the default.
16618 lt_prog_compiler_static_GCJ
='-non_shared'
16622 lt_prog_compiler_pic_GCJ
='-KPIC'
16623 lt_prog_compiler_static_GCJ
='-Bstatic'
16626 linux
* | k
*bsd
*-gnu)
16627 case $cc_basename in
16629 lt_prog_compiler_wl_GCJ
='-Wl,'
16630 lt_prog_compiler_pic_GCJ
='-KPIC'
16631 lt_prog_compiler_static_GCJ
='-static'
16633 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16634 # Portland Group compilers (*not* the Pentium gcc compiler,
16635 # which looks to be a dead project)
16636 lt_prog_compiler_wl_GCJ
='-Wl,'
16637 lt_prog_compiler_pic_GCJ
='-fpic'
16638 lt_prog_compiler_static_GCJ
='-Bstatic'
16641 lt_prog_compiler_wl_GCJ
='-Wl,'
16642 # All Alpha code is PIC.
16643 lt_prog_compiler_static_GCJ
='-non_shared'
16646 case `$CC -V 2>&1 | sed 5q` in
16649 lt_prog_compiler_pic_GCJ
='-KPIC'
16650 lt_prog_compiler_static_GCJ
='-Bstatic'
16651 lt_prog_compiler_wl_GCJ
='-Wl,'
16654 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16655 lt_prog_compiler_pic_GCJ
='-KPIC'
16656 lt_prog_compiler_static_GCJ
='-Bstatic'
16657 lt_prog_compiler_wl_GCJ
=''
16664 osf3
* | osf4
* | osf5
*)
16665 lt_prog_compiler_wl_GCJ
='-Wl,'
16666 # All OSF/1 code is PIC.
16667 lt_prog_compiler_static_GCJ
='-non_shared'
16671 lt_prog_compiler_static_GCJ
='-non_shared'
16675 lt_prog_compiler_pic_GCJ
='-KPIC'
16676 lt_prog_compiler_static_GCJ
='-Bstatic'
16677 case $cc_basename in
16678 f77
* | f90
* | f95
*)
16679 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16681 lt_prog_compiler_wl_GCJ
='-Wl,';;
16686 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16687 lt_prog_compiler_pic_GCJ
='-PIC'
16688 lt_prog_compiler_static_GCJ
='-Bstatic'
16691 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16692 lt_prog_compiler_wl_GCJ
='-Wl,'
16693 lt_prog_compiler_pic_GCJ
='-KPIC'
16694 lt_prog_compiler_static_GCJ
='-Bstatic'
16698 if test -d /usr
/nec
;then
16699 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16700 lt_prog_compiler_static_GCJ
='-Bstatic'
16704 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16705 lt_prog_compiler_wl_GCJ
='-Wl,'
16706 lt_prog_compiler_pic_GCJ
='-KPIC'
16707 lt_prog_compiler_static_GCJ
='-Bstatic'
16711 lt_prog_compiler_wl_GCJ
='-Wl,'
16712 lt_prog_compiler_can_build_shared_GCJ
=no
16716 lt_prog_compiler_pic_GCJ
='-pic'
16717 lt_prog_compiler_static_GCJ
='-Bstatic'
16721 lt_prog_compiler_can_build_shared_GCJ
=no
16726 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16727 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16730 # Check to make sure the PIC flag actually works.
16732 if test -n "$lt_prog_compiler_pic_GCJ"; then
16734 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16735 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16736 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16737 echo $ECHO_N "(cached) $ECHO_C" >&6
16739 lt_prog_compiler_pic_works_GCJ
=no
16740 ac_outfile
=conftest.
$ac_objext
16741 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16742 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16743 # Insert the option either (1) after the last *FLAGS variable, or
16744 # (2) before a word containing "conftest.", or (3) at the end.
16745 # Note that $ac_compile itself does not contain backslashes and begins
16746 # with a dollar sign (not a hyphen), so the echo should work correctly.
16747 # The option is referenced via a variable to avoid confusing sed.
16748 lt_compile
=`echo "$ac_compile" | $SED \
16749 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16750 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16751 -e 's:$: $lt_compiler_flag:'`
16752 (eval echo "\"\$as_me:16752: $lt_compile\"" >&5)
16753 (eval "$lt_compile" 2>conftest.err
)
16755 cat conftest.err
>&5
16756 echo "$as_me:16756: \$? = $ac_status" >&5
16757 if (exit $ac_status) && test -s "$ac_outfile"; then
16758 # The compiler can only warn and ignore the option if not recognized
16759 # So say no if there are warnings other than the usual output.
16760 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16761 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16762 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16763 lt_prog_compiler_pic_works_GCJ
=yes
16769 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16770 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16772 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16773 case $lt_prog_compiler_pic_GCJ in
16775 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16778 lt_prog_compiler_pic_GCJ
=
16779 lt_prog_compiler_can_build_shared_GCJ
=no
16784 # For platforms which do not support PIC, -DPIC is meaningless:
16786 lt_prog_compiler_pic_GCJ
=
16789 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16794 # Check to make sure the static flag actually works.
16796 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16797 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16798 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16799 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16800 echo $ECHO_N "(cached) $ECHO_C" >&6
16802 lt_prog_compiler_static_works_GCJ
=no
16803 save_LDFLAGS
="$LDFLAGS"
16804 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16805 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16806 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16807 # The linker can only warn and ignore the option if not recognized
16808 # So say no if there are warnings
16809 if test -s conftest.err
; then
16810 # Append any errors to the config.log.
16811 cat conftest.err
1>&5
16812 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16813 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16814 if diff conftest.exp conftest.er2
>/dev
/null
; then
16815 lt_prog_compiler_static_works_GCJ
=yes
16818 lt_prog_compiler_static_works_GCJ
=yes
16822 LDFLAGS
="$save_LDFLAGS"
16825 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16826 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16828 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16831 lt_prog_compiler_static_GCJ
=
16835 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16836 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16837 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16840 lt_cv_prog_compiler_c_o_GCJ
=no
16841 $rm -r conftest
2>/dev
/null
16845 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16847 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16848 # Insert the option either (1) after the last *FLAGS variable, or
16849 # (2) before a word containing "conftest.", or (3) at the end.
16850 # Note that $ac_compile itself does not contain backslashes and begins
16851 # with a dollar sign (not a hyphen), so the echo should work correctly.
16852 lt_compile
=`echo "$ac_compile" | $SED \
16853 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16854 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16855 -e 's:$: $lt_compiler_flag:'`
16856 (eval echo "\"\$as_me:16856: $lt_compile\"" >&5)
16857 (eval "$lt_compile" 2>out
/conftest.err
)
16859 cat out
/conftest.err
>&5
16860 echo "$as_me:16860: \$? = $ac_status" >&5
16861 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16863 # The compiler can only warn and ignore the option if not recognized
16864 # So say no if there are warnings
16865 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16866 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16867 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16868 lt_cv_prog_compiler_c_o_GCJ
=yes
16873 # SGI C++ compiler will create directory out/ii_files/ for
16874 # template instantiation
16875 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16876 $rm out
/* && rmdir out
16882 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16883 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16886 hard_links
="nottested"
16887 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16888 # do not overwrite the value of need_locks provided by the user
16889 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16890 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16893 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16895 ln conftest.a conftest.b
2>&5 || hard_links
=no
16896 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16897 { echo "$as_me:$LINENO: result: $hard_links" >&5
16898 echo "${ECHO_T}$hard_links" >&6; }
16899 if test "$hard_links" = no
; then
16900 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16901 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16908 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16909 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16912 allow_undefined_flag_GCJ
=
16913 enable_shared_with_static_runtimes_GCJ
=no
16915 archive_expsym_cmds_GCJ
=
16916 old_archive_From_new_cmds_GCJ
=
16917 old_archive_from_expsyms_cmds_GCJ
=
16918 export_dynamic_flag_spec_GCJ
=
16919 whole_archive_flag_spec_GCJ
=
16920 thread_safe_flag_spec_GCJ
=
16921 hardcode_libdir_flag_spec_GCJ
=
16922 hardcode_libdir_flag_spec_ld_GCJ
=
16923 hardcode_libdir_separator_GCJ
=
16924 hardcode_direct_GCJ
=no
16925 hardcode_minus_L_GCJ
=no
16926 hardcode_shlibpath_var_GCJ
=unsupported
16927 link_all_deplibs_GCJ
=unknown
16928 hardcode_automatic_GCJ
=no
16930 module_expsym_cmds_GCJ
=
16931 always_export_symbols_GCJ
=no
16932 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16933 # include_expsyms should be a list of space-separated symbols to be *always*
16934 # included in the symbol list
16935 include_expsyms_GCJ
=
16936 # exclude_expsyms can be an extended regexp of symbols to exclude
16937 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16938 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16939 # as well as any symbol that contains `d'.
16940 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16941 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16942 # platforms (ab)use it in PIC code, but their linkers get confused if
16943 # the symbol is explicitly referenced. Since portable code cannot
16944 # rely on this symbol name, it's probably fine to never include it in
16945 # preloaded symbol tables.
16946 extract_expsyms_cmds
=
16947 # Just being paranoid about ensuring that cc_basename is set.
16948 for cc_temp
in $compiler""; do
16950 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16951 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16956 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16959 cygwin
* | mingw
* | pw32
*)
16960 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16961 # When not using gcc, we currently assume that we are using
16962 # Microsoft Visual C++.
16963 if test "$GCC" != yes; then
16968 # we just hope/assume this is gcc and not c89 (= MSVC++)
16977 if test "$with_gnu_ld" = yes; then
16978 # If archive_cmds runs LD, not CC, wlarc should be empty
16981 # Set some defaults for GNU ld with shared library support. These
16982 # are reset later if shared libraries are not supported. Putting them
16983 # here allows them to be overridden if necessary.
16984 runpath_var
=LD_RUN_PATH
16985 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16986 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16987 # ancient GNU ld didn't support --whole-archive et. al.
16988 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16989 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16991 whole_archive_flag_spec_GCJ
=
16993 supports_anon_versioning
=no
16994 case `$LD -v 2>/dev/null` in
16995 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16996 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16997 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16998 *\
2.11.
*) ;; # other 2.11 versions
16999 *) supports_anon_versioning
=yes ;;
17002 # See if GNU ld supports shared libraries.
17004 aix3
* | aix4
* | aix5
*)
17005 # On AIX/PPC, the GNU linker is very broken
17006 if test "$host_cpu" != ia64
; then
17010 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17011 *** to be unable to reliably create shared libraries on AIX.
17012 *** Therefore, libtool is disabling shared libraries support. If you
17013 *** really care for shared libraries, you may want to modify your PATH
17014 *** so that a non-GNU linker is found, and then restart.
17021 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)'
17022 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17023 hardcode_minus_L_GCJ
=yes
17025 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17026 # that the semantics of dynamic libraries on AmigaOS, at least up
17027 # to version 4, is to share data among multiple programs linked
17028 # with the same dynamic library. Since this doesn't match the
17029 # behavior of shared libraries on other platforms, we can't use
17035 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17036 allow_undefined_flag_GCJ
=unsupported
17037 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17038 # support --undefined. This deserves some investigation. FIXME
17039 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17045 cygwin
* | mingw
* | pw32
*)
17046 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17047 # as there is no search path for DLLs.
17048 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17049 allow_undefined_flag_GCJ
=unsupported
17050 always_export_symbols_GCJ
=no
17051 enable_shared_with_static_runtimes_GCJ
=yes
17052 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17054 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17055 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17056 # If the export-symbols file already is a .def file (1st line
17057 # is EXPORTS), use it as is; otherwise, prepend...
17058 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17059 cp $export_symbols $output_objdir/$soname.def;
17061 echo EXPORTS > $output_objdir/$soname.def;
17062 cat $export_symbols >> $output_objdir/$soname.def;
17064 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17071 hardcode_direct_GCJ
=no
17072 hardcode_shlibpath_var_GCJ
=no
17073 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17074 export_dynamic_flag_spec_GCJ
='${wl}-E'
17075 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17076 # Instead, shared libraries are loaded at an image base (0x10000000 by
17077 # default) and relocated if they conflict, which is a slow very memory
17078 # consuming and fragmenting process. To avoid this, we pick a random,
17079 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17080 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17081 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'
17082 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'
17085 gnu
* | linux
* | k
*bsd
*-gnu)
17086 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17088 case $cc_basename,$host_cpu in
17089 pgcc
*) # Portland Group C compiler
17090 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'
17091 tmp_addflag
=' $pic_flag'
17093 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17094 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'
17095 tmp_addflag
=' $pic_flag -Mnomain' ;;
17096 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17097 tmp_addflag
=' -i_dynamic' ;;
17098 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17099 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17100 ifc
* | ifort
*) # Intel Fortran compiler
17101 tmp_addflag
=' -nofor_main' ;;
17103 case `$CC -V 2>&1 | sed 5q` in
17104 *Sun\ C
*) # Sun C 5.9
17105 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'
17106 tmp_sharedflag
='-G' ;;
17107 *Sun\ F
*) # Sun Fortran 8.3
17108 tmp_sharedflag
='-G' ;;
17110 tmp_sharedflag
='-shared' ;;
17112 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17114 if test $supports_anon_versioning = yes; then
17115 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17116 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17117 $echo "local: *; };" >> $output_objdir/$libname.ver~
17118 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17126 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17127 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17130 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17131 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17136 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17140 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17141 *** create shared libraries on Solaris systems. Therefore, libtool
17142 *** is disabling shared libraries support. We urge you to upgrade GNU
17143 *** binutils to release 2.9.1 or newer. Another option is to modify
17144 *** your PATH or compiler configuration so that the native linker is
17145 *** used, and then restart.
17148 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17149 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17150 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17156 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17157 case `$LD -v 2>&1` in
17158 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17162 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17163 *** reliably create shared libraries on SCO systems. Therefore, libtool
17164 *** is disabling shared libraries support. We urge you to upgrade GNU
17165 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17166 *** your PATH or compiler configuration so that the native linker is
17167 *** used, and then restart.
17172 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17173 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17174 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17175 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17184 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17186 hardcode_direct_GCJ
=yes
17187 hardcode_shlibpath_var_GCJ
=no
17191 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17192 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17193 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17200 if test "$ld_shlibs_GCJ" = no
; then
17202 hardcode_libdir_flag_spec_GCJ
=
17203 export_dynamic_flag_spec_GCJ
=
17204 whole_archive_flag_spec_GCJ
=
17207 # PORTME fill in a description of your system's linker (not GNU ld)
17210 allow_undefined_flag_GCJ
=unsupported
17211 always_export_symbols_GCJ
=yes
17212 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'
17213 # Note: this linker hardcodes the directories in LIBPATH if there
17214 # are no directories specified by -L.
17215 hardcode_minus_L_GCJ
=yes
17216 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17217 # Neither direct hardcoding nor static linking is supported with a
17219 hardcode_direct_GCJ
=unsupported
17224 if test "$host_cpu" = ia64
; then
17225 # On IA64, the linker does run time linking by default, so we don't
17226 # have to do anything special.
17227 aix_use_runtimelinking
=no
17228 exp_sym_flag
='-Bexport'
17231 # If we're using GNU nm, then we don't want the "-C" option.
17232 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17233 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17234 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'
17236 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'
17238 aix_use_runtimelinking
=no
17240 # Test if we are trying to use run time linking or normal
17241 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17242 # need to do runtime linking.
17243 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17244 for ld_flag
in $LDFLAGS; do
17245 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17246 aix_use_runtimelinking
=yes
17253 exp_sym_flag
='-bexport'
17254 no_entry_flag
='-bnoentry'
17257 # When large executables or shared objects are built, AIX ld can
17258 # have problems creating the table of contents. If linking a library
17259 # or program results in "error TOC overflow" add -mminimal-toc to
17260 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17261 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17263 archive_cmds_GCJ
=''
17264 hardcode_direct_GCJ
=yes
17265 hardcode_libdir_separator_GCJ
=':'
17266 link_all_deplibs_GCJ
=yes
17268 if test "$GCC" = yes; then
17269 case $host_os in aix4.
[012]|aix4.
[012].
*)
17270 # We only want to do this on AIX 4.2 and lower, the check
17271 # below for broken collect2 doesn't work under 4.3+
17272 collect2name
=`${CC} -print-prog-name=collect2`
17273 if test -f "$collect2name" && \
17274 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17276 # We have reworked collect2
17279 # We have old collect2
17280 hardcode_direct_GCJ
=unsupported
17281 # It fails to find uninstalled libraries when the uninstalled
17282 # path is not listed in the libpath. Setting hardcode_minus_L
17283 # to unsupported forces relinking
17284 hardcode_minus_L_GCJ
=yes
17285 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17286 hardcode_libdir_separator_GCJ
=
17290 shared_flag
='-shared'
17291 if test "$aix_use_runtimelinking" = yes; then
17292 shared_flag
="$shared_flag "'${wl}-G'
17296 if test "$host_cpu" = ia64
; then
17297 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17298 # chokes on -Wl,-G. The following line is correct:
17301 if test "$aix_use_runtimelinking" = yes; then
17302 shared_flag
='${wl}-G'
17304 shared_flag
='${wl}-bM:SRE'
17309 # It seems that -bexpall does not export symbols beginning with
17310 # underscore (_), so it is better to generate a list of symbols to export.
17311 always_export_symbols_GCJ
=yes
17312 if test "$aix_use_runtimelinking" = yes; then
17313 # Warning - without using the other runtime loading flags (-brtl),
17314 # -berok will link without error, but may produce a broken library.
17315 allow_undefined_flag_GCJ
='-berok'
17316 # Determine the default libpath from the value encoded in an empty executable.
17317 cat >conftest.
$ac_ext <<_ACEOF
17320 cat confdefs.h
>>conftest.
$ac_ext
17321 cat >>conftest.
$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17332 rm -f conftest.
$ac_objext conftest
$ac_exeext
17333 if { (ac_try
="$ac_link"
17334 case "(($ac_try" in
17335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17336 *) ac_try_echo=$ac_try;;
17338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17339 (eval "$ac_link") 2>conftest.er1
17341 grep -v '^ *+' conftest.er1 >conftest.err
17343 cat conftest.err >&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); } && {
17346 test -z "$ac_c_werror_flag" ||
17347 test ! -s conftest.err
17348 } && test -s conftest$ac_exeext &&
17349 $as_test_x conftest$ac_exeext; then
17351 lt_aix_libpath_sed='
17352 /Import File Strings/,/^$/ {
17358 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17359 # Check for a 64-bit object if we didn't find anything.
17360 if test -z "$aix_libpath"; then
17361 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17371 conftest$ac_exeext conftest.$ac_ext
17372 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17374 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17375 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"
17377 if test "$host_cpu" = ia64; then
17378 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17379 allow_undefined_flag_GCJ="-z nodefs"
17380 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"
17382 # Determine the default libpath from the value encoded in an empty executable.
17383 cat >conftest.$ac_ext <<_ACEOF
17386 cat confdefs.h >>conftest.$ac_ext
17387 cat >>conftest.$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17398 rm -f conftest.$ac_objext conftest$ac_exeext
17399 if { (ac_try="$ac_link"
17400 case "(($ac_try" in
17401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17402 *) ac_try_echo
=$ac_try;;
17404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17405 (eval "$ac_link") 2>conftest.er1
17407 grep -v '^ *+' conftest.er1
>conftest.err
17409 cat conftest.err
>&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } && {
17412 test -z "$ac_c_werror_flag" ||
17413 test ! -s conftest.err
17414 } && test -s conftest
$ac_exeext &&
17415 $as_test_x conftest
$ac_exeext; then
17417 lt_aix_libpath_sed
='
17418 /Import File Strings/,/^$/ {
17424 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17425 # Check for a 64-bit object if we didn't find anything.
17426 if test -z "$aix_libpath"; then
17427 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17430 echo "$as_me: failed program was:" >&5
17431 sed 's/^/| /' conftest.
$ac_ext >&5
17436 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17437 conftest
$ac_exeext conftest.
$ac_ext
17438 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17440 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17441 # Warning - without using the other run time loading flags,
17442 # -berok will link without error, but may produce a broken library.
17443 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17444 allow_undefined_flag_GCJ
=' ${wl}-berok'
17445 # Exported symbols can be pulled into shared objects from archives
17446 whole_archive_flag_spec_GCJ
='$convenience'
17447 archive_cmds_need_lc_GCJ
=yes
17448 # This is similar to how AIX traditionally builds its shared libraries.
17449 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'
17455 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)'
17456 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17457 hardcode_minus_L_GCJ
=yes
17458 # see comment about different semantics on the GNU ld section
17463 export_dynamic_flag_spec_GCJ
=-rdynamic
17466 cygwin
* | mingw
* | pw32
*)
17467 # When not using gcc, we currently assume that we are using
17468 # Microsoft Visual C++.
17469 # hardcode_libdir_flag_spec is actually meaningless, as there is
17470 # no search path for DLLs.
17471 hardcode_libdir_flag_spec_GCJ
=' '
17472 allow_undefined_flag_GCJ
=unsupported
17473 # Tell ltmain to make .lib files, not .a files.
17475 # Tell ltmain to make .dll files, not .so files.
17477 # FIXME: Setting linknames here is a bad hack.
17478 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17479 # The linker will automatically build a .lib file if we build a DLL.
17480 old_archive_From_new_cmds_GCJ
='true'
17481 # FIXME: Should let the user specify the lib program.
17482 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17483 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17484 enable_shared_with_static_runtimes_GCJ
=yes
17487 darwin
* | rhapsody
*)
17489 rhapsody
* | darwin1.
[012])
17490 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17493 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17494 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17496 case ${MACOSX_DEPLOYMENT_TARGET} in
17498 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17501 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17507 archive_cmds_need_lc_GCJ
=no
17508 hardcode_direct_GCJ
=no
17509 hardcode_automatic_GCJ
=yes
17510 hardcode_shlibpath_var_GCJ
=unsupported
17511 whole_archive_flag_spec_GCJ
=''
17512 link_all_deplibs_GCJ
=yes
17513 if test "$GCC" = yes ; then
17514 output_verbose_link_cmd
='echo'
17515 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17516 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17517 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17518 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}'
17519 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}'
17521 case $cc_basename in
17523 output_verbose_link_cmd
='echo'
17524 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17525 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17526 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17527 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}'
17528 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}'
17538 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17539 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17540 hardcode_shlibpath_var_GCJ
=no
17547 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17548 # support. Future versions do this automatically, but an explicit c++rt0.o
17549 # does not break anything, and helps significantly (at the cost of a little
17552 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17553 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17554 hardcode_direct_GCJ
=yes
17555 hardcode_shlibpath_var_GCJ
=no
17558 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17560 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17561 hardcode_direct_GCJ
=yes
17562 hardcode_minus_L_GCJ
=yes
17563 hardcode_shlibpath_var_GCJ
=no
17566 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17567 freebsd
* | dragonfly
*)
17568 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17569 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17570 hardcode_direct_GCJ
=yes
17571 hardcode_shlibpath_var_GCJ
=no
17575 if test "$GCC" = yes; then
17576 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'
17578 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'
17580 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17581 hardcode_libdir_separator_GCJ
=:
17582 hardcode_direct_GCJ
=yes
17584 # hardcode_minus_L: Not really in the search PATH,
17585 # but as the default location of the library.
17586 hardcode_minus_L_GCJ
=yes
17587 export_dynamic_flag_spec_GCJ
='${wl}-E'
17591 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17592 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17594 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17596 if test "$with_gnu_ld" = no
; then
17597 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17598 hardcode_libdir_separator_GCJ
=:
17600 hardcode_direct_GCJ
=yes
17601 export_dynamic_flag_spec_GCJ
='${wl}-E'
17603 # hardcode_minus_L: Not really in the search PATH,
17604 # but as the default location of the library.
17605 hardcode_minus_L_GCJ
=yes
17610 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17613 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17616 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17619 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17625 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17628 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17631 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17635 if test "$with_gnu_ld" = no
; then
17636 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17637 hardcode_libdir_separator_GCJ
=:
17641 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17642 hardcode_direct_GCJ
=no
17643 hardcode_shlibpath_var_GCJ
=no
17646 hardcode_direct_GCJ
=yes
17647 export_dynamic_flag_spec_GCJ
='${wl}-E'
17649 # hardcode_minus_L: Not really in the search PATH,
17650 # but as the default location of the library.
17651 hardcode_minus_L_GCJ
=yes
17657 irix5
* | irix6
* | nonstopux
*)
17658 if test "$GCC" = yes; then
17659 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'
17661 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'
17662 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17664 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17665 hardcode_libdir_separator_GCJ
=:
17666 link_all_deplibs_GCJ
=yes
17670 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17671 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17673 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17675 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17676 hardcode_direct_GCJ
=yes
17677 hardcode_shlibpath_var_GCJ
=no
17681 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17682 hardcode_direct_GCJ
=yes
17683 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17684 hardcode_libdir_separator_GCJ
=:
17685 hardcode_shlibpath_var_GCJ
=no
17689 if test -f /usr
/libexec
/ld.so
; then
17690 hardcode_direct_GCJ
=yes
17691 hardcode_shlibpath_var_GCJ
=no
17692 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17693 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17694 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17695 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17696 export_dynamic_flag_spec_GCJ
='${wl}-E'
17699 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17700 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17701 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17704 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17705 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17715 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17716 hardcode_minus_L_GCJ
=yes
17717 allow_undefined_flag_GCJ
=unsupported
17718 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'
17719 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17723 if test "$GCC" = yes; then
17724 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17725 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'
17727 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17728 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'
17730 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17731 hardcode_libdir_separator_GCJ
=:
17734 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17735 if test "$GCC" = yes; then
17736 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17737 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'
17738 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17740 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17741 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'
17742 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~
17743 $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'
17745 # Both c and cxx compiler support -rpath directly
17746 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17748 hardcode_libdir_separator_GCJ
=:
17752 no_undefined_flag_GCJ
=' -z text'
17753 if test "$GCC" = yes; then
17755 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17756 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17757 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17760 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17761 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17762 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17764 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17765 hardcode_shlibpath_var_GCJ
=no
17767 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17769 # The compiler driver will combine and reorder linker options,
17770 # but understands `-z linker_flag'. GCC discards it without `$wl',
17771 # but is careful enough not to reorder.
17772 # Supported since Solaris 2.6 (maybe 2.5.1?)
17773 if test "$GCC" = yes; then
17774 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17776 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17780 link_all_deplibs_GCJ
=yes
17784 if test "x$host_vendor" = xsequent
; then
17785 # Use $CC to link under sequent, because it throws in some extra .o
17786 # files that make .init and .fini sections work.
17787 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17789 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17791 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17792 hardcode_direct_GCJ
=yes
17793 hardcode_minus_L_GCJ
=yes
17794 hardcode_shlibpath_var_GCJ
=no
17798 case $host_vendor in
17800 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17801 hardcode_direct_GCJ
=yes # is this really true???
17804 ## LD is ld it makes a PLAMLIB
17805 ## CC just makes a GrossModule.
17806 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17807 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17808 hardcode_direct_GCJ
=no
17811 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17812 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17815 runpath_var
='LD_RUN_PATH'
17816 hardcode_shlibpath_var_GCJ
=no
17820 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17821 hardcode_shlibpath_var_GCJ
=no
17822 export_dynamic_flag_spec_GCJ
='-Bexport'
17826 if test -d /usr
/nec
; then
17827 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17828 hardcode_shlibpath_var_GCJ
=no
17829 runpath_var
=LD_RUN_PATH
17830 hardcode_runpath_var
=yes
17835 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17836 no_undefined_flag_GCJ
='${wl}-z,text'
17837 archive_cmds_need_lc_GCJ
=no
17838 hardcode_shlibpath_var_GCJ
=no
17839 runpath_var
='LD_RUN_PATH'
17841 if test "$GCC" = yes; then
17842 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17843 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17845 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17846 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17850 sysv5
* | sco3.2v5
* | sco5v6
*)
17851 # Note: We can NOT use -z defs as we might desire, because we do not
17852 # link with -lc, and that would cause any symbols used from libc to
17853 # always be unresolved, which means just about no library would
17854 # ever link correctly. If we're not using GNU ld we use -z text
17855 # though, which does catch some bad symbols but isn't as heavy-handed
17857 no_undefined_flag_GCJ
='${wl}-z,text'
17858 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17859 archive_cmds_need_lc_GCJ
=no
17860 hardcode_shlibpath_var_GCJ
=no
17861 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17862 hardcode_libdir_separator_GCJ
=':'
17863 link_all_deplibs_GCJ
=yes
17864 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17865 runpath_var
='LD_RUN_PATH'
17867 if test "$GCC" = yes; then
17868 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17869 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17871 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17872 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17877 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17878 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17879 hardcode_shlibpath_var_GCJ
=no
17888 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17889 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17890 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17893 # Do we need to explicitly link libc?
17895 case "x$archive_cmds_need_lc_GCJ" in
17897 # Assume -lc should be added
17898 archive_cmds_need_lc_GCJ
=yes
17900 if test "$enable_shared" = yes && test "$GCC" = yes; then
17901 case $archive_cmds_GCJ in
17903 # FIXME: we may have to deal with multi-command sequences.
17906 # Test whether the compiler implicitly links with -lc since on some
17907 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17908 # to ld, don't add -lc before -lgcc.
17909 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17910 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17912 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17915 (eval $ac_compile) 2>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } 2>conftest.err
; then
17921 libobjs
=conftest.
$ac_objext
17923 wl
=$lt_prog_compiler_wl_GCJ
17924 pic_flag
=$lt_prog_compiler_pic_GCJ
17930 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17931 allow_undefined_flag_GCJ
=
17932 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17933 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); }
17938 archive_cmds_need_lc_GCJ
=no
17940 archive_cmds_need_lc_GCJ
=yes
17942 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17944 cat conftest.err
1>&5
17947 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17948 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17955 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17956 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17957 library_names_spec
=
17958 libname_spec
='lib$name'
17962 postuninstall_cmds
=
17966 shlibpath_overrides_runpath
=unknown
17968 dynamic_linker
="$host_os ld.so"
17969 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17971 need_lib_prefix
=unknown
17972 hardcode_into_libs
=no
17974 # when you set need_version to no, make sure it does not cause -set_version
17975 # flags to be left without arguments
17976 need_version
=unknown
17981 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17982 shlibpath_var
=LIBPATH
17984 # AIX 3 has no versioning support, so we append a major version to the name.
17985 soname_spec
='${libname}${release}${shared_ext}$major'
17992 hardcode_into_libs
=yes
17993 if test "$host_cpu" = ia64
; then
17994 # AIX 5 supports IA64
17995 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17996 shlibpath_var
=LD_LIBRARY_PATH
17998 # With GCC up to 2.95.x, collect2 would create an import file
17999 # for dependence libraries. The import file would start with
18000 # the line `#! .'. This would cause the generated library to
18001 # depend on `.', always an invalid library. This was fixed in
18002 # development snapshots of GCC prior to 3.0.
18004 aix4 | aix4.
[01] | aix4.
[01].
*)
18005 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18007 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18010 can_build_shared
=no
18014 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18015 # soname into executable. Probably we can add versioning support to
18016 # collect2, so additional links can be useful in future.
18017 if test "$aix_use_runtimelinking" = yes; then
18018 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18019 # instead of lib<name>.a to let people know that these are not
18020 # typical AIX shared libraries.
18021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18023 # We preserve .a as extension for shared libraries through AIX4.2
18024 # and later when we are not doing run time linking.
18025 library_names_spec
='${libname}${release}.a $libname.a'
18026 soname_spec
='${libname}${release}${shared_ext}$major'
18028 shlibpath_var
=LIBPATH
18033 library_names_spec
='$libname.ixlibrary $libname.a'
18034 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18035 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'
18039 library_names_spec
='${libname}${shared_ext}'
18040 dynamic_linker
="$host_os ld.so"
18041 shlibpath_var
=LIBRARY_PATH
18047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18048 soname_spec
='${libname}${release}${shared_ext}$major'
18049 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18050 shlibpath_var
=LD_LIBRARY_PATH
18051 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18052 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18053 # the default ld.so.conf also contains /usr/contrib/lib and
18054 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18055 # libtool to hard-code these into programs
18058 cygwin
* | mingw
* | pw32
*)
18059 version_type
=windows
18064 case $GCC,$host_os in
18065 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18066 library_names_spec
='$libname.dll.a'
18067 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18068 postinstall_cmds
='base_file=`basename \${file}`~
18069 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18070 dldir=$destdir/`dirname \$dlpath`~
18071 test -d \$dldir || mkdir -p \$dldir~
18072 $install_prog $dir/$dlname \$dldir/$dlname~
18073 chmod a+x \$dldir/$dlname'
18074 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18075 dlpath=$dir/\$dldll~
18077 shlibpath_overrides_runpath
=yes
18081 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18082 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18083 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18086 # MinGW DLLs use traditional 'lib' prefix
18087 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18088 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18089 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18090 # It is most probably a Windows format PATH printed by
18091 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18092 # path with ; separators, and with drive letters. We can handle the
18093 # drive letters (cygwin fileutils understands them), so leave them,
18094 # especially as we might pass files found there to a mingw objdump,
18095 # which wouldn't understand a cygwinified path. Ahh.
18096 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18098 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18102 # pw32 DLLs use 'pw' prefix rather than 'lib'
18103 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18109 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18112 dynamic_linker
='Win32 ld.exe'
18113 # FIXME: first we should search . and the directory the executable is in
18117 darwin
* | rhapsody
*)
18118 dynamic_linker
="$host_os dyld"
18119 version_type
=darwin
18122 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18123 soname_spec
='${libname}${release}${major}$shared_ext'
18124 shlibpath_overrides_runpath
=yes
18125 shlibpath_var
=DYLD_LIBRARY_PATH
18126 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18128 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18136 soname_spec
='${libname}${release}${shared_ext}$major'
18137 shlibpath_var
=LD_LIBRARY_PATH
18144 freebsd
* | dragonfly
*)
18145 # DragonFly does not have aout. When/if they implement a new
18146 # versioning mechanism, adjust this.
18147 if test -x /usr
/bin
/objformat
; then
18148 objformat
=`/usr/bin/objformat`
18151 freebsd
[123]*) objformat
=aout
;;
18152 *) objformat
=elf
;;
18155 version_type
=freebsd-
$objformat
18156 case $version_type in
18158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18163 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18167 shlibpath_var
=LD_LIBRARY_PATH
18170 shlibpath_overrides_runpath
=yes
18172 freebsd3.
[01]* | freebsdelf3.
[01]*)
18173 shlibpath_overrides_runpath
=yes
18174 hardcode_into_libs
=yes
18176 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18177 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18178 shlibpath_overrides_runpath
=no
18179 hardcode_into_libs
=yes
18181 *) # from 4.6 on, and DragonFly
18182 shlibpath_overrides_runpath
=yes
18183 hardcode_into_libs
=yes
18192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18193 soname_spec
='${libname}${release}${shared_ext}$major'
18194 shlibpath_var
=LD_LIBRARY_PATH
18195 hardcode_into_libs
=yes
18198 hpux9
* | hpux10
* | hpux11
*)
18199 # Give a soname corresponding to the major version so that dld.sl refuses to
18200 # link against other versions.
18207 hardcode_into_libs
=yes
18208 dynamic_linker
="$host_os dld.so"
18209 shlibpath_var
=LD_LIBRARY_PATH
18210 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18212 soname_spec
='${libname}${release}${shared_ext}$major'
18213 if test "X$HPUX_IA64_MODE" = X32
; then
18214 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18216 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18218 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18222 hardcode_into_libs
=yes
18223 dynamic_linker
="$host_os dld.sl"
18224 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18225 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18227 soname_spec
='${libname}${release}${shared_ext}$major'
18228 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18229 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18233 dynamic_linker
="$host_os dld.sl"
18234 shlibpath_var
=SHLIB_PATH
18235 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18237 soname_spec
='${libname}${release}${shared_ext}$major'
18240 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18241 postinstall_cmds
='chmod 555 $lib'
18248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18249 soname_spec
='${libname}${release}${shared_ext}$major'
18250 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18251 shlibpath_var
=LD_LIBRARY_PATH
18252 shlibpath_overrides_runpath
=no
18253 hardcode_into_libs
=yes
18256 irix5
* | irix6
* | nonstopux
*)
18258 nonstopux
*) version_type
=nonstopux
;;
18260 if test "$lt_cv_prog_gnu_ld" = yes; then
18268 soname_spec
='${libname}${release}${shared_ext}$major'
18269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18271 irix5
* | nonstopux
*)
18272 libsuff
= shlibsuff
=
18275 case $LD in # libtool.m4 will add one of these switches to LD
18276 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18277 libsuff
= shlibsuff
= libmagic
=32-bit;;
18278 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18279 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18280 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18281 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18282 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18286 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18287 shlibpath_overrides_runpath
=no
18288 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18289 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18290 hardcode_into_libs
=yes
18293 # No shared lib support for Linux oldld, aout, or coff.
18294 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18298 # This must be Linux ELF.
18299 linux
* | k
*bsd
*-gnu)
18303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18304 soname_spec
='${libname}${release}${shared_ext}$major'
18305 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18306 shlibpath_var
=LD_LIBRARY_PATH
18307 shlibpath_overrides_runpath
=no
18308 # This implies no fast_install, which is unacceptable.
18309 # Some rework will be needed to allow for fast_install
18310 # before this can be enabled.
18311 hardcode_into_libs
=yes
18312 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18313 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18315 # Append ld.so.conf contents to the search path
18316 if test -f /etc
/ld.so.conf
; then
18317 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' ' '`
18318 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
18321 # We used to test for /lib/ld.so.1 and disable shared libraries on
18322 # powerpc, because MkLinux only supported shared libraries with the
18323 # GNU dynamic linker. Since this was broken with cross compilers,
18324 # most powerpc-linux boxes support dynamic linking these days and
18325 # people can always --disable-shared, the test was removed, and we
18326 # assume the GNU/Linux dynamic linker is in use.
18327 dynamic_linker
='GNU/Linux ld.so'
18334 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18336 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18337 dynamic_linker
='NetBSD (a.out) ld.so'
18339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18340 soname_spec
='${libname}${release}${shared_ext}$major'
18341 dynamic_linker
='NetBSD ld.elf_so'
18343 shlibpath_var
=LD_LIBRARY_PATH
18344 shlibpath_overrides_runpath
=yes
18345 hardcode_into_libs
=yes
18350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18351 shlibpath_var
=LD_LIBRARY_PATH
18352 shlibpath_overrides_runpath
=yes
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
18367 sys_lib_dlsearch_path_spec
="/usr/lib"
18369 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18371 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18372 *) need_version
=no
;;
18374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18375 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18376 shlibpath_var
=LD_LIBRARY_PATH
18377 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18379 openbsd2.
[89] | openbsd2.
[89].
*)
18380 shlibpath_overrides_runpath
=no
18383 shlibpath_overrides_runpath
=yes
18387 shlibpath_overrides_runpath
=yes
18392 libname_spec
='$name'
18395 library_names_spec
='$libname${shared_ext} $libname.a'
18396 dynamic_linker
='OS/2 ld.exe'
18397 shlibpath_var
=LIBPATH
18400 osf3
* | osf4
* | osf5
*)
18404 soname_spec
='${libname}${release}${shared_ext}$major'
18405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18406 shlibpath_var
=LD_LIBRARY_PATH
18407 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18408 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18420 soname_spec
='${libname}${release}${shared_ext}$major'
18421 shlibpath_var
=LD_LIBRARY_PATH
18422 shlibpath_overrides_runpath
=yes
18423 hardcode_into_libs
=yes
18424 # ldd complains unless libraries are executable
18425 postinstall_cmds
='chmod +x $lib'
18430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18431 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18432 shlibpath_var
=LD_LIBRARY_PATH
18433 shlibpath_overrides_runpath
=yes
18434 if test "$with_gnu_ld" = yes; then
18442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18443 soname_spec
='${libname}${release}${shared_ext}$major'
18444 shlibpath_var
=LD_LIBRARY_PATH
18445 case $host_vendor in
18447 shlibpath_overrides_runpath
=no
18449 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18450 runpath_var
=LD_RUN_PATH
18458 shlibpath_overrides_runpath
=no
18459 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18465 if test -d /usr
/nec
;then
18467 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18468 soname_spec
='$libname${shared_ext}.$major'
18469 shlibpath_var
=LD_LIBRARY_PATH
18473 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18474 version_type
=freebsd-elf
18477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18478 soname_spec
='${libname}${release}${shared_ext}$major'
18479 shlibpath_var
=LD_LIBRARY_PATH
18480 hardcode_into_libs
=yes
18481 if test "$with_gnu_ld" = yes; then
18482 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18483 shlibpath_overrides_runpath
=no
18485 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18486 shlibpath_overrides_runpath
=yes
18489 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18493 sys_lib_dlsearch_path_spec
='/usr/lib'
18498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18499 soname_spec
='${libname}${release}${shared_ext}$major'
18500 shlibpath_var
=LD_LIBRARY_PATH
18507 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18508 echo "${ECHO_T}$dynamic_linker" >&6; }
18509 test "$dynamic_linker" = no
&& can_build_shared
=no
18511 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18512 if test "$GCC" = yes; then
18513 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18516 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18517 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18518 hardcode_action_GCJ
=
18519 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18520 test -n "$runpath_var_GCJ" || \
18521 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18523 # We can hardcode non-existant directories.
18524 if test "$hardcode_direct_GCJ" != no
&&
18525 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18526 # have to relink, otherwise we might link with an installed library
18527 # when we should be linking with a yet-to-be-installed one
18528 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18529 test "$hardcode_minus_L_GCJ" != no
; then
18530 # Linking always hardcodes the temporary library directory.
18531 hardcode_action_GCJ
=relink
18533 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18534 hardcode_action_GCJ
=immediate
18537 # We cannot hardcode anything, or else we can only hardcode existing
18539 hardcode_action_GCJ
=unsupported
18541 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18542 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18544 if test "$hardcode_action_GCJ" = relink
; then
18545 # Fast installation is not supported
18546 enable_fast_install
=no
18547 elif test "$shlibpath_overrides_runpath" = yes ||
18548 test "$enable_shared" = no
; then
18549 # Fast installation is not necessary
18550 enable_fast_install
=needless
18554 # The else clause should only fire when bootstrapping the
18555 # libtool distribution, otherwise you forgot to ship ltmain.sh
18556 # with your package, and you will get complaints that there are
18557 # no rules to generate ltmain.sh.
18558 if test -f "$ltmain"; then
18559 # See if we are running on zsh, and set the options which allow our commands through
18560 # without removal of \ escapes.
18561 if test -n "${ZSH_VERSION+set}" ; then
18562 setopt NO_GLOB_SUBST
18564 # Now quote all the things that may contain metacharacters while being
18565 # careful not to overquote the AC_SUBSTed values. We take copies of the
18566 # variables and quote the copies for generation of the libtool script.
18567 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18569 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18570 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18571 deplibs_check_method reload_flag reload_cmds need_locks \
18572 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18573 lt_cv_sys_global_symbol_to_c_name_address \
18574 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18575 old_postinstall_cmds old_postuninstall_cmds \
18579 lt_prog_compiler_wl_GCJ \
18580 lt_prog_compiler_pic_GCJ \
18581 lt_prog_compiler_static_GCJ \
18582 lt_prog_compiler_no_builtin_flag_GCJ \
18583 export_dynamic_flag_spec_GCJ \
18584 thread_safe_flag_spec_GCJ \
18585 whole_archive_flag_spec_GCJ \
18586 enable_shared_with_static_runtimes_GCJ \
18587 old_archive_cmds_GCJ \
18588 old_archive_from_new_cmds_GCJ \
18589 predep_objects_GCJ \
18590 postdep_objects_GCJ \
18593 compiler_lib_search_path_GCJ \
18595 archive_expsym_cmds_GCJ \
18596 postinstall_cmds_GCJ \
18597 postuninstall_cmds_GCJ \
18598 old_archive_from_expsyms_cmds_GCJ \
18599 allow_undefined_flag_GCJ \
18600 no_undefined_flag_GCJ \
18601 export_symbols_cmds_GCJ \
18602 hardcode_libdir_flag_spec_GCJ \
18603 hardcode_libdir_flag_spec_ld_GCJ \
18604 hardcode_libdir_separator_GCJ \
18605 hardcode_automatic_GCJ \
18607 module_expsym_cmds_GCJ \
18608 lt_cv_prog_compiler_c_o_GCJ \
18609 fix_srcfile_path_GCJ \
18610 exclude_expsyms_GCJ \
18611 include_expsyms_GCJ
; do
18614 old_archive_cmds_GCJ | \
18615 old_archive_from_new_cmds_GCJ | \
18616 archive_cmds_GCJ | \
18617 archive_expsym_cmds_GCJ | \
18618 module_cmds_GCJ | \
18619 module_expsym_cmds_GCJ | \
18620 old_archive_from_expsyms_cmds_GCJ | \
18621 export_symbols_cmds_GCJ | \
18622 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18623 postinstall_cmds | postuninstall_cmds | \
18624 old_postinstall_cmds | old_postuninstall_cmds | \
18625 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18626 # Double-quote double-evaled strings.
18627 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18630 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18636 *'\$0 --fallback-echo"')
18637 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18643 cat <<__EOF__ >> "$cfgfile"
18644 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18646 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18648 # Shell to use when invoking shell scripts.
18651 # Whether or not to build shared libraries.
18652 build_libtool_libs=$enable_shared
18654 # Whether or not to build static libraries.
18655 build_old_libs=$enable_static
18657 # Whether or not to add -lc for building shared libraries.
18658 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18660 # Whether or not to disallow shared libs when runtime libs are static
18661 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18663 # Whether or not to optimize for fast installation.
18664 fast_install=$enable_fast_install
18667 host_alias=$host_alias
18671 # The build system.
18672 build_alias=$build_alias
18676 # An echo program that does not interpret backslashes.
18681 AR_FLAGS=$lt_AR_FLAGS
18686 # LTCC compiler flags.
18687 LTCFLAGS=$lt_LTCFLAGS
18689 # A language-specific compiler.
18690 CC=$lt_compiler_GCJ
18692 # Is the compiler the GNU C compiler?
18698 # The linker used to build libraries.
18701 # Whether we need hard or soft links.
18704 # A BSD-compatible nm program.
18707 # A symbol stripping program
18710 # Used to examine libraries when file_magic_cmd begins "file"
18711 MAGIC_CMD=$MAGIC_CMD
18713 # Used on cygwin: DLL creation program.
18716 # Used on cygwin: object dumper.
18719 # Used on cygwin: assembler.
18722 # The name of the directory that contains temporary libtool files.
18725 # How to create reloadable object files.
18726 reload_flag=$lt_reload_flag
18727 reload_cmds=$lt_reload_cmds
18729 # How to pass a linker flag through the compiler.
18730 wl=$lt_lt_prog_compiler_wl_GCJ
18732 # Object file suffix (normally "o").
18733 objext="$ac_objext"
18735 # Old archive suffix (normally "a").
18738 # Shared library suffix (normally ".so").
18739 shrext_cmds='$shrext_cmds'
18741 # Executable file suffix (normally "").
18744 # Additional compiler flags for building library objects.
18745 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18748 # What is the maximum length of a command?
18749 max_cmd_len=$lt_cv_sys_max_cmd_len
18751 # Does compiler simultaneously support -c and -o options?
18752 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18754 # Must we lock files when doing compilation?
18755 need_locks=$lt_need_locks
18757 # Do we need the lib prefix for modules?
18758 need_lib_prefix=$need_lib_prefix
18760 # Do we need a version for libraries?
18761 need_version=$need_version
18763 # Whether dlopen is supported.
18764 dlopen_support=$enable_dlopen
18766 # Whether dlopen of programs is supported.
18767 dlopen_self=$enable_dlopen_self
18769 # Whether dlopen of statically linked programs is supported.
18770 dlopen_self_static=$enable_dlopen_self_static
18772 # Compiler flag to prevent dynamic linking.
18773 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18775 # Compiler flag to turn off builtin functions.
18776 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18778 # Compiler flag to allow reflexive dlopens.
18779 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18781 # Compiler flag to generate shared objects directly from archives.
18782 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18784 # Compiler flag to generate thread-safe objects.
18785 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18787 # Library versioning type.
18788 version_type=$version_type
18790 # Format of library name prefix.
18791 libname_spec=$lt_libname_spec
18793 # List of archive names. First name is the real one, the rest are links.
18794 # The last name is the one that the linker finds with -lNAME.
18795 library_names_spec=$lt_library_names_spec
18797 # The coded name of the library, if different from the real name.
18798 soname_spec=$lt_soname_spec
18800 # Commands used to build and install an old-style archive.
18802 old_archive_cmds=$lt_old_archive_cmds_GCJ
18803 old_postinstall_cmds=$lt_old_postinstall_cmds
18804 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18806 # Create an old-style archive from a shared archive.
18807 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18809 # Create a temporary old-style archive to link instead of a shared archive.
18810 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18812 # Commands used to build and install a shared archive.
18813 archive_cmds=$lt_archive_cmds_GCJ
18814 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18815 postinstall_cmds=$lt_postinstall_cmds
18816 postuninstall_cmds=$lt_postuninstall_cmds
18818 # Commands used to build a loadable module (assumed same as above if empty)
18819 module_cmds=$lt_module_cmds_GCJ
18820 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18822 # Commands to strip libraries.
18823 old_striplib=$lt_old_striplib
18824 striplib=$lt_striplib
18826 # Dependencies to place before the objects being linked to create a
18828 predep_objects=$lt_predep_objects_GCJ
18830 # Dependencies to place after the objects being linked to create a
18832 postdep_objects=$lt_postdep_objects_GCJ
18834 # Dependencies to place before the objects being linked to create a
18836 predeps=$lt_predeps_GCJ
18838 # Dependencies to place after the objects being linked to create a
18840 postdeps=$lt_postdeps_GCJ
18842 # The library search path used internally by the compiler when linking
18843 # a shared library.
18844 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18846 # Method to check whether dependent libraries are shared objects.
18847 deplibs_check_method=$lt_deplibs_check_method
18849 # Command to use when deplibs_check_method == file_magic.
18850 file_magic_cmd=$lt_file_magic_cmd
18852 # Flag that allows shared libraries with undefined symbols to be built.
18853 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18855 # Flag that forces no undefined symbols.
18856 no_undefined_flag=$lt_no_undefined_flag_GCJ
18858 # Commands used to finish a libtool library installation in a directory.
18859 finish_cmds=$lt_finish_cmds
18861 # Same as above, but a single script fragment to be evaled but not shown.
18862 finish_eval=$lt_finish_eval
18864 # Take the output of nm and produce a listing of raw symbols and C names.
18865 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18867 # Transform the output of nm in a proper C declaration
18868 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18870 # Transform the output of nm in a C name address pair
18871 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18873 # This is the shared library runtime path variable.
18874 runpath_var=$runpath_var
18876 # This is the shared library path variable.
18877 shlibpath_var=$shlibpath_var
18879 # Is shlibpath searched before the hard-coded library search path?
18880 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18882 # How to hardcode a shared library path into an executable.
18883 hardcode_action=$hardcode_action_GCJ
18885 # Whether we should hardcode library paths into libraries.
18886 hardcode_into_libs=$hardcode_into_libs
18888 # Flag to hardcode \$libdir into a binary during linking.
18889 # This must work even if \$libdir does not exist.
18890 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18892 # If ld is used when linking, flag to hardcode \$libdir into
18893 # a binary during linking. This must work even if \$libdir does
18895 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18897 # Whether we need a single -rpath flag with a separated argument.
18898 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18900 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18901 # resulting binary.
18902 hardcode_direct=$hardcode_direct_GCJ
18904 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18905 # resulting binary.
18906 hardcode_minus_L=$hardcode_minus_L_GCJ
18908 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18909 # the resulting binary.
18910 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18912 # Set to yes if building a shared library automatically hardcodes DIR into the library
18913 # and all subsequent libraries and executables linked against it.
18914 hardcode_automatic=$hardcode_automatic_GCJ
18916 # Variables whose values should be saved in libtool wrapper scripts and
18917 # restored at relink time.
18918 variables_saved_for_relink="$variables_saved_for_relink"
18920 # Whether libtool must link a program against all its dependency libraries.
18921 link_all_deplibs=$link_all_deplibs_GCJ
18923 # Compile-time system search path for libraries
18924 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18926 # Run-time system search path for libraries
18927 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18929 # Fix the shell variable \$srcfile for the compiler.
18930 fix_srcfile_path=$lt_fix_srcfile_path
18932 # Set to yes if exported symbols are required.
18933 always_export_symbols=$always_export_symbols_GCJ
18935 # The commands to list exported symbols.
18936 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18938 # The commands to extract the exported symbol list from a shared archive.
18939 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18941 # Symbols that should not be listed in the preloaded symbols.
18942 exclude_expsyms=$lt_exclude_expsyms_GCJ
18944 # Symbols that must always be exported.
18945 include_expsyms=$lt_include_expsyms_GCJ
18947 # ### END LIBTOOL TAG CONFIG: $tagname
18953 # If there is no Makefile yet, we rely on a make rule to execute
18954 # `config.status --recheck' to rerun these tests and create the
18955 # libtool script then.
18956 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18957 if test -f "$ltmain_in"; then
18958 test -f Makefile
&& make "$ltmain"
18964 ac_cpp
='$CPP $CPPFLAGS'
18965 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18966 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18967 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18979 # Source file extension for RC test sources.
18982 # Object file extension for compiled RC test sources.
18986 # Code to be used in simple compile tests
18987 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18989 # Code to be used in simple link tests
18990 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18992 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18994 # If no C compiler was specified, use CC.
18997 # If no C compiler flags were specified, use CFLAGS.
18998 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19000 # Allow CC to be a program name with arguments.
19004 # save warnings/boilerplate of simple test code
19005 ac_outfile
=conftest.
$ac_objext
19006 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19007 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19008 _lt_compiler_boilerplate
=`cat conftest.err`
19011 ac_outfile
=conftest.
$ac_objext
19012 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19013 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19014 _lt_linker_boilerplate
=`cat conftest.err`
19018 # Allow CC to be a program name with arguments.
19023 for cc_temp
in $compiler""; do
19025 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19026 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19031 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19033 lt_cv_prog_compiler_c_o_RC
=yes
19035 # The else clause should only fire when bootstrapping the
19036 # libtool distribution, otherwise you forgot to ship ltmain.sh
19037 # with your package, and you will get complaints that there are
19038 # no rules to generate ltmain.sh.
19039 if test -f "$ltmain"; then
19040 # See if we are running on zsh, and set the options which allow our commands through
19041 # without removal of \ escapes.
19042 if test -n "${ZSH_VERSION+set}" ; then
19043 setopt NO_GLOB_SUBST
19045 # Now quote all the things that may contain metacharacters while being
19046 # careful not to overquote the AC_SUBSTed values. We take copies of the
19047 # variables and quote the copies for generation of the libtool script.
19048 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19050 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19051 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19052 deplibs_check_method reload_flag reload_cmds need_locks \
19053 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19054 lt_cv_sys_global_symbol_to_c_name_address \
19055 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19056 old_postinstall_cmds old_postuninstall_cmds \
19060 lt_prog_compiler_wl_RC \
19061 lt_prog_compiler_pic_RC \
19062 lt_prog_compiler_static_RC \
19063 lt_prog_compiler_no_builtin_flag_RC \
19064 export_dynamic_flag_spec_RC \
19065 thread_safe_flag_spec_RC \
19066 whole_archive_flag_spec_RC \
19067 enable_shared_with_static_runtimes_RC \
19068 old_archive_cmds_RC \
19069 old_archive_from_new_cmds_RC \
19070 predep_objects_RC \
19071 postdep_objects_RC \
19074 compiler_lib_search_path_RC \
19076 archive_expsym_cmds_RC \
19077 postinstall_cmds_RC \
19078 postuninstall_cmds_RC \
19079 old_archive_from_expsyms_cmds_RC \
19080 allow_undefined_flag_RC \
19081 no_undefined_flag_RC \
19082 export_symbols_cmds_RC \
19083 hardcode_libdir_flag_spec_RC \
19084 hardcode_libdir_flag_spec_ld_RC \
19085 hardcode_libdir_separator_RC \
19086 hardcode_automatic_RC \
19088 module_expsym_cmds_RC \
19089 lt_cv_prog_compiler_c_o_RC \
19090 fix_srcfile_path_RC \
19091 exclude_expsyms_RC \
19092 include_expsyms_RC
; do
19095 old_archive_cmds_RC | \
19096 old_archive_from_new_cmds_RC | \
19097 archive_cmds_RC | \
19098 archive_expsym_cmds_RC | \
19100 module_expsym_cmds_RC | \
19101 old_archive_from_expsyms_cmds_RC | \
19102 export_symbols_cmds_RC | \
19103 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19104 postinstall_cmds | postuninstall_cmds | \
19105 old_postinstall_cmds | old_postuninstall_cmds | \
19106 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19107 # Double-quote double-evaled strings.
19108 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19111 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19117 *'\$0 --fallback-echo"')
19118 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19124 cat <<__EOF__ >> "$cfgfile"
19125 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19127 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19129 # Shell to use when invoking shell scripts.
19132 # Whether or not to build shared libraries.
19133 build_libtool_libs=$enable_shared
19135 # Whether or not to build static libraries.
19136 build_old_libs=$enable_static
19138 # Whether or not to add -lc for building shared libraries.
19139 build_libtool_need_lc=$archive_cmds_need_lc_RC
19141 # Whether or not to disallow shared libs when runtime libs are static
19142 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19144 # Whether or not to optimize for fast installation.
19145 fast_install=$enable_fast_install
19148 host_alias=$host_alias
19152 # The build system.
19153 build_alias=$build_alias
19157 # An echo program that does not interpret backslashes.
19162 AR_FLAGS=$lt_AR_FLAGS
19167 # LTCC compiler flags.
19168 LTCFLAGS=$lt_LTCFLAGS
19170 # A language-specific compiler.
19173 # Is the compiler the GNU C compiler?
19179 # The linker used to build libraries.
19182 # Whether we need hard or soft links.
19185 # A BSD-compatible nm program.
19188 # A symbol stripping program
19191 # Used to examine libraries when file_magic_cmd begins "file"
19192 MAGIC_CMD=$MAGIC_CMD
19194 # Used on cygwin: DLL creation program.
19197 # Used on cygwin: object dumper.
19200 # Used on cygwin: assembler.
19203 # The name of the directory that contains temporary libtool files.
19206 # How to create reloadable object files.
19207 reload_flag=$lt_reload_flag
19208 reload_cmds=$lt_reload_cmds
19210 # How to pass a linker flag through the compiler.
19211 wl=$lt_lt_prog_compiler_wl_RC
19213 # Object file suffix (normally "o").
19214 objext="$ac_objext"
19216 # Old archive suffix (normally "a").
19219 # Shared library suffix (normally ".so").
19220 shrext_cmds='$shrext_cmds'
19222 # Executable file suffix (normally "").
19225 # Additional compiler flags for building library objects.
19226 pic_flag=$lt_lt_prog_compiler_pic_RC
19229 # What is the maximum length of a command?
19230 max_cmd_len=$lt_cv_sys_max_cmd_len
19232 # Does compiler simultaneously support -c and -o options?
19233 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19235 # Must we lock files when doing compilation?
19236 need_locks=$lt_need_locks
19238 # Do we need the lib prefix for modules?
19239 need_lib_prefix=$need_lib_prefix
19241 # Do we need a version for libraries?
19242 need_version=$need_version
19244 # Whether dlopen is supported.
19245 dlopen_support=$enable_dlopen
19247 # Whether dlopen of programs is supported.
19248 dlopen_self=$enable_dlopen_self
19250 # Whether dlopen of statically linked programs is supported.
19251 dlopen_self_static=$enable_dlopen_self_static
19253 # Compiler flag to prevent dynamic linking.
19254 link_static_flag=$lt_lt_prog_compiler_static_RC
19256 # Compiler flag to turn off builtin functions.
19257 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19259 # Compiler flag to allow reflexive dlopens.
19260 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19262 # Compiler flag to generate shared objects directly from archives.
19263 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19265 # Compiler flag to generate thread-safe objects.
19266 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19268 # Library versioning type.
19269 version_type=$version_type
19271 # Format of library name prefix.
19272 libname_spec=$lt_libname_spec
19274 # List of archive names. First name is the real one, the rest are links.
19275 # The last name is the one that the linker finds with -lNAME.
19276 library_names_spec=$lt_library_names_spec
19278 # The coded name of the library, if different from the real name.
19279 soname_spec=$lt_soname_spec
19281 # Commands used to build and install an old-style archive.
19283 old_archive_cmds=$lt_old_archive_cmds_RC
19284 old_postinstall_cmds=$lt_old_postinstall_cmds
19285 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19287 # Create an old-style archive from a shared archive.
19288 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19290 # Create a temporary old-style archive to link instead of a shared archive.
19291 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19293 # Commands used to build and install a shared archive.
19294 archive_cmds=$lt_archive_cmds_RC
19295 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19296 postinstall_cmds=$lt_postinstall_cmds
19297 postuninstall_cmds=$lt_postuninstall_cmds
19299 # Commands used to build a loadable module (assumed same as above if empty)
19300 module_cmds=$lt_module_cmds_RC
19301 module_expsym_cmds=$lt_module_expsym_cmds_RC
19303 # Commands to strip libraries.
19304 old_striplib=$lt_old_striplib
19305 striplib=$lt_striplib
19307 # Dependencies to place before the objects being linked to create a
19309 predep_objects=$lt_predep_objects_RC
19311 # Dependencies to place after the objects being linked to create a
19313 postdep_objects=$lt_postdep_objects_RC
19315 # Dependencies to place before the objects being linked to create a
19317 predeps=$lt_predeps_RC
19319 # Dependencies to place after the objects being linked to create a
19321 postdeps=$lt_postdeps_RC
19323 # The library search path used internally by the compiler when linking
19324 # a shared library.
19325 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19327 # Method to check whether dependent libraries are shared objects.
19328 deplibs_check_method=$lt_deplibs_check_method
19330 # Command to use when deplibs_check_method == file_magic.
19331 file_magic_cmd=$lt_file_magic_cmd
19333 # Flag that allows shared libraries with undefined symbols to be built.
19334 allow_undefined_flag=$lt_allow_undefined_flag_RC
19336 # Flag that forces no undefined symbols.
19337 no_undefined_flag=$lt_no_undefined_flag_RC
19339 # Commands used to finish a libtool library installation in a directory.
19340 finish_cmds=$lt_finish_cmds
19342 # Same as above, but a single script fragment to be evaled but not shown.
19343 finish_eval=$lt_finish_eval
19345 # Take the output of nm and produce a listing of raw symbols and C names.
19346 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19348 # Transform the output of nm in a proper C declaration
19349 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19351 # Transform the output of nm in a C name address pair
19352 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19354 # This is the shared library runtime path variable.
19355 runpath_var=$runpath_var
19357 # This is the shared library path variable.
19358 shlibpath_var=$shlibpath_var
19360 # Is shlibpath searched before the hard-coded library search path?
19361 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19363 # How to hardcode a shared library path into an executable.
19364 hardcode_action=$hardcode_action_RC
19366 # Whether we should hardcode library paths into libraries.
19367 hardcode_into_libs=$hardcode_into_libs
19369 # Flag to hardcode \$libdir into a binary during linking.
19370 # This must work even if \$libdir does not exist.
19371 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19373 # If ld is used when linking, flag to hardcode \$libdir into
19374 # a binary during linking. This must work even if \$libdir does
19376 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19378 # Whether we need a single -rpath flag with a separated argument.
19379 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19381 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19382 # resulting binary.
19383 hardcode_direct=$hardcode_direct_RC
19385 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19386 # resulting binary.
19387 hardcode_minus_L=$hardcode_minus_L_RC
19389 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19390 # the resulting binary.
19391 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19393 # Set to yes if building a shared library automatically hardcodes DIR into the library
19394 # and all subsequent libraries and executables linked against it.
19395 hardcode_automatic=$hardcode_automatic_RC
19397 # Variables whose values should be saved in libtool wrapper scripts and
19398 # restored at relink time.
19399 variables_saved_for_relink="$variables_saved_for_relink"
19401 # Whether libtool must link a program against all its dependency libraries.
19402 link_all_deplibs=$link_all_deplibs_RC
19404 # Compile-time system search path for libraries
19405 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19407 # Run-time system search path for libraries
19408 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19410 # Fix the shell variable \$srcfile for the compiler.
19411 fix_srcfile_path=$lt_fix_srcfile_path
19413 # Set to yes if exported symbols are required.
19414 always_export_symbols=$always_export_symbols_RC
19416 # The commands to list exported symbols.
19417 export_symbols_cmds=$lt_export_symbols_cmds_RC
19419 # The commands to extract the exported symbol list from a shared archive.
19420 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19422 # Symbols that should not be listed in the preloaded symbols.
19423 exclude_expsyms=$lt_exclude_expsyms_RC
19425 # Symbols that must always be exported.
19426 include_expsyms=$lt_include_expsyms_RC
19428 # ### END LIBTOOL TAG CONFIG: $tagname
19434 # If there is no Makefile yet, we rely on a make rule to execute
19435 # `config.status --recheck' to rerun these tests and create the
19436 # libtool script then.
19437 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19438 if test -f "$ltmain_in"; then
19439 test -f Makefile
&& make "$ltmain"
19445 ac_cpp
='$CPP $CPPFLAGS'
19446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19455 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19456 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19457 { (exit 1); exit 1; }; }
19461 # Append the new tag name to the list of available tags.
19462 if test -n "$tagname" ; then
19463 available_tags
="$available_tags $tagname"
19469 # Now substitute the updated list of available tags.
19470 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19471 mv "${ofile}T" "$ofile"
19475 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19476 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19477 { (exit 1); exit 1; }; }
19483 # This can be used to rebuild libtool when needed
19484 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19486 # Always use our own libtool.
19487 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19489 # Prevent multiple expansion
19511 if test x
$GCC = xyes
19513 CFLAGS
="-Wall $CFLAGS"
19515 if test x
$GXX = xyes
19517 CXXFLAGS
="-Wall $CXXFLAGS"
19520 CFLAGS
="-I$srcdir/.. -I.. $CFLAGS"
19521 CXXFLAGS
="-I$srcdir/.. -I.. $CXXFLAGS"
19525 if test "$dblibrary" != ""
19527 dblibrary
="../$dblibrary"
19531 makedatprog_target
=""
19532 if test "$dblibrary" != ""
19534 makedatprog_target
=makedatprog
19539 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19540 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19541 if test "${ac_cv_header_stdc+set}" = set; then
19542 echo $ECHO_N "(cached) $ECHO_C" >&6
19544 cat >conftest.
$ac_ext <<_ACEOF
19547 cat confdefs.h
>>conftest.
$ac_ext
19548 cat >>conftest.
$ac_ext <<_ACEOF
19549 /* end confdefs.h. */
19550 #include <stdlib.h>
19551 #include <stdarg.h>
19552 #include <string.h>
19563 rm -f conftest.
$ac_objext
19564 if { (ac_try
="$ac_compile"
19565 case "(($ac_try" in
19566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19567 *) ac_try_echo=$ac_try;;
19569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19570 (eval "$ac_compile") 2>conftest.er1
19572 grep -v '^ *+' conftest.er1 >conftest.err
19574 cat conftest.err >&5
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); } && {
19577 test -z "$ac_c_werror_flag" ||
19578 test ! -s conftest.err
19579 } && test -s conftest.$ac_objext; then
19580 ac_cv_header_stdc=yes
19582 echo "$as_me: failed program was:" >&5
19583 sed 's/^/| /' conftest.$ac_ext >&5
19585 ac_cv_header_stdc=no
19588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19590 if test $ac_cv_header_stdc = yes; then
19591 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19592 cat >conftest.$ac_ext <<_ACEOF
19595 cat confdefs.h >>conftest.$ac_ext
19596 cat >>conftest.$ac_ext <<_ACEOF
19597 /* end confdefs.h. */
19598 #include <string.h>
19601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19602 $EGREP "memchr" >/dev/null 2>&1; then
19605 ac_cv_header_stdc=no
19611 if test $ac_cv_header_stdc = yes; then
19612 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19613 cat >conftest.$ac_ext <<_ACEOF
19616 cat confdefs.h >>conftest.$ac_ext
19617 cat >>conftest.$ac_ext <<_ACEOF
19618 /* end confdefs.h. */
19619 #include <stdlib.h>
19622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19623 $EGREP "free" >/dev/null 2>&1; then
19626 ac_cv_header_stdc=no
19632 if test $ac_cv_header_stdc = yes; then
19633 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19634 if test "$cross_compiling" = yes; then
19637 cat >conftest.$ac_ext <<_ACEOF
19640 cat confdefs.h >>conftest.$ac_ext
19641 cat >>conftest.$ac_ext <<_ACEOF
19642 /* end confdefs.h. */
19644 #include <stdlib.h>
19645 #if ((' ' & 0x0FF) == 0x020)
19646 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19647 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19649 # define ISLOWER(c) \
19650 (('a' <= (c) && (c) <= 'i') \
19651 || ('j' <= (c) && (c) <= 'r') \
19652 || ('s' <= (c) && (c) <= 'z'))
19653 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19656 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19661 for (i = 0; i < 256; i++)
19662 if (XOR (islower (i), ISLOWER (i))
19663 || toupper (i) != TOUPPER (i))
19668 rm -f conftest$ac_exeext
19669 if { (ac_try="$ac_link"
19670 case "(($ac_try" in
19671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19672 *) ac_try_echo
=$ac_try;;
19674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19675 (eval "$ac_link") 2>&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19679 { (case "(($ac_try" in
19680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19681 *) ac_try_echo=$ac_try;;
19683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19684 (eval "$ac_try") 2>&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); }; }; then
19690 echo "$as_me: program exited with status $ac_status" >&5
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.$ac_ext >&5
19694 ( exit $ac_status )
19695 ac_cv_header_stdc=no
19697 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19703 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19704 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19705 if test $ac_cv_header_stdc = yes; then
19707 cat >>confdefs.h <<\_ACEOF
19708 #define STDC_HEADERS 1
19714 for ac_header in unistd.h
19716 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
19717 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19718 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19720 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19721 echo $ECHO_N "(cached) $ECHO_C" >&6
19723 ac_res=`eval echo '${'$as_ac_Header'}'`
19724 { echo "$as_me:$LINENO: result: $ac_res" >&5
19725 echo "${ECHO_T}$ac_res" >&6; }
19727 # Is the header compilable?
19728 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19729 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19730 cat >conftest.$ac_ext <<_ACEOF
19733 cat confdefs.h >>conftest.$ac_ext
19734 cat >>conftest.$ac_ext <<_ACEOF
19735 /* end confdefs.h. */
19736 $ac_includes_default
19737 #include <$ac_header>
19739 rm -f conftest.$ac_objext
19740 if { (ac_try="$ac_compile"
19741 case "(($ac_try" in
19742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19743 *) ac_try_echo
=$ac_try;;
19745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19746 (eval "$ac_compile") 2>conftest.er1
19748 grep -v '^ *+' conftest.er1
>conftest.err
19750 cat conftest.err
>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); } && {
19753 test -z "$ac_c_werror_flag" ||
19754 test ! -s conftest.err
19755 } && test -s conftest.
$ac_objext; then
19756 ac_header_compiler
=yes
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.
$ac_ext >&5
19761 ac_header_compiler
=no
19764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19765 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19766 echo "${ECHO_T}$ac_header_compiler" >&6; }
19768 # Is the header present?
19769 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19770 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19771 cat >conftest.
$ac_ext <<_ACEOF
19774 cat confdefs.h
>>conftest.
$ac_ext
19775 cat >>conftest.
$ac_ext <<_ACEOF
19776 /* end confdefs.h. */
19777 #include <$ac_header>
19779 if { (ac_try
="$ac_cpp conftest.$ac_ext"
19780 case "(($ac_try" in
19781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19782 *) ac_try_echo=$ac_try;;
19784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19785 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19787 grep -v '^ *+' conftest.er1 >conftest.err
19789 cat conftest.err >&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); } >/dev/null && {
19792 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19793 test ! -s conftest.err
19795 ac_header_preproc=yes
19797 echo "$as_me: failed program was:" >&5
19798 sed 's/^/| /' conftest.$ac_ext >&5
19800 ac_header_preproc=no
19803 rm -f conftest.err conftest.$ac_ext
19804 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19805 echo "${ECHO_T}$ac_header_preproc" >&6; }
19807 # So? What about this header?
19808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19810 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19811 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19813 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19814 ac_header_preproc=yes
19817 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19818 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19819 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19820 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19821 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19822 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19823 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19824 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19827 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19828 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19830 ## -------------------------------------------------- ##
19831 ## Report this to courier-users@lists.sourceforge.net ##
19832 ## -------------------------------------------------- ##
19834 ) | sed "s/^/$as_me: WARNING: /" >&2
19837 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19840 echo $ECHO_N "(cached) $ECHO_C" >&6
19842 eval "$as_ac_Header=\$ac_header_preproc"
19844 ac_res=`eval echo '${'$as_ac_Header'}'`
19845 { echo "$as_me:$LINENO: result: $ac_res" >&5
19846 echo "${ECHO_T}$ac_res" >&6; }
19849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19850 cat >>confdefs.h <<_ACEOF
19851 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
19862 # Check whether --with-makedatprog was given.
19863 if test "${with_makedatprog+set}" = set; then
19864 withval=$with_makedatprog; makedatprog="$withval"
19866 makedatprog="$bindir/makedatprog"
19870 makedatprogpath="$makedatprog"
19873 ac_config_files="$ac_config_files Makefile makedat"
19875 cat >confcache <<\_ACEOF
19876 # This file is a shell script that caches the results of configure
19877 # tests run on this system so they can be shared between configure
19878 # scripts and configure runs, see configure's option --config-cache.
19879 # It is not useful on other systems. If it contains results you don't
19880 # want to keep, you may remove or edit it.
19882 # config.status only pays attention to the cache file if you give it
19883 # the --recheck option to rerun configure.
19885 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
19886 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19887 # following values.
19891 # The following way of writing the cache mishandles newlines in values,
19892 # but we know of no workaround that is simple, portable, and efficient.
19893 # So, we kill variables containing newlines.
19894 # Ultrix sh set writes to stderr and can't be redirected directly,
19895 # and sets the high bit in the cache file unless we assign to the vars.
19897 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19898 eval ac_val
=\$
$ac_var
19902 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
19903 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
19906 _ | IFS | as_nl
) ;; #(
19907 *) $as_unset $ac_var ;;
19913 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19914 *${as_nl}ac_space
=\
*)
19915 # `set' does not quote correctly, so add quotes (double-quote
19916 # substitution turns \\\\ into \\, and sed turns \\ into \).
19919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19922 # `set' quotes correctly as required by POSIX, so do not add quotes.
19923 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19932 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19934 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19936 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19937 if test -w "$cache_file"; then
19938 test "x$cache_file" != "x/dev/null" &&
19939 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
19940 echo "$as_me: updating cache $cache_file" >&6;}
19941 cat confcache
>$cache_file
19943 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19944 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19949 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19950 # Let make expand exec_prefix.
19951 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19953 DEFS
=-DHAVE_CONFIG_H
19957 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19958 # 1. Remove the extension, and $U if already installed.
19959 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19960 ac_i
=`echo "$ac_i" | sed "$ac_script"`
19961 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19962 # will be set to the directory where LIBOBJS objects are built.
19963 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19964 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19966 LIBOBJS
=$ac_libobjs
19968 LTLIBOBJS
=$ac_ltlibobjs
19971 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19972 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19973 Usually this means the macro was only invoked conditionally." >&5
19974 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19975 Usually this means the macro was only invoked conditionally." >&2;}
19976 { (exit 1); exit 1; }; }
19978 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19979 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19980 Usually this means the macro was only invoked conditionally." >&5
19981 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19982 Usually this means the macro was only invoked conditionally." >&2;}
19983 { (exit 1); exit 1; }; }
19985 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19986 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19987 Usually this means the macro was only invoked conditionally." >&5
19988 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19989 Usually this means the macro was only invoked conditionally." >&2;}
19990 { (exit 1); exit 1; }; }
19993 : ${CONFIG_STATUS=./config.status}
19994 ac_clean_files_save
=$ac_clean_files
19995 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19996 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19997 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19998 cat >$CONFIG_STATUS <<_ACEOF
20000 # Generated by $as_me.
20001 # Run this file to recreate the current configuration.
20002 # Compiler output produced by configure, useful for debugging
20003 # configure, is in config.log if it exists.
20006 ac_cs_recheck=false
20008 SHELL=\${CONFIG_SHELL-$SHELL}
20011 cat >>$CONFIG_STATUS <<\_ACEOF
20012 ## --------------------- ##
20013 ## M4sh Initialization. ##
20014 ## --------------------- ##
20016 # Be more Bourne compatible
20017 DUALCASE
=1; export DUALCASE
# for MKS sh
20018 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20021 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20022 # is contrary to our usage. Disable this feature.
20023 alias -g '${1+"$@"}'='"$@"'
20024 setopt NO_GLOB_SUBST
20026 case `(set -o) 2>/dev/null` in
20027 *posix
*) set -o posix
;;
20036 # Avoid depending upon Character Ranges.
20037 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20038 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20039 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20040 as_cr_digits
='0123456789'
20041 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20043 # The user is always right.
20044 if test "${PATH_SEPARATOR+set}" != set; then
20045 echo "#! /bin/sh" >conf$$.sh
20046 echo "exit 0" >>conf$$.sh
20048 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20056 # Support unset when possible.
20057 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20065 # We need space, tab and new line, in precisely that order. Quoting is
20066 # there to prevent editors from complaining about space-tab.
20067 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20068 # splitting by setting IFS to empty value.)
20073 # Find who we are. Look in the path if we contain no directory separator.
20075 *[\\/]* ) as_myself
=$0 ;;
20076 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20077 for as_dir
in $PATH
20080 test -z "$as_dir" && as_dir
=.
20081 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20087 # We did not find ourselves, most probably we were run as `sh COMMAND'
20088 # in which case we are not to be found in the path.
20089 if test "x$as_myself" = x
; then
20092 if test ! -f "$as_myself"; then
20093 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20094 { (exit 1); exit 1; }
20097 # Work around bugs in pre-3.0 UWIN ksh.
20098 for as_var
in ENV MAIL MAILPATH
20099 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20109 LC_TELEPHONE LC_TIME
20111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20112 eval $as_var=C
; export $as_var
20114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20118 # Required to use basename.
20119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20127 as_basename
=basename
20133 # Name of the executable.
20134 as_me
=`$as_basename -- "$0" ||
20135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20136 X"$0" : 'X\(//\)$' \| \
20137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20139 sed '/^.*\/\([^/][^/]*\)\/*$/{
20158 as_lineno_1
=$LINENO
20159 as_lineno_2
=$LINENO
20160 test "x$as_lineno_1" != "x$as_lineno_2" &&
20161 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20163 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20164 # uniformly replaced by the line number. The first 'sed' inserts a
20165 # line-number line after each line using $LINENO; the second 'sed'
20166 # does the real work. The second script uses 'N' to pair each
20167 # line-number line with the line containing $LINENO, and appends
20168 # trailing '-' during substitution so that $LINENO is not a special
20169 # case at line end.
20170 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20171 # scripts with optimization help from Paolo Bonzini. Blame Lee
20172 # E. McMahon (1931-1989) for sed's syntax. :-)
20184 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20187 ' >$as_me.lineno
&&
20188 chmod +x
"$as_me.lineno" ||
20189 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20190 { (exit 1); exit 1; }; }
20192 # Don't try to exec as it changes $[0], causing all sort of problems
20193 # (the dirname of $[0] is not the place where we might find the
20194 # original and so on. Autoconf is especially sensitive to this).
20195 .
"./$as_me.lineno"
20196 # Exit status is that of the last command.
20201 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20207 ECHO_C
= ECHO_N
= ECHO_T
=
20208 case `echo -n x` in
20210 case `echo 'x\c'` in
20211 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20218 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20219 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20225 rm -f conf$$ conf$$.exe conf$$.
file
20226 if test -d conf$$.dir
; then
20227 rm -f conf$$.dir
/conf$$.
file
20233 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20235 # ... but there are two gotchas:
20236 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20237 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20238 # In both cases, we have to default to `cp -p'.
20239 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20241 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20246 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20247 rmdir conf$$.dir
2>/dev
/null
20249 if mkdir
-p .
2>/dev
/null
; then
20252 test -d .
/-p && rmdir .
/-p
20256 if test -x / >/dev
/null
2>&1; then
20257 as_test_x
='test -x'
20259 if ls -dL / >/dev
/null
2>&1; then
20266 if test -d "$1"; then
20272 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20273 ???[sx]*):;;*)false;;esac;fi
20277 as_executable_p
=$as_test_x
20279 # Sed expression to map a string onto a valid CPP name.
20280 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20282 # Sed expression to map a string onto a valid variable name.
20283 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20288 # Save the log message, to keep $[0] and so on meaningful, and to
20289 # report actual input values of CONFIG_FILES etc. instead of their
20290 # values after options handling.
20292 This file was extended by makedat $as_me 0.60, which was
20293 generated by GNU Autoconf 2.61. Invocation command line was
20295 CONFIG_FILES = $CONFIG_FILES
20296 CONFIG_HEADERS = $CONFIG_HEADERS
20297 CONFIG_LINKS = $CONFIG_LINKS
20298 CONFIG_COMMANDS = $CONFIG_COMMANDS
20301 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20306 cat >>$CONFIG_STATUS <<_ACEOF
20307 # Files that config.status was made for.
20308 config_files="$ac_config_files"
20309 config_headers="$ac_config_headers"
20310 config_commands="$ac_config_commands"
20314 cat >>$CONFIG_STATUS <<\_ACEOF
20316 \`$as_me' instantiates files from templates according to the
20317 current configuration.
20319 Usage: $0 [OPTIONS] [FILE]...
20321 -h, --help print this help, then exit
20322 -V, --version print version number and configuration settings, then exit
20323 -q, --quiet do not print progress messages
20324 -d, --debug don't remove temporary files
20325 --recheck update $as_me by reconfiguring in the same conditions
20326 --file=FILE[:TEMPLATE]
20327 instantiate the configuration file FILE
20328 --header=FILE[:TEMPLATE]
20329 instantiate the configuration header FILE
20331 Configuration files:
20334 Configuration headers:
20337 Configuration commands:
20340 Report bugs to <bug-autoconf@gnu.org>."
20343 cat >>$CONFIG_STATUS <<_ACEOF
20345 makedat config.status 0.60
20346 configured by $0, generated by GNU Autoconf 2.61,
20347 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20349 Copyright (C) 2006 Free Software Foundation, Inc.
20350 This config.status script is free software; the Free Software Foundation
20351 gives unlimited permission to copy, distribute and modify it."
20359 cat >>$CONFIG_STATUS <<\_ACEOF
20360 # If no file are specified by the user, then we need to provide default
20361 # value. By we need to know if files were specified by the user.
20367 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20368 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20379 # Handling of the options.
20380 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20382 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20383 echo "$ac_cs_version"; exit ;;
20384 --debug |
--debu |
--deb |
--de |
--d |
-d )
20386 --file |
--fil |
--fi |
--f )
20388 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20389 ac_need_defaults
=false
;;
20390 --header |
--heade |
--head |
--hea )
20392 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20393 ac_need_defaults
=false
;;
20395 # Conflict between --help and --header
20396 { echo "$as_me: error: ambiguous option: $1
20397 Try \`$0 --help' for more information." >&2
20398 { (exit 1); exit 1; }; };;
20399 --help |
--hel |
-h )
20400 echo "$ac_cs_usage"; exit ;;
20401 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20402 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20405 # This is an error.
20406 -*) { echo "$as_me: error: unrecognized option: $1
20407 Try \`$0 --help' for more information." >&2
20408 { (exit 1); exit 1; }; } ;;
20410 *) ac_config_targets
="$ac_config_targets $1"
20411 ac_need_defaults
=false
;;
20417 ac_configure_extra_args
=
20419 if $ac_cs_silent; then
20421 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20425 cat >>$CONFIG_STATUS <<_ACEOF
20426 if \$ac_cs_recheck; then
20427 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20428 CONFIG_SHELL=$SHELL
20429 export CONFIG_SHELL
20430 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20434 cat >>$CONFIG_STATUS <<\_ACEOF
20438 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20439 ## Running $as_me. ##
20445 cat >>$CONFIG_STATUS <<_ACEOF
20449 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20453 cat >>$CONFIG_STATUS <<\_ACEOF
20455 # Handling of arguments.
20456 for ac_config_target
in $ac_config_targets
20458 case $ac_config_target in
20459 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20460 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20461 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20462 "makedat") CONFIG_FILES
="$CONFIG_FILES makedat" ;;
20464 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20465 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20466 { (exit 1); exit 1; }; };;
20471 # If the user did not use the arguments to specify the items to instantiate,
20472 # then the envvar interface is used. Set only those that are not.
20473 # We use the long form for the default assignment because of an extremely
20474 # bizarre bug on SunOS 4.1.3.
20475 if $ac_need_defaults; then
20476 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20477 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20478 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20481 # Have a temporary directory for convenience. Make it in the build tree
20482 # simply because there is no reason against having it here, and in addition,
20483 # creating and moving files from /tmp can sometimes cause problems.
20484 # Hook for its removal unless debugging.
20485 # Note that there is a small window in which the directory will not be cleaned:
20486 # after its creation but before its name has been assigned to `$tmp'.
20490 trap 'exit_status=$?
20491 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20493 trap '{ (exit 1); exit 1; }' 1 2 13 15
20495 # Create a (secure) tmp directory for tmp files.
20498 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20499 test -n "$tmp" && test -d "$tmp"
20502 tmp
=.
/conf$$
-$RANDOM
20503 (umask 077 && mkdir
"$tmp")
20506 echo "$me: cannot create a temporary directory in ." >&2
20507 { (exit 1); exit 1; }
20511 # Set up the sed scripts for CONFIG_FILES section.
20514 # No need to generate the scripts if there are no CONFIG_FILES.
20515 # This happens for instance when ./config.status config.h
20516 if test -n "$CONFIG_FILES"; then
20523 for ac_last_try
in false false false false false
:; do
20524 cat >conf$
$subs.
sed <<_ACEOF
20525 SHELL!$SHELL$ac_delim
20526 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20527 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20528 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20529 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20530 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20531 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20532 exec_prefix!$exec_prefix$ac_delim
20533 prefix!$prefix$ac_delim
20534 program_transform_name!$program_transform_name$ac_delim
20535 bindir!$bindir$ac_delim
20536 sbindir!$sbindir$ac_delim
20537 libexecdir!$libexecdir$ac_delim
20538 datarootdir!$datarootdir$ac_delim
20539 datadir!$datadir$ac_delim
20540 sysconfdir!$sysconfdir$ac_delim
20541 sharedstatedir!$sharedstatedir$ac_delim
20542 localstatedir!$localstatedir$ac_delim
20543 includedir!$includedir$ac_delim
20544 oldincludedir!$oldincludedir$ac_delim
20545 docdir!$docdir$ac_delim
20546 infodir!$infodir$ac_delim
20547 htmldir!$htmldir$ac_delim
20548 dvidir!$dvidir$ac_delim
20549 pdfdir!$pdfdir$ac_delim
20550 psdir!$psdir$ac_delim
20551 libdir!$libdir$ac_delim
20552 localedir!$localedir$ac_delim
20553 mandir!$mandir$ac_delim
20554 DEFS!$DEFS$ac_delim
20555 ECHO_C!$ECHO_C$ac_delim
20556 ECHO_N!$ECHO_N$ac_delim
20557 ECHO_T!$ECHO_T$ac_delim
20558 LIBS!$LIBS$ac_delim
20559 build_alias!$build_alias$ac_delim
20560 host_alias!$host_alias$ac_delim
20561 target_alias!$target_alias$ac_delim
20562 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20563 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20564 INSTALL_DATA!$INSTALL_DATA$ac_delim
20565 am__isrc!$am__isrc$ac_delim
20566 CYGPATH_W!$CYGPATH_W$ac_delim
20567 PACKAGE!$PACKAGE$ac_delim
20568 VERSION!$VERSION$ac_delim
20569 ACLOCAL!$ACLOCAL$ac_delim
20570 AUTOCONF!$AUTOCONF$ac_delim
20571 AUTOMAKE!$AUTOMAKE$ac_delim
20572 AUTOHEADER!$AUTOHEADER$ac_delim
20573 MAKEINFO!$MAKEINFO$ac_delim
20574 install_sh!$install_sh$ac_delim
20575 STRIP!$STRIP$ac_delim
20576 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20577 mkdir_p!$mkdir_p$ac_delim
20579 SET_MAKE!$SET_MAKE$ac_delim
20580 am__leading_dot!$am__leading_dot$ac_delim
20581 AMTAR!$AMTAR$ac_delim
20582 am__tar!$am__tar$ac_delim
20583 am__untar!$am__untar$ac_delim
20585 CFLAGS!$CFLAGS$ac_delim
20586 LDFLAGS!$LDFLAGS$ac_delim
20587 CPPFLAGS!$CPPFLAGS$ac_delim
20588 ac_ct_CC!$ac_ct_CC$ac_delim
20589 EXEEXT!$EXEEXT$ac_delim
20590 OBJEXT!$OBJEXT$ac_delim
20591 DEPDIR!$DEPDIR$ac_delim
20592 am__include!$am__include$ac_delim
20593 am__quote!$am__quote$ac_delim
20594 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20595 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20596 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20597 CCDEPMODE!$CCDEPMODE$ac_delim
20598 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20599 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20600 LN_S!$LN_S$ac_delim
20601 PERL!$PERL$ac_delim
20603 build!$build$ac_delim
20604 build_cpu!$build_cpu$ac_delim
20605 build_vendor!$build_vendor$ac_delim
20606 build_os!$build_os$ac_delim
20607 host!$host$ac_delim
20608 host_cpu!$host_cpu$ac_delim
20609 host_vendor!$host_vendor$ac_delim
20610 host_os!$host_os$ac_delim
20612 GREP!$GREP$ac_delim
20613 EGREP!$EGREP$ac_delim
20614 ECHO!$ECHO$ac_delim
20616 RANLIB!$RANLIB$ac_delim
20619 CXXFLAGS!$CXXFLAGS$ac_delim
20620 ac_ct_CXX!$ac_ct_CXX$ac_delim
20621 CXXDEPMODE!$CXXDEPMODE$ac_delim
20624 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20626 elif $ac_last_try; then
20627 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20628 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20629 { (exit 1); exit 1; }; }
20631 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20635 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20636 if test -n "$ac_eof"; then
20637 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20638 ac_eof
=`expr $ac_eof + 1`
20641 cat >>$CONFIG_STATUS <<_ACEOF
20642 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20643 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20646 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20647 s/^/s,@/; s/!/@,|#_!!_#|/
20650 s/'"$ac_delim"'$/,g/; t
20652 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20653 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20654 rm -f conf$
$subs.
sed
20655 cat >>$CONFIG_STATUS <<_ACEOF
20661 for ac_last_try
in false false false false false
:; do
20662 cat >conf$
$subs.
sed <<_ACEOF
20663 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20664 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20665 CXXCPP!$CXXCPP$ac_delim
20667 FFLAGS!$FFLAGS$ac_delim
20668 ac_ct_F77!$ac_ct_F77$ac_delim
20669 LIBTOOL!$LIBTOOL$ac_delim
20670 dblibrary!$dblibrary$ac_delim
20671 makedatprog_target!$makedatprog_target$ac_delim
20672 makedatprogpath!$makedatprogpath$ac_delim
20673 LIBOBJS!$LIBOBJS$ac_delim
20674 LTLIBOBJS!$LTLIBOBJS$ac_delim
20677 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
20679 elif $ac_last_try; then
20680 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20681 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20682 { (exit 1); exit 1; }; }
20684 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20688 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20689 if test -n "$ac_eof"; then
20690 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20691 ac_eof
=`expr $ac_eof + 1`
20694 cat >>$CONFIG_STATUS <<_ACEOF
20695 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20696 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20699 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20700 s/^/s,@/; s/!/@,|#_!!_#|/
20703 s/'"$ac_delim"'$/,g/; t
20705 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20706 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20707 rm -f conf$
$subs.
sed
20708 cat >>$CONFIG_STATUS <<_ACEOF
20715 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20716 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20717 # trailing colons and then remove the whole line if VPATH becomes empty
20718 # (actually we leave an empty line to preserve line numbers).
20719 if test "x$srcdir" = x.
; then
20720 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20721 s/:*\$(srcdir):*/:/
20722 s/:*\${srcdir}:*/:/
20724 s/^\([^=]*=[ ]*\):*/\1/
20730 cat >>$CONFIG_STATUS <<\_ACEOF
20731 fi # test -n "$CONFIG_FILES"
20734 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
20737 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20739 case $ac_mode$ac_tag in
20741 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20742 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20743 { (exit 1); exit 1; }; };;
20744 :[FH
]-) ac_tag
=-:-;;
20745 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20762 -) ac_f
="$tmp/stdin";;
20763 *) # Look for the file first in the build tree, then in the source tree
20764 # (if the path is not absolute). The absolute path cannot be DOS-style,
20765 # because $ac_f cannot contain `:'.
20769 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20771 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20772 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20773 { (exit 1); exit 1; }; };;
20775 ac_file_inputs
="$ac_file_inputs $ac_f"
20778 # Let's still pretend it is `configure' which instantiates (i.e., don't
20779 # use $as_me), people would be surprised to read:
20780 # /* config.h. Generated by config.status. */
20781 configure_input
="Generated from "`IFS=:
20782 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20783 if test x
"$ac_file" != x-
; then
20784 configure_input
="$ac_file. $configure_input"
20785 { echo "$as_me:$LINENO: creating $ac_file" >&5
20786 echo "$as_me: creating $ac_file" >&6;}
20790 *:-:* |
*:-) cat >"$tmp/stdin";;
20795 ac_dir
=`$as_dirname -- "$ac_file" ||
20796 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20797 X"$ac_file" : 'X\(//\)[^/]' \| \
20798 X"$ac_file" : 'X\(//\)$' \| \
20799 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20805 /^X\(\/\/\)[^/].*/{
20820 -*) as_dir
=.
/$as_dir;;
20822 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20826 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20827 *) as_qdir
=$as_dir;;
20829 as_dirs
="'$as_qdir' $as_dirs"
20830 as_dir
=`$as_dirname -- "$as_dir" ||
20831 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20832 X"$as_dir" : 'X\(//\)[^/]' \| \
20833 X"$as_dir" : 'X\(//\)$' \| \
20834 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20840 /^X\(\/\/\)[^/].*/{
20853 test -d "$as_dir" && break
20855 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20856 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20857 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20858 { (exit 1); exit 1; }; }; }
20862 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20864 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20865 # A ".." for each directory in $ac_dir_suffix.
20866 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20867 case $ac_top_builddir_sub in
20868 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20869 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20872 ac_abs_top_builddir
=$ac_pwd
20873 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20874 # for backward compatibility:
20875 ac_top_builddir
=$ac_top_build_prefix
20878 .
) # We are building in place.
20880 ac_top_srcdir
=$ac_top_builddir_sub
20881 ac_abs_top_srcdir
=$ac_pwd ;;
20882 [\\/]* | ?
:[\\/]* ) # Absolute name.
20883 ac_srcdir
=$srcdir$ac_dir_suffix;
20884 ac_top_srcdir
=$srcdir
20885 ac_abs_top_srcdir
=$srcdir ;;
20886 *) # Relative name.
20887 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20888 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20889 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20891 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20901 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20902 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20904 ac_MKDIR_P
=$MKDIR_P
20906 [\\/$
]* | ?
:[\\/]* ) ;;
20907 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20911 cat >>$CONFIG_STATUS <<\_ACEOF
20912 # If the template does not know about datarootdir, expand it.
20913 # FIXME: This hack should be removed a few years after 2.60.
20914 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20916 case `sed -n '/datarootdir/ {
20925 ' $ac_file_inputs` in
20926 *datarootdir
*) ac_datarootdir_seen
=yes;;
20927 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20928 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20929 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20931 cat >>$CONFIG_STATUS <<_ACEOF
20932 ac_datarootdir_hack='
20933 s&@datadir@&$datadir&g
20934 s&@docdir@&$docdir&g
20935 s&@infodir@&$infodir&g
20936 s&@localedir@&$localedir&g
20937 s&@mandir@&$mandir&g
20938 s&\\\${datarootdir}&$datarootdir&g' ;;
20942 # Neutralize VPATH when `$srcdir' = `.'.
20943 # Shell code in configure.ac might set extrasub.
20944 # FIXME: do we really want to maintain this feature?
20945 cat >>$CONFIG_STATUS <<_ACEOF
20949 cat >>$CONFIG_STATUS <<\_ACEOF
20951 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20952 s
&@configure_input@
&$configure_input&;t t
20953 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20954 s
&@srcdir@
&$ac_srcdir&;t t
20955 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20956 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20957 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20958 s
&@builddir@
&$ac_builddir&;t t
20959 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20960 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20961 s
&@INSTALL@
&$ac_INSTALL&;t t
20962 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20963 $ac_datarootdir_hack
20964 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
20966 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20967 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
20968 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
20969 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20970 which seems to be undefined. Please make sure it is defined." >&5
20971 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20972 which seems to be undefined. Please make sure it is defined." >&2;}
20976 -) cat "$tmp/out"; rm -f "$tmp/out";;
20977 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20986 # Transform confdefs.h into a sed script `conftest.defines', that
20987 # substitutes the proper values into config.h.in to produce config.h.
20988 rm -f conftest.defines conftest.
tail
20989 # First, append a space to every undef/define line, to ease matching.
20990 echo 's/$/ /' >conftest.defines
20991 # Then, protect against being on the right side of a sed subst, or in
20992 # an unquoted here document, in config.status. If some macros were
20993 # called several times there might be several #defines for the same
20994 # symbol, which is useless. But do not sort them, since the last
20995 # AC_DEFINE must be honored.
20996 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
20997 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
20998 # NAME is the cpp macro being defined, VALUE is the value it is being given.
20999 # PARAMS is the parameter list in the macro definition--in most cases, it's
21000 # just an empty string.
21001 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21002 ac_dB
='\\)[ (].*,\\1define\\2'
21010 s/^[ ]*#[ ]*define[ ][ ]*//
21015 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21016 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21017 ' >>conftest.defines
21019 # Remove the space that was appended to ease matching.
21020 # Then replace #undef with comments. This is necessary, for
21021 # example, in the case of _POSIX_SOURCE, which is predefined and required
21022 # on some systems where configure will not decide to define it.
21023 # (The regexp can be short, since the line contains either #define or #undef.)
21025 s,^[ #]*u.*,/* & */,' >>conftest.defines
21027 # Break up conftest.defines:
21028 ac_max_sed_lines
=50
21030 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21031 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21032 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21034 ac_in
='$ac_file_inputs'
21035 ac_out
='"$tmp/out1"'
21036 ac_nxt
='"$tmp/out2"'
21040 # Write a here document:
21041 cat >>$CONFIG_STATUS <<_ACEOF
21042 # First, check the format of the line:
21043 cat >"\$tmp/defines.sed" <<\\CEOF
21044 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21045 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21049 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21051 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21052 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21053 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21054 grep . conftest.
tail >/dev
/null ||
break
21055 rm -f conftest.defines
21056 mv conftest.
tail conftest.defines
21058 rm -f conftest.defines conftest.
tail
21060 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21061 cat >>$CONFIG_STATUS <<\_ACEOF
21062 if test x
"$ac_file" != x-
; then
21063 echo "/* $configure_input */" >"$tmp/config.h"
21064 cat "$ac_result" >>"$tmp/config.h"
21065 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21066 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21067 echo "$as_me: $ac_file is unchanged" >&6;}
21070 mv "$tmp/config.h" $ac_file
21073 echo "/* $configure_input */"
21077 # Compute $ac_file's index in $config_headers.
21080 for _am_header
in $config_headers :; do
21081 case $_am_header in
21082 $_am_arg |
$_am_arg:* )
21085 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21088 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21089 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21090 X"$_am_arg" : 'X\(//\)[^/]' \| \
21091 X"$_am_arg" : 'X\(//\)$' \| \
21092 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21098 /^X\(\/\/\)[^/].*/{
21110 s/.*/./; q'`/stamp-h
$_am_stamp_count
21113 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21114 echo "$as_me: executing $ac_file commands" >&6;}
21119 case $ac_file$ac_mode in
21120 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21121 # Strip MF so we end up with the name of the file.
21122 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21123 # Check whether this is an Automake generated Makefile or not.
21124 # We used to match only the files named `Makefile.in', but
21125 # some people rename them; so instead we look at the file content.
21126 # Grep'ing the first line is not enough: some people post-process
21127 # each Makefile.in and add a new line on top of each file to say so.
21128 # Grep'ing the whole file is not good either: AIX grep has a line
21129 # limit of 2048, but all sed's we know have understand at least 4000.
21130 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21131 dirpart
=`$as_dirname -- "$mf" ||
21132 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21133 X"$mf" : 'X\(//\)[^/]' \| \
21134 X"$mf" : 'X\(//\)$' \| \
21135 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21141 /^X\(\/\/\)[^/].*/{
21157 # Extract the definition of DEPDIR, am__include, and am__quote
21158 # from the Makefile without running `make'.
21159 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21160 test -z "$DEPDIR" && continue
21161 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21162 test -z "am__include" && continue
21163 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21164 # When using ansi2knr, U may be empty or an underscore; expand it
21165 U
=`sed -n 's/^U = //p' < "$mf"`
21166 # Find all dependency output files, they are included files with
21167 # $(DEPDIR) in their names. We invoke sed twice because it is the
21168 # simplest approach to changing $(DEPDIR) to its actual value in the
21170 for file in `sed -n "
21171 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21172 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21173 # Make sure the directory exists.
21174 test -f "$dirpart/$file" && continue
21175 fdir
=`$as_dirname -- "$file" ||
21176 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21177 X"$file" : 'X\(//\)[^/]' \| \
21178 X"$file" : 'X\(//\)$' \| \
21179 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21185 /^X\(\/\/\)[^/].*/{
21198 { as_dir
=$dirpart/$fdir
21200 -*) as_dir
=.
/$as_dir;;
21202 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21206 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21207 *) as_qdir
=$as_dir;;
21209 as_dirs
="'$as_qdir' $as_dirs"
21210 as_dir
=`$as_dirname -- "$as_dir" ||
21211 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21212 X"$as_dir" : 'X\(//\)[^/]' \| \
21213 X"$as_dir" : 'X\(//\)$' \| \
21214 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21220 /^X\(\/\/\)[^/].*/{
21233 test -d "$as_dir" && break
21235 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21236 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21237 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21238 { (exit 1); exit 1; }; }; }
21239 # echo "creating $dirpart/$file"
21240 echo '# dummy' > "$dirpart/$file"
21249 { (exit 0); exit 0; }
21251 chmod +x
$CONFIG_STATUS
21252 ac_clean_files
=$ac_clean_files_save
21255 # configure is writing to config.log, and then calls config.status.
21256 # config.status does its own redirection, appending to config.log.
21257 # Unfortunately, on DOS this fails, as config.log is still kept open
21258 # by configure, so config.status won't be able to write to it; its
21259 # output is simply discarded. So we exec the FD to /dev/null,
21260 # effectively closing config.log, so it can be properly (re)opened and
21261 # appended to by config.status. When coming back to configure, we
21262 # need to make the FD available again.
21263 if test "$no_create" != yes; then
21265 ac_config_status_args
=
21266 test "$silent" = yes &&
21267 ac_config_status_args
="$ac_config_status_args --quiet"
21269 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21271 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21272 # would make configure fail if this is the last instruction.
21273 $ac_cs_success ||
{ (exit 1); exit 1; }