2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for gdbmobj 0.10.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec
; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo
; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo
; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset
; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
599 echo_test_string
=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
619 for dir
in $PATH /usr
/ucb
; do
621 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho
; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL
=/bin
/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
660 SHELL
="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string
=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames
=${tagnames+${tagnames},}CXX
706 tagnames
=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev
/null
6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix
=/usr
/local
720 ac_config_libobj_dir
=.
726 SHELL
=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME
='gdbmobj'
730 PACKAGE_TARNAME
='gdbmobj'
731 PACKAGE_VERSION
='0.10'
732 PACKAGE_STRING
='gdbmobj 0.10'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="gdbmobj.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
880 ac_precious_vars
='build_alias
897 # Initialize some variables set by options.
899 ac_init_version
=false
900 # The variables have the same names as the options, with
901 # dashes changed to underlines.
909 program_transform_name
=s
,x
,x
,
917 # Installation directory options.
918 # These are left unexpanded so users can "make install exec_prefix=/foo"
919 # and all the variables that are supposed to be based on exec_prefix
920 # by default will actually change.
921 # Use braces instead of parens because sh, perl, etc. also accept them.
922 # (The list follows the same order as the GNU Coding Standards.)
923 bindir
='${exec_prefix}/bin'
924 sbindir
='${exec_prefix}/sbin'
925 libexecdir
='${exec_prefix}/libexec'
926 datarootdir
='${prefix}/share'
927 datadir
='${datarootdir}'
928 sysconfdir
='${prefix}/etc'
929 sharedstatedir
='${prefix}/com'
930 localstatedir
='${prefix}/var'
931 includedir
='${prefix}/include'
932 oldincludedir
='/usr/include'
933 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
934 infodir
='${datarootdir}/info'
939 libdir
='${exec_prefix}/lib'
940 localedir
='${datarootdir}/locale'
941 mandir
='${datarootdir}/man'
947 # If the previous option needs an argument, assign it.
948 if test -n "$ac_prev"; then
949 eval $ac_prev=\
$ac_option
955 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
959 # Accept the important Cygnus configure options, so we can diagnose typos.
961 case $ac_dashdash$ac_option in
965 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
967 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
970 -build |
--build |
--buil |
--bui |
--bu)
971 ac_prev
=build_alias
;;
972 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
973 build_alias
=$ac_optarg ;;
975 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
976 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
977 ac_prev
=cache_file
;;
978 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
979 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
980 cache_file
=$ac_optarg ;;
983 cache_file
=config.cache
;;
985 -datadir |
--datadir |
--datadi |
--datad)
987 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
988 datadir
=$ac_optarg ;;
990 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
991 |
--dataroo |
--dataro |
--datar)
992 ac_prev
=datarootdir
;;
993 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
994 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
995 datarootdir
=$ac_optarg ;;
997 -disable-* |
--disable-*)
998 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1001 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1002 { (exit 1); exit 1; }; }
1003 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1004 eval enable_
$ac_feature=no
;;
1006 -docdir |
--docdir |
--docdi |
--doc |
--do)
1008 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1009 docdir
=$ac_optarg ;;
1011 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1013 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1014 dvidir
=$ac_optarg ;;
1016 -enable-* |
--enable-*)
1017 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1020 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1021 { (exit 1); exit 1; }; }
1022 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1023 eval enable_
$ac_feature=\
$ac_optarg ;;
1025 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1026 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1027 |
--exec |
--exe |
--ex)
1028 ac_prev
=exec_prefix
;;
1029 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1030 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1031 |
--exec=* |
--exe=* |
--ex=*)
1032 exec_prefix
=$ac_optarg ;;
1034 -gas |
--gas |
--ga |
--g)
1035 # Obsolete; use --with-gas.
1038 -help |
--help |
--hel |
--he |
-h)
1039 ac_init_help
=long
;;
1040 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1041 ac_init_help
=recursive
;;
1042 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1043 ac_init_help
=short
;;
1045 -host |
--host |
--hos |
--ho)
1046 ac_prev
=host_alias
;;
1047 -host=* |
--host=* |
--hos=* |
--ho=*)
1048 host_alias
=$ac_optarg ;;
1050 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1052 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1054 htmldir
=$ac_optarg ;;
1056 -includedir |
--includedir |
--includedi |
--included |
--include \
1057 |
--includ |
--inclu |
--incl |
--inc)
1058 ac_prev
=includedir
;;
1059 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1060 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1061 includedir
=$ac_optarg ;;
1063 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1065 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1066 infodir
=$ac_optarg ;;
1068 -libdir |
--libdir |
--libdi |
--libd)
1070 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1071 libdir
=$ac_optarg ;;
1073 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1074 |
--libexe |
--libex |
--libe)
1075 ac_prev
=libexecdir
;;
1076 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1077 |
--libexe=* |
--libex=* |
--libe=*)
1078 libexecdir
=$ac_optarg ;;
1080 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1081 ac_prev
=localedir
;;
1082 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1083 localedir
=$ac_optarg ;;
1085 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1086 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1087 ac_prev
=localstatedir
;;
1088 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1089 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1090 localstatedir
=$ac_optarg ;;
1092 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1094 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1095 mandir
=$ac_optarg ;;
1097 -nfp |
--nfp |
--nf)
1098 # Obsolete; use --without-fp.
1101 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1102 |
--no-cr |
--no-c |
-n)
1105 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1106 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1109 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1110 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1111 |
--oldin |
--oldi |
--old |
--ol |
--o)
1112 ac_prev
=oldincludedir
;;
1113 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1114 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1115 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1116 oldincludedir
=$ac_optarg ;;
1118 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1120 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1121 prefix
=$ac_optarg ;;
1123 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1124 |
--program-pre |
--program-pr |
--program-p)
1125 ac_prev
=program_prefix
;;
1126 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1127 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1128 program_prefix
=$ac_optarg ;;
1130 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1131 |
--program-suf |
--program-su |
--program-s)
1132 ac_prev
=program_suffix
;;
1133 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1134 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1135 program_suffix
=$ac_optarg ;;
1137 -program-transform-name |
--program-transform-name \
1138 |
--program-transform-nam |
--program-transform-na \
1139 |
--program-transform-n |
--program-transform- \
1140 |
--program-transform |
--program-transfor \
1141 |
--program-transfo |
--program-transf \
1142 |
--program-trans |
--program-tran \
1143 |
--progr-tra |
--program-tr |
--program-t)
1144 ac_prev
=program_transform_name
;;
1145 -program-transform-name=* |
--program-transform-name=* \
1146 |
--program-transform-nam=* |
--program-transform-na=* \
1147 |
--program-transform-n=* |
--program-transform-=* \
1148 |
--program-transform=* |
--program-transfor=* \
1149 |
--program-transfo=* |
--program-transf=* \
1150 |
--program-trans=* |
--program-tran=* \
1151 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1152 program_transform_name
=$ac_optarg ;;
1154 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1156 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1157 pdfdir
=$ac_optarg ;;
1159 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1161 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1164 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1165 |
-silent |
--silent |
--silen |
--sile |
--sil)
1168 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1170 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1172 sbindir
=$ac_optarg ;;
1174 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1175 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1176 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1178 ac_prev
=sharedstatedir
;;
1179 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1180 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1181 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1183 sharedstatedir
=$ac_optarg ;;
1185 -site |
--site |
--sit)
1187 -site=* |
--site=* |
--sit=*)
1190 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1192 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1193 srcdir
=$ac_optarg ;;
1195 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1196 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1197 ac_prev
=sysconfdir
;;
1198 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1199 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1200 sysconfdir
=$ac_optarg ;;
1202 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1203 ac_prev
=target_alias
;;
1204 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1205 target_alias
=$ac_optarg ;;
1207 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1210 -version |
--version |
--versio |
--versi |
--vers |
-V)
1211 ac_init_version
=: ;;
1214 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1217 { echo "$as_me: error: invalid package name: $ac_package" >&2
1218 { (exit 1); exit 1; }; }
1219 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1220 eval with_
$ac_package=\
$ac_optarg ;;
1222 -without-* |
--without-*)
1223 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1226 { echo "$as_me: error: invalid package name: $ac_package" >&2
1227 { (exit 1); exit 1; }; }
1228 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1229 eval with_
$ac_package=no
;;
1232 # Obsolete; use --with-x.
1235 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1236 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1237 ac_prev
=x_includes
;;
1238 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1239 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1240 x_includes
=$ac_optarg ;;
1242 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1243 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1244 ac_prev
=x_libraries
;;
1245 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1246 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1247 x_libraries
=$ac_optarg ;;
1249 -*) { echo "$as_me: error: unrecognized option: $ac_option
1250 Try \`$0 --help' for more information." >&2
1251 { (exit 1); exit 1; }; }
1255 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1258 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1259 { (exit 1); exit 1; }; }
1260 eval $ac_envvar=\
$ac_optarg
1261 export $ac_envvar ;;
1264 # FIXME: should be removed in autoconf 3.0.
1265 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1266 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1267 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1268 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1274 if test -n "$ac_prev"; then
1275 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1276 { echo "$as_me: error: missing argument to $ac_option" >&2
1277 { (exit 1); exit 1; }; }
1280 # Be sure to have absolute directory names.
1281 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1282 datadir sysconfdir sharedstatedir localstatedir includedir \
1283 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1284 libdir localedir mandir
1286 eval ac_val
=\$
$ac_var
1288 [\\/$
]* | ?
:[\\/]* ) continue;;
1289 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1291 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1292 { (exit 1); exit 1; }; }
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1300 target
=$target_alias
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x
; then
1304 if test "x$build_alias" = x
; then
1305 cross_compiling
=maybe
1306 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1307 If a cross compiler is detected then cross compile mode will be used." >&2
1308 elif test "x$build_alias" != "x$host_alias"; then
1314 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1316 test "$silent" = yes && exec 6>/dev
/null
1319 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1320 ac_ls_di
=`ls -di .` &&
1321 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1322 { echo "$as_me: error: Working directory cannot be determined" >&2
1323 { (exit 1); exit 1; }; }
1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1325 { echo "$as_me: error: pwd does not report name of working directory" >&2
1326 { (exit 1); exit 1; }; }
1329 # Find the source files, if location was not specified.
1330 if test -z "$srcdir"; then
1331 ac_srcdir_defaulted
=yes
1332 # Try the directory containing this script, then the parent directory.
1333 ac_confdir
=`$as_dirname -- "$0" ||
1334 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1335 X"$0" : 'X\(//\)[^/]' \| \
1336 X"$0" : 'X\(//\)$' \| \
1337 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1361 ac_srcdir_defaulted
=no
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1364 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1365 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1366 { (exit 1); exit 1; }; }
1368 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1371 { (exit 1); exit 1; }; }
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1381 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 for ac_var
in $ac_precious_vars; do
1384 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1386 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1397 \`configure' configures gdbmobj 0.10 to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/gdbmobj]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --program-prefix=PREFIX prepend PREFIX to installed program names
1456 --program-suffix=SUFFIX append SUFFIX to installed program names
1457 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1460 --build=BUILD configure
for building on BUILD
[guessed
]
1461 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1465 if test -n "$ac_init_help"; then
1466 case $ac_init_help in
1467 short | recursive
) echo "Configuration of gdbmobj 0.10:";;
1472 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1473 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1474 --disable-dependency-tracking speeds up one-time build
1475 --enable-dependency-tracking do not reject slow dependency extractors
1476 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1477 --enable-static[=PKGS
] build static libraries
[default
=yes]
1478 --enable-fast-install[=PKGS
]
1479 optimize
for fast installation
[default
=yes]
1480 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1483 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1484 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1485 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1486 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1488 --with-tags[=TAGS
] include additional configurations
[automatic
]
1490 Some influential environment variables
:
1491 CC C compiler
command
1492 CFLAGS C compiler flags
1493 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1494 nonstandard directory
<lib dir
>
1495 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1496 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1497 you have headers
in a nonstandard directory
<include dir
>
1499 CXX C
++ compiler
command
1500 CXXFLAGS C
++ compiler flags
1501 CXXCPP C
++ preprocessor
1502 F77 Fortran
77 compiler
command
1503 FFLAGS Fortran
77 compiler flags
1505 Use these variables to override the choices made by
`configure' or to help
1506 it to find libraries and programs with nonstandard names/locations.
1508 Report bugs to <courier-users@lists.sourceforge.net>.
1513 if test "$ac_init_help" = "recursive"; then
1514 # If there are subdirs, report their specific --help.
1515 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1516 test -d "$ac_dir" || continue
1520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1523 # A ".." for each directory in $ac_dir_suffix.
1524 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1525 case $ac_top_builddir_sub in
1526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1530 ac_abs_top_builddir=$ac_pwd
1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532 # for backward compatibility:
1533 ac_top_builddir=$ac_top_build_prefix
1536 .) # We are building in place.
1538 ac_top_srcdir=$ac_top_builddir_sub
1539 ac_abs_top_srcdir=$ac_pwd ;;
1540 [\\/]* | ?:[\\/]* ) # Absolute name.
1541 ac_srcdir=$srcdir$ac_dir_suffix;
1542 ac_top_srcdir=$srcdir
1543 ac_abs_top_srcdir=$srcdir ;;
1545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1546 ac_top_srcdir=$ac_top_build_prefix$srcdir
1547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1551 cd "$ac_dir" || { ac_status=$?; continue; }
1552 # Check for guested configure.
1553 if test -f "$ac_srcdir/configure.gnu"; then
1555 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1556 elif test -f "$ac_srcdir/configure"; then
1558 $SHELL "$ac_srcdir/configure" --help=recursive
1560 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1562 cd "$ac_pwd" || { ac_status=$?; break; }
1566 test -n "$ac_init_help" && exit $ac_status
1567 if $ac_init_version; then
1569 gdbmobj configure 0.10
1570 generated by GNU Autoconf 2.61
1572 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1573 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1574 This configure script is free software; the Free Software Foundation
1575 gives unlimited permission to copy, distribute and modify it.
1579 cat >config.log <<_ACEOF
1580 This file contains any messages produced by compilers while
1581 running configure, to aid debugging if configure makes a mistake.
1583 It was created by gdbmobj $as_me 0.10, which was
1584 generated by GNU Autoconf 2.61. Invocation command line was
1596 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1597 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1598 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1599 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1600 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1602 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1603 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1605 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1606 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1607 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1608 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1609 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1610 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1611 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1619 test -z "$as_dir" && as_dir=.
1620 echo "PATH: $as_dir"
1636 # Keep a trace of the command line.
1637 # Strip out --no-create and --no-recursion so they do not pile up.
1638 # Strip out --silent because we don't want to record it for future runs.
1639 # Also quote any args containing shell meta-characters.
1640 # Make two passes to allow for proper duplicate-argument suppression.
1644 ac_must_keep_next=false
1650 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1652 | -silent | --silent | --silen | --sile | --sil)
1655 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1658 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1660 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1661 if test $ac_must_keep_next = true; then
1662 ac_must_keep_next=false # Got value, back to normal.
1665 *=* | --config-cache | -C | -disable-* | --disable-* \
1666 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1667 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1668 | -with-* | --with-* | -without-* | --without-* | --x)
1669 case "$ac_configure_args0 " in
1670 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1673 -* ) ac_must_keep_next=true ;;
1676 ac_configure_args="$ac_configure_args '$ac_arg'"
1681 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1682 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1684 # When interrupted or exit'd, cleanup temporary files, and complete
1685 # config.log. We remove comments because anyway the quotes in there
1686 # would cause problems or look ugly.
1687 # WARNING: Use '\'' to represent an apostrophe within the trap.
1688 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1689 trap 'exit_status=$?
1690 # Save into config.log some information that might help in debugging.
1695 ## ---------------- ##
1696 ## Cache variables. ##
1697 ## ---------------- ##
1700 # The following way of writing the cache mishandles newlines in values,
1702 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1703 eval ac_val=\$$ac_var
1707 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1708 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1711 _ | IFS | as_nl) ;; #(
1712 *) $as_unset $ac_var ;;
1717 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1718 *${as_nl}ac_space=\ *)
1720 "s/'\''/'\''\\\\'\'''\''/g;
1721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1724 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1732 ## ----------------- ##
1733 ## Output variables. ##
1734 ## ----------------- ##
1737 for ac_var in $ac_subst_vars
1739 eval ac_val=\$$ac_var
1741 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1743 echo "$ac_var='\''$ac_val'\''"
1747 if test -n "$ac_subst_files"; then
1749 ## ------------------- ##
1750 ## File substitutions. ##
1751 ## ------------------- ##
1754 for ac_var in $ac_subst_files
1756 eval ac_val=\$$ac_var
1758 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1760 echo "$ac_var='\''$ac_val'\''"
1765 if test -s confdefs.h; then
1775 test "$ac_signal" != 0 &&
1776 echo "$as_me: caught signal $ac_signal"
1777 echo "$as_me: exit $exit_status"
1779 rm -f core *.core core.conftest.* &&
1780 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1783 for ac_signal in 1 2 13 15; do
1784 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1788 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1789 rm -f -r conftest* confdefs.h
1791 # Predefined preprocessor variables.
1793 cat >>confdefs.h <<_ACEOF
1794 #define PACKAGE_NAME "$PACKAGE_NAME"
1798 cat >>confdefs.h <<_ACEOF
1799 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1808 cat >>confdefs.h <<_ACEOF
1809 #define PACKAGE_STRING "$PACKAGE_STRING"
1813 cat >>confdefs.h <<_ACEOF
1814 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1818 # Let the site file select an alternate cache file if it wants to.
1819 # Prefer explicitly selected file to automatically selected ones.
1820 if test -n "$CONFIG_SITE"; then
1821 set x "$CONFIG_SITE"
1822 elif test "x$prefix" != xNONE; then
1823 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1825 set x "$ac_default_prefix/share/config.site" \
1826 "$ac_default_prefix/etc/config.site"
1831 if test -r "$ac_site_file"; then
1832 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1833 echo "$as_me: loading site script $ac_site_file" >&6;}
1834 sed 's/^/| /' "$ac_site_file" >&5
1839 if test -r "$cache_file"; then
1840 # Some versions of bash will fail to source /dev/null (special
1841 # files actually), so we avoid doing that.
1842 if test -f "$cache_file"; then
1843 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1844 echo "$as_me: loading cache $cache_file" >&6;}
1846 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1847 *) . "./$cache_file";;
1851 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1852 echo "$as_me: creating cache $cache_file" >&6;}
1856 # Check that the precious variables saved in the cache have kept the same
1858 ac_cache_corrupted=false
1859 for ac_var in $ac_precious_vars; do
1860 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1861 eval ac_new_set=\$ac_env_${ac_var}_set
1862 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1863 eval ac_new_val=\$ac_env_${ac_var}_value
1864 case $ac_old_set,$ac_new_set in
1866 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1867 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1868 ac_cache_corrupted=: ;;
1870 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1871 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1872 ac_cache_corrupted=: ;;
1875 if test "x$ac_old_val" != "x$ac_new_val"; then
1876 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1877 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1878 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1879 echo "$as_me: former value
: $ac_old_val" >&2;}
1880 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1881 echo "$as_me: current value
: $ac_new_val" >&2;}
1882 ac_cache_corrupted=:
1885 # Pass precious variables to config.status.
1886 if test "$ac_new_set" = set; then
1888 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1889 *) ac_arg=$ac_var=$ac_new_val ;;
1891 case " $ac_configure_args " in
1892 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1893 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1897 if $ac_cache_corrupted; then
1898 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1899 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1900 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1901 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1902 { (exit 1); exit 1; }; }
1930 ac_cpp='$CPP $CPPFLAGS'
1931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1937 >confdefs.h # Kill PACKAGE_ macros
1940 am__api_version='1.10'
1943 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1944 if test -f "$ac_dir/install-sh"; then
1946 ac_install_sh="$ac_aux_dir/install-sh -c"
1948 elif test -f "$ac_dir/install.sh"; then
1950 ac_install_sh="$ac_aux_dir/install.sh -c"
1952 elif test -f "$ac_dir/shtool"; then
1954 ac_install_sh="$ac_aux_dir/shtool install -c"
1958 if test -z "$ac_aux_dir"; then
1959 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1960 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1961 { (exit 1); exit 1; }; }
1964 # These three variables are undocumented and unsupported,
1965 # and are intended to be withdrawn in a future Autoconf release.
1966 # They can cause serious problems if a builder's source tree is in a directory
1967 # whose full name contains unusual characters.
1968 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1969 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1970 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1973 # Find a good install program. We prefer a C program (faster),
1974 # so one script is as good as another. But avoid the broken or
1975 # incompatible versions:
1976 # SysV /etc/install, /usr/sbin/install
1977 # SunOS /usr/etc/install
1978 # IRIX /sbin/install
1980 # AmigaOS /C/install, which installs bootblocks on floppy discs
1981 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1982 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1983 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1984 # OS/2's system install, which has a completely different semantic
1985 # ./install, which can be erroneously created by make from ./install.sh.
1986 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1987 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1988 if test -z "$INSTALL"; then
1989 if test "${ac_cv_path_install+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1996 test -z "$as_dir" && as_dir=.
1997 # Account for people who put trailing slashes in PATH elements.
1999 ./ | .// | /cC/* | \
2000 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2001 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2004 # OSF1 and SCO ODT 3.0 have their own names for install.
2005 # Don't use installbsd from OSF since it installs stuff as root
2007 for ac_prog in ginstall scoinst install; do
2008 for ac_exec_ext in '' $ac_executable_extensions; do
2009 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2010 if test $ac_prog = install &&
2011 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2012 # AIX install. It has an incompatible calling convention.
2014 elif test $ac_prog = install &&
2015 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2016 # program-specific install script used by HP pwplus--don't use.
2019 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2032 if test "${ac_cv_path_install+set}" = set; then
2033 INSTALL=$ac_cv_path_install
2035 # As a last resort, use the slow shell script. Don't cache a
2036 # value for INSTALL within a source directory, because that will
2037 # break other packages using the cache if that directory is
2038 # removed, or if the value is a relative name.
2039 INSTALL=$ac_install_sh
2042 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2043 echo "${ECHO_T}$INSTALL" >&6; }
2045 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2046 # It thinks the first close brace ends the variable substitution.
2047 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2049 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2051 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2053 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2054 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2057 echo timestamp > conftest.file
2058 # Do `set' in a subshell so we don't clobber the current shell
's
2059 # arguments. Must try -L first in case configure is actually a
2060 # symlink; some systems play weird games with the mod time of symlinks
2061 # (eg FreeBSD returns the mod time of the symlink's containing
2064 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2065 if test "$*" = "X"; then
2067 set X
`ls -t $srcdir/configure conftest.file`
2070 if test "$*" != "X $srcdir/configure conftest.file" \
2071 && test "$*" != "X conftest.file $srcdir/configure"; then
2073 # If neither matched, then we have a broken ls. This can happen
2074 # if, for instance, CONFIG_SHELL is bash and it inherits a
2075 # broken ls alias from the environment. This has actually
2076 # happened. Such a system could not be considered "sane".
2077 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2078 alias in your environment" >&5
2079 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2080 alias in your environment" >&2;}
2081 { (exit 1); exit 1; }; }
2084 test "$2" = conftest.
file
2090 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2091 Check your system clock" >&5
2092 echo "$as_me: error: newly created file is older than distributed files!
2093 Check your system clock" >&2;}
2094 { (exit 1); exit 1; }; }
2096 { echo "$as_me:$LINENO: result: yes" >&5
2097 echo "${ECHO_T}yes" >&6; }
2098 test "$program_prefix" != NONE
&&
2099 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2100 # Use a double $ so make ignores it.
2101 test "$program_suffix" != NONE
&&
2102 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2103 # Double any \ or $. echo might interpret backslashes.
2104 # By default was `s,x,x', remove it if useless.
2105 cat <<\_ACEOF
>conftest.
sed
2106 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2108 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2111 # expand $ac_aux_dir to an absolute path
2112 am_aux_dir
=`cd $ac_aux_dir && pwd`
2114 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2115 # Use eval to expand $SHELL
2116 if eval "$MISSING --run true"; then
2117 am_missing_run
="$MISSING --run "
2120 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2121 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2124 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2125 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2126 if test -z "$MKDIR_P"; then
2127 if test "${ac_cv_path_mkdir+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2134 test -z "$as_dir" && as_dir
=.
2135 for ac_prog
in mkdir gmkdir
; do
2136 for ac_exec_ext
in '' $ac_executable_extensions; do
2137 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2138 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2139 'mkdir (GNU coreutils) '* | \
2140 'mkdir (coreutils) '* | \
2141 'mkdir (fileutils) '4.1*)
2142 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2152 if test "${ac_cv_path_mkdir+set}" = set; then
2153 MKDIR_P
="$ac_cv_path_mkdir -p"
2155 # As a last resort, use the slow shell script. Don't cache a
2156 # value for MKDIR_P within a source directory, because that will
2157 # break other packages using the cache if that directory is
2158 # removed, or if the value is a relative name.
2159 test -d .
/--version && rmdir .
/--version
2160 MKDIR_P
="$ac_install_sh -d"
2163 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2164 echo "${ECHO_T}$MKDIR_P" >&6; }
2168 [\\/$
]* | ?
:[\\/]*) ;;
2169 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2172 for ac_prog
in gawk mawk nawk
awk
2174 # Extract the first word of "$ac_prog", so it can be a program name with args.
2175 set dummy
$ac_prog; ac_word
=$2
2176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2178 if test "${ac_cv_prog_AWK+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 if test -n "$AWK"; then
2182 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2188 test -z "$as_dir" && as_dir
=.
2189 for ac_exec_ext
in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191 ac_cv_prog_AWK
="$ac_prog"
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202 if test -n "$AWK"; then
2203 { echo "$as_me:$LINENO: result: $AWK" >&5
2204 echo "${ECHO_T}$AWK" >&6; }
2206 { echo "$as_me:$LINENO: result: no" >&5
2207 echo "${ECHO_T}no" >&6; }
2211 test -n "$AWK" && break
2214 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2215 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2216 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2217 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 cat >conftest.
make <<\_ACEOF
2223 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2225 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2226 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2228 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2230 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2234 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2235 { echo "$as_me:$LINENO: result: yes" >&5
2236 echo "${ECHO_T}yes" >&6; }
2239 { echo "$as_me:$LINENO: result: no" >&5
2240 echo "${ECHO_T}no" >&6; }
2241 SET_MAKE
="MAKE=${MAKE-make}"
2244 rm -rf .tst
2>/dev
/null
2245 mkdir .tst
2>/dev
/null
2246 if test -d .tst
; then
2251 rmdir .tst
2>/dev
/null
2253 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2254 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2255 # is not polluted with repeated "-I."
2256 am__isrc
=' -I$(srcdir)'
2257 # test to see if srcdir already configured
2258 if test -f $srcdir/config.status
; then
2259 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2260 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2261 { (exit 1); exit 1; }; }
2265 # test whether we have cygpath
2266 if test -z "$CYGPATH_W"; then
2267 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2268 CYGPATH_W
='cygpath -w'
2275 # Define the identity of the package.
2280 # Some tools Automake needs.
2282 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2285 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2288 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2291 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2294 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2296 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2298 # Installed binaries are usually stripped using `strip' when the user
2299 # run `make install-strip'. However `strip' might not be the right
2300 # tool to use in cross-compilation environments, therefore Automake
2301 # will honor the `STRIP' environment variable to overrule this program.
2302 if test "$cross_compiling" != no
; then
2303 if test -n "$ac_tool_prefix"; then
2304 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2305 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2308 if test "${ac_cv_prog_STRIP+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 if test -n "$STRIP"; then
2312 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir
=.
2319 for ac_exec_ext
in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 STRIP
=$ac_cv_prog_STRIP
2332 if test -n "$STRIP"; then
2333 { echo "$as_me:$LINENO: result: $STRIP" >&5
2334 echo "${ECHO_T}$STRIP" >&6; }
2336 { echo "$as_me:$LINENO: result: no" >&5
2337 echo "${ECHO_T}no" >&6; }
2342 if test -z "$ac_cv_prog_STRIP"; then
2344 # Extract the first word of "strip", so it can be a program name with args.
2345 set dummy strip
; ac_word
=$2
2346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2348 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 if test -n "$ac_ct_STRIP"; then
2352 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir
=.
2359 for ac_exec_ext
in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_prog_ac_ct_STRIP
="strip"
2362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2371 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2372 if test -n "$ac_ct_STRIP"; then
2373 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2374 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2376 { echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6; }
2380 if test "x$ac_ct_STRIP" = x
; then
2383 case $cross_compiling:$ac_tool_warned in
2385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2386 whose name does not start with the host triplet. If you think this
2387 configuration is useful to you, please write to autoconf@gnu.org." >&5
2388 echo "$as_me: 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." >&2;}
2391 ac_tool_warned
=yes ;;
2396 STRIP
="$ac_cv_prog_STRIP"
2400 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2402 # We need awk for the "check" target. The system "awk" is bad on
2404 # Always define AMTAR for backward compatibility.
2406 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2408 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2414 ac_config_headers
="$ac_config_headers config.h"
2418 ac_cpp
='$CPP $CPPFLAGS'
2419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2424 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2427 if test "${ac_cv_prog_CC+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC
="$CC" # Let the user override the test.
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test -n "$CC"; then
2452 { echo "$as_me:$LINENO: result: $CC" >&5
2453 echo "${ECHO_T}$CC" >&6; }
2455 { echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6; }
2461 if test -z "$ac_cv_prog_CC"; then
2463 # Extract the first word of "gcc", so it can be a program name with args.
2464 set dummy gcc
; ac_word
=$2
2465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2467 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 if test -n "$ac_ct_CC"; then
2471 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2477 test -z "$as_dir" && as_dir
=.
2478 for ac_exec_ext
in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_ac_ct_CC
="gcc"
2481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2491 if test -n "$ac_ct_CC"; then
2492 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2493 echo "${ECHO_T}$ac_ct_CC" >&6; }
2495 { echo "$as_me:$LINENO: result: no" >&5
2496 echo "${ECHO_T}no" >&6; }
2499 if test "x$ac_ct_CC" = x
; then
2502 case $cross_compiling:$ac_tool_warned in
2504 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2505 whose name does not start with the host triplet. If you think this
2506 configuration is useful to you, please write to autoconf@gnu.org." >&5
2507 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2508 whose name does not start with the host triplet. If you think this
2509 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2510 ac_tool_warned
=yes ;;
2518 if test -z "$CC"; then
2519 if test -n "$ac_tool_prefix"; then
2520 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2521 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2524 if test "${ac_cv_prog_CC+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 if test -n "$CC"; then
2528 ac_cv_prog_CC
="$CC" # Let the user override the test.
2530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir
=.
2535 for ac_exec_ext
in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 if test -n "$CC"; then
2549 { echo "$as_me:$LINENO: result: $CC" >&5
2550 echo "${ECHO_T}$CC" >&6; }
2552 { echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6; }
2559 if test -z "$CC"; then
2560 # Extract the first word of "cc", so it can be a program name with args.
2561 set dummy cc
; ac_word
=$2
2562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2564 if test "${ac_cv_prog_CC+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 if test -n "$CC"; then
2568 ac_cv_prog_CC
="$CC" # Let the user override the test.
2571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir
=.
2576 for ac_exec_ext
in '' $ac_executable_extensions; do
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2579 ac_prog_rejected
=yes
2583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 if test $ac_prog_rejected = yes; then
2591 # We found a bogon in the path, so make sure we never use it.
2592 set dummy
$ac_cv_prog_CC
2594 if test $# != 0; then
2595 # We chose a different compiler from the bogus one.
2596 # However, it has the same basename, so the bogon will be chosen
2597 # first if we set CC to just the basename; use the full file name.
2599 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2605 if test -n "$CC"; then
2606 { echo "$as_me:$LINENO: result: $CC" >&5
2607 echo "${ECHO_T}$CC" >&6; }
2609 { echo "$as_me:$LINENO: result: no" >&5
2610 echo "${ECHO_T}no" >&6; }
2615 if test -z "$CC"; then
2616 if test -n "$ac_tool_prefix"; then
2617 for ac_prog
in cl.exe
2619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2620 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2623 if test "${ac_cv_prog_CC+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 if test -n "$CC"; then
2627 ac_cv_prog_CC
="$CC" # Let the user override the test.
2629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir
=.
2634 for ac_exec_ext
in '' $ac_executable_extensions; do
2635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2636 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 if test -n "$CC"; then
2648 { echo "$as_me:$LINENO: result: $CC" >&5
2649 echo "${ECHO_T}$CC" >&6; }
2651 { echo "$as_me:$LINENO: result: no" >&5
2652 echo "${ECHO_T}no" >&6; }
2656 test -n "$CC" && break
2659 if test -z "$CC"; then
2661 for ac_prog
in cl.exe
2663 # Extract the first word of "$ac_prog", so it can be a program name with args.
2664 set dummy
$ac_prog; ac_word
=$2
2665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 if test -n "$ac_ct_CC"; then
2671 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir
=.
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 ac_cv_prog_ac_ct_CC
="$ac_prog"
2681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2691 if test -n "$ac_ct_CC"; then
2692 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2693 echo "${ECHO_T}$ac_ct_CC" >&6; }
2695 { echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6; }
2700 test -n "$ac_ct_CC" && break
2703 if test "x$ac_ct_CC" = x
; then
2706 case $cross_compiling:$ac_tool_warned in
2708 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2709 whose name does not start with the host triplet. If you think this
2710 configuration is useful to you, please write to autoconf@gnu.org." >&5
2711 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2712 whose name does not start with the host triplet. If you think this
2713 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2714 ac_tool_warned
=yes ;;
2723 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2724 See \`config.log' for more details." >&5
2725 echo "$as_me: error: no acceptable C compiler found in \$PATH
2726 See \`config.log' for more details." >&2;}
2727 { (exit 1); exit 1; }; }
2729 # Provide some information about the compiler.
2730 echo "$as_me:$LINENO: checking for C compiler version" >&5
2731 ac_compiler
=`set X $ac_compile; echo $2`
2732 { (ac_try
="$ac_compiler --version >&5"
2734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2738 (eval "$ac_compiler --version >&5") 2>&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }
2742 { (ac_try="$ac_compiler -v >&5"
2744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2745 *) ac_try_echo
=$ac_try;;
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_compiler -v >&5") 2>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }
2752 { (ac_try
="$ac_compiler -V >&5"
2754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2758 (eval "$ac_compiler -V >&5") 2>&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }
2763 cat >conftest.$ac_ext <<_ACEOF
2766 cat confdefs.h >>conftest.$ac_ext
2767 cat >>conftest.$ac_ext <<_ACEOF
2768 /* end confdefs.h. */
2778 ac_clean_files_save=$ac_clean_files
2779 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2780 # Try to create an executable without -o first, disregard a.out.
2781 # It will help us diagnose broken compilers, and finding out an intuition
2783 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2784 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2785 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2787 # List of possible output files, starting from the most likely.
2788 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2789 # only as a last resort. b.out is created by i960 compilers.
2790 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2792 # The IRIX 6 linker writes into existing files which may not be
2793 # executable, retaining their permissions. Remove them first so a
2794 # subsequent execution test works.
2796 for ac_file in $ac_files
2799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2800 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2805 if { (ac_try="$ac_link_default"
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2811 (eval "$ac_link_default") 2>&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; then
2815 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2817 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2818 # so that the user can short-circuit this test for compilers unknown to
2820 for ac_file
in $ac_files ''
2822 test -f "$ac_file" ||
continue
2824 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2827 # We found the default executable, but exeext='' is most
2831 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2833 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2835 # We set ac_cv_exeext here because the later test for it is not
2836 # safe: cross compilers may not add the suffix if given an `-o'
2837 # argument, so we may need to know it at that point already.
2838 # Even if this section looks crufty: it has the advantage of
2845 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2851 { echo "$as_me:$LINENO: result: $ac_file" >&5
2852 echo "${ECHO_T}$ac_file" >&6; }
2853 if test -z "$ac_file"; then
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.
$ac_ext >&5
2857 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2858 See \`config.log' for more details." >&5
2859 echo "$as_me: error: C compiler cannot create executables
2860 See \`config.log' for more details." >&2;}
2861 { (exit 77); exit 77; }; }
2864 ac_exeext
=$ac_cv_exeext
2866 # Check that the compiler produces executables we can run. If not, either
2867 # the compiler is broken, or we cross compile.
2868 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2869 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2870 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2871 # If not cross compiling, check that we can run a simple program.
2872 if test "$cross_compiling" != yes; then
2873 if { ac_try
='./$ac_file'
2874 { (case "(($ac_try" in
2875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2879 (eval "$ac_try") 2>&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; }; then
2885 if test "$cross_compiling" = maybe; then
2888 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2889 If you meant to cross compile, use \`--host'.
2890 See \`config.log' for more details.
" >&5
2891 echo "$as_me: error
: cannot run C compiled programs.
2892 If you meant to cross compile
, use \
`--host'.
2893 See \`config.log
' for more details." >&2;}
2894 { (exit 1); exit 1; }; }
2898 { echo "$as_me:$LINENO: result: yes" >&5
2899 echo "${ECHO_T}yes" >&6; }
2901 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2902 ac_clean_files=$ac_clean_files_save
2903 # Check that the compiler produces executables we can run. If not, either
2904 # the compiler is broken, or we cross compile.
2905 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2906 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2907 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2908 echo "${ECHO_T}$cross_compiling" >&6; }
2910 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2911 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2912 if { (ac_try="$ac_link"
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2918 (eval "$ac_link") 2>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; then
2922 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2923 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2924 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2926 for ac_file
in conftest.exe conftest conftest.
*; do
2927 test -f "$ac_file" ||
continue
2929 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2930 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2936 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2937 See \`config.log' for more details." >&5
2938 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2939 See \`config.log' for more details." >&2;}
2940 { (exit 1); exit 1; }; }
2943 rm -f conftest
$ac_cv_exeext
2944 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2945 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2947 rm -f conftest.
$ac_ext
2948 EXEEXT
=$ac_cv_exeext
2950 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2951 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2952 if test "${ac_cv_objext+set}" = set; then
2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2955 cat >conftest.
$ac_ext <<_ACEOF
2958 cat confdefs.h
>>conftest.
$ac_ext
2959 cat >>conftest.
$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2970 rm -f conftest.o conftest.obj
2971 if { (ac_try
="$ac_compile"
2973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2977 (eval "$ac_compile") 2>&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; then
2981 for ac_file in conftest.o conftest.obj conftest.*; do
2982 test -f "$ac_file" || continue;
2984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2985 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2990 echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2993 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2994 See \`config.log
' for more details." >&5
2995 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2996 See \`config.log' for more details.
" >&2;}
2997 { (exit 1); exit 1; }; }
3000 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3002 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3003 echo "${ECHO_T}$ac_cv_objext" >&6; }
3004 OBJEXT=$ac_cv_objext
3006 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3007 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3008 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3009 echo $ECHO_N "(cached
) $ECHO_C" >&6
3011 cat >conftest.$ac_ext <<_ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3029 rm -f conftest.$ac_objext
3030 if { (ac_try="$ac_compile"
3032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033 *) ac_try_echo=$ac_try;;
3035 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3036 (eval "$ac_compile") 2>conftest.er1
3038 grep -v '^ *+' conftest.er1 >conftest.err
3040 cat conftest.err >&5
3041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3042 (exit $ac_status); } && {
3043 test -z "$ac_c_werror_flag" ||
3044 test ! -s conftest.err
3045 } && test -s conftest.$ac_objext; then
3048 echo "$as_me: failed program was
:" >&5
3049 sed 's/^/| /' conftest.$ac_ext >&5
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3058 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3059 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3060 GCC=`test $ac_compiler_gnu = yes && echo yes`
3061 ac_test_CFLAGS=${CFLAGS+set}
3062 ac_save_CFLAGS=$CFLAGS
3063 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3064 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3065 if test "${ac_cv_prog_cc_g+set}" = set; then
3066 echo $ECHO_N "(cached
) $ECHO_C" >&6
3068 ac_save_c_werror_flag=$ac_c_werror_flag
3069 ac_c_werror_flag=yes
3072 cat >conftest.$ac_ext <<_ACEOF
3075 cat confdefs.h >>conftest.$ac_ext
3076 cat >>conftest.$ac_ext <<_ACEOF
3077 /* end confdefs.h. */
3087 rm -f conftest.$ac_objext
3088 if { (ac_try="$ac_compile"
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compile") 2>conftest.er1
3096 grep -v '^ *+' conftest.er1 >conftest.err
3098 cat conftest.err >&5
3099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3100 (exit $ac_status); } && {
3101 test -z "$ac_c_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.$ac_objext; then
3106 echo "$as_me: failed program was
:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3110 cat >conftest.$ac_ext <<_ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3125 rm -f conftest.$ac_objext
3126 if { (ac_try="$ac_compile"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3132 (eval "$ac_compile") 2>conftest.er1
3134 grep -v '^ *+' conftest.er1 >conftest.err
3136 cat conftest.err >&5
3137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3138 (exit $ac_status); } && {
3139 test -z "$ac_c_werror_flag" ||
3140 test ! -s conftest.err
3141 } && test -s conftest.$ac_objext; then
3144 echo "$as_me: failed program was
:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3147 ac_c_werror_flag=$ac_save_c_werror_flag
3149 cat >conftest.$ac_ext <<_ACEOF
3152 cat confdefs.h >>conftest.$ac_ext
3153 cat >>conftest.$ac_ext <<_ACEOF
3154 /* end confdefs.h. */
3164 rm -f conftest.$ac_objext
3165 if { (ac_try="$ac_compile"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compile") 2>conftest.er1
3173 grep -v '^ *+' conftest.er1 >conftest.err
3175 cat conftest.err >&5
3176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3177 (exit $ac_status); } && {
3178 test -z "$ac_c_werror_flag" ||
3179 test ! -s conftest.err
3180 } && test -s conftest.$ac_objext; then
3183 echo "$as_me: failed program was
:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196 ac_c_werror_flag=$ac_save_c_werror_flag
3198 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3199 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3200 if test "$ac_test_CFLAGS" = set; then
3201 CFLAGS=$ac_save_CFLAGS
3202 elif test $ac_cv_prog_cc_g = yes; then
3203 if test "$GCC" = yes; then
3209 if test "$GCC" = yes; then
3215 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3216 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3217 if test "${ac_cv_prog_cc_c89+set}" = set; then
3218 echo $ECHO_N "(cached
) $ECHO_C" >&6
3220 ac_cv_prog_cc_c89=no
3222 cat >conftest.$ac_ext <<_ACEOF
3225 cat confdefs.h >>conftest.$ac_ext
3226 cat >>conftest.$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3230 #include <sys/types.h>
3231 #include <sys/stat.h>
3232 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3233 struct buf { int x; };
3234 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3235 static char *e (p, i)
3241 static char *f (char * (*g) (char **, int), char **p, ...)
3246 s = g (p, va_arg (v,int));
3251 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3252 function prototypes and stuff, but not '\xHH' hex character constants.
3253 These don't provoke an error unfortunately, instead are silently treated
3254 as 'x'. The following induces an error, until -std is added to get
3255 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3256 array size at least. It's necessary to write '\x00'==0 to get something
3257 that's true only with -std. */
3258 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3260 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3261 inside strings and character constants. */
3263 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3265 int test (int i, double x);
3266 struct s1 {int (*f) (int a);};
3267 struct s2 {int (*f) (double a);};
3268 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3274 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3279 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3280 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3282 CC="$ac_save_CC $ac_arg"
3283 rm -f conftest.$ac_objext
3284 if { (ac_try="$ac_compile"
3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287 *) ac_try_echo=$ac_try;;
3289 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3290 (eval "$ac_compile") 2>conftest.er1
3292 grep -v '^ *+' conftest.er1 >conftest.err
3294 cat conftest.err >&5
3295 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3296 (exit $ac_status); } && {
3297 test -z "$ac_c_werror_flag" ||
3298 test ! -s conftest.err
3299 } && test -s conftest.$ac_objext; then
3300 ac_cv_prog_cc_c89=$ac_arg
3302 echo "$as_me: failed program was
:" >&5
3303 sed 's/^/| /' conftest.$ac_ext >&5
3308 rm -f core conftest.err conftest.$ac_objext
3309 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3311 rm -f conftest.$ac_ext
3316 case "x
$ac_cv_prog_cc_c89" in
3318 { echo "$as_me:$LINENO: result
: none needed
" >&5
3319 echo "${ECHO_T}none needed
" >&6; } ;;
3321 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3322 echo "${ECHO_T}unsupported
" >&6; } ;;
3324 CC="$CC $ac_cv_prog_cc_c89"
3325 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3326 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3331 ac_cpp='$CPP $CPPFLAGS'
3332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3335 DEPDIR="${am__leading_dot}deps
"
3337 ac_config_commands="$ac_config_commands depfiles
"
3340 am_make=${MAKE-make}
3341 cat > confinc << 'END'
3346 # If we don't find an include directive, just comment out the code.
3347 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3348 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3352 # First try GNU make style include.
3353 echo "include confinc" > confmf
3354 # We grep out `Entering directory' and `Leaving directory'
3355 # messages which can occur if `w' ends up in MAKEFLAGS.
3356 # In particular we don't look at `^make:' because GNU make might
3357 # be invoked under some other name (usually "gmake"), in which
3358 # case it prints its new name instead of `make'.
3359 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3364 # Now try BSD make style include.
3365 if test "$am__include" = "#"; then
3366 echo '.include "confinc"' > confmf
3367 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3368 am__include
=.include
3375 { echo "$as_me:$LINENO: result: $_am_result" >&5
3376 echo "${ECHO_T}$_am_result" >&6; }
3377 rm -f confinc confmf
3379 # Check whether --enable-dependency-tracking was given.
3380 if test "${enable_dependency_tracking+set}" = set; then
3381 enableval
=$enable_dependency_tracking;
3384 if test "x$enable_dependency_tracking" != xno
; then
3385 am_depcomp
="$ac_aux_dir/depcomp"
3388 if test "x$enable_dependency_tracking" != xno; then
3398 depcc
="$CC" am_compiler_list
=
3400 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3401 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3402 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3403 echo $ECHO_N "(cached) $ECHO_C" >&6
3405 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3406 # We make a subdir and do the tests there. Otherwise we can end up
3407 # making bogus files that we don't know about and never remove. For
3408 # instance it was reported that on HP-UX the gcc test will end up
3409 # making a dummy file named `D' -- because `-MD' means `put the output
3412 # Copy depcomp to subdir because otherwise we won't find it if we're
3413 # using a relative directory.
3414 cp "$am_depcomp" conftest.dir
3416 # We will build objects and dependencies in a subdirectory because
3417 # it helps to detect inapplicable dependency modes. For instance
3418 # both Tru64's cc and ICC support -MD to output dependencies as a
3419 # side effect of compilation, but ICC will put the dependencies in
3420 # the current directory while Tru64 will put them in the object
3424 am_cv_CC_dependencies_compiler_type
=none
3425 if test "$am_compiler_list" = ""; then
3426 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3428 for depmode
in $am_compiler_list; do
3429 # Setup a source with many dependencies, because some compilers
3430 # like to wrap large dependency lists on column 80 (with \), and
3431 # we should not choose a depcomp mode which is confused by this.
3433 # We need to recreate these files for each test, as the compiler may
3434 # overwrite some of them when testing with obscure command lines.
3435 # This happens at least with the AIX C compiler.
3437 for i
in 1 2 3 4 5 6; do
3438 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3439 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3440 # Solaris 8's {/usr,}/bin/sh.
3441 touch sub
/conftst
$i.h
3443 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3447 # after this tag, mechanisms are not by side-effect, so they'll
3448 # only be used when explicitly requested
3449 if test "x$enable_dependency_tracking" = xyes
; then
3457 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3458 # mode. It turns out that the SunPro C++ compiler does not properly
3459 # handle `-M -o', and we need to detect this.
3460 if depmode
=$depmode \
3461 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3462 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3463 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3464 >/dev
/null
2>conftest.err
&&
3465 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3466 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3467 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3468 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3469 # icc doesn't choke on unknown options, it will just issue warnings
3470 # or remarks (even with -Werror). So we grep stderr for any message
3471 # that says an option was ignored or not supported.
3472 # When given -MP, icc 7.0 and 7.1 complain thusly:
3473 # icc: Command line warning: ignoring option '-M'; no argument required
3474 # The diagnosis changed in icc 8.0:
3475 # icc: Command line remark: option '-MP' not supported
3476 if (grep 'ignoring option' conftest.err ||
3477 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3478 am_cv_CC_dependencies_compiler_type
=$depmode
3487 am_cv_CC_dependencies_compiler_type
=none
3491 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3492 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3493 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3496 test "x$enable_dependency_tracking" != xno \
3497 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3499 am__fastdepCC_FALSE
='#'
3501 am__fastdepCC_TRUE
='#'
3502 am__fastdepCC_FALSE
=
3508 ac_cpp
='$CPP $CPPFLAGS'
3509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3512 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3513 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3514 # On Suns, sometimes $CPP names a directory.
3515 if test -n "$CPP" && test -d "$CPP"; then
3518 if test -z "$CPP"; then
3519 if test "${ac_cv_prog_CPP+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 # Double quotes because CPP needs to be expanded
3523 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3526 for ac_c_preproc_warn_flag
in '' yes
3528 # Use a header file that comes with gcc, so configuring glibc
3529 # with a fresh cross-compiler works.
3530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3531 # <limits.h> exists even on freestanding compilers.
3532 # On the NeXT, cc -E runs the code through the compiler's parser,
3533 # not just through cpp. "Syntax error" is here to catch this case.
3534 cat >conftest.
$ac_ext <<_ACEOF
3537 cat confdefs.h
>>conftest.
$ac_ext
3538 cat >>conftest.
$ac_ext <<_ACEOF
3539 /* end confdefs.h. */
3541 # include <limits.h>
3543 # include <assert.h>
3547 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } >/dev/null && {
3560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3565 echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 # Broken: fails on valid input.
3572 rm -f conftest.err conftest.$ac_ext
3574 # OK, works on sane cases. Now check whether nonexistent headers
3575 # can be detected and how.
3576 cat >conftest.$ac_ext <<_ACEOF
3579 cat confdefs.h >>conftest.$ac_ext
3580 cat >>conftest.$ac_ext <<_ACEOF
3581 /* end confdefs.h. */
3582 #include <ac_nonexistent.h>
3584 if { (ac_try="$ac_cpp conftest.$ac_ext"
3586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3587 *) ac_try_echo
=$ac_try;;
3589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3592 grep -v '^ *+' conftest.er1
>conftest.err
3594 cat conftest.err
>&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); } >/dev
/null
&& {
3597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3598 test ! -s conftest.err
3600 # Broken: success on invalid input.
3603 echo "$as_me: failed program was:" >&5
3604 sed 's/^/| /' conftest.
$ac_ext >&5
3606 # Passes both tests.
3611 rm -f conftest.err conftest.
$ac_ext
3614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3615 rm -f conftest.err conftest.
$ac_ext
3616 if $ac_preproc_ok; then
3628 { echo "$as_me:$LINENO: result: $CPP" >&5
3629 echo "${ECHO_T}$CPP" >&6; }
3631 for ac_c_preproc_warn_flag
in '' yes
3633 # Use a header file that comes with gcc, so configuring glibc
3634 # with a fresh cross-compiler works.
3635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3636 # <limits.h> exists even on freestanding compilers.
3637 # On the NeXT, cc -E runs the code through the compiler's parser,
3638 # not just through cpp. "Syntax error" is here to catch this case.
3639 cat >conftest.
$ac_ext <<_ACEOF
3642 cat confdefs.h
>>conftest.
$ac_ext
3643 cat >>conftest.
$ac_ext <<_ACEOF
3644 /* end confdefs.h. */
3646 # include <limits.h>
3648 # include <assert.h>
3652 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3660 grep -v '^ *+' conftest.er1 >conftest.err
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } >/dev/null && {
3665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3666 test ! -s conftest.err
3670 echo "$as_me: failed program was:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3673 # Broken: fails on valid input.
3677 rm -f conftest.err conftest.$ac_ext
3679 # OK, works on sane cases. Now check whether nonexistent headers
3680 # can be detected and how.
3681 cat >conftest.$ac_ext <<_ACEOF
3684 cat confdefs.h >>conftest.$ac_ext
3685 cat >>conftest.$ac_ext <<_ACEOF
3686 /* end confdefs.h. */
3687 #include <ac_nonexistent.h>
3689 if { (ac_try="$ac_cpp conftest.$ac_ext"
3691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3692 *) ac_try_echo
=$ac_try;;
3694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3697 grep -v '^ *+' conftest.er1
>conftest.err
3699 cat conftest.err
>&5
3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); } >/dev
/null
&& {
3702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3703 test ! -s conftest.err
3705 # Broken: success on invalid input.
3708 echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.
$ac_ext >&5
3711 # Passes both tests.
3716 rm -f conftest.err conftest.
$ac_ext
3719 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3720 rm -f conftest.err conftest.
$ac_ext
3721 if $ac_preproc_ok; then
3724 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3725 See \`config.log' for more details." >&5
3726 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3727 See \`config.log' for more details." >&2;}
3728 { (exit 1); exit 1; }; }
3732 ac_cpp
='$CPP $CPPFLAGS'
3733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3738 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3739 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3740 if test "${ac_cv_path_GREP+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 # Extract the first word of "grep ggrep" to use in msg output
3744 if test -z "$GREP"; then
3745 set dummy
grep ggrep
; ac_prog_name
=$2
3746 if test "${ac_cv_path_GREP+set}" = set; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 ac_path_GREP_found
=false
3750 # Loop through the user's path and test for each of PROGNAME-LIST
3751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3752 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3755 test -z "$as_dir" && as_dir
=.
3756 for ac_prog
in grep ggrep
; do
3757 for ac_exec_ext
in '' $ac_executable_extensions; do
3758 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3759 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3760 # Check for GNU ac_path_GREP and select it if it is found.
3761 # Check for GNU $ac_path_GREP
3762 case `"$ac_path_GREP" --version 2>&1` in
3764 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3767 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3770 cat "conftest.in" "conftest.in" >"conftest.tmp"
3771 mv "conftest.tmp" "conftest.in"
3772 cp "conftest.in" "conftest.nl"
3773 echo 'GREP' >> "conftest.nl"
3774 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3775 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3776 ac_count
=`expr $ac_count + 1`
3777 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3778 # Best one so far, save it but keep looking for a better one
3779 ac_cv_path_GREP
="$ac_path_GREP"
3780 ac_path_GREP_max
=$ac_count
3782 # 10*(2^10) chars as input seems more than enough
3783 test $ac_count -gt 10 && break
3785 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3789 $ac_path_GREP_found && break 3
3799 GREP
="$ac_cv_path_GREP"
3800 if test -z "$GREP"; then
3801 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3802 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3803 { (exit 1); exit 1; }; }
3807 ac_cv_path_GREP
=$GREP
3812 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3813 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3814 GREP
="$ac_cv_path_GREP"
3817 { echo "$as_me:$LINENO: checking for egrep" >&5
3818 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3819 if test "${ac_cv_path_EGREP+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3823 then ac_cv_path_EGREP
="$GREP -E"
3825 # Extract the first word of "egrep" to use in msg output
3826 if test -z "$EGREP"; then
3827 set dummy
egrep; ac_prog_name
=$2
3828 if test "${ac_cv_path_EGREP+set}" = set; then
3829 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 ac_path_EGREP_found
=false
3832 # Loop through the user's path and test for each of PROGNAME-LIST
3833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3834 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3837 test -z "$as_dir" && as_dir
=.
3838 for ac_prog
in egrep; do
3839 for ac_exec_ext
in '' $ac_executable_extensions; do
3840 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3841 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3842 # Check for GNU ac_path_EGREP and select it if it is found.
3843 # Check for GNU $ac_path_EGREP
3844 case `"$ac_path_EGREP" --version 2>&1` in
3846 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3849 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3852 cat "conftest.in" "conftest.in" >"conftest.tmp"
3853 mv "conftest.tmp" "conftest.in"
3854 cp "conftest.in" "conftest.nl"
3855 echo 'EGREP' >> "conftest.nl"
3856 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3857 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3858 ac_count
=`expr $ac_count + 1`
3859 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3860 # Best one so far, save it but keep looking for a better one
3861 ac_cv_path_EGREP
="$ac_path_EGREP"
3862 ac_path_EGREP_max
=$ac_count
3864 # 10*(2^10) chars as input seems more than enough
3865 test $ac_count -gt 10 && break
3867 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3871 $ac_path_EGREP_found && break 3
3881 EGREP
="$ac_cv_path_EGREP"
3882 if test -z "$EGREP"; then
3883 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3884 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3885 { (exit 1); exit 1; }; }
3889 ac_cv_path_EGREP
=$EGREP
3895 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3896 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3897 EGREP
="$ac_cv_path_EGREP"
3901 { echo "$as_me:$LINENO: checking for AIX" >&5
3902 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3903 cat >conftest.
$ac_ext <<_ACEOF
3906 cat confdefs.h
>>conftest.
$ac_ext
3907 cat >>conftest.
$ac_ext <<_ACEOF
3908 /* end confdefs.h. */
3914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3915 $EGREP "yes" >/dev
/null
2>&1; then
3916 { echo "$as_me:$LINENO: result: yes" >&5
3917 echo "${ECHO_T}yes" >&6; }
3918 cat >>confdefs.h
<<\_ACEOF
3919 #define _ALL_SOURCE 1
3923 { echo "$as_me:$LINENO: result: no" >&5
3924 echo "${ECHO_T}no" >&6; }
3929 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3930 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3931 if test "${ac_cv_header_stdc+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 cat >conftest.
$ac_ext <<_ACEOF
3937 cat confdefs.h
>>conftest.
$ac_ext
3938 cat >>conftest.
$ac_ext <<_ACEOF
3939 /* end confdefs.h. */
3953 rm -f conftest.
$ac_objext
3954 if { (ac_try
="$ac_compile"
3956 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3957 *) ac_try_echo=$ac_try;;
3959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3960 (eval "$ac_compile") 2>conftest.er1
3962 grep -v '^ *+' conftest.er1 >conftest.err
3964 cat conftest.err >&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); } && {
3967 test -z "$ac_c_werror_flag" ||
3968 test ! -s conftest.err
3969 } && test -s conftest.$ac_objext; then
3970 ac_cv_header_stdc=yes
3972 echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3975 ac_cv_header_stdc=no
3978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3980 if test $ac_cv_header_stdc = yes; then
3981 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3982 cat >conftest.$ac_ext <<_ACEOF
3985 cat confdefs.h >>conftest.$ac_ext
3986 cat >>conftest.$ac_ext <<_ACEOF
3987 /* end confdefs.h. */
3991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3992 $EGREP "memchr" >/dev/null 2>&1; then
3995 ac_cv_header_stdc=no
4001 if test $ac_cv_header_stdc = yes; then
4002 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4003 cat >conftest.$ac_ext <<_ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4013 $EGREP "free" >/dev/null 2>&1; then
4016 ac_cv_header_stdc=no
4022 if test $ac_cv_header_stdc = yes; then
4023 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4024 if test "$cross_compiling" = yes; then
4027 cat >conftest.$ac_ext <<_ACEOF
4030 cat confdefs.h >>conftest.$ac_ext
4031 cat >>conftest.$ac_ext <<_ACEOF
4032 /* end confdefs.h. */
4035 #if ((' ' & 0x0FF) == 0x020)
4036 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4037 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4039 # define ISLOWER(c) \
4040 (('a' <= (c) && (c) <= 'i') \
4041 || ('j' <= (c) && (c) <= 'r') \
4042 || ('s' <= (c) && (c) <= 'z'))
4043 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4046 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4051 for (i = 0; i < 256; i++)
4052 if (XOR (islower (i), ISLOWER (i))
4053 || toupper (i) != TOUPPER (i))
4058 rm -f conftest$ac_exeext
4059 if { (ac_try="$ac_link"
4061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4062 *) ac_try_echo
=$ac_try;;
4064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4065 (eval "$ac_link") 2>&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4069 { (case "(($ac_try" in
4070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4071 *) ac_try_echo=$ac_try;;
4073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4074 (eval "$ac_try") 2>&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); }; }; then
4080 echo "$as_me: program exited with status $ac_status" >&5
4081 echo "$as_me: failed program was:" >&5
4082 sed 's/^/| /' conftest.$ac_ext >&5
4085 ac_cv_header_stdc=no
4087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4093 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4094 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4095 if test $ac_cv_header_stdc = yes; then
4097 cat >>confdefs.h <<\_ACEOF
4098 #define STDC_HEADERS 1
4103 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4113 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4114 inttypes.h stdint.h unistd.h
4116 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4117 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4119 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 cat >conftest.$ac_ext <<_ACEOF
4125 cat confdefs.h >>conftest.$ac_ext
4126 cat >>conftest.$ac_ext <<_ACEOF
4127 /* end confdefs.h. */
4128 $ac_includes_default
4130 #include <$ac_header>
4132 rm -f conftest.$ac_objext
4133 if { (ac_try="$ac_compile"
4135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4136 *) ac_try_echo
=$ac_try;;
4138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4139 (eval "$ac_compile") 2>conftest.er1
4141 grep -v '^ *+' conftest.er1
>conftest.err
4143 cat conftest.err
>&5
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); } && {
4146 test -z "$ac_c_werror_flag" ||
4147 test ! -s conftest.err
4148 } && test -s conftest.
$ac_objext; then
4149 eval "$as_ac_Header=yes"
4151 echo "$as_me: failed program was:" >&5
4152 sed 's/^/| /' conftest.
$ac_ext >&5
4154 eval "$as_ac_Header=no"
4157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4159 ac_res
=`eval echo '${'$as_ac_Header'}'`
4160 { echo "$as_me:$LINENO: result: $ac_res" >&5
4161 echo "${ECHO_T}$ac_res" >&6; }
4162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4163 cat >>confdefs.h
<<_ACEOF
4164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4172 if test "${ac_cv_header_minix_config_h+set}" = set; then
4173 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4174 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4175 if test "${ac_cv_header_minix_config_h+set}" = set; then
4176 echo $ECHO_N "(cached) $ECHO_C" >&6
4178 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4179 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4181 # Is the header compilable?
4182 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4183 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4184 cat >conftest.
$ac_ext <<_ACEOF
4187 cat confdefs.h
>>conftest.
$ac_ext
4188 cat >>conftest.
$ac_ext <<_ACEOF
4189 /* end confdefs.h. */
4190 $ac_includes_default
4191 #include <minix/config.h>
4193 rm -f conftest.
$ac_objext
4194 if { (ac_try
="$ac_compile"
4196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4197 *) ac_try_echo=$ac_try;;
4199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4200 (eval "$ac_compile") 2>conftest.er1
4202 grep -v '^ *+' conftest.er1 >conftest.err
4204 cat conftest.err >&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); } && {
4207 test -z "$ac_c_werror_flag" ||
4208 test ! -s conftest.err
4209 } && test -s conftest.$ac_objext; then
4210 ac_header_compiler=yes
4212 echo "$as_me: failed program was:" >&5
4213 sed 's/^/| /' conftest.$ac_ext >&5
4215 ac_header_compiler=no
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4220 echo "${ECHO_T}$ac_header_compiler" >&6; }
4222 # Is the header present?
4223 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4224 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4225 cat >conftest.$ac_ext <<_ACEOF
4228 cat confdefs.h >>conftest.$ac_ext
4229 cat >>conftest.$ac_ext <<_ACEOF
4230 /* end confdefs.h. */
4231 #include <minix/config.h>
4233 if { (ac_try="$ac_cpp conftest.$ac_ext"
4235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4236 *) ac_try_echo
=$ac_try;;
4238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4241 grep -v '^ *+' conftest.er1
>conftest.err
4243 cat conftest.err
>&5
4244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245 (exit $ac_status); } >/dev
/null
&& {
4246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4247 test ! -s conftest.err
4249 ac_header_preproc
=yes
4251 echo "$as_me: failed program was:" >&5
4252 sed 's/^/| /' conftest.
$ac_ext >&5
4254 ac_header_preproc
=no
4257 rm -f conftest.err conftest.
$ac_ext
4258 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4259 echo "${ECHO_T}$ac_header_preproc" >&6; }
4261 # So? What about this header?
4262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4264 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4265 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4266 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4267 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4268 ac_header_preproc
=yes
4271 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4272 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4273 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4274 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4275 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4276 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4277 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4278 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4279 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4280 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4281 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4282 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4284 ## -------------------------------------------------- ##
4285 ## Report this to courier-users@lists.sourceforge.net ##
4286 ## -------------------------------------------------- ##
4288 ) |
sed "s/^/$as_me: WARNING: /" >&2
4291 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4292 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4293 if test "${ac_cv_header_minix_config_h+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 ac_cv_header_minix_config_h
=$ac_header_preproc
4298 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4299 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4302 if test $ac_cv_header_minix_config_h = yes; then
4309 if test "$MINIX" = yes; then
4311 cat >>confdefs.h
<<\_ACEOF
4312 #define _POSIX_SOURCE 1
4316 cat >>confdefs.h
<<\_ACEOF
4317 #define _POSIX_1_SOURCE 2
4321 cat >>confdefs.h
<<\_ACEOF
4327 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
4328 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
4329 if test "${ac_cv_search_strerror+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 ac_func_search_save_LIBS
=$LIBS
4333 cat >conftest.
$ac_ext <<_ACEOF
4336 cat confdefs.h
>>conftest.
$ac_ext
4337 cat >>conftest.
$ac_ext <<_ACEOF
4338 /* end confdefs.h. */
4340 /* Override any GCC internal prototype to avoid an error.
4341 Use char because int might match the return type of a GCC
4342 builtin and then its argument prototype would still apply. */
4355 for ac_lib
in '' cposix
; do
4356 if test -z "$ac_lib"; then
4357 ac_res
="none required"
4360 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4362 rm -f conftest.
$ac_objext conftest
$ac_exeext
4363 if { (ac_try
="$ac_link"
4365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4369 (eval "$ac_link") 2>conftest.er1
4371 grep -v '^ *+' conftest.er1 >conftest.err
4373 cat conftest.err >&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } && {
4376 test -z "$ac_c_werror_flag" ||
4377 test ! -s conftest.err
4378 } && test -s conftest$ac_exeext &&
4379 $as_test_x conftest$ac_exeext; then
4380 ac_cv_search_strerror=$ac_res
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.$ac_ext >&5
4388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4390 if test "${ac_cv_search_strerror+set}" = set; then
4394 if test "${ac_cv_search_strerror+set}" = set; then
4397 ac_cv_search_strerror=no
4400 LIBS=$ac_func_search_save_LIBS
4402 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4403 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
4404 ac_res=$ac_cv_search_strerror
4405 if test "$ac_res" != no; then
4406 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4410 for ac_prog in gawk mawk nawk awk
4412 # Extract the first word of "$ac_prog", so it can be a program name with args.
4413 set dummy $ac_prog; ac_word=$2
4414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4416 if test "${ac_cv_prog_AWK+set}" = set; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 if test -n "$AWK"; then
4420 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 test -z "$as_dir" && as_dir=.
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4429 ac_cv_prog_AWK="$ac_prog"
4430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 if test -n "$AWK"; then
4441 { echo "$as_me:$LINENO: result: $AWK" >&5
4442 echo "${ECHO_T}$AWK" >&6; }
4444 { echo "$as_me:$LINENO: result: no" >&5
4445 echo "${ECHO_T}no" >&6; }
4449 test -n "$AWK" && break
4453 ac_cpp='$CXXCPP $CPPFLAGS'
4454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4457 if test -z "$CXX"; then
4458 if test -n "$CCC"; then
4461 if test -n "$ac_tool_prefix"; then
4462 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4464 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4465 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4468 if test "${ac_cv_prog_CXX+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 if test -n "$CXX"; then
4472 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 test -z "$as_dir" && as_dir=.
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4481 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 if test -n "$CXX"; then
4493 { echo "$as_me:$LINENO: result: $CXX" >&5
4494 echo "${ECHO_T}$CXX" >&6; }
4496 { echo "$as_me:$LINENO: result: no" >&5
4497 echo "${ECHO_T}no" >&6; }
4501 test -n "$CXX" && break
4504 if test -z "$CXX"; then
4506 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4508 # Extract the first word of "$ac_prog", so it can be a program name with args.
4509 set dummy $ac_prog; ac_word=$2
4510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4512 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6
4515 if test -n "$ac_ct_CXX"; then
4516 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4522 test -z "$as_dir" && as_dir=.
4523 for ac_exec_ext in '' $ac_executable_extensions; do
4524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4525 ac_cv_prog_ac_ct_CXX="$ac_prog"
4526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4535 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4536 if test -n "$ac_ct_CXX"; then
4537 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4538 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4540 { echo "$as_me:$LINENO: result: no" >&5
4541 echo "${ECHO_T}no" >&6; }
4545 test -n "$ac_ct_CXX" && break
4548 if test "x$ac_ct_CXX" = x; then
4551 case $cross_compiling:$ac_tool_warned in
4553 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4554 whose name does not start with the host triplet. If you think this
4555 configuration is useful to you, please write to autoconf@gnu.org." >&5
4556 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4557 whose name does not start with the host triplet. If you think this
4558 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4559 ac_tool_warned=yes ;;
4567 # Provide some information about the compiler.
4568 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4569 ac_compiler=`set X
$ac_compile; echo $2`
4570 { (ac_try="$ac_compiler --version >&5"
4572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4573 *) ac_try_echo
=$ac_try;;
4575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4576 (eval "$ac_compiler --version >&5") 2>&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); }
4580 { (ac_try
="$ac_compiler -v >&5"
4582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4583 *) ac_try_echo=$ac_try;;
4585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4586 (eval "$ac_compiler -v >&5") 2>&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }
4590 { (ac_try="$ac_compiler -V >&5"
4592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4593 *) ac_try_echo
=$ac_try;;
4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4596 (eval "$ac_compiler -V >&5") 2>&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); }
4601 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4602 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4603 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4606 cat >conftest.
$ac_ext <<_ACEOF
4609 cat confdefs.h
>>conftest.
$ac_ext
4610 cat >>conftest.
$ac_ext <<_ACEOF
4611 /* end confdefs.h. */
4624 rm -f conftest.
$ac_objext
4625 if { (ac_try
="$ac_compile"
4627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4628 *) ac_try_echo=$ac_try;;
4630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4631 (eval "$ac_compile") 2>conftest.er1
4633 grep -v '^ *+' conftest.er1 >conftest.err
4635 cat conftest.err >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); } && {
4638 test -z "$ac_cxx_werror_flag" ||
4639 test ! -s conftest.err
4640 } && test -s conftest.$ac_objext; then
4643 echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4653 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4654 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4655 GXX=`test $ac_compiler_gnu = yes && echo yes`
4656 ac_test_CXXFLAGS=${CXXFLAGS+set}
4657 ac_save_CXXFLAGS=$CXXFLAGS
4658 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4659 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4660 if test "${ac_cv_prog_cxx_g+set}" = set; then
4661 echo $ECHO_N "(cached) $ECHO_C" >&6
4663 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4664 ac_cxx_werror_flag=yes
4667 cat >conftest.$ac_ext <<_ACEOF
4670 cat confdefs.h >>conftest.$ac_ext
4671 cat >>conftest.$ac_ext <<_ACEOF
4672 /* end confdefs.h. */
4682 rm -f conftest.$ac_objext
4683 if { (ac_try="$ac_compile"
4685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4686 *) ac_try_echo
=$ac_try;;
4688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4689 (eval "$ac_compile") 2>conftest.er1
4691 grep -v '^ *+' conftest.er1
>conftest.err
4693 cat conftest.err
>&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } && {
4696 test -z "$ac_cxx_werror_flag" ||
4697 test ! -s conftest.err
4698 } && test -s conftest.
$ac_objext; then
4699 ac_cv_prog_cxx_g
=yes
4701 echo "$as_me: failed program was:" >&5
4702 sed 's/^/| /' conftest.
$ac_ext >&5
4705 cat >conftest.
$ac_ext <<_ACEOF
4708 cat confdefs.h
>>conftest.
$ac_ext
4709 cat >>conftest.
$ac_ext <<_ACEOF
4710 /* end confdefs.h. */
4720 rm -f conftest.
$ac_objext
4721 if { (ac_try
="$ac_compile"
4723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4724 *) ac_try_echo=$ac_try;;
4726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4727 (eval "$ac_compile") 2>conftest.er1
4729 grep -v '^ *+' conftest.er1 >conftest.err
4731 cat conftest.err >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } && {
4734 test -z "$ac_cxx_werror_flag" ||
4735 test ! -s conftest.err
4736 } && test -s conftest.$ac_objext; then
4739 echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.$ac_ext >&5
4742 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4744 cat >conftest.$ac_ext <<_ACEOF
4747 cat confdefs.h >>conftest.$ac_ext
4748 cat >>conftest.$ac_ext <<_ACEOF
4749 /* end confdefs.h. */
4759 rm -f conftest.$ac_objext
4760 if { (ac_try="$ac_compile"
4762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4763 *) ac_try_echo
=$ac_try;;
4765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4766 (eval "$ac_compile") 2>conftest.er1
4768 grep -v '^ *+' conftest.er1
>conftest.err
4770 cat conftest.err
>&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); } && {
4773 test -z "$ac_cxx_werror_flag" ||
4774 test ! -s conftest.err
4775 } && test -s conftest.
$ac_objext; then
4776 ac_cv_prog_cxx_g
=yes
4778 echo "$as_me: failed program was:" >&5
4779 sed 's/^/| /' conftest.
$ac_ext >&5
4784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4791 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4793 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4794 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4795 if test "$ac_test_CXXFLAGS" = set; then
4796 CXXFLAGS
=$ac_save_CXXFLAGS
4797 elif test $ac_cv_prog_cxx_g = yes; then
4798 if test "$GXX" = yes; then
4804 if test "$GXX" = yes; then
4811 ac_cpp
='$CPP $CPPFLAGS'
4812 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4813 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4814 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4816 depcc
="$CXX" am_compiler_list
=
4818 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4819 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4820 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4821 echo $ECHO_N "(cached) $ECHO_C" >&6
4823 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4824 # We make a subdir and do the tests there. Otherwise we can end up
4825 # making bogus files that we don't know about and never remove. For
4826 # instance it was reported that on HP-UX the gcc test will end up
4827 # making a dummy file named `D' -- because `-MD' means `put the output
4830 # Copy depcomp to subdir because otherwise we won't find it if we're
4831 # using a relative directory.
4832 cp "$am_depcomp" conftest.dir
4834 # We will build objects and dependencies in a subdirectory because
4835 # it helps to detect inapplicable dependency modes. For instance
4836 # both Tru64's cc and ICC support -MD to output dependencies as a
4837 # side effect of compilation, but ICC will put the dependencies in
4838 # the current directory while Tru64 will put them in the object
4842 am_cv_CXX_dependencies_compiler_type
=none
4843 if test "$am_compiler_list" = ""; then
4844 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4846 for depmode
in $am_compiler_list; do
4847 # Setup a source with many dependencies, because some compilers
4848 # like to wrap large dependency lists on column 80 (with \), and
4849 # we should not choose a depcomp mode which is confused by this.
4851 # We need to recreate these files for each test, as the compiler may
4852 # overwrite some of them when testing with obscure command lines.
4853 # This happens at least with the AIX C compiler.
4855 for i
in 1 2 3 4 5 6; do
4856 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4857 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4858 # Solaris 8's {/usr,}/bin/sh.
4859 touch sub
/conftst
$i.h
4861 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4865 # after this tag, mechanisms are not by side-effect, so they'll
4866 # only be used when explicitly requested
4867 if test "x$enable_dependency_tracking" = xyes
; then
4875 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4876 # mode. It turns out that the SunPro C++ compiler does not properly
4877 # handle `-M -o', and we need to detect this.
4878 if depmode
=$depmode \
4879 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4880 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4881 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4882 >/dev
/null
2>conftest.err
&&
4883 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4884 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4885 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4886 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4887 # icc doesn't choke on unknown options, it will just issue warnings
4888 # or remarks (even with -Werror). So we grep stderr for any message
4889 # that says an option was ignored or not supported.
4890 # When given -MP, icc 7.0 and 7.1 complain thusly:
4891 # icc: Command line warning: ignoring option '-M'; no argument required
4892 # The diagnosis changed in icc 8.0:
4893 # icc: Command line remark: option '-MP' not supported
4894 if (grep 'ignoring option' conftest.err ||
4895 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4896 am_cv_CXX_dependencies_compiler_type
=$depmode
4905 am_cv_CXX_dependencies_compiler_type
=none
4909 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4910 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4911 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4914 test "x$enable_dependency_tracking" != xno \
4915 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4916 am__fastdepCXX_TRUE
=
4917 am__fastdepCXX_FALSE
='#'
4919 am__fastdepCXX_TRUE
='#'
4920 am__fastdepCXX_FALSE
=
4924 # Check whether --enable-shared was given.
4925 if test "${enable_shared+set}" = set; then
4926 enableval
=$enable_shared; p
=${PACKAGE-default}
4928 yes) enable_shared
=yes ;;
4929 no
) enable_shared
=no
;;
4932 # Look at the argument we got. We use all the common list separators.
4933 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4934 for pkg
in $enableval; do
4936 if test "X$pkg" = "X$p"; then
4948 # Check whether --enable-static was given.
4949 if test "${enable_static+set}" = set; then
4950 enableval
=$enable_static; p
=${PACKAGE-default}
4952 yes) enable_static
=yes ;;
4953 no
) enable_static
=no
;;
4956 # Look at the argument we got. We use all the common list separators.
4957 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4958 for pkg
in $enableval; do
4960 if test "X$pkg" = "X$p"; then
4972 # Check whether --enable-fast-install was given.
4973 if test "${enable_fast_install+set}" = set; then
4974 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4976 yes) enable_fast_install
=yes ;;
4977 no
) enable_fast_install
=no
;;
4979 enable_fast_install
=no
4980 # Look at the argument we got. We use all the common list separators.
4981 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4982 for pkg
in $enableval; do
4984 if test "X$pkg" = "X$p"; then
4985 enable_fast_install
=yes
4992 enable_fast_install
=yes
4996 # Make sure we can run config.sub.
4997 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4998 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4999 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5000 { (exit 1); exit 1; }; }
5002 { echo "$as_me:$LINENO: checking build system type" >&5
5003 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5004 if test "${ac_cv_build+set}" = set; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 ac_build_alias
=$build_alias
5008 test "x$ac_build_alias" = x
&&
5009 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5010 test "x$ac_build_alias" = x
&&
5011 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5012 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5013 { (exit 1); exit 1; }; }
5014 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5015 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5016 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5017 { (exit 1); exit 1; }; }
5020 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5021 echo "${ECHO_T}$ac_cv_build" >&6; }
5022 case $ac_cv_build in
5024 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5025 echo "$as_me: error: invalid value of canonical build" >&2;}
5026 { (exit 1); exit 1; }; };;
5029 ac_save_IFS
=$IFS; IFS
='-'
5035 # Remember, the first character of IFS is used to create $*,
5036 # except with old shells:
5039 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5042 { echo "$as_me:$LINENO: checking host system type" >&5
5043 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5044 if test "${ac_cv_host+set}" = set; then
5045 echo $ECHO_N "(cached) $ECHO_C" >&6
5047 if test "x$host_alias" = x
; then
5048 ac_cv_host
=$ac_cv_build
5050 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5051 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5052 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5053 { (exit 1); exit 1; }; }
5057 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5058 echo "${ECHO_T}$ac_cv_host" >&6; }
5061 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5062 echo "$as_me: error: invalid value of canonical host" >&2;}
5063 { (exit 1); exit 1; }; };;
5066 ac_save_IFS
=$IFS; IFS
='-'
5072 # Remember, the first character of IFS is used to create $*,
5073 # except with old shells:
5076 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5079 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5080 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5081 if test "${lt_cv_path_SED+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5084 # Loop through the user's path and test for sed and gsed.
5085 # Then use that list of sed's as ones to test for truncation.
5086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5090 test -z "$as_dir" && as_dir
=.
5091 for lt_ac_prog
in sed gsed
; do
5092 for ac_exec_ext
in '' $ac_executable_extensions; do
5093 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5094 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5102 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5103 # along with /bin/sed that truncates output.
5104 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5105 test ! -f $lt_ac_sed && continue
5106 cat /dev
/null
> conftest.
in
5108 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5109 # Check for GNU sed and select it if it is found.
5110 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5111 lt_cv_path_SED
=$lt_ac_sed
5115 cat conftest.
in conftest.
in >conftest.tmp
5116 mv conftest.tmp conftest.
in
5117 cp conftest.
in conftest.
nl
5119 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5120 cmp -s conftest.out conftest.
nl ||
break
5121 # 10000 chars as input seems more than enough
5122 test $lt_ac_count -gt 10 && break
5123 lt_ac_count
=`expr $lt_ac_count + 1`
5124 if test $lt_ac_count -gt $lt_ac_max; then
5125 lt_ac_max
=$lt_ac_count
5126 lt_cv_path_SED
=$lt_ac_sed
5135 { echo "$as_me:$LINENO: result: $SED" >&5
5136 echo "${ECHO_T}$SED" >&6; }
5139 # Check whether --with-gnu-ld was given.
5140 if test "${with_gnu_ld+set}" = set; then
5141 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5147 if test "$GCC" = yes; then
5148 # Check if gcc -print-prog-name=ld gives a path.
5149 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5150 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
5153 # gcc leaves a trailing carriage return which upsets mingw
5154 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5156 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5159 # Accept absolute paths.
5161 re_direlt
='/[^/][^/]*/\.\./'
5162 # Canonicalize the pathname of ld
5163 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
5164 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5165 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5167 test -z "$LD" && LD
="$ac_prog"
5170 # If it fails, then pretend we aren't using GCC.
5174 # If it is relative, then search for the first ld in PATH.
5178 elif test "$with_gnu_ld" = yes; then
5179 { echo "$as_me:$LINENO: checking for GNU ld" >&5
5180 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5182 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5183 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5185 if test "${lt_cv_path_LD+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 if test -z "$LD"; then
5189 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5190 for ac_dir
in $PATH; do
5192 test -z "$ac_dir" && ac_dir
=.
5193 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5194 lt_cv_path_LD
="$ac_dir/$ac_prog"
5195 # Check to see if the program is GNU ld. I'd rather use --version,
5196 # but apparently some variants of GNU ld only accept -v.
5197 # Break only if it was the GNU/non-GNU ld that we prefer.
5198 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5199 *GNU
* |
*'with BFD'*)
5200 test "$with_gnu_ld" != no
&& break
5203 test "$with_gnu_ld" != yes && break
5210 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5215 if test -n "$LD"; then
5216 { echo "$as_me:$LINENO: result: $LD" >&5
5217 echo "${ECHO_T}$LD" >&6; }
5219 { echo "$as_me:$LINENO: result: no" >&5
5220 echo "${ECHO_T}no" >&6; }
5222 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5223 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5224 { (exit 1); exit 1; }; }
5225 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5226 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5227 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5231 case `$LD -v 2>&1 </dev/null` in
5232 *GNU
* |
*'with BFD'*)
5233 lt_cv_prog_gnu_ld
=yes
5236 lt_cv_prog_gnu_ld
=no
5240 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5241 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5242 with_gnu_ld
=$lt_cv_prog_gnu_ld
5245 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5246 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5247 if test "${lt_cv_ld_reload_flag+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 lt_cv_ld_reload_flag
='-r'
5252 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5253 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5254 reload_flag
=$lt_cv_ld_reload_flag
5255 case $reload_flag in
5257 *) reload_flag
=" $reload_flag" ;;
5259 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5262 if test "$GCC" = yes; then
5263 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5265 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5270 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5271 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5272 if test "${lt_cv_path_NM+set}" = set; then
5273 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 if test -n "$NM"; then
5276 # Let the user override the test.
5279 lt_nm_to_check
="${ac_tool_prefix}nm"
5280 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5281 lt_nm_to_check
="$lt_nm_to_check nm"
5283 for lt_tmp_nm
in $lt_nm_to_check; do
5284 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5285 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5287 test -z "$ac_dir" && ac_dir
=.
5288 tmp_nm
="$ac_dir/$lt_tmp_nm"
5289 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5290 # Check to see if the nm accepts a BSD-compat flag.
5291 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5292 # nm: unknown option "B" ignored
5293 # Tru64's nm complains that /dev/null is an invalid object file
5294 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5295 */dev
/null
* |
*'Invalid file or object type'*)
5296 lt_cv_path_NM
="$tmp_nm -B"
5300 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5302 lt_cv_path_NM
="$tmp_nm -p"
5306 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5307 continue # so that we can try to find one that supports BSD flags
5316 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5319 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5320 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5323 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5324 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5326 if test "$LN_S" = "ln -s"; then
5327 { echo "$as_me:$LINENO: result: yes" >&5
5328 echo "${ECHO_T}yes" >&6; }
5330 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5331 echo "${ECHO_T}no, using $LN_S" >&6; }
5334 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5335 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5336 if test "${lt_cv_deplibs_check_method+set}" = set; then
5337 echo $ECHO_N "(cached) $ECHO_C" >&6
5339 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5340 lt_cv_file_magic_test_file
=
5341 lt_cv_deplibs_check_method
='unknown'
5342 # Need to set the preceding variable on all platforms that support
5343 # interlibrary dependencies.
5344 # 'none' -- dependencies not supported.
5345 # `unknown' -- same as none, but documents that we really don't know.
5346 # 'pass_all' -- all dependencies passed with no checks.
5347 # 'test_compile' -- check by making test program.
5348 # 'file_magic [[regex]]' -- check by looking for files in library path
5349 # which responds to the $file_magic_cmd with a given extended regex.
5350 # If you have `file' or equivalent on your system and you're not sure
5351 # whether `pass_all' will *always* work, you probably want this one.
5355 lt_cv_deplibs_check_method
=pass_all
5359 lt_cv_deplibs_check_method
=pass_all
5363 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5364 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5365 lt_cv_file_magic_test_file
=/shlib
/libc.so
5369 # func_win32_libid is a shell function defined in ltmain.sh
5370 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5371 lt_cv_file_magic_cmd
='func_win32_libid'
5375 # Base MSYS/MinGW do not provide the 'file' command needed by
5376 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5377 # unless we find 'file', for example because we are cross-compiling.
5378 if ( file / ) >/dev
/null
2>&1; then
5379 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5380 lt_cv_file_magic_cmd
='func_win32_libid'
5382 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5383 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5387 darwin
* | rhapsody
*)
5388 lt_cv_deplibs_check_method
=pass_all
5391 freebsd
* | dragonfly
*)
5392 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5395 # Not sure whether the presence of OpenBSD here was a mistake.
5396 # Let's accept both of them until this is cleared up.
5397 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5398 lt_cv_file_magic_cmd
=/usr
/bin
/file
5399 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5403 lt_cv_deplibs_check_method
=pass_all
5408 lt_cv_deplibs_check_method
=pass_all
5411 hpux10.20
* | hpux11
*)
5412 lt_cv_file_magic_cmd
=/usr
/bin
/file
5415 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5416 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5419 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]'
5420 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5423 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5424 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5430 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5431 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5434 irix5
* | irix6
* | nonstopux
*)
5436 *-32|
*"-32 ") libmagic
=32-bit;;
5437 *-n32|
*"-n32 ") libmagic
=N32
;;
5438 *-64|
*"-64 ") libmagic
=64-bit;;
5439 *) libmagic
=never-match
;;
5441 lt_cv_deplibs_check_method
=pass_all
5444 # This must be Linux ELF.
5445 linux
* | k
*bsd
*-gnu)
5446 lt_cv_deplibs_check_method
=pass_all
5450 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5451 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5453 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5458 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5459 lt_cv_file_magic_cmd
=/usr
/bin
/file
5460 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5464 lt_cv_deplibs_check_method
=unknown
5468 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5469 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5471 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5475 osf3
* | osf4
* | osf5
*)
5476 lt_cv_deplibs_check_method
=pass_all
5480 lt_cv_deplibs_check_method
=pass_all
5484 lt_cv_deplibs_check_method
=pass_all
5488 case $host_vendor in
5490 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]'
5491 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5494 lt_cv_deplibs_check_method
=pass_all
5497 lt_cv_file_magic_cmd
='/bin/file'
5498 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5501 lt_cv_file_magic_cmd
='/bin/file'
5502 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5503 lt_cv_file_magic_test_file
=/lib
/libc.so
5506 lt_cv_deplibs_check_method
=pass_all
5509 lt_cv_deplibs_check_method
=pass_all
5514 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5515 lt_cv_deplibs_check_method
=pass_all
5520 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5521 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5522 file_magic_cmd
=$lt_cv_file_magic_cmd
5523 deplibs_check_method
=$lt_cv_deplibs_check_method
5524 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5529 # If no C compiler was specified, use CC.
5532 # If no C compiler flags were specified, use CFLAGS.
5533 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5535 # Allow CC to be a program name with arguments.
5538 # Check whether --enable-libtool-lock was given.
5539 if test "${enable_libtool_lock+set}" = set; then
5540 enableval
=$enable_libtool_lock;
5543 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5545 # Some flags need to be propagated to the compiler or linker for good
5549 # Find out which ABI we are using.
5550 echo 'int i;' > conftest.
$ac_ext
5551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5552 (eval $ac_compile) 2>&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); }; then
5556 case `/usr/bin/file conftest.$ac_objext` in
5568 # Find out which ABI we are using.
5569 echo '#line 5569 "configure"' > conftest.
$ac_ext
5570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5571 (eval $ac_compile) 2>&5
5573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574 (exit $ac_status); }; then
5575 if test "$lt_cv_prog_gnu_ld" = yes; then
5576 case `/usr/bin/file conftest.$ac_objext` in
5578 LD
="${LD-ld} -melf32bsmip"
5581 LD
="${LD-ld} -melf32bmipn32"
5584 LD
="${LD-ld} -melf64bmip"
5588 case `/usr/bin/file conftest.$ac_objext` in
5604 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5605 s390
*-*linux
*|sparc
*-*linux
*)
5606 # Find out which ABI we are using.
5607 echo 'int i;' > conftest.
$ac_ext
5608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5609 (eval $ac_compile) 2>&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); }; then
5613 case `/usr/bin/file conftest.o` in
5616 x86_64-
*kfreebsd
*-gnu)
5617 LD
="${LD-ld} -m elf_i386_fbsd"
5620 LD
="${LD-ld} -m elf_i386"
5622 ppc64-
*linux
*|powerpc64-
*linux
*)
5623 LD
="${LD-ld} -m elf32ppclinux"
5626 LD
="${LD-ld} -m elf_s390"
5629 LD
="${LD-ld} -m elf32_sparc"
5636 x86_64-
*kfreebsd
*-gnu)
5637 LD
="${LD-ld} -m elf_x86_64_fbsd"
5640 LD
="${LD-ld} -m elf_x86_64"
5642 ppc
*-*linux
*|powerpc
*-*linux
*)
5643 LD
="${LD-ld} -m elf64ppc"
5646 LD
="${LD-ld} -m elf64_s390"
5649 LD
="${LD-ld} -m elf64_sparc"
5659 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5660 SAVE_CFLAGS
="$CFLAGS"
5661 CFLAGS
="$CFLAGS -belf"
5662 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5663 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5664 if test "${lt_cv_cc_needs_belf+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5668 ac_cpp
='$CPP $CPPFLAGS'
5669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5673 cat >conftest.
$ac_ext <<_ACEOF
5676 cat confdefs.h
>>conftest.
$ac_ext
5677 cat >>conftest.
$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5688 rm -f conftest.
$ac_objext conftest
$ac_exeext
5689 if { (ac_try
="$ac_link"
5691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5692 *) ac_try_echo=$ac_try;;
5694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5695 (eval "$ac_link") 2>conftest.er1
5697 grep -v '^ *+' conftest.er1 >conftest.err
5699 cat conftest.err >&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); } && {
5702 test -z "$ac_c_werror_flag" ||
5703 test ! -s conftest.err
5704 } && test -s conftest$ac_exeext &&
5705 $as_test_x conftest$ac_exeext; then
5706 lt_cv_cc_needs_belf=yes
5708 echo "$as_me: failed program was:" >&5
5709 sed 's/^/| /' conftest.$ac_ext >&5
5711 lt_cv_cc_needs_belf=no
5714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5715 conftest$ac_exeext conftest.$ac_ext
5717 ac_cpp='$CPP $CPPFLAGS'
5718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5723 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5724 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5725 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5726 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5727 CFLAGS="$SAVE_CFLAGS"
5731 # Find out which ABI we are using.
5732 echo 'int i;' > conftest.$ac_ext
5733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5734 (eval $ac_compile) 2>&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); }; then
5738 case `/usr
/bin
/file conftest.o
` in
5740 case $lt_cv_prog_gnu_ld in
5741 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5742 *) LD="${LD-ld} -64" ;;
5753 need_locks="$enable_libtool_lock"
5757 for ac_header in dlfcn.h
5759 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5760 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5761 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 ac_res=`eval echo '${'$as_ac_Header'}'`
5767 { echo "$as_me:$LINENO: result: $ac_res" >&5
5768 echo "${ECHO_T}$ac_res" >&6; }
5770 # Is the header compilable?
5771 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5772 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5773 cat >conftest.$ac_ext <<_ACEOF
5776 cat confdefs.h >>conftest.$ac_ext
5777 cat >>conftest.$ac_ext <<_ACEOF
5778 /* end confdefs.h. */
5779 $ac_includes_default
5780 #include <$ac_header>
5782 rm -f conftest.$ac_objext
5783 if { (ac_try="$ac_compile"
5785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5786 *) ac_try_echo
=$ac_try;;
5788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5789 (eval "$ac_compile") 2>conftest.er1
5791 grep -v '^ *+' conftest.er1
>conftest.err
5793 cat conftest.err
>&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); } && {
5796 test -z "$ac_c_werror_flag" ||
5797 test ! -s conftest.err
5798 } && test -s conftest.
$ac_objext; then
5799 ac_header_compiler
=yes
5801 echo "$as_me: failed program was:" >&5
5802 sed 's/^/| /' conftest.
$ac_ext >&5
5804 ac_header_compiler
=no
5807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5808 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5809 echo "${ECHO_T}$ac_header_compiler" >&6; }
5811 # Is the header present?
5812 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5814 cat >conftest.
$ac_ext <<_ACEOF
5817 cat confdefs.h
>>conftest.
$ac_ext
5818 cat >>conftest.
$ac_ext <<_ACEOF
5819 /* end confdefs.h. */
5820 #include <$ac_header>
5822 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5825 *) ac_try_echo=$ac_try;;
5827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5828 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5830 grep -v '^ *+' conftest.er1 >conftest.err
5832 cat conftest.err >&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); } >/dev/null && {
5835 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5836 test ! -s conftest.err
5838 ac_header_preproc=yes
5840 echo "$as_me: failed program was:" >&5
5841 sed 's/^/| /' conftest.$ac_ext >&5
5843 ac_header_preproc=no
5846 rm -f conftest.err conftest.$ac_ext
5847 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5848 echo "${ECHO_T}$ac_header_preproc" >&6; }
5850 # So? What about this header?
5851 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5853 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5854 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5856 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5857 ac_header_preproc=yes
5860 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5861 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5862 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5863 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5864 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5865 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5866 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5867 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5869 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5870 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5871 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5873 ## -------------------------------------------------- ##
5874 ## Report this to courier-users@lists.sourceforge.net ##
5875 ## -------------------------------------------------- ##
5877 ) | sed "s/^/$as_me: WARNING: /" >&2
5880 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5883 echo $ECHO_N "(cached) $ECHO_C" >&6
5885 eval "$as_ac_Header=\$ac_header_preproc"
5887 ac_res=`eval echo '${'$as_ac_Header'}'`
5888 { echo "$as_me:$LINENO: result: $ac_res" >&5
5889 echo "${ECHO_T}$ac_res" >&6; }
5892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5893 cat >>confdefs.h <<_ACEOF
5894 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5903 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5904 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
5905 (test "X$CXX" != "Xg++"))) ; then
5907 ac_cpp='$CXXCPP $CPPFLAGS'
5908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5911 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5912 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5913 if test -z "$CXXCPP"; then
5914 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5917 # Double quotes because CXXCPP needs to be expanded
5918 for CXXCPP in "$CXX -E" "/lib/cpp"
5921 for ac_cxx_preproc_warn_flag in '' yes
5923 # Use a header file that comes with gcc, so configuring glibc
5924 # with a fresh cross-compiler works.
5925 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5926 # <limits.h> exists even on freestanding compilers.
5927 # On the NeXT, cc -E runs the code through the compiler's parser,
5928 # not just through cpp. "Syntax error" is here to catch this case.
5929 cat >conftest.$ac_ext <<_ACEOF
5932 cat confdefs.h >>conftest.$ac_ext
5933 cat >>conftest.$ac_ext <<_ACEOF
5934 /* end confdefs.h. */
5936 # include <limits.h>
5938 # include <assert.h>
5942 if { (ac_try="$ac_cpp conftest.$ac_ext"
5944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5945 *) ac_try_echo
=$ac_try;;
5947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5950 grep -v '^ *+' conftest.er1
>conftest.err
5952 cat conftest.err
>&5
5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954 (exit $ac_status); } >/dev
/null
&& {
5955 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5956 test ! -s conftest.err
5960 echo "$as_me: failed program was:" >&5
5961 sed 's/^/| /' conftest.
$ac_ext >&5
5963 # Broken: fails on valid input.
5967 rm -f conftest.err conftest.
$ac_ext
5969 # OK, works on sane cases. Now check whether nonexistent headers
5970 # can be detected and how.
5971 cat >conftest.
$ac_ext <<_ACEOF
5974 cat confdefs.h
>>conftest.
$ac_ext
5975 cat >>conftest.
$ac_ext <<_ACEOF
5976 /* end confdefs.h. */
5977 #include <ac_nonexistent.h>
5979 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5982 *) ac_try_echo=$ac_try;;
5984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5985 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5987 grep -v '^ *+' conftest.er1 >conftest.err
5989 cat conftest.err >&5
5990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5991 (exit $ac_status); } >/dev/null && {
5992 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5993 test ! -s conftest.err
5995 # Broken: success on invalid input.
5998 echo "$as_me: failed program was:" >&5
5999 sed 's/^/| /' conftest.$ac_ext >&5
6001 # Passes both tests.
6006 rm -f conftest.err conftest.$ac_ext
6009 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6010 rm -f conftest.err conftest.
$ac_ext
6011 if $ac_preproc_ok; then
6016 ac_cv_prog_CXXCPP
=$CXXCPP
6019 CXXCPP
=$ac_cv_prog_CXXCPP
6021 ac_cv_prog_CXXCPP
=$CXXCPP
6023 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6024 echo "${ECHO_T}$CXXCPP" >&6; }
6026 for ac_cxx_preproc_warn_flag
in '' yes
6028 # Use a header file that comes with gcc, so configuring glibc
6029 # with a fresh cross-compiler works.
6030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6031 # <limits.h> exists even on freestanding compilers.
6032 # On the NeXT, cc -E runs the code through the compiler's parser,
6033 # not just through cpp. "Syntax error" is here to catch this case.
6034 cat >conftest.
$ac_ext <<_ACEOF
6037 cat confdefs.h
>>conftest.
$ac_ext
6038 cat >>conftest.
$ac_ext <<_ACEOF
6039 /* end confdefs.h. */
6041 # include <limits.h>
6043 # include <assert.h>
6047 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6050 *) ac_try_echo=$ac_try;;
6052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6055 grep -v '^ *+' conftest.er1 >conftest.err
6057 cat conftest.err >&5
6058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059 (exit $ac_status); } >/dev/null && {
6060 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6061 test ! -s conftest.err
6065 echo "$as_me: failed program was:" >&5
6066 sed 's/^/| /' conftest.$ac_ext >&5
6068 # Broken: fails on valid input.
6072 rm -f conftest.err conftest.$ac_ext
6074 # OK, works on sane cases. Now check whether nonexistent headers
6075 # can be detected and how.
6076 cat >conftest.$ac_ext <<_ACEOF
6079 cat confdefs.h >>conftest.$ac_ext
6080 cat >>conftest.$ac_ext <<_ACEOF
6081 /* end confdefs.h. */
6082 #include <ac_nonexistent.h>
6084 if { (ac_try="$ac_cpp conftest.$ac_ext"
6086 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6087 *) ac_try_echo
=$ac_try;;
6089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6092 grep -v '^ *+' conftest.er1
>conftest.err
6094 cat conftest.err
>&5
6095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096 (exit $ac_status); } >/dev
/null
&& {
6097 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6098 test ! -s conftest.err
6100 # Broken: success on invalid input.
6103 echo "$as_me: failed program was:" >&5
6104 sed 's/^/| /' conftest.
$ac_ext >&5
6106 # Passes both tests.
6111 rm -f conftest.err conftest.
$ac_ext
6114 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6115 rm -f conftest.err conftest.
$ac_ext
6116 if $ac_preproc_ok; then
6119 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6120 See \`config.log' for more details." >&5
6121 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6122 See \`config.log' for more details." >&2;}
6123 { (exit 1); exit 1; }; }
6127 ac_cpp
='$CXXCPP $CPPFLAGS'
6128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6136 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6137 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6138 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6139 if test -n "$ac_tool_prefix"; then
6140 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
6142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6143 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6146 if test "${ac_cv_prog_F77+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 if test -n "$F77"; then
6150 ac_cv_prog_F77
="$F77" # Let the user override the test.
6152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6156 test -z "$as_dir" && as_dir
=.
6157 for ac_exec_ext
in '' $ac_executable_extensions; do
6158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6159 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 if test -n "$F77"; then
6171 { echo "$as_me:$LINENO: result: $F77" >&5
6172 echo "${ECHO_T}$F77" >&6; }
6174 { echo "$as_me:$LINENO: result: no" >&5
6175 echo "${ECHO_T}no" >&6; }
6179 test -n "$F77" && break
6182 if test -z "$F77"; then
6184 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
6186 # Extract the first word of "$ac_prog", so it can be a program name with args.
6187 set dummy
$ac_prog; ac_word
=$2
6188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6190 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6191 echo $ECHO_N "(cached) $ECHO_C" >&6
6193 if test -n "$ac_ct_F77"; then
6194 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6200 test -z "$as_dir" && as_dir
=.
6201 for ac_exec_ext
in '' $ac_executable_extensions; do
6202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6203 ac_cv_prog_ac_ct_F77
="$ac_prog"
6204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6214 if test -n "$ac_ct_F77"; then
6215 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6216 echo "${ECHO_T}$ac_ct_F77" >&6; }
6218 { echo "$as_me:$LINENO: result: no" >&5
6219 echo "${ECHO_T}no" >&6; }
6223 test -n "$ac_ct_F77" && break
6226 if test "x$ac_ct_F77" = x
; then
6229 case $cross_compiling:$ac_tool_warned in
6231 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6232 whose name does not start with the host triplet. If you think this
6233 configuration is useful to you, please write to autoconf@gnu.org." >&5
6234 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6235 whose name does not start with the host triplet. If you think this
6236 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6237 ac_tool_warned
=yes ;;
6244 # Provide some information about the compiler.
6245 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6246 ac_compiler
=`set X $ac_compile; echo $2`
6247 { (ac_try
="$ac_compiler --version >&5"
6249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6250 *) ac_try_echo=$ac_try;;
6252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6253 (eval "$ac_compiler --version >&5") 2>&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }
6257 { (ac_try="$ac_compiler -v >&5"
6259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6260 *) ac_try_echo
=$ac_try;;
6262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6263 (eval "$ac_compiler -v >&5") 2>&5
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); }
6267 { (ac_try
="$ac_compiler -V >&5"
6269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6270 *) ac_try_echo=$ac_try;;
6272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6273 (eval "$ac_compiler -V >&5") 2>&5
6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 (exit $ac_status); }
6279 # If we don't use `.F
' as extension, the preprocessor is not run on the
6280 # input file. (Note that this only needs to work for GNU compilers.)
6283 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6284 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6285 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6288 cat >conftest.$ac_ext <<_ACEOF
6296 rm -f conftest.$ac_objext
6297 if { (ac_try="$ac_compile"
6299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6300 *) ac_try_echo=$ac_try;;
6302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6303 (eval "$ac_compile") 2>conftest.er1
6305 grep -v '^
*+' conftest.er1 >conftest.err
6307 cat conftest.err >&5
6308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 (exit $ac_status); } && {
6310 test -z "$ac_f77_werror_flag" ||
6311 test ! -s conftest.err
6312 } && test -s conftest.$ac_objext; then
6315 echo "$as_me: failed program was:" >&5
6316 sed 's
/^
/|
/' conftest.$ac_ext >&5
6321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6322 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6325 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6326 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6328 ac_test_FFLAGS=${FFLAGS+set}
6329 ac_save_FFLAGS=$FFLAGS
6331 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6332 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6333 if test "${ac_cv_prog_f77_g+set}" = set; then
6334 echo $ECHO_N "(cached) $ECHO_C" >&6
6337 cat >conftest.$ac_ext <<_ACEOF
6342 rm -f conftest.$ac_objext
6343 if { (ac_try="$ac_compile"
6345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6346 *) ac_try_echo=$ac_try;;
6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6349 (eval "$ac_compile") 2>conftest.er1
6351 grep -v '^
*+' conftest.er1 >conftest.err
6353 cat conftest.err >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); } && {
6356 test -z "$ac_f77_werror_flag" ||
6357 test ! -s conftest.err
6358 } && test -s conftest.$ac_objext; then
6359 ac_cv_prog_f77_g=yes
6361 echo "$as_me: failed program was:" >&5
6362 sed 's
/^
/|
/' conftest.$ac_ext >&5
6367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6370 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6371 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6372 if test "$ac_test_FFLAGS" = set; then
6373 FFLAGS=$ac_save_FFLAGS
6374 elif test $ac_cv_prog_f77_g = yes; then
6375 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6381 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6388 G77=`test $ac_compiler_gnu = yes && echo yes`
6390 ac_cpp='$CPP $CPPFLAGS'
6391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6392 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6397 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6399 # find the maximum length of command line arguments
6400 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6401 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6402 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6403 echo $ECHO_N "(cached) $ECHO_C" >&6
6410 # On DJGPP, this test can blow up pretty badly due to problems in libc
6411 # (any single argument exceeding 2000 bytes causes a buffer overrun
6412 # during glob expansion). Even if it were fixed, the result of this
6413 # check would be larger than it should be.
6414 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6418 # Under GNU Hurd, this test is not required because there is
6419 # no limit to the length of command line arguments.
6420 # Libtool will interpret -1 as no limit whatsoever
6421 lt_cv_sys_max_cmd_len
=-1;
6425 # On Win9x/ME, this test blows up -- it succeeds, but takes
6426 # about 5 minutes as the teststring grows exponentially.
6427 # Worse, since 9x/ME are not pre-emptively multitasking,
6428 # you end up with a "frozen" computer, even though with patience
6429 # the test eventually succeeds (with a max line length of 256k).
6430 # Instead, let's just punt: use the minimum linelength reported by
6431 # all of the supported platforms: 8192 (on NT/2K/XP).
6432 lt_cv_sys_max_cmd_len
=8192;
6436 # On AmigaOS with pdksh, this test takes hours, literally.
6437 # So we just punt and use a minimum line length of 8192.
6438 lt_cv_sys_max_cmd_len
=8192;
6441 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6442 # This has been around since 386BSD, at least. Likely further.
6443 if test -x /sbin
/sysctl
; then
6444 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6445 elif test -x /usr
/sbin
/sysctl
; then
6446 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6448 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6450 # And add a safety zone
6451 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6452 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6456 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6457 lt_cv_sys_max_cmd_len
=196608
6461 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6462 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6463 # nice to cause kernel panics so lets avoid the loop below.
6464 # First set a reasonable default.
6465 lt_cv_sys_max_cmd_len
=16384
6467 if test -x /sbin
/sysconfig
; then
6468 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6469 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6474 lt_cv_sys_max_cmd_len
=102400
6476 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6477 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6478 if test -n "$kargmax"; then
6479 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6481 lt_cv_sys_max_cmd_len
=32768
6485 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6486 if test -n "$lt_cv_sys_max_cmd_len"; then
6487 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6488 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6490 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6491 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6492 = "XX$teststring") >/dev
/null
2>&1 &&
6493 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6494 lt_cv_sys_max_cmd_len
=$new_result &&
6495 test $i != 17 # 1/2 MB should be enough
6498 teststring
=$teststring$teststring
6501 # Add a significant safety factor because C++ compilers can tack on massive
6502 # amounts of additional arguments before passing them to the linker.
6503 # It appears as though 1/2 is a usable value.
6504 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6511 if test -n $lt_cv_sys_max_cmd_len ; then
6512 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6513 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6515 { echo "$as_me:$LINENO: result: none" >&5
6516 echo "${ECHO_T}none" >&6; }
6523 # Check for command to grab the raw symbol name followed by C symbol from nm.
6524 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6525 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6526 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6527 echo $ECHO_N "(cached) $ECHO_C" >&6
6530 # These are sane defaults that work on at least a few old systems.
6531 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6533 # Character class describing NM global symbol codes.
6534 symcode
='[BCDEGRST]'
6536 # Regexp to match symbols that can be accessed directly from C.
6537 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6539 # Transform an extracted symbol line into a proper C declaration
6540 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6542 # Transform an extracted symbol line into symbol name and symbol address
6543 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'"
6545 # Define system-specific variables.
6550 cygwin
* | mingw
* | pw32
*)
6551 symcode
='[ABCDGISTW]'
6553 hpux
*) # Its linker distinguishes data from code symbols
6554 if test "$host_cpu" = ia64
; then
6555 symcode
='[ABCDEGRST]'
6557 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6558 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'"
6560 linux
* | k
*bsd
*-gnu)
6561 if test "$host_cpu" = ia64
; then
6562 symcode
='[ABCDGIRSTW]'
6563 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6564 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'"
6568 symcode
='[BCDEGRST]'
6571 symcode
='[BCDEGQRST]'
6582 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6590 # Handle CRLF in mingw tool chain
6594 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6598 # If we're using GNU nm, then use its standard symbol codes.
6599 case `$NM -V 2>&1` in
6600 *GNU
* |
*'with BFD'*)
6601 symcode
='[ABCDGIRSTW]' ;;
6604 # Try without a prefix undercore, then with it.
6605 for ac_symprfx
in "" "_"; do
6607 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6608 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6610 # Write the raw and C identifiers.
6611 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6613 # Check to see that the pipe works correctly.
6617 cat > conftest.
$ac_ext <<EOF
6622 void nm_test_func(){}
6626 int main(){nm_test_var='a';nm_test_func();return(0);}
6629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6630 (eval $ac_compile) 2>&5
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); }; then
6634 # Now try to grab the symbols.
6636 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6637 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); } && test -s "$nlist"; then
6641 # Try sorting and uniquifying the output.
6642 if sort "$nlist" |
uniq > "$nlist"T
; then
6643 mv -f "$nlist"T
"$nlist"
6648 # Make sure that we snagged all the symbols we need.
6649 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6650 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6651 cat <<EOF > conftest.$ac_ext
6657 # Now generate the symbol file.
6658 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6660 cat <<EOF >> conftest.$ac_ext
6661 #if defined (__STDC__) && __STDC__
6662 # define lt_ptr_t void *
6664 # define lt_ptr_t char *
6668 /* The mapping between symbol names and symbols. */
6673 lt_preloaded_symbols[] =
6676 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6677 cat <<\EOF
>> conftest.
$ac_ext
6685 # Now try linking the two files.
6686 mv conftest.
$ac_objext conftstm.
$ac_objext
6687 lt_save_LIBS
="$LIBS"
6688 lt_save_CFLAGS
="$CFLAGS"
6689 LIBS
="conftstm.$ac_objext"
6690 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6692 (eval $ac_link) 2>&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6698 LIBS
="$lt_save_LIBS"
6699 CFLAGS
="$lt_save_CFLAGS"
6701 echo "cannot find nm_test_func in $nlist" >&5
6704 echo "cannot find nm_test_var in $nlist" >&5
6707 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6710 echo "$progname: failed program was:" >&5
6711 cat conftest.
$ac_ext >&5
6713 rm -f conftest
* conftst
*
6715 # Do not use the global_symbol_pipe unless it works.
6716 if test "$pipe_works" = yes; then
6719 lt_cv_sys_global_symbol_pipe
=
6725 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6726 lt_cv_sys_global_symbol_to_cdecl
=
6728 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6729 { echo "$as_me:$LINENO: result: failed" >&5
6730 echo "${ECHO_T}failed" >&6; }
6732 { echo "$as_me:$LINENO: result: ok" >&5
6733 echo "${ECHO_T}ok" >&6; }
6736 { echo "$as_me:$LINENO: checking for objdir" >&5
6737 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6738 if test "${lt_cv_objdir+set}" = set; then
6739 echo $ECHO_N "(cached) $ECHO_C" >&6
6741 rm -f .libs
2>/dev
/null
6742 mkdir .libs
2>/dev
/null
6743 if test -d .libs
; then
6746 # MS-DOS does not allow filenames that begin with a dot.
6749 rmdir .libs
2>/dev
/null
6751 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6752 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6753 objdir
=$lt_cv_objdir
6761 # AIX sometimes has problems with the GCC collect2 program. For some
6762 # reason, if we set the COLLECT_NAMES environment variable, the problems
6763 # vanish in a puff of smoke.
6764 if test "X${COLLECT_NAMES+set}" != Xset
; then
6766 export COLLECT_NAMES
6771 # Sed substitution that helps us do robust quoting. It backslashifies
6772 # metacharacters that are still active within double-quoted strings.
6773 Xsed
='sed -e 1s/^X//'
6774 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6776 # Same as above, but do not quote variable references.
6777 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6779 # Sed substitution to delay expansion of an escaped shell variable in a
6780 # double_quote_subst'ed string.
6781 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6783 # Sed substitution to avoid accidental globbing in evaled expressions
6784 no_glob_subst
='s/\*/\\\*/g'
6790 default_ofile
=libtool
6791 can_build_shared
=yes
6793 # All known linkers require a `.a' archive for static linking (except MSVC,
6794 # which needs '.lib').
6796 ltmain
="$ac_aux_dir/ltmain.sh"
6797 ofile
="$default_ofile"
6798 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6800 if test -n "$ac_tool_prefix"; then
6801 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6802 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6805 if test "${ac_cv_prog_AR+set}" = set; then
6806 echo $ECHO_N "(cached) $ECHO_C" >&6
6808 if test -n "$AR"; then
6809 ac_cv_prog_AR
="$AR" # Let the user override the test.
6811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6815 test -z "$as_dir" && as_dir
=.
6816 for ac_exec_ext
in '' $ac_executable_extensions; do
6817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6818 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6829 if test -n "$AR"; then
6830 { echo "$as_me:$LINENO: result: $AR" >&5
6831 echo "${ECHO_T}$AR" >&6; }
6833 { echo "$as_me:$LINENO: result: no" >&5
6834 echo "${ECHO_T}no" >&6; }
6839 if test -z "$ac_cv_prog_AR"; then
6841 # Extract the first word of "ar", so it can be a program name with args.
6842 set dummy
ar; ac_word
=$2
6843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6845 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6846 echo $ECHO_N "(cached) $ECHO_C" >&6
6848 if test -n "$ac_ct_AR"; then
6849 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6855 test -z "$as_dir" && as_dir
=.
6856 for ac_exec_ext
in '' $ac_executable_extensions; do
6857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6858 ac_cv_prog_ac_ct_AR
="ar"
6859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6868 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6869 if test -n "$ac_ct_AR"; then
6870 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6871 echo "${ECHO_T}$ac_ct_AR" >&6; }
6873 { echo "$as_me:$LINENO: result: no" >&5
6874 echo "${ECHO_T}no" >&6; }
6877 if test "x$ac_ct_AR" = x
; then
6880 case $cross_compiling:$ac_tool_warned in
6882 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6883 whose name does not start with the host triplet. If you think this
6884 configuration is useful to you, please write to autoconf@gnu.org." >&5
6885 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6886 whose name does not start with the host triplet. If you think this
6887 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6888 ac_tool_warned
=yes ;;
6896 if test -n "$ac_tool_prefix"; then
6897 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6898 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6901 if test "${ac_cv_prog_RANLIB+set}" = set; then
6902 echo $ECHO_N "(cached) $ECHO_C" >&6
6904 if test -n "$RANLIB"; then
6905 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6911 test -z "$as_dir" && as_dir
=.
6912 for ac_exec_ext
in '' $ac_executable_extensions; do
6913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6914 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6924 RANLIB
=$ac_cv_prog_RANLIB
6925 if test -n "$RANLIB"; then
6926 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6927 echo "${ECHO_T}$RANLIB" >&6; }
6929 { echo "$as_me:$LINENO: result: no" >&5
6930 echo "${ECHO_T}no" >&6; }
6935 if test -z "$ac_cv_prog_RANLIB"; then
6936 ac_ct_RANLIB
=$RANLIB
6937 # Extract the first word of "ranlib", so it can be a program name with args.
6938 set dummy ranlib
; ac_word
=$2
6939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6941 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 if test -n "$ac_ct_RANLIB"; then
6945 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6951 test -z "$as_dir" && as_dir
=.
6952 for ac_exec_ext
in '' $ac_executable_extensions; do
6953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6954 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6964 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6965 if test -n "$ac_ct_RANLIB"; then
6966 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6967 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6969 { echo "$as_me:$LINENO: result: no" >&5
6970 echo "${ECHO_T}no" >&6; }
6973 if test "x$ac_ct_RANLIB" = x
; then
6976 case $cross_compiling:$ac_tool_warned in
6978 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6979 whose name does not start with the host triplet. If you think this
6980 configuration is useful to you, please write to autoconf@gnu.org." >&5
6981 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6982 whose name does not start with the host triplet. If you think this
6983 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6984 ac_tool_warned
=yes ;;
6986 RANLIB
=$ac_ct_RANLIB
6989 RANLIB
="$ac_cv_prog_RANLIB"
6992 if test -n "$ac_tool_prefix"; then
6993 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6994 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6997 if test "${ac_cv_prog_STRIP+set}" = set; then
6998 echo $ECHO_N "(cached) $ECHO_C" >&6
7000 if test -n "$STRIP"; then
7001 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7007 test -z "$as_dir" && as_dir
=.
7008 for ac_exec_ext
in '' $ac_executable_extensions; do
7009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7010 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7020 STRIP
=$ac_cv_prog_STRIP
7021 if test -n "$STRIP"; then
7022 { echo "$as_me:$LINENO: result: $STRIP" >&5
7023 echo "${ECHO_T}$STRIP" >&6; }
7025 { echo "$as_me:$LINENO: result: no" >&5
7026 echo "${ECHO_T}no" >&6; }
7031 if test -z "$ac_cv_prog_STRIP"; then
7033 # Extract the first word of "strip", so it can be a program name with args.
7034 set dummy strip
; ac_word
=$2
7035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7037 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7038 echo $ECHO_N "(cached) $ECHO_C" >&6
7040 if test -n "$ac_ct_STRIP"; then
7041 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir
=.
7048 for ac_exec_ext
in '' $ac_executable_extensions; do
7049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7050 ac_cv_prog_ac_ct_STRIP
="strip"
7051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7060 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7061 if test -n "$ac_ct_STRIP"; then
7062 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7063 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7065 { echo "$as_me:$LINENO: result: no" >&5
7066 echo "${ECHO_T}no" >&6; }
7069 if test "x$ac_ct_STRIP" = x
; then
7072 case $cross_compiling:$ac_tool_warned in
7074 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7075 whose name does not start with the host triplet. If you think this
7076 configuration is useful to you, please write to autoconf@gnu.org." >&5
7077 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7078 whose name does not start with the host triplet. If you think this
7079 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7080 ac_tool_warned
=yes ;;
7085 STRIP
="$ac_cv_prog_STRIP"
7090 old_CFLAGS
="$CFLAGS"
7092 # Set sane defaults for various variables
7093 test -z "$AR" && AR
=ar
7094 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7095 test -z "$AS" && AS
=as
7096 test -z "$CC" && CC
=cc
7097 test -z "$LTCC" && LTCC
=$CC
7098 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7099 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7100 test -z "$LD" && LD
=ld
7101 test -z "$LN_S" && LN_S
="ln -s"
7102 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7103 test -z "$NM" && NM
=nm
7104 test -z "$SED" && SED
=sed
7105 test -z "$OBJDUMP" && OBJDUMP
=objdump
7106 test -z "$RANLIB" && RANLIB
=:
7107 test -z "$STRIP" && STRIP
=:
7108 test -z "$ac_objext" && ac_objext
=o
7110 # Determine commands to create old-style static archives.
7111 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7112 old_postinstall_cmds
='chmod 644 $oldlib'
7113 old_postuninstall_cmds
=
7115 if test -n "$RANLIB"; then
7118 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7121 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7124 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7127 for cc_temp
in $compiler""; do
7129 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7130 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7135 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7138 # Only perform the check for file, if the check method requires it
7139 case $deplibs_check_method in
7141 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7142 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7143 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7144 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7145 echo $ECHO_N "(cached) $ECHO_C" >&6
7149 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7152 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7153 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7154 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7155 for ac_dir
in $ac_dummy; do
7157 test -z "$ac_dir" && ac_dir
=.
7158 if test -f $ac_dir/${ac_tool_prefix}file; then
7159 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7160 if test -n "$file_magic_test_file"; then
7161 case $deplibs_check_method in
7163 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7164 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7165 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7166 $EGREP "$file_magic_regex" > /dev
/null
; then
7171 *** Warning: the command libtool uses to detect shared libraries,
7172 *** $file_magic_cmd, produces output that libtool cannot recognize.
7173 *** The result is that libtool may fail to recognize shared libraries
7174 *** as such. This will affect the creation of libtool libraries that
7175 *** depend on shared libraries, but programs linked with such libtool
7176 *** libraries will work regardless of this problem. Nevertheless, you
7177 *** may want to report the problem to your system manager and/or to
7178 *** bug-libtool@gnu.org
7188 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7193 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7194 if test -n "$MAGIC_CMD"; then
7195 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7196 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7198 { echo "$as_me:$LINENO: result: no" >&5
7199 echo "${ECHO_T}no" >&6; }
7202 if test -z "$lt_cv_path_MAGIC_CMD"; then
7203 if test -n "$ac_tool_prefix"; then
7204 { echo "$as_me:$LINENO: checking for file" >&5
7205 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7206 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7211 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7214 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7215 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7216 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7217 for ac_dir
in $ac_dummy; do
7219 test -z "$ac_dir" && ac_dir
=.
7220 if test -f $ac_dir/file; then
7221 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7222 if test -n "$file_magic_test_file"; then
7223 case $deplibs_check_method in
7225 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7226 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7227 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7228 $EGREP "$file_magic_regex" > /dev
/null
; then
7233 *** Warning: the command libtool uses to detect shared libraries,
7234 *** $file_magic_cmd, produces output that libtool cannot recognize.
7235 *** The result is that libtool may fail to recognize shared libraries
7236 *** as such. This will affect the creation of libtool libraries that
7237 *** depend on shared libraries, but programs linked with such libtool
7238 *** libraries will work regardless of this problem. Nevertheless, you
7239 *** may want to report the problem to your system manager and/or to
7240 *** bug-libtool@gnu.org
7250 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7255 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7256 if test -n "$MAGIC_CMD"; then
7257 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7258 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7260 { echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6; }
7276 # Check whether --enable-libtool-lock was given.
7277 if test "${enable_libtool_lock+set}" = set; then
7278 enableval
=$enable_libtool_lock;
7281 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7284 # Check whether --with-pic was given.
7285 if test "${with_pic+set}" = set; then
7286 withval
=$with_pic; pic_mode
="$withval"
7291 test -z "$pic_mode" && pic_mode
=default
7293 # Use C for the default configuration in the libtool script
7297 ac_cpp
='$CPP $CPPFLAGS'
7298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7303 # Source file extension for C test sources.
7306 # Object file extension for compiled C test sources.
7310 # Code to be used in simple compile tests
7311 lt_simple_compile_test_code
="int some_variable = 0;"
7313 # Code to be used in simple link tests
7314 lt_simple_link_test_code
='int main(){return(0);}'
7317 # If no C compiler was specified, use CC.
7320 # If no C compiler flags were specified, use CFLAGS.
7321 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7323 # Allow CC to be a program name with arguments.
7327 # save warnings/boilerplate of simple test code
7328 ac_outfile
=conftest.
$ac_objext
7329 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7330 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7331 _lt_compiler_boilerplate
=`cat conftest.err`
7334 ac_outfile
=conftest.
$ac_objext
7335 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7336 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7337 _lt_linker_boilerplate
=`cat conftest.err`
7342 lt_prog_compiler_no_builtin_flag
=
7344 if test "$GCC" = yes; then
7345 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7348 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7349 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7350 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7351 echo $ECHO_N "(cached) $ECHO_C" >&6
7353 lt_cv_prog_compiler_rtti_exceptions
=no
7354 ac_outfile
=conftest.
$ac_objext
7355 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7356 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7357 # Insert the option either (1) after the last *FLAGS variable, or
7358 # (2) before a word containing "conftest.", or (3) at the end.
7359 # Note that $ac_compile itself does not contain backslashes and begins
7360 # with a dollar sign (not a hyphen), so the echo should work correctly.
7361 # The option is referenced via a variable to avoid confusing sed.
7362 lt_compile
=`echo "$ac_compile" | $SED \
7363 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7364 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7365 -e 's:$: $lt_compiler_flag:'`
7366 (eval echo "\"\$as_me:7366: $lt_compile\"" >&5)
7367 (eval "$lt_compile" 2>conftest.err
)
7369 cat conftest.err
>&5
7370 echo "$as_me:7370: \$? = $ac_status" >&5
7371 if (exit $ac_status) && test -s "$ac_outfile"; then
7372 # The compiler can only warn and ignore the option if not recognized
7373 # So say no if there are warnings other than the usual output.
7374 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7375 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7376 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7377 lt_cv_prog_compiler_rtti_exceptions
=yes
7383 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7384 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7386 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7387 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7394 lt_prog_compiler_wl
=
7395 lt_prog_compiler_pic
=
7396 lt_prog_compiler_static
=
7398 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7399 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7401 if test "$GCC" = yes; then
7402 lt_prog_compiler_wl
='-Wl,'
7403 lt_prog_compiler_static
='-static'
7407 # All AIX code is PIC.
7408 if test "$host_cpu" = ia64
; then
7409 # AIX 5 now supports IA64 processor
7410 lt_prog_compiler_static
='-Bstatic'
7415 # FIXME: we need at least 68020 code to build shared libraries, but
7416 # adding the `-m68020' flag to GCC prevents building anything better,
7418 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7421 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7422 # PIC is the default for these OSes.
7425 mingw
* | cygwin
* | pw32
* | os2
*)
7426 # This hack is so that the source file can tell whether it is being
7427 # built for inclusion in a dll (and should export symbols for example).
7428 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7429 # (--disable-auto-import) libraries
7430 lt_prog_compiler_pic
='-DDLL_EXPORT'
7433 darwin
* | rhapsody
*)
7434 # PIC is the default on this platform
7435 # Common symbols not allowed in MH_DYLIB files
7436 lt_prog_compiler_pic
='-fno-common'
7440 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7441 # Instead, we relocate shared libraries at runtime.
7445 # Just because we use GCC doesn't mean we suddenly get shared libraries
7446 # on systems that don't support them.
7447 lt_prog_compiler_can_build_shared
=no
7452 if test -d /usr
/nec
; then
7453 lt_prog_compiler_pic
=-Kconform_pic
7458 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7465 lt_prog_compiler_pic
='-fPIC'
7471 lt_prog_compiler_pic
='-fPIC'
7475 # PORTME Check for flag to pass linker flags through the system compiler.
7478 lt_prog_compiler_wl
='-Wl,'
7479 if test "$host_cpu" = ia64
; then
7480 # AIX 5 now supports IA64 processor
7481 lt_prog_compiler_static
='-Bstatic'
7483 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7487 # PIC is the default on this platform
7488 # Common symbols not allowed in MH_DYLIB files
7489 case $cc_basename in
7491 lt_prog_compiler_pic
='-qnocommon'
7492 lt_prog_compiler_wl
='-Wl,'
7497 mingw
* | cygwin
* | pw32
* | os2
*)
7498 # This hack is so that the source file can tell whether it is being
7499 # built for inclusion in a dll (and should export symbols for example).
7500 lt_prog_compiler_pic
='-DDLL_EXPORT'
7503 hpux9
* | hpux10
* | hpux11
*)
7504 lt_prog_compiler_wl
='-Wl,'
7505 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7512 lt_prog_compiler_pic
='+Z'
7515 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7516 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7519 irix5
* | irix6
* | nonstopux
*)
7520 lt_prog_compiler_wl
='-Wl,'
7521 # PIC (with -KPIC) is the default.
7522 lt_prog_compiler_static
='-non_shared'
7526 lt_prog_compiler_pic
='-KPIC'
7527 lt_prog_compiler_static
='-Bstatic'
7530 linux
* | k
*bsd
*-gnu)
7531 case $cc_basename in
7533 lt_prog_compiler_wl
='-Wl,'
7534 lt_prog_compiler_pic
='-KPIC'
7535 lt_prog_compiler_static
='-static'
7537 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7538 # Portland Group compilers (*not* the Pentium gcc compiler,
7539 # which looks to be a dead project)
7540 lt_prog_compiler_wl
='-Wl,'
7541 lt_prog_compiler_pic
='-fpic'
7542 lt_prog_compiler_static
='-Bstatic'
7545 lt_prog_compiler_wl
='-Wl,'
7546 # All Alpha code is PIC.
7547 lt_prog_compiler_static
='-non_shared'
7550 case `$CC -V 2>&1 | sed 5q` in
7553 lt_prog_compiler_pic
='-KPIC'
7554 lt_prog_compiler_static
='-Bstatic'
7555 lt_prog_compiler_wl
='-Wl,'
7558 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7559 lt_prog_compiler_pic
='-KPIC'
7560 lt_prog_compiler_static
='-Bstatic'
7561 lt_prog_compiler_wl
=''
7568 osf3
* | osf4
* | osf5
*)
7569 lt_prog_compiler_wl
='-Wl,'
7570 # All OSF/1 code is PIC.
7571 lt_prog_compiler_static
='-non_shared'
7575 lt_prog_compiler_static
='-non_shared'
7579 lt_prog_compiler_pic
='-KPIC'
7580 lt_prog_compiler_static
='-Bstatic'
7581 case $cc_basename in
7583 lt_prog_compiler_wl
='-Qoption ld ';;
7585 lt_prog_compiler_wl
='-Wl,';;
7590 lt_prog_compiler_wl
='-Qoption ld '
7591 lt_prog_compiler_pic
='-PIC'
7592 lt_prog_compiler_static
='-Bstatic'
7595 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7596 lt_prog_compiler_wl
='-Wl,'
7597 lt_prog_compiler_pic
='-KPIC'
7598 lt_prog_compiler_static
='-Bstatic'
7602 if test -d /usr
/nec
;then
7603 lt_prog_compiler_pic
='-Kconform_pic'
7604 lt_prog_compiler_static
='-Bstatic'
7608 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7609 lt_prog_compiler_wl
='-Wl,'
7610 lt_prog_compiler_pic
='-KPIC'
7611 lt_prog_compiler_static
='-Bstatic'
7615 lt_prog_compiler_wl
='-Wl,'
7616 lt_prog_compiler_can_build_shared
=no
7620 lt_prog_compiler_pic
='-pic'
7621 lt_prog_compiler_static
='-Bstatic'
7625 lt_prog_compiler_can_build_shared
=no
7630 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7631 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7634 # Check to make sure the PIC flag actually works.
7636 if test -n "$lt_prog_compiler_pic"; then
7638 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7639 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7640 if test "${lt_prog_compiler_pic_works+set}" = set; then
7641 echo $ECHO_N "(cached) $ECHO_C" >&6
7643 lt_prog_compiler_pic_works
=no
7644 ac_outfile
=conftest.
$ac_objext
7645 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7646 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7647 # Insert the option either (1) after the last *FLAGS variable, or
7648 # (2) before a word containing "conftest.", or (3) at the end.
7649 # Note that $ac_compile itself does not contain backslashes and begins
7650 # with a dollar sign (not a hyphen), so the echo should work correctly.
7651 # The option is referenced via a variable to avoid confusing sed.
7652 lt_compile
=`echo "$ac_compile" | $SED \
7653 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7654 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7655 -e 's:$: $lt_compiler_flag:'`
7656 (eval echo "\"\$as_me:7656: $lt_compile\"" >&5)
7657 (eval "$lt_compile" 2>conftest.err
)
7659 cat conftest.err
>&5
7660 echo "$as_me:7660: \$? = $ac_status" >&5
7661 if (exit $ac_status) && test -s "$ac_outfile"; then
7662 # The compiler can only warn and ignore the option if not recognized
7663 # So say no if there are warnings other than the usual output.
7664 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7665 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7666 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7667 lt_prog_compiler_pic_works
=yes
7673 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7674 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7676 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7677 case $lt_prog_compiler_pic in
7679 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7682 lt_prog_compiler_pic
=
7683 lt_prog_compiler_can_build_shared
=no
7688 # For platforms which do not support PIC, -DPIC is meaningless:
7690 lt_prog_compiler_pic
=
7693 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7698 # Check to make sure the static flag actually works.
7700 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7701 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7702 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7703 if test "${lt_prog_compiler_static_works+set}" = set; then
7704 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 lt_prog_compiler_static_works
=no
7707 save_LDFLAGS
="$LDFLAGS"
7708 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7709 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7710 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7711 # The linker can only warn and ignore the option if not recognized
7712 # So say no if there are warnings
7713 if test -s conftest.err
; then
7714 # Append any errors to the config.log.
7715 cat conftest.err
1>&5
7716 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7717 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7718 if diff conftest.exp conftest.er2
>/dev
/null
; then
7719 lt_prog_compiler_static_works
=yes
7722 lt_prog_compiler_static_works
=yes
7726 LDFLAGS
="$save_LDFLAGS"
7729 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7730 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7732 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7735 lt_prog_compiler_static
=
7739 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7740 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7741 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7742 echo $ECHO_N "(cached) $ECHO_C" >&6
7744 lt_cv_prog_compiler_c_o
=no
7745 $rm -r conftest
2>/dev
/null
7749 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7751 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7752 # Insert the option either (1) after the last *FLAGS variable, or
7753 # (2) before a word containing "conftest.", or (3) at the end.
7754 # Note that $ac_compile itself does not contain backslashes and begins
7755 # with a dollar sign (not a hyphen), so the echo should work correctly.
7756 lt_compile
=`echo "$ac_compile" | $SED \
7757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7759 -e 's:$: $lt_compiler_flag:'`
7760 (eval echo "\"\$as_me:7760: $lt_compile\"" >&5)
7761 (eval "$lt_compile" 2>out
/conftest.err
)
7763 cat out
/conftest.err
>&5
7764 echo "$as_me:7764: \$? = $ac_status" >&5
7765 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7767 # The compiler can only warn and ignore the option if not recognized
7768 # So say no if there are warnings
7769 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7770 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7771 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7772 lt_cv_prog_compiler_c_o
=yes
7777 # SGI C++ compiler will create directory out/ii_files/ for
7778 # template instantiation
7779 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7780 $rm out
/* && rmdir out
7786 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7787 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7790 hard_links
="nottested"
7791 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7792 # do not overwrite the value of need_locks provided by the user
7793 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7794 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7797 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7799 ln conftest.a conftest.b
2>&5 || hard_links
=no
7800 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7801 { echo "$as_me:$LINENO: result: $hard_links" >&5
7802 echo "${ECHO_T}$hard_links" >&6; }
7803 if test "$hard_links" = no
; then
7804 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7805 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7812 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7813 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7816 allow_undefined_flag
=
7817 enable_shared_with_static_runtimes
=no
7819 archive_expsym_cmds
=
7820 old_archive_From_new_cmds
=
7821 old_archive_from_expsyms_cmds
=
7822 export_dynamic_flag_spec
=
7823 whole_archive_flag_spec
=
7824 thread_safe_flag_spec
=
7825 hardcode_libdir_flag_spec
=
7826 hardcode_libdir_flag_spec_ld
=
7827 hardcode_libdir_separator
=
7830 hardcode_shlibpath_var
=unsupported
7831 link_all_deplibs
=unknown
7832 hardcode_automatic
=no
7835 always_export_symbols
=no
7836 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7837 # include_expsyms should be a list of space-separated symbols to be *always*
7838 # included in the symbol list
7840 # exclude_expsyms can be an extended regexp of symbols to exclude
7841 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7842 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7843 # as well as any symbol that contains `d'.
7844 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7845 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7846 # platforms (ab)use it in PIC code, but their linkers get confused if
7847 # the symbol is explicitly referenced. Since portable code cannot
7848 # rely on this symbol name, it's probably fine to never include it in
7849 # preloaded symbol tables.
7850 extract_expsyms_cmds
=
7851 # Just being paranoid about ensuring that cc_basename is set.
7852 for cc_temp
in $compiler""; do
7854 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7855 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7860 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7863 cygwin
* | mingw
* | pw32
*)
7864 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7865 # When not using gcc, we currently assume that we are using
7866 # Microsoft Visual C++.
7867 if test "$GCC" != yes; then
7872 # we just hope/assume this is gcc and not c89 (= MSVC++)
7881 if test "$with_gnu_ld" = yes; then
7882 # If archive_cmds runs LD, not CC, wlarc should be empty
7885 # Set some defaults for GNU ld with shared library support. These
7886 # are reset later if shared libraries are not supported. Putting them
7887 # here allows them to be overridden if necessary.
7888 runpath_var
=LD_RUN_PATH
7889 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7890 export_dynamic_flag_spec
='${wl}--export-dynamic'
7891 # ancient GNU ld didn't support --whole-archive et. al.
7892 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7893 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7895 whole_archive_flag_spec
=
7897 supports_anon_versioning
=no
7898 case `$LD -v 2>/dev/null` in
7899 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7900 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7901 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7902 *\
2.11.
*) ;; # other 2.11 versions
7903 *) supports_anon_versioning
=yes ;;
7906 # See if GNU ld supports shared libraries.
7908 aix3
* | aix4
* | aix5
*)
7909 # On AIX/PPC, the GNU linker is very broken
7910 if test "$host_cpu" != ia64
; then
7914 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7915 *** to be unable to reliably create shared libraries on AIX.
7916 *** Therefore, libtool is disabling shared libraries support. If you
7917 *** really care for shared libraries, you may want to modify your PATH
7918 *** so that a non-GNU linker is found, and then restart.
7925 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)'
7926 hardcode_libdir_flag_spec
='-L$libdir'
7927 hardcode_minus_L
=yes
7929 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7930 # that the semantics of dynamic libraries on AmigaOS, at least up
7931 # to version 4, is to share data among multiple programs linked
7932 # with the same dynamic library. Since this doesn't match the
7933 # behavior of shared libraries on other platforms, we can't use
7939 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7940 allow_undefined_flag
=unsupported
7941 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7942 # support --undefined. This deserves some investigation. FIXME
7943 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7949 cygwin
* | mingw
* | pw32
*)
7950 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7951 # as there is no search path for DLLs.
7952 hardcode_libdir_flag_spec
='-L$libdir'
7953 allow_undefined_flag
=unsupported
7954 always_export_symbols
=no
7955 enable_shared_with_static_runtimes
=yes
7956 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7958 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7959 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7960 # If the export-symbols file already is a .def file (1st line
7961 # is EXPORTS), use it as is; otherwise, prepend...
7962 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7963 cp $export_symbols $output_objdir/$soname.def;
7965 echo EXPORTS > $output_objdir/$soname.def;
7966 cat $export_symbols >> $output_objdir/$soname.def;
7968 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7976 hardcode_shlibpath_var
=no
7977 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7978 export_dynamic_flag_spec
='${wl}-E'
7979 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7980 # Instead, shared libraries are loaded at an image base (0x10000000 by
7981 # default) and relocated if they conflict, which is a slow very memory
7982 # consuming and fragmenting process. To avoid this, we pick a random,
7983 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7984 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7985 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7986 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'
7989 gnu
* | linux
* | k
*bsd
*-gnu)
7990 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7992 case $cc_basename,$host_cpu in
7993 pgcc
*) # Portland Group C compiler
7994 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'
7995 tmp_addflag
=' $pic_flag'
7997 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7998 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'
7999 tmp_addflag
=' $pic_flag -Mnomain' ;;
8000 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8001 tmp_addflag
=' -i_dynamic' ;;
8002 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8003 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8004 ifc
* | ifort
*) # Intel Fortran compiler
8005 tmp_addflag
=' -nofor_main' ;;
8007 case `$CC -V 2>&1 | sed 5q` in
8008 *Sun\ C
*) # Sun C 5.9
8009 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'
8010 tmp_sharedflag
='-G' ;;
8011 *Sun\ F
*) # Sun Fortran 8.3
8012 tmp_sharedflag
='-G' ;;
8014 tmp_sharedflag
='-shared' ;;
8016 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8018 if test $supports_anon_versioning = yes; then
8019 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8020 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8021 $echo "local: *; };" >> $output_objdir/$libname.ver~
8022 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8030 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8031 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8034 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8035 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8040 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8044 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8045 *** create shared libraries on Solaris systems. Therefore, libtool
8046 *** is disabling shared libraries support. We urge you to upgrade GNU
8047 *** binutils to release 2.9.1 or newer. Another option is to modify
8048 *** your PATH or compiler configuration so that the native linker is
8049 *** used, and then restart.
8052 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8053 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8054 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8060 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8061 case `$LD -v 2>&1` in
8062 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8066 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8067 *** reliably create shared libraries on SCO systems. Therefore, libtool
8068 *** is disabling shared libraries support. We urge you to upgrade GNU
8069 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8070 *** your PATH or compiler configuration so that the native linker is
8071 *** used, and then restart.
8076 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8077 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8078 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8079 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8088 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8091 hardcode_shlibpath_var
=no
8095 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8096 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8097 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8104 if test "$ld_shlibs" = no
; then
8106 hardcode_libdir_flag_spec
=
8107 export_dynamic_flag_spec
=
8108 whole_archive_flag_spec
=
8111 # PORTME fill in a description of your system's linker (not GNU ld)
8114 allow_undefined_flag
=unsupported
8115 always_export_symbols
=yes
8116 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'
8117 # Note: this linker hardcodes the directories in LIBPATH if there
8118 # are no directories specified by -L.
8119 hardcode_minus_L
=yes
8120 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8121 # Neither direct hardcoding nor static linking is supported with a
8123 hardcode_direct
=unsupported
8128 if test "$host_cpu" = ia64
; then
8129 # On IA64, the linker does run time linking by default, so we don't
8130 # have to do anything special.
8131 aix_use_runtimelinking
=no
8132 exp_sym_flag
='-Bexport'
8135 # If we're using GNU nm, then we don't want the "-C" option.
8136 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8137 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8138 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'
8140 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'
8142 aix_use_runtimelinking
=no
8144 # Test if we are trying to use run time linking or normal
8145 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8146 # need to do runtime linking.
8147 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8148 for ld_flag
in $LDFLAGS; do
8149 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8150 aix_use_runtimelinking
=yes
8157 exp_sym_flag
='-bexport'
8158 no_entry_flag
='-bnoentry'
8161 # When large executables or shared objects are built, AIX ld can
8162 # have problems creating the table of contents. If linking a library
8163 # or program results in "error TOC overflow" add -mminimal-toc to
8164 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8165 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8169 hardcode_libdir_separator
=':'
8170 link_all_deplibs
=yes
8172 if test "$GCC" = yes; then
8173 case $host_os in aix4.
[012]|aix4.
[012].
*)
8174 # We only want to do this on AIX 4.2 and lower, the check
8175 # below for broken collect2 doesn't work under 4.3+
8176 collect2name
=`${CC} -print-prog-name=collect2`
8177 if test -f "$collect2name" && \
8178 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8180 # We have reworked collect2
8183 # We have old collect2
8184 hardcode_direct
=unsupported
8185 # It fails to find uninstalled libraries when the uninstalled
8186 # path is not listed in the libpath. Setting hardcode_minus_L
8187 # to unsupported forces relinking
8188 hardcode_minus_L
=yes
8189 hardcode_libdir_flag_spec
='-L$libdir'
8190 hardcode_libdir_separator
=
8194 shared_flag
='-shared'
8195 if test "$aix_use_runtimelinking" = yes; then
8196 shared_flag
="$shared_flag "'${wl}-G'
8200 if test "$host_cpu" = ia64
; then
8201 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8202 # chokes on -Wl,-G. The following line is correct:
8205 if test "$aix_use_runtimelinking" = yes; then
8206 shared_flag
='${wl}-G'
8208 shared_flag
='${wl}-bM:SRE'
8213 # It seems that -bexpall does not export symbols beginning with
8214 # underscore (_), so it is better to generate a list of symbols to export.
8215 always_export_symbols
=yes
8216 if test "$aix_use_runtimelinking" = yes; then
8217 # Warning - without using the other runtime loading flags (-brtl),
8218 # -berok will link without error, but may produce a broken library.
8219 allow_undefined_flag
='-berok'
8220 # Determine the default libpath from the value encoded in an empty executable.
8221 cat >conftest.
$ac_ext <<_ACEOF
8224 cat confdefs.h
>>conftest.
$ac_ext
8225 cat >>conftest.
$ac_ext <<_ACEOF
8226 /* end confdefs.h. */
8236 rm -f conftest.
$ac_objext conftest
$ac_exeext
8237 if { (ac_try
="$ac_link"
8239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8240 *) ac_try_echo=$ac_try;;
8242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8243 (eval "$ac_link") 2>conftest.er1
8245 grep -v '^ *+' conftest.er1 >conftest.err
8247 cat conftest.err >&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); } && {
8250 test -z "$ac_c_werror_flag" ||
8251 test ! -s conftest.err
8252 } && test -s conftest$ac_exeext &&
8253 $as_test_x conftest$ac_exeext; then
8255 lt_aix_libpath_sed='
8256 /Import File Strings/,/^$/ {
8262 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8263 # Check for a 64-bit object if we didn't find anything.
8264 if test -z "$aix_libpath"; then
8265 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8268 echo "$as_me: failed program was:" >&5
8269 sed 's/^/| /' conftest.$ac_ext >&5
8274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8275 conftest$ac_exeext conftest.$ac_ext
8276 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8278 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8279 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"
8281 if test "$host_cpu" = ia64; then
8282 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8283 allow_undefined_flag="-z nodefs"
8284 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"
8286 # Determine the default libpath from the value encoded in an empty executable.
8287 cat >conftest.$ac_ext <<_ACEOF
8290 cat confdefs.h >>conftest.$ac_ext
8291 cat >>conftest.$ac_ext <<_ACEOF
8292 /* end confdefs.h. */
8302 rm -f conftest.$ac_objext conftest$ac_exeext
8303 if { (ac_try="$ac_link"
8305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8306 *) ac_try_echo
=$ac_try;;
8308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8309 (eval "$ac_link") 2>conftest.er1
8311 grep -v '^ *+' conftest.er1
>conftest.err
8313 cat conftest.err
>&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } && {
8316 test -z "$ac_c_werror_flag" ||
8317 test ! -s conftest.err
8318 } && test -s conftest
$ac_exeext &&
8319 $as_test_x conftest
$ac_exeext; then
8321 lt_aix_libpath_sed
='
8322 /Import File Strings/,/^$/ {
8328 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8329 # Check for a 64-bit object if we didn't find anything.
8330 if test -z "$aix_libpath"; then
8331 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8334 echo "$as_me: failed program was:" >&5
8335 sed 's/^/| /' conftest.
$ac_ext >&5
8340 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8341 conftest
$ac_exeext conftest.
$ac_ext
8342 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8344 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8345 # Warning - without using the other run time loading flags,
8346 # -berok will link without error, but may produce a broken library.
8347 no_undefined_flag
=' ${wl}-bernotok'
8348 allow_undefined_flag
=' ${wl}-berok'
8349 # Exported symbols can be pulled into shared objects from archives
8350 whole_archive_flag_spec
='$convenience'
8351 archive_cmds_need_lc
=yes
8352 # This is similar to how AIX traditionally builds its shared libraries.
8353 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'
8359 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)'
8360 hardcode_libdir_flag_spec
='-L$libdir'
8361 hardcode_minus_L
=yes
8362 # see comment about different semantics on the GNU ld section
8367 export_dynamic_flag_spec
=-rdynamic
8370 cygwin
* | mingw
* | pw32
*)
8371 # When not using gcc, we currently assume that we are using
8372 # Microsoft Visual C++.
8373 # hardcode_libdir_flag_spec is actually meaningless, as there is
8374 # no search path for DLLs.
8375 hardcode_libdir_flag_spec
=' '
8376 allow_undefined_flag
=unsupported
8377 # Tell ltmain to make .lib files, not .a files.
8379 # Tell ltmain to make .dll files, not .so files.
8381 # FIXME: Setting linknames here is a bad hack.
8382 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8383 # The linker will automatically build a .lib file if we build a DLL.
8384 old_archive_From_new_cmds
='true'
8385 # FIXME: Should let the user specify the lib program.
8386 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8387 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8388 enable_shared_with_static_runtimes
=yes
8391 darwin
* | rhapsody
*)
8393 rhapsody
* | darwin1.
[012])
8394 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8397 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8398 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8400 case ${MACOSX_DEPLOYMENT_TARGET} in
8402 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8405 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8411 archive_cmds_need_lc
=no
8413 hardcode_automatic
=yes
8414 hardcode_shlibpath_var
=unsupported
8415 whole_archive_flag_spec
=''
8416 link_all_deplibs
=yes
8417 if test "$GCC" = yes ; then
8418 output_verbose_link_cmd
='echo'
8419 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8420 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8421 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8422 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}'
8423 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}'
8425 case $cc_basename in
8427 output_verbose_link_cmd
='echo'
8428 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8429 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8430 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8431 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}'
8432 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}'
8442 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8443 hardcode_libdir_flag_spec
='-L$libdir'
8444 hardcode_shlibpath_var
=no
8451 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8452 # support. Future versions do this automatically, but an explicit c++rt0.o
8453 # does not break anything, and helps significantly (at the cost of a little
8456 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8457 hardcode_libdir_flag_spec
='-R$libdir'
8459 hardcode_shlibpath_var
=no
8462 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8464 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8466 hardcode_minus_L
=yes
8467 hardcode_shlibpath_var
=no
8470 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8471 freebsd
* | dragonfly
*)
8472 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8473 hardcode_libdir_flag_spec
='-R$libdir'
8475 hardcode_shlibpath_var
=no
8479 if test "$GCC" = yes; then
8480 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'
8482 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'
8484 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8485 hardcode_libdir_separator
=:
8488 # hardcode_minus_L: Not really in the search PATH,
8489 # but as the default location of the library.
8490 hardcode_minus_L
=yes
8491 export_dynamic_flag_spec
='${wl}-E'
8495 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8496 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8498 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8500 if test "$with_gnu_ld" = no
; then
8501 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8502 hardcode_libdir_separator
=:
8505 export_dynamic_flag_spec
='${wl}-E'
8507 # hardcode_minus_L: Not really in the search PATH,
8508 # but as the default location of the library.
8509 hardcode_minus_L
=yes
8514 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8517 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8520 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8523 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8529 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8532 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8535 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8539 if test "$with_gnu_ld" = no
; then
8540 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8541 hardcode_libdir_separator
=:
8545 hardcode_libdir_flag_spec_ld
='+b $libdir'
8547 hardcode_shlibpath_var
=no
8551 export_dynamic_flag_spec
='${wl}-E'
8553 # hardcode_minus_L: Not really in the search PATH,
8554 # but as the default location of the library.
8555 hardcode_minus_L
=yes
8561 irix5
* | irix6
* | nonstopux
*)
8562 if test "$GCC" = yes; then
8563 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'
8565 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'
8566 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8568 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8569 hardcode_libdir_separator
=:
8570 link_all_deplibs
=yes
8574 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8575 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8577 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8579 hardcode_libdir_flag_spec
='-R$libdir'
8581 hardcode_shlibpath_var
=no
8585 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8587 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8588 hardcode_libdir_separator
=:
8589 hardcode_shlibpath_var
=no
8593 if test -f /usr
/libexec
/ld.so
; then
8595 hardcode_shlibpath_var
=no
8596 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8597 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8598 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8599 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8600 export_dynamic_flag_spec
='${wl}-E'
8603 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8604 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8605 hardcode_libdir_flag_spec
='-R$libdir'
8608 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8609 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8619 hardcode_libdir_flag_spec
='-L$libdir'
8620 hardcode_minus_L
=yes
8621 allow_undefined_flag
=unsupported
8622 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'
8623 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8627 if test "$GCC" = yes; then
8628 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8629 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'
8631 allow_undefined_flag
=' -expect_unresolved \*'
8632 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'
8634 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8635 hardcode_libdir_separator
=:
8638 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8639 if test "$GCC" = yes; then
8640 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8641 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'
8642 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8644 allow_undefined_flag
=' -expect_unresolved \*'
8645 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'
8646 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8647 $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'
8649 # Both c and cxx compiler support -rpath directly
8650 hardcode_libdir_flag_spec
='-rpath $libdir'
8652 hardcode_libdir_separator
=:
8656 no_undefined_flag
=' -z text'
8657 if test "$GCC" = yes; then
8659 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8660 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8661 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8664 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8665 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8666 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8668 hardcode_libdir_flag_spec
='-R$libdir'
8669 hardcode_shlibpath_var
=no
8671 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8673 # The compiler driver will combine and reorder linker options,
8674 # but understands `-z linker_flag'. GCC discards it without `$wl',
8675 # but is careful enough not to reorder.
8676 # Supported since Solaris 2.6 (maybe 2.5.1?)
8677 if test "$GCC" = yes; then
8678 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8680 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8684 link_all_deplibs
=yes
8688 if test "x$host_vendor" = xsequent
; then
8689 # Use $CC to link under sequent, because it throws in some extra .o
8690 # files that make .init and .fini sections work.
8691 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8693 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8695 hardcode_libdir_flag_spec
='-L$libdir'
8697 hardcode_minus_L
=yes
8698 hardcode_shlibpath_var
=no
8702 case $host_vendor in
8704 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8705 hardcode_direct
=yes # is this really true???
8708 ## LD is ld it makes a PLAMLIB
8709 ## CC just makes a GrossModule.
8710 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8711 reload_cmds
='$CC -r -o $output$reload_objs'
8715 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8716 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8719 runpath_var
='LD_RUN_PATH'
8720 hardcode_shlibpath_var
=no
8724 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8725 hardcode_shlibpath_var
=no
8726 export_dynamic_flag_spec
='-Bexport'
8730 if test -d /usr
/nec
; then
8731 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8732 hardcode_shlibpath_var
=no
8733 runpath_var
=LD_RUN_PATH
8734 hardcode_runpath_var
=yes
8739 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8740 no_undefined_flag
='${wl}-z,text'
8741 archive_cmds_need_lc
=no
8742 hardcode_shlibpath_var
=no
8743 runpath_var
='LD_RUN_PATH'
8745 if test "$GCC" = yes; then
8746 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8747 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8749 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8750 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8754 sysv5
* | sco3.2v5
* | sco5v6
*)
8755 # Note: We can NOT use -z defs as we might desire, because we do not
8756 # link with -lc, and that would cause any symbols used from libc to
8757 # always be unresolved, which means just about no library would
8758 # ever link correctly. If we're not using GNU ld we use -z text
8759 # though, which does catch some bad symbols but isn't as heavy-handed
8761 no_undefined_flag
='${wl}-z,text'
8762 allow_undefined_flag
='${wl}-z,nodefs'
8763 archive_cmds_need_lc
=no
8764 hardcode_shlibpath_var
=no
8765 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8766 hardcode_libdir_separator
=':'
8767 link_all_deplibs
=yes
8768 export_dynamic_flag_spec
='${wl}-Bexport'
8769 runpath_var
='LD_RUN_PATH'
8771 if test "$GCC" = yes; then
8772 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8773 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8775 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8776 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8781 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8782 hardcode_libdir_flag_spec
='-L$libdir'
8783 hardcode_shlibpath_var
=no
8792 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8793 echo "${ECHO_T}$ld_shlibs" >&6; }
8794 test "$ld_shlibs" = no
&& can_build_shared
=no
8797 # Do we need to explicitly link libc?
8799 case "x$archive_cmds_need_lc" in
8801 # Assume -lc should be added
8802 archive_cmds_need_lc
=yes
8804 if test "$enable_shared" = yes && test "$GCC" = yes; then
8805 case $archive_cmds in
8807 # FIXME: we may have to deal with multi-command sequences.
8810 # Test whether the compiler implicitly links with -lc since on some
8811 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8812 # to ld, don't add -lc before -lgcc.
8813 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8814 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8816 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8819 (eval $ac_compile) 2>&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); } 2>conftest.err
; then
8825 libobjs
=conftest.
$ac_objext
8827 wl
=$lt_prog_compiler_wl
8828 pic_flag
=$lt_prog_compiler_pic
8834 lt_save_allow_undefined_flag
=$allow_undefined_flag
8835 allow_undefined_flag
=
8836 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8837 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); }
8842 archive_cmds_need_lc
=no
8844 archive_cmds_need_lc
=yes
8846 allow_undefined_flag
=$lt_save_allow_undefined_flag
8848 cat conftest.err
1>&5
8851 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8852 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8859 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8860 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8862 libname_spec
='lib$name'
8870 shlibpath_overrides_runpath
=unknown
8872 dynamic_linker
="$host_os ld.so"
8873 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8875 if test "$GCC" = yes; then
8877 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8878 *) lt_awk_arg
="/^libraries:/" ;;
8880 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8881 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8882 # if the path contains ";" then we assume it to be the separator
8883 # otherwise default to the standard path separator (i.e. ":") - it is
8884 # assumed that no part of a normal pathname contains ";" but that should
8885 # okay in the real world where ";" in dirpaths is itself problematic.
8886 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8888 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8890 # Ok, now we have the path, separated by spaces, we can step through it
8891 # and add multilib dir if necessary.
8892 lt_tmp_lt_search_path_spec
=
8893 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8894 for lt_sys_path
in $lt_search_path_spec; do
8895 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8896 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8898 test -d "$lt_sys_path" && \
8899 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8902 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8903 BEGIN {RS=" "; FS="/|\n";} {
8906 for (lt_i = NF; lt_i > 0; lt_i--) {
8907 if ($lt_i != "" && $lt_i != ".") {
8908 if ($lt_i == "..") {
8911 if (lt_count == 0) {
8912 lt_foo="/" $lt_i lt_foo;
8919 if (lt_foo != "") { lt_freq[lt_foo]++; }
8920 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8922 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8924 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8926 need_lib_prefix
=unknown
8927 hardcode_into_libs
=no
8929 # when you set need_version to no, make sure it does not cause -set_version
8930 # flags to be left without arguments
8931 need_version
=unknown
8936 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8937 shlibpath_var
=LIBPATH
8939 # AIX 3 has no versioning support, so we append a major version to the name.
8940 soname_spec
='${libname}${release}${shared_ext}$major'
8947 hardcode_into_libs
=yes
8948 if test "$host_cpu" = ia64
; then
8949 # AIX 5 supports IA64
8950 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8951 shlibpath_var
=LD_LIBRARY_PATH
8953 # With GCC up to 2.95.x, collect2 would create an import file
8954 # for dependence libraries. The import file would start with
8955 # the line `#! .'. This would cause the generated library to
8956 # depend on `.', always an invalid library. This was fixed in
8957 # development snapshots of GCC prior to 3.0.
8959 aix4 | aix4.
[01] | aix4.
[01].
*)
8960 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8962 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8969 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8970 # soname into executable. Probably we can add versioning support to
8971 # collect2, so additional links can be useful in future.
8972 if test "$aix_use_runtimelinking" = yes; then
8973 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8974 # instead of lib<name>.a to let people know that these are not
8975 # typical AIX shared libraries.
8976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8978 # We preserve .a as extension for shared libraries through AIX4.2
8979 # and later when we are not doing run time linking.
8980 library_names_spec
='${libname}${release}.a $libname.a'
8981 soname_spec
='${libname}${release}${shared_ext}$major'
8983 shlibpath_var
=LIBPATH
8988 library_names_spec
='$libname.ixlibrary $libname.a'
8989 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8990 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'
8994 library_names_spec
='${libname}${shared_ext}'
8995 dynamic_linker
="$host_os ld.so"
8996 shlibpath_var
=LIBRARY_PATH
9002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9003 soname_spec
='${libname}${release}${shared_ext}$major'
9004 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9005 shlibpath_var
=LD_LIBRARY_PATH
9006 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9007 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9008 # the default ld.so.conf also contains /usr/contrib/lib and
9009 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9010 # libtool to hard-code these into programs
9013 cygwin
* | mingw
* | pw32
*)
9014 version_type
=windows
9019 case $GCC,$host_os in
9020 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9021 library_names_spec
='$libname.dll.a'
9022 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9023 postinstall_cmds
='base_file=`basename \${file}`~
9024 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9025 dldir=$destdir/`dirname \$dlpath`~
9026 test -d \$dldir || mkdir -p \$dldir~
9027 $install_prog $dir/$dlname \$dldir/$dlname~
9028 chmod a+x \$dldir/$dlname'
9029 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9030 dlpath=$dir/\$dldll~
9032 shlibpath_overrides_runpath
=yes
9036 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9037 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9038 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9041 # MinGW DLLs use traditional 'lib' prefix
9042 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9043 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9044 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9045 # It is most probably a Windows format PATH printed by
9046 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9047 # path with ; separators, and with drive letters. We can handle the
9048 # drive letters (cygwin fileutils understands them), so leave them,
9049 # especially as we might pass files found there to a mingw objdump,
9050 # which wouldn't understand a cygwinified path. Ahh.
9051 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9053 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9057 # pw32 DLLs use 'pw' prefix rather than 'lib'
9058 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9064 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9067 dynamic_linker
='Win32 ld.exe'
9068 # FIXME: first we should search . and the directory the executable is in
9072 darwin
* | rhapsody
*)
9073 dynamic_linker
="$host_os dyld"
9077 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9078 soname_spec
='${libname}${release}${major}$shared_ext'
9079 shlibpath_overrides_runpath
=yes
9080 shlibpath_var
=DYLD_LIBRARY_PATH
9081 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9083 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9084 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9092 soname_spec
='${libname}${release}${shared_ext}$major'
9093 shlibpath_var
=LD_LIBRARY_PATH
9100 freebsd
* | dragonfly
*)
9101 # DragonFly does not have aout. When/if they implement a new
9102 # versioning mechanism, adjust this.
9103 if test -x /usr
/bin
/objformat
; then
9104 objformat
=`/usr/bin/objformat`
9107 freebsd
[123]*) objformat
=aout
;;
9111 version_type
=freebsd-
$objformat
9112 case $version_type in
9114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9119 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9123 shlibpath_var
=LD_LIBRARY_PATH
9126 shlibpath_overrides_runpath
=yes
9128 freebsd3.
[01]* | freebsdelf3.
[01]*)
9129 shlibpath_overrides_runpath
=yes
9130 hardcode_into_libs
=yes
9132 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9133 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9134 shlibpath_overrides_runpath
=no
9135 hardcode_into_libs
=yes
9137 *) # from 4.6 on, and DragonFly
9138 shlibpath_overrides_runpath
=yes
9139 hardcode_into_libs
=yes
9148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9149 soname_spec
='${libname}${release}${shared_ext}$major'
9150 shlibpath_var
=LD_LIBRARY_PATH
9151 hardcode_into_libs
=yes
9154 hpux9
* | hpux10
* | hpux11
*)
9155 # Give a soname corresponding to the major version so that dld.sl refuses to
9156 # link against other versions.
9163 hardcode_into_libs
=yes
9164 dynamic_linker
="$host_os dld.so"
9165 shlibpath_var
=LD_LIBRARY_PATH
9166 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9168 soname_spec
='${libname}${release}${shared_ext}$major'
9169 if test "X$HPUX_IA64_MODE" = X32
; then
9170 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9172 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9174 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9178 hardcode_into_libs
=yes
9179 dynamic_linker
="$host_os dld.sl"
9180 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9181 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9183 soname_spec
='${libname}${release}${shared_ext}$major'
9184 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9185 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9189 dynamic_linker
="$host_os dld.sl"
9190 shlibpath_var
=SHLIB_PATH
9191 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9193 soname_spec
='${libname}${release}${shared_ext}$major'
9196 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9197 postinstall_cmds
='chmod 555 $lib'
9204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9205 soname_spec
='${libname}${release}${shared_ext}$major'
9206 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9207 shlibpath_var
=LD_LIBRARY_PATH
9208 shlibpath_overrides_runpath
=no
9209 hardcode_into_libs
=yes
9212 irix5
* | irix6
* | nonstopux
*)
9214 nonstopux
*) version_type
=nonstopux
;;
9216 if test "$lt_cv_prog_gnu_ld" = yes; then
9224 soname_spec
='${libname}${release}${shared_ext}$major'
9225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9227 irix5
* | nonstopux
*)
9231 case $LD in # libtool.m4 will add one of these switches to LD
9232 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9233 libsuff
= shlibsuff
= libmagic
=32-bit;;
9234 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9235 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9236 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9237 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9238 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9242 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9243 shlibpath_overrides_runpath
=no
9244 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9245 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9246 hardcode_into_libs
=yes
9249 # No shared lib support for Linux oldld, aout, or coff.
9250 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9254 # This must be Linux ELF.
9255 linux
* | k
*bsd
*-gnu)
9259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9260 soname_spec
='${libname}${release}${shared_ext}$major'
9261 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9262 shlibpath_var
=LD_LIBRARY_PATH
9263 shlibpath_overrides_runpath
=no
9264 # This implies no fast_install, which is unacceptable.
9265 # Some rework will be needed to allow for fast_install
9266 # before this can be enabled.
9267 hardcode_into_libs
=yes
9268 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9269 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9271 # Append ld.so.conf contents to the search path
9272 if test -f /etc
/ld.so.conf
; then
9273 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' ' '`
9274 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9277 # We used to test for /lib/ld.so.1 and disable shared libraries on
9278 # powerpc, because MkLinux only supported shared libraries with the
9279 # GNU dynamic linker. Since this was broken with cross compilers,
9280 # most powerpc-linux boxes support dynamic linking these days and
9281 # people can always --disable-shared, the test was removed, and we
9282 # assume the GNU/Linux dynamic linker is in use.
9283 dynamic_linker
='GNU/Linux ld.so'
9290 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9292 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9293 dynamic_linker
='NetBSD (a.out) ld.so'
9295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9296 soname_spec
='${libname}${release}${shared_ext}$major'
9297 dynamic_linker
='NetBSD ld.elf_so'
9299 shlibpath_var
=LD_LIBRARY_PATH
9300 shlibpath_overrides_runpath
=yes
9301 hardcode_into_libs
=yes
9306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9307 shlibpath_var
=LD_LIBRARY_PATH
9308 shlibpath_overrides_runpath
=yes
9315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9316 soname_spec
='${libname}${release}${shared_ext}$major'
9317 shlibpath_var
=LD_LIBRARY_PATH
9318 shlibpath_overrides_runpath
=yes
9323 sys_lib_dlsearch_path_spec
="/usr/lib"
9325 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9327 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9328 *) need_version
=no
;;
9330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9331 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9332 shlibpath_var
=LD_LIBRARY_PATH
9333 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9335 openbsd2.
[89] | openbsd2.
[89].
*)
9336 shlibpath_overrides_runpath
=no
9339 shlibpath_overrides_runpath
=yes
9343 shlibpath_overrides_runpath
=yes
9348 libname_spec
='$name'
9351 library_names_spec
='$libname${shared_ext} $libname.a'
9352 dynamic_linker
='OS/2 ld.exe'
9353 shlibpath_var
=LIBPATH
9356 osf3
* | osf4
* | osf5
*)
9360 soname_spec
='${libname}${release}${shared_ext}$major'
9361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9362 shlibpath_var
=LD_LIBRARY_PATH
9363 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9364 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9376 soname_spec
='${libname}${release}${shared_ext}$major'
9377 shlibpath_var
=LD_LIBRARY_PATH
9378 shlibpath_overrides_runpath
=yes
9379 hardcode_into_libs
=yes
9380 # ldd complains unless libraries are executable
9381 postinstall_cmds
='chmod +x $lib'
9386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9387 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9388 shlibpath_var
=LD_LIBRARY_PATH
9389 shlibpath_overrides_runpath
=yes
9390 if test "$with_gnu_ld" = yes; then
9398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9399 soname_spec
='${libname}${release}${shared_ext}$major'
9400 shlibpath_var
=LD_LIBRARY_PATH
9401 case $host_vendor in
9403 shlibpath_overrides_runpath
=no
9405 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9406 runpath_var
=LD_RUN_PATH
9414 shlibpath_overrides_runpath
=no
9415 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9421 if test -d /usr
/nec
;then
9423 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9424 soname_spec
='$libname${shared_ext}.$major'
9425 shlibpath_var
=LD_LIBRARY_PATH
9429 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9430 version_type
=freebsd-elf
9433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9434 soname_spec
='${libname}${release}${shared_ext}$major'
9435 shlibpath_var
=LD_LIBRARY_PATH
9436 hardcode_into_libs
=yes
9437 if test "$with_gnu_ld" = yes; then
9438 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9439 shlibpath_overrides_runpath
=no
9441 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9442 shlibpath_overrides_runpath
=yes
9445 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9449 sys_lib_dlsearch_path_spec
='/usr/lib'
9454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9455 soname_spec
='${libname}${release}${shared_ext}$major'
9456 shlibpath_var
=LD_LIBRARY_PATH
9463 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9464 echo "${ECHO_T}$dynamic_linker" >&6; }
9465 test "$dynamic_linker" = no
&& can_build_shared
=no
9467 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9468 if test "$GCC" = yes; then
9469 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9472 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9473 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9475 if test -n "$hardcode_libdir_flag_spec" || \
9476 test -n "$runpath_var" || \
9477 test "X$hardcode_automatic" = "Xyes" ; then
9479 # We can hardcode non-existant directories.
9480 if test "$hardcode_direct" != no
&&
9481 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9482 # have to relink, otherwise we might link with an installed library
9483 # when we should be linking with a yet-to-be-installed one
9484 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9485 test "$hardcode_minus_L" != no
; then
9486 # Linking always hardcodes the temporary library directory.
9487 hardcode_action
=relink
9489 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9490 hardcode_action
=immediate
9493 # We cannot hardcode anything, or else we can only hardcode existing
9495 hardcode_action
=unsupported
9497 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9498 echo "${ECHO_T}$hardcode_action" >&6; }
9500 if test "$hardcode_action" = relink
; then
9501 # Fast installation is not supported
9502 enable_fast_install
=no
9503 elif test "$shlibpath_overrides_runpath" = yes ||
9504 test "$enable_shared" = no
; then
9505 # Fast installation is not necessary
9506 enable_fast_install
=needless
9511 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9512 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9513 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9514 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9515 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9516 { echo "$as_me:$LINENO: result: yes" >&5
9517 echo "${ECHO_T}yes" >&6; }
9519 # FIXME - insert some real tests, host_os isn't really good enough
9522 if test -n "$STRIP" ; then
9523 striplib
="$STRIP -x"
9524 old_striplib
="$STRIP -S"
9525 { echo "$as_me:$LINENO: result: yes" >&5
9526 echo "${ECHO_T}yes" >&6; }
9528 { echo "$as_me:$LINENO: result: no" >&5
9529 echo "${ECHO_T}no" >&6; }
9533 { echo "$as_me:$LINENO: result: no" >&5
9534 echo "${ECHO_T}no" >&6; }
9539 if test "x$enable_dlopen" != xyes
; then
9540 enable_dlopen
=unknown
9541 enable_dlopen_self
=unknown
9542 enable_dlopen_self_static
=unknown
9549 lt_cv_dlopen
="load_add_on"
9551 lt_cv_dlopen_self
=yes
9555 lt_cv_dlopen
="LoadLibrary"
9560 lt_cv_dlopen
="dlopen"
9565 # if libdl is installed we need to link against it
9566 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9567 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9568 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9569 echo $ECHO_N "(cached) $ECHO_C" >&6
9571 ac_check_lib_save_LIBS
=$LIBS
9573 cat >conftest.
$ac_ext <<_ACEOF
9576 cat confdefs.h
>>conftest.
$ac_ext
9577 cat >>conftest.
$ac_ext <<_ACEOF
9578 /* end confdefs.h. */
9580 /* Override any GCC internal prototype to avoid an error.
9581 Use char because int might match the return type of a GCC
9582 builtin and then its argument prototype would still apply. */
9595 rm -f conftest.
$ac_objext conftest
$ac_exeext
9596 if { (ac_try
="$ac_link"
9598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9599 *) ac_try_echo=$ac_try;;
9601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9602 (eval "$ac_link") 2>conftest.er1
9604 grep -v '^ *+' conftest.er1 >conftest.err
9606 cat conftest.err >&5
9607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); } && {
9609 test -z "$ac_c_werror_flag" ||
9610 test ! -s conftest.err
9611 } && test -s conftest$ac_exeext &&
9612 $as_test_x conftest$ac_exeext; then
9613 ac_cv_lib_dl_dlopen=yes
9615 echo "$as_me: failed program was:" >&5
9616 sed 's/^/| /' conftest.$ac_ext >&5
9618 ac_cv_lib_dl_dlopen=no
9621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9622 conftest$ac_exeext conftest.$ac_ext
9623 LIBS=$ac_check_lib_save_LIBS
9625 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9626 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9627 if test $ac_cv_lib_dl_dlopen = yes; then
9628 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9633 lt_cv_dlopen_self=yes
9640 { echo "$as_me:$LINENO: checking for shl_load" >&5
9641 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9642 if test "${ac_cv_func_shl_load+set}" = set; then
9643 echo $ECHO_N "(cached) $ECHO_C" >&6
9645 cat >conftest.$ac_ext <<_ACEOF
9648 cat confdefs.h >>conftest.$ac_ext
9649 cat >>conftest.$ac_ext <<_ACEOF
9650 /* end confdefs.h. */
9651 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9653 #define shl_load innocuous_shl_load
9655 /* System header to define __stub macros and hopefully few prototypes,
9656 which can conflict with char shl_load (); below.
9657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9658 <limits.h> exists even on freestanding compilers. */
9661 # include <limits.h>
9663 # include <assert.h>
9668 /* Override any GCC internal prototype to avoid an error.
9669 Use char because int might match the return type of a GCC
9670 builtin and then its argument prototype would still apply. */
9675 /* The GNU C library defines this for functions which it implements
9676 to always fail with ENOSYS. Some functions are actually named
9677 something starting with __ and the normal name is an alias. */
9678 #if defined __stub_shl_load || defined __stub___shl_load
9690 rm -f conftest.$ac_objext conftest$ac_exeext
9691 if { (ac_try="$ac_link"
9693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9694 *) ac_try_echo
=$ac_try;;
9696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9697 (eval "$ac_link") 2>conftest.er1
9699 grep -v '^ *+' conftest.er1
>conftest.err
9701 cat conftest.err
>&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); } && {
9704 test -z "$ac_c_werror_flag" ||
9705 test ! -s conftest.err
9706 } && test -s conftest
$ac_exeext &&
9707 $as_test_x conftest
$ac_exeext; then
9708 ac_cv_func_shl_load
=yes
9710 echo "$as_me: failed program was:" >&5
9711 sed 's/^/| /' conftest.
$ac_ext >&5
9713 ac_cv_func_shl_load
=no
9716 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9717 conftest
$ac_exeext conftest.
$ac_ext
9719 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9720 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9721 if test $ac_cv_func_shl_load = yes; then
9722 lt_cv_dlopen
="shl_load"
9724 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9725 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9726 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9727 echo $ECHO_N "(cached) $ECHO_C" >&6
9729 ac_check_lib_save_LIBS
=$LIBS
9731 cat >conftest.
$ac_ext <<_ACEOF
9734 cat confdefs.h
>>conftest.
$ac_ext
9735 cat >>conftest.
$ac_ext <<_ACEOF
9736 /* end confdefs.h. */
9738 /* Override any GCC internal prototype to avoid an error.
9739 Use char because int might match the return type of a GCC
9740 builtin and then its argument prototype would still apply. */
9753 rm -f conftest.
$ac_objext conftest
$ac_exeext
9754 if { (ac_try
="$ac_link"
9756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9757 *) ac_try_echo=$ac_try;;
9759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9760 (eval "$ac_link") 2>conftest.er1
9762 grep -v '^ *+' conftest.er1 >conftest.err
9764 cat conftest.err >&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); } && {
9767 test -z "$ac_c_werror_flag" ||
9768 test ! -s conftest.err
9769 } && test -s conftest$ac_exeext &&
9770 $as_test_x conftest$ac_exeext; then
9771 ac_cv_lib_dld_shl_load=yes
9773 echo "$as_me: failed program was:" >&5
9774 sed 's/^/| /' conftest.$ac_ext >&5
9776 ac_cv_lib_dld_shl_load=no
9779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9780 conftest$ac_exeext conftest.$ac_ext
9781 LIBS=$ac_check_lib_save_LIBS
9783 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9784 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9785 if test $ac_cv_lib_dld_shl_load = yes; then
9786 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9788 { echo "$as_me:$LINENO: checking for dlopen" >&5
9789 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9790 if test "${ac_cv_func_dlopen+set}" = set; then
9791 echo $ECHO_N "(cached) $ECHO_C" >&6
9793 cat >conftest.$ac_ext <<_ACEOF
9796 cat confdefs.h >>conftest.$ac_ext
9797 cat >>conftest.$ac_ext <<_ACEOF
9798 /* end confdefs.h. */
9799 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9801 #define dlopen innocuous_dlopen
9803 /* System header to define __stub macros and hopefully few prototypes,
9804 which can conflict with char dlopen (); below.
9805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9806 <limits.h> exists even on freestanding compilers. */
9809 # include <limits.h>
9811 # include <assert.h>
9816 /* Override any GCC internal prototype to avoid an error.
9817 Use char because int might match the return type of a GCC
9818 builtin and then its argument prototype would still apply. */
9823 /* The GNU C library defines this for functions which it implements
9824 to always fail with ENOSYS. Some functions are actually named
9825 something starting with __ and the normal name is an alias. */
9826 #if defined __stub_dlopen || defined __stub___dlopen
9838 rm -f conftest.$ac_objext conftest$ac_exeext
9839 if { (ac_try="$ac_link"
9841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9842 *) ac_try_echo
=$ac_try;;
9844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9845 (eval "$ac_link") 2>conftest.er1
9847 grep -v '^ *+' conftest.er1
>conftest.err
9849 cat conftest.err
>&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); } && {
9852 test -z "$ac_c_werror_flag" ||
9853 test ! -s conftest.err
9854 } && test -s conftest
$ac_exeext &&
9855 $as_test_x conftest
$ac_exeext; then
9856 ac_cv_func_dlopen
=yes
9858 echo "$as_me: failed program was:" >&5
9859 sed 's/^/| /' conftest.
$ac_ext >&5
9861 ac_cv_func_dlopen
=no
9864 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9865 conftest
$ac_exeext conftest.
$ac_ext
9867 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9868 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9869 if test $ac_cv_func_dlopen = yes; then
9870 lt_cv_dlopen
="dlopen"
9872 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9873 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9874 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9875 echo $ECHO_N "(cached) $ECHO_C" >&6
9877 ac_check_lib_save_LIBS
=$LIBS
9879 cat >conftest.
$ac_ext <<_ACEOF
9882 cat confdefs.h
>>conftest.
$ac_ext
9883 cat >>conftest.
$ac_ext <<_ACEOF
9884 /* end confdefs.h. */
9886 /* Override any GCC internal prototype to avoid an error.
9887 Use char because int might match the return type of a GCC
9888 builtin and then its argument prototype would still apply. */
9901 rm -f conftest.
$ac_objext conftest
$ac_exeext
9902 if { (ac_try
="$ac_link"
9904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9905 *) ac_try_echo=$ac_try;;
9907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9908 (eval "$ac_link") 2>conftest.er1
9910 grep -v '^ *+' conftest.er1 >conftest.err
9912 cat conftest.err >&5
9913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); } && {
9915 test -z "$ac_c_werror_flag" ||
9916 test ! -s conftest.err
9917 } && test -s conftest$ac_exeext &&
9918 $as_test_x conftest$ac_exeext; then
9919 ac_cv_lib_dl_dlopen=yes
9921 echo "$as_me: failed program was:" >&5
9922 sed 's/^/| /' conftest.$ac_ext >&5
9924 ac_cv_lib_dl_dlopen=no
9927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9928 conftest$ac_exeext conftest.$ac_ext
9929 LIBS=$ac_check_lib_save_LIBS
9931 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9932 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9933 if test $ac_cv_lib_dl_dlopen = yes; then
9934 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9936 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9937 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9938 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9939 echo $ECHO_N "(cached) $ECHO_C" >&6
9941 ac_check_lib_save_LIBS=$LIBS
9943 cat >conftest.$ac_ext <<_ACEOF
9946 cat confdefs.h >>conftest.$ac_ext
9947 cat >>conftest.$ac_ext <<_ACEOF
9948 /* end confdefs.h. */
9950 /* Override any GCC internal prototype to avoid an error.
9951 Use char because int might match the return type of a GCC
9952 builtin and then its argument prototype would still apply. */
9965 rm -f conftest.$ac_objext conftest$ac_exeext
9966 if { (ac_try="$ac_link"
9968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9969 *) ac_try_echo
=$ac_try;;
9971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9972 (eval "$ac_link") 2>conftest.er1
9974 grep -v '^ *+' conftest.er1
>conftest.err
9976 cat conftest.err
>&5
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); } && {
9979 test -z "$ac_c_werror_flag" ||
9980 test ! -s conftest.err
9981 } && test -s conftest
$ac_exeext &&
9982 $as_test_x conftest
$ac_exeext; then
9983 ac_cv_lib_svld_dlopen
=yes
9985 echo "$as_me: failed program was:" >&5
9986 sed 's/^/| /' conftest.
$ac_ext >&5
9988 ac_cv_lib_svld_dlopen
=no
9991 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9992 conftest
$ac_exeext conftest.
$ac_ext
9993 LIBS
=$ac_check_lib_save_LIBS
9995 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9996 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9997 if test $ac_cv_lib_svld_dlopen = yes; then
9998 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10000 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10001 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10002 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10003 echo $ECHO_N "(cached) $ECHO_C" >&6
10005 ac_check_lib_save_LIBS
=$LIBS
10007 cat >conftest.
$ac_ext <<_ACEOF
10010 cat confdefs.h
>>conftest.
$ac_ext
10011 cat >>conftest.
$ac_ext <<_ACEOF
10012 /* end confdefs.h. */
10014 /* Override any GCC internal prototype to avoid an error.
10015 Use char because int might match the return type of a GCC
10016 builtin and then its argument prototype would still apply. */
10024 return dld_link ();
10029 rm -f conftest.
$ac_objext conftest
$ac_exeext
10030 if { (ac_try
="$ac_link"
10031 case "(($ac_try" in
10032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10033 *) ac_try_echo=$ac_try;;
10035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10036 (eval "$ac_link") 2>conftest.er1
10038 grep -v '^ *+' conftest.er1 >conftest.err
10040 cat conftest.err >&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } && {
10043 test -z "$ac_c_werror_flag" ||
10044 test ! -s conftest.err
10045 } && test -s conftest$ac_exeext &&
10046 $as_test_x conftest$ac_exeext; then
10047 ac_cv_lib_dld_dld_link=yes
10049 echo "$as_me: failed program was:" >&5
10050 sed 's/^/| /' conftest.$ac_ext >&5
10052 ac_cv_lib_dld_dld_link=no
10055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10056 conftest$ac_exeext conftest.$ac_ext
10057 LIBS=$ac_check_lib_save_LIBS
10059 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10060 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10061 if test $ac_cv_lib_dld_dld_link = yes; then
10062 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10083 if test "x$lt_cv_dlopen" != xno; then
10089 case $lt_cv_dlopen in
10091 save_CPPFLAGS="$CPPFLAGS"
10092 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10094 save_LDFLAGS="$LDFLAGS"
10095 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10098 LIBS="$lt_cv_dlopen_libs $LIBS"
10100 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10101 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10102 if test "${lt_cv_dlopen_self+set}" = set; then
10103 echo $ECHO_N "(cached) $ECHO_C" >&6
10105 if test "$cross_compiling" = yes; then :
10106 lt_cv_dlopen_self=cross
10108 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10109 lt_status=$lt_dlunknown
10110 cat > conftest.$ac_ext <<EOF
10111 #line 10111 "configure"
10112 #include "confdefs.h"
10121 # define LT_DLGLOBAL RTLD_GLOBAL
10124 # define LT_DLGLOBAL DL_GLOBAL
10126 # define LT_DLGLOBAL 0
10130 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10131 find out it does not work in some platform. */
10132 #ifndef LT_DLLAZY_OR_NOW
10134 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10137 # define LT_DLLAZY_OR_NOW DL_LAZY
10140 # define LT_DLLAZY_OR_NOW RTLD_NOW
10143 # define LT_DLLAZY_OR_NOW DL_NOW
10145 # define LT_DLLAZY_OR_NOW 0
10153 extern "C" void exit (int);
10156 void fnord() { int i=42;}
10159 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10160 int status = $lt_dlunknown;
10164 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10165 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10166 /* dlclose (self); */
10174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10175 (eval $ac_link) 2>&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10179 (./conftest; exit; ) >&5 2>/dev/null
10181 case x$lt_status in
10182 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10183 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10184 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10187 # compilation failed
10188 lt_cv_dlopen_self=no
10195 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10196 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10198 if test "x$lt_cv_dlopen_self" = xyes; then
10199 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10200 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10201 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10202 if test "${lt_cv_dlopen_self_static+set}" = set; then
10203 echo $ECHO_N "(cached) $ECHO_C" >&6
10205 if test "$cross_compiling" = yes; then :
10206 lt_cv_dlopen_self_static=cross
10208 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10209 lt_status=$lt_dlunknown
10210 cat > conftest.$ac_ext <<EOF
10211 #line 10211 "configure"
10212 #include "confdefs.h"
10221 # define LT_DLGLOBAL RTLD_GLOBAL
10224 # define LT_DLGLOBAL DL_GLOBAL
10226 # define LT_DLGLOBAL 0
10230 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10231 find out it does not work in some platform. */
10232 #ifndef LT_DLLAZY_OR_NOW
10234 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10237 # define LT_DLLAZY_OR_NOW DL_LAZY
10240 # define LT_DLLAZY_OR_NOW RTLD_NOW
10243 # define LT_DLLAZY_OR_NOW DL_NOW
10245 # define LT_DLLAZY_OR_NOW 0
10253 extern "C" void exit (int);
10256 void fnord() { int i=42;}
10259 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10260 int status = $lt_dlunknown;
10264 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10265 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10266 /* dlclose (self); */
10274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10275 (eval $ac_link) 2>&5
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10279 (./conftest; exit; ) >&5 2>/dev/null
10281 case x$lt_status in
10282 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10283 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10284 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10287 # compilation failed
10288 lt_cv_dlopen_self_static=no
10295 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10296 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10299 CPPFLAGS="$save_CPPFLAGS"
10300 LDFLAGS="$save_LDFLAGS"
10305 case $lt_cv_dlopen_self in
10306 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10307 *) enable_dlopen_self=unknown ;;
10310 case $lt_cv_dlopen_self_static in
10311 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10312 *) enable_dlopen_self_static=unknown ;;
10317 # Report which library types will actually be built
10318 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10319 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10320 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10321 echo "${ECHO_T}$can_build_shared" >&6; }
10323 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10324 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10325 test "$can_build_shared" = "no" && enable_shared=no
10327 # On AIX, shared libraries and static libraries use the same namespace, and
10328 # are all built from PIC.
10331 test "$enable_shared" = yes && enable_static=no
10332 if test -n "$RANLIB"; then
10333 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10334 postinstall_cmds='$RANLIB $lib'
10339 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10340 test "$enable_shared" = yes && enable_static=no
10344 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10345 echo "${ECHO_T}$enable_shared" >&6; }
10347 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10348 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10349 # Make sure either enable_shared or enable_static is yes.
10350 test "$enable_shared" = yes || enable_static=yes
10351 { echo "$as_me:$LINENO: result: $enable_static" >&5
10352 echo "${ECHO_T}$enable_static" >&6; }
10354 # The else clause should only fire when bootstrapping the
10355 # libtool distribution, otherwise you forgot to ship ltmain.sh
10356 # with your package, and you will get complaints that there are
10357 # no rules to generate ltmain.sh.
10358 if test -f "$ltmain"; then
10359 # See if we are running on zsh, and set the options which allow our commands through
10360 # without removal of \ escapes.
10361 if test -n "${ZSH_VERSION+set}" ; then
10362 setopt NO_GLOB_SUBST
10364 # Now quote all the things that may contain metacharacters while being
10365 # careful not to overquote the AC_SUBSTed values. We take copies of the
10366 # variables and quote the copies for generation of the libtool script.
10367 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10369 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10370 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10371 deplibs_check_method reload_flag reload_cmds need_locks \
10372 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10373 lt_cv_sys_global_symbol_to_c_name_address \
10374 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10375 old_postinstall_cmds old_postuninstall_cmds \
10379 lt_prog_compiler_wl \
10380 lt_prog_compiler_pic \
10381 lt_prog_compiler_static \
10382 lt_prog_compiler_no_builtin_flag \
10383 export_dynamic_flag_spec \
10384 thread_safe_flag_spec \
10385 whole_archive_flag_spec \
10386 enable_shared_with_static_runtimes \
10388 old_archive_from_new_cmds \
10393 compiler_lib_search_path \
10395 archive_expsym_cmds \
10397 postuninstall_cmds \
10398 old_archive_from_expsyms_cmds \
10399 allow_undefined_flag \
10400 no_undefined_flag \
10401 export_symbols_cmds \
10402 hardcode_libdir_flag_spec \
10403 hardcode_libdir_flag_spec_ld \
10404 hardcode_libdir_separator \
10405 hardcode_automatic \
10407 module_expsym_cmds \
10408 lt_cv_prog_compiler_c_o \
10411 include_expsyms; do
10414 old_archive_cmds | \
10415 old_archive_from_new_cmds | \
10417 archive_expsym_cmds | \
10419 module_expsym_cmds | \
10420 old_archive_from_expsyms_cmds | \
10421 export_symbols_cmds | \
10422 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10423 postinstall_cmds | postuninstall_cmds | \
10424 old_postinstall_cmds | old_postuninstall_cmds | \
10425 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10426 # Double-quote double-evaled strings.
10427 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10430 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10436 *'\$0 --fallback-echo"')
10437 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10441 cfgfile="${ofile}T"
10442 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10444 { echo "$as_me:$LINENO: creating $ofile" >&5
10445 echo "$as_me: creating $ofile" >&6;}
10447 cat <<__EOF__ >> "$cfgfile"
10450 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10451 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10452 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10454 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10455 # Free Software Foundation, Inc.
10457 # This file is part of GNU Libtool:
10458 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10460 # This program is free software; you can redistribute it and/or modify
10461 # it under the terms of the GNU General Public License as published by
10462 # the Free Software Foundation; either version 2 of the License, or
10463 # (at your option) any later version.
10465 # This program is distributed in the hope that it will be useful, but
10466 # WITHOUT ANY WARRANTY; without even the implied warranty of
10467 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10468 # General Public License for more details.
10470 # You should have received a copy of the GNU General Public License
10471 # along with this program; if not, write to the Free Software
10472 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10474 # As a special exception to the GNU General Public License, if you
10475 # distribute this file as part of a program that contains a
10476 # configuration script generated by Autoconf, you may include it under
10477 # the same distribution terms that you use for the rest of that program.
10479 # A sed program that does not truncate output.
10482 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10483 Xsed="$SED -e 1s/^X//"
10485 # The HP-UX ksh and POSIX shell print the target directory to stdout
10486 # if CDPATH is set.
10487 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10489 # The names of the tagged configurations supported by this script.
10492 # ### BEGIN LIBTOOL CONFIG
10494 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10496 # Shell to use when invoking shell scripts.
10499 # Whether or not to build shared libraries.
10500 build_libtool_libs=$enable_shared
10502 # Whether or not to build static libraries.
10503 build_old_libs=$enable_static
10505 # Whether or not to add -lc for building shared libraries.
10506 build_libtool_need_lc=$archive_cmds_need_lc
10508 # Whether or not to disallow shared libs when runtime libs are static
10509 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10511 # Whether or not to optimize for fast installation.
10512 fast_install=$enable_fast_install
10515 host_alias=$host_alias
10519 # The build system.
10520 build_alias=$build_alias
10524 # An echo program that does not interpret backslashes.
10529 AR_FLAGS=$lt_AR_FLAGS
10534 # LTCC compiler flags.
10535 LTCFLAGS=$lt_LTCFLAGS
10537 # A language-specific compiler.
10540 # Is the compiler the GNU C compiler?
10546 # The linker used to build libraries.
10549 # Whether we need hard or soft links.
10552 # A BSD-compatible nm program.
10555 # A symbol stripping program
10558 # Used to examine libraries when file_magic_cmd begins "file"
10559 MAGIC_CMD=$MAGIC_CMD
10561 # Used on cygwin: DLL creation program.
10564 # Used on cygwin: object dumper.
10567 # Used on cygwin: assembler.
10570 # The name of the directory that contains temporary libtool files.
10573 # How to create reloadable object files.
10574 reload_flag=$lt_reload_flag
10575 reload_cmds=$lt_reload_cmds
10577 # How to pass a linker flag through the compiler.
10578 wl=$lt_lt_prog_compiler_wl
10580 # Object file suffix (normally "o").
10581 objext="$ac_objext"
10583 # Old archive suffix (normally "a").
10586 # Shared library suffix (normally ".so").
10587 shrext_cmds='$shrext_cmds'
10589 # Executable file suffix (normally "").
10592 # Additional compiler flags for building library objects.
10593 pic_flag=$lt_lt_prog_compiler_pic
10596 # What is the maximum length of a command?
10597 max_cmd_len=$lt_cv_sys_max_cmd_len
10599 # Does compiler simultaneously support -c and -o options?
10600 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10602 # Must we lock files when doing compilation?
10603 need_locks=$lt_need_locks
10605 # Do we need the lib prefix for modules?
10606 need_lib_prefix=$need_lib_prefix
10608 # Do we need a version for libraries?
10609 need_version=$need_version
10611 # Whether dlopen is supported.
10612 dlopen_support=$enable_dlopen
10614 # Whether dlopen of programs is supported.
10615 dlopen_self=$enable_dlopen_self
10617 # Whether dlopen of statically linked programs is supported.
10618 dlopen_self_static=$enable_dlopen_self_static
10620 # Compiler flag to prevent dynamic linking.
10621 link_static_flag=$lt_lt_prog_compiler_static
10623 # Compiler flag to turn off builtin functions.
10624 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10626 # Compiler flag to allow reflexive dlopens.
10627 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10629 # Compiler flag to generate shared objects directly from archives.
10630 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10632 # Compiler flag to generate thread-safe objects.
10633 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10635 # Library versioning type.
10636 version_type=$version_type
10638 # Format of library name prefix.
10639 libname_spec=$lt_libname_spec
10641 # List of archive names. First name is the real one, the rest are links.
10642 # The last name is the one that the linker finds with -lNAME.
10643 library_names_spec=$lt_library_names_spec
10645 # The coded name of the library, if different from the real name.
10646 soname_spec=$lt_soname_spec
10648 # Commands used to build and install an old-style archive.
10650 old_archive_cmds=$lt_old_archive_cmds
10651 old_postinstall_cmds=$lt_old_postinstall_cmds
10652 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10654 # Create an old-style archive from a shared archive.
10655 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10657 # Create a temporary old-style archive to link instead of a shared archive.
10658 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10660 # Commands used to build and install a shared archive.
10661 archive_cmds=$lt_archive_cmds
10662 archive_expsym_cmds=$lt_archive_expsym_cmds
10663 postinstall_cmds=$lt_postinstall_cmds
10664 postuninstall_cmds=$lt_postuninstall_cmds
10666 # Commands used to build a loadable module (assumed same as above if empty)
10667 module_cmds=$lt_module_cmds
10668 module_expsym_cmds=$lt_module_expsym_cmds
10670 # Commands to strip libraries.
10671 old_striplib=$lt_old_striplib
10672 striplib=$lt_striplib
10674 # Dependencies to place before the objects being linked to create a
10676 predep_objects=$lt_predep_objects
10678 # Dependencies to place after the objects being linked to create a
10680 postdep_objects=$lt_postdep_objects
10682 # Dependencies to place before the objects being linked to create a
10684 predeps=$lt_predeps
10686 # Dependencies to place after the objects being linked to create a
10688 postdeps=$lt_postdeps
10690 # The library search path used internally by the compiler when linking
10691 # a shared library.
10692 compiler_lib_search_path=$lt_compiler_lib_search_path
10694 # Method to check whether dependent libraries are shared objects.
10695 deplibs_check_method=$lt_deplibs_check_method
10697 # Command to use when deplibs_check_method == file_magic.
10698 file_magic_cmd=$lt_file_magic_cmd
10700 # Flag that allows shared libraries with undefined symbols to be built.
10701 allow_undefined_flag=$lt_allow_undefined_flag
10703 # Flag that forces no undefined symbols.
10704 no_undefined_flag=$lt_no_undefined_flag
10706 # Commands used to finish a libtool library installation in a directory.
10707 finish_cmds=$lt_finish_cmds
10709 # Same as above, but a single script fragment to be evaled but not shown.
10710 finish_eval=$lt_finish_eval
10712 # Take the output of nm and produce a listing of raw symbols and C names.
10713 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10715 # Transform the output of nm in a proper C declaration
10716 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10718 # Transform the output of nm in a C name address pair
10719 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10721 # This is the shared library runtime path variable.
10722 runpath_var=$runpath_var
10724 # This is the shared library path variable.
10725 shlibpath_var=$shlibpath_var
10727 # Is shlibpath searched before the hard-coded library search path?
10728 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10730 # How to hardcode a shared library path into an executable.
10731 hardcode_action=$hardcode_action
10733 # Whether we should hardcode library paths into libraries.
10734 hardcode_into_libs=$hardcode_into_libs
10736 # Flag to hardcode \$libdir into a binary during linking.
10737 # This must work even if \$libdir does not exist.
10738 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10740 # If ld is used when linking, flag to hardcode \$libdir into
10741 # a binary during linking. This must work even if \$libdir does
10743 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10745 # Whether we need a single -rpath flag with a separated argument.
10746 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10748 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10749 # resulting binary.
10750 hardcode_direct=$hardcode_direct
10752 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10753 # resulting binary.
10754 hardcode_minus_L=$hardcode_minus_L
10756 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10757 # the resulting binary.
10758 hardcode_shlibpath_var=$hardcode_shlibpath_var
10760 # Set to yes if building a shared library automatically hardcodes DIR into the library
10761 # and all subsequent libraries and executables linked against it.
10762 hardcode_automatic=$hardcode_automatic
10764 # Variables whose values should be saved in libtool wrapper scripts and
10765 # restored at relink time.
10766 variables_saved_for_relink="$variables_saved_for_relink"
10768 # Whether libtool must link a program against all its dependency libraries.
10769 link_all_deplibs=$link_all_deplibs
10771 # Compile-time system search path for libraries
10772 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10774 # Run-time system search path for libraries
10775 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10777 # Fix the shell variable \$srcfile for the compiler.
10778 fix_srcfile_path=$lt_fix_srcfile_path
10780 # Set to yes if exported symbols are required.
10781 always_export_symbols=$always_export_symbols
10783 # The commands to list exported symbols.
10784 export_symbols_cmds=$lt_export_symbols_cmds
10786 # The commands to extract the exported symbol list from a shared archive.
10787 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10789 # Symbols that should not be listed in the preloaded symbols.
10790 exclude_expsyms=$lt_exclude_expsyms
10792 # Symbols that must always be exported.
10793 include_expsyms=$lt_include_expsyms
10795 # ### END LIBTOOL CONFIG
10802 cat <<\EOF >> "$cfgfile"
10804 # AIX sometimes has problems with the GCC collect2 program. For some
10805 # reason, if we set the COLLECT_NAMES environment variable, the problems
10806 # vanish in a puff of smoke.
10807 if test "X${COLLECT_NAMES+set}" != Xset; then
10809 export COLLECT_NAMES
10815 # We use sed instead of cat because bash on DJGPP gets confused if
10816 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10817 # text mode, it properly converts lines to CR/LF. This bash problem
10818 # is reportedly fixed, but why not run on old versions too?
10819 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10821 mv -f "$cfgfile" "$ofile" || \
10822 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10826 # If there is no Makefile yet, we rely on a make rule to execute
10827 # `config.status
--recheck' to rerun these tests and create the
10828 # libtool script then.
10829 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10830 if test -f "$ltmain_in"; then
10831 test -f Makefile && make "$ltmain"
10837 ac_cpp='$CPP $CPPFLAGS'
10838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10839 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10845 # Check whether --with-tags was given.
10846 if test "${with_tags+set}" = set; then
10847 withval=$with_tags; tagnames="$withval"
10851 if test -f "$ltmain" && test -n "$tagnames"; then
10852 if test ! -f "${ofile}"; then
10853 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10854 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10857 if test -z "$LTCC"; then
10858 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10859 if test -z "$LTCC"; then
10860 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10861 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10863 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10864 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10867 if test -z "$LTCFLAGS"; then
10868 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10871 # Extract list of available tagged configurations in $ofile.
10872 # Note that this assumes the entire list is on one line.
10873 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10875 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10876 for tagname in $tagnames; do
10878 # Check whether tagname contains only valid characters
10879 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10881 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10882 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10883 { (exit 1); exit 1; }; }
10887 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10889 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10890 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10891 { (exit 1); exit 1; }; }
10894 # Update the list of available tags.
10895 if test -n "$tagname"; then
10896 echo appending configuration tag \"$tagname\" to $ofile
10900 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10901 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10902 (test "X$CXX" != "Xg++"))) ; then
10904 ac_cpp='$CXXCPP $CPPFLAGS'
10905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10912 archive_cmds_need_lc_CXX=no
10913 allow_undefined_flag_CXX=
10914 always_export_symbols_CXX=no
10915 archive_expsym_cmds_CXX=
10916 export_dynamic_flag_spec_CXX=
10917 hardcode_direct_CXX=no
10918 hardcode_libdir_flag_spec_CXX=
10919 hardcode_libdir_flag_spec_ld_CXX=
10920 hardcode_libdir_separator_CXX=
10921 hardcode_minus_L_CXX=no
10922 hardcode_shlibpath_var_CXX=unsupported
10923 hardcode_automatic_CXX=no
10925 module_expsym_cmds_CXX=
10926 link_all_deplibs_CXX=unknown
10927 old_archive_cmds_CXX=$old_archive_cmds
10928 no_undefined_flag_CXX=
10929 whole_archive_flag_spec_CXX=
10930 enable_shared_with_static_runtimes_CXX=no
10932 # Dependencies to place before and after the object being linked:
10933 predep_objects_CXX=
10934 postdep_objects_CXX=
10937 compiler_lib_search_path_CXX=
10939 # Source file extension for C++ test sources.
10942 # Object file extension for compiled C++ test sources.
10946 # Code to be used in simple compile tests
10947 lt_simple_compile_test_code="int some_variable = 0;"
10949 # Code to be used in simple link tests
10950 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10952 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10954 # If no C compiler was specified, use CC.
10957 # If no C compiler flags were specified, use CFLAGS.
10958 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10960 # Allow CC to be a program name with arguments.
10964 # save warnings/boilerplate of simple test code
10965 ac_outfile=conftest.$ac_objext
10966 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10967 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10968 _lt_compiler_boilerplate=`cat conftest.err
`
10971 ac_outfile=conftest.$ac_objext
10972 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10973 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10974 _lt_linker_boilerplate=`cat conftest.err
`
10978 # Allow CC to be a program name with arguments.
10983 lt_save_with_gnu_ld=$with_gnu_ld
10984 lt_save_path_LD=$lt_cv_path_LD
10985 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10986 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10988 $as_unset lt_cv_prog_gnu_ld
10990 if test -n "${lt_cv_path_LDCXX+set}"; then
10991 lt_cv_path_LD=$lt_cv_path_LDCXX
10993 $as_unset lt_cv_path_LD
10995 test -z "${LDCXX+set}" || LD=$LDCXX
10999 for cc_temp in $compiler""; do
11001 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11002 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11007 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11010 # We don't want -fno-exception wen compiling C++ code, so set the
11011 # no_builtin_flag separately
11012 if test "$GXX" = yes; then
11013 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11015 lt_prog_compiler_no_builtin_flag_CXX=
11018 if test "$GXX" = yes; then
11019 # Set up default GNU C++ configuration
11022 # Check whether --with-gnu-ld was given.
11023 if test "${with_gnu_ld+set}" = set; then
11024 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11030 if test "$GCC" = yes; then
11031 # Check if gcc -print-prog-name=ld gives a path.
11032 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11033 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11036 # gcc leaves a trailing carriage return which upsets mingw
11037 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11039 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11042 # Accept absolute paths.
11044 re_direlt='/[^/][^/]*/\.\./'
11045 # Canonicalize the pathname of ld
11046 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11047 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11048 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11050 test -z "$LD" && LD="$ac_prog"
11053 # If it fails, then pretend we aren't using GCC.
11057 # If it is relative, then search for the first ld in PATH.
11058 with_gnu_ld=unknown
11061 elif test "$with_gnu_ld" = yes; then
11062 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11063 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11065 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11066 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11068 if test "${lt_cv_path_LD+set}" = set; then
11069 echo $ECHO_N "(cached) $ECHO_C" >&6
11071 if test -z "$LD"; then
11072 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11073 for ac_dir in $PATH; do
11075 test -z "$ac_dir" && ac_dir=.
11076 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11077 lt_cv_path_LD="$ac_dir/$ac_prog"
11078 # Check to see if the program is GNU ld. I'd rather use --version,
11079 # but apparently some variants of GNU ld only accept -v.
11080 # Break only if it was the GNU/non-GNU ld that we prefer.
11081 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11082 *GNU* | *'with BFD'*)
11083 test "$with_gnu_ld" != no && break
11086 test "$with_gnu_ld" != yes && break
11093 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11097 LD="$lt_cv_path_LD"
11098 if test -n "$LD"; then
11099 { echo "$as_me:$LINENO: result: $LD" >&5
11100 echo "${ECHO_T}$LD" >&6; }
11102 { echo "$as_me:$LINENO: result: no" >&5
11103 echo "${ECHO_T}no" >&6; }
11105 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11106 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11107 { (exit 1); exit 1; }; }
11108 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11109 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11110 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11111 echo $ECHO_N "(cached) $ECHO_C" >&6
11113 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11114 case `$LD -v 2>&1 </dev
/null
` in
11115 *GNU* | *'with BFD'*)
11116 lt_cv_prog_gnu_ld=yes
11119 lt_cv_prog_gnu_ld=no
11123 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11124 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11125 with_gnu_ld=$lt_cv_prog_gnu_ld
11129 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11130 # archiving commands below assume that GNU ld is being used.
11131 if test "$with_gnu_ld" = yes; then
11132 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11133 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'
11135 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11136 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11138 # If archive_cmds runs LD, not CC, wlarc should be empty
11139 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11140 # investigate it a little bit more. (MM)
11143 # ancient GNU ld didn't support --whole-archive et. al.
11144 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11145 grep 'no-whole-archive' > /dev/null; then
11146 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11148 whole_archive_flag_spec_CXX=
11154 # A generic and very simple default shared library creation
11155 # command for GNU C++ for the case where it uses the native
11156 # linker, instead of GNU ld. If possible, this setting should
11157 # overridden to take advantage of the native linker features on
11158 # the platform it is being used on.
11159 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11162 # Commands to make compiler produce verbose output that lists
11163 # what "hidden" libraries, object files and flags are used when
11164 # linking a shared library.
11165 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11173 # PORTME: fill in a description of your system's C++ link characteristics
11174 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11175 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11179 # FIXME: insert proper C++ library support
11183 if test "$host_cpu" = ia64; then
11184 # On IA64, the linker does run time linking by default, so we don't
11185 # have to do anything special.
11186 aix_use_runtimelinking=no
11187 exp_sym_flag='-Bexport'
11190 aix_use_runtimelinking=no
11192 # Test if we are trying to use run time linking or normal
11193 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11194 # need to do runtime linking.
11195 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11196 for ld_flag in $LDFLAGS; do
11199 aix_use_runtimelinking=yes
11207 exp_sym_flag='-bexport'
11208 no_entry_flag='-bnoentry'
11211 # When large executables or shared objects are built, AIX ld can
11212 # have problems creating the table of contents. If linking a library
11213 # or program results in "error TOC overflow" add -mminimal-toc to
11214 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11215 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11217 archive_cmds_CXX=''
11218 hardcode_direct_CXX=yes
11219 hardcode_libdir_separator_CXX=':'
11220 link_all_deplibs_CXX=yes
11222 if test "$GXX" = yes; then
11223 case $host_os in aix4.[012]|aix4.[012].*)
11224 # We only want to do this on AIX 4.2 and lower, the check
11225 # below for broken collect2 doesn't work under 4.3+
11226 collect2name=`${CC} -print-prog-name=collect2
`
11227 if test -f "$collect2name" && \
11228 strings "$collect2name" | grep resolve_lib_name >/dev/null
11230 # We have reworked collect2
11233 # We have old collect2
11234 hardcode_direct_CXX=unsupported
11235 # It fails to find uninstalled libraries when the uninstalled
11236 # path is not listed in the libpath. Setting hardcode_minus_L
11237 # to unsupported forces relinking
11238 hardcode_minus_L_CXX=yes
11239 hardcode_libdir_flag_spec_CXX='-L$libdir'
11240 hardcode_libdir_separator_CXX=
11244 shared_flag='-shared'
11245 if test "$aix_use_runtimelinking" = yes; then
11246 shared_flag="$shared_flag "'${wl}-G'
11250 if test "$host_cpu" = ia64; then
11251 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11252 # chokes on -Wl,-G. The following line is correct:
11255 if test "$aix_use_runtimelinking" = yes; then
11256 shared_flag='${wl}-G'
11258 shared_flag='${wl}-bM:SRE'
11263 # It seems that -bexpall does not export symbols beginning with
11264 # underscore (_), so it is better to generate a list of symbols to export.
11265 always_export_symbols_CXX=yes
11266 if test "$aix_use_runtimelinking" = yes; then
11267 # Warning - without using the other runtime loading flags (-brtl),
11268 # -berok will link without error, but may produce a broken library.
11269 allow_undefined_flag_CXX='-berok'
11270 # Determine the default libpath from the value encoded in an empty executable.
11271 cat >conftest.$ac_ext <<_ACEOF
11274 cat confdefs.h >>conftest.$ac_ext
11275 cat >>conftest.$ac_ext <<_ACEOF
11276 /* end confdefs.h. */
11286 rm -f conftest.$ac_objext conftest$ac_exeext
11287 if { (ac_try="$ac_link"
11288 case "(($ac_try" in
11289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11290 *) ac_try_echo
=$ac_try;;
11292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11293 (eval "$ac_link") 2>conftest.er1
11295 grep -v '^ *+' conftest.er1
>conftest.err
11297 cat conftest.err
>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); } && {
11300 test -z "$ac_cxx_werror_flag" ||
11301 test ! -s conftest.err
11302 } && test -s conftest
$ac_exeext &&
11303 $as_test_x conftest
$ac_exeext; then
11305 lt_aix_libpath_sed
='
11306 /Import File Strings/,/^$/ {
11312 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11313 # Check for a 64-bit object if we didn't find anything.
11314 if test -z "$aix_libpath"; then
11315 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11318 echo "$as_me: failed program was:" >&5
11319 sed 's/^/| /' conftest.
$ac_ext >&5
11324 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11325 conftest
$ac_exeext conftest.
$ac_ext
11326 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11328 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11330 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"
11332 if test "$host_cpu" = ia64
; then
11333 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11334 allow_undefined_flag_CXX
="-z nodefs"
11335 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"
11337 # Determine the default libpath from the value encoded in an empty executable.
11338 cat >conftest.
$ac_ext <<_ACEOF
11341 cat confdefs.h
>>conftest.
$ac_ext
11342 cat >>conftest.
$ac_ext <<_ACEOF
11343 /* end confdefs.h. */
11353 rm -f conftest.
$ac_objext conftest
$ac_exeext
11354 if { (ac_try
="$ac_link"
11355 case "(($ac_try" in
11356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11357 *) ac_try_echo=$ac_try;;
11359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11360 (eval "$ac_link") 2>conftest.er1
11362 grep -v '^ *+' conftest.er1 >conftest.err
11364 cat conftest.err >&5
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); } && {
11367 test -z "$ac_cxx_werror_flag" ||
11368 test ! -s conftest.err
11369 } && test -s conftest$ac_exeext &&
11370 $as_test_x conftest$ac_exeext; then
11372 lt_aix_libpath_sed='
11373 /Import File Strings/,/^$/ {
11379 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11380 # Check for a 64-bit object if we didn't find anything.
11381 if test -z "$aix_libpath"; then
11382 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11385 echo "$as_me: failed program was:" >&5
11386 sed 's/^/| /' conftest.$ac_ext >&5
11391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11392 conftest$ac_exeext conftest.$ac_ext
11393 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11395 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11396 # Warning - without using the other run time loading flags,
11397 # -berok will link without error, but may produce a broken library.
11398 no_undefined_flag_CXX=' ${wl}-bernotok'
11399 allow_undefined_flag_CXX=' ${wl}-berok'
11400 # Exported symbols can be pulled into shared objects from archives
11401 whole_archive_flag_spec_CXX='$convenience'
11402 archive_cmds_need_lc_CXX=yes
11403 # This is similar to how AIX traditionally builds its shared libraries.
11404 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'
11410 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11411 allow_undefined_flag_CXX=unsupported
11412 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11413 # support --undefined. This deserves some investigation. FIXME
11414 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11421 case $cc_basename in
11423 # FIXME: insert proper C++ library support
11429 cygwin* | mingw* | pw32*)
11430 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11431 # as there is no search path for DLLs.
11432 hardcode_libdir_flag_spec_CXX='-L$libdir'
11433 allow_undefined_flag_CXX=unsupported
11434 always_export_symbols_CXX=no
11435 enable_shared_with_static_runtimes_CXX=yes
11437 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11438 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'
11439 # If the export-symbols file already is a .def file (1st line
11440 # is EXPORTS), use it as is; otherwise, prepend...
11441 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11442 cp $export_symbols $output_objdir/$soname.def;
11444 echo EXPORTS > $output_objdir/$soname.def;
11445 cat $export_symbols >> $output_objdir/$soname.def;
11447 $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'
11452 darwin* | rhapsody*)
11454 rhapsody* | darwin1.[012])
11455 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11458 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11459 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11461 case ${MACOSX_DEPLOYMENT_TARGET} in
11463 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11466 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11472 archive_cmds_need_lc_CXX=no
11473 hardcode_direct_CXX=no
11474 hardcode_automatic_CXX=yes
11475 hardcode_shlibpath_var_CXX=unsupported
11476 whole_archive_flag_spec_CXX=''
11477 link_all_deplibs_CXX=yes
11479 if test "$GXX" = yes ; then
11480 lt_int_apple_cc_single_mod=no
11481 output_verbose_link_cmd='echo'
11482 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11483 lt_int_apple_cc_single_mod=yes
11485 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11486 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11488 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'
11490 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11491 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11492 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11493 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}'
11495 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}'
11497 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}'
11499 case $cc_basename in
11501 output_verbose_link_cmd='echo'
11502 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'
11503 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11504 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11505 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}'
11506 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}'
11516 case $cc_basename in
11518 # FIXME: insert proper C++ library support
11522 # Green Hills C++ Compiler
11523 # FIXME: insert proper C++ library support
11527 # FIXME: insert proper C++ library support
11533 # C++ shared libraries reported to be fairly broken before switch to ELF
11537 archive_cmds_need_lc_CXX=no
11539 freebsd* | dragonfly*)
11540 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11547 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11548 hardcode_libdir_separator_CXX=:
11549 export_dynamic_flag_spec_CXX='${wl}-E'
11550 hardcode_direct_CXX=yes
11551 hardcode_minus_L_CXX=yes # Not in the search PATH,
11552 # but as the default
11553 # location of the library.
11555 case $cc_basename in
11557 # FIXME: insert proper C++ library support
11561 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'
11562 # Commands to make compiler produce verbose output that lists
11563 # what "hidden" libraries, object files and flags are used when
11564 # linking a shared library.
11566 # There doesn't appear to be a way to prevent this compiler from
11567 # explicitly linking system object files so we need to strip them
11568 # from the output so that they don't get included in the library
11570 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'
11573 if test "$GXX" = yes; then
11574 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'
11576 # FIXME: insert proper C++ library support
11583 if test $with_gnu_ld = no; then
11584 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11585 hardcode_libdir_separator_CXX=:
11590 export_dynamic_flag_spec_CXX='${wl}-E'
11596 hardcode_direct_CXX=no
11597 hardcode_shlibpath_var_CXX=no
11600 hardcode_direct_CXX=yes
11601 hardcode_minus_L_CXX=yes # Not in the search PATH,
11602 # but as the default
11603 # location of the library.
11607 case $cc_basename in
11609 # FIXME: insert proper C++ library support
11615 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11618 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11621 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11624 # Commands to make compiler produce verbose output that lists
11625 # what "hidden" libraries, object files and flags are used when
11626 # linking a shared library.
11628 # There doesn't appear to be a way to prevent this compiler from
11629 # explicitly linking system object files so we need to strip them
11630 # from the output so that they don't get included in the library
11632 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'
11635 if test "$GXX" = yes; then
11636 if test $with_gnu_ld = no; then
11639 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11642 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11645 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'
11650 # FIXME: insert proper C++ library support
11657 hardcode_direct_CXX=no
11658 hardcode_shlibpath_var_CXX=no
11659 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11660 export_dynamic_flag_spec_CXX='${wl}-E'
11661 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11662 # Instead, shared libraries are loaded at an image base (0x10000000 by
11663 # default) and relocated if they conflict, which is a slow very memory
11664 # consuming and fragmenting process. To avoid this, we pick a random,
11665 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11666 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11667 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'
11668 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'
11671 case $cc_basename in
11674 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'
11676 # Archives containing C++ object files must be created using
11677 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11678 # necessary to make sure instantiated templates are included
11680 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11683 if test "$GXX" = yes; then
11684 if test "$with_gnu_ld" = no; then
11685 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'
11687 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'
11690 link_all_deplibs_CXX=yes
11693 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11694 hardcode_libdir_separator_CXX=:
11696 linux* | k*bsd*-gnu)
11697 case $cc_basename in
11699 # Kuck and Associates, Inc. (KAI) C++ Compiler
11701 # KCC will only create a shared library if the output file
11702 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11703 # to its proper name (with version) after linking.
11704 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'
11705 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'
11706 # Commands to make compiler produce verbose output that lists
11707 # what "hidden" libraries, object files and flags are used when
11708 # linking a shared library.
11710 # There doesn't appear to be a way to prevent this compiler from
11711 # explicitly linking system object files so we need to strip them
11712 # from the output so that they don't get included in the library
11714 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'
11716 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11717 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11719 # Archives containing C++ object files must be created using
11720 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11721 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11726 # version 8.0 and above of icpc choke on multiply defined symbols
11727 # if we add $predep_objects and $postdep_objects, however 7.1 and
11728 # earlier do not add the objects themselves.
11729 case `$CC -V 2>&1` in
11731 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11732 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'
11734 *) # Version 8.0 or newer
11737 ia64
*) tmp_idyn
=' -i_dynamic';;
11739 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11740 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'
11743 archive_cmds_need_lc_CXX
=no
11744 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11745 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11746 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11749 # Portland Group C++ compiler
11750 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11751 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'
11753 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11754 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11755 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'
11759 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11760 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'
11762 runpath_var
=LD_RUN_PATH
11763 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11764 hardcode_libdir_separator_CXX
=:
11766 # Commands to make compiler produce verbose output that lists
11767 # what "hidden" libraries, object files and flags are used when
11768 # linking a shared library.
11770 # There doesn't appear to be a way to prevent this compiler from
11771 # explicitly linking system object files so we need to strip them
11772 # from the output so that they don't get included in the library
11774 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'
11777 case `$CC -V 2>&1 | sed 5q` in
11780 no_undefined_flag_CXX
=' -zdefs'
11781 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11782 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'
11783 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11784 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'
11786 # Not sure whether something based on
11787 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11789 output_verbose_link_cmd
='echo'
11791 # Archives containing C++ object files must be created using
11792 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11793 # necessary to make sure instantiated templates are included
11795 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11802 # FIXME: insert proper C++ library support
11806 # FIXME: insert proper C++ library support
11810 case $cc_basename in
11812 # FIXME: insert proper C++ library support
11816 # FIXME: insert proper C++ library support
11822 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11823 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11825 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11826 hardcode_direct_CXX
=yes
11827 hardcode_shlibpath_var_CXX
=no
11829 # Workaround some broken pre-1.5 toolchains
11830 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11833 # C++ shared libraries are fairly broken
11837 if test -f /usr
/libexec
/ld.so
; then
11838 hardcode_direct_CXX
=yes
11839 hardcode_shlibpath_var_CXX
=no
11840 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11841 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11842 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11843 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11844 export_dynamic_flag_spec_CXX
='${wl}-E'
11845 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11847 output_verbose_link_cmd
='echo'
11853 case $cc_basename in
11855 # Kuck and Associates, Inc. (KAI) C++ Compiler
11857 # KCC will only create a shared library if the output file
11858 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11859 # to its proper name (with version) after linking.
11860 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'
11862 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11863 hardcode_libdir_separator_CXX
=:
11865 # Archives containing C++ object files must be created using
11866 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11867 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11871 # Rational C++ 2.4.1
11872 # FIXME: insert proper C++ library support
11876 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11877 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'
11879 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11880 hardcode_libdir_separator_CXX
=:
11882 # Commands to make compiler produce verbose output that lists
11883 # what "hidden" libraries, object files and flags are used when
11884 # linking a shared library.
11886 # There doesn't appear to be a way to prevent this compiler from
11887 # explicitly linking system object files so we need to strip them
11888 # from the output so that they don't get included in the library
11890 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'
11893 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11894 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11895 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'
11897 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11898 hardcode_libdir_separator_CXX
=:
11900 # Commands to make compiler produce verbose output that lists
11901 # what "hidden" libraries, object files and flags are used when
11902 # linking a shared library.
11903 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11906 # FIXME: insert proper C++ library support
11913 case $cc_basename in
11915 # Kuck and Associates, Inc. (KAI) C++ Compiler
11917 # KCC will only create a shared library if the output file
11918 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11919 # to its proper name (with version) after linking.
11920 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'
11922 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11923 hardcode_libdir_separator_CXX
=:
11925 # Archives containing C++ object files must be created using
11926 # the KAI C++ compiler.
11927 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11930 # Rational C++ 2.4.1
11931 # FIXME: insert proper C++ library support
11935 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11936 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'
11937 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11938 echo "-hidden">> $lib.exp~
11939 $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~
11942 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11943 hardcode_libdir_separator_CXX
=:
11945 # Commands to make compiler produce verbose output that lists
11946 # what "hidden" libraries, object files and flags are used when
11947 # linking a shared library.
11949 # There doesn't appear to be a way to prevent this compiler from
11950 # explicitly linking system object files so we need to strip them
11951 # from the output so that they don't get included in the library
11953 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'
11956 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11957 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11958 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'
11960 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11961 hardcode_libdir_separator_CXX
=:
11963 # Commands to make compiler produce verbose output that lists
11964 # what "hidden" libraries, object files and flags are used when
11965 # linking a shared library.
11966 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11969 # FIXME: insert proper C++ library support
11976 # FIXME: insert proper C++ library support
11980 case $cc_basename in
11983 # FIXME: insert proper C++ library support
11988 # FIXME: insert proper C++ library support
11992 # FIXME: insert proper C++ library support
11998 case $cc_basename in
12000 # Sun C++ 4.2, 5.x and Centerline C++
12001 archive_cmds_need_lc_CXX
=yes
12002 no_undefined_flag_CXX
=' -zdefs'
12003 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12004 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12005 $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'
12007 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12008 hardcode_shlibpath_var_CXX
=no
12010 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12012 # The compiler driver will combine and reorder linker options,
12013 # but understands `-z linker_flag'.
12014 # Supported since Solaris 2.6 (maybe 2.5.1?)
12015 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12018 link_all_deplibs_CXX
=yes
12020 output_verbose_link_cmd
='echo'
12022 # Archives containing C++ object files must be created using
12023 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12024 # necessary to make sure instantiated templates are included
12026 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12029 # Green Hills C++ Compiler
12030 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12032 # The C++ compiler must be used to create the archive.
12033 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12036 # GNU C++ compiler with Solaris linker
12037 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12038 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12039 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12040 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12041 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12042 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12044 # Commands to make compiler produce verbose output that lists
12045 # what "hidden" libraries, object files and flags are used when
12046 # linking a shared library.
12047 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12049 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12051 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12052 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12053 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12055 # Commands to make compiler produce verbose output that lists
12056 # what "hidden" libraries, object files and flags are used when
12057 # linking a shared library.
12058 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12061 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12063 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12065 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12072 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12073 no_undefined_flag_CXX
='${wl}-z,text'
12074 archive_cmds_need_lc_CXX
=no
12075 hardcode_shlibpath_var_CXX
=no
12076 runpath_var
='LD_RUN_PATH'
12078 case $cc_basename in
12080 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12081 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12084 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12085 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12089 sysv5
* | sco3.2v5
* | sco5v6
*)
12090 # Note: We can NOT use -z defs as we might desire, because we do not
12091 # link with -lc, and that would cause any symbols used from libc to
12092 # always be unresolved, which means just about no library would
12093 # ever link correctly. If we're not using GNU ld we use -z text
12094 # though, which does catch some bad symbols but isn't as heavy-handed
12096 # For security reasons, it is highly recommended that you always
12097 # use absolute paths for naming shared libraries, and exclude the
12098 # DT_RUNPATH tag from executables and libraries. But doing so
12099 # requires that you compile everything twice, which is a pain.
12100 # So that behaviour is only enabled if SCOABSPATH is set to a
12101 # non-empty value in the environment. Most likely only useful for
12102 # creating official distributions of packages.
12103 # This is a hack until libtool officially supports absolute path
12104 # names for shared libraries.
12105 no_undefined_flag_CXX
='${wl}-z,text'
12106 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12107 archive_cmds_need_lc_CXX
=no
12108 hardcode_shlibpath_var_CXX
=no
12109 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12110 hardcode_libdir_separator_CXX
=':'
12111 link_all_deplibs_CXX
=yes
12112 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12113 runpath_var
='LD_RUN_PATH'
12115 case $cc_basename in
12117 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12118 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12121 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12122 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12127 case $cc_basename in
12129 # NonStop-UX NCC 3.20
12130 # FIXME: insert proper C++ library support
12134 # FIXME: insert proper C++ library support
12140 # FIXME: insert proper C++ library support
12144 # FIXME: insert proper C++ library support
12148 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12149 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12150 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12156 cat > conftest.
$ac_ext <<EOF
12160 Foo (void) { a = 0; }
12166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12167 (eval $ac_compile) 2>&5
12169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170 (exit $ac_status); }; then
12171 # Parse the compiler output and extract the necessary
12172 # objects, libraries and library flags.
12174 # Sentinel used to keep track of whether or not we are before
12175 # the conftest object file.
12176 pre_test_object_deps_done
=no
12178 # The `*' in the case matches for architectures that use `case' in
12179 # $output_verbose_cmd can trigger glob expansion during the loop
12180 # eval without this substitution.
12181 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12183 for p
in `eval $output_verbose_link_cmd`; do
12187 # Some compilers place space between "-{L,R}" and the path.
12188 # Remove the space.
12189 if test $p = "-L" \
12190 ||
test $p = "-R"; then
12197 if test "$pre_test_object_deps_done" = no
; then
12200 # Internal compiler library paths should come after those
12201 # provided the user. The postdeps already come after the
12202 # user supplied libs so there is no need to process them.
12203 if test -z "$compiler_lib_search_path_CXX"; then
12204 compiler_lib_search_path_CXX
="${prev}${p}"
12206 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12209 # The "-l" case would never come before the object being
12210 # linked, so don't bother handling this case.
12213 if test -z "$postdeps_CXX"; then
12214 postdeps_CXX
="${prev}${p}"
12216 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12222 # This assumes that the test object file only shows up
12223 # once in the compiler output.
12224 if test "$p" = "conftest.$objext"; then
12225 pre_test_object_deps_done
=yes
12229 if test "$pre_test_object_deps_done" = no
; then
12230 if test -z "$predep_objects_CXX"; then
12231 predep_objects_CXX
="$p"
12233 predep_objects_CXX
="$predep_objects_CXX $p"
12236 if test -z "$postdep_objects_CXX"; then
12237 postdep_objects_CXX
="$p"
12239 postdep_objects_CXX
="$postdep_objects_CXX $p"
12244 *) ;; # Ignore the rest.
12252 echo "libtool.m4: error: problem compiling CXX test program"
12255 $rm -f confest.
$objext
12257 # PORTME: override above test on systems where it is broken
12260 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12261 # hack all around it, let's just trust "g++" to DTRT.
12262 predep_objects_CXX
=
12263 postdep_objects_CXX
=
12268 case `$CC -V 2>&1 | sed 5q` in
12272 # The more standards-conforming stlport4 library is
12273 # incompatible with the Cstd library. Avoid specifying
12274 # it if it's in CXXFLAGS. Ignore libCrun as
12275 # -library=stlport4 depends on it.
12276 case " $CXX $CXXFLAGS " in
12277 *" -library=stlport4 "*)
12278 solaris_use_stlport4
=yes
12281 if test "$solaris_use_stlport4" != yes; then
12282 postdeps_CXX
='-library=Cstd -library=Crun'
12289 case $cc_basename in
12291 # The more standards-conforming stlport4 library is
12292 # incompatible with the Cstd library. Avoid specifying
12293 # it if it's in CXXFLAGS. Ignore libCrun as
12294 # -library=stlport4 depends on it.
12295 case " $CXX $CXXFLAGS " in
12296 *" -library=stlport4 "*)
12297 solaris_use_stlport4
=yes
12301 # Adding this requires a known-good setup of shared libraries for
12302 # Sun compiler versions before 5.6, else PIC objects from an old
12303 # archive will be linked into the output, leading to subtle bugs.
12304 if test "$solaris_use_stlport4" != yes; then
12305 postdeps_CXX
='-library=Cstd -library=Crun'
12313 case " $postdeps_CXX " in
12314 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12317 lt_prog_compiler_wl_CXX
=
12318 lt_prog_compiler_pic_CXX
=
12319 lt_prog_compiler_static_CXX
=
12321 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12322 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12324 # C++ specific cases for pic, static, wl, etc.
12325 if test "$GXX" = yes; then
12326 lt_prog_compiler_wl_CXX
='-Wl,'
12327 lt_prog_compiler_static_CXX
='-static'
12331 # All AIX code is PIC.
12332 if test "$host_cpu" = ia64
; then
12333 # AIX 5 now supports IA64 processor
12334 lt_prog_compiler_static_CXX
='-Bstatic'
12338 # FIXME: we need at least 68020 code to build shared libraries, but
12339 # adding the `-m68020' flag to GCC prevents building anything better,
12341 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12343 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12344 # PIC is the default for these OSes.
12346 mingw
* | cygwin
* | os2
* | pw32
*)
12347 # This hack is so that the source file can tell whether it is being
12348 # built for inclusion in a dll (and should export symbols for example).
12349 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12350 # (--disable-auto-import) libraries
12351 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12353 darwin
* | rhapsody
*)
12354 # PIC is the default on this platform
12355 # Common symbols not allowed in MH_DYLIB files
12356 lt_prog_compiler_pic_CXX
='-fno-common'
12359 # DJGPP does not support shared libraries at all
12360 lt_prog_compiler_pic_CXX
=
12363 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12364 # Instead, we relocate shared libraries at runtime.
12367 if test -d /usr
/nec
; then
12368 lt_prog_compiler_pic_CXX
=-Kconform_pic
12372 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12373 # not for PA HP-UX.
12378 lt_prog_compiler_pic_CXX
='-fPIC'
12383 lt_prog_compiler_pic_CXX
='-fPIC'
12389 # All AIX code is PIC.
12390 if test "$host_cpu" = ia64
; then
12391 # AIX 5 now supports IA64 processor
12392 lt_prog_compiler_static_CXX
='-Bstatic'
12394 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12398 case $cc_basename in
12400 # Green Hills C++ Compiler
12401 # _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"
12406 # PIC is the default on this platform
12407 # Common symbols not allowed in MH_DYLIB files
12408 case $cc_basename in
12410 lt_prog_compiler_pic_CXX
='-qnocommon'
12411 lt_prog_compiler_wl_CXX
='-Wl,'
12416 case $cc_basename in
12418 lt_prog_compiler_pic_CXX
='-KPIC'
12421 # Green Hills C++ Compiler
12422 lt_prog_compiler_pic_CXX
='-pic'
12428 freebsd
* | dragonfly
*)
12429 # FreeBSD uses GNU C++
12431 hpux9
* | hpux10
* | hpux11
*)
12432 case $cc_basename in
12434 lt_prog_compiler_wl_CXX
='-Wl,'
12435 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12436 if test "$host_cpu" != ia64
; then
12437 lt_prog_compiler_pic_CXX
='+Z'
12441 lt_prog_compiler_wl_CXX
='-Wl,'
12442 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12448 lt_prog_compiler_pic_CXX
='+Z'
12457 # This is c89, which is MS Visual C++ (no shared libs)
12458 # Anyone wants to do a port?
12460 irix5
* | irix6
* | nonstopux
*)
12461 case $cc_basename in
12463 lt_prog_compiler_wl_CXX
='-Wl,'
12464 lt_prog_compiler_static_CXX
='-non_shared'
12465 # CC pic flag -KPIC is the default.
12471 linux
* | k
*bsd
*-gnu)
12472 case $cc_basename in
12475 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12476 lt_prog_compiler_pic_CXX
='-fPIC'
12480 lt_prog_compiler_wl_CXX
='-Wl,'
12481 lt_prog_compiler_pic_CXX
='-KPIC'
12482 lt_prog_compiler_static_CXX
='-static'
12485 # Portland Group C++ compiler.
12486 lt_prog_compiler_wl_CXX
='-Wl,'
12487 lt_prog_compiler_pic_CXX
='-fpic'
12488 lt_prog_compiler_static_CXX
='-Bstatic'
12492 # Make sure the PIC flag is empty. It appears that all Alpha
12493 # Linux and Compaq Tru64 Unix objects are PIC.
12494 lt_prog_compiler_pic_CXX
=
12495 lt_prog_compiler_static_CXX
='-non_shared'
12498 case `$CC -V 2>&1 | sed 5q` in
12501 lt_prog_compiler_pic_CXX
='-KPIC'
12502 lt_prog_compiler_static_CXX
='-Bstatic'
12503 lt_prog_compiler_wl_CXX
='-Qoption ld '
12514 case $cc_basename in
12516 lt_prog_compiler_pic_CXX
='-W c,exportall'
12524 osf3
* | osf4
* | osf5
*)
12525 case $cc_basename in
12527 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12530 # Rational C++ 2.4.1
12531 lt_prog_compiler_pic_CXX
='-pic'
12534 # Digital/Compaq C++
12535 lt_prog_compiler_wl_CXX
='-Wl,'
12536 # Make sure the PIC flag is empty. It appears that all Alpha
12537 # Linux and Compaq Tru64 Unix objects are PIC.
12538 lt_prog_compiler_pic_CXX
=
12539 lt_prog_compiler_static_CXX
='-non_shared'
12548 case $cc_basename in
12550 # Sun C++ 4.2, 5.x and Centerline C++
12551 lt_prog_compiler_pic_CXX
='-KPIC'
12552 lt_prog_compiler_static_CXX
='-Bstatic'
12553 lt_prog_compiler_wl_CXX
='-Qoption ld '
12556 # Green Hills C++ Compiler
12557 lt_prog_compiler_pic_CXX
='-PIC'
12564 case $cc_basename in
12567 lt_prog_compiler_pic_CXX
='-pic'
12568 lt_prog_compiler_static_CXX
='-Bstatic'
12572 lt_prog_compiler_pic_CXX
='-pic'
12579 case $cc_basename in
12581 # NonStop-UX NCC 3.20
12582 lt_prog_compiler_pic_CXX
='-KPIC'
12588 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12589 case $cc_basename in
12591 lt_prog_compiler_wl_CXX
='-Wl,'
12592 lt_prog_compiler_pic_CXX
='-KPIC'
12593 lt_prog_compiler_static_CXX
='-Bstatic'
12600 lt_prog_compiler_can_build_shared_CXX
=no
12605 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12606 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12609 # Check to make sure the PIC flag actually works.
12611 if test -n "$lt_prog_compiler_pic_CXX"; then
12613 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12614 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12615 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12616 echo $ECHO_N "(cached) $ECHO_C" >&6
12618 lt_prog_compiler_pic_works_CXX
=no
12619 ac_outfile
=conftest.
$ac_objext
12620 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12621 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12622 # Insert the option either (1) after the last *FLAGS variable, or
12623 # (2) before a word containing "conftest.", or (3) at the end.
12624 # Note that $ac_compile itself does not contain backslashes and begins
12625 # with a dollar sign (not a hyphen), so the echo should work correctly.
12626 # The option is referenced via a variable to avoid confusing sed.
12627 lt_compile
=`echo "$ac_compile" | $SED \
12628 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12629 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12630 -e 's:$: $lt_compiler_flag:'`
12631 (eval echo "\"\$as_me:12631: $lt_compile\"" >&5)
12632 (eval "$lt_compile" 2>conftest.err
)
12634 cat conftest.err
>&5
12635 echo "$as_me:12635: \$? = $ac_status" >&5
12636 if (exit $ac_status) && test -s "$ac_outfile"; then
12637 # The compiler can only warn and ignore the option if not recognized
12638 # So say no if there are warnings other than the usual output.
12639 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12640 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12641 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12642 lt_prog_compiler_pic_works_CXX
=yes
12648 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12649 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12651 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12652 case $lt_prog_compiler_pic_CXX in
12654 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12657 lt_prog_compiler_pic_CXX
=
12658 lt_prog_compiler_can_build_shared_CXX
=no
12663 # For platforms which do not support PIC, -DPIC is meaningless:
12665 lt_prog_compiler_pic_CXX
=
12668 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12673 # Check to make sure the static flag actually works.
12675 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12676 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12677 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12678 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12679 echo $ECHO_N "(cached) $ECHO_C" >&6
12681 lt_prog_compiler_static_works_CXX
=no
12682 save_LDFLAGS
="$LDFLAGS"
12683 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12684 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12685 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12686 # The linker can only warn and ignore the option if not recognized
12687 # So say no if there are warnings
12688 if test -s conftest.err
; then
12689 # Append any errors to the config.log.
12690 cat conftest.err
1>&5
12691 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12692 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12693 if diff conftest.exp conftest.er2
>/dev
/null
; then
12694 lt_prog_compiler_static_works_CXX
=yes
12697 lt_prog_compiler_static_works_CXX
=yes
12701 LDFLAGS
="$save_LDFLAGS"
12704 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12705 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12707 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12710 lt_prog_compiler_static_CXX
=
12714 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12715 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12716 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12717 echo $ECHO_N "(cached) $ECHO_C" >&6
12719 lt_cv_prog_compiler_c_o_CXX
=no
12720 $rm -r conftest
2>/dev
/null
12724 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12726 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12727 # Insert the option either (1) after the last *FLAGS variable, or
12728 # (2) before a word containing "conftest.", or (3) at the end.
12729 # Note that $ac_compile itself does not contain backslashes and begins
12730 # with a dollar sign (not a hyphen), so the echo should work correctly.
12731 lt_compile
=`echo "$ac_compile" | $SED \
12732 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12733 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12734 -e 's:$: $lt_compiler_flag:'`
12735 (eval echo "\"\$as_me:12735: $lt_compile\"" >&5)
12736 (eval "$lt_compile" 2>out
/conftest.err
)
12738 cat out
/conftest.err
>&5
12739 echo "$as_me:12739: \$? = $ac_status" >&5
12740 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12742 # The compiler can only warn and ignore the option if not recognized
12743 # So say no if there are warnings
12744 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12745 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12746 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12747 lt_cv_prog_compiler_c_o_CXX
=yes
12752 # SGI C++ compiler will create directory out/ii_files/ for
12753 # template instantiation
12754 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12755 $rm out
/* && rmdir out
12761 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12762 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12765 hard_links
="nottested"
12766 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12767 # do not overwrite the value of need_locks provided by the user
12768 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12769 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12772 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12774 ln conftest.a conftest.b
2>&5 || hard_links
=no
12775 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12776 { echo "$as_me:$LINENO: result: $hard_links" >&5
12777 echo "${ECHO_T}$hard_links" >&6; }
12778 if test "$hard_links" = no
; then
12779 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12780 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12787 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12788 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12790 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12793 # If we're using GNU nm, then we don't want the "-C" option.
12794 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12795 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12796 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'
12798 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'
12802 export_symbols_cmds_CXX
="$ltdll_cmds"
12805 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'
12808 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12812 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12813 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12814 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12817 # Do we need to explicitly link libc?
12819 case "x$archive_cmds_need_lc_CXX" in
12821 # Assume -lc should be added
12822 archive_cmds_need_lc_CXX
=yes
12824 if test "$enable_shared" = yes && test "$GCC" = yes; then
12825 case $archive_cmds_CXX in
12827 # FIXME: we may have to deal with multi-command sequences.
12830 # Test whether the compiler implicitly links with -lc since on some
12831 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12832 # to ld, don't add -lc before -lgcc.
12833 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12834 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12836 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12839 (eval $ac_compile) 2>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); } 2>conftest.err
; then
12845 libobjs
=conftest.
$ac_objext
12847 wl
=$lt_prog_compiler_wl_CXX
12848 pic_flag
=$lt_prog_compiler_pic_CXX
12854 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12855 allow_undefined_flag_CXX
=
12856 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12857 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }
12862 archive_cmds_need_lc_CXX
=no
12864 archive_cmds_need_lc_CXX
=yes
12866 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12868 cat conftest.err
1>&5
12871 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12872 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12879 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12880 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12881 library_names_spec
=
12882 libname_spec
='lib$name'
12886 postuninstall_cmds
=
12890 shlibpath_overrides_runpath
=unknown
12892 dynamic_linker
="$host_os ld.so"
12893 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12895 need_lib_prefix
=unknown
12896 hardcode_into_libs
=no
12898 # when you set need_version to no, make sure it does not cause -set_version
12899 # flags to be left without arguments
12900 need_version
=unknown
12905 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12906 shlibpath_var
=LIBPATH
12908 # AIX 3 has no versioning support, so we append a major version to the name.
12909 soname_spec
='${libname}${release}${shared_ext}$major'
12916 hardcode_into_libs
=yes
12917 if test "$host_cpu" = ia64
; then
12918 # AIX 5 supports IA64
12919 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12920 shlibpath_var
=LD_LIBRARY_PATH
12922 # With GCC up to 2.95.x, collect2 would create an import file
12923 # for dependence libraries. The import file would start with
12924 # the line `#! .'. This would cause the generated library to
12925 # depend on `.', always an invalid library. This was fixed in
12926 # development snapshots of GCC prior to 3.0.
12928 aix4 | aix4.
[01] | aix4.
[01].
*)
12929 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12931 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12934 can_build_shared
=no
12938 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12939 # soname into executable. Probably we can add versioning support to
12940 # collect2, so additional links can be useful in future.
12941 if test "$aix_use_runtimelinking" = yes; then
12942 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12943 # instead of lib<name>.a to let people know that these are not
12944 # typical AIX shared libraries.
12945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12947 # We preserve .a as extension for shared libraries through AIX4.2
12948 # and later when we are not doing run time linking.
12949 library_names_spec
='${libname}${release}.a $libname.a'
12950 soname_spec
='${libname}${release}${shared_ext}$major'
12952 shlibpath_var
=LIBPATH
12957 library_names_spec
='$libname.ixlibrary $libname.a'
12958 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12959 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'
12963 library_names_spec
='${libname}${shared_ext}'
12964 dynamic_linker
="$host_os ld.so"
12965 shlibpath_var
=LIBRARY_PATH
12971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12972 soname_spec
='${libname}${release}${shared_ext}$major'
12973 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12974 shlibpath_var
=LD_LIBRARY_PATH
12975 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12976 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12977 # the default ld.so.conf also contains /usr/contrib/lib and
12978 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12979 # libtool to hard-code these into programs
12982 cygwin
* | mingw
* | pw32
*)
12983 version_type
=windows
12988 case $GCC,$host_os in
12989 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12990 library_names_spec
='$libname.dll.a'
12991 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12992 postinstall_cmds
='base_file=`basename \${file}`~
12993 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12994 dldir=$destdir/`dirname \$dlpath`~
12995 test -d \$dldir || mkdir -p \$dldir~
12996 $install_prog $dir/$dlname \$dldir/$dlname~
12997 chmod a+x \$dldir/$dlname'
12998 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12999 dlpath=$dir/\$dldll~
13001 shlibpath_overrides_runpath
=yes
13005 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13006 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13007 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13010 # MinGW DLLs use traditional 'lib' prefix
13011 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13012 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13013 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13014 # It is most probably a Windows format PATH printed by
13015 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13016 # path with ; separators, and with drive letters. We can handle the
13017 # drive letters (cygwin fileutils understands them), so leave them,
13018 # especially as we might pass files found there to a mingw objdump,
13019 # which wouldn't understand a cygwinified path. Ahh.
13020 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13022 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13026 # pw32 DLLs use 'pw' prefix rather than 'lib'
13027 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13033 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13036 dynamic_linker
='Win32 ld.exe'
13037 # FIXME: first we should search . and the directory the executable is in
13041 darwin
* | rhapsody
*)
13042 dynamic_linker
="$host_os dyld"
13043 version_type
=darwin
13046 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13047 soname_spec
='${libname}${release}${major}$shared_ext'
13048 shlibpath_overrides_runpath
=yes
13049 shlibpath_var
=DYLD_LIBRARY_PATH
13050 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13052 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13060 soname_spec
='${libname}${release}${shared_ext}$major'
13061 shlibpath_var
=LD_LIBRARY_PATH
13068 freebsd
* | dragonfly
*)
13069 # DragonFly does not have aout. When/if they implement a new
13070 # versioning mechanism, adjust this.
13071 if test -x /usr
/bin
/objformat
; then
13072 objformat
=`/usr/bin/objformat`
13075 freebsd
[123]*) objformat
=aout
;;
13076 *) objformat
=elf
;;
13079 version_type
=freebsd-
$objformat
13080 case $version_type in
13082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13087 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13091 shlibpath_var
=LD_LIBRARY_PATH
13094 shlibpath_overrides_runpath
=yes
13096 freebsd3.
[01]* | freebsdelf3.
[01]*)
13097 shlibpath_overrides_runpath
=yes
13098 hardcode_into_libs
=yes
13100 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13101 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13102 shlibpath_overrides_runpath
=no
13103 hardcode_into_libs
=yes
13105 *) # from 4.6 on, and DragonFly
13106 shlibpath_overrides_runpath
=yes
13107 hardcode_into_libs
=yes
13116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13117 soname_spec
='${libname}${release}${shared_ext}$major'
13118 shlibpath_var
=LD_LIBRARY_PATH
13119 hardcode_into_libs
=yes
13122 hpux9
* | hpux10
* | hpux11
*)
13123 # Give a soname corresponding to the major version so that dld.sl refuses to
13124 # link against other versions.
13131 hardcode_into_libs
=yes
13132 dynamic_linker
="$host_os dld.so"
13133 shlibpath_var
=LD_LIBRARY_PATH
13134 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13136 soname_spec
='${libname}${release}${shared_ext}$major'
13137 if test "X$HPUX_IA64_MODE" = X32
; then
13138 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13140 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13142 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13146 hardcode_into_libs
=yes
13147 dynamic_linker
="$host_os dld.sl"
13148 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13149 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13151 soname_spec
='${libname}${release}${shared_ext}$major'
13152 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13153 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13157 dynamic_linker
="$host_os dld.sl"
13158 shlibpath_var
=SHLIB_PATH
13159 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13161 soname_spec
='${libname}${release}${shared_ext}$major'
13164 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13165 postinstall_cmds
='chmod 555 $lib'
13172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13173 soname_spec
='${libname}${release}${shared_ext}$major'
13174 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13175 shlibpath_var
=LD_LIBRARY_PATH
13176 shlibpath_overrides_runpath
=no
13177 hardcode_into_libs
=yes
13180 irix5
* | irix6
* | nonstopux
*)
13182 nonstopux
*) version_type
=nonstopux
;;
13184 if test "$lt_cv_prog_gnu_ld" = yes; then
13192 soname_spec
='${libname}${release}${shared_ext}$major'
13193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13195 irix5
* | nonstopux
*)
13196 libsuff
= shlibsuff
=
13199 case $LD in # libtool.m4 will add one of these switches to LD
13200 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13201 libsuff
= shlibsuff
= libmagic
=32-bit;;
13202 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13203 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13204 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13205 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13206 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13210 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13211 shlibpath_overrides_runpath
=no
13212 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13213 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13214 hardcode_into_libs
=yes
13217 # No shared lib support for Linux oldld, aout, or coff.
13218 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13222 # This must be Linux ELF.
13223 linux
* | k
*bsd
*-gnu)
13227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13228 soname_spec
='${libname}${release}${shared_ext}$major'
13229 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13230 shlibpath_var
=LD_LIBRARY_PATH
13231 shlibpath_overrides_runpath
=no
13232 # This implies no fast_install, which is unacceptable.
13233 # Some rework will be needed to allow for fast_install
13234 # before this can be enabled.
13235 hardcode_into_libs
=yes
13236 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13237 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13239 # Append ld.so.conf contents to the search path
13240 if test -f /etc
/ld.so.conf
; then
13241 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' ' '`
13242 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13245 # We used to test for /lib/ld.so.1 and disable shared libraries on
13246 # powerpc, because MkLinux only supported shared libraries with the
13247 # GNU dynamic linker. Since this was broken with cross compilers,
13248 # most powerpc-linux boxes support dynamic linking these days and
13249 # people can always --disable-shared, the test was removed, and we
13250 # assume the GNU/Linux dynamic linker is in use.
13251 dynamic_linker
='GNU/Linux ld.so'
13258 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13260 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13261 dynamic_linker
='NetBSD (a.out) ld.so'
13263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13264 soname_spec
='${libname}${release}${shared_ext}$major'
13265 dynamic_linker
='NetBSD ld.elf_so'
13267 shlibpath_var
=LD_LIBRARY_PATH
13268 shlibpath_overrides_runpath
=yes
13269 hardcode_into_libs
=yes
13274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13275 shlibpath_var
=LD_LIBRARY_PATH
13276 shlibpath_overrides_runpath
=yes
13283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13284 soname_spec
='${libname}${release}${shared_ext}$major'
13285 shlibpath_var
=LD_LIBRARY_PATH
13286 shlibpath_overrides_runpath
=yes
13291 sys_lib_dlsearch_path_spec
="/usr/lib"
13293 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13295 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13296 *) need_version
=no
;;
13298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13299 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13300 shlibpath_var
=LD_LIBRARY_PATH
13301 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13303 openbsd2.
[89] | openbsd2.
[89].
*)
13304 shlibpath_overrides_runpath
=no
13307 shlibpath_overrides_runpath
=yes
13311 shlibpath_overrides_runpath
=yes
13316 libname_spec
='$name'
13319 library_names_spec
='$libname${shared_ext} $libname.a'
13320 dynamic_linker
='OS/2 ld.exe'
13321 shlibpath_var
=LIBPATH
13324 osf3
* | osf4
* | osf5
*)
13328 soname_spec
='${libname}${release}${shared_ext}$major'
13329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13330 shlibpath_var
=LD_LIBRARY_PATH
13331 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13332 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13344 soname_spec
='${libname}${release}${shared_ext}$major'
13345 shlibpath_var
=LD_LIBRARY_PATH
13346 shlibpath_overrides_runpath
=yes
13347 hardcode_into_libs
=yes
13348 # ldd complains unless libraries are executable
13349 postinstall_cmds
='chmod +x $lib'
13354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13355 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13356 shlibpath_var
=LD_LIBRARY_PATH
13357 shlibpath_overrides_runpath
=yes
13358 if test "$with_gnu_ld" = yes; then
13366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13367 soname_spec
='${libname}${release}${shared_ext}$major'
13368 shlibpath_var
=LD_LIBRARY_PATH
13369 case $host_vendor in
13371 shlibpath_overrides_runpath
=no
13373 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13374 runpath_var
=LD_RUN_PATH
13382 shlibpath_overrides_runpath
=no
13383 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13389 if test -d /usr
/nec
;then
13391 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13392 soname_spec
='$libname${shared_ext}.$major'
13393 shlibpath_var
=LD_LIBRARY_PATH
13397 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13398 version_type
=freebsd-elf
13401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13402 soname_spec
='${libname}${release}${shared_ext}$major'
13403 shlibpath_var
=LD_LIBRARY_PATH
13404 hardcode_into_libs
=yes
13405 if test "$with_gnu_ld" = yes; then
13406 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13407 shlibpath_overrides_runpath
=no
13409 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13410 shlibpath_overrides_runpath
=yes
13413 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13417 sys_lib_dlsearch_path_spec
='/usr/lib'
13422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13423 soname_spec
='${libname}${release}${shared_ext}$major'
13424 shlibpath_var
=LD_LIBRARY_PATH
13431 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13432 echo "${ECHO_T}$dynamic_linker" >&6; }
13433 test "$dynamic_linker" = no
&& can_build_shared
=no
13435 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13436 if test "$GCC" = yes; then
13437 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13440 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13441 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13442 hardcode_action_CXX
=
13443 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13444 test -n "$runpath_var_CXX" || \
13445 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13447 # We can hardcode non-existant directories.
13448 if test "$hardcode_direct_CXX" != no
&&
13449 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13450 # have to relink, otherwise we might link with an installed library
13451 # when we should be linking with a yet-to-be-installed one
13452 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13453 test "$hardcode_minus_L_CXX" != no
; then
13454 # Linking always hardcodes the temporary library directory.
13455 hardcode_action_CXX
=relink
13457 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13458 hardcode_action_CXX
=immediate
13461 # We cannot hardcode anything, or else we can only hardcode existing
13463 hardcode_action_CXX
=unsupported
13465 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13466 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13468 if test "$hardcode_action_CXX" = relink
; then
13469 # Fast installation is not supported
13470 enable_fast_install
=no
13471 elif test "$shlibpath_overrides_runpath" = yes ||
13472 test "$enable_shared" = no
; then
13473 # Fast installation is not necessary
13474 enable_fast_install
=needless
13478 # The else clause should only fire when bootstrapping the
13479 # libtool distribution, otherwise you forgot to ship ltmain.sh
13480 # with your package, and you will get complaints that there are
13481 # no rules to generate ltmain.sh.
13482 if test -f "$ltmain"; then
13483 # See if we are running on zsh, and set the options which allow our commands through
13484 # without removal of \ escapes.
13485 if test -n "${ZSH_VERSION+set}" ; then
13486 setopt NO_GLOB_SUBST
13488 # Now quote all the things that may contain metacharacters while being
13489 # careful not to overquote the AC_SUBSTed values. We take copies of the
13490 # variables and quote the copies for generation of the libtool script.
13491 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13493 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13494 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13495 deplibs_check_method reload_flag reload_cmds need_locks \
13496 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13497 lt_cv_sys_global_symbol_to_c_name_address \
13498 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13499 old_postinstall_cmds old_postuninstall_cmds \
13503 lt_prog_compiler_wl_CXX \
13504 lt_prog_compiler_pic_CXX \
13505 lt_prog_compiler_static_CXX \
13506 lt_prog_compiler_no_builtin_flag_CXX \
13507 export_dynamic_flag_spec_CXX \
13508 thread_safe_flag_spec_CXX \
13509 whole_archive_flag_spec_CXX \
13510 enable_shared_with_static_runtimes_CXX \
13511 old_archive_cmds_CXX \
13512 old_archive_from_new_cmds_CXX \
13513 predep_objects_CXX \
13514 postdep_objects_CXX \
13517 compiler_lib_search_path_CXX \
13519 archive_expsym_cmds_CXX \
13520 postinstall_cmds_CXX \
13521 postuninstall_cmds_CXX \
13522 old_archive_from_expsyms_cmds_CXX \
13523 allow_undefined_flag_CXX \
13524 no_undefined_flag_CXX \
13525 export_symbols_cmds_CXX \
13526 hardcode_libdir_flag_spec_CXX \
13527 hardcode_libdir_flag_spec_ld_CXX \
13528 hardcode_libdir_separator_CXX \
13529 hardcode_automatic_CXX \
13531 module_expsym_cmds_CXX \
13532 lt_cv_prog_compiler_c_o_CXX \
13533 fix_srcfile_path_CXX \
13534 exclude_expsyms_CXX \
13535 include_expsyms_CXX
; do
13538 old_archive_cmds_CXX | \
13539 old_archive_from_new_cmds_CXX | \
13540 archive_cmds_CXX | \
13541 archive_expsym_cmds_CXX | \
13542 module_cmds_CXX | \
13543 module_expsym_cmds_CXX | \
13544 old_archive_from_expsyms_cmds_CXX | \
13545 export_symbols_cmds_CXX | \
13546 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13547 postinstall_cmds | postuninstall_cmds | \
13548 old_postinstall_cmds | old_postuninstall_cmds | \
13549 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13550 # Double-quote double-evaled strings.
13551 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13554 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13560 *'\$0 --fallback-echo"')
13561 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13567 cat <<__EOF__ >> "$cfgfile"
13568 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13570 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13572 # Shell to use when invoking shell scripts.
13575 # Whether or not to build shared libraries.
13576 build_libtool_libs=$enable_shared
13578 # Whether or not to build static libraries.
13579 build_old_libs=$enable_static
13581 # Whether or not to add -lc for building shared libraries.
13582 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13584 # Whether or not to disallow shared libs when runtime libs are static
13585 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13587 # Whether or not to optimize for fast installation.
13588 fast_install=$enable_fast_install
13591 host_alias=$host_alias
13595 # The build system.
13596 build_alias=$build_alias
13600 # An echo program that does not interpret backslashes.
13605 AR_FLAGS=$lt_AR_FLAGS
13610 # LTCC compiler flags.
13611 LTCFLAGS=$lt_LTCFLAGS
13613 # A language-specific compiler.
13614 CC=$lt_compiler_CXX
13616 # Is the compiler the GNU C compiler?
13622 # The linker used to build libraries.
13625 # Whether we need hard or soft links.
13628 # A BSD-compatible nm program.
13631 # A symbol stripping program
13634 # Used to examine libraries when file_magic_cmd begins "file"
13635 MAGIC_CMD=$MAGIC_CMD
13637 # Used on cygwin: DLL creation program.
13640 # Used on cygwin: object dumper.
13643 # Used on cygwin: assembler.
13646 # The name of the directory that contains temporary libtool files.
13649 # How to create reloadable object files.
13650 reload_flag=$lt_reload_flag
13651 reload_cmds=$lt_reload_cmds
13653 # How to pass a linker flag through the compiler.
13654 wl=$lt_lt_prog_compiler_wl_CXX
13656 # Object file suffix (normally "o").
13657 objext="$ac_objext"
13659 # Old archive suffix (normally "a").
13662 # Shared library suffix (normally ".so").
13663 shrext_cmds='$shrext_cmds'
13665 # Executable file suffix (normally "").
13668 # Additional compiler flags for building library objects.
13669 pic_flag=$lt_lt_prog_compiler_pic_CXX
13672 # What is the maximum length of a command?
13673 max_cmd_len=$lt_cv_sys_max_cmd_len
13675 # Does compiler simultaneously support -c and -o options?
13676 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13678 # Must we lock files when doing compilation?
13679 need_locks=$lt_need_locks
13681 # Do we need the lib prefix for modules?
13682 need_lib_prefix=$need_lib_prefix
13684 # Do we need a version for libraries?
13685 need_version=$need_version
13687 # Whether dlopen is supported.
13688 dlopen_support=$enable_dlopen
13690 # Whether dlopen of programs is supported.
13691 dlopen_self=$enable_dlopen_self
13693 # Whether dlopen of statically linked programs is supported.
13694 dlopen_self_static=$enable_dlopen_self_static
13696 # Compiler flag to prevent dynamic linking.
13697 link_static_flag=$lt_lt_prog_compiler_static_CXX
13699 # Compiler flag to turn off builtin functions.
13700 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13702 # Compiler flag to allow reflexive dlopens.
13703 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13705 # Compiler flag to generate shared objects directly from archives.
13706 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13708 # Compiler flag to generate thread-safe objects.
13709 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13711 # Library versioning type.
13712 version_type=$version_type
13714 # Format of library name prefix.
13715 libname_spec=$lt_libname_spec
13717 # List of archive names. First name is the real one, the rest are links.
13718 # The last name is the one that the linker finds with -lNAME.
13719 library_names_spec=$lt_library_names_spec
13721 # The coded name of the library, if different from the real name.
13722 soname_spec=$lt_soname_spec
13724 # Commands used to build and install an old-style archive.
13726 old_archive_cmds=$lt_old_archive_cmds_CXX
13727 old_postinstall_cmds=$lt_old_postinstall_cmds
13728 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13730 # Create an old-style archive from a shared archive.
13731 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13733 # Create a temporary old-style archive to link instead of a shared archive.
13734 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13736 # Commands used to build and install a shared archive.
13737 archive_cmds=$lt_archive_cmds_CXX
13738 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13739 postinstall_cmds=$lt_postinstall_cmds
13740 postuninstall_cmds=$lt_postuninstall_cmds
13742 # Commands used to build a loadable module (assumed same as above if empty)
13743 module_cmds=$lt_module_cmds_CXX
13744 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13746 # Commands to strip libraries.
13747 old_striplib=$lt_old_striplib
13748 striplib=$lt_striplib
13750 # Dependencies to place before the objects being linked to create a
13752 predep_objects=$lt_predep_objects_CXX
13754 # Dependencies to place after the objects being linked to create a
13756 postdep_objects=$lt_postdep_objects_CXX
13758 # Dependencies to place before the objects being linked to create a
13760 predeps=$lt_predeps_CXX
13762 # Dependencies to place after the objects being linked to create a
13764 postdeps=$lt_postdeps_CXX
13766 # The library search path used internally by the compiler when linking
13767 # a shared library.
13768 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13770 # Method to check whether dependent libraries are shared objects.
13771 deplibs_check_method=$lt_deplibs_check_method
13773 # Command to use when deplibs_check_method == file_magic.
13774 file_magic_cmd=$lt_file_magic_cmd
13776 # Flag that allows shared libraries with undefined symbols to be built.
13777 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13779 # Flag that forces no undefined symbols.
13780 no_undefined_flag=$lt_no_undefined_flag_CXX
13782 # Commands used to finish a libtool library installation in a directory.
13783 finish_cmds=$lt_finish_cmds
13785 # Same as above, but a single script fragment to be evaled but not shown.
13786 finish_eval=$lt_finish_eval
13788 # Take the output of nm and produce a listing of raw symbols and C names.
13789 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13791 # Transform the output of nm in a proper C declaration
13792 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13794 # Transform the output of nm in a C name address pair
13795 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13797 # This is the shared library runtime path variable.
13798 runpath_var=$runpath_var
13800 # This is the shared library path variable.
13801 shlibpath_var=$shlibpath_var
13803 # Is shlibpath searched before the hard-coded library search path?
13804 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13806 # How to hardcode a shared library path into an executable.
13807 hardcode_action=$hardcode_action_CXX
13809 # Whether we should hardcode library paths into libraries.
13810 hardcode_into_libs=$hardcode_into_libs
13812 # Flag to hardcode \$libdir into a binary during linking.
13813 # This must work even if \$libdir does not exist.
13814 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13816 # If ld is used when linking, flag to hardcode \$libdir into
13817 # a binary during linking. This must work even if \$libdir does
13819 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13821 # Whether we need a single -rpath flag with a separated argument.
13822 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13824 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13825 # resulting binary.
13826 hardcode_direct=$hardcode_direct_CXX
13828 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13829 # resulting binary.
13830 hardcode_minus_L=$hardcode_minus_L_CXX
13832 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13833 # the resulting binary.
13834 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13836 # Set to yes if building a shared library automatically hardcodes DIR into the library
13837 # and all subsequent libraries and executables linked against it.
13838 hardcode_automatic=$hardcode_automatic_CXX
13840 # Variables whose values should be saved in libtool wrapper scripts and
13841 # restored at relink time.
13842 variables_saved_for_relink="$variables_saved_for_relink"
13844 # Whether libtool must link a program against all its dependency libraries.
13845 link_all_deplibs=$link_all_deplibs_CXX
13847 # Compile-time system search path for libraries
13848 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13850 # Run-time system search path for libraries
13851 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13853 # Fix the shell variable \$srcfile for the compiler.
13854 fix_srcfile_path=$lt_fix_srcfile_path
13856 # Set to yes if exported symbols are required.
13857 always_export_symbols=$always_export_symbols_CXX
13859 # The commands to list exported symbols.
13860 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13862 # The commands to extract the exported symbol list from a shared archive.
13863 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13865 # Symbols that should not be listed in the preloaded symbols.
13866 exclude_expsyms=$lt_exclude_expsyms_CXX
13868 # Symbols that must always be exported.
13869 include_expsyms=$lt_include_expsyms_CXX
13871 # ### END LIBTOOL TAG CONFIG: $tagname
13877 # If there is no Makefile yet, we rely on a make rule to execute
13878 # `config.status --recheck' to rerun these tests and create the
13879 # libtool script then.
13880 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13881 if test -f "$ltmain_in"; then
13882 test -f Makefile
&& make "$ltmain"
13888 ac_cpp
='$CPP $CPPFLAGS'
13889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13897 with_gnu_ldcxx
=$with_gnu_ld
13898 with_gnu_ld
=$lt_save_with_gnu_ld
13899 lt_cv_path_LDCXX
=$lt_cv_path_LD
13900 lt_cv_path_LD
=$lt_save_path_LD
13901 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13902 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13910 if test -n "$F77" && test "X$F77" != "Xno"; then
13913 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13914 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13915 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13918 archive_cmds_need_lc_F77
=no
13919 allow_undefined_flag_F77
=
13920 always_export_symbols_F77
=no
13921 archive_expsym_cmds_F77
=
13922 export_dynamic_flag_spec_F77
=
13923 hardcode_direct_F77
=no
13924 hardcode_libdir_flag_spec_F77
=
13925 hardcode_libdir_flag_spec_ld_F77
=
13926 hardcode_libdir_separator_F77
=
13927 hardcode_minus_L_F77
=no
13928 hardcode_automatic_F77
=no
13930 module_expsym_cmds_F77
=
13931 link_all_deplibs_F77
=unknown
13932 old_archive_cmds_F77
=$old_archive_cmds
13933 no_undefined_flag_F77
=
13934 whole_archive_flag_spec_F77
=
13935 enable_shared_with_static_runtimes_F77
=no
13937 # Source file extension for f77 test sources.
13940 # Object file extension for compiled f77 test sources.
13944 # Code to be used in simple compile tests
13945 lt_simple_compile_test_code
="\
13951 # Code to be used in simple link tests
13952 lt_simple_link_test_code
="\
13957 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13959 # If no C compiler was specified, use CC.
13962 # If no C compiler flags were specified, use CFLAGS.
13963 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13965 # Allow CC to be a program name with arguments.
13969 # save warnings/boilerplate of simple test code
13970 ac_outfile
=conftest.
$ac_objext
13971 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13972 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13973 _lt_compiler_boilerplate
=`cat conftest.err`
13976 ac_outfile
=conftest.
$ac_objext
13977 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13978 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13979 _lt_linker_boilerplate
=`cat conftest.err`
13983 # Allow CC to be a program name with arguments.
13988 for cc_temp
in $compiler""; do
13990 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13991 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13996 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13999 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14000 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14001 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14002 echo "${ECHO_T}$can_build_shared" >&6; }
14004 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14005 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14006 test "$can_build_shared" = "no" && enable_shared
=no
14008 # On AIX, shared libraries and static libraries use the same namespace, and
14009 # are all built from PIC.
14012 test "$enable_shared" = yes && enable_static
=no
14013 if test -n "$RANLIB"; then
14014 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14015 postinstall_cmds
='$RANLIB $lib'
14019 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14020 test "$enable_shared" = yes && enable_static
=no
14024 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14025 echo "${ECHO_T}$enable_shared" >&6; }
14027 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14028 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14029 # Make sure either enable_shared or enable_static is yes.
14030 test "$enable_shared" = yes || enable_static
=yes
14031 { echo "$as_me:$LINENO: result: $enable_static" >&5
14032 echo "${ECHO_T}$enable_static" >&6; }
14037 lt_prog_compiler_wl_F77
=
14038 lt_prog_compiler_pic_F77
=
14039 lt_prog_compiler_static_F77
=
14041 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14042 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14044 if test "$GCC" = yes; then
14045 lt_prog_compiler_wl_F77
='-Wl,'
14046 lt_prog_compiler_static_F77
='-static'
14050 # All AIX code is PIC.
14051 if test "$host_cpu" = ia64
; then
14052 # AIX 5 now supports IA64 processor
14053 lt_prog_compiler_static_F77
='-Bstatic'
14058 # FIXME: we need at least 68020 code to build shared libraries, but
14059 # adding the `-m68020' flag to GCC prevents building anything better,
14061 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14064 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14065 # PIC is the default for these OSes.
14068 mingw
* | cygwin
* | pw32
* | os2
*)
14069 # This hack is so that the source file can tell whether it is being
14070 # built for inclusion in a dll (and should export symbols for example).
14071 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14072 # (--disable-auto-import) libraries
14073 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14076 darwin
* | rhapsody
*)
14077 # PIC is the default on this platform
14078 # Common symbols not allowed in MH_DYLIB files
14079 lt_prog_compiler_pic_F77
='-fno-common'
14083 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14084 # Instead, we relocate shared libraries at runtime.
14088 # Just because we use GCC doesn't mean we suddenly get shared libraries
14089 # on systems that don't support them.
14090 lt_prog_compiler_can_build_shared_F77
=no
14095 if test -d /usr
/nec
; then
14096 lt_prog_compiler_pic_F77
=-Kconform_pic
14101 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14102 # not for PA HP-UX.
14108 lt_prog_compiler_pic_F77
='-fPIC'
14114 lt_prog_compiler_pic_F77
='-fPIC'
14118 # PORTME Check for flag to pass linker flags through the system compiler.
14121 lt_prog_compiler_wl_F77
='-Wl,'
14122 if test "$host_cpu" = ia64
; then
14123 # AIX 5 now supports IA64 processor
14124 lt_prog_compiler_static_F77
='-Bstatic'
14126 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14130 # PIC is the default on this platform
14131 # Common symbols not allowed in MH_DYLIB files
14132 case $cc_basename in
14134 lt_prog_compiler_pic_F77
='-qnocommon'
14135 lt_prog_compiler_wl_F77
='-Wl,'
14140 mingw
* | cygwin
* | pw32
* | os2
*)
14141 # This hack is so that the source file can tell whether it is being
14142 # built for inclusion in a dll (and should export symbols for example).
14143 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14146 hpux9
* | hpux10
* | hpux11
*)
14147 lt_prog_compiler_wl_F77
='-Wl,'
14148 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14149 # not for PA HP-UX.
14155 lt_prog_compiler_pic_F77
='+Z'
14158 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14159 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14162 irix5
* | irix6
* | nonstopux
*)
14163 lt_prog_compiler_wl_F77
='-Wl,'
14164 # PIC (with -KPIC) is the default.
14165 lt_prog_compiler_static_F77
='-non_shared'
14169 lt_prog_compiler_pic_F77
='-KPIC'
14170 lt_prog_compiler_static_F77
='-Bstatic'
14173 linux
* | k
*bsd
*-gnu)
14174 case $cc_basename in
14176 lt_prog_compiler_wl_F77
='-Wl,'
14177 lt_prog_compiler_pic_F77
='-KPIC'
14178 lt_prog_compiler_static_F77
='-static'
14180 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14181 # Portland Group compilers (*not* the Pentium gcc compiler,
14182 # which looks to be a dead project)
14183 lt_prog_compiler_wl_F77
='-Wl,'
14184 lt_prog_compiler_pic_F77
='-fpic'
14185 lt_prog_compiler_static_F77
='-Bstatic'
14188 lt_prog_compiler_wl_F77
='-Wl,'
14189 # All Alpha code is PIC.
14190 lt_prog_compiler_static_F77
='-non_shared'
14193 case `$CC -V 2>&1 | sed 5q` in
14196 lt_prog_compiler_pic_F77
='-KPIC'
14197 lt_prog_compiler_static_F77
='-Bstatic'
14198 lt_prog_compiler_wl_F77
='-Wl,'
14201 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14202 lt_prog_compiler_pic_F77
='-KPIC'
14203 lt_prog_compiler_static_F77
='-Bstatic'
14204 lt_prog_compiler_wl_F77
=''
14211 osf3
* | osf4
* | osf5
*)
14212 lt_prog_compiler_wl_F77
='-Wl,'
14213 # All OSF/1 code is PIC.
14214 lt_prog_compiler_static_F77
='-non_shared'
14218 lt_prog_compiler_static_F77
='-non_shared'
14222 lt_prog_compiler_pic_F77
='-KPIC'
14223 lt_prog_compiler_static_F77
='-Bstatic'
14224 case $cc_basename in
14225 f77
* | f90
* | f95
*)
14226 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14228 lt_prog_compiler_wl_F77
='-Wl,';;
14233 lt_prog_compiler_wl_F77
='-Qoption ld '
14234 lt_prog_compiler_pic_F77
='-PIC'
14235 lt_prog_compiler_static_F77
='-Bstatic'
14238 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14239 lt_prog_compiler_wl_F77
='-Wl,'
14240 lt_prog_compiler_pic_F77
='-KPIC'
14241 lt_prog_compiler_static_F77
='-Bstatic'
14245 if test -d /usr
/nec
;then
14246 lt_prog_compiler_pic_F77
='-Kconform_pic'
14247 lt_prog_compiler_static_F77
='-Bstatic'
14251 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14252 lt_prog_compiler_wl_F77
='-Wl,'
14253 lt_prog_compiler_pic_F77
='-KPIC'
14254 lt_prog_compiler_static_F77
='-Bstatic'
14258 lt_prog_compiler_wl_F77
='-Wl,'
14259 lt_prog_compiler_can_build_shared_F77
=no
14263 lt_prog_compiler_pic_F77
='-pic'
14264 lt_prog_compiler_static_F77
='-Bstatic'
14268 lt_prog_compiler_can_build_shared_F77
=no
14273 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14274 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14277 # Check to make sure the PIC flag actually works.
14279 if test -n "$lt_prog_compiler_pic_F77"; then
14281 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14282 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14283 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14284 echo $ECHO_N "(cached) $ECHO_C" >&6
14286 lt_prog_compiler_pic_works_F77
=no
14287 ac_outfile
=conftest.
$ac_objext
14288 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14289 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14290 # Insert the option either (1) after the last *FLAGS variable, or
14291 # (2) before a word containing "conftest.", or (3) at the end.
14292 # Note that $ac_compile itself does not contain backslashes and begins
14293 # with a dollar sign (not a hyphen), so the echo should work correctly.
14294 # The option is referenced via a variable to avoid confusing sed.
14295 lt_compile
=`echo "$ac_compile" | $SED \
14296 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14297 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14298 -e 's:$: $lt_compiler_flag:'`
14299 (eval echo "\"\$as_me:14299: $lt_compile\"" >&5)
14300 (eval "$lt_compile" 2>conftest.err
)
14302 cat conftest.err
>&5
14303 echo "$as_me:14303: \$? = $ac_status" >&5
14304 if (exit $ac_status) && test -s "$ac_outfile"; then
14305 # The compiler can only warn and ignore the option if not recognized
14306 # So say no if there are warnings other than the usual output.
14307 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14308 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14309 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14310 lt_prog_compiler_pic_works_F77
=yes
14316 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14317 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14319 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14320 case $lt_prog_compiler_pic_F77 in
14322 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14325 lt_prog_compiler_pic_F77
=
14326 lt_prog_compiler_can_build_shared_F77
=no
14331 # For platforms which do not support PIC, -DPIC is meaningless:
14333 lt_prog_compiler_pic_F77
=
14336 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14341 # Check to make sure the static flag actually works.
14343 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14344 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14345 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14346 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14347 echo $ECHO_N "(cached) $ECHO_C" >&6
14349 lt_prog_compiler_static_works_F77
=no
14350 save_LDFLAGS
="$LDFLAGS"
14351 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14352 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14353 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14354 # The linker can only warn and ignore the option if not recognized
14355 # So say no if there are warnings
14356 if test -s conftest.err
; then
14357 # Append any errors to the config.log.
14358 cat conftest.err
1>&5
14359 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14360 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14361 if diff conftest.exp conftest.er2
>/dev
/null
; then
14362 lt_prog_compiler_static_works_F77
=yes
14365 lt_prog_compiler_static_works_F77
=yes
14369 LDFLAGS
="$save_LDFLAGS"
14372 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14373 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14375 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14378 lt_prog_compiler_static_F77
=
14382 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14383 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14384 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14385 echo $ECHO_N "(cached) $ECHO_C" >&6
14387 lt_cv_prog_compiler_c_o_F77
=no
14388 $rm -r conftest
2>/dev
/null
14392 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14394 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14395 # Insert the option either (1) after the last *FLAGS variable, or
14396 # (2) before a word containing "conftest.", or (3) at the end.
14397 # Note that $ac_compile itself does not contain backslashes and begins
14398 # with a dollar sign (not a hyphen), so the echo should work correctly.
14399 lt_compile
=`echo "$ac_compile" | $SED \
14400 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14401 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14402 -e 's:$: $lt_compiler_flag:'`
14403 (eval echo "\"\$as_me:14403: $lt_compile\"" >&5)
14404 (eval "$lt_compile" 2>out
/conftest.err
)
14406 cat out
/conftest.err
>&5
14407 echo "$as_me:14407: \$? = $ac_status" >&5
14408 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14410 # The compiler can only warn and ignore the option if not recognized
14411 # So say no if there are warnings
14412 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14413 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14414 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14415 lt_cv_prog_compiler_c_o_F77
=yes
14420 # SGI C++ compiler will create directory out/ii_files/ for
14421 # template instantiation
14422 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14423 $rm out
/* && rmdir out
14429 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14430 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14433 hard_links
="nottested"
14434 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14435 # do not overwrite the value of need_locks provided by the user
14436 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14437 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14440 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14442 ln conftest.a conftest.b
2>&5 || hard_links
=no
14443 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14444 { echo "$as_me:$LINENO: result: $hard_links" >&5
14445 echo "${ECHO_T}$hard_links" >&6; }
14446 if test "$hard_links" = no
; then
14447 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14448 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14455 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14456 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14459 allow_undefined_flag_F77
=
14460 enable_shared_with_static_runtimes_F77
=no
14462 archive_expsym_cmds_F77
=
14463 old_archive_From_new_cmds_F77
=
14464 old_archive_from_expsyms_cmds_F77
=
14465 export_dynamic_flag_spec_F77
=
14466 whole_archive_flag_spec_F77
=
14467 thread_safe_flag_spec_F77
=
14468 hardcode_libdir_flag_spec_F77
=
14469 hardcode_libdir_flag_spec_ld_F77
=
14470 hardcode_libdir_separator_F77
=
14471 hardcode_direct_F77
=no
14472 hardcode_minus_L_F77
=no
14473 hardcode_shlibpath_var_F77
=unsupported
14474 link_all_deplibs_F77
=unknown
14475 hardcode_automatic_F77
=no
14477 module_expsym_cmds_F77
=
14478 always_export_symbols_F77
=no
14479 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14480 # include_expsyms should be a list of space-separated symbols to be *always*
14481 # included in the symbol list
14482 include_expsyms_F77
=
14483 # exclude_expsyms can be an extended regexp of symbols to exclude
14484 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14485 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14486 # as well as any symbol that contains `d'.
14487 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14488 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14489 # platforms (ab)use it in PIC code, but their linkers get confused if
14490 # the symbol is explicitly referenced. Since portable code cannot
14491 # rely on this symbol name, it's probably fine to never include it in
14492 # preloaded symbol tables.
14493 extract_expsyms_cmds
=
14494 # Just being paranoid about ensuring that cc_basename is set.
14495 for cc_temp
in $compiler""; do
14497 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14498 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14503 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14506 cygwin
* | mingw
* | pw32
*)
14507 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14508 # When not using gcc, we currently assume that we are using
14509 # Microsoft Visual C++.
14510 if test "$GCC" != yes; then
14515 # we just hope/assume this is gcc and not c89 (= MSVC++)
14524 if test "$with_gnu_ld" = yes; then
14525 # If archive_cmds runs LD, not CC, wlarc should be empty
14528 # Set some defaults for GNU ld with shared library support. These
14529 # are reset later if shared libraries are not supported. Putting them
14530 # here allows them to be overridden if necessary.
14531 runpath_var
=LD_RUN_PATH
14532 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14533 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14534 # ancient GNU ld didn't support --whole-archive et. al.
14535 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14536 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14538 whole_archive_flag_spec_F77
=
14540 supports_anon_versioning
=no
14541 case `$LD -v 2>/dev/null` in
14542 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14543 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14544 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14545 *\
2.11.
*) ;; # other 2.11 versions
14546 *) supports_anon_versioning
=yes ;;
14549 # See if GNU ld supports shared libraries.
14551 aix3
* | aix4
* | aix5
*)
14552 # On AIX/PPC, the GNU linker is very broken
14553 if test "$host_cpu" != ia64
; then
14557 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14558 *** to be unable to reliably create shared libraries on AIX.
14559 *** Therefore, libtool is disabling shared libraries support. If you
14560 *** really care for shared libraries, you may want to modify your PATH
14561 *** so that a non-GNU linker is found, and then restart.
14568 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)'
14569 hardcode_libdir_flag_spec_F77
='-L$libdir'
14570 hardcode_minus_L_F77
=yes
14572 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14573 # that the semantics of dynamic libraries on AmigaOS, at least up
14574 # to version 4, is to share data among multiple programs linked
14575 # with the same dynamic library. Since this doesn't match the
14576 # behavior of shared libraries on other platforms, we can't use
14582 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14583 allow_undefined_flag_F77
=unsupported
14584 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14585 # support --undefined. This deserves some investigation. FIXME
14586 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14592 cygwin
* | mingw
* | pw32
*)
14593 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14594 # as there is no search path for DLLs.
14595 hardcode_libdir_flag_spec_F77
='-L$libdir'
14596 allow_undefined_flag_F77
=unsupported
14597 always_export_symbols_F77
=no
14598 enable_shared_with_static_runtimes_F77
=yes
14599 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14601 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14602 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14603 # If the export-symbols file already is a .def file (1st line
14604 # is EXPORTS), use it as is; otherwise, prepend...
14605 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14606 cp $export_symbols $output_objdir/$soname.def;
14608 echo EXPORTS > $output_objdir/$soname.def;
14609 cat $export_symbols >> $output_objdir/$soname.def;
14611 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14618 hardcode_direct_F77
=no
14619 hardcode_shlibpath_var_F77
=no
14620 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14621 export_dynamic_flag_spec_F77
='${wl}-E'
14622 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14623 # Instead, shared libraries are loaded at an image base (0x10000000 by
14624 # default) and relocated if they conflict, which is a slow very memory
14625 # consuming and fragmenting process. To avoid this, we pick a random,
14626 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14627 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14628 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'
14629 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'
14632 gnu
* | linux
* | k
*bsd
*-gnu)
14633 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14635 case $cc_basename,$host_cpu in
14636 pgcc
*) # Portland Group C compiler
14637 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'
14638 tmp_addflag
=' $pic_flag'
14640 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14641 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'
14642 tmp_addflag
=' $pic_flag -Mnomain' ;;
14643 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14644 tmp_addflag
=' -i_dynamic' ;;
14645 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14646 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14647 ifc
* | ifort
*) # Intel Fortran compiler
14648 tmp_addflag
=' -nofor_main' ;;
14650 case `$CC -V 2>&1 | sed 5q` in
14651 *Sun\ C
*) # Sun C 5.9
14652 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'
14653 tmp_sharedflag
='-G' ;;
14654 *Sun\ F
*) # Sun Fortran 8.3
14655 tmp_sharedflag
='-G' ;;
14657 tmp_sharedflag
='-shared' ;;
14659 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14661 if test $supports_anon_versioning = yes; then
14662 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14663 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14664 $echo "local: *; };" >> $output_objdir/$libname.ver~
14665 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14673 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14674 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14677 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14678 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14683 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14687 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14688 *** create shared libraries on Solaris systems. Therefore, libtool
14689 *** is disabling shared libraries support. We urge you to upgrade GNU
14690 *** binutils to release 2.9.1 or newer. Another option is to modify
14691 *** your PATH or compiler configuration so that the native linker is
14692 *** used, and then restart.
14695 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14696 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14697 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14703 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14704 case `$LD -v 2>&1` in
14705 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14709 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14710 *** reliably create shared libraries on SCO systems. Therefore, libtool
14711 *** is disabling shared libraries support. We urge you to upgrade GNU
14712 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14713 *** your PATH or compiler configuration so that the native linker is
14714 *** used, and then restart.
14719 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14720 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14721 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14722 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14731 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14733 hardcode_direct_F77
=yes
14734 hardcode_shlibpath_var_F77
=no
14738 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14739 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14740 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14747 if test "$ld_shlibs_F77" = no
; then
14749 hardcode_libdir_flag_spec_F77
=
14750 export_dynamic_flag_spec_F77
=
14751 whole_archive_flag_spec_F77
=
14754 # PORTME fill in a description of your system's linker (not GNU ld)
14757 allow_undefined_flag_F77
=unsupported
14758 always_export_symbols_F77
=yes
14759 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'
14760 # Note: this linker hardcodes the directories in LIBPATH if there
14761 # are no directories specified by -L.
14762 hardcode_minus_L_F77
=yes
14763 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14764 # Neither direct hardcoding nor static linking is supported with a
14766 hardcode_direct_F77
=unsupported
14771 if test "$host_cpu" = ia64
; then
14772 # On IA64, the linker does run time linking by default, so we don't
14773 # have to do anything special.
14774 aix_use_runtimelinking
=no
14775 exp_sym_flag
='-Bexport'
14778 # If we're using GNU nm, then we don't want the "-C" option.
14779 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14780 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14781 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'
14783 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'
14785 aix_use_runtimelinking
=no
14787 # Test if we are trying to use run time linking or normal
14788 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14789 # need to do runtime linking.
14790 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14791 for ld_flag
in $LDFLAGS; do
14792 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14793 aix_use_runtimelinking
=yes
14800 exp_sym_flag
='-bexport'
14801 no_entry_flag
='-bnoentry'
14804 # When large executables or shared objects are built, AIX ld can
14805 # have problems creating the table of contents. If linking a library
14806 # or program results in "error TOC overflow" add -mminimal-toc to
14807 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14808 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14810 archive_cmds_F77
=''
14811 hardcode_direct_F77
=yes
14812 hardcode_libdir_separator_F77
=':'
14813 link_all_deplibs_F77
=yes
14815 if test "$GCC" = yes; then
14816 case $host_os in aix4.
[012]|aix4.
[012].
*)
14817 # We only want to do this on AIX 4.2 and lower, the check
14818 # below for broken collect2 doesn't work under 4.3+
14819 collect2name
=`${CC} -print-prog-name=collect2`
14820 if test -f "$collect2name" && \
14821 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14823 # We have reworked collect2
14826 # We have old collect2
14827 hardcode_direct_F77
=unsupported
14828 # It fails to find uninstalled libraries when the uninstalled
14829 # path is not listed in the libpath. Setting hardcode_minus_L
14830 # to unsupported forces relinking
14831 hardcode_minus_L_F77
=yes
14832 hardcode_libdir_flag_spec_F77
='-L$libdir'
14833 hardcode_libdir_separator_F77
=
14837 shared_flag
='-shared'
14838 if test "$aix_use_runtimelinking" = yes; then
14839 shared_flag
="$shared_flag "'${wl}-G'
14843 if test "$host_cpu" = ia64
; then
14844 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14845 # chokes on -Wl,-G. The following line is correct:
14848 if test "$aix_use_runtimelinking" = yes; then
14849 shared_flag
='${wl}-G'
14851 shared_flag
='${wl}-bM:SRE'
14856 # It seems that -bexpall does not export symbols beginning with
14857 # underscore (_), so it is better to generate a list of symbols to export.
14858 always_export_symbols_F77
=yes
14859 if test "$aix_use_runtimelinking" = yes; then
14860 # Warning - without using the other runtime loading flags (-brtl),
14861 # -berok will link without error, but may produce a broken library.
14862 allow_undefined_flag_F77
='-berok'
14863 # Determine the default libpath from the value encoded in an empty executable.
14864 cat >conftest.
$ac_ext <<_ACEOF
14869 rm -f conftest.
$ac_objext conftest
$ac_exeext
14870 if { (ac_try
="$ac_link"
14871 case "(($ac_try" in
14872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14873 *) ac_try_echo=$ac_try;;
14875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14876 (eval "$ac_link") 2>conftest.er1
14878 grep -v '^ *+' conftest.er1 >conftest.err
14880 cat conftest.err >&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); } && {
14883 test -z "$ac_f77_werror_flag" ||
14884 test ! -s conftest.err
14885 } && test -s conftest$ac_exeext &&
14886 $as_test_x conftest$ac_exeext; then
14888 lt_aix_libpath_sed='
14889 /Import File Strings/,/^$/ {
14895 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14896 # Check for a 64-bit object if we didn't find anything.
14897 if test -z "$aix_libpath"; then
14898 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14901 echo "$as_me: failed program was:" >&5
14902 sed 's/^/| /' conftest.$ac_ext >&5
14907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14908 conftest$ac_exeext conftest.$ac_ext
14909 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14911 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14912 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"
14914 if test "$host_cpu" = ia64; then
14915 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14916 allow_undefined_flag_F77="-z nodefs"
14917 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"
14919 # Determine the default libpath from the value encoded in an empty executable.
14920 cat >conftest.$ac_ext <<_ACEOF
14925 rm -f conftest.$ac_objext conftest$ac_exeext
14926 if { (ac_try="$ac_link"
14927 case "(($ac_try" in
14928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14929 *) ac_try_echo
=$ac_try;;
14931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14932 (eval "$ac_link") 2>conftest.er1
14934 grep -v '^ *+' conftest.er1
>conftest.err
14936 cat conftest.err
>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } && {
14939 test -z "$ac_f77_werror_flag" ||
14940 test ! -s conftest.err
14941 } && test -s conftest
$ac_exeext &&
14942 $as_test_x conftest
$ac_exeext; then
14944 lt_aix_libpath_sed
='
14945 /Import File Strings/,/^$/ {
14951 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14952 # Check for a 64-bit object if we didn't find anything.
14953 if test -z "$aix_libpath"; then
14954 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14957 echo "$as_me: failed program was:" >&5
14958 sed 's/^/| /' conftest.
$ac_ext >&5
14963 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14964 conftest
$ac_exeext conftest.
$ac_ext
14965 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14967 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14968 # Warning - without using the other run time loading flags,
14969 # -berok will link without error, but may produce a broken library.
14970 no_undefined_flag_F77
=' ${wl}-bernotok'
14971 allow_undefined_flag_F77
=' ${wl}-berok'
14972 # Exported symbols can be pulled into shared objects from archives
14973 whole_archive_flag_spec_F77
='$convenience'
14974 archive_cmds_need_lc_F77
=yes
14975 # This is similar to how AIX traditionally builds its shared libraries.
14976 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'
14982 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)'
14983 hardcode_libdir_flag_spec_F77
='-L$libdir'
14984 hardcode_minus_L_F77
=yes
14985 # see comment about different semantics on the GNU ld section
14990 export_dynamic_flag_spec_F77
=-rdynamic
14993 cygwin
* | mingw
* | pw32
*)
14994 # When not using gcc, we currently assume that we are using
14995 # Microsoft Visual C++.
14996 # hardcode_libdir_flag_spec is actually meaningless, as there is
14997 # no search path for DLLs.
14998 hardcode_libdir_flag_spec_F77
=' '
14999 allow_undefined_flag_F77
=unsupported
15000 # Tell ltmain to make .lib files, not .a files.
15002 # Tell ltmain to make .dll files, not .so files.
15004 # FIXME: Setting linknames here is a bad hack.
15005 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15006 # The linker will automatically build a .lib file if we build a DLL.
15007 old_archive_From_new_cmds_F77
='true'
15008 # FIXME: Should let the user specify the lib program.
15009 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15010 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15011 enable_shared_with_static_runtimes_F77
=yes
15014 darwin
* | rhapsody
*)
15016 rhapsody
* | darwin1.
[012])
15017 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15020 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15021 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15023 case ${MACOSX_DEPLOYMENT_TARGET} in
15025 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15028 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15034 archive_cmds_need_lc_F77
=no
15035 hardcode_direct_F77
=no
15036 hardcode_automatic_F77
=yes
15037 hardcode_shlibpath_var_F77
=unsupported
15038 whole_archive_flag_spec_F77
=''
15039 link_all_deplibs_F77
=yes
15040 if test "$GCC" = yes ; then
15041 output_verbose_link_cmd
='echo'
15042 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15043 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15044 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15045 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}'
15046 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}'
15048 case $cc_basename in
15050 output_verbose_link_cmd
='echo'
15051 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15052 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15053 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15054 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}'
15055 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}'
15065 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15066 hardcode_libdir_flag_spec_F77
='-L$libdir'
15067 hardcode_shlibpath_var_F77
=no
15074 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15075 # support. Future versions do this automatically, but an explicit c++rt0.o
15076 # does not break anything, and helps significantly (at the cost of a little
15079 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15080 hardcode_libdir_flag_spec_F77
='-R$libdir'
15081 hardcode_direct_F77
=yes
15082 hardcode_shlibpath_var_F77
=no
15085 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15087 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15088 hardcode_direct_F77
=yes
15089 hardcode_minus_L_F77
=yes
15090 hardcode_shlibpath_var_F77
=no
15093 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15094 freebsd
* | dragonfly
*)
15095 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15096 hardcode_libdir_flag_spec_F77
='-R$libdir'
15097 hardcode_direct_F77
=yes
15098 hardcode_shlibpath_var_F77
=no
15102 if test "$GCC" = yes; then
15103 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'
15105 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'
15107 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15108 hardcode_libdir_separator_F77
=:
15109 hardcode_direct_F77
=yes
15111 # hardcode_minus_L: Not really in the search PATH,
15112 # but as the default location of the library.
15113 hardcode_minus_L_F77
=yes
15114 export_dynamic_flag_spec_F77
='${wl}-E'
15118 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15119 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15121 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15123 if test "$with_gnu_ld" = no
; then
15124 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15125 hardcode_libdir_separator_F77
=:
15127 hardcode_direct_F77
=yes
15128 export_dynamic_flag_spec_F77
='${wl}-E'
15130 # hardcode_minus_L: Not really in the search PATH,
15131 # but as the default location of the library.
15132 hardcode_minus_L_F77
=yes
15137 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15140 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15143 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15146 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15152 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15155 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15158 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15162 if test "$with_gnu_ld" = no
; then
15163 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15164 hardcode_libdir_separator_F77
=:
15168 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15169 hardcode_direct_F77
=no
15170 hardcode_shlibpath_var_F77
=no
15173 hardcode_direct_F77
=yes
15174 export_dynamic_flag_spec_F77
='${wl}-E'
15176 # hardcode_minus_L: Not really in the search PATH,
15177 # but as the default location of the library.
15178 hardcode_minus_L_F77
=yes
15184 irix5
* | irix6
* | nonstopux
*)
15185 if test "$GCC" = yes; then
15186 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'
15188 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'
15189 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15191 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15192 hardcode_libdir_separator_F77
=:
15193 link_all_deplibs_F77
=yes
15197 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15198 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15200 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15202 hardcode_libdir_flag_spec_F77
='-R$libdir'
15203 hardcode_direct_F77
=yes
15204 hardcode_shlibpath_var_F77
=no
15208 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15209 hardcode_direct_F77
=yes
15210 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15211 hardcode_libdir_separator_F77
=:
15212 hardcode_shlibpath_var_F77
=no
15216 if test -f /usr
/libexec
/ld.so
; then
15217 hardcode_direct_F77
=yes
15218 hardcode_shlibpath_var_F77
=no
15219 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15220 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15221 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15222 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15223 export_dynamic_flag_spec_F77
='${wl}-E'
15226 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15227 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15228 hardcode_libdir_flag_spec_F77
='-R$libdir'
15231 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15232 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15242 hardcode_libdir_flag_spec_F77
='-L$libdir'
15243 hardcode_minus_L_F77
=yes
15244 allow_undefined_flag_F77
=unsupported
15245 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'
15246 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15250 if test "$GCC" = yes; then
15251 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15252 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'
15254 allow_undefined_flag_F77
=' -expect_unresolved \*'
15255 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'
15257 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15258 hardcode_libdir_separator_F77
=:
15261 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15262 if test "$GCC" = yes; then
15263 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15264 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'
15265 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15267 allow_undefined_flag_F77
=' -expect_unresolved \*'
15268 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'
15269 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~
15270 $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'
15272 # Both c and cxx compiler support -rpath directly
15273 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15275 hardcode_libdir_separator_F77
=:
15279 no_undefined_flag_F77
=' -z text'
15280 if test "$GCC" = yes; then
15282 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15283 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15284 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15287 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15288 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15289 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15291 hardcode_libdir_flag_spec_F77
='-R$libdir'
15292 hardcode_shlibpath_var_F77
=no
15294 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15296 # The compiler driver will combine and reorder linker options,
15297 # but understands `-z linker_flag'. GCC discards it without `$wl',
15298 # but is careful enough not to reorder.
15299 # Supported since Solaris 2.6 (maybe 2.5.1?)
15300 if test "$GCC" = yes; then
15301 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15303 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15307 link_all_deplibs_F77
=yes
15311 if test "x$host_vendor" = xsequent
; then
15312 # Use $CC to link under sequent, because it throws in some extra .o
15313 # files that make .init and .fini sections work.
15314 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15316 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15318 hardcode_libdir_flag_spec_F77
='-L$libdir'
15319 hardcode_direct_F77
=yes
15320 hardcode_minus_L_F77
=yes
15321 hardcode_shlibpath_var_F77
=no
15325 case $host_vendor in
15327 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15328 hardcode_direct_F77
=yes # is this really true???
15331 ## LD is ld it makes a PLAMLIB
15332 ## CC just makes a GrossModule.
15333 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15334 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15335 hardcode_direct_F77
=no
15338 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15339 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15342 runpath_var
='LD_RUN_PATH'
15343 hardcode_shlibpath_var_F77
=no
15347 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15348 hardcode_shlibpath_var_F77
=no
15349 export_dynamic_flag_spec_F77
='-Bexport'
15353 if test -d /usr
/nec
; then
15354 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15355 hardcode_shlibpath_var_F77
=no
15356 runpath_var
=LD_RUN_PATH
15357 hardcode_runpath_var
=yes
15362 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15363 no_undefined_flag_F77
='${wl}-z,text'
15364 archive_cmds_need_lc_F77
=no
15365 hardcode_shlibpath_var_F77
=no
15366 runpath_var
='LD_RUN_PATH'
15368 if test "$GCC" = yes; then
15369 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15370 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15372 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15373 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15377 sysv5
* | sco3.2v5
* | sco5v6
*)
15378 # Note: We can NOT use -z defs as we might desire, because we do not
15379 # link with -lc, and that would cause any symbols used from libc to
15380 # always be unresolved, which means just about no library would
15381 # ever link correctly. If we're not using GNU ld we use -z text
15382 # though, which does catch some bad symbols but isn't as heavy-handed
15384 no_undefined_flag_F77
='${wl}-z,text'
15385 allow_undefined_flag_F77
='${wl}-z,nodefs'
15386 archive_cmds_need_lc_F77
=no
15387 hardcode_shlibpath_var_F77
=no
15388 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15389 hardcode_libdir_separator_F77
=':'
15390 link_all_deplibs_F77
=yes
15391 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15392 runpath_var
='LD_RUN_PATH'
15394 if test "$GCC" = yes; then
15395 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15396 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15398 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15399 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15404 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15405 hardcode_libdir_flag_spec_F77
='-L$libdir'
15406 hardcode_shlibpath_var_F77
=no
15415 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15416 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15417 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15420 # Do we need to explicitly link libc?
15422 case "x$archive_cmds_need_lc_F77" in
15424 # Assume -lc should be added
15425 archive_cmds_need_lc_F77
=yes
15427 if test "$enable_shared" = yes && test "$GCC" = yes; then
15428 case $archive_cmds_F77 in
15430 # FIXME: we may have to deal with multi-command sequences.
15433 # Test whether the compiler implicitly links with -lc since on some
15434 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15435 # to ld, don't add -lc before -lgcc.
15436 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15437 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15439 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15442 (eval $ac_compile) 2>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } 2>conftest.err
; then
15448 libobjs
=conftest.
$ac_objext
15450 wl
=$lt_prog_compiler_wl_F77
15451 pic_flag
=$lt_prog_compiler_pic_F77
15457 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15458 allow_undefined_flag_F77
=
15459 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15460 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); }
15465 archive_cmds_need_lc_F77
=no
15467 archive_cmds_need_lc_F77
=yes
15469 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15471 cat conftest.err
1>&5
15474 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15475 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15482 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15483 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15484 library_names_spec
=
15485 libname_spec
='lib$name'
15489 postuninstall_cmds
=
15493 shlibpath_overrides_runpath
=unknown
15495 dynamic_linker
="$host_os ld.so"
15496 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15498 need_lib_prefix
=unknown
15499 hardcode_into_libs
=no
15501 # when you set need_version to no, make sure it does not cause -set_version
15502 # flags to be left without arguments
15503 need_version
=unknown
15508 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15509 shlibpath_var
=LIBPATH
15511 # AIX 3 has no versioning support, so we append a major version to the name.
15512 soname_spec
='${libname}${release}${shared_ext}$major'
15519 hardcode_into_libs
=yes
15520 if test "$host_cpu" = ia64
; then
15521 # AIX 5 supports IA64
15522 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15523 shlibpath_var
=LD_LIBRARY_PATH
15525 # With GCC up to 2.95.x, collect2 would create an import file
15526 # for dependence libraries. The import file would start with
15527 # the line `#! .'. This would cause the generated library to
15528 # depend on `.', always an invalid library. This was fixed in
15529 # development snapshots of GCC prior to 3.0.
15531 aix4 | aix4.
[01] | aix4.
[01].
*)
15532 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15534 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15537 can_build_shared
=no
15541 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15542 # soname into executable. Probably we can add versioning support to
15543 # collect2, so additional links can be useful in future.
15544 if test "$aix_use_runtimelinking" = yes; then
15545 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15546 # instead of lib<name>.a to let people know that these are not
15547 # typical AIX shared libraries.
15548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15550 # We preserve .a as extension for shared libraries through AIX4.2
15551 # and later when we are not doing run time linking.
15552 library_names_spec
='${libname}${release}.a $libname.a'
15553 soname_spec
='${libname}${release}${shared_ext}$major'
15555 shlibpath_var
=LIBPATH
15560 library_names_spec
='$libname.ixlibrary $libname.a'
15561 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15562 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'
15566 library_names_spec
='${libname}${shared_ext}'
15567 dynamic_linker
="$host_os ld.so"
15568 shlibpath_var
=LIBRARY_PATH
15574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15575 soname_spec
='${libname}${release}${shared_ext}$major'
15576 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15577 shlibpath_var
=LD_LIBRARY_PATH
15578 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15579 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15580 # the default ld.so.conf also contains /usr/contrib/lib and
15581 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15582 # libtool to hard-code these into programs
15585 cygwin
* | mingw
* | pw32
*)
15586 version_type
=windows
15591 case $GCC,$host_os in
15592 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15593 library_names_spec
='$libname.dll.a'
15594 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15595 postinstall_cmds
='base_file=`basename \${file}`~
15596 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15597 dldir=$destdir/`dirname \$dlpath`~
15598 test -d \$dldir || mkdir -p \$dldir~
15599 $install_prog $dir/$dlname \$dldir/$dlname~
15600 chmod a+x \$dldir/$dlname'
15601 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15602 dlpath=$dir/\$dldll~
15604 shlibpath_overrides_runpath
=yes
15608 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15609 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15610 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15613 # MinGW DLLs use traditional 'lib' prefix
15614 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15615 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15616 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15617 # It is most probably a Windows format PATH printed by
15618 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15619 # path with ; separators, and with drive letters. We can handle the
15620 # drive letters (cygwin fileutils understands them), so leave them,
15621 # especially as we might pass files found there to a mingw objdump,
15622 # which wouldn't understand a cygwinified path. Ahh.
15623 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15625 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15629 # pw32 DLLs use 'pw' prefix rather than 'lib'
15630 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15636 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15639 dynamic_linker
='Win32 ld.exe'
15640 # FIXME: first we should search . and the directory the executable is in
15644 darwin
* | rhapsody
*)
15645 dynamic_linker
="$host_os dyld"
15646 version_type
=darwin
15649 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15650 soname_spec
='${libname}${release}${major}$shared_ext'
15651 shlibpath_overrides_runpath
=yes
15652 shlibpath_var
=DYLD_LIBRARY_PATH
15653 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15655 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15663 soname_spec
='${libname}${release}${shared_ext}$major'
15664 shlibpath_var
=LD_LIBRARY_PATH
15671 freebsd
* | dragonfly
*)
15672 # DragonFly does not have aout. When/if they implement a new
15673 # versioning mechanism, adjust this.
15674 if test -x /usr
/bin
/objformat
; then
15675 objformat
=`/usr/bin/objformat`
15678 freebsd
[123]*) objformat
=aout
;;
15679 *) objformat
=elf
;;
15682 version_type
=freebsd-
$objformat
15683 case $version_type in
15685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15690 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15694 shlibpath_var
=LD_LIBRARY_PATH
15697 shlibpath_overrides_runpath
=yes
15699 freebsd3.
[01]* | freebsdelf3.
[01]*)
15700 shlibpath_overrides_runpath
=yes
15701 hardcode_into_libs
=yes
15703 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15704 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15705 shlibpath_overrides_runpath
=no
15706 hardcode_into_libs
=yes
15708 *) # from 4.6 on, and DragonFly
15709 shlibpath_overrides_runpath
=yes
15710 hardcode_into_libs
=yes
15719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15720 soname_spec
='${libname}${release}${shared_ext}$major'
15721 shlibpath_var
=LD_LIBRARY_PATH
15722 hardcode_into_libs
=yes
15725 hpux9
* | hpux10
* | hpux11
*)
15726 # Give a soname corresponding to the major version so that dld.sl refuses to
15727 # link against other versions.
15734 hardcode_into_libs
=yes
15735 dynamic_linker
="$host_os dld.so"
15736 shlibpath_var
=LD_LIBRARY_PATH
15737 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15739 soname_spec
='${libname}${release}${shared_ext}$major'
15740 if test "X$HPUX_IA64_MODE" = X32
; then
15741 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15743 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15745 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15749 hardcode_into_libs
=yes
15750 dynamic_linker
="$host_os dld.sl"
15751 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15752 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15754 soname_spec
='${libname}${release}${shared_ext}$major'
15755 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15756 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15760 dynamic_linker
="$host_os dld.sl"
15761 shlibpath_var
=SHLIB_PATH
15762 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15764 soname_spec
='${libname}${release}${shared_ext}$major'
15767 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15768 postinstall_cmds
='chmod 555 $lib'
15775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15776 soname_spec
='${libname}${release}${shared_ext}$major'
15777 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15778 shlibpath_var
=LD_LIBRARY_PATH
15779 shlibpath_overrides_runpath
=no
15780 hardcode_into_libs
=yes
15783 irix5
* | irix6
* | nonstopux
*)
15785 nonstopux
*) version_type
=nonstopux
;;
15787 if test "$lt_cv_prog_gnu_ld" = yes; then
15795 soname_spec
='${libname}${release}${shared_ext}$major'
15796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15798 irix5
* | nonstopux
*)
15799 libsuff
= shlibsuff
=
15802 case $LD in # libtool.m4 will add one of these switches to LD
15803 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15804 libsuff
= shlibsuff
= libmagic
=32-bit;;
15805 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15806 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15807 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15808 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15809 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15813 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15814 shlibpath_overrides_runpath
=no
15815 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15816 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15817 hardcode_into_libs
=yes
15820 # No shared lib support for Linux oldld, aout, or coff.
15821 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15825 # This must be Linux ELF.
15826 linux
* | k
*bsd
*-gnu)
15830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15831 soname_spec
='${libname}${release}${shared_ext}$major'
15832 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15833 shlibpath_var
=LD_LIBRARY_PATH
15834 shlibpath_overrides_runpath
=no
15835 # This implies no fast_install, which is unacceptable.
15836 # Some rework will be needed to allow for fast_install
15837 # before this can be enabled.
15838 hardcode_into_libs
=yes
15839 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15840 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15842 # Append ld.so.conf contents to the search path
15843 if test -f /etc
/ld.so.conf
; then
15844 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' ' '`
15845 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15848 # We used to test for /lib/ld.so.1 and disable shared libraries on
15849 # powerpc, because MkLinux only supported shared libraries with the
15850 # GNU dynamic linker. Since this was broken with cross compilers,
15851 # most powerpc-linux boxes support dynamic linking these days and
15852 # people can always --disable-shared, the test was removed, and we
15853 # assume the GNU/Linux dynamic linker is in use.
15854 dynamic_linker
='GNU/Linux ld.so'
15861 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15863 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15864 dynamic_linker
='NetBSD (a.out) ld.so'
15866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15867 soname_spec
='${libname}${release}${shared_ext}$major'
15868 dynamic_linker
='NetBSD ld.elf_so'
15870 shlibpath_var
=LD_LIBRARY_PATH
15871 shlibpath_overrides_runpath
=yes
15872 hardcode_into_libs
=yes
15877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15878 shlibpath_var
=LD_LIBRARY_PATH
15879 shlibpath_overrides_runpath
=yes
15886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15887 soname_spec
='${libname}${release}${shared_ext}$major'
15888 shlibpath_var
=LD_LIBRARY_PATH
15889 shlibpath_overrides_runpath
=yes
15894 sys_lib_dlsearch_path_spec
="/usr/lib"
15896 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15898 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15899 *) need_version
=no
;;
15901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15902 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15903 shlibpath_var
=LD_LIBRARY_PATH
15904 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15906 openbsd2.
[89] | openbsd2.
[89].
*)
15907 shlibpath_overrides_runpath
=no
15910 shlibpath_overrides_runpath
=yes
15914 shlibpath_overrides_runpath
=yes
15919 libname_spec
='$name'
15922 library_names_spec
='$libname${shared_ext} $libname.a'
15923 dynamic_linker
='OS/2 ld.exe'
15924 shlibpath_var
=LIBPATH
15927 osf3
* | osf4
* | osf5
*)
15931 soname_spec
='${libname}${release}${shared_ext}$major'
15932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15933 shlibpath_var
=LD_LIBRARY_PATH
15934 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15935 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15947 soname_spec
='${libname}${release}${shared_ext}$major'
15948 shlibpath_var
=LD_LIBRARY_PATH
15949 shlibpath_overrides_runpath
=yes
15950 hardcode_into_libs
=yes
15951 # ldd complains unless libraries are executable
15952 postinstall_cmds
='chmod +x $lib'
15957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15958 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15959 shlibpath_var
=LD_LIBRARY_PATH
15960 shlibpath_overrides_runpath
=yes
15961 if test "$with_gnu_ld" = yes; then
15969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15970 soname_spec
='${libname}${release}${shared_ext}$major'
15971 shlibpath_var
=LD_LIBRARY_PATH
15972 case $host_vendor in
15974 shlibpath_overrides_runpath
=no
15976 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15977 runpath_var
=LD_RUN_PATH
15985 shlibpath_overrides_runpath
=no
15986 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15992 if test -d /usr
/nec
;then
15994 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15995 soname_spec
='$libname${shared_ext}.$major'
15996 shlibpath_var
=LD_LIBRARY_PATH
16000 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16001 version_type
=freebsd-elf
16004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16005 soname_spec
='${libname}${release}${shared_ext}$major'
16006 shlibpath_var
=LD_LIBRARY_PATH
16007 hardcode_into_libs
=yes
16008 if test "$with_gnu_ld" = yes; then
16009 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16010 shlibpath_overrides_runpath
=no
16012 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16013 shlibpath_overrides_runpath
=yes
16016 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16020 sys_lib_dlsearch_path_spec
='/usr/lib'
16025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16026 soname_spec
='${libname}${release}${shared_ext}$major'
16027 shlibpath_var
=LD_LIBRARY_PATH
16034 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16035 echo "${ECHO_T}$dynamic_linker" >&6; }
16036 test "$dynamic_linker" = no
&& can_build_shared
=no
16038 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16039 if test "$GCC" = yes; then
16040 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16043 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16044 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16045 hardcode_action_F77
=
16046 if test -n "$hardcode_libdir_flag_spec_F77" || \
16047 test -n "$runpath_var_F77" || \
16048 test "X$hardcode_automatic_F77" = "Xyes" ; then
16050 # We can hardcode non-existant directories.
16051 if test "$hardcode_direct_F77" != no
&&
16052 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16053 # have to relink, otherwise we might link with an installed library
16054 # when we should be linking with a yet-to-be-installed one
16055 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16056 test "$hardcode_minus_L_F77" != no
; then
16057 # Linking always hardcodes the temporary library directory.
16058 hardcode_action_F77
=relink
16060 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16061 hardcode_action_F77
=immediate
16064 # We cannot hardcode anything, or else we can only hardcode existing
16066 hardcode_action_F77
=unsupported
16068 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16069 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16071 if test "$hardcode_action_F77" = relink
; then
16072 # Fast installation is not supported
16073 enable_fast_install
=no
16074 elif test "$shlibpath_overrides_runpath" = yes ||
16075 test "$enable_shared" = no
; then
16076 # Fast installation is not necessary
16077 enable_fast_install
=needless
16081 # The else clause should only fire when bootstrapping the
16082 # libtool distribution, otherwise you forgot to ship ltmain.sh
16083 # with your package, and you will get complaints that there are
16084 # no rules to generate ltmain.sh.
16085 if test -f "$ltmain"; then
16086 # See if we are running on zsh, and set the options which allow our commands through
16087 # without removal of \ escapes.
16088 if test -n "${ZSH_VERSION+set}" ; then
16089 setopt NO_GLOB_SUBST
16091 # Now quote all the things that may contain metacharacters while being
16092 # careful not to overquote the AC_SUBSTed values. We take copies of the
16093 # variables and quote the copies for generation of the libtool script.
16094 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16096 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16097 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16098 deplibs_check_method reload_flag reload_cmds need_locks \
16099 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16100 lt_cv_sys_global_symbol_to_c_name_address \
16101 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16102 old_postinstall_cmds old_postuninstall_cmds \
16106 lt_prog_compiler_wl_F77 \
16107 lt_prog_compiler_pic_F77 \
16108 lt_prog_compiler_static_F77 \
16109 lt_prog_compiler_no_builtin_flag_F77 \
16110 export_dynamic_flag_spec_F77 \
16111 thread_safe_flag_spec_F77 \
16112 whole_archive_flag_spec_F77 \
16113 enable_shared_with_static_runtimes_F77 \
16114 old_archive_cmds_F77 \
16115 old_archive_from_new_cmds_F77 \
16116 predep_objects_F77 \
16117 postdep_objects_F77 \
16120 compiler_lib_search_path_F77 \
16122 archive_expsym_cmds_F77 \
16123 postinstall_cmds_F77 \
16124 postuninstall_cmds_F77 \
16125 old_archive_from_expsyms_cmds_F77 \
16126 allow_undefined_flag_F77 \
16127 no_undefined_flag_F77 \
16128 export_symbols_cmds_F77 \
16129 hardcode_libdir_flag_spec_F77 \
16130 hardcode_libdir_flag_spec_ld_F77 \
16131 hardcode_libdir_separator_F77 \
16132 hardcode_automatic_F77 \
16134 module_expsym_cmds_F77 \
16135 lt_cv_prog_compiler_c_o_F77 \
16136 fix_srcfile_path_F77 \
16137 exclude_expsyms_F77 \
16138 include_expsyms_F77
; do
16141 old_archive_cmds_F77 | \
16142 old_archive_from_new_cmds_F77 | \
16143 archive_cmds_F77 | \
16144 archive_expsym_cmds_F77 | \
16145 module_cmds_F77 | \
16146 module_expsym_cmds_F77 | \
16147 old_archive_from_expsyms_cmds_F77 | \
16148 export_symbols_cmds_F77 | \
16149 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16150 postinstall_cmds | postuninstall_cmds | \
16151 old_postinstall_cmds | old_postuninstall_cmds | \
16152 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16153 # Double-quote double-evaled strings.
16154 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16157 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16163 *'\$0 --fallback-echo"')
16164 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16170 cat <<__EOF__ >> "$cfgfile"
16171 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16173 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16175 # Shell to use when invoking shell scripts.
16178 # Whether or not to build shared libraries.
16179 build_libtool_libs=$enable_shared
16181 # Whether or not to build static libraries.
16182 build_old_libs=$enable_static
16184 # Whether or not to add -lc for building shared libraries.
16185 build_libtool_need_lc=$archive_cmds_need_lc_F77
16187 # Whether or not to disallow shared libs when runtime libs are static
16188 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16190 # Whether or not to optimize for fast installation.
16191 fast_install=$enable_fast_install
16194 host_alias=$host_alias
16198 # The build system.
16199 build_alias=$build_alias
16203 # An echo program that does not interpret backslashes.
16208 AR_FLAGS=$lt_AR_FLAGS
16213 # LTCC compiler flags.
16214 LTCFLAGS=$lt_LTCFLAGS
16216 # A language-specific compiler.
16217 CC=$lt_compiler_F77
16219 # Is the compiler the GNU C compiler?
16225 # The linker used to build libraries.
16228 # Whether we need hard or soft links.
16231 # A BSD-compatible nm program.
16234 # A symbol stripping program
16237 # Used to examine libraries when file_magic_cmd begins "file"
16238 MAGIC_CMD=$MAGIC_CMD
16240 # Used on cygwin: DLL creation program.
16243 # Used on cygwin: object dumper.
16246 # Used on cygwin: assembler.
16249 # The name of the directory that contains temporary libtool files.
16252 # How to create reloadable object files.
16253 reload_flag=$lt_reload_flag
16254 reload_cmds=$lt_reload_cmds
16256 # How to pass a linker flag through the compiler.
16257 wl=$lt_lt_prog_compiler_wl_F77
16259 # Object file suffix (normally "o").
16260 objext="$ac_objext"
16262 # Old archive suffix (normally "a").
16265 # Shared library suffix (normally ".so").
16266 shrext_cmds='$shrext_cmds'
16268 # Executable file suffix (normally "").
16271 # Additional compiler flags for building library objects.
16272 pic_flag=$lt_lt_prog_compiler_pic_F77
16275 # What is the maximum length of a command?
16276 max_cmd_len=$lt_cv_sys_max_cmd_len
16278 # Does compiler simultaneously support -c and -o options?
16279 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16281 # Must we lock files when doing compilation?
16282 need_locks=$lt_need_locks
16284 # Do we need the lib prefix for modules?
16285 need_lib_prefix=$need_lib_prefix
16287 # Do we need a version for libraries?
16288 need_version=$need_version
16290 # Whether dlopen is supported.
16291 dlopen_support=$enable_dlopen
16293 # Whether dlopen of programs is supported.
16294 dlopen_self=$enable_dlopen_self
16296 # Whether dlopen of statically linked programs is supported.
16297 dlopen_self_static=$enable_dlopen_self_static
16299 # Compiler flag to prevent dynamic linking.
16300 link_static_flag=$lt_lt_prog_compiler_static_F77
16302 # Compiler flag to turn off builtin functions.
16303 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16305 # Compiler flag to allow reflexive dlopens.
16306 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16308 # Compiler flag to generate shared objects directly from archives.
16309 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16311 # Compiler flag to generate thread-safe objects.
16312 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16314 # Library versioning type.
16315 version_type=$version_type
16317 # Format of library name prefix.
16318 libname_spec=$lt_libname_spec
16320 # List of archive names. First name is the real one, the rest are links.
16321 # The last name is the one that the linker finds with -lNAME.
16322 library_names_spec=$lt_library_names_spec
16324 # The coded name of the library, if different from the real name.
16325 soname_spec=$lt_soname_spec
16327 # Commands used to build and install an old-style archive.
16329 old_archive_cmds=$lt_old_archive_cmds_F77
16330 old_postinstall_cmds=$lt_old_postinstall_cmds
16331 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16333 # Create an old-style archive from a shared archive.
16334 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16336 # Create a temporary old-style archive to link instead of a shared archive.
16337 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16339 # Commands used to build and install a shared archive.
16340 archive_cmds=$lt_archive_cmds_F77
16341 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16342 postinstall_cmds=$lt_postinstall_cmds
16343 postuninstall_cmds=$lt_postuninstall_cmds
16345 # Commands used to build a loadable module (assumed same as above if empty)
16346 module_cmds=$lt_module_cmds_F77
16347 module_expsym_cmds=$lt_module_expsym_cmds_F77
16349 # Commands to strip libraries.
16350 old_striplib=$lt_old_striplib
16351 striplib=$lt_striplib
16353 # Dependencies to place before the objects being linked to create a
16355 predep_objects=$lt_predep_objects_F77
16357 # Dependencies to place after the objects being linked to create a
16359 postdep_objects=$lt_postdep_objects_F77
16361 # Dependencies to place before the objects being linked to create a
16363 predeps=$lt_predeps_F77
16365 # Dependencies to place after the objects being linked to create a
16367 postdeps=$lt_postdeps_F77
16369 # The library search path used internally by the compiler when linking
16370 # a shared library.
16371 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16373 # Method to check whether dependent libraries are shared objects.
16374 deplibs_check_method=$lt_deplibs_check_method
16376 # Command to use when deplibs_check_method == file_magic.
16377 file_magic_cmd=$lt_file_magic_cmd
16379 # Flag that allows shared libraries with undefined symbols to be built.
16380 allow_undefined_flag=$lt_allow_undefined_flag_F77
16382 # Flag that forces no undefined symbols.
16383 no_undefined_flag=$lt_no_undefined_flag_F77
16385 # Commands used to finish a libtool library installation in a directory.
16386 finish_cmds=$lt_finish_cmds
16388 # Same as above, but a single script fragment to be evaled but not shown.
16389 finish_eval=$lt_finish_eval
16391 # Take the output of nm and produce a listing of raw symbols and C names.
16392 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16394 # Transform the output of nm in a proper C declaration
16395 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16397 # Transform the output of nm in a C name address pair
16398 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16400 # This is the shared library runtime path variable.
16401 runpath_var=$runpath_var
16403 # This is the shared library path variable.
16404 shlibpath_var=$shlibpath_var
16406 # Is shlibpath searched before the hard-coded library search path?
16407 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16409 # How to hardcode a shared library path into an executable.
16410 hardcode_action=$hardcode_action_F77
16412 # Whether we should hardcode library paths into libraries.
16413 hardcode_into_libs=$hardcode_into_libs
16415 # Flag to hardcode \$libdir into a binary during linking.
16416 # This must work even if \$libdir does not exist.
16417 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16419 # If ld is used when linking, flag to hardcode \$libdir into
16420 # a binary during linking. This must work even if \$libdir does
16422 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16424 # Whether we need a single -rpath flag with a separated argument.
16425 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16427 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16428 # resulting binary.
16429 hardcode_direct=$hardcode_direct_F77
16431 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16432 # resulting binary.
16433 hardcode_minus_L=$hardcode_minus_L_F77
16435 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16436 # the resulting binary.
16437 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16439 # Set to yes if building a shared library automatically hardcodes DIR into the library
16440 # and all subsequent libraries and executables linked against it.
16441 hardcode_automatic=$hardcode_automatic_F77
16443 # Variables whose values should be saved in libtool wrapper scripts and
16444 # restored at relink time.
16445 variables_saved_for_relink="$variables_saved_for_relink"
16447 # Whether libtool must link a program against all its dependency libraries.
16448 link_all_deplibs=$link_all_deplibs_F77
16450 # Compile-time system search path for libraries
16451 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16453 # Run-time system search path for libraries
16454 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16456 # Fix the shell variable \$srcfile for the compiler.
16457 fix_srcfile_path=$lt_fix_srcfile_path
16459 # Set to yes if exported symbols are required.
16460 always_export_symbols=$always_export_symbols_F77
16462 # The commands to list exported symbols.
16463 export_symbols_cmds=$lt_export_symbols_cmds_F77
16465 # The commands to extract the exported symbol list from a shared archive.
16466 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16468 # Symbols that should not be listed in the preloaded symbols.
16469 exclude_expsyms=$lt_exclude_expsyms_F77
16471 # Symbols that must always be exported.
16472 include_expsyms=$lt_include_expsyms_F77
16474 # ### END LIBTOOL TAG CONFIG: $tagname
16480 # If there is no Makefile yet, we rely on a make rule to execute
16481 # `config.status --recheck' to rerun these tests and create the
16482 # libtool script then.
16483 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16484 if test -f "$ltmain_in"; then
16485 test -f Makefile
&& make "$ltmain"
16491 ac_cpp
='$CPP $CPPFLAGS'
16492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16504 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16507 # Source file extension for Java test sources.
16510 # Object file extension for compiled Java test sources.
16514 # Code to be used in simple compile tests
16515 lt_simple_compile_test_code
="class foo {}"
16517 # Code to be used in simple link tests
16518 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16520 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16522 # If no C compiler was specified, use CC.
16525 # If no C compiler flags were specified, use CFLAGS.
16526 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16528 # Allow CC to be a program name with arguments.
16532 # save warnings/boilerplate of simple test code
16533 ac_outfile
=conftest.
$ac_objext
16534 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16535 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16536 _lt_compiler_boilerplate
=`cat conftest.err`
16539 ac_outfile
=conftest.
$ac_objext
16540 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16541 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16542 _lt_linker_boilerplate
=`cat conftest.err`
16546 # Allow CC to be a program name with arguments.
16551 for cc_temp
in $compiler""; do
16553 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16554 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16559 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16562 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16563 archive_cmds_need_lc_GCJ
=no
16565 old_archive_cmds_GCJ
=$old_archive_cmds
16568 lt_prog_compiler_no_builtin_flag_GCJ
=
16570 if test "$GCC" = yes; then
16571 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16574 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16575 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16576 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16577 echo $ECHO_N "(cached) $ECHO_C" >&6
16579 lt_cv_prog_compiler_rtti_exceptions
=no
16580 ac_outfile
=conftest.
$ac_objext
16581 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16582 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16583 # Insert the option either (1) after the last *FLAGS variable, or
16584 # (2) before a word containing "conftest.", or (3) at the end.
16585 # Note that $ac_compile itself does not contain backslashes and begins
16586 # with a dollar sign (not a hyphen), so the echo should work correctly.
16587 # The option is referenced via a variable to avoid confusing sed.
16588 lt_compile
=`echo "$ac_compile" | $SED \
16589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16591 -e 's:$: $lt_compiler_flag:'`
16592 (eval echo "\"\$as_me:16592: $lt_compile\"" >&5)
16593 (eval "$lt_compile" 2>conftest.err
)
16595 cat conftest.err
>&5
16596 echo "$as_me:16596: \$? = $ac_status" >&5
16597 if (exit $ac_status) && test -s "$ac_outfile"; then
16598 # The compiler can only warn and ignore the option if not recognized
16599 # So say no if there are warnings other than the usual output.
16600 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16601 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16602 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16603 lt_cv_prog_compiler_rtti_exceptions
=yes
16609 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16610 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16612 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16613 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16620 lt_prog_compiler_wl_GCJ
=
16621 lt_prog_compiler_pic_GCJ
=
16622 lt_prog_compiler_static_GCJ
=
16624 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16625 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16627 if test "$GCC" = yes; then
16628 lt_prog_compiler_wl_GCJ
='-Wl,'
16629 lt_prog_compiler_static_GCJ
='-static'
16633 # All AIX code is PIC.
16634 if test "$host_cpu" = ia64
; then
16635 # AIX 5 now supports IA64 processor
16636 lt_prog_compiler_static_GCJ
='-Bstatic'
16641 # FIXME: we need at least 68020 code to build shared libraries, but
16642 # adding the `-m68020' flag to GCC prevents building anything better,
16644 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16647 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16648 # PIC is the default for these OSes.
16651 mingw
* | cygwin
* | pw32
* | os2
*)
16652 # This hack is so that the source file can tell whether it is being
16653 # built for inclusion in a dll (and should export symbols for example).
16654 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16655 # (--disable-auto-import) libraries
16656 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16659 darwin
* | rhapsody
*)
16660 # PIC is the default on this platform
16661 # Common symbols not allowed in MH_DYLIB files
16662 lt_prog_compiler_pic_GCJ
='-fno-common'
16666 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16667 # Instead, we relocate shared libraries at runtime.
16671 # Just because we use GCC doesn't mean we suddenly get shared libraries
16672 # on systems that don't support them.
16673 lt_prog_compiler_can_build_shared_GCJ
=no
16678 if test -d /usr
/nec
; then
16679 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16684 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16685 # not for PA HP-UX.
16691 lt_prog_compiler_pic_GCJ
='-fPIC'
16697 lt_prog_compiler_pic_GCJ
='-fPIC'
16701 # PORTME Check for flag to pass linker flags through the system compiler.
16704 lt_prog_compiler_wl_GCJ
='-Wl,'
16705 if test "$host_cpu" = ia64
; then
16706 # AIX 5 now supports IA64 processor
16707 lt_prog_compiler_static_GCJ
='-Bstatic'
16709 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16713 # PIC is the default on this platform
16714 # Common symbols not allowed in MH_DYLIB files
16715 case $cc_basename in
16717 lt_prog_compiler_pic_GCJ
='-qnocommon'
16718 lt_prog_compiler_wl_GCJ
='-Wl,'
16723 mingw
* | cygwin
* | pw32
* | os2
*)
16724 # This hack is so that the source file can tell whether it is being
16725 # built for inclusion in a dll (and should export symbols for example).
16726 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16729 hpux9
* | hpux10
* | hpux11
*)
16730 lt_prog_compiler_wl_GCJ
='-Wl,'
16731 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16732 # not for PA HP-UX.
16738 lt_prog_compiler_pic_GCJ
='+Z'
16741 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16742 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16745 irix5
* | irix6
* | nonstopux
*)
16746 lt_prog_compiler_wl_GCJ
='-Wl,'
16747 # PIC (with -KPIC) is the default.
16748 lt_prog_compiler_static_GCJ
='-non_shared'
16752 lt_prog_compiler_pic_GCJ
='-KPIC'
16753 lt_prog_compiler_static_GCJ
='-Bstatic'
16756 linux
* | k
*bsd
*-gnu)
16757 case $cc_basename in
16759 lt_prog_compiler_wl_GCJ
='-Wl,'
16760 lt_prog_compiler_pic_GCJ
='-KPIC'
16761 lt_prog_compiler_static_GCJ
='-static'
16763 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16764 # Portland Group compilers (*not* the Pentium gcc compiler,
16765 # which looks to be a dead project)
16766 lt_prog_compiler_wl_GCJ
='-Wl,'
16767 lt_prog_compiler_pic_GCJ
='-fpic'
16768 lt_prog_compiler_static_GCJ
='-Bstatic'
16771 lt_prog_compiler_wl_GCJ
='-Wl,'
16772 # All Alpha code is PIC.
16773 lt_prog_compiler_static_GCJ
='-non_shared'
16776 case `$CC -V 2>&1 | sed 5q` in
16779 lt_prog_compiler_pic_GCJ
='-KPIC'
16780 lt_prog_compiler_static_GCJ
='-Bstatic'
16781 lt_prog_compiler_wl_GCJ
='-Wl,'
16784 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16785 lt_prog_compiler_pic_GCJ
='-KPIC'
16786 lt_prog_compiler_static_GCJ
='-Bstatic'
16787 lt_prog_compiler_wl_GCJ
=''
16794 osf3
* | osf4
* | osf5
*)
16795 lt_prog_compiler_wl_GCJ
='-Wl,'
16796 # All OSF/1 code is PIC.
16797 lt_prog_compiler_static_GCJ
='-non_shared'
16801 lt_prog_compiler_static_GCJ
='-non_shared'
16805 lt_prog_compiler_pic_GCJ
='-KPIC'
16806 lt_prog_compiler_static_GCJ
='-Bstatic'
16807 case $cc_basename in
16808 f77
* | f90
* | f95
*)
16809 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16811 lt_prog_compiler_wl_GCJ
='-Wl,';;
16816 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16817 lt_prog_compiler_pic_GCJ
='-PIC'
16818 lt_prog_compiler_static_GCJ
='-Bstatic'
16821 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16822 lt_prog_compiler_wl_GCJ
='-Wl,'
16823 lt_prog_compiler_pic_GCJ
='-KPIC'
16824 lt_prog_compiler_static_GCJ
='-Bstatic'
16828 if test -d /usr
/nec
;then
16829 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16830 lt_prog_compiler_static_GCJ
='-Bstatic'
16834 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16835 lt_prog_compiler_wl_GCJ
='-Wl,'
16836 lt_prog_compiler_pic_GCJ
='-KPIC'
16837 lt_prog_compiler_static_GCJ
='-Bstatic'
16841 lt_prog_compiler_wl_GCJ
='-Wl,'
16842 lt_prog_compiler_can_build_shared_GCJ
=no
16846 lt_prog_compiler_pic_GCJ
='-pic'
16847 lt_prog_compiler_static_GCJ
='-Bstatic'
16851 lt_prog_compiler_can_build_shared_GCJ
=no
16856 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16857 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16860 # Check to make sure the PIC flag actually works.
16862 if test -n "$lt_prog_compiler_pic_GCJ"; then
16864 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16865 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16866 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16867 echo $ECHO_N "(cached) $ECHO_C" >&6
16869 lt_prog_compiler_pic_works_GCJ
=no
16870 ac_outfile
=conftest.
$ac_objext
16871 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16872 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16873 # Insert the option either (1) after the last *FLAGS variable, or
16874 # (2) before a word containing "conftest.", or (3) at the end.
16875 # Note that $ac_compile itself does not contain backslashes and begins
16876 # with a dollar sign (not a hyphen), so the echo should work correctly.
16877 # The option is referenced via a variable to avoid confusing sed.
16878 lt_compile
=`echo "$ac_compile" | $SED \
16879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16881 -e 's:$: $lt_compiler_flag:'`
16882 (eval echo "\"\$as_me:16882: $lt_compile\"" >&5)
16883 (eval "$lt_compile" 2>conftest.err
)
16885 cat conftest.err
>&5
16886 echo "$as_me:16886: \$? = $ac_status" >&5
16887 if (exit $ac_status) && test -s "$ac_outfile"; then
16888 # The compiler can only warn and ignore the option if not recognized
16889 # So say no if there are warnings other than the usual output.
16890 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16891 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16892 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16893 lt_prog_compiler_pic_works_GCJ
=yes
16899 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16900 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16902 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16903 case $lt_prog_compiler_pic_GCJ in
16905 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16908 lt_prog_compiler_pic_GCJ
=
16909 lt_prog_compiler_can_build_shared_GCJ
=no
16914 # For platforms which do not support PIC, -DPIC is meaningless:
16916 lt_prog_compiler_pic_GCJ
=
16919 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16924 # Check to make sure the static flag actually works.
16926 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16927 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16928 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16929 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16930 echo $ECHO_N "(cached) $ECHO_C" >&6
16932 lt_prog_compiler_static_works_GCJ
=no
16933 save_LDFLAGS
="$LDFLAGS"
16934 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16935 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16936 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16937 # The linker can only warn and ignore the option if not recognized
16938 # So say no if there are warnings
16939 if test -s conftest.err
; then
16940 # Append any errors to the config.log.
16941 cat conftest.err
1>&5
16942 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16943 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16944 if diff conftest.exp conftest.er2
>/dev
/null
; then
16945 lt_prog_compiler_static_works_GCJ
=yes
16948 lt_prog_compiler_static_works_GCJ
=yes
16952 LDFLAGS
="$save_LDFLAGS"
16955 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16956 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16958 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16961 lt_prog_compiler_static_GCJ
=
16965 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16966 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16967 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16968 echo $ECHO_N "(cached) $ECHO_C" >&6
16970 lt_cv_prog_compiler_c_o_GCJ
=no
16971 $rm -r conftest
2>/dev
/null
16975 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16977 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16978 # Insert the option either (1) after the last *FLAGS variable, or
16979 # (2) before a word containing "conftest.", or (3) at the end.
16980 # Note that $ac_compile itself does not contain backslashes and begins
16981 # with a dollar sign (not a hyphen), so the echo should work correctly.
16982 lt_compile
=`echo "$ac_compile" | $SED \
16983 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16984 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16985 -e 's:$: $lt_compiler_flag:'`
16986 (eval echo "\"\$as_me:16986: $lt_compile\"" >&5)
16987 (eval "$lt_compile" 2>out
/conftest.err
)
16989 cat out
/conftest.err
>&5
16990 echo "$as_me:16990: \$? = $ac_status" >&5
16991 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16993 # The compiler can only warn and ignore the option if not recognized
16994 # So say no if there are warnings
16995 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16996 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16997 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16998 lt_cv_prog_compiler_c_o_GCJ
=yes
17003 # SGI C++ compiler will create directory out/ii_files/ for
17004 # template instantiation
17005 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17006 $rm out
/* && rmdir out
17012 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17013 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17016 hard_links
="nottested"
17017 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17018 # do not overwrite the value of need_locks provided by the user
17019 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17020 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17023 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17025 ln conftest.a conftest.b
2>&5 || hard_links
=no
17026 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17027 { echo "$as_me:$LINENO: result: $hard_links" >&5
17028 echo "${ECHO_T}$hard_links" >&6; }
17029 if test "$hard_links" = no
; then
17030 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17031 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17038 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17039 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17042 allow_undefined_flag_GCJ
=
17043 enable_shared_with_static_runtimes_GCJ
=no
17045 archive_expsym_cmds_GCJ
=
17046 old_archive_From_new_cmds_GCJ
=
17047 old_archive_from_expsyms_cmds_GCJ
=
17048 export_dynamic_flag_spec_GCJ
=
17049 whole_archive_flag_spec_GCJ
=
17050 thread_safe_flag_spec_GCJ
=
17051 hardcode_libdir_flag_spec_GCJ
=
17052 hardcode_libdir_flag_spec_ld_GCJ
=
17053 hardcode_libdir_separator_GCJ
=
17054 hardcode_direct_GCJ
=no
17055 hardcode_minus_L_GCJ
=no
17056 hardcode_shlibpath_var_GCJ
=unsupported
17057 link_all_deplibs_GCJ
=unknown
17058 hardcode_automatic_GCJ
=no
17060 module_expsym_cmds_GCJ
=
17061 always_export_symbols_GCJ
=no
17062 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17063 # include_expsyms should be a list of space-separated symbols to be *always*
17064 # included in the symbol list
17065 include_expsyms_GCJ
=
17066 # exclude_expsyms can be an extended regexp of symbols to exclude
17067 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17068 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17069 # as well as any symbol that contains `d'.
17070 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17071 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17072 # platforms (ab)use it in PIC code, but their linkers get confused if
17073 # the symbol is explicitly referenced. Since portable code cannot
17074 # rely on this symbol name, it's probably fine to never include it in
17075 # preloaded symbol tables.
17076 extract_expsyms_cmds
=
17077 # Just being paranoid about ensuring that cc_basename is set.
17078 for cc_temp
in $compiler""; do
17080 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17081 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17086 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17089 cygwin
* | mingw
* | pw32
*)
17090 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17091 # When not using gcc, we currently assume that we are using
17092 # Microsoft Visual C++.
17093 if test "$GCC" != yes; then
17098 # we just hope/assume this is gcc and not c89 (= MSVC++)
17107 if test "$with_gnu_ld" = yes; then
17108 # If archive_cmds runs LD, not CC, wlarc should be empty
17111 # Set some defaults for GNU ld with shared library support. These
17112 # are reset later if shared libraries are not supported. Putting them
17113 # here allows them to be overridden if necessary.
17114 runpath_var
=LD_RUN_PATH
17115 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17116 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17117 # ancient GNU ld didn't support --whole-archive et. al.
17118 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17119 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17121 whole_archive_flag_spec_GCJ
=
17123 supports_anon_versioning
=no
17124 case `$LD -v 2>/dev/null` in
17125 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17126 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17127 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17128 *\
2.11.
*) ;; # other 2.11 versions
17129 *) supports_anon_versioning
=yes ;;
17132 # See if GNU ld supports shared libraries.
17134 aix3
* | aix4
* | aix5
*)
17135 # On AIX/PPC, the GNU linker is very broken
17136 if test "$host_cpu" != ia64
; then
17140 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17141 *** to be unable to reliably create shared libraries on AIX.
17142 *** Therefore, libtool is disabling shared libraries support. If you
17143 *** really care for shared libraries, you may want to modify your PATH
17144 *** so that a non-GNU linker is found, and then restart.
17151 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)'
17152 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17153 hardcode_minus_L_GCJ
=yes
17155 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17156 # that the semantics of dynamic libraries on AmigaOS, at least up
17157 # to version 4, is to share data among multiple programs linked
17158 # with the same dynamic library. Since this doesn't match the
17159 # behavior of shared libraries on other platforms, we can't use
17165 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17166 allow_undefined_flag_GCJ
=unsupported
17167 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17168 # support --undefined. This deserves some investigation. FIXME
17169 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17175 cygwin
* | mingw
* | pw32
*)
17176 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17177 # as there is no search path for DLLs.
17178 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17179 allow_undefined_flag_GCJ
=unsupported
17180 always_export_symbols_GCJ
=no
17181 enable_shared_with_static_runtimes_GCJ
=yes
17182 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17184 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17185 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17186 # If the export-symbols file already is a .def file (1st line
17187 # is EXPORTS), use it as is; otherwise, prepend...
17188 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17189 cp $export_symbols $output_objdir/$soname.def;
17191 echo EXPORTS > $output_objdir/$soname.def;
17192 cat $export_symbols >> $output_objdir/$soname.def;
17194 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17201 hardcode_direct_GCJ
=no
17202 hardcode_shlibpath_var_GCJ
=no
17203 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17204 export_dynamic_flag_spec_GCJ
='${wl}-E'
17205 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17206 # Instead, shared libraries are loaded at an image base (0x10000000 by
17207 # default) and relocated if they conflict, which is a slow very memory
17208 # consuming and fragmenting process. To avoid this, we pick a random,
17209 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17210 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17211 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'
17212 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'
17215 gnu
* | linux
* | k
*bsd
*-gnu)
17216 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17218 case $cc_basename,$host_cpu in
17219 pgcc
*) # Portland Group C compiler
17220 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'
17221 tmp_addflag
=' $pic_flag'
17223 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17224 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'
17225 tmp_addflag
=' $pic_flag -Mnomain' ;;
17226 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17227 tmp_addflag
=' -i_dynamic' ;;
17228 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17229 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17230 ifc
* | ifort
*) # Intel Fortran compiler
17231 tmp_addflag
=' -nofor_main' ;;
17233 case `$CC -V 2>&1 | sed 5q` in
17234 *Sun\ C
*) # Sun C 5.9
17235 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'
17236 tmp_sharedflag
='-G' ;;
17237 *Sun\ F
*) # Sun Fortran 8.3
17238 tmp_sharedflag
='-G' ;;
17240 tmp_sharedflag
='-shared' ;;
17242 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17244 if test $supports_anon_versioning = yes; then
17245 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17246 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17247 $echo "local: *; };" >> $output_objdir/$libname.ver~
17248 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17256 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17257 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17260 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17261 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17266 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17270 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17271 *** create shared libraries on Solaris systems. Therefore, libtool
17272 *** is disabling shared libraries support. We urge you to upgrade GNU
17273 *** binutils to release 2.9.1 or newer. Another option is to modify
17274 *** your PATH or compiler configuration so that the native linker is
17275 *** used, and then restart.
17278 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17279 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17280 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17286 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17287 case `$LD -v 2>&1` in
17288 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17292 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17293 *** reliably create shared libraries on SCO systems. Therefore, libtool
17294 *** is disabling shared libraries support. We urge you to upgrade GNU
17295 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17296 *** your PATH or compiler configuration so that the native linker is
17297 *** used, and then restart.
17302 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17303 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17304 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17305 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17314 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17316 hardcode_direct_GCJ
=yes
17317 hardcode_shlibpath_var_GCJ
=no
17321 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17322 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17323 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17330 if test "$ld_shlibs_GCJ" = no
; then
17332 hardcode_libdir_flag_spec_GCJ
=
17333 export_dynamic_flag_spec_GCJ
=
17334 whole_archive_flag_spec_GCJ
=
17337 # PORTME fill in a description of your system's linker (not GNU ld)
17340 allow_undefined_flag_GCJ
=unsupported
17341 always_export_symbols_GCJ
=yes
17342 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'
17343 # Note: this linker hardcodes the directories in LIBPATH if there
17344 # are no directories specified by -L.
17345 hardcode_minus_L_GCJ
=yes
17346 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17347 # Neither direct hardcoding nor static linking is supported with a
17349 hardcode_direct_GCJ
=unsupported
17354 if test "$host_cpu" = ia64
; then
17355 # On IA64, the linker does run time linking by default, so we don't
17356 # have to do anything special.
17357 aix_use_runtimelinking
=no
17358 exp_sym_flag
='-Bexport'
17361 # If we're using GNU nm, then we don't want the "-C" option.
17362 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17363 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17364 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'
17366 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'
17368 aix_use_runtimelinking
=no
17370 # Test if we are trying to use run time linking or normal
17371 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17372 # need to do runtime linking.
17373 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17374 for ld_flag
in $LDFLAGS; do
17375 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17376 aix_use_runtimelinking
=yes
17383 exp_sym_flag
='-bexport'
17384 no_entry_flag
='-bnoentry'
17387 # When large executables or shared objects are built, AIX ld can
17388 # have problems creating the table of contents. If linking a library
17389 # or program results in "error TOC overflow" add -mminimal-toc to
17390 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17391 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17393 archive_cmds_GCJ
=''
17394 hardcode_direct_GCJ
=yes
17395 hardcode_libdir_separator_GCJ
=':'
17396 link_all_deplibs_GCJ
=yes
17398 if test "$GCC" = yes; then
17399 case $host_os in aix4.
[012]|aix4.
[012].
*)
17400 # We only want to do this on AIX 4.2 and lower, the check
17401 # below for broken collect2 doesn't work under 4.3+
17402 collect2name
=`${CC} -print-prog-name=collect2`
17403 if test -f "$collect2name" && \
17404 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17406 # We have reworked collect2
17409 # We have old collect2
17410 hardcode_direct_GCJ
=unsupported
17411 # It fails to find uninstalled libraries when the uninstalled
17412 # path is not listed in the libpath. Setting hardcode_minus_L
17413 # to unsupported forces relinking
17414 hardcode_minus_L_GCJ
=yes
17415 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17416 hardcode_libdir_separator_GCJ
=
17420 shared_flag
='-shared'
17421 if test "$aix_use_runtimelinking" = yes; then
17422 shared_flag
="$shared_flag "'${wl}-G'
17426 if test "$host_cpu" = ia64
; then
17427 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17428 # chokes on -Wl,-G. The following line is correct:
17431 if test "$aix_use_runtimelinking" = yes; then
17432 shared_flag
='${wl}-G'
17434 shared_flag
='${wl}-bM:SRE'
17439 # It seems that -bexpall does not export symbols beginning with
17440 # underscore (_), so it is better to generate a list of symbols to export.
17441 always_export_symbols_GCJ
=yes
17442 if test "$aix_use_runtimelinking" = yes; then
17443 # Warning - without using the other runtime loading flags (-brtl),
17444 # -berok will link without error, but may produce a broken library.
17445 allow_undefined_flag_GCJ
='-berok'
17446 # Determine the default libpath from the value encoded in an empty executable.
17447 cat >conftest.
$ac_ext <<_ACEOF
17450 cat confdefs.h
>>conftest.
$ac_ext
17451 cat >>conftest.
$ac_ext <<_ACEOF
17452 /* end confdefs.h. */
17462 rm -f conftest.
$ac_objext conftest
$ac_exeext
17463 if { (ac_try
="$ac_link"
17464 case "(($ac_try" in
17465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17466 *) ac_try_echo=$ac_try;;
17468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17469 (eval "$ac_link") 2>conftest.er1
17471 grep -v '^ *+' conftest.er1 >conftest.err
17473 cat conftest.err >&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } && {
17476 test -z "$ac_c_werror_flag" ||
17477 test ! -s conftest.err
17478 } && test -s conftest$ac_exeext &&
17479 $as_test_x conftest$ac_exeext; then
17481 lt_aix_libpath_sed='
17482 /Import File Strings/,/^$/ {
17488 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17489 # Check for a 64-bit object if we didn't find anything.
17490 if test -z "$aix_libpath"; then
17491 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17494 echo "$as_me: failed program was:" >&5
17495 sed 's/^/| /' conftest.$ac_ext >&5
17500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17501 conftest$ac_exeext conftest.$ac_ext
17502 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17504 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17505 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"
17507 if test "$host_cpu" = ia64; then
17508 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17509 allow_undefined_flag_GCJ="-z nodefs"
17510 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"
17512 # Determine the default libpath from the value encoded in an empty executable.
17513 cat >conftest.$ac_ext <<_ACEOF
17516 cat confdefs.h >>conftest.$ac_ext
17517 cat >>conftest.$ac_ext <<_ACEOF
17518 /* end confdefs.h. */
17528 rm -f conftest.$ac_objext conftest$ac_exeext
17529 if { (ac_try="$ac_link"
17530 case "(($ac_try" in
17531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17532 *) ac_try_echo
=$ac_try;;
17534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17535 (eval "$ac_link") 2>conftest.er1
17537 grep -v '^ *+' conftest.er1
>conftest.err
17539 cat conftest.err
>&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } && {
17542 test -z "$ac_c_werror_flag" ||
17543 test ! -s conftest.err
17544 } && test -s conftest
$ac_exeext &&
17545 $as_test_x conftest
$ac_exeext; then
17547 lt_aix_libpath_sed
='
17548 /Import File Strings/,/^$/ {
17554 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17555 # Check for a 64-bit object if we didn't find anything.
17556 if test -z "$aix_libpath"; then
17557 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.
$ac_ext >&5
17566 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17567 conftest
$ac_exeext conftest.
$ac_ext
17568 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17570 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17571 # Warning - without using the other run time loading flags,
17572 # -berok will link without error, but may produce a broken library.
17573 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17574 allow_undefined_flag_GCJ
=' ${wl}-berok'
17575 # Exported symbols can be pulled into shared objects from archives
17576 whole_archive_flag_spec_GCJ
='$convenience'
17577 archive_cmds_need_lc_GCJ
=yes
17578 # This is similar to how AIX traditionally builds its shared libraries.
17579 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'
17585 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)'
17586 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17587 hardcode_minus_L_GCJ
=yes
17588 # see comment about different semantics on the GNU ld section
17593 export_dynamic_flag_spec_GCJ
=-rdynamic
17596 cygwin
* | mingw
* | pw32
*)
17597 # When not using gcc, we currently assume that we are using
17598 # Microsoft Visual C++.
17599 # hardcode_libdir_flag_spec is actually meaningless, as there is
17600 # no search path for DLLs.
17601 hardcode_libdir_flag_spec_GCJ
=' '
17602 allow_undefined_flag_GCJ
=unsupported
17603 # Tell ltmain to make .lib files, not .a files.
17605 # Tell ltmain to make .dll files, not .so files.
17607 # FIXME: Setting linknames here is a bad hack.
17608 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17609 # The linker will automatically build a .lib file if we build a DLL.
17610 old_archive_From_new_cmds_GCJ
='true'
17611 # FIXME: Should let the user specify the lib program.
17612 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17613 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17614 enable_shared_with_static_runtimes_GCJ
=yes
17617 darwin
* | rhapsody
*)
17619 rhapsody
* | darwin1.
[012])
17620 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17623 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17624 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17626 case ${MACOSX_DEPLOYMENT_TARGET} in
17628 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17631 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17637 archive_cmds_need_lc_GCJ
=no
17638 hardcode_direct_GCJ
=no
17639 hardcode_automatic_GCJ
=yes
17640 hardcode_shlibpath_var_GCJ
=unsupported
17641 whole_archive_flag_spec_GCJ
=''
17642 link_all_deplibs_GCJ
=yes
17643 if test "$GCC" = yes ; then
17644 output_verbose_link_cmd
='echo'
17645 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17646 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17647 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17648 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}'
17649 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}'
17651 case $cc_basename in
17653 output_verbose_link_cmd
='echo'
17654 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17655 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17656 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17657 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}'
17658 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}'
17668 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17669 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17670 hardcode_shlibpath_var_GCJ
=no
17677 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17678 # support. Future versions do this automatically, but an explicit c++rt0.o
17679 # does not break anything, and helps significantly (at the cost of a little
17682 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17683 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17684 hardcode_direct_GCJ
=yes
17685 hardcode_shlibpath_var_GCJ
=no
17688 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17690 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17691 hardcode_direct_GCJ
=yes
17692 hardcode_minus_L_GCJ
=yes
17693 hardcode_shlibpath_var_GCJ
=no
17696 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17697 freebsd
* | dragonfly
*)
17698 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17699 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17700 hardcode_direct_GCJ
=yes
17701 hardcode_shlibpath_var_GCJ
=no
17705 if test "$GCC" = yes; then
17706 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'
17708 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'
17710 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17711 hardcode_libdir_separator_GCJ
=:
17712 hardcode_direct_GCJ
=yes
17714 # hardcode_minus_L: Not really in the search PATH,
17715 # but as the default location of the library.
17716 hardcode_minus_L_GCJ
=yes
17717 export_dynamic_flag_spec_GCJ
='${wl}-E'
17721 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17722 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17724 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17726 if test "$with_gnu_ld" = no
; then
17727 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17728 hardcode_libdir_separator_GCJ
=:
17730 hardcode_direct_GCJ
=yes
17731 export_dynamic_flag_spec_GCJ
='${wl}-E'
17733 # hardcode_minus_L: Not really in the search PATH,
17734 # but as the default location of the library.
17735 hardcode_minus_L_GCJ
=yes
17740 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17743 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17746 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17749 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17755 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17758 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17761 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17765 if test "$with_gnu_ld" = no
; then
17766 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17767 hardcode_libdir_separator_GCJ
=:
17771 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17772 hardcode_direct_GCJ
=no
17773 hardcode_shlibpath_var_GCJ
=no
17776 hardcode_direct_GCJ
=yes
17777 export_dynamic_flag_spec_GCJ
='${wl}-E'
17779 # hardcode_minus_L: Not really in the search PATH,
17780 # but as the default location of the library.
17781 hardcode_minus_L_GCJ
=yes
17787 irix5
* | irix6
* | nonstopux
*)
17788 if test "$GCC" = yes; then
17789 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'
17791 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'
17792 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17794 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17795 hardcode_libdir_separator_GCJ
=:
17796 link_all_deplibs_GCJ
=yes
17800 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17801 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17803 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17805 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17806 hardcode_direct_GCJ
=yes
17807 hardcode_shlibpath_var_GCJ
=no
17811 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17812 hardcode_direct_GCJ
=yes
17813 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17814 hardcode_libdir_separator_GCJ
=:
17815 hardcode_shlibpath_var_GCJ
=no
17819 if test -f /usr
/libexec
/ld.so
; then
17820 hardcode_direct_GCJ
=yes
17821 hardcode_shlibpath_var_GCJ
=no
17822 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17823 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17824 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17825 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17826 export_dynamic_flag_spec_GCJ
='${wl}-E'
17829 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17830 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17831 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17834 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17835 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17845 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17846 hardcode_minus_L_GCJ
=yes
17847 allow_undefined_flag_GCJ
=unsupported
17848 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'
17849 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17853 if test "$GCC" = yes; then
17854 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17855 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'
17857 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17858 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'
17860 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17861 hardcode_libdir_separator_GCJ
=:
17864 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17865 if test "$GCC" = yes; then
17866 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17867 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'
17868 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17870 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17871 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'
17872 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~
17873 $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'
17875 # Both c and cxx compiler support -rpath directly
17876 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17878 hardcode_libdir_separator_GCJ
=:
17882 no_undefined_flag_GCJ
=' -z text'
17883 if test "$GCC" = yes; then
17885 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17886 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17887 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17890 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17891 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17892 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17894 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17895 hardcode_shlibpath_var_GCJ
=no
17897 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17899 # The compiler driver will combine and reorder linker options,
17900 # but understands `-z linker_flag'. GCC discards it without `$wl',
17901 # but is careful enough not to reorder.
17902 # Supported since Solaris 2.6 (maybe 2.5.1?)
17903 if test "$GCC" = yes; then
17904 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17906 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17910 link_all_deplibs_GCJ
=yes
17914 if test "x$host_vendor" = xsequent
; then
17915 # Use $CC to link under sequent, because it throws in some extra .o
17916 # files that make .init and .fini sections work.
17917 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17919 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17921 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17922 hardcode_direct_GCJ
=yes
17923 hardcode_minus_L_GCJ
=yes
17924 hardcode_shlibpath_var_GCJ
=no
17928 case $host_vendor in
17930 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17931 hardcode_direct_GCJ
=yes # is this really true???
17934 ## LD is ld it makes a PLAMLIB
17935 ## CC just makes a GrossModule.
17936 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17937 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17938 hardcode_direct_GCJ
=no
17941 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17942 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17945 runpath_var
='LD_RUN_PATH'
17946 hardcode_shlibpath_var_GCJ
=no
17950 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17951 hardcode_shlibpath_var_GCJ
=no
17952 export_dynamic_flag_spec_GCJ
='-Bexport'
17956 if test -d /usr
/nec
; then
17957 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17958 hardcode_shlibpath_var_GCJ
=no
17959 runpath_var
=LD_RUN_PATH
17960 hardcode_runpath_var
=yes
17965 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17966 no_undefined_flag_GCJ
='${wl}-z,text'
17967 archive_cmds_need_lc_GCJ
=no
17968 hardcode_shlibpath_var_GCJ
=no
17969 runpath_var
='LD_RUN_PATH'
17971 if test "$GCC" = yes; then
17972 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17973 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17975 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17976 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17980 sysv5
* | sco3.2v5
* | sco5v6
*)
17981 # Note: We can NOT use -z defs as we might desire, because we do not
17982 # link with -lc, and that would cause any symbols used from libc to
17983 # always be unresolved, which means just about no library would
17984 # ever link correctly. If we're not using GNU ld we use -z text
17985 # though, which does catch some bad symbols but isn't as heavy-handed
17987 no_undefined_flag_GCJ
='${wl}-z,text'
17988 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17989 archive_cmds_need_lc_GCJ
=no
17990 hardcode_shlibpath_var_GCJ
=no
17991 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17992 hardcode_libdir_separator_GCJ
=':'
17993 link_all_deplibs_GCJ
=yes
17994 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17995 runpath_var
='LD_RUN_PATH'
17997 if test "$GCC" = yes; then
17998 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17999 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18001 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18002 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18007 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18008 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18009 hardcode_shlibpath_var_GCJ
=no
18018 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18019 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18020 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18023 # Do we need to explicitly link libc?
18025 case "x$archive_cmds_need_lc_GCJ" in
18027 # Assume -lc should be added
18028 archive_cmds_need_lc_GCJ
=yes
18030 if test "$enable_shared" = yes && test "$GCC" = yes; then
18031 case $archive_cmds_GCJ in
18033 # FIXME: we may have to deal with multi-command sequences.
18036 # Test whether the compiler implicitly links with -lc since on some
18037 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18038 # to ld, don't add -lc before -lgcc.
18039 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18040 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18042 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18045 (eval $ac_compile) 2>&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } 2>conftest.err
; then
18051 libobjs
=conftest.
$ac_objext
18053 wl
=$lt_prog_compiler_wl_GCJ
18054 pic_flag
=$lt_prog_compiler_pic_GCJ
18060 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18061 allow_undefined_flag_GCJ
=
18062 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18063 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }
18068 archive_cmds_need_lc_GCJ
=no
18070 archive_cmds_need_lc_GCJ
=yes
18072 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18074 cat conftest.err
1>&5
18077 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18078 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18085 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18086 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18087 library_names_spec
=
18088 libname_spec
='lib$name'
18092 postuninstall_cmds
=
18096 shlibpath_overrides_runpath
=unknown
18098 dynamic_linker
="$host_os ld.so"
18099 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18101 need_lib_prefix
=unknown
18102 hardcode_into_libs
=no
18104 # when you set need_version to no, make sure it does not cause -set_version
18105 # flags to be left without arguments
18106 need_version
=unknown
18111 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18112 shlibpath_var
=LIBPATH
18114 # AIX 3 has no versioning support, so we append a major version to the name.
18115 soname_spec
='${libname}${release}${shared_ext}$major'
18122 hardcode_into_libs
=yes
18123 if test "$host_cpu" = ia64
; then
18124 # AIX 5 supports IA64
18125 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18126 shlibpath_var
=LD_LIBRARY_PATH
18128 # With GCC up to 2.95.x, collect2 would create an import file
18129 # for dependence libraries. The import file would start with
18130 # the line `#! .'. This would cause the generated library to
18131 # depend on `.', always an invalid library. This was fixed in
18132 # development snapshots of GCC prior to 3.0.
18134 aix4 | aix4.
[01] | aix4.
[01].
*)
18135 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18137 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18140 can_build_shared
=no
18144 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18145 # soname into executable. Probably we can add versioning support to
18146 # collect2, so additional links can be useful in future.
18147 if test "$aix_use_runtimelinking" = yes; then
18148 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18149 # instead of lib<name>.a to let people know that these are not
18150 # typical AIX shared libraries.
18151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18153 # We preserve .a as extension for shared libraries through AIX4.2
18154 # and later when we are not doing run time linking.
18155 library_names_spec
='${libname}${release}.a $libname.a'
18156 soname_spec
='${libname}${release}${shared_ext}$major'
18158 shlibpath_var
=LIBPATH
18163 library_names_spec
='$libname.ixlibrary $libname.a'
18164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18165 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'
18169 library_names_spec
='${libname}${shared_ext}'
18170 dynamic_linker
="$host_os ld.so"
18171 shlibpath_var
=LIBRARY_PATH
18177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18178 soname_spec
='${libname}${release}${shared_ext}$major'
18179 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18180 shlibpath_var
=LD_LIBRARY_PATH
18181 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18182 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18183 # the default ld.so.conf also contains /usr/contrib/lib and
18184 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18185 # libtool to hard-code these into programs
18188 cygwin
* | mingw
* | pw32
*)
18189 version_type
=windows
18194 case $GCC,$host_os in
18195 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18196 library_names_spec
='$libname.dll.a'
18197 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18198 postinstall_cmds
='base_file=`basename \${file}`~
18199 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18200 dldir=$destdir/`dirname \$dlpath`~
18201 test -d \$dldir || mkdir -p \$dldir~
18202 $install_prog $dir/$dlname \$dldir/$dlname~
18203 chmod a+x \$dldir/$dlname'
18204 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18205 dlpath=$dir/\$dldll~
18207 shlibpath_overrides_runpath
=yes
18211 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18212 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18213 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18216 # MinGW DLLs use traditional 'lib' prefix
18217 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18218 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18219 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18220 # It is most probably a Windows format PATH printed by
18221 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18222 # path with ; separators, and with drive letters. We can handle the
18223 # drive letters (cygwin fileutils understands them), so leave them,
18224 # especially as we might pass files found there to a mingw objdump,
18225 # which wouldn't understand a cygwinified path. Ahh.
18226 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18228 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18232 # pw32 DLLs use 'pw' prefix rather than 'lib'
18233 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18239 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18242 dynamic_linker
='Win32 ld.exe'
18243 # FIXME: first we should search . and the directory the executable is in
18247 darwin
* | rhapsody
*)
18248 dynamic_linker
="$host_os dyld"
18249 version_type
=darwin
18252 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18253 soname_spec
='${libname}${release}${major}$shared_ext'
18254 shlibpath_overrides_runpath
=yes
18255 shlibpath_var
=DYLD_LIBRARY_PATH
18256 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18258 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18266 soname_spec
='${libname}${release}${shared_ext}$major'
18267 shlibpath_var
=LD_LIBRARY_PATH
18274 freebsd
* | dragonfly
*)
18275 # DragonFly does not have aout. When/if they implement a new
18276 # versioning mechanism, adjust this.
18277 if test -x /usr
/bin
/objformat
; then
18278 objformat
=`/usr/bin/objformat`
18281 freebsd
[123]*) objformat
=aout
;;
18282 *) objformat
=elf
;;
18285 version_type
=freebsd-
$objformat
18286 case $version_type in
18288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18293 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18297 shlibpath_var
=LD_LIBRARY_PATH
18300 shlibpath_overrides_runpath
=yes
18302 freebsd3.
[01]* | freebsdelf3.
[01]*)
18303 shlibpath_overrides_runpath
=yes
18304 hardcode_into_libs
=yes
18306 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18307 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18308 shlibpath_overrides_runpath
=no
18309 hardcode_into_libs
=yes
18311 *) # from 4.6 on, and DragonFly
18312 shlibpath_overrides_runpath
=yes
18313 hardcode_into_libs
=yes
18322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18323 soname_spec
='${libname}${release}${shared_ext}$major'
18324 shlibpath_var
=LD_LIBRARY_PATH
18325 hardcode_into_libs
=yes
18328 hpux9
* | hpux10
* | hpux11
*)
18329 # Give a soname corresponding to the major version so that dld.sl refuses to
18330 # link against other versions.
18337 hardcode_into_libs
=yes
18338 dynamic_linker
="$host_os dld.so"
18339 shlibpath_var
=LD_LIBRARY_PATH
18340 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18342 soname_spec
='${libname}${release}${shared_ext}$major'
18343 if test "X$HPUX_IA64_MODE" = X32
; then
18344 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18346 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18348 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18352 hardcode_into_libs
=yes
18353 dynamic_linker
="$host_os dld.sl"
18354 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18355 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18357 soname_spec
='${libname}${release}${shared_ext}$major'
18358 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18359 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18363 dynamic_linker
="$host_os dld.sl"
18364 shlibpath_var
=SHLIB_PATH
18365 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18367 soname_spec
='${libname}${release}${shared_ext}$major'
18370 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18371 postinstall_cmds
='chmod 555 $lib'
18378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18379 soname_spec
='${libname}${release}${shared_ext}$major'
18380 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18381 shlibpath_var
=LD_LIBRARY_PATH
18382 shlibpath_overrides_runpath
=no
18383 hardcode_into_libs
=yes
18386 irix5
* | irix6
* | nonstopux
*)
18388 nonstopux
*) version_type
=nonstopux
;;
18390 if test "$lt_cv_prog_gnu_ld" = yes; then
18398 soname_spec
='${libname}${release}${shared_ext}$major'
18399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18401 irix5
* | nonstopux
*)
18402 libsuff
= shlibsuff
=
18405 case $LD in # libtool.m4 will add one of these switches to LD
18406 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18407 libsuff
= shlibsuff
= libmagic
=32-bit;;
18408 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18409 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18410 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18411 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18412 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18416 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18417 shlibpath_overrides_runpath
=no
18418 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18419 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18420 hardcode_into_libs
=yes
18423 # No shared lib support for Linux oldld, aout, or coff.
18424 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18428 # This must be Linux ELF.
18429 linux
* | k
*bsd
*-gnu)
18433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18434 soname_spec
='${libname}${release}${shared_ext}$major'
18435 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18436 shlibpath_var
=LD_LIBRARY_PATH
18437 shlibpath_overrides_runpath
=no
18438 # This implies no fast_install, which is unacceptable.
18439 # Some rework will be needed to allow for fast_install
18440 # before this can be enabled.
18441 hardcode_into_libs
=yes
18442 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18443 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18445 # Append ld.so.conf contents to the search path
18446 if test -f /etc
/ld.so.conf
; then
18447 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' ' '`
18448 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
18451 # We used to test for /lib/ld.so.1 and disable shared libraries on
18452 # powerpc, because MkLinux only supported shared libraries with the
18453 # GNU dynamic linker. Since this was broken with cross compilers,
18454 # most powerpc-linux boxes support dynamic linking these days and
18455 # people can always --disable-shared, the test was removed, and we
18456 # assume the GNU/Linux dynamic linker is in use.
18457 dynamic_linker
='GNU/Linux ld.so'
18464 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18466 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18467 dynamic_linker
='NetBSD (a.out) ld.so'
18469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18470 soname_spec
='${libname}${release}${shared_ext}$major'
18471 dynamic_linker
='NetBSD ld.elf_so'
18473 shlibpath_var
=LD_LIBRARY_PATH
18474 shlibpath_overrides_runpath
=yes
18475 hardcode_into_libs
=yes
18480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18481 shlibpath_var
=LD_LIBRARY_PATH
18482 shlibpath_overrides_runpath
=yes
18489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18490 soname_spec
='${libname}${release}${shared_ext}$major'
18491 shlibpath_var
=LD_LIBRARY_PATH
18492 shlibpath_overrides_runpath
=yes
18497 sys_lib_dlsearch_path_spec
="/usr/lib"
18499 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18501 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18502 *) need_version
=no
;;
18504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18505 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18506 shlibpath_var
=LD_LIBRARY_PATH
18507 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18509 openbsd2.
[89] | openbsd2.
[89].
*)
18510 shlibpath_overrides_runpath
=no
18513 shlibpath_overrides_runpath
=yes
18517 shlibpath_overrides_runpath
=yes
18522 libname_spec
='$name'
18525 library_names_spec
='$libname${shared_ext} $libname.a'
18526 dynamic_linker
='OS/2 ld.exe'
18527 shlibpath_var
=LIBPATH
18530 osf3
* | osf4
* | osf5
*)
18534 soname_spec
='${libname}${release}${shared_ext}$major'
18535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18536 shlibpath_var
=LD_LIBRARY_PATH
18537 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18538 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18550 soname_spec
='${libname}${release}${shared_ext}$major'
18551 shlibpath_var
=LD_LIBRARY_PATH
18552 shlibpath_overrides_runpath
=yes
18553 hardcode_into_libs
=yes
18554 # ldd complains unless libraries are executable
18555 postinstall_cmds
='chmod +x $lib'
18560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18561 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18562 shlibpath_var
=LD_LIBRARY_PATH
18563 shlibpath_overrides_runpath
=yes
18564 if test "$with_gnu_ld" = yes; then
18572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18573 soname_spec
='${libname}${release}${shared_ext}$major'
18574 shlibpath_var
=LD_LIBRARY_PATH
18575 case $host_vendor in
18577 shlibpath_overrides_runpath
=no
18579 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18580 runpath_var
=LD_RUN_PATH
18588 shlibpath_overrides_runpath
=no
18589 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18595 if test -d /usr
/nec
;then
18597 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18598 soname_spec
='$libname${shared_ext}.$major'
18599 shlibpath_var
=LD_LIBRARY_PATH
18603 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18604 version_type
=freebsd-elf
18607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18608 soname_spec
='${libname}${release}${shared_ext}$major'
18609 shlibpath_var
=LD_LIBRARY_PATH
18610 hardcode_into_libs
=yes
18611 if test "$with_gnu_ld" = yes; then
18612 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18613 shlibpath_overrides_runpath
=no
18615 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18616 shlibpath_overrides_runpath
=yes
18619 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18623 sys_lib_dlsearch_path_spec
='/usr/lib'
18628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18629 soname_spec
='${libname}${release}${shared_ext}$major'
18630 shlibpath_var
=LD_LIBRARY_PATH
18637 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18638 echo "${ECHO_T}$dynamic_linker" >&6; }
18639 test "$dynamic_linker" = no
&& can_build_shared
=no
18641 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18642 if test "$GCC" = yes; then
18643 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18646 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18647 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18648 hardcode_action_GCJ
=
18649 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18650 test -n "$runpath_var_GCJ" || \
18651 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18653 # We can hardcode non-existant directories.
18654 if test "$hardcode_direct_GCJ" != no
&&
18655 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18656 # have to relink, otherwise we might link with an installed library
18657 # when we should be linking with a yet-to-be-installed one
18658 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18659 test "$hardcode_minus_L_GCJ" != no
; then
18660 # Linking always hardcodes the temporary library directory.
18661 hardcode_action_GCJ
=relink
18663 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18664 hardcode_action_GCJ
=immediate
18667 # We cannot hardcode anything, or else we can only hardcode existing
18669 hardcode_action_GCJ
=unsupported
18671 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18672 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18674 if test "$hardcode_action_GCJ" = relink
; then
18675 # Fast installation is not supported
18676 enable_fast_install
=no
18677 elif test "$shlibpath_overrides_runpath" = yes ||
18678 test "$enable_shared" = no
; then
18679 # Fast installation is not necessary
18680 enable_fast_install
=needless
18684 # The else clause should only fire when bootstrapping the
18685 # libtool distribution, otherwise you forgot to ship ltmain.sh
18686 # with your package, and you will get complaints that there are
18687 # no rules to generate ltmain.sh.
18688 if test -f "$ltmain"; then
18689 # See if we are running on zsh, and set the options which allow our commands through
18690 # without removal of \ escapes.
18691 if test -n "${ZSH_VERSION+set}" ; then
18692 setopt NO_GLOB_SUBST
18694 # Now quote all the things that may contain metacharacters while being
18695 # careful not to overquote the AC_SUBSTed values. We take copies of the
18696 # variables and quote the copies for generation of the libtool script.
18697 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18699 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18700 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18701 deplibs_check_method reload_flag reload_cmds need_locks \
18702 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18703 lt_cv_sys_global_symbol_to_c_name_address \
18704 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18705 old_postinstall_cmds old_postuninstall_cmds \
18709 lt_prog_compiler_wl_GCJ \
18710 lt_prog_compiler_pic_GCJ \
18711 lt_prog_compiler_static_GCJ \
18712 lt_prog_compiler_no_builtin_flag_GCJ \
18713 export_dynamic_flag_spec_GCJ \
18714 thread_safe_flag_spec_GCJ \
18715 whole_archive_flag_spec_GCJ \
18716 enable_shared_with_static_runtimes_GCJ \
18717 old_archive_cmds_GCJ \
18718 old_archive_from_new_cmds_GCJ \
18719 predep_objects_GCJ \
18720 postdep_objects_GCJ \
18723 compiler_lib_search_path_GCJ \
18725 archive_expsym_cmds_GCJ \
18726 postinstall_cmds_GCJ \
18727 postuninstall_cmds_GCJ \
18728 old_archive_from_expsyms_cmds_GCJ \
18729 allow_undefined_flag_GCJ \
18730 no_undefined_flag_GCJ \
18731 export_symbols_cmds_GCJ \
18732 hardcode_libdir_flag_spec_GCJ \
18733 hardcode_libdir_flag_spec_ld_GCJ \
18734 hardcode_libdir_separator_GCJ \
18735 hardcode_automatic_GCJ \
18737 module_expsym_cmds_GCJ \
18738 lt_cv_prog_compiler_c_o_GCJ \
18739 fix_srcfile_path_GCJ \
18740 exclude_expsyms_GCJ \
18741 include_expsyms_GCJ
; do
18744 old_archive_cmds_GCJ | \
18745 old_archive_from_new_cmds_GCJ | \
18746 archive_cmds_GCJ | \
18747 archive_expsym_cmds_GCJ | \
18748 module_cmds_GCJ | \
18749 module_expsym_cmds_GCJ | \
18750 old_archive_from_expsyms_cmds_GCJ | \
18751 export_symbols_cmds_GCJ | \
18752 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18753 postinstall_cmds | postuninstall_cmds | \
18754 old_postinstall_cmds | old_postuninstall_cmds | \
18755 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18756 # Double-quote double-evaled strings.
18757 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18760 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18766 *'\$0 --fallback-echo"')
18767 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18773 cat <<__EOF__ >> "$cfgfile"
18774 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18776 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18778 # Shell to use when invoking shell scripts.
18781 # Whether or not to build shared libraries.
18782 build_libtool_libs=$enable_shared
18784 # Whether or not to build static libraries.
18785 build_old_libs=$enable_static
18787 # Whether or not to add -lc for building shared libraries.
18788 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18790 # Whether or not to disallow shared libs when runtime libs are static
18791 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18793 # Whether or not to optimize for fast installation.
18794 fast_install=$enable_fast_install
18797 host_alias=$host_alias
18801 # The build system.
18802 build_alias=$build_alias
18806 # An echo program that does not interpret backslashes.
18811 AR_FLAGS=$lt_AR_FLAGS
18816 # LTCC compiler flags.
18817 LTCFLAGS=$lt_LTCFLAGS
18819 # A language-specific compiler.
18820 CC=$lt_compiler_GCJ
18822 # Is the compiler the GNU C compiler?
18828 # The linker used to build libraries.
18831 # Whether we need hard or soft links.
18834 # A BSD-compatible nm program.
18837 # A symbol stripping program
18840 # Used to examine libraries when file_magic_cmd begins "file"
18841 MAGIC_CMD=$MAGIC_CMD
18843 # Used on cygwin: DLL creation program.
18846 # Used on cygwin: object dumper.
18849 # Used on cygwin: assembler.
18852 # The name of the directory that contains temporary libtool files.
18855 # How to create reloadable object files.
18856 reload_flag=$lt_reload_flag
18857 reload_cmds=$lt_reload_cmds
18859 # How to pass a linker flag through the compiler.
18860 wl=$lt_lt_prog_compiler_wl_GCJ
18862 # Object file suffix (normally "o").
18863 objext="$ac_objext"
18865 # Old archive suffix (normally "a").
18868 # Shared library suffix (normally ".so").
18869 shrext_cmds='$shrext_cmds'
18871 # Executable file suffix (normally "").
18874 # Additional compiler flags for building library objects.
18875 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18878 # What is the maximum length of a command?
18879 max_cmd_len=$lt_cv_sys_max_cmd_len
18881 # Does compiler simultaneously support -c and -o options?
18882 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18884 # Must we lock files when doing compilation?
18885 need_locks=$lt_need_locks
18887 # Do we need the lib prefix for modules?
18888 need_lib_prefix=$need_lib_prefix
18890 # Do we need a version for libraries?
18891 need_version=$need_version
18893 # Whether dlopen is supported.
18894 dlopen_support=$enable_dlopen
18896 # Whether dlopen of programs is supported.
18897 dlopen_self=$enable_dlopen_self
18899 # Whether dlopen of statically linked programs is supported.
18900 dlopen_self_static=$enable_dlopen_self_static
18902 # Compiler flag to prevent dynamic linking.
18903 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18905 # Compiler flag to turn off builtin functions.
18906 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18908 # Compiler flag to allow reflexive dlopens.
18909 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18911 # Compiler flag to generate shared objects directly from archives.
18912 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18914 # Compiler flag to generate thread-safe objects.
18915 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18917 # Library versioning type.
18918 version_type=$version_type
18920 # Format of library name prefix.
18921 libname_spec=$lt_libname_spec
18923 # List of archive names. First name is the real one, the rest are links.
18924 # The last name is the one that the linker finds with -lNAME.
18925 library_names_spec=$lt_library_names_spec
18927 # The coded name of the library, if different from the real name.
18928 soname_spec=$lt_soname_spec
18930 # Commands used to build and install an old-style archive.
18932 old_archive_cmds=$lt_old_archive_cmds_GCJ
18933 old_postinstall_cmds=$lt_old_postinstall_cmds
18934 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18936 # Create an old-style archive from a shared archive.
18937 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18939 # Create a temporary old-style archive to link instead of a shared archive.
18940 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18942 # Commands used to build and install a shared archive.
18943 archive_cmds=$lt_archive_cmds_GCJ
18944 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18945 postinstall_cmds=$lt_postinstall_cmds
18946 postuninstall_cmds=$lt_postuninstall_cmds
18948 # Commands used to build a loadable module (assumed same as above if empty)
18949 module_cmds=$lt_module_cmds_GCJ
18950 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18952 # Commands to strip libraries.
18953 old_striplib=$lt_old_striplib
18954 striplib=$lt_striplib
18956 # Dependencies to place before the objects being linked to create a
18958 predep_objects=$lt_predep_objects_GCJ
18960 # Dependencies to place after the objects being linked to create a
18962 postdep_objects=$lt_postdep_objects_GCJ
18964 # Dependencies to place before the objects being linked to create a
18966 predeps=$lt_predeps_GCJ
18968 # Dependencies to place after the objects being linked to create a
18970 postdeps=$lt_postdeps_GCJ
18972 # The library search path used internally by the compiler when linking
18973 # a shared library.
18974 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18976 # Method to check whether dependent libraries are shared objects.
18977 deplibs_check_method=$lt_deplibs_check_method
18979 # Command to use when deplibs_check_method == file_magic.
18980 file_magic_cmd=$lt_file_magic_cmd
18982 # Flag that allows shared libraries with undefined symbols to be built.
18983 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18985 # Flag that forces no undefined symbols.
18986 no_undefined_flag=$lt_no_undefined_flag_GCJ
18988 # Commands used to finish a libtool library installation in a directory.
18989 finish_cmds=$lt_finish_cmds
18991 # Same as above, but a single script fragment to be evaled but not shown.
18992 finish_eval=$lt_finish_eval
18994 # Take the output of nm and produce a listing of raw symbols and C names.
18995 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18997 # Transform the output of nm in a proper C declaration
18998 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19000 # Transform the output of nm in a C name address pair
19001 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19003 # This is the shared library runtime path variable.
19004 runpath_var=$runpath_var
19006 # This is the shared library path variable.
19007 shlibpath_var=$shlibpath_var
19009 # Is shlibpath searched before the hard-coded library search path?
19010 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19012 # How to hardcode a shared library path into an executable.
19013 hardcode_action=$hardcode_action_GCJ
19015 # Whether we should hardcode library paths into libraries.
19016 hardcode_into_libs=$hardcode_into_libs
19018 # Flag to hardcode \$libdir into a binary during linking.
19019 # This must work even if \$libdir does not exist.
19020 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19022 # If ld is used when linking, flag to hardcode \$libdir into
19023 # a binary during linking. This must work even if \$libdir does
19025 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19027 # Whether we need a single -rpath flag with a separated argument.
19028 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19030 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19031 # resulting binary.
19032 hardcode_direct=$hardcode_direct_GCJ
19034 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19035 # resulting binary.
19036 hardcode_minus_L=$hardcode_minus_L_GCJ
19038 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19039 # the resulting binary.
19040 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19042 # Set to yes if building a shared library automatically hardcodes DIR into the library
19043 # and all subsequent libraries and executables linked against it.
19044 hardcode_automatic=$hardcode_automatic_GCJ
19046 # Variables whose values should be saved in libtool wrapper scripts and
19047 # restored at relink time.
19048 variables_saved_for_relink="$variables_saved_for_relink"
19050 # Whether libtool must link a program against all its dependency libraries.
19051 link_all_deplibs=$link_all_deplibs_GCJ
19053 # Compile-time system search path for libraries
19054 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19056 # Run-time system search path for libraries
19057 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19059 # Fix the shell variable \$srcfile for the compiler.
19060 fix_srcfile_path=$lt_fix_srcfile_path
19062 # Set to yes if exported symbols are required.
19063 always_export_symbols=$always_export_symbols_GCJ
19065 # The commands to list exported symbols.
19066 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19068 # The commands to extract the exported symbol list from a shared archive.
19069 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19071 # Symbols that should not be listed in the preloaded symbols.
19072 exclude_expsyms=$lt_exclude_expsyms_GCJ
19074 # Symbols that must always be exported.
19075 include_expsyms=$lt_include_expsyms_GCJ
19077 # ### END LIBTOOL TAG CONFIG: $tagname
19083 # If there is no Makefile yet, we rely on a make rule to execute
19084 # `config.status --recheck' to rerun these tests and create the
19085 # libtool script then.
19086 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19087 if test -f "$ltmain_in"; then
19088 test -f Makefile
&& make "$ltmain"
19094 ac_cpp
='$CPP $CPPFLAGS'
19095 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19096 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19097 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19109 # Source file extension for RC test sources.
19112 # Object file extension for compiled RC test sources.
19116 # Code to be used in simple compile tests
19117 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19119 # Code to be used in simple link tests
19120 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19122 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19124 # If no C compiler was specified, use CC.
19127 # If no C compiler flags were specified, use CFLAGS.
19128 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19130 # Allow CC to be a program name with arguments.
19134 # save warnings/boilerplate of simple test code
19135 ac_outfile
=conftest.
$ac_objext
19136 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19137 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19138 _lt_compiler_boilerplate
=`cat conftest.err`
19141 ac_outfile
=conftest.
$ac_objext
19142 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19143 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19144 _lt_linker_boilerplate
=`cat conftest.err`
19148 # Allow CC to be a program name with arguments.
19153 for cc_temp
in $compiler""; do
19155 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19156 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19161 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19163 lt_cv_prog_compiler_c_o_RC
=yes
19165 # The else clause should only fire when bootstrapping the
19166 # libtool distribution, otherwise you forgot to ship ltmain.sh
19167 # with your package, and you will get complaints that there are
19168 # no rules to generate ltmain.sh.
19169 if test -f "$ltmain"; then
19170 # See if we are running on zsh, and set the options which allow our commands through
19171 # without removal of \ escapes.
19172 if test -n "${ZSH_VERSION+set}" ; then
19173 setopt NO_GLOB_SUBST
19175 # Now quote all the things that may contain metacharacters while being
19176 # careful not to overquote the AC_SUBSTed values. We take copies of the
19177 # variables and quote the copies for generation of the libtool script.
19178 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19180 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19181 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19182 deplibs_check_method reload_flag reload_cmds need_locks \
19183 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19184 lt_cv_sys_global_symbol_to_c_name_address \
19185 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19186 old_postinstall_cmds old_postuninstall_cmds \
19190 lt_prog_compiler_wl_RC \
19191 lt_prog_compiler_pic_RC \
19192 lt_prog_compiler_static_RC \
19193 lt_prog_compiler_no_builtin_flag_RC \
19194 export_dynamic_flag_spec_RC \
19195 thread_safe_flag_spec_RC \
19196 whole_archive_flag_spec_RC \
19197 enable_shared_with_static_runtimes_RC \
19198 old_archive_cmds_RC \
19199 old_archive_from_new_cmds_RC \
19200 predep_objects_RC \
19201 postdep_objects_RC \
19204 compiler_lib_search_path_RC \
19206 archive_expsym_cmds_RC \
19207 postinstall_cmds_RC \
19208 postuninstall_cmds_RC \
19209 old_archive_from_expsyms_cmds_RC \
19210 allow_undefined_flag_RC \
19211 no_undefined_flag_RC \
19212 export_symbols_cmds_RC \
19213 hardcode_libdir_flag_spec_RC \
19214 hardcode_libdir_flag_spec_ld_RC \
19215 hardcode_libdir_separator_RC \
19216 hardcode_automatic_RC \
19218 module_expsym_cmds_RC \
19219 lt_cv_prog_compiler_c_o_RC \
19220 fix_srcfile_path_RC \
19221 exclude_expsyms_RC \
19222 include_expsyms_RC
; do
19225 old_archive_cmds_RC | \
19226 old_archive_from_new_cmds_RC | \
19227 archive_cmds_RC | \
19228 archive_expsym_cmds_RC | \
19230 module_expsym_cmds_RC | \
19231 old_archive_from_expsyms_cmds_RC | \
19232 export_symbols_cmds_RC | \
19233 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19234 postinstall_cmds | postuninstall_cmds | \
19235 old_postinstall_cmds | old_postuninstall_cmds | \
19236 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19237 # Double-quote double-evaled strings.
19238 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19241 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19247 *'\$0 --fallback-echo"')
19248 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19254 cat <<__EOF__ >> "$cfgfile"
19255 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19257 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19259 # Shell to use when invoking shell scripts.
19262 # Whether or not to build shared libraries.
19263 build_libtool_libs=$enable_shared
19265 # Whether or not to build static libraries.
19266 build_old_libs=$enable_static
19268 # Whether or not to add -lc for building shared libraries.
19269 build_libtool_need_lc=$archive_cmds_need_lc_RC
19271 # Whether or not to disallow shared libs when runtime libs are static
19272 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19274 # Whether or not to optimize for fast installation.
19275 fast_install=$enable_fast_install
19278 host_alias=$host_alias
19282 # The build system.
19283 build_alias=$build_alias
19287 # An echo program that does not interpret backslashes.
19292 AR_FLAGS=$lt_AR_FLAGS
19297 # LTCC compiler flags.
19298 LTCFLAGS=$lt_LTCFLAGS
19300 # A language-specific compiler.
19303 # Is the compiler the GNU C compiler?
19309 # The linker used to build libraries.
19312 # Whether we need hard or soft links.
19315 # A BSD-compatible nm program.
19318 # A symbol stripping program
19321 # Used to examine libraries when file_magic_cmd begins "file"
19322 MAGIC_CMD=$MAGIC_CMD
19324 # Used on cygwin: DLL creation program.
19327 # Used on cygwin: object dumper.
19330 # Used on cygwin: assembler.
19333 # The name of the directory that contains temporary libtool files.
19336 # How to create reloadable object files.
19337 reload_flag=$lt_reload_flag
19338 reload_cmds=$lt_reload_cmds
19340 # How to pass a linker flag through the compiler.
19341 wl=$lt_lt_prog_compiler_wl_RC
19343 # Object file suffix (normally "o").
19344 objext="$ac_objext"
19346 # Old archive suffix (normally "a").
19349 # Shared library suffix (normally ".so").
19350 shrext_cmds='$shrext_cmds'
19352 # Executable file suffix (normally "").
19355 # Additional compiler flags for building library objects.
19356 pic_flag=$lt_lt_prog_compiler_pic_RC
19359 # What is the maximum length of a command?
19360 max_cmd_len=$lt_cv_sys_max_cmd_len
19362 # Does compiler simultaneously support -c and -o options?
19363 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19365 # Must we lock files when doing compilation?
19366 need_locks=$lt_need_locks
19368 # Do we need the lib prefix for modules?
19369 need_lib_prefix=$need_lib_prefix
19371 # Do we need a version for libraries?
19372 need_version=$need_version
19374 # Whether dlopen is supported.
19375 dlopen_support=$enable_dlopen
19377 # Whether dlopen of programs is supported.
19378 dlopen_self=$enable_dlopen_self
19380 # Whether dlopen of statically linked programs is supported.
19381 dlopen_self_static=$enable_dlopen_self_static
19383 # Compiler flag to prevent dynamic linking.
19384 link_static_flag=$lt_lt_prog_compiler_static_RC
19386 # Compiler flag to turn off builtin functions.
19387 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19389 # Compiler flag to allow reflexive dlopens.
19390 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19392 # Compiler flag to generate shared objects directly from archives.
19393 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19395 # Compiler flag to generate thread-safe objects.
19396 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19398 # Library versioning type.
19399 version_type=$version_type
19401 # Format of library name prefix.
19402 libname_spec=$lt_libname_spec
19404 # List of archive names. First name is the real one, the rest are links.
19405 # The last name is the one that the linker finds with -lNAME.
19406 library_names_spec=$lt_library_names_spec
19408 # The coded name of the library, if different from the real name.
19409 soname_spec=$lt_soname_spec
19411 # Commands used to build and install an old-style archive.
19413 old_archive_cmds=$lt_old_archive_cmds_RC
19414 old_postinstall_cmds=$lt_old_postinstall_cmds
19415 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19417 # Create an old-style archive from a shared archive.
19418 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19420 # Create a temporary old-style archive to link instead of a shared archive.
19421 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19423 # Commands used to build and install a shared archive.
19424 archive_cmds=$lt_archive_cmds_RC
19425 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19426 postinstall_cmds=$lt_postinstall_cmds
19427 postuninstall_cmds=$lt_postuninstall_cmds
19429 # Commands used to build a loadable module (assumed same as above if empty)
19430 module_cmds=$lt_module_cmds_RC
19431 module_expsym_cmds=$lt_module_expsym_cmds_RC
19433 # Commands to strip libraries.
19434 old_striplib=$lt_old_striplib
19435 striplib=$lt_striplib
19437 # Dependencies to place before the objects being linked to create a
19439 predep_objects=$lt_predep_objects_RC
19441 # Dependencies to place after the objects being linked to create a
19443 postdep_objects=$lt_postdep_objects_RC
19445 # Dependencies to place before the objects being linked to create a
19447 predeps=$lt_predeps_RC
19449 # Dependencies to place after the objects being linked to create a
19451 postdeps=$lt_postdeps_RC
19453 # The library search path used internally by the compiler when linking
19454 # a shared library.
19455 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19457 # Method to check whether dependent libraries are shared objects.
19458 deplibs_check_method=$lt_deplibs_check_method
19460 # Command to use when deplibs_check_method == file_magic.
19461 file_magic_cmd=$lt_file_magic_cmd
19463 # Flag that allows shared libraries with undefined symbols to be built.
19464 allow_undefined_flag=$lt_allow_undefined_flag_RC
19466 # Flag that forces no undefined symbols.
19467 no_undefined_flag=$lt_no_undefined_flag_RC
19469 # Commands used to finish a libtool library installation in a directory.
19470 finish_cmds=$lt_finish_cmds
19472 # Same as above, but a single script fragment to be evaled but not shown.
19473 finish_eval=$lt_finish_eval
19475 # Take the output of nm and produce a listing of raw symbols and C names.
19476 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19478 # Transform the output of nm in a proper C declaration
19479 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19481 # Transform the output of nm in a C name address pair
19482 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19484 # This is the shared library runtime path variable.
19485 runpath_var=$runpath_var
19487 # This is the shared library path variable.
19488 shlibpath_var=$shlibpath_var
19490 # Is shlibpath searched before the hard-coded library search path?
19491 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19493 # How to hardcode a shared library path into an executable.
19494 hardcode_action=$hardcode_action_RC
19496 # Whether we should hardcode library paths into libraries.
19497 hardcode_into_libs=$hardcode_into_libs
19499 # Flag to hardcode \$libdir into a binary during linking.
19500 # This must work even if \$libdir does not exist.
19501 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19503 # If ld is used when linking, flag to hardcode \$libdir into
19504 # a binary during linking. This must work even if \$libdir does
19506 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19508 # Whether we need a single -rpath flag with a separated argument.
19509 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19511 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19512 # resulting binary.
19513 hardcode_direct=$hardcode_direct_RC
19515 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19516 # resulting binary.
19517 hardcode_minus_L=$hardcode_minus_L_RC
19519 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19520 # the resulting binary.
19521 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19523 # Set to yes if building a shared library automatically hardcodes DIR into the library
19524 # and all subsequent libraries and executables linked against it.
19525 hardcode_automatic=$hardcode_automatic_RC
19527 # Variables whose values should be saved in libtool wrapper scripts and
19528 # restored at relink time.
19529 variables_saved_for_relink="$variables_saved_for_relink"
19531 # Whether libtool must link a program against all its dependency libraries.
19532 link_all_deplibs=$link_all_deplibs_RC
19534 # Compile-time system search path for libraries
19535 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19537 # Run-time system search path for libraries
19538 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19540 # Fix the shell variable \$srcfile for the compiler.
19541 fix_srcfile_path=$lt_fix_srcfile_path
19543 # Set to yes if exported symbols are required.
19544 always_export_symbols=$always_export_symbols_RC
19546 # The commands to list exported symbols.
19547 export_symbols_cmds=$lt_export_symbols_cmds_RC
19549 # The commands to extract the exported symbol list from a shared archive.
19550 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19552 # Symbols that should not be listed in the preloaded symbols.
19553 exclude_expsyms=$lt_exclude_expsyms_RC
19555 # Symbols that must always be exported.
19556 include_expsyms=$lt_include_expsyms_RC
19558 # ### END LIBTOOL TAG CONFIG: $tagname
19564 # If there is no Makefile yet, we rely on a make rule to execute
19565 # `config.status --recheck' to rerun these tests and create the
19566 # libtool script then.
19567 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19568 if test -f "$ltmain_in"; then
19569 test -f Makefile
&& make "$ltmain"
19575 ac_cpp
='$CPP $CPPFLAGS'
19576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19585 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19586 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19587 { (exit 1); exit 1; }; }
19591 # Append the new tag name to the list of available tags.
19592 if test -n "$tagname" ; then
19593 available_tags
="$available_tags $tagname"
19599 # Now substitute the updated list of available tags.
19600 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19601 mv "${ofile}T" "$ofile"
19605 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19606 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19607 { (exit 1); exit 1; }; }
19613 # This can be used to rebuild libtool when needed
19614 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19616 # Always use our own libtool.
19617 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19619 # Prevent multiple expansion
19643 { echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5
19644 echo $ECHO_N "checking for gdbm_open in -lgdbm... $ECHO_C" >&6; }
19645 if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then
19646 echo $ECHO_N "(cached) $ECHO_C" >&6
19648 ac_check_lib_save_LIBS
=$LIBS
19649 LIBS
="-lgdbm $LIBS"
19650 cat >conftest.
$ac_ext <<_ACEOF
19653 cat confdefs.h
>>conftest.
$ac_ext
19654 cat >>conftest.
$ac_ext <<_ACEOF
19655 /* end confdefs.h. */
19657 /* Override any GCC internal prototype to avoid an error.
19658 Use char because int might match the return type of a GCC
19659 builtin and then its argument prototype would still apply. */
19667 return gdbm_open ();
19672 rm -f conftest.
$ac_objext conftest
$ac_exeext
19673 if { (ac_try
="$ac_link"
19674 case "(($ac_try" in
19675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19676 *) ac_try_echo=$ac_try;;
19678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19679 (eval "$ac_link") 2>conftest.er1
19681 grep -v '^ *+' conftest.er1 >conftest.err
19683 cat conftest.err >&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } && {
19686 test -z "$ac_c_werror_flag" ||
19687 test ! -s conftest.err
19688 } && test -s conftest$ac_exeext &&
19689 $as_test_x conftest$ac_exeext; then
19690 ac_cv_lib_gdbm_gdbm_open=yes
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.$ac_ext >&5
19695 ac_cv_lib_gdbm_gdbm_open=no
19698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19699 conftest$ac_exeext conftest.$ac_ext
19700 LIBS=$ac_check_lib_save_LIBS
19702 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5
19703 echo "${ECHO_T}$ac_cv_lib_gdbm_gdbm_open" >&6; }
19704 if test $ac_cv_lib_gdbm_gdbm_open = yes; then
19705 LIBGDBM=-lgdbm ; LIBS="-lgdbm $LIBS"
19709 { echo "$as_me:$LINENO: checking for gdbm_open" >&5
19710 echo $ECHO_N "checking for gdbm_open... $ECHO_C" >&6; }
19711 if test "${ac_cv_func_gdbm_open+set}" = set; then
19712 echo $ECHO_N "(cached) $ECHO_C" >&6
19714 cat >conftest.$ac_ext <<_ACEOF
19717 cat confdefs.h >>conftest.$ac_ext
19718 cat >>conftest.$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 /* Define gdbm_open to an innocuous variant, in case <limits.h> declares gdbm_open.
19721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19722 #define gdbm_open innocuous_gdbm_open
19724 /* System header to define __stub macros and hopefully few prototypes,
19725 which can conflict with char gdbm_open (); below.
19726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19727 <limits.h> exists even on freestanding compilers. */
19730 # include <limits.h>
19732 # include <assert.h>
19737 /* Override any GCC internal prototype to avoid an error.
19738 Use char because int might match the return type of a GCC
19739 builtin and then its argument prototype would still apply. */
19744 /* The GNU C library defines this for functions which it implements
19745 to always fail with ENOSYS. Some functions are actually named
19746 something starting with __ and the normal name is an alias. */
19747 #if defined __stub_gdbm_open || defined __stub___gdbm_open
19754 return gdbm_open ();
19759 rm -f conftest.$ac_objext conftest$ac_exeext
19760 if { (ac_try="$ac_link"
19761 case "(($ac_try" in
19762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19763 *) ac_try_echo
=$ac_try;;
19765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19766 (eval "$ac_link") 2>conftest.er1
19768 grep -v '^ *+' conftest.er1
>conftest.err
19770 cat conftest.err
>&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); } && {
19773 test -z "$ac_c_werror_flag" ||
19774 test ! -s conftest.err
19775 } && test -s conftest
$ac_exeext &&
19776 $as_test_x conftest
$ac_exeext; then
19777 ac_cv_func_gdbm_open
=yes
19779 echo "$as_me: failed program was:" >&5
19780 sed 's/^/| /' conftest.
$ac_ext >&5
19782 ac_cv_func_gdbm_open
=no
19785 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19786 conftest
$ac_exeext conftest.
$ac_ext
19788 { echo "$as_me:$LINENO: result: $ac_cv_func_gdbm_open" >&5
19789 echo "${ECHO_T}$ac_cv_func_gdbm_open" >&6; }
19790 if test $ac_cv_func_gdbm_open = yes; then
19797 if test "$FOUND_GDBM" = 1
19800 for ac_func
in gdbm_fdesc
19802 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19803 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19805 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19808 cat >conftest.
$ac_ext <<_ACEOF
19811 cat confdefs.h
>>conftest.
$ac_ext
19812 cat >>conftest.
$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19816 #define $ac_func innocuous_$ac_func
19818 /* System header to define __stub macros and hopefully few prototypes,
19819 which can conflict with char $ac_func (); below.
19820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19821 <limits.h> exists even on freestanding compilers. */
19824 # include <limits.h>
19826 # include <assert.h>
19831 /* Override any GCC internal prototype to avoid an error.
19832 Use char because int might match the return type of a GCC
19833 builtin and then its argument prototype would still apply. */
19838 /* The GNU C library defines this for functions which it implements
19839 to always fail with ENOSYS. Some functions are actually named
19840 something starting with __ and the normal name is an alias. */
19841 #if defined __stub_$ac_func || defined __stub___$ac_func
19848 return $ac_func ();
19853 rm -f conftest.
$ac_objext conftest
$ac_exeext
19854 if { (ac_try
="$ac_link"
19855 case "(($ac_try" in
19856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19857 *) ac_try_echo=$ac_try;;
19859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19860 (eval "$ac_link") 2>conftest.er1
19862 grep -v '^ *+' conftest.er1 >conftest.err
19864 cat conftest.err >&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } && {
19867 test -z "$ac_c_werror_flag" ||
19868 test ! -s conftest.err
19869 } && test -s conftest$ac_exeext &&
19870 $as_test_x conftest$ac_exeext; then
19871 eval "$as_ac_var=yes"
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.$ac_ext >&5
19876 eval "$as_ac_var=no"
19879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19880 conftest$ac_exeext conftest.$ac_ext
19882 ac_res=`eval echo '${'$as_ac_var'}'`
19883 { echo "$as_me:$LINENO: result: $ac_res" >&5
19884 echo "${ECHO_T}$ac_res" >&6; }
19885 if test `eval echo '${'$as_ac_var'}'` = yes; then
19886 cat >>confdefs.h <<_ACEOF
19887 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
19896 for ac_header in unistd.h fcntl.h
19898 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
19899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19900 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19903 echo $ECHO_N "(cached) $ECHO_C" >&6
19905 ac_res=`eval echo '${'$as_ac_Header'}'`
19906 { echo "$as_me:$LINENO: result: $ac_res" >&5
19907 echo "${ECHO_T}$ac_res" >&6; }
19909 # Is the header compilable?
19910 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19911 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19912 cat >conftest.$ac_ext <<_ACEOF
19915 cat confdefs.h >>conftest.$ac_ext
19916 cat >>conftest.$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19918 $ac_includes_default
19919 #include <$ac_header>
19921 rm -f conftest.$ac_objext
19922 if { (ac_try="$ac_compile"
19923 case "(($ac_try" in
19924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19925 *) ac_try_echo
=$ac_try;;
19927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19928 (eval "$ac_compile") 2>conftest.er1
19930 grep -v '^ *+' conftest.er1
>conftest.err
19932 cat conftest.err
>&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); } && {
19935 test -z "$ac_c_werror_flag" ||
19936 test ! -s conftest.err
19937 } && test -s conftest.
$ac_objext; then
19938 ac_header_compiler
=yes
19940 echo "$as_me: failed program was:" >&5
19941 sed 's/^/| /' conftest.
$ac_ext >&5
19943 ac_header_compiler
=no
19946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19947 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19948 echo "${ECHO_T}$ac_header_compiler" >&6; }
19950 # Is the header present?
19951 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19953 cat >conftest.
$ac_ext <<_ACEOF
19956 cat confdefs.h
>>conftest.
$ac_ext
19957 cat >>conftest.
$ac_ext <<_ACEOF
19958 /* end confdefs.h. */
19959 #include <$ac_header>
19961 if { (ac_try
="$ac_cpp conftest.$ac_ext"
19962 case "(($ac_try" in
19963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19964 *) ac_try_echo=$ac_try;;
19966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19969 grep -v '^ *+' conftest.er1 >conftest.err
19971 cat conftest.err >&5
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); } >/dev/null && {
19974 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19975 test ! -s conftest.err
19977 ac_header_preproc=yes
19979 echo "$as_me: failed program was:" >&5
19980 sed 's/^/| /' conftest.$ac_ext >&5
19982 ac_header_preproc=no
19985 rm -f conftest.err conftest.$ac_ext
19986 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19987 echo "${ECHO_T}$ac_header_preproc" >&6; }
19989 # So? What about this header?
19990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19992 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19993 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19995 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19996 ac_header_preproc=yes
19999 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20000 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20001 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20002 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20003 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20004 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20005 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20006 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20008 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20009 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20010 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20012 ## -------------------------------------------------- ##
20013 ## Report this to courier-users@lists.sourceforge.net ##
20014 ## -------------------------------------------------- ##
20016 ) | sed "s/^/$as_me: WARNING: /" >&2
20019 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20021 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20022 echo $ECHO_N "(cached) $ECHO_C" >&6
20024 eval "$as_ac_Header=\$ac_header_preproc"
20026 ac_res=`eval echo '${'$as_ac_Header'}'`
20027 { echo "$as_me:$LINENO: result: $ac_res" >&5
20028 echo "${ECHO_T}$ac_res" >&6; }
20031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20032 cat >>confdefs.h <<_ACEOF
20033 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20045 if test "$FOUND_GDBM" = 1; then
20047 FOUND_GDBM_FALSE='#'
20049 FOUND_GDBM_TRUE='#'
20055 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20056 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20057 if test "${ac_cv_c_const+set}" = set; then
20058 echo $ECHO_N "(cached) $ECHO_C" >&6
20060 cat >conftest.$ac_ext <<_ACEOF
20063 cat confdefs.h >>conftest.$ac_ext
20064 cat >>conftest.$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20070 /* FIXME: Include the comments suggested by Paul. */
20071 #ifndef __cplusplus
20072 /* Ultrix mips cc rejects this. */
20073 typedef int charset[2];
20075 /* SunOS 4.1.1 cc rejects this. */
20076 char const *const *pcpcc;
20078 /* NEC SVR4.0.2 mips cc rejects this. */
20079 struct point {int x, y;};
20080 static struct point const zero = {0,0};
20081 /* AIX XL C 1.02.0.0 rejects this.
20082 It does not let you subtract one const X* pointer from another in
20083 an arm of an if-expression whose if-part is not a constant
20085 const char *g = "string";
20086 pcpcc = &g + (g ? g-g : 0);
20087 /* HPUX 7.0 cc rejects these. */
20089 ppc = (char**) pcpcc;
20090 pcpcc = (char const *const *) ppc;
20091 { /* SCO 3.2v4 cc rejects this. */
20093 char const *s = 0 ? (char *) 0 : (char const *) 0;
20098 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20099 int x[] = {25, 17};
20100 const int *foo = &x[0];
20103 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20104 typedef const int *iptr;
20108 { /* AIX XL C 1.02.0.0 rejects this saying
20109 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20110 struct s { int j; const int *ap[3]; };
20111 struct s *b; b->j = 5;
20113 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20114 const int foo = 10;
20115 if (!foo) return 0;
20117 return !cs[0] && !zero.x;
20124 rm -f conftest.$ac_objext
20125 if { (ac_try="$ac_compile"
20126 case "(($ac_try" in
20127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20128 *) ac_try_echo
=$ac_try;;
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_compile") 2>conftest.er1
20133 grep -v '^ *+' conftest.er1
>conftest.err
20135 cat conftest.err
>&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } && {
20138 test -z "$ac_c_werror_flag" ||
20139 test ! -s conftest.err
20140 } && test -s conftest.
$ac_objext; then
20143 echo "$as_me: failed program was:" >&5
20144 sed 's/^/| /' conftest.
$ac_ext >&5
20149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20151 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20152 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20153 if test $ac_cv_c_const = no
; then
20155 cat >>confdefs.h
<<\_ACEOF
20161 { echo "$as_me:$LINENO: checking for size_t" >&5
20162 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20163 if test "${ac_cv_type_size_t+set}" = set; then
20164 echo $ECHO_N "(cached) $ECHO_C" >&6
20166 cat >conftest.
$ac_ext <<_ACEOF
20169 cat confdefs.h
>>conftest.
$ac_ext
20170 cat >>conftest.
$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20172 $ac_includes_default
20173 typedef size_t ac__type_new_;
20177 if ((ac__type_new_ *) 0)
20179 if (sizeof (ac__type_new_))
20185 rm -f conftest.
$ac_objext
20186 if { (ac_try
="$ac_compile"
20187 case "(($ac_try" in
20188 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20189 *) ac_try_echo=$ac_try;;
20191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20192 (eval "$ac_compile") 2>conftest.er1
20194 grep -v '^ *+' conftest.er1 >conftest.err
20196 cat conftest.err >&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } && {
20199 test -z "$ac_c_werror_flag" ||
20200 test ! -s conftest.err
20201 } && test -s conftest.$ac_objext; then
20202 ac_cv_type_size_t=yes
20204 echo "$as_me: failed program was:" >&5
20205 sed 's/^/| /' conftest.$ac_ext >&5
20207 ac_cv_type_size_t=no
20210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20212 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20213 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20214 if test $ac_cv_type_size_t = yes; then
20218 cat >>confdefs.h <<_ACEOF
20219 #define size_t unsigned int
20227 ac_cpp='$CXXCPP $CPPFLAGS'
20228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20232 { echo "$as_me:$LINENO: checking if the C++ compiler needs -fhandle-exceptions" >&5
20233 echo $ECHO_N "checking if the C++ compiler needs -fhandle-exceptions... $ECHO_C" >&6; }
20234 if test "${ac_cxx_need_handlexceptions+set}" = set; then
20235 echo $ECHO_N "(cached) $ECHO_C" >&6
20237 cat >conftest.$ac_ext <<_ACEOF
20240 cat confdefs.h >>conftest.$ac_ext
20241 cat >>conftest.$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20254 rm -f conftest.$ac_objext
20255 if { (ac_try="$ac_compile"
20256 case "(($ac_try" in
20257 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20258 *) ac_try_echo
=$ac_try;;
20260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20261 (eval "$ac_compile") 2>conftest.er1
20263 grep -v '^ *+' conftest.er1
>conftest.err
20265 cat conftest.err
>&5
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); } && {
20268 test -z "$ac_cxx_werror_flag" ||
20269 test ! -s conftest.err
20270 } && test -s conftest.
$ac_objext; then
20271 ac_cxx_need_handlexceptions
=no
20273 echo "$as_me: failed program was:" >&5
20274 sed 's/^/| /' conftest.
$ac_ext >&5
20276 ac_cxx_need_handlexceptions
=yes
20279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20282 { echo "$as_me:$LINENO: result: $ac_cxx_need_handlexceptions" >&5
20283 echo "${ECHO_T}$ac_cxx_need_handlexceptions" >&6; }
20285 if test "$ac_cxx_need_handlexceptions" = "yes"
20287 case "$CXXFLAGS" in
20288 *handle-exceptions
*)
20291 CXXFLAGS
="-fhandle-exceptions $CXXFLAGS"
20292 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-O2//'`
20297 ac_config_files
="$ac_config_files Makefile"
20299 cat >confcache
<<\_ACEOF
20300 # This file is a shell script that caches the results of configure
20301 # tests run on this system so they can be shared between configure
20302 # scripts and configure runs, see configure's option --config-cache.
20303 # It is not useful on other systems. If it contains results you don't
20304 # want to keep, you may remove or edit it.
20306 # config.status only pays attention to the cache file if you give it
20307 # the --recheck option to rerun configure.
20309 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20310 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20311 # following values.
20315 # The following way of writing the cache mishandles newlines in values,
20316 # but we know of no workaround that is simple, portable, and efficient.
20317 # So, we kill variables containing newlines.
20318 # Ultrix sh set writes to stderr and can't be redirected directly,
20319 # and sets the high bit in the cache file unless we assign to the vars.
20321 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20322 eval ac_val
=\$
$ac_var
20326 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20327 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20330 _ | IFS | as_nl
) ;; #(
20331 *) $as_unset $ac_var ;;
20337 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20338 *${as_nl}ac_space
=\
*)
20339 # `set' does not quote correctly, so add quotes (double-quote
20340 # substitution turns \\\\ into \\, and sed turns \\ into \).
20343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20346 # `set' quotes correctly as required by POSIX, so do not add quotes.
20347 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20356 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20358 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20360 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20361 if test -w "$cache_file"; then
20362 test "x$cache_file" != "x/dev/null" &&
20363 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20364 echo "$as_me: updating cache $cache_file" >&6;}
20365 cat confcache
>$cache_file
20367 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20368 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20373 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20374 # Let make expand exec_prefix.
20375 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20377 DEFS
=-DHAVE_CONFIG_H
20381 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20382 # 1. Remove the extension, and $U if already installed.
20383 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20384 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20385 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20386 # will be set to the directory where LIBOBJS objects are built.
20387 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20388 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20390 LIBOBJS
=$ac_libobjs
20392 LTLIBOBJS
=$ac_ltlibobjs
20395 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20396 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20397 Usually this means the macro was only invoked conditionally." >&5
20398 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20399 Usually this means the macro was only invoked conditionally." >&2;}
20400 { (exit 1); exit 1; }; }
20402 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20403 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20404 Usually this means the macro was only invoked conditionally." >&5
20405 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20406 Usually this means the macro was only invoked conditionally." >&2;}
20407 { (exit 1); exit 1; }; }
20409 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20410 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20411 Usually this means the macro was only invoked conditionally." >&5
20412 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20413 Usually this means the macro was only invoked conditionally." >&2;}
20414 { (exit 1); exit 1; }; }
20416 if test -z "${FOUND_GDBM_TRUE}" && test -z "${FOUND_GDBM_FALSE}"; then
20417 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GDBM\" was never defined.
20418 Usually this means the macro was only invoked conditionally." >&5
20419 echo "$as_me: error: conditional \"FOUND_GDBM\" was never defined.
20420 Usually this means the macro was only invoked conditionally." >&2;}
20421 { (exit 1); exit 1; }; }
20424 : ${CONFIG_STATUS=./config.status}
20425 ac_clean_files_save
=$ac_clean_files
20426 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20427 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20428 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20429 cat >$CONFIG_STATUS <<_ACEOF
20431 # Generated by $as_me.
20432 # Run this file to recreate the current configuration.
20433 # Compiler output produced by configure, useful for debugging
20434 # configure, is in config.log if it exists.
20437 ac_cs_recheck=false
20439 SHELL=\${CONFIG_SHELL-$SHELL}
20442 cat >>$CONFIG_STATUS <<\_ACEOF
20443 ## --------------------- ##
20444 ## M4sh Initialization. ##
20445 ## --------------------- ##
20447 # Be more Bourne compatible
20448 DUALCASE
=1; export DUALCASE
# for MKS sh
20449 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20452 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20453 # is contrary to our usage. Disable this feature.
20454 alias -g '${1+"$@"}'='"$@"'
20455 setopt NO_GLOB_SUBST
20457 case `(set -o) 2>/dev/null` in
20458 *posix
*) set -o posix
;;
20467 # Avoid depending upon Character Ranges.
20468 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20469 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20470 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20471 as_cr_digits
='0123456789'
20472 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20474 # The user is always right.
20475 if test "${PATH_SEPARATOR+set}" != set; then
20476 echo "#! /bin/sh" >conf$$.sh
20477 echo "exit 0" >>conf$$.sh
20479 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20487 # Support unset when possible.
20488 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20496 # We need space, tab and new line, in precisely that order. Quoting is
20497 # there to prevent editors from complaining about space-tab.
20498 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20499 # splitting by setting IFS to empty value.)
20504 # Find who we are. Look in the path if we contain no directory separator.
20506 *[\\/]* ) as_myself
=$0 ;;
20507 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20508 for as_dir
in $PATH
20511 test -z "$as_dir" && as_dir
=.
20512 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20518 # We did not find ourselves, most probably we were run as `sh COMMAND'
20519 # in which case we are not to be found in the path.
20520 if test "x$as_myself" = x
; then
20523 if test ! -f "$as_myself"; then
20524 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20525 { (exit 1); exit 1; }
20528 # Work around bugs in pre-3.0 UWIN ksh.
20529 for as_var
in ENV MAIL MAILPATH
20530 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20538 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20539 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20540 LC_TELEPHONE LC_TIME
20542 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20543 eval $as_var=C
; export $as_var
20545 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20549 # Required to use basename.
20550 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20551 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20557 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20558 as_basename
=basename
20564 # Name of the executable.
20565 as_me
=`$as_basename -- "$0" ||
20566 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20567 X"$0" : 'X\(//\)$' \| \
20568 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20570 sed '/^.*\/\([^/][^/]*\)\/*$/{
20589 as_lineno_1
=$LINENO
20590 as_lineno_2
=$LINENO
20591 test "x$as_lineno_1" != "x$as_lineno_2" &&
20592 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20594 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20595 # uniformly replaced by the line number. The first 'sed' inserts a
20596 # line-number line after each line using $LINENO; the second 'sed'
20597 # does the real work. The second script uses 'N' to pair each
20598 # line-number line with the line containing $LINENO, and appends
20599 # trailing '-' during substitution so that $LINENO is not a special
20600 # case at line end.
20601 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20602 # scripts with optimization help from Paolo Bonzini. Blame Lee
20603 # E. McMahon (1931-1989) for sed's syntax. :-)
20615 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20618 ' >$as_me.lineno
&&
20619 chmod +x
"$as_me.lineno" ||
20620 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20621 { (exit 1); exit 1; }; }
20623 # Don't try to exec as it changes $[0], causing all sort of problems
20624 # (the dirname of $[0] is not the place where we might find the
20625 # original and so on. Autoconf is especially sensitive to this).
20626 .
"./$as_me.lineno"
20627 # Exit status is that of the last command.
20632 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20638 ECHO_C
= ECHO_N
= ECHO_T
=
20639 case `echo -n x` in
20641 case `echo 'x\c'` in
20642 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20649 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20650 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20656 rm -f conf$$ conf$$.exe conf$$.
file
20657 if test -d conf$$.dir
; then
20658 rm -f conf$$.dir
/conf$$.
file
20664 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20666 # ... but there are two gotchas:
20667 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20668 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20669 # In both cases, we have to default to `cp -p'.
20670 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20672 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20677 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20678 rmdir conf$$.dir
2>/dev
/null
20680 if mkdir
-p .
2>/dev
/null
; then
20683 test -d .
/-p && rmdir .
/-p
20687 if test -x / >/dev
/null
2>&1; then
20688 as_test_x
='test -x'
20690 if ls -dL / >/dev
/null
2>&1; then
20697 if test -d "$1"; then
20703 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20704 ???[sx]*):;;*)false;;esac;fi
20708 as_executable_p
=$as_test_x
20710 # Sed expression to map a string onto a valid CPP name.
20711 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20713 # Sed expression to map a string onto a valid variable name.
20714 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20719 # Save the log message, to keep $[0] and so on meaningful, and to
20720 # report actual input values of CONFIG_FILES etc. instead of their
20721 # values after options handling.
20723 This file was extended by gdbmobj $as_me 0.10, which was
20724 generated by GNU Autoconf 2.61. Invocation command line was
20726 CONFIG_FILES = $CONFIG_FILES
20727 CONFIG_HEADERS = $CONFIG_HEADERS
20728 CONFIG_LINKS = $CONFIG_LINKS
20729 CONFIG_COMMANDS = $CONFIG_COMMANDS
20732 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20737 cat >>$CONFIG_STATUS <<_ACEOF
20738 # Files that config.status was made for.
20739 config_files="$ac_config_files"
20740 config_headers="$ac_config_headers"
20741 config_commands="$ac_config_commands"
20745 cat >>$CONFIG_STATUS <<\_ACEOF
20747 \`$as_me' instantiates files from templates according to the
20748 current configuration.
20750 Usage: $0 [OPTIONS] [FILE]...
20752 -h, --help print this help, then exit
20753 -V, --version print version number and configuration settings, then exit
20754 -q, --quiet do not print progress messages
20755 -d, --debug don't remove temporary files
20756 --recheck update $as_me by reconfiguring in the same conditions
20757 --file=FILE[:TEMPLATE]
20758 instantiate the configuration file FILE
20759 --header=FILE[:TEMPLATE]
20760 instantiate the configuration header FILE
20762 Configuration files:
20765 Configuration headers:
20768 Configuration commands:
20771 Report bugs to <bug-autoconf@gnu.org>."
20774 cat >>$CONFIG_STATUS <<_ACEOF
20776 gdbmobj config.status 0.10
20777 configured by $0, generated by GNU Autoconf 2.61,
20778 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20780 Copyright (C) 2006 Free Software Foundation, Inc.
20781 This config.status script is free software; the Free Software Foundation
20782 gives unlimited permission to copy, distribute and modify it."
20790 cat >>$CONFIG_STATUS <<\_ACEOF
20791 # If no file are specified by the user, then we need to provide default
20792 # value. By we need to know if files were specified by the user.
20798 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20799 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20810 # Handling of the options.
20811 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20813 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20814 echo "$ac_cs_version"; exit ;;
20815 --debug |
--debu |
--deb |
--de |
--d |
-d )
20817 --file |
--fil |
--fi |
--f )
20819 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20820 ac_need_defaults
=false
;;
20821 --header |
--heade |
--head |
--hea )
20823 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20824 ac_need_defaults
=false
;;
20826 # Conflict between --help and --header
20827 { echo "$as_me: error: ambiguous option: $1
20828 Try \`$0 --help' for more information." >&2
20829 { (exit 1); exit 1; }; };;
20830 --help |
--hel |
-h )
20831 echo "$ac_cs_usage"; exit ;;
20832 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20833 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20836 # This is an error.
20837 -*) { echo "$as_me: error: unrecognized option: $1
20838 Try \`$0 --help' for more information." >&2
20839 { (exit 1); exit 1; }; } ;;
20841 *) ac_config_targets
="$ac_config_targets $1"
20842 ac_need_defaults
=false
;;
20848 ac_configure_extra_args
=
20850 if $ac_cs_silent; then
20852 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20856 cat >>$CONFIG_STATUS <<_ACEOF
20857 if \$ac_cs_recheck; then
20858 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20859 CONFIG_SHELL=$SHELL
20860 export CONFIG_SHELL
20861 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20865 cat >>$CONFIG_STATUS <<\_ACEOF
20869 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20870 ## Running $as_me. ##
20876 cat >>$CONFIG_STATUS <<_ACEOF
20880 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20884 cat >>$CONFIG_STATUS <<\_ACEOF
20886 # Handling of arguments.
20887 for ac_config_target
in $ac_config_targets
20889 case $ac_config_target in
20890 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20891 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20892 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20894 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20895 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20896 { (exit 1); exit 1; }; };;
20901 # If the user did not use the arguments to specify the items to instantiate,
20902 # then the envvar interface is used. Set only those that are not.
20903 # We use the long form for the default assignment because of an extremely
20904 # bizarre bug on SunOS 4.1.3.
20905 if $ac_need_defaults; then
20906 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20907 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20908 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20911 # Have a temporary directory for convenience. Make it in the build tree
20912 # simply because there is no reason against having it here, and in addition,
20913 # creating and moving files from /tmp can sometimes cause problems.
20914 # Hook for its removal unless debugging.
20915 # Note that there is a small window in which the directory will not be cleaned:
20916 # after its creation but before its name has been assigned to `$tmp'.
20920 trap 'exit_status=$?
20921 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20923 trap '{ (exit 1); exit 1; }' 1 2 13 15
20925 # Create a (secure) tmp directory for tmp files.
20928 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20929 test -n "$tmp" && test -d "$tmp"
20932 tmp
=.
/conf$$
-$RANDOM
20933 (umask 077 && mkdir
"$tmp")
20936 echo "$me: cannot create a temporary directory in ." >&2
20937 { (exit 1); exit 1; }
20941 # Set up the sed scripts for CONFIG_FILES section.
20944 # No need to generate the scripts if there are no CONFIG_FILES.
20945 # This happens for instance when ./config.status config.h
20946 if test -n "$CONFIG_FILES"; then
20953 for ac_last_try
in false false false false false
:; do
20954 cat >conf$
$subs.
sed <<_ACEOF
20955 SHELL!$SHELL$ac_delim
20956 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20957 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20958 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20959 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20960 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20961 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20962 exec_prefix!$exec_prefix$ac_delim
20963 prefix!$prefix$ac_delim
20964 program_transform_name!$program_transform_name$ac_delim
20965 bindir!$bindir$ac_delim
20966 sbindir!$sbindir$ac_delim
20967 libexecdir!$libexecdir$ac_delim
20968 datarootdir!$datarootdir$ac_delim
20969 datadir!$datadir$ac_delim
20970 sysconfdir!$sysconfdir$ac_delim
20971 sharedstatedir!$sharedstatedir$ac_delim
20972 localstatedir!$localstatedir$ac_delim
20973 includedir!$includedir$ac_delim
20974 oldincludedir!$oldincludedir$ac_delim
20975 docdir!$docdir$ac_delim
20976 infodir!$infodir$ac_delim
20977 htmldir!$htmldir$ac_delim
20978 dvidir!$dvidir$ac_delim
20979 pdfdir!$pdfdir$ac_delim
20980 psdir!$psdir$ac_delim
20981 libdir!$libdir$ac_delim
20982 localedir!$localedir$ac_delim
20983 mandir!$mandir$ac_delim
20984 DEFS!$DEFS$ac_delim
20985 ECHO_C!$ECHO_C$ac_delim
20986 ECHO_N!$ECHO_N$ac_delim
20987 ECHO_T!$ECHO_T$ac_delim
20988 LIBS!$LIBS$ac_delim
20989 build_alias!$build_alias$ac_delim
20990 host_alias!$host_alias$ac_delim
20991 target_alias!$target_alias$ac_delim
20992 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20993 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20994 INSTALL_DATA!$INSTALL_DATA$ac_delim
20995 am__isrc!$am__isrc$ac_delim
20996 CYGPATH_W!$CYGPATH_W$ac_delim
20997 PACKAGE!$PACKAGE$ac_delim
20998 VERSION!$VERSION$ac_delim
20999 ACLOCAL!$ACLOCAL$ac_delim
21000 AUTOCONF!$AUTOCONF$ac_delim
21001 AUTOMAKE!$AUTOMAKE$ac_delim
21002 AUTOHEADER!$AUTOHEADER$ac_delim
21003 MAKEINFO!$MAKEINFO$ac_delim
21004 install_sh!$install_sh$ac_delim
21005 STRIP!$STRIP$ac_delim
21006 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21007 mkdir_p!$mkdir_p$ac_delim
21009 SET_MAKE!$SET_MAKE$ac_delim
21010 am__leading_dot!$am__leading_dot$ac_delim
21011 AMTAR!$AMTAR$ac_delim
21012 am__tar!$am__tar$ac_delim
21013 am__untar!$am__untar$ac_delim
21015 CFLAGS!$CFLAGS$ac_delim
21016 LDFLAGS!$LDFLAGS$ac_delim
21017 CPPFLAGS!$CPPFLAGS$ac_delim
21018 ac_ct_CC!$ac_ct_CC$ac_delim
21019 EXEEXT!$EXEEXT$ac_delim
21020 OBJEXT!$OBJEXT$ac_delim
21021 DEPDIR!$DEPDIR$ac_delim
21022 am__include!$am__include$ac_delim
21023 am__quote!$am__quote$ac_delim
21024 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21025 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21026 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21027 CCDEPMODE!$CCDEPMODE$ac_delim
21028 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21029 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21031 GREP!$GREP$ac_delim
21032 EGREP!$EGREP$ac_delim
21034 CXXFLAGS!$CXXFLAGS$ac_delim
21035 ac_ct_CXX!$ac_ct_CXX$ac_delim
21036 CXXDEPMODE!$CXXDEPMODE$ac_delim
21037 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21038 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21039 build!$build$ac_delim
21040 build_cpu!$build_cpu$ac_delim
21041 build_vendor!$build_vendor$ac_delim
21042 build_os!$build_os$ac_delim
21043 host!$host$ac_delim
21044 host_cpu!$host_cpu$ac_delim
21045 host_vendor!$host_vendor$ac_delim
21046 host_os!$host_os$ac_delim
21048 LN_S!$LN_S$ac_delim
21049 ECHO!$ECHO$ac_delim
21051 RANLIB!$RANLIB$ac_delim
21054 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21056 elif $ac_last_try; then
21057 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21058 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21059 { (exit 1); exit 1; }; }
21061 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21065 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21066 if test -n "$ac_eof"; then
21067 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21068 ac_eof
=`expr $ac_eof + 1`
21071 cat >>$CONFIG_STATUS <<_ACEOF
21072 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21073 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21076 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21077 s/^/s,@/; s/!/@,|#_!!_#|/
21080 s/'"$ac_delim"'$/,g/; t
21082 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21083 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21084 rm -f conf$
$subs.
sed
21085 cat >>$CONFIG_STATUS <<_ACEOF
21091 for ac_last_try
in false false false false false
:; do
21092 cat >conf$
$subs.
sed <<_ACEOF
21093 CXXCPP!$CXXCPP$ac_delim
21095 FFLAGS!$FFLAGS$ac_delim
21096 ac_ct_F77!$ac_ct_F77$ac_delim
21097 LIBTOOL!$LIBTOOL$ac_delim
21098 LIBGDBM!$LIBGDBM$ac_delim
21099 FOUND_GDBM_TRUE!$FOUND_GDBM_TRUE$ac_delim
21100 FOUND_GDBM_FALSE!$FOUND_GDBM_FALSE$ac_delim
21101 LIBOBJS!$LIBOBJS$ac_delim
21102 LTLIBOBJS!$LTLIBOBJS$ac_delim
21105 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
21107 elif $ac_last_try; then
21108 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21109 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21110 { (exit 1); exit 1; }; }
21112 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21116 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21117 if test -n "$ac_eof"; then
21118 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21119 ac_eof
=`expr $ac_eof + 1`
21122 cat >>$CONFIG_STATUS <<_ACEOF
21123 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21124 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21127 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21128 s/^/s,@/; s/!/@,|#_!!_#|/
21131 s/'"$ac_delim"'$/,g/; t
21133 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21134 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21135 rm -f conf$
$subs.
sed
21136 cat >>$CONFIG_STATUS <<_ACEOF
21143 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21144 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21145 # trailing colons and then remove the whole line if VPATH becomes empty
21146 # (actually we leave an empty line to preserve line numbers).
21147 if test "x$srcdir" = x.
; then
21148 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21149 s/:*\$(srcdir):*/:/
21150 s/:*\${srcdir}:*/:/
21152 s/^\([^=]*=[ ]*\):*/\1/
21158 cat >>$CONFIG_STATUS <<\_ACEOF
21159 fi # test -n "$CONFIG_FILES"
21162 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21165 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21167 case $ac_mode$ac_tag in
21169 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21170 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21171 { (exit 1); exit 1; }; };;
21172 :[FH
]-) ac_tag
=-:-;;
21173 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21190 -) ac_f
="$tmp/stdin";;
21191 *) # Look for the file first in the build tree, then in the source tree
21192 # (if the path is not absolute). The absolute path cannot be DOS-style,
21193 # because $ac_f cannot contain `:'.
21197 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21199 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21200 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21201 { (exit 1); exit 1; }; };;
21203 ac_file_inputs
="$ac_file_inputs $ac_f"
21206 # Let's still pretend it is `configure' which instantiates (i.e., don't
21207 # use $as_me), people would be surprised to read:
21208 # /* config.h. Generated by config.status. */
21209 configure_input
="Generated from "`IFS=:
21210 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21211 if test x
"$ac_file" != x-
; then
21212 configure_input
="$ac_file. $configure_input"
21213 { echo "$as_me:$LINENO: creating $ac_file" >&5
21214 echo "$as_me: creating $ac_file" >&6;}
21218 *:-:* |
*:-) cat >"$tmp/stdin";;
21223 ac_dir
=`$as_dirname -- "$ac_file" ||
21224 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21225 X"$ac_file" : 'X\(//\)[^/]' \| \
21226 X"$ac_file" : 'X\(//\)$' \| \
21227 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21233 /^X\(\/\/\)[^/].*/{
21248 -*) as_dir
=.
/$as_dir;;
21250 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21254 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21255 *) as_qdir
=$as_dir;;
21257 as_dirs
="'$as_qdir' $as_dirs"
21258 as_dir
=`$as_dirname -- "$as_dir" ||
21259 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21260 X"$as_dir" : 'X\(//\)[^/]' \| \
21261 X"$as_dir" : 'X\(//\)$' \| \
21262 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21268 /^X\(\/\/\)[^/].*/{
21281 test -d "$as_dir" && break
21283 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21284 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21285 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21286 { (exit 1); exit 1; }; }; }
21290 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21292 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21293 # A ".." for each directory in $ac_dir_suffix.
21294 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21295 case $ac_top_builddir_sub in
21296 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21297 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21300 ac_abs_top_builddir
=$ac_pwd
21301 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21302 # for backward compatibility:
21303 ac_top_builddir
=$ac_top_build_prefix
21306 .
) # We are building in place.
21308 ac_top_srcdir
=$ac_top_builddir_sub
21309 ac_abs_top_srcdir
=$ac_pwd ;;
21310 [\\/]* | ?
:[\\/]* ) # Absolute name.
21311 ac_srcdir
=$srcdir$ac_dir_suffix;
21312 ac_top_srcdir
=$srcdir
21313 ac_abs_top_srcdir
=$srcdir ;;
21314 *) # Relative name.
21315 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21316 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21317 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21319 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21329 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21330 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21332 ac_MKDIR_P
=$MKDIR_P
21334 [\\/$
]* | ?
:[\\/]* ) ;;
21335 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21339 cat >>$CONFIG_STATUS <<\_ACEOF
21340 # If the template does not know about datarootdir, expand it.
21341 # FIXME: This hack should be removed a few years after 2.60.
21342 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21344 case `sed -n '/datarootdir/ {
21353 ' $ac_file_inputs` in
21354 *datarootdir
*) ac_datarootdir_seen
=yes;;
21355 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21356 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21357 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21359 cat >>$CONFIG_STATUS <<_ACEOF
21360 ac_datarootdir_hack='
21361 s&@datadir@&$datadir&g
21362 s&@docdir@&$docdir&g
21363 s&@infodir@&$infodir&g
21364 s&@localedir@&$localedir&g
21365 s&@mandir@&$mandir&g
21366 s&\\\${datarootdir}&$datarootdir&g' ;;
21370 # Neutralize VPATH when `$srcdir' = `.'.
21371 # Shell code in configure.ac might set extrasub.
21372 # FIXME: do we really want to maintain this feature?
21373 cat >>$CONFIG_STATUS <<_ACEOF
21377 cat >>$CONFIG_STATUS <<\_ACEOF
21379 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21380 s
&@configure_input@
&$configure_input&;t t
21381 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21382 s
&@srcdir@
&$ac_srcdir&;t t
21383 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21384 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21385 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21386 s
&@builddir@
&$ac_builddir&;t t
21387 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21388 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21389 s
&@INSTALL@
&$ac_INSTALL&;t t
21390 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21391 $ac_datarootdir_hack
21392 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21394 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21395 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21396 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21397 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21398 which seems to be undefined. Please make sure it is defined." >&5
21399 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21400 which seems to be undefined. Please make sure it is defined." >&2;}
21404 -) cat "$tmp/out"; rm -f "$tmp/out";;
21405 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21414 # Transform confdefs.h into a sed script `conftest.defines', that
21415 # substitutes the proper values into config.h.in to produce config.h.
21416 rm -f conftest.defines conftest.
tail
21417 # First, append a space to every undef/define line, to ease matching.
21418 echo 's/$/ /' >conftest.defines
21419 # Then, protect against being on the right side of a sed subst, or in
21420 # an unquoted here document, in config.status. If some macros were
21421 # called several times there might be several #defines for the same
21422 # symbol, which is useless. But do not sort them, since the last
21423 # AC_DEFINE must be honored.
21424 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21425 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21426 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21427 # PARAMS is the parameter list in the macro definition--in most cases, it's
21428 # just an empty string.
21429 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21430 ac_dB
='\\)[ (].*,\\1define\\2'
21438 s/^[ ]*#[ ]*define[ ][ ]*//
21443 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21444 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21445 ' >>conftest.defines
21447 # Remove the space that was appended to ease matching.
21448 # Then replace #undef with comments. This is necessary, for
21449 # example, in the case of _POSIX_SOURCE, which is predefined and required
21450 # on some systems where configure will not decide to define it.
21451 # (The regexp can be short, since the line contains either #define or #undef.)
21453 s,^[ #]*u.*,/* & */,' >>conftest.defines
21455 # Break up conftest.defines:
21456 ac_max_sed_lines
=50
21458 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21459 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21460 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21462 ac_in
='$ac_file_inputs'
21463 ac_out
='"$tmp/out1"'
21464 ac_nxt
='"$tmp/out2"'
21468 # Write a here document:
21469 cat >>$CONFIG_STATUS <<_ACEOF
21470 # First, check the format of the line:
21471 cat >"\$tmp/defines.sed" <<\\CEOF
21472 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21473 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21477 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21479 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21480 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21481 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21482 grep . conftest.
tail >/dev
/null ||
break
21483 rm -f conftest.defines
21484 mv conftest.
tail conftest.defines
21486 rm -f conftest.defines conftest.
tail
21488 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21489 cat >>$CONFIG_STATUS <<\_ACEOF
21490 if test x
"$ac_file" != x-
; then
21491 echo "/* $configure_input */" >"$tmp/config.h"
21492 cat "$ac_result" >>"$tmp/config.h"
21493 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21494 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21495 echo "$as_me: $ac_file is unchanged" >&6;}
21498 mv "$tmp/config.h" $ac_file
21501 echo "/* $configure_input */"
21505 # Compute $ac_file's index in $config_headers.
21508 for _am_header
in $config_headers :; do
21509 case $_am_header in
21510 $_am_arg |
$_am_arg:* )
21513 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21516 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21517 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21518 X"$_am_arg" : 'X\(//\)[^/]' \| \
21519 X"$_am_arg" : 'X\(//\)$' \| \
21520 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21526 /^X\(\/\/\)[^/].*/{
21538 s/.*/./; q'`/stamp-h
$_am_stamp_count
21541 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21542 echo "$as_me: executing $ac_file commands" >&6;}
21547 case $ac_file$ac_mode in
21548 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21549 # Strip MF so we end up with the name of the file.
21550 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21551 # Check whether this is an Automake generated Makefile or not.
21552 # We used to match only the files named `Makefile.in', but
21553 # some people rename them; so instead we look at the file content.
21554 # Grep'ing the first line is not enough: some people post-process
21555 # each Makefile.in and add a new line on top of each file to say so.
21556 # Grep'ing the whole file is not good either: AIX grep has a line
21557 # limit of 2048, but all sed's we know have understand at least 4000.
21558 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21559 dirpart
=`$as_dirname -- "$mf" ||
21560 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21561 X"$mf" : 'X\(//\)[^/]' \| \
21562 X"$mf" : 'X\(//\)$' \| \
21563 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21569 /^X\(\/\/\)[^/].*/{
21585 # Extract the definition of DEPDIR, am__include, and am__quote
21586 # from the Makefile without running `make'.
21587 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21588 test -z "$DEPDIR" && continue
21589 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21590 test -z "am__include" && continue
21591 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21592 # When using ansi2knr, U may be empty or an underscore; expand it
21593 U
=`sed -n 's/^U = //p' < "$mf"`
21594 # Find all dependency output files, they are included files with
21595 # $(DEPDIR) in their names. We invoke sed twice because it is the
21596 # simplest approach to changing $(DEPDIR) to its actual value in the
21598 for file in `sed -n "
21599 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21600 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21601 # Make sure the directory exists.
21602 test -f "$dirpart/$file" && continue
21603 fdir
=`$as_dirname -- "$file" ||
21604 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21605 X"$file" : 'X\(//\)[^/]' \| \
21606 X"$file" : 'X\(//\)$' \| \
21607 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21613 /^X\(\/\/\)[^/].*/{
21626 { as_dir
=$dirpart/$fdir
21628 -*) as_dir
=.
/$as_dir;;
21630 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21634 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21635 *) as_qdir
=$as_dir;;
21637 as_dirs
="'$as_qdir' $as_dirs"
21638 as_dir
=`$as_dirname -- "$as_dir" ||
21639 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21640 X"$as_dir" : 'X\(//\)[^/]' \| \
21641 X"$as_dir" : 'X\(//\)$' \| \
21642 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21648 /^X\(\/\/\)[^/].*/{
21661 test -d "$as_dir" && break
21663 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21664 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21665 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21666 { (exit 1); exit 1; }; }; }
21667 # echo "creating $dirpart/$file"
21668 echo '# dummy' > "$dirpart/$file"
21677 { (exit 0); exit 0; }
21679 chmod +x
$CONFIG_STATUS
21680 ac_clean_files
=$ac_clean_files_save
21683 # configure is writing to config.log, and then calls config.status.
21684 # config.status does its own redirection, appending to config.log.
21685 # Unfortunately, on DOS this fails, as config.log is still kept open
21686 # by configure, so config.status won't be able to write to it; its
21687 # output is simply discarded. So we exec the FD to /dev/null,
21688 # effectively closing config.log, so it can be properly (re)opened and
21689 # appended to by config.status. When coming back to configure, we
21690 # need to make the FD available again.
21691 if test "$no_create" != yes; then
21693 ac_config_status_args
=
21694 test "$silent" = yes &&
21695 ac_config_status_args
="$ac_config_status_args --quiet"
21697 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21699 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21700 # would make configure fail if this is the last instruction.
21701 $ac_cs_success ||
{ (exit 1); exit 1; }