2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libvorbis 1.2.3.
5 # Report bugs to <vorbis-dev@xiph.org>.
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
='libvorbis'
730 PACKAGE_TARNAME
='libvorbis'
731 PACKAGE_VERSION
='1.2.3'
732 PACKAGE_STRING
='libvorbis 1.2.3'
733 PACKAGE_BUGREPORT
='vorbis-dev@xiph.org'
735 ac_unique_file
="lib/mdct.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
835 INSTALL_STRIP_PROGRAM
909 ac_precious_vars
='build_alias
929 # Initialize some variables set by options.
931 ac_init_version
=false
932 # The variables have the same names as the options, with
933 # dashes changed to underlines.
941 program_transform_name
=s
,x
,x
,
949 # Installation directory options.
950 # These are left unexpanded so users can "make install exec_prefix=/foo"
951 # and all the variables that are supposed to be based on exec_prefix
952 # by default will actually change.
953 # Use braces instead of parens because sh, perl, etc. also accept them.
954 # (The list follows the same order as the GNU Coding Standards.)
955 bindir
='${exec_prefix}/bin'
956 sbindir
='${exec_prefix}/sbin'
957 libexecdir
='${exec_prefix}/libexec'
958 datarootdir
='${prefix}/share'
959 datadir
='${datarootdir}'
960 sysconfdir
='${prefix}/etc'
961 sharedstatedir
='${prefix}/com'
962 localstatedir
='${prefix}/var'
963 includedir
='${prefix}/include'
964 oldincludedir
='/usr/include'
965 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
966 infodir
='${datarootdir}/info'
971 libdir
='${exec_prefix}/lib'
972 localedir
='${datarootdir}/locale'
973 mandir
='${datarootdir}/man'
979 # If the previous option needs an argument, assign it.
980 if test -n "$ac_prev"; then
981 eval $ac_prev=\
$ac_option
987 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
991 # Accept the important Cygnus configure options, so we can diagnose typos.
993 case $ac_dashdash$ac_option in
997 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
999 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1000 bindir
=$ac_optarg ;;
1002 -build |
--build |
--buil |
--bui |
--bu)
1003 ac_prev
=build_alias
;;
1004 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1005 build_alias
=$ac_optarg ;;
1007 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1008 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1009 ac_prev
=cache_file
;;
1010 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1011 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1012 cache_file
=$ac_optarg ;;
1014 --config-cache |
-C)
1015 cache_file
=config.cache
;;
1017 -datadir |
--datadir |
--datadi |
--datad)
1019 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1020 datadir
=$ac_optarg ;;
1022 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1023 |
--dataroo |
--dataro |
--datar)
1024 ac_prev
=datarootdir
;;
1025 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1026 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1027 datarootdir
=$ac_optarg ;;
1029 -disable-* |
--disable-*)
1030 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1033 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1034 { (exit 1); exit 1; }; }
1035 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1036 eval enable_
$ac_feature=no
;;
1038 -docdir |
--docdir |
--docdi |
--doc |
--do)
1040 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1041 docdir
=$ac_optarg ;;
1043 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1045 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1046 dvidir
=$ac_optarg ;;
1048 -enable-* |
--enable-*)
1049 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1052 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1053 { (exit 1); exit 1; }; }
1054 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1055 eval enable_
$ac_feature=\
$ac_optarg ;;
1057 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1058 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1059 |
--exec |
--exe |
--ex)
1060 ac_prev
=exec_prefix
;;
1061 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1062 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1063 |
--exec=* |
--exe=* |
--ex=*)
1064 exec_prefix
=$ac_optarg ;;
1066 -gas |
--gas |
--ga |
--g)
1067 # Obsolete; use --with-gas.
1070 -help |
--help |
--hel |
--he |
-h)
1071 ac_init_help
=long
;;
1072 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1073 ac_init_help
=recursive
;;
1074 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1075 ac_init_help
=short
;;
1077 -host |
--host |
--hos |
--ho)
1078 ac_prev
=host_alias
;;
1079 -host=* |
--host=* |
--hos=* |
--ho=*)
1080 host_alias
=$ac_optarg ;;
1082 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1084 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1086 htmldir
=$ac_optarg ;;
1088 -includedir |
--includedir |
--includedi |
--included |
--include \
1089 |
--includ |
--inclu |
--incl |
--inc)
1090 ac_prev
=includedir
;;
1091 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1092 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1093 includedir
=$ac_optarg ;;
1095 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1097 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1098 infodir
=$ac_optarg ;;
1100 -libdir |
--libdir |
--libdi |
--libd)
1102 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1103 libdir
=$ac_optarg ;;
1105 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1106 |
--libexe |
--libex |
--libe)
1107 ac_prev
=libexecdir
;;
1108 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1109 |
--libexe=* |
--libex=* |
--libe=*)
1110 libexecdir
=$ac_optarg ;;
1112 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1113 ac_prev
=localedir
;;
1114 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1115 localedir
=$ac_optarg ;;
1117 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1118 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1119 ac_prev
=localstatedir
;;
1120 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1121 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1122 localstatedir
=$ac_optarg ;;
1124 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1126 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1127 mandir
=$ac_optarg ;;
1129 -nfp |
--nfp |
--nf)
1130 # Obsolete; use --without-fp.
1133 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1134 |
--no-cr |
--no-c |
-n)
1137 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1138 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1141 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1142 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1143 |
--oldin |
--oldi |
--old |
--ol |
--o)
1144 ac_prev
=oldincludedir
;;
1145 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1146 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1147 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1148 oldincludedir
=$ac_optarg ;;
1150 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1152 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1153 prefix
=$ac_optarg ;;
1155 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1156 |
--program-pre |
--program-pr |
--program-p)
1157 ac_prev
=program_prefix
;;
1158 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1159 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1160 program_prefix
=$ac_optarg ;;
1162 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1163 |
--program-suf |
--program-su |
--program-s)
1164 ac_prev
=program_suffix
;;
1165 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1166 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1167 program_suffix
=$ac_optarg ;;
1169 -program-transform-name |
--program-transform-name \
1170 |
--program-transform-nam |
--program-transform-na \
1171 |
--program-transform-n |
--program-transform- \
1172 |
--program-transform |
--program-transfor \
1173 |
--program-transfo |
--program-transf \
1174 |
--program-trans |
--program-tran \
1175 |
--progr-tra |
--program-tr |
--program-t)
1176 ac_prev
=program_transform_name
;;
1177 -program-transform-name=* |
--program-transform-name=* \
1178 |
--program-transform-nam=* |
--program-transform-na=* \
1179 |
--program-transform-n=* |
--program-transform-=* \
1180 |
--program-transform=* |
--program-transfor=* \
1181 |
--program-transfo=* |
--program-transf=* \
1182 |
--program-trans=* |
--program-tran=* \
1183 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1184 program_transform_name
=$ac_optarg ;;
1186 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1188 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1189 pdfdir
=$ac_optarg ;;
1191 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1193 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1196 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1197 |
-silent |
--silent |
--silen |
--sile |
--sil)
1200 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1202 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1204 sbindir
=$ac_optarg ;;
1206 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1207 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1208 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1210 ac_prev
=sharedstatedir
;;
1211 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1212 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1213 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1215 sharedstatedir
=$ac_optarg ;;
1217 -site |
--site |
--sit)
1219 -site=* |
--site=* |
--sit=*)
1222 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1224 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1225 srcdir
=$ac_optarg ;;
1227 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1228 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1229 ac_prev
=sysconfdir
;;
1230 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1231 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1232 sysconfdir
=$ac_optarg ;;
1234 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1235 ac_prev
=target_alias
;;
1236 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1237 target_alias
=$ac_optarg ;;
1239 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1242 -version |
--version |
--versio |
--versi |
--vers |
-V)
1243 ac_init_version
=: ;;
1246 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1249 { echo "$as_me: error: invalid package name: $ac_package" >&2
1250 { (exit 1); exit 1; }; }
1251 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1252 eval with_
$ac_package=\
$ac_optarg ;;
1254 -without-* |
--without-*)
1255 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1258 { echo "$as_me: error: invalid package name: $ac_package" >&2
1259 { (exit 1); exit 1; }; }
1260 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1261 eval with_
$ac_package=no
;;
1264 # Obsolete; use --with-x.
1267 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1268 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1269 ac_prev
=x_includes
;;
1270 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1271 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1272 x_includes
=$ac_optarg ;;
1274 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1275 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1276 ac_prev
=x_libraries
;;
1277 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1278 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1279 x_libraries
=$ac_optarg ;;
1281 -*) { echo "$as_me: error: unrecognized option: $ac_option
1282 Try \`$0 --help' for more information." >&2
1283 { (exit 1); exit 1; }; }
1287 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1288 # Reject names that are not valid shell variable names.
1289 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1290 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1291 { (exit 1); exit 1; }; }
1292 eval $ac_envvar=\
$ac_optarg
1293 export $ac_envvar ;;
1296 # FIXME: should be removed in autoconf 3.0.
1297 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1298 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1299 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1300 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1306 if test -n "$ac_prev"; then
1307 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1308 { echo "$as_me: error: missing argument to $ac_option" >&2
1309 { (exit 1); exit 1; }; }
1312 # Be sure to have absolute directory names.
1313 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1314 datadir sysconfdir sharedstatedir localstatedir includedir \
1315 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1316 libdir localedir mandir
1318 eval ac_val
=\$
$ac_var
1320 [\\/$
]* | ?
:[\\/]* ) continue;;
1321 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1323 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1324 { (exit 1); exit 1; }; }
1327 # There might be people who depend on the old broken behavior: `$host'
1328 # used to hold the argument of --host etc.
1329 # FIXME: To remove some day.
1332 target
=$target_alias
1334 # FIXME: To remove some day.
1335 if test "x$host_alias" != x
; then
1336 if test "x$build_alias" = x
; then
1337 cross_compiling
=maybe
1338 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1339 If a cross compiler is detected then cross compile mode will be used." >&2
1340 elif test "x$build_alias" != "x$host_alias"; then
1346 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1348 test "$silent" = yes && exec 6>/dev
/null
1351 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di
=`ls -di .` &&
1353 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1354 { echo "$as_me: error: Working directory cannot be determined" >&2
1355 { (exit 1); exit 1; }; }
1356 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1357 { echo "$as_me: error: pwd does not report name of working directory" >&2
1358 { (exit 1); exit 1; }; }
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted
=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir
=`$as_dirname -- "$0" ||
1366 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$0" : 'X\(//\)[^/]' \| \
1368 X"$0" : 'X\(//\)$' \| \
1369 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1393 ac_srcdir_defaulted
=no
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1397 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1398 { (exit 1); exit 1; }; }
1400 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1402 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1403 { (exit 1); exit 1; }; }
1405 # When building in place, set srcdir=.
1406 if test "$ac_abs_confdir" = "$ac_pwd"; then
1409 # Remove unnecessary trailing slashes from srcdir.
1410 # Double slashes in file names in object file debugging info
1411 # mess up M-x gdb in Emacs.
1413 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1415 for ac_var
in $ac_precious_vars; do
1416 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1417 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1418 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1419 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1423 # Report the --help message.
1425 if test "$ac_init_help" = "long"; then
1426 # Omit some internal or obsolete options to make the list less imposing.
1427 # This message is too long to be a string in the A/UX 3.1 sh.
1429 \`configure' configures libvorbis 1.2.3 to adapt to many kinds of systems.
1431 Usage: $0 [OPTION]... [VAR=VALUE]...
1433 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1434 VAR=VALUE. See below for descriptions of some of the useful variables.
1436 Defaults for the options are specified in brackets.
1439 -h, --help display this help and exit
1440 --help=short display options specific to this package
1441 --help=recursive display the short help of all the included packages
1442 -V, --version display version information and exit
1443 -q, --quiet, --silent do not print \`checking...' messages
1444 --cache-file=FILE cache test results in FILE [disabled]
1445 -C, --config-cache alias for \`--cache-file=config.cache'
1446 -n, --no-create do not create output files
1447 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1449 Installation directories:
1450 --prefix=PREFIX install architecture-independent files in PREFIX
1451 [$ac_default_prefix]
1452 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1455 By default, \`make install' will install all the files in
1456 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1457 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1458 for instance \`--prefix=\$HOME'.
1460 For better control, use the options below.
1462 Fine tuning of the installation directories:
1463 --bindir=DIR user executables [EPREFIX/bin]
1464 --sbindir=DIR system admin executables [EPREFIX/sbin]
1465 --libexecdir=DIR program executables [EPREFIX/libexec]
1466 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1467 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1468 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1469 --libdir=DIR object code libraries [EPREFIX/lib]
1470 --includedir=DIR C header files [PREFIX/include]
1471 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1472 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1473 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1474 --infodir=DIR info documentation [DATAROOTDIR/info]
1475 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1476 --mandir=DIR man documentation [DATAROOTDIR/man]
1477 --docdir=DIR documentation root [DATAROOTDIR/doc/libvorbis]
1478 --htmldir=DIR html documentation [DOCDIR]
1479 --dvidir=DIR dvi documentation [DOCDIR]
1480 --pdfdir=DIR pdf documentation [DOCDIR]
1481 --psdir=DIR ps documentation [DOCDIR]
1487 --program-prefix=PREFIX prepend PREFIX to installed program names
1488 --program-suffix=SUFFIX append SUFFIX to installed program names
1489 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1492 --build=BUILD configure
for building on BUILD
[guessed
]
1493 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1494 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1498 if test -n "$ac_init_help"; then
1499 case $ac_init_help in
1500 short | recursive
) echo "Configuration of libvorbis 1.2.3:";;
1505 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1506 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1507 --disable-dependency-tracking speeds up one-time build
1508 --enable-dependency-tracking do not reject slow dependency extractors
1509 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1510 --enable-static[=PKGS
] build static libraries
[default
=yes]
1511 --enable-fast-install[=PKGS
]
1512 optimize
for fast installation
[default
=yes]
1513 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1514 --enable-docs build the documentation
1515 --disable-oggtest Do not try to compile and run a
test Ogg program
1518 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1519 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1520 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1521 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1523 --with-tags[=TAGS
] include additional configurations
[automatic
]
1524 --with-ogg=PFX Prefix where libogg is installed
(optional
)
1525 --with-ogg-libraries=DIR
1526 Directory where libogg library is installed
1528 --with-ogg-includes=DIR Directory where libogg header files are installed
1531 Some influential environment variables
:
1532 CC C compiler
command
1533 CFLAGS C compiler flags
1534 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1535 nonstandard directory
<lib dir
>
1536 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1537 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1538 you have headers
in a nonstandard directory
<include dir
>
1540 CXX C
++ compiler
command
1541 CXXFLAGS C
++ compiler flags
1542 CXXCPP C
++ preprocessor
1543 F77 Fortran
77 compiler
command
1544 FFLAGS Fortran
77 compiler flags
1545 PKG_CONFIG path to pkg-config utility
1546 OGG_CFLAGS C compiler flags
for OGG
, overriding pkg-config
1547 OGG_LIBS linker flags
for OGG
, overriding pkg-config
1549 Use these variables to override the choices made by
`configure' or to help
1550 it to find libraries and programs with nonstandard names/locations.
1552 Report bugs to <vorbis-dev@xiph.org>.
1557 if test "$ac_init_help" = "recursive"; then
1558 # If there are subdirs, report their specific --help.
1559 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1560 test -d "$ac_dir" || continue
1564 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1566 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1567 # A ".." for each directory in $ac_dir_suffix.
1568 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1569 case $ac_top_builddir_sub in
1570 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1571 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1574 ac_abs_top_builddir=$ac_pwd
1575 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1576 # for backward compatibility:
1577 ac_top_builddir=$ac_top_build_prefix
1580 .) # We are building in place.
1582 ac_top_srcdir=$ac_top_builddir_sub
1583 ac_abs_top_srcdir=$ac_pwd ;;
1584 [\\/]* | ?:[\\/]* ) # Absolute name.
1585 ac_srcdir=$srcdir$ac_dir_suffix;
1586 ac_top_srcdir=$srcdir
1587 ac_abs_top_srcdir=$srcdir ;;
1589 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1590 ac_top_srcdir=$ac_top_build_prefix$srcdir
1591 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1593 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1595 cd "$ac_dir" || { ac_status=$?; continue; }
1596 # Check for guested configure.
1597 if test -f "$ac_srcdir/configure.gnu"; then
1599 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1600 elif test -f "$ac_srcdir/configure"; then
1602 $SHELL "$ac_srcdir/configure" --help=recursive
1604 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1606 cd "$ac_pwd" || { ac_status=$?; break; }
1610 test -n "$ac_init_help" && exit $ac_status
1611 if $ac_init_version; then
1613 libvorbis configure 1.2.3
1614 generated by GNU Autoconf 2.61
1616 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1617 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1618 This configure script is free software; the Free Software Foundation
1619 gives unlimited permission to copy, distribute and modify it.
1623 cat >config.log <<_ACEOF
1624 This file contains any messages produced by compilers while
1625 running configure, to aid debugging if configure makes a mistake.
1627 It was created by libvorbis $as_me 1.2.3, which was
1628 generated by GNU Autoconf 2.61. Invocation command line was
1640 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1641 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1642 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1643 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1644 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1646 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1647 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1649 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1650 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1651 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1652 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1653 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1654 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1655 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1663 test -z "$as_dir" && as_dir=.
1664 echo "PATH: $as_dir"
1680 # Keep a trace of the command line.
1681 # Strip out --no-create and --no-recursion so they do not pile up.
1682 # Strip out --silent because we don't want to record it for future runs.
1683 # Also quote any args containing shell meta-characters.
1684 # Make two passes to allow for proper duplicate-argument suppression.
1688 ac_must_keep_next=false
1694 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1695 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1696 | -silent | --silent | --silen | --sile | --sil)
1699 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1702 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1704 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1705 if test $ac_must_keep_next = true; then
1706 ac_must_keep_next=false # Got value, back to normal.
1709 *=* | --config-cache | -C | -disable-* | --disable-* \
1710 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1711 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1712 | -with-* | --with-* | -without-* | --without-* | --x)
1713 case "$ac_configure_args0 " in
1714 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1717 -* ) ac_must_keep_next=true ;;
1720 ac_configure_args="$ac_configure_args '$ac_arg'"
1725 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1726 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1728 # When interrupted or exit'd, cleanup temporary files, and complete
1729 # config.log. We remove comments because anyway the quotes in there
1730 # would cause problems or look ugly.
1731 # WARNING: Use '\'' to represent an apostrophe within the trap.
1732 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1733 trap 'exit_status=$?
1734 # Save into config.log some information that might help in debugging.
1739 ## ---------------- ##
1740 ## Cache variables. ##
1741 ## ---------------- ##
1744 # The following way of writing the cache mishandles newlines in values,
1746 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1747 eval ac_val=\$$ac_var
1751 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1752 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1755 _ | IFS | as_nl) ;; #(
1756 *) $as_unset $ac_var ;;
1761 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1762 *${as_nl}ac_space=\ *)
1764 "s/'\''/'\''\\\\'\'''\''/g;
1765 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1768 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1776 ## ----------------- ##
1777 ## Output variables. ##
1778 ## ----------------- ##
1781 for ac_var in $ac_subst_vars
1783 eval ac_val=\$$ac_var
1785 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1787 echo "$ac_var='\''$ac_val'\''"
1791 if test -n "$ac_subst_files"; then
1793 ## ------------------- ##
1794 ## File substitutions. ##
1795 ## ------------------- ##
1798 for ac_var in $ac_subst_files
1800 eval ac_val=\$$ac_var
1802 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1804 echo "$ac_var='\''$ac_val'\''"
1809 if test -s confdefs.h; then
1819 test "$ac_signal" != 0 &&
1820 echo "$as_me: caught signal $ac_signal"
1821 echo "$as_me: exit $exit_status"
1823 rm -f core *.core core.conftest.* &&
1824 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1827 for ac_signal in 1 2 13 15; do
1828 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1832 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1833 rm -f -r conftest* confdefs.h
1835 # Predefined preprocessor variables.
1837 cat >>confdefs.h <<_ACEOF
1838 #define PACKAGE_NAME "$PACKAGE_NAME"
1842 cat >>confdefs.h <<_ACEOF
1843 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1847 cat >>confdefs.h <<_ACEOF
1848 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1852 cat >>confdefs.h <<_ACEOF
1853 #define PACKAGE_STRING "$PACKAGE_STRING"
1857 cat >>confdefs.h <<_ACEOF
1858 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1862 # Let the site file select an alternate cache file if it wants to.
1863 # Prefer explicitly selected file to automatically selected ones.
1864 if test -n "$CONFIG_SITE"; then
1865 set x "$CONFIG_SITE"
1866 elif test "x$prefix" != xNONE; then
1867 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1869 set x "$ac_default_prefix/share/config.site" \
1870 "$ac_default_prefix/etc/config.site"
1875 if test -r "$ac_site_file"; then
1876 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1877 echo "$as_me: loading site script $ac_site_file" >&6;}
1878 sed 's/^/| /' "$ac_site_file" >&5
1883 if test -r "$cache_file"; then
1884 # Some versions of bash will fail to source /dev/null (special
1885 # files actually), so we avoid doing that.
1886 if test -f "$cache_file"; then
1887 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1888 echo "$as_me: loading cache $cache_file" >&6;}
1890 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1891 *) . "./$cache_file";;
1895 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1896 echo "$as_me: creating cache $cache_file" >&6;}
1900 # Check that the precious variables saved in the cache have kept the same
1902 ac_cache_corrupted=false
1903 for ac_var in $ac_precious_vars; do
1904 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1905 eval ac_new_set=\$ac_env_${ac_var}_set
1906 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1907 eval ac_new_val=\$ac_env_${ac_var}_value
1908 case $ac_old_set,$ac_new_set in
1910 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1911 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1912 ac_cache_corrupted=: ;;
1914 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1915 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1916 ac_cache_corrupted=: ;;
1919 if test "x$ac_old_val" != "x$ac_new_val"; then
1920 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1921 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1922 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1923 echo "$as_me: former value
: $ac_old_val" >&2;}
1924 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1925 echo "$as_me: current value
: $ac_new_val" >&2;}
1926 ac_cache_corrupted=:
1929 # Pass precious variables to config.status.
1930 if test "$ac_new_set" = set; then
1932 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1933 *) ac_arg=$ac_var=$ac_new_val ;;
1935 case " $ac_configure_args " in
1936 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1937 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1941 if $ac_cache_corrupted; then
1942 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1943 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1944 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1945 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1946 { (exit 1); exit 1; }; }
1974 ac_cpp='$CPP $CPPFLAGS'
1975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1984 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1985 if test -f "$ac_dir/install-sh"; then
1987 ac_install_sh="$ac_aux_dir/install-sh -c"
1989 elif test -f "$ac_dir/install.sh"; then
1991 ac_install_sh="$ac_aux_dir/install.sh -c"
1993 elif test -f "$ac_dir/shtool"; then
1995 ac_install_sh="$ac_aux_dir/shtool install -c"
1999 if test -z "$ac_aux_dir"; then
2000 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2001 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2002 { (exit 1); exit 1; }; }
2005 # These three variables are undocumented and unsupported,
2006 # and are intended to be withdrawn in a future Autoconf release.
2007 # They can cause serious problems if a builder's source tree is in a directory
2008 # whose full name contains unusual characters.
2009 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2010 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2011 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2014 # Make sure we can run config.sub.
2015 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2016 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2017 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2018 { (exit 1); exit 1; }; }
2020 { echo "$as_me:$LINENO: checking build system type" >&5
2021 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2022 if test "${ac_cv_build+set}" = set; then
2023 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 ac_build_alias=$build_alias
2026 test "x$ac_build_alias" = x &&
2027 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2028 test "x$ac_build_alias" = x &&
2029 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2030 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2031 { (exit 1); exit 1; }; }
2032 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2033 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2034 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2035 { (exit 1); exit 1; }; }
2038 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2039 echo "${ECHO_T}$ac_cv_build" >&6; }
2040 case $ac_cv_build in
2042 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2043 echo "$as_me: error: invalid value of canonical build" >&2;}
2044 { (exit 1); exit 1; }; };;
2047 ac_save_IFS=$IFS; IFS='-'
2053 # Remember, the first character of IFS is used to create $*,
2054 # except with old shells:
2057 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2060 { echo "$as_me:$LINENO: checking host system type" >&5
2061 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2062 if test "${ac_cv_host+set}" = set; then
2063 echo $ECHO_N "(cached) $ECHO_C" >&6
2065 if test "x$host_alias" = x; then
2066 ac_cv_host=$ac_cv_build
2068 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2069 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2070 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2071 { (exit 1); exit 1; }; }
2075 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2076 echo "${ECHO_T}$ac_cv_host" >&6; }
2079 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2080 echo "$as_me: error: invalid value of canonical host" >&2;}
2081 { (exit 1); exit 1; }; };;
2084 ac_save_IFS=$IFS; IFS='-'
2090 # Remember, the first character of IFS is used to create $*,
2091 # except with old shells:
2094 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2097 { echo "$as_me:$LINENO: checking target system type" >&5
2098 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2099 if test "${ac_cv_target+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 if test "x$target_alias" = x; then
2103 ac_cv_target=$ac_cv_host
2105 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2106 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2107 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2108 { (exit 1); exit 1; }; }
2112 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2113 echo "${ECHO_T}$ac_cv_target" >&6; }
2114 case $ac_cv_target in
2116 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2117 echo "$as_me: error: invalid value of canonical target" >&2;}
2118 { (exit 1); exit 1; }; };;
2120 target=$ac_cv_target
2121 ac_save_IFS=$IFS; IFS='-'
2127 # Remember, the first character of IFS is used to create $*,
2128 # except with old shells:
2131 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2134 # The aliases save the names the user supplied, while $host etc.
2135 # will get canonicalized.
2136 test -n "$target_alias" &&
2137 test "$program_prefix$program_suffix$program_transform_name" = \
2139 program_prefix=${target_alias}-
2141 am__api_version='1.10'
2143 # Find a good install program. We prefer a C program (faster),
2144 # so one script is as good as another. But avoid the broken or
2145 # incompatible versions:
2146 # SysV /etc/install, /usr/sbin/install
2147 # SunOS /usr/etc/install
2148 # IRIX /sbin/install
2150 # AmigaOS /C/install, which installs bootblocks on floppy discs
2151 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2152 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2153 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2154 # OS/2's system install, which has a completely different semantic
2155 # ./install, which can be erroneously created by make from ./install.sh.
2156 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2157 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2158 if test -z "$INSTALL"; then
2159 if test "${ac_cv_path_install+set}" = set; then
2160 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2166 test -z "$as_dir" && as_dir=.
2167 # Account for people who put trailing slashes in PATH elements.
2169 ./ | .// | /cC/* | \
2170 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2171 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2174 # OSF1 and SCO ODT 3.0 have their own names for install.
2175 # Don't use installbsd from OSF since it installs stuff as root
2177 for ac_prog in ginstall scoinst install; do
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2180 if test $ac_prog = install &&
2181 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2182 # AIX install. It has an incompatible calling convention.
2184 elif test $ac_prog = install &&
2185 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2186 # program-specific install script used by HP pwplus--don't use.
2189 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2202 if test "${ac_cv_path_install+set}" = set; then
2203 INSTALL=$ac_cv_path_install
2205 # As a last resort, use the slow shell script. Don't cache a
2206 # value for INSTALL within a source directory, because that will
2207 # break other packages using the cache if that directory is
2208 # removed, or if the value is a relative name.
2209 INSTALL=$ac_install_sh
2212 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2213 echo "${ECHO_T}$INSTALL" >&6; }
2215 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2216 # It thinks the first close brace ends the variable substitution.
2217 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2219 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2221 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2223 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2224 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2227 echo timestamp > conftest.file
2228 # Do `set' in a subshell so we don't clobber the current shell
's
2229 # arguments. Must try -L first in case configure is actually a
2230 # symlink; some systems play weird games with the mod time of symlinks
2231 # (eg FreeBSD returns the mod time of the symlink's containing
2234 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2235 if test "$*" = "X"; then
2237 set X
`ls -t $srcdir/configure conftest.file`
2240 if test "$*" != "X $srcdir/configure conftest.file" \
2241 && test "$*" != "X conftest.file $srcdir/configure"; then
2243 # If neither matched, then we have a broken ls. This can happen
2244 # if, for instance, CONFIG_SHELL is bash and it inherits a
2245 # broken ls alias from the environment. This has actually
2246 # happened. Such a system could not be considered "sane".
2247 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2248 alias in your environment" >&5
2249 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2250 alias in your environment" >&2;}
2251 { (exit 1); exit 1; }; }
2254 test "$2" = conftest.
file
2260 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2261 Check your system clock" >&5
2262 echo "$as_me: error: newly created file is older than distributed files!
2263 Check your system clock" >&2;}
2264 { (exit 1); exit 1; }; }
2266 { echo "$as_me:$LINENO: result: yes" >&5
2267 echo "${ECHO_T}yes" >&6; }
2268 test "$program_prefix" != NONE
&&
2269 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2270 # Use a double $ so make ignores it.
2271 test "$program_suffix" != NONE
&&
2272 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2273 # Double any \ or $. echo might interpret backslashes.
2274 # By default was `s,x,x', remove it if useless.
2275 cat <<\_ACEOF
>conftest.
sed
2276 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2278 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2281 # expand $ac_aux_dir to an absolute path
2282 am_aux_dir
=`cd $ac_aux_dir && pwd`
2284 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2285 # Use eval to expand $SHELL
2286 if eval "$MISSING --run true"; then
2287 am_missing_run
="$MISSING --run "
2290 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2291 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2294 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2295 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2296 if test -z "$MKDIR_P"; then
2297 if test "${ac_cv_path_mkdir+set}" = set; then
2298 echo $ECHO_N "(cached) $ECHO_C" >&6
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2301 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2304 test -z "$as_dir" && as_dir
=.
2305 for ac_prog
in mkdir gmkdir
; do
2306 for ac_exec_ext
in '' $ac_executable_extensions; do
2307 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2308 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2309 'mkdir (GNU coreutils) '* | \
2310 'mkdir (coreutils) '* | \
2311 'mkdir (fileutils) '4.1*)
2312 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2322 if test "${ac_cv_path_mkdir+set}" = set; then
2323 MKDIR_P
="$ac_cv_path_mkdir -p"
2325 # As a last resort, use the slow shell script. Don't cache a
2326 # value for MKDIR_P within a source directory, because that will
2327 # break other packages using the cache if that directory is
2328 # removed, or if the value is a relative name.
2329 test -d .
/--version && rmdir .
/--version
2330 MKDIR_P
="$ac_install_sh -d"
2333 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2334 echo "${ECHO_T}$MKDIR_P" >&6; }
2338 [\\/$
]* | ?
:[\\/]*) ;;
2339 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2342 for ac_prog
in gawk mawk nawk
awk
2344 # Extract the first word of "$ac_prog", so it can be a program name with args.
2345 set dummy
$ac_prog; 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_AWK+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 if test -n "$AWK"; then
2352 ac_cv_prog_AWK
="$AWK" # 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_AWK
="$ac_prog"
2362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 if test -n "$AWK"; then
2373 { echo "$as_me:$LINENO: result: $AWK" >&5
2374 echo "${ECHO_T}$AWK" >&6; }
2376 { echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6; }
2381 test -n "$AWK" && break
2384 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2385 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2386 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2387 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2388 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 cat >conftest.
make <<\_ACEOF
2393 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2395 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2396 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2398 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2400 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2404 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2405 { echo "$as_me:$LINENO: result: yes" >&5
2406 echo "${ECHO_T}yes" >&6; }
2409 { echo "$as_me:$LINENO: result: no" >&5
2410 echo "${ECHO_T}no" >&6; }
2411 SET_MAKE
="MAKE=${MAKE-make}"
2414 rm -rf .tst
2>/dev
/null
2415 mkdir .tst
2>/dev
/null
2416 if test -d .tst
; then
2421 rmdir .tst
2>/dev
/null
2423 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2424 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2425 # is not polluted with repeated "-I."
2426 am__isrc
=' -I$(srcdir)'
2427 # test to see if srcdir already configured
2428 if test -f $srcdir/config.status
; then
2429 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2430 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2431 { (exit 1); exit 1; }; }
2435 # test whether we have cygpath
2436 if test -z "$CYGPATH_W"; then
2437 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2438 CYGPATH_W
='cygpath -w'
2445 # Define the identity of the package.
2446 PACKAGE
=$PACKAGE_NAME
2447 VERSION
=$PACKAGE_VERSION
2450 cat >>confdefs.h
<<_ACEOF
2451 #define PACKAGE "$PACKAGE"
2455 cat >>confdefs.h
<<_ACEOF
2456 #define VERSION "$VERSION"
2459 # Some tools Automake needs.
2461 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2464 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2467 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2470 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2473 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2475 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2477 # Installed binaries are usually stripped using `strip' when the user
2478 # run `make install-strip'. However `strip' might not be the right
2479 # tool to use in cross-compilation environments, therefore Automake
2480 # will honor the `STRIP' environment variable to overrule this program.
2481 if test "$cross_compiling" != no
; then
2482 if test -n "$ac_tool_prefix"; then
2483 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2484 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2487 if test "${ac_cv_prog_STRIP+set}" = set; then
2488 echo $ECHO_N "(cached) $ECHO_C" >&6
2490 if test -n "$STRIP"; then
2491 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2497 test -z "$as_dir" && as_dir
=.
2498 for ac_exec_ext
in '' $ac_executable_extensions; do
2499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2500 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 STRIP
=$ac_cv_prog_STRIP
2511 if test -n "$STRIP"; then
2512 { echo "$as_me:$LINENO: result: $STRIP" >&5
2513 echo "${ECHO_T}$STRIP" >&6; }
2515 { echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6; }
2521 if test -z "$ac_cv_prog_STRIP"; then
2523 # Extract the first word of "strip", so it can be a program name with args.
2524 set dummy strip
; ac_word
=$2
2525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2527 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2528 echo $ECHO_N "(cached) $ECHO_C" >&6
2530 if test -n "$ac_ct_STRIP"; then
2531 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir
=.
2538 for ac_exec_ext
in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 ac_cv_prog_ac_ct_STRIP
="strip"
2541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2551 if test -n "$ac_ct_STRIP"; then
2552 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2553 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2555 { echo "$as_me:$LINENO: result: no" >&5
2556 echo "${ECHO_T}no" >&6; }
2559 if test "x$ac_ct_STRIP" = x
; then
2562 case $cross_compiling:$ac_tool_warned in
2564 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2565 whose name does not start with the host triplet. If you think this
2566 configuration is useful to you, please write to autoconf@gnu.org." >&5
2567 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2568 whose name does not start with the host triplet. If you think this
2569 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2570 ac_tool_warned
=yes ;;
2575 STRIP
="$ac_cv_prog_STRIP"
2579 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2581 # We need awk for the "check" target. The system "awk" is bad on
2583 # Always define AMTAR for backward compatibility.
2585 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2587 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2593 ac_config_headers
="$ac_config_headers config.h"
2596 ACLOCAL_AMFLAGS
="-I m4"
2623 cflags_save
="$CFLAGS"
2625 ac_cpp
='$CPP $CPPFLAGS'
2626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2629 if test -n "$ac_tool_prefix"; then
2630 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2631 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2634 if test "${ac_cv_prog_CC+set}" = set; then
2635 echo $ECHO_N "(cached) $ECHO_C" >&6
2637 if test -n "$CC"; then
2638 ac_cv_prog_CC
="$CC" # Let the user override the test.
2640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir
=.
2645 for ac_exec_ext
in '' $ac_executable_extensions; do
2646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 if test -n "$CC"; then
2659 { echo "$as_me:$LINENO: result: $CC" >&5
2660 echo "${ECHO_T}$CC" >&6; }
2662 { echo "$as_me:$LINENO: result: no" >&5
2663 echo "${ECHO_T}no" >&6; }
2668 if test -z "$ac_cv_prog_CC"; then
2670 # Extract the first word of "gcc", so it can be a program name with args.
2671 set dummy gcc
; ac_word
=$2
2672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2674 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2675 echo $ECHO_N "(cached) $ECHO_C" >&6
2677 if test -n "$ac_ct_CC"; then
2678 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2684 test -z "$as_dir" && as_dir
=.
2685 for ac_exec_ext
in '' $ac_executable_extensions; do
2686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687 ac_cv_prog_ac_ct_CC
="gcc"
2688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2698 if test -n "$ac_ct_CC"; then
2699 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2700 echo "${ECHO_T}$ac_ct_CC" >&6; }
2702 { echo "$as_me:$LINENO: result: no" >&5
2703 echo "${ECHO_T}no" >&6; }
2706 if test "x$ac_ct_CC" = x
; then
2709 case $cross_compiling:$ac_tool_warned in
2711 { echo "$as_me:$LINENO: 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." >&5
2714 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2715 whose name does not start with the host triplet. If you think this
2716 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2717 ac_tool_warned
=yes ;;
2725 if test -z "$CC"; then
2726 if test -n "$ac_tool_prefix"; then
2727 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2728 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2731 if test "${ac_cv_prog_CC+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 if test -n "$CC"; then
2735 ac_cv_prog_CC
="$CC" # Let the user override the test.
2737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2741 test -z "$as_dir" && as_dir
=.
2742 for ac_exec_ext
in '' $ac_executable_extensions; do
2743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2755 if test -n "$CC"; then
2756 { echo "$as_me:$LINENO: result: $CC" >&5
2757 echo "${ECHO_T}$CC" >&6; }
2759 { echo "$as_me:$LINENO: result: no" >&5
2760 echo "${ECHO_T}no" >&6; }
2766 if test -z "$CC"; then
2767 # Extract the first word of "cc", so it can be a program name with args.
2768 set dummy cc
; ac_word
=$2
2769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2771 if test "${ac_cv_prog_CC+set}" = set; then
2772 echo $ECHO_N "(cached) $ECHO_C" >&6
2774 if test -n "$CC"; then
2775 ac_cv_prog_CC
="$CC" # Let the user override the test.
2778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir
=.
2783 for ac_exec_ext
in '' $ac_executable_extensions; do
2784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2786 ac_prog_rejected
=yes
2790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 if test $ac_prog_rejected = yes; then
2798 # We found a bogon in the path, so make sure we never use it.
2799 set dummy
$ac_cv_prog_CC
2801 if test $# != 0; then
2802 # We chose a different compiler from the bogus one.
2803 # However, it has the same basename, so the bogon will be chosen
2804 # first if we set CC to just the basename; use the full file name.
2806 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2812 if test -n "$CC"; then
2813 { echo "$as_me:$LINENO: result: $CC" >&5
2814 echo "${ECHO_T}$CC" >&6; }
2816 { echo "$as_me:$LINENO: result: no" >&5
2817 echo "${ECHO_T}no" >&6; }
2822 if test -z "$CC"; then
2823 if test -n "$ac_tool_prefix"; then
2824 for ac_prog
in cl.exe
2826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2827 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2830 if test "${ac_cv_prog_CC+set}" = set; then
2831 echo $ECHO_N "(cached) $ECHO_C" >&6
2833 if test -n "$CC"; then
2834 ac_cv_prog_CC
="$CC" # Let the user override the test.
2836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2840 test -z "$as_dir" && as_dir
=.
2841 for ac_exec_ext
in '' $ac_executable_extensions; do
2842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2854 if test -n "$CC"; then
2855 { echo "$as_me:$LINENO: result: $CC" >&5
2856 echo "${ECHO_T}$CC" >&6; }
2858 { echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6; }
2863 test -n "$CC" && break
2866 if test -z "$CC"; then
2868 for ac_prog
in cl.exe
2870 # Extract the first word of "$ac_prog", so it can be a program name with args.
2871 set dummy
$ac_prog; ac_word
=$2
2872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2874 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 if test -n "$ac_ct_CC"; then
2878 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir
=.
2885 for ac_exec_ext
in '' $ac_executable_extensions; do
2886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2887 ac_cv_prog_ac_ct_CC
="$ac_prog"
2888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2897 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2898 if test -n "$ac_ct_CC"; then
2899 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2900 echo "${ECHO_T}$ac_ct_CC" >&6; }
2902 { echo "$as_me:$LINENO: result: no" >&5
2903 echo "${ECHO_T}no" >&6; }
2907 test -n "$ac_ct_CC" && break
2910 if test "x$ac_ct_CC" = x
; then
2913 case $cross_compiling:$ac_tool_warned in
2915 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2916 whose name does not start with the host triplet. If you think this
2917 configuration is useful to you, please write to autoconf@gnu.org." >&5
2918 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2919 whose name does not start with the host triplet. If you think this
2920 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2921 ac_tool_warned
=yes ;;
2930 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2931 See \`config.log' for more details." >&5
2932 echo "$as_me: error: no acceptable C compiler found in \$PATH
2933 See \`config.log' for more details." >&2;}
2934 { (exit 1); exit 1; }; }
2936 # Provide some information about the compiler.
2937 echo "$as_me:$LINENO: checking for C compiler version" >&5
2938 ac_compiler
=`set X $ac_compile; echo $2`
2939 { (ac_try
="$ac_compiler --version >&5"
2941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2945 (eval "$ac_compiler --version >&5") 2>&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); }
2949 { (ac_try="$ac_compiler -v >&5"
2951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2952 *) ac_try_echo
=$ac_try;;
2954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2955 (eval "$ac_compiler -v >&5") 2>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }
2959 { (ac_try
="$ac_compiler -V >&5"
2961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2965 (eval "$ac_compiler -V >&5") 2>&5
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }
2970 cat >conftest.$ac_ext <<_ACEOF
2973 cat confdefs.h >>conftest.$ac_ext
2974 cat >>conftest.$ac_ext <<_ACEOF
2975 /* end confdefs.h. */
2985 ac_clean_files_save=$ac_clean_files
2986 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2987 # Try to create an executable without -o first, disregard a.out.
2988 # It will help us diagnose broken compilers, and finding out an intuition
2990 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2991 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2992 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2994 # List of possible output files, starting from the most likely.
2995 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2996 # only as a last resort. b.out is created by i960 compilers.
2997 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2999 # The IRIX 6 linker writes into existing files which may not be
3000 # executable, retaining their permissions. Remove them first so a
3001 # subsequent execution test works.
3003 for ac_file in $ac_files
3006 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3007 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3012 if { (ac_try="$ac_link_default"
3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3015 *) ac_try_echo=$ac_try;;
3017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3018 (eval "$ac_link_default") 2>&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; then
3022 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3023 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3024 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3025 # so that the user can short-circuit this test for compilers unknown to
3027 for ac_file
in $ac_files ''
3029 test -f "$ac_file" ||
continue
3031 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3034 # We found the default executable, but exeext='' is most
3038 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3040 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3042 # We set ac_cv_exeext here because the later test for it is not
3043 # safe: cross compilers may not add the suffix if given an `-o'
3044 # argument, so we may need to know it at that point already.
3045 # Even if this section looks crufty: it has the advantage of
3052 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3058 { echo "$as_me:$LINENO: result: $ac_file" >&5
3059 echo "${ECHO_T}$ac_file" >&6; }
3060 if test -z "$ac_file"; then
3061 echo "$as_me: failed program was:" >&5
3062 sed 's/^/| /' conftest.
$ac_ext >&5
3064 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3065 See \`config.log' for more details." >&5
3066 echo "$as_me: error: C compiler cannot create executables
3067 See \`config.log' for more details." >&2;}
3068 { (exit 77); exit 77; }; }
3071 ac_exeext
=$ac_cv_exeext
3073 # Check that the compiler produces executables we can run. If not, either
3074 # the compiler is broken, or we cross compile.
3075 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3076 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3077 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3078 # If not cross compiling, check that we can run a simple program.
3079 if test "$cross_compiling" != yes; then
3080 if { ac_try
='./$ac_file'
3081 { (case "(($ac_try" in
3082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3086 (eval "$ac_try") 2>&5
3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089 (exit $ac_status); }; }; then
3092 if test "$cross_compiling" = maybe; then
3095 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3096 If you meant to cross compile, use \`--host'.
3097 See \`config.log' for more details.
" >&5
3098 echo "$as_me: error
: cannot run C compiled programs.
3099 If you meant to cross compile
, use \
`--host'.
3100 See \`config.log
' for more details." >&2;}
3101 { (exit 1); exit 1; }; }
3105 { echo "$as_me:$LINENO: result: yes" >&5
3106 echo "${ECHO_T}yes" >&6; }
3108 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3109 ac_clean_files=$ac_clean_files_save
3110 # Check that the compiler produces executables we can run. If not, either
3111 # the compiler is broken, or we cross compile.
3112 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3113 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3114 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3115 echo "${ECHO_T}$cross_compiling" >&6; }
3117 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3118 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3119 if { (ac_try="$ac_link"
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3125 (eval "$ac_link") 2>&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); }; then
3129 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3130 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3131 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3133 for ac_file
in conftest.exe conftest conftest.
*; do
3134 test -f "$ac_file" ||
continue
3136 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3137 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3143 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3144 See \`config.log' for more details." >&5
3145 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3146 See \`config.log' for more details." >&2;}
3147 { (exit 1); exit 1; }; }
3150 rm -f conftest
$ac_cv_exeext
3151 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3152 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3154 rm -f conftest.
$ac_ext
3155 EXEEXT
=$ac_cv_exeext
3157 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3158 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3159 if test "${ac_cv_objext+set}" = set; then
3160 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 cat >conftest.
$ac_ext <<_ACEOF
3165 cat confdefs.h
>>conftest.
$ac_ext
3166 cat >>conftest.
$ac_ext <<_ACEOF
3167 /* end confdefs.h. */
3177 rm -f conftest.o conftest.obj
3178 if { (ac_try
="$ac_compile"
3180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3181 *) ac_try_echo=$ac_try;;
3183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3184 (eval "$ac_compile") 2>&5
3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); }; then
3188 for ac_file in conftest.o conftest.obj conftest.*; do
3189 test -f "$ac_file" || continue;
3191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3192 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.$ac_ext >&5
3200 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3201 See \`config.log
' for more details." >&5
3202 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3203 See \`config.log' for more details.
" >&2;}
3204 { (exit 1); exit 1; }; }
3207 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3209 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3210 echo "${ECHO_T}$ac_cv_objext" >&6; }
3211 OBJEXT=$ac_cv_objext
3213 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3214 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3215 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3216 echo $ECHO_N "(cached
) $ECHO_C" >&6
3218 cat >conftest.$ac_ext <<_ACEOF
3221 cat confdefs.h >>conftest.$ac_ext
3222 cat >>conftest.$ac_ext <<_ACEOF
3223 /* end confdefs.h. */
3236 rm -f conftest.$ac_objext
3237 if { (ac_try="$ac_compile"
3239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3243 (eval "$ac_compile") 2>conftest.er1
3245 grep -v '^ *+' conftest.er1 >conftest.err
3247 cat conftest.err >&5
3248 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3249 (exit $ac_status); } && {
3250 test -z "$ac_c_werror_flag" ||
3251 test ! -s conftest.err
3252 } && test -s conftest.$ac_objext; then
3255 echo "$as_me: failed program was
:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3262 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3265 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3266 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3267 GCC=`test $ac_compiler_gnu = yes && echo yes`
3268 ac_test_CFLAGS=${CFLAGS+set}
3269 ac_save_CFLAGS=$CFLAGS
3270 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3271 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3272 if test "${ac_cv_prog_cc_g+set}" = set; then
3273 echo $ECHO_N "(cached
) $ECHO_C" >&6
3275 ac_save_c_werror_flag=$ac_c_werror_flag
3276 ac_c_werror_flag=yes
3279 cat >conftest.$ac_ext <<_ACEOF
3282 cat confdefs.h >>conftest.$ac_ext
3283 cat >>conftest.$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3294 rm -f conftest.$ac_objext
3295 if { (ac_try="$ac_compile"
3297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3298 *) ac_try_echo=$ac_try;;
3300 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3301 (eval "$ac_compile") 2>conftest.er1
3303 grep -v '^ *+' conftest.er1 >conftest.err
3305 cat conftest.err >&5
3306 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3307 (exit $ac_status); } && {
3308 test -z "$ac_c_werror_flag" ||
3309 test ! -s conftest.err
3310 } && test -s conftest.$ac_objext; then
3313 echo "$as_me: failed program was
:" >&5
3314 sed 's/^/| /' conftest.$ac_ext >&5
3317 cat >conftest.$ac_ext <<_ACEOF
3320 cat confdefs.h >>conftest.$ac_ext
3321 cat >>conftest.$ac_ext <<_ACEOF
3322 /* end confdefs.h. */
3332 rm -f conftest.$ac_objext
3333 if { (ac_try="$ac_compile"
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3338 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3339 (eval "$ac_compile") 2>conftest.er1
3341 grep -v '^ *+' conftest.er1 >conftest.err
3343 cat conftest.err >&5
3344 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3345 (exit $ac_status); } && {
3346 test -z "$ac_c_werror_flag" ||
3347 test ! -s conftest.err
3348 } && test -s conftest.$ac_objext; then
3351 echo "$as_me: failed program was
:" >&5
3352 sed 's/^/| /' conftest.$ac_ext >&5
3354 ac_c_werror_flag=$ac_save_c_werror_flag
3356 cat >conftest.$ac_ext <<_ACEOF
3359 cat confdefs.h >>conftest.$ac_ext
3360 cat >>conftest.$ac_ext <<_ACEOF
3361 /* end confdefs.h. */
3371 rm -f conftest.$ac_objext
3372 if { (ac_try="$ac_compile"
3374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3375 *) ac_try_echo=$ac_try;;
3377 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3378 (eval "$ac_compile") 2>conftest.er1
3380 grep -v '^ *+' conftest.er1 >conftest.err
3382 cat conftest.err >&5
3383 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3384 (exit $ac_status); } && {
3385 test -z "$ac_c_werror_flag" ||
3386 test ! -s conftest.err
3387 } && test -s conftest.$ac_objext; then
3390 echo "$as_me: failed program was
:" >&5
3391 sed 's/^/| /' conftest.$ac_ext >&5
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 ac_c_werror_flag=$ac_save_c_werror_flag
3405 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3406 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3407 if test "$ac_test_CFLAGS" = set; then
3408 CFLAGS=$ac_save_CFLAGS
3409 elif test $ac_cv_prog_cc_g = yes; then
3410 if test "$GCC" = yes; then
3416 if test "$GCC" = yes; then
3422 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3423 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3424 if test "${ac_cv_prog_cc_c89+set}" = set; then
3425 echo $ECHO_N "(cached
) $ECHO_C" >&6
3427 ac_cv_prog_cc_c89=no
3429 cat >conftest.$ac_ext <<_ACEOF
3432 cat confdefs.h >>conftest.$ac_ext
3433 cat >>conftest.$ac_ext <<_ACEOF
3434 /* end confdefs.h. */
3437 #include <sys/types.h>
3438 #include <sys/stat.h>
3439 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3440 struct buf { int x; };
3441 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3442 static char *e (p, i)
3448 static char *f (char * (*g) (char **, int), char **p, ...)
3453 s = g (p, va_arg (v,int));
3458 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3459 function prototypes and stuff, but not '\xHH' hex character constants.
3460 These don't provoke an error unfortunately, instead are silently treated
3461 as 'x'. The following induces an error, until -std is added to get
3462 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3463 array size at least. It's necessary to write '\x00'==0 to get something
3464 that's true only with -std. */
3465 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3467 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3468 inside strings and character constants. */
3470 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3472 int test (int i, double x);
3473 struct s1 {int (*f) (int a);};
3474 struct s2 {int (*f) (double a);};
3475 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3481 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3486 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3487 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3489 CC="$ac_save_CC $ac_arg"
3490 rm -f conftest.$ac_objext
3491 if { (ac_try="$ac_compile"
3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3496 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3497 (eval "$ac_compile") 2>conftest.er1
3499 grep -v '^ *+' conftest.er1 >conftest.err
3501 cat conftest.err >&5
3502 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3503 (exit $ac_status); } && {
3504 test -z "$ac_c_werror_flag" ||
3505 test ! -s conftest.err
3506 } && test -s conftest.$ac_objext; then
3507 ac_cv_prog_cc_c89=$ac_arg
3509 echo "$as_me: failed program was
:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5
3515 rm -f core conftest.err conftest.$ac_objext
3516 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3518 rm -f conftest.$ac_ext
3523 case "x
$ac_cv_prog_cc_c89" in
3525 { echo "$as_me:$LINENO: result
: none needed
" >&5
3526 echo "${ECHO_T}none needed
" >&6; } ;;
3528 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3529 echo "${ECHO_T}unsupported
" >&6; } ;;
3531 CC="$CC $ac_cv_prog_cc_c89"
3532 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3533 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3538 ac_cpp='$CPP $CPPFLAGS'
3539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3542 DEPDIR="${am__leading_dot}deps
"
3544 ac_config_commands="$ac_config_commands depfiles
"
3547 am_make=${MAKE-make}
3548 cat > confinc << 'END'
3553 # If we don't find an include directive, just comment out the code.
3554 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3555 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3559 # First try GNU make style include.
3560 echo "include confinc" > confmf
3561 # We grep out `Entering directory' and `Leaving directory'
3562 # messages which can occur if `w' ends up in MAKEFLAGS.
3563 # In particular we don't look at `^make:' because GNU make might
3564 # be invoked under some other name (usually "gmake"), in which
3565 # case it prints its new name instead of `make'.
3566 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3571 # Now try BSD make style include.
3572 if test "$am__include" = "#"; then
3573 echo '.include "confinc"' > confmf
3574 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3575 am__include
=.include
3582 { echo "$as_me:$LINENO: result: $_am_result" >&5
3583 echo "${ECHO_T}$_am_result" >&6; }
3584 rm -f confinc confmf
3586 # Check whether --enable-dependency-tracking was given.
3587 if test "${enable_dependency_tracking+set}" = set; then
3588 enableval
=$enable_dependency_tracking;
3591 if test "x$enable_dependency_tracking" != xno
; then
3592 am_depcomp
="$ac_aux_dir/depcomp"
3595 if test "x$enable_dependency_tracking" != xno; then
3605 depcc
="$CC" am_compiler_list
=
3607 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3608 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3609 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3610 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3613 # We make a subdir and do the tests there. Otherwise we can end up
3614 # making bogus files that we don't know about and never remove. For
3615 # instance it was reported that on HP-UX the gcc test will end up
3616 # making a dummy file named `D' -- because `-MD' means `put the output
3619 # Copy depcomp to subdir because otherwise we won't find it if we're
3620 # using a relative directory.
3621 cp "$am_depcomp" conftest.dir
3623 # We will build objects and dependencies in a subdirectory because
3624 # it helps to detect inapplicable dependency modes. For instance
3625 # both Tru64's cc and ICC support -MD to output dependencies as a
3626 # side effect of compilation, but ICC will put the dependencies in
3627 # the current directory while Tru64 will put them in the object
3631 am_cv_CC_dependencies_compiler_type
=none
3632 if test "$am_compiler_list" = ""; then
3633 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3635 for depmode
in $am_compiler_list; do
3636 # Setup a source with many dependencies, because some compilers
3637 # like to wrap large dependency lists on column 80 (with \), and
3638 # we should not choose a depcomp mode which is confused by this.
3640 # We need to recreate these files for each test, as the compiler may
3641 # overwrite some of them when testing with obscure command lines.
3642 # This happens at least with the AIX C compiler.
3644 for i
in 1 2 3 4 5 6; do
3645 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3646 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3647 # Solaris 8's {/usr,}/bin/sh.
3648 touch sub
/conftst
$i.h
3650 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3654 # after this tag, mechanisms are not by side-effect, so they'll
3655 # only be used when explicitly requested
3656 if test "x$enable_dependency_tracking" = xyes
; then
3664 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3665 # mode. It turns out that the SunPro C++ compiler does not properly
3666 # handle `-M -o', and we need to detect this.
3667 if depmode
=$depmode \
3668 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3669 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3670 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3671 >/dev
/null
2>conftest.err
&&
3672 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3673 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3674 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3675 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3676 # icc doesn't choke on unknown options, it will just issue warnings
3677 # or remarks (even with -Werror). So we grep stderr for any message
3678 # that says an option was ignored or not supported.
3679 # When given -MP, icc 7.0 and 7.1 complain thusly:
3680 # icc: Command line warning: ignoring option '-M'; no argument required
3681 # The diagnosis changed in icc 8.0:
3682 # icc: Command line remark: option '-MP' not supported
3683 if (grep 'ignoring option' conftest.err ||
3684 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3685 am_cv_CC_dependencies_compiler_type
=$depmode
3694 am_cv_CC_dependencies_compiler_type
=none
3698 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3699 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3700 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3703 test "x$enable_dependency_tracking" != xno \
3704 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3706 am__fastdepCC_FALSE
='#'
3708 am__fastdepCC_TRUE
='#'
3709 am__fastdepCC_FALSE
=
3714 ac_cpp
='$CPP $CPPFLAGS'
3715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3718 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3719 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3720 # On Suns, sometimes $CPP names a directory.
3721 if test -n "$CPP" && test -d "$CPP"; then
3724 if test -z "$CPP"; then
3725 if test "${ac_cv_prog_CPP+set}" = set; then
3726 echo $ECHO_N "(cached) $ECHO_C" >&6
3728 # Double quotes because CPP needs to be expanded
3729 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3732 for ac_c_preproc_warn_flag
in '' yes
3734 # Use a header file that comes with gcc, so configuring glibc
3735 # with a fresh cross-compiler works.
3736 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3737 # <limits.h> exists even on freestanding compilers.
3738 # On the NeXT, cc -E runs the code through the compiler's parser,
3739 # not just through cpp. "Syntax error" is here to catch this case.
3740 cat >conftest.
$ac_ext <<_ACEOF
3743 cat confdefs.h
>>conftest.
$ac_ext
3744 cat >>conftest.
$ac_ext <<_ACEOF
3745 /* end confdefs.h. */
3747 # include <limits.h>
3749 # include <assert.h>
3753 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3756 *) ac_try_echo=$ac_try;;
3758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3759 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3761 grep -v '^ *+' conftest.er1 >conftest.err
3763 cat conftest.err >&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } >/dev/null && {
3766 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3767 test ! -s conftest.err
3771 echo "$as_me: failed program was:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3774 # Broken: fails on valid input.
3778 rm -f conftest.err conftest.$ac_ext
3780 # OK, works on sane cases. Now check whether nonexistent headers
3781 # can be detected and how.
3782 cat >conftest.$ac_ext <<_ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <ac_nonexistent.h>
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3793 *) ac_try_echo
=$ac_try;;
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3798 grep -v '^ *+' conftest.er1
>conftest.err
3800 cat conftest.err
>&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } >/dev
/null
&& {
3803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3806 # Broken: success on invalid input.
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.
$ac_ext >&5
3812 # Passes both tests.
3817 rm -f conftest.err conftest.
$ac_ext
3820 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3821 rm -f conftest.err conftest.
$ac_ext
3822 if $ac_preproc_ok; then
3834 { echo "$as_me:$LINENO: result: $CPP" >&5
3835 echo "${ECHO_T}$CPP" >&6; }
3837 for ac_c_preproc_warn_flag
in '' yes
3839 # Use a header file that comes with gcc, so configuring glibc
3840 # with a fresh cross-compiler works.
3841 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3842 # <limits.h> exists even on freestanding compilers.
3843 # On the NeXT, cc -E runs the code through the compiler's parser,
3844 # not just through cpp. "Syntax error" is here to catch this case.
3845 cat >conftest.
$ac_ext <<_ACEOF
3848 cat confdefs.h
>>conftest.
$ac_ext
3849 cat >>conftest.
$ac_ext <<_ACEOF
3850 /* end confdefs.h. */
3852 # include <limits.h>
3854 # include <assert.h>
3858 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3861 *) ac_try_echo=$ac_try;;
3863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3864 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3866 grep -v '^ *+' conftest.er1 >conftest.err
3868 cat conftest.err >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); } >/dev/null && {
3871 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3872 test ! -s conftest.err
3876 echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.$ac_ext >&5
3879 # Broken: fails on valid input.
3883 rm -f conftest.err conftest.$ac_ext
3885 # OK, works on sane cases. Now check whether nonexistent headers
3886 # can be detected and how.
3887 cat >conftest.$ac_ext <<_ACEOF
3890 cat confdefs.h >>conftest.$ac_ext
3891 cat >>conftest.$ac_ext <<_ACEOF
3892 /* end confdefs.h. */
3893 #include <ac_nonexistent.h>
3895 if { (ac_try="$ac_cpp conftest.$ac_ext"
3897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3898 *) ac_try_echo
=$ac_try;;
3900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3901 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3903 grep -v '^ *+' conftest.er1
>conftest.err
3905 cat conftest.err
>&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); } >/dev
/null
&& {
3908 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3909 test ! -s conftest.err
3911 # Broken: success on invalid input.
3914 echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.
$ac_ext >&5
3917 # Passes both tests.
3922 rm -f conftest.err conftest.
$ac_ext
3925 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3926 rm -f conftest.err conftest.
$ac_ext
3927 if $ac_preproc_ok; then
3930 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3931 See \`config.log' for more details." >&5
3932 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3933 See \`config.log' for more details." >&2;}
3934 { (exit 1); exit 1; }; }
3938 ac_cpp
='$CPP $CPPFLAGS'
3939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3943 CFLAGS
="$cflags_save"
3946 { echo "$as_me:$LINENO: checking for inline" >&5
3947 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3948 if test "${ac_cv_c_inline+set}" = set; then
3949 echo $ECHO_N "(cached) $ECHO_C" >&6
3952 for ac_kw
in inline __inline__ __inline
; do
3953 cat >conftest.
$ac_ext <<_ACEOF
3956 cat confdefs.h
>>conftest.
$ac_ext
3957 cat >>conftest.
$ac_ext <<_ACEOF
3958 /* end confdefs.h. */
3961 static $ac_kw foo_t static_foo () {return 0; }
3962 $ac_kw foo_t foo () {return 0; }
3966 rm -f conftest.
$ac_objext
3967 if { (ac_try
="$ac_compile"
3969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3970 *) ac_try_echo=$ac_try;;
3972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3973 (eval "$ac_compile") 2>conftest.er1
3975 grep -v '^ *+' conftest.er1 >conftest.err
3977 cat conftest.err >&5
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 (exit $ac_status); } && {
3980 test -z "$ac_c_werror_flag" ||
3981 test ! -s conftest.err
3982 } && test -s conftest.$ac_objext; then
3983 ac_cv_c_inline=$ac_kw
3985 echo "$as_me: failed program was:" >&5
3986 sed 's/^/| /' conftest.$ac_ext >&5
3991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3992 test "$ac_cv_c_inline" != no && break
3996 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3997 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4000 case $ac_cv_c_inline in
4003 case $ac_cv_c_inline in
4005 *) ac_val=$ac_cv_c_inline;;
4007 cat >>confdefs.h <<_ACEOF
4009 #define inline $ac_val
4018 # Check whether --enable-shared was given.
4019 if test "${enable_shared+set}" = set; then
4020 enableval=$enable_shared; p=${PACKAGE-default}
4022 yes) enable_shared=yes ;;
4023 no) enable_shared=no ;;
4026 # Look at the argument we got. We use all the common list separators.
4027 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4028 for pkg in $enableval; do
4030 if test "X$pkg" = "X$p"; then
4042 # Check whether --enable-static was given.
4043 if test "${enable_static+set}" = set; then
4044 enableval=$enable_static; p=${PACKAGE-default}
4046 yes) enable_static=yes ;;
4047 no) enable_static=no ;;
4050 # Look at the argument we got. We use all the common list separators.
4051 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4052 for pkg in $enableval; do
4054 if test "X$pkg" = "X$p"; then
4066 # Check whether --enable-fast-install was given.
4067 if test "${enable_fast_install+set}" = set; then
4068 enableval=$enable_fast_install; p=${PACKAGE-default}
4070 yes) enable_fast_install=yes ;;
4071 no) enable_fast_install=no ;;
4073 enable_fast_install=no
4074 # Look at the argument we got. We use all the common list separators.
4075 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4076 for pkg in $enableval; do
4078 if test "X$pkg" = "X$p"; then
4079 enable_fast_install=yes
4086 enable_fast_install=yes
4090 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4091 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4092 if test "${lt_cv_path_SED+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 # Loop through the user's path and test for sed and gsed.
4096 # Then use that list of sed's as ones to test for truncation.
4097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4101 test -z "$as_dir" && as_dir=.
4102 for lt_ac_prog in sed gsed; do
4103 for ac_exec_ext in '' $ac_executable_extensions; do
4104 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4105 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4113 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4114 # along with /bin/sed that truncates output.
4115 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4116 test ! -f $lt_ac_sed && continue
4117 cat /dev/null > conftest.in
4119 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4120 # Check for GNU sed and select it if it is found.
4121 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4122 lt_cv_path_SED=$lt_ac_sed
4126 cat conftest.in conftest.in >conftest.tmp
4127 mv conftest.tmp conftest.in
4128 cp conftest.in conftest.nl
4130 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4131 cmp -s conftest.out conftest.nl || break
4132 # 10000 chars as input seems more than enough
4133 test $lt_ac_count -gt 10 && break
4134 lt_ac_count=`expr $lt_ac_count + 1`
4135 if test $lt_ac_count -gt $lt_ac_max; then
4136 lt_ac_max=$lt_ac_count
4137 lt_cv_path_SED=$lt_ac_sed
4146 { echo "$as_me:$LINENO: result: $SED" >&5
4147 echo "${ECHO_T}$SED" >&6; }
4149 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4150 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4151 if test "${ac_cv_path_GREP+set}" = set; then
4152 echo $ECHO_N "(cached) $ECHO_C" >&6
4154 # Extract the first word of "grep ggrep" to use in msg output
4155 if test -z "$GREP"; then
4156 set dummy grep ggrep; ac_prog_name=$2
4157 if test "${ac_cv_path_GREP+set}" = set; then
4158 echo $ECHO_N "(cached) $ECHO_C" >&6
4160 ac_path_GREP_found=false
4161 # Loop through the user's path and test for each of PROGNAME-LIST
4162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4166 test -z "$as_dir" && as_dir=.
4167 for ac_prog in grep ggrep; do
4168 for ac_exec_ext in '' $ac_executable_extensions; do
4169 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4170 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4171 # Check for GNU ac_path_GREP and select it if it is found.
4172 # Check for GNU $ac_path_GREP
4173 case `"$ac_path_GREP" --version 2>&1` in
4175 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4178 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4181 cat "conftest.in" "conftest.in" >"conftest.tmp"
4182 mv "conftest.tmp" "conftest.in"
4183 cp "conftest.in" "conftest.nl"
4184 echo 'GREP' >> "conftest.nl"
4185 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4186 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4187 ac_count=`expr $ac_count + 1`
4188 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4189 # Best one so far, save it but keep looking for a better one
4190 ac_cv_path_GREP="$ac_path_GREP"
4191 ac_path_GREP_max=$ac_count
4193 # 10*(2^10) chars as input seems more than enough
4194 test $ac_count -gt 10 && break
4196 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4200 $ac_path_GREP_found && break 3
4210 GREP="$ac_cv_path_GREP"
4211 if test -z "$GREP"; then
4212 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4213 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4214 { (exit 1); exit 1; }; }
4218 ac_cv_path_GREP=$GREP
4223 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4224 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4225 GREP="$ac_cv_path_GREP"
4228 { echo "$as_me:$LINENO: checking for egrep" >&5
4229 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4230 if test "${ac_cv_path_EGREP+set}" = set; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4234 then ac_cv_path_EGREP="$GREP -E"
4236 # Extract the first word of "egrep" to use in msg output
4237 if test -z "$EGREP"; then
4238 set dummy egrep; ac_prog_name=$2
4239 if test "${ac_cv_path_EGREP+set}" = set; then
4240 echo $ECHO_N "(cached) $ECHO_C" >&6
4242 ac_path_EGREP_found=false
4243 # Loop through the user's path and test for each of PROGNAME-LIST
4244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4245 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4248 test -z "$as_dir" && as_dir=.
4249 for ac_prog in egrep; do
4250 for ac_exec_ext in '' $ac_executable_extensions; do
4251 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4252 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4253 # Check for GNU ac_path_EGREP and select it if it is found.
4254 # Check for GNU $ac_path_EGREP
4255 case `"$ac_path_EGREP" --version 2>&1` in
4257 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4260 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4263 cat "conftest.in" "conftest.in" >"conftest.tmp"
4264 mv "conftest.tmp" "conftest.in"
4265 cp "conftest.in" "conftest.nl"
4266 echo 'EGREP' >> "conftest.nl"
4267 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4268 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4269 ac_count=`expr $ac_count + 1`
4270 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4271 # Best one so far, save it but keep looking for a better one
4272 ac_cv_path_EGREP="$ac_path_EGREP"
4273 ac_path_EGREP_max=$ac_count
4275 # 10*(2^10) chars as input seems more than enough
4276 test $ac_count -gt 10 && break
4278 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4282 $ac_path_EGREP_found && break 3
4292 EGREP="$ac_cv_path_EGREP"
4293 if test -z "$EGREP"; then
4294 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4295 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4296 { (exit 1); exit 1; }; }
4300 ac_cv_path_EGREP=$EGREP
4306 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4307 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4308 EGREP="$ac_cv_path_EGREP"
4312 # Check whether --with-gnu-ld was given.
4313 if test "${with_gnu_ld+set}" = set; then
4314 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4320 if test "$GCC" = yes; then
4321 # Check if gcc -print-prog-name=ld gives a path.
4322 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4323 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4326 # gcc leaves a trailing carriage return which upsets mingw
4327 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4329 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4332 # Accept absolute paths.
4334 re_direlt='/[^/][^/]*/\.\./'
4335 # Canonicalize the pathname of ld
4336 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
4337 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4338 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
4340 test -z "$LD" && LD="$ac_prog"
4343 # If it fails, then pretend we aren't using GCC.
4347 # If it is relative, then search for the first ld in PATH.
4351 elif test "$with_gnu_ld" = yes; then
4352 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4353 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4355 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4356 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4358 if test "${lt_cv_path_LD+set}" = set; then
4359 echo $ECHO_N "(cached) $ECHO_C" >&6
4361 if test -z "$LD"; then
4362 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4363 for ac_dir in $PATH; do
4365 test -z "$ac_dir" && ac_dir=.
4366 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4367 lt_cv_path_LD="$ac_dir/$ac_prog"
4368 # Check to see if the program is GNU ld. I'd rather use --version,
4369 # but apparently some variants of GNU ld only accept -v.
4370 # Break only if it was the GNU/non-GNU ld that we prefer.
4371 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4372 *GNU* | *'with BFD'*)
4373 test "$with_gnu_ld" != no && break
4376 test "$with_gnu_ld" != yes && break
4383 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4388 if test -n "$LD"; then
4389 { echo "$as_me:$LINENO: result: $LD" >&5
4390 echo "${ECHO_T}$LD" >&6; }
4392 { echo "$as_me:$LINENO: result: no" >&5
4393 echo "${ECHO_T}no" >&6; }
4395 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4396 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4397 { (exit 1); exit 1; }; }
4398 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4399 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4400 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4401 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4404 case `$LD -v 2>&1 </dev
/null
` in
4405 *GNU* | *'with BFD'*)
4406 lt_cv_prog_gnu_ld=yes
4409 lt_cv_prog_gnu_ld=no
4413 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4414 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4415 with_gnu_ld=$lt_cv_prog_gnu_ld
4418 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4419 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4420 if test "${lt_cv_ld_reload_flag+set}" = set; then
4421 echo $ECHO_N "(cached) $ECHO_C" >&6
4423 lt_cv_ld_reload_flag='-r'
4425 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4426 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4427 reload_flag=$lt_cv_ld_reload_flag
4428 case $reload_flag in
4430 *) reload_flag=" $reload_flag" ;;
4432 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4435 if test "$GCC" = yes; then
4436 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4438 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4443 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4444 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4445 if test "${lt_cv_path_NM+set}" = set; then
4446 echo $ECHO_N "(cached) $ECHO_C" >&6
4448 if test -n "$NM"; then
4449 # Let the user override the test.
4452 lt_nm_to_check="${ac_tool_prefix}nm"
4453 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4454 lt_nm_to_check="$lt_nm_to_check nm"
4456 for lt_tmp_nm in $lt_nm_to_check; do
4457 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4458 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4460 test -z "$ac_dir" && ac_dir=.
4461 tmp_nm="$ac_dir/$lt_tmp_nm"
4462 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4463 # Check to see if the nm accepts a BSD-compat flag.
4464 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
4465 # nm: unknown option "B" ignored
4466 # Tru64's nm complains that
/dev
/null is an invalid object
file
4467 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4468 */dev
/null
* |
*'Invalid file or object type'*)
4469 lt_cv_path_NM
="$tmp_nm -B"
4473 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4475 lt_cv_path_NM
="$tmp_nm -p"
4479 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4480 continue # so that we can try to find one that supports BSD flags
4489 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4492 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4493 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4496 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4497 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4499 if test "$LN_S" = "ln -s"; then
4500 { echo "$as_me:$LINENO: result: yes" >&5
4501 echo "${ECHO_T}yes" >&6; }
4503 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4504 echo "${ECHO_T}no, using $LN_S" >&6; }
4507 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4508 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4509 if test "${lt_cv_deplibs_check_method+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4513 lt_cv_file_magic_test_file
=
4514 lt_cv_deplibs_check_method
='unknown'
4515 # Need to set the preceding variable on all platforms that support
4516 # interlibrary dependencies.
4517 # 'none' -- dependencies not supported.
4518 # `unknown' -- same as none, but documents that we really don't know.
4519 # 'pass_all' -- all dependencies passed with no checks.
4520 # 'test_compile' -- check by making test program.
4521 # 'file_magic [[regex]]' -- check by looking for files in library path
4522 # which responds to the $file_magic_cmd with a given extended regex.
4523 # If you have `file' or equivalent on your system and you're not sure
4524 # whether `pass_all' will *always* work, you probably want this one.
4528 lt_cv_deplibs_check_method
=pass_all
4532 lt_cv_deplibs_check_method
=pass_all
4536 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4537 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4538 lt_cv_file_magic_test_file
=/shlib
/libc.so
4542 # func_win32_libid is a shell function defined in ltmain.sh
4543 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4544 lt_cv_file_magic_cmd
='func_win32_libid'
4548 # Base MSYS/MinGW do not provide the 'file' command needed by
4549 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4550 # unless we find 'file', for example because we are cross-compiling.
4551 if ( file / ) >/dev
/null
2>&1; then
4552 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4553 lt_cv_file_magic_cmd
='func_win32_libid'
4555 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4556 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4560 darwin
* | rhapsody
*)
4561 lt_cv_deplibs_check_method
=pass_all
4564 freebsd
* | dragonfly
*)
4565 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4568 # Not sure whether the presence of OpenBSD here was a mistake.
4569 # Let's accept both of them until this is cleared up.
4570 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4571 lt_cv_file_magic_cmd
=/usr
/bin
/file
4572 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4576 lt_cv_deplibs_check_method
=pass_all
4581 lt_cv_deplibs_check_method
=pass_all
4584 hpux10.20
* | hpux11
*)
4585 lt_cv_file_magic_cmd
=/usr
/bin
/file
4588 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4589 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4592 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]'
4593 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4596 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4597 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4603 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4604 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4607 irix5
* | irix6
* | nonstopux
*)
4609 *-32|
*"-32 ") libmagic
=32-bit;;
4610 *-n32|
*"-n32 ") libmagic
=N32
;;
4611 *-64|
*"-64 ") libmagic
=64-bit;;
4612 *) libmagic
=never-match
;;
4614 lt_cv_deplibs_check_method
=pass_all
4617 # This must be Linux ELF.
4618 linux
* | k
*bsd
*-gnu)
4619 lt_cv_deplibs_check_method
=pass_all
4622 netbsd
* | netbsdelf
*-gnu)
4623 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4624 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4626 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4631 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4632 lt_cv_file_magic_cmd
=/usr
/bin
/file
4633 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4637 lt_cv_deplibs_check_method
=unknown
4641 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4642 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4644 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4648 osf3
* | osf4
* | osf5
*)
4649 lt_cv_deplibs_check_method
=pass_all
4653 lt_cv_deplibs_check_method
=pass_all
4657 lt_cv_deplibs_check_method
=pass_all
4661 case $host_vendor in
4663 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]'
4664 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4667 lt_cv_deplibs_check_method
=pass_all
4670 lt_cv_file_magic_cmd
='/bin/file'
4671 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4674 lt_cv_file_magic_cmd
='/bin/file'
4675 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4676 lt_cv_file_magic_test_file
=/lib
/libc.so
4679 lt_cv_deplibs_check_method
=pass_all
4682 lt_cv_deplibs_check_method
=pass_all
4687 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4688 lt_cv_deplibs_check_method
=pass_all
4693 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4694 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4695 file_magic_cmd
=$lt_cv_file_magic_cmd
4696 deplibs_check_method
=$lt_cv_deplibs_check_method
4697 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4702 # If no C compiler was specified, use CC.
4705 # If no C compiler flags were specified, use CFLAGS.
4706 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4708 # Allow CC to be a program name with arguments.
4711 # Check whether --enable-libtool-lock was given.
4712 if test "${enable_libtool_lock+set}" = set; then
4713 enableval
=$enable_libtool_lock;
4716 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4718 # Some flags need to be propagated to the compiler or linker for good
4722 # Find out which ABI we are using.
4723 echo 'int i;' > conftest.
$ac_ext
4724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4725 (eval $ac_compile) 2>&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); }; then
4729 case `/usr/bin/file conftest.$ac_objext` in
4741 # Find out which ABI we are using.
4742 echo '#line 4742 "configure"' > conftest.
$ac_ext
4743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4744 (eval $ac_compile) 2>&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }; then
4748 if test "$lt_cv_prog_gnu_ld" = yes; then
4749 case `/usr/bin/file conftest.$ac_objext` in
4751 LD
="${LD-ld} -melf32bsmip"
4754 LD
="${LD-ld} -melf32bmipn32"
4757 LD
="${LD-ld} -melf64bmip"
4761 case `/usr/bin/file conftest.$ac_objext` in
4777 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4778 s390
*-*linux
*|sparc
*-*linux
*)
4779 # Find out which ABI we are using.
4780 echo 'int i;' > conftest.
$ac_ext
4781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4782 (eval $ac_compile) 2>&5
4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785 (exit $ac_status); }; then
4786 case `/usr/bin/file conftest.o` in
4789 x86_64-
*kfreebsd
*-gnu)
4790 LD
="${LD-ld} -m elf_i386_fbsd"
4793 LD
="${LD-ld} -m elf_i386"
4795 ppc64-
*linux
*|powerpc64-
*linux
*)
4796 LD
="${LD-ld} -m elf32ppclinux"
4799 LD
="${LD-ld} -m elf_s390"
4802 LD
="${LD-ld} -m elf32_sparc"
4808 x86_64-
*kfreebsd
*-gnu)
4809 LD
="${LD-ld} -m elf_x86_64_fbsd"
4812 LD
="${LD-ld} -m elf_x86_64"
4814 ppc
*-*linux
*|powerpc
*-*linux
*)
4815 LD
="${LD-ld} -m elf64ppc"
4818 LD
="${LD-ld} -m elf64_s390"
4821 LD
="${LD-ld} -m elf64_sparc"
4831 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4832 SAVE_CFLAGS
="$CFLAGS"
4833 CFLAGS
="$CFLAGS -belf"
4834 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4835 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4836 if test "${lt_cv_cc_needs_belf+set}" = set; then
4837 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 ac_cpp
='$CPP $CPPFLAGS'
4841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4845 cat >conftest.
$ac_ext <<_ACEOF
4848 cat confdefs.h
>>conftest.
$ac_ext
4849 cat >>conftest.
$ac_ext <<_ACEOF
4850 /* end confdefs.h. */
4860 rm -f conftest.
$ac_objext conftest
$ac_exeext
4861 if { (ac_try
="$ac_link"
4863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4864 *) ac_try_echo=$ac_try;;
4866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4867 (eval "$ac_link") 2>conftest.er1
4869 grep -v '^ *+' conftest.er1 >conftest.err
4871 cat conftest.err >&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } && {
4874 test -z "$ac_c_werror_flag" ||
4875 test ! -s conftest.err
4876 } && test -s conftest$ac_exeext &&
4877 $as_test_x conftest$ac_exeext; then
4878 lt_cv_cc_needs_belf=yes
4880 echo "$as_me: failed program was:" >&5
4881 sed 's/^/| /' conftest.$ac_ext >&5
4883 lt_cv_cc_needs_belf=no
4886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4887 conftest$ac_exeext conftest.$ac_ext
4889 ac_cpp='$CPP $CPPFLAGS'
4890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4895 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4896 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4897 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4898 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4899 CFLAGS="$SAVE_CFLAGS"
4903 # Find out which ABI we are using.
4904 echo 'int i;' > conftest.$ac_ext
4905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4906 (eval $ac_compile) 2>&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); }; then
4910 case `/usr
/bin
/file conftest.o
` in
4912 case $lt_cv_prog_gnu_ld in
4913 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4915 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4926 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
4927 if test -n "$ac_tool_prefix"; then
4928 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4929 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4932 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 if test -n "$DLLTOOL"; then
4936 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 test -z "$as_dir" && as_dir=.
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4945 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 DLLTOOL=$ac_cv_prog_DLLTOOL
4956 if test -n "$DLLTOOL"; then
4957 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4958 echo "${ECHO_T}$DLLTOOL" >&6; }
4960 { echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6; }
4966 if test -z "$ac_cv_prog_DLLTOOL"; then
4967 ac_ct_DLLTOOL=$DLLTOOL
4968 # Extract the first word of "dlltool", so it can be a program name with args.
4969 set dummy dlltool; ac_word=$2
4970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4972 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4973 echo $ECHO_N "(cached) $ECHO_C" >&6
4975 if test -n "$ac_ct_DLLTOOL"; then
4976 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 test -z "$as_dir" && as_dir=.
4983 for ac_exec_ext in '' $ac_executable_extensions; do
4984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4985 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4996 if test -n "$ac_ct_DLLTOOL"; then
4997 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4998 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
5000 { echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6; }
5004 if test "x$ac_ct_DLLTOOL" = x; then
5007 case $cross_compiling:$ac_tool_warned in
5009 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5010 whose name does not start with the host triplet. If you think this
5011 configuration is useful to you, please write to autoconf@gnu.org." >&5
5012 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5013 whose name does not start with the host triplet. If you think this
5014 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5015 ac_tool_warned=yes ;;
5017 DLLTOOL=$ac_ct_DLLTOOL
5020 DLLTOOL="$ac_cv_prog_DLLTOOL"
5023 if test -n "$ac_tool_prefix"; then
5024 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5025 set dummy ${ac_tool_prefix}as; ac_word=$2
5026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5028 if test "${ac_cv_prog_AS+set}" = set; then
5029 echo $ECHO_N "(cached) $ECHO_C" >&6
5031 if test -n "$AS"; then
5032 ac_cv_prog_AS="$AS" # Let the user override the test.
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 test -z "$as_dir" && as_dir=.
5039 for ac_exec_ext in '' $ac_executable_extensions; do
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041 ac_cv_prog_AS="${ac_tool_prefix}as"
5042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 if test -n "$AS"; then
5053 { echo "$as_me:$LINENO: result: $AS" >&5
5054 echo "${ECHO_T}$AS" >&6; }
5056 { echo "$as_me:$LINENO: result: no" >&5
5057 echo "${ECHO_T}no" >&6; }
5062 if test -z "$ac_cv_prog_AS"; then
5064 # Extract the first word of "as", so it can be a program name with args.
5065 set dummy as; ac_word=$2
5066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5068 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5069 echo $ECHO_N "(cached) $ECHO_C" >&6
5071 if test -n "$ac_ct_AS"; then
5072 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 test -z "$as_dir" && as_dir=.
5079 for ac_exec_ext in '' $ac_executable_extensions; do
5080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5081 ac_cv_prog_ac_ct_AS="as"
5082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5091 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5092 if test -n "$ac_ct_AS"; then
5093 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5094 echo "${ECHO_T}$ac_ct_AS" >&6; }
5096 { echo "$as_me:$LINENO: result: no" >&5
5097 echo "${ECHO_T}no" >&6; }
5100 if test "x$ac_ct_AS" = x; then
5103 case $cross_compiling:$ac_tool_warned in
5105 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5106 whose name does not start with the host triplet. If you think this
5107 configuration is useful to you, please write to autoconf@gnu.org." >&5
5108 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5109 whose name does not start with the host triplet. If you think this
5110 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5111 ac_tool_warned=yes ;;
5119 if test -n "$ac_tool_prefix"; then
5120 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5121 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5124 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5125 echo $ECHO_N "(cached) $ECHO_C" >&6
5127 if test -n "$OBJDUMP"; then
5128 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 OBJDUMP=$ac_cv_prog_OBJDUMP
5148 if test -n "$OBJDUMP"; then
5149 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5150 echo "${ECHO_T}$OBJDUMP" >&6; }
5152 { echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6; }
5158 if test -z "$ac_cv_prog_OBJDUMP"; then
5159 ac_ct_OBJDUMP=$OBJDUMP
5160 # Extract the first word of "objdump", so it can be a program name with args.
5161 set dummy objdump; ac_word=$2
5162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5164 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5165 echo $ECHO_N "(cached) $ECHO_C" >&6
5167 if test -n "$ac_ct_OBJDUMP"; then
5168 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5188 if test -n "$ac_ct_OBJDUMP"; then
5189 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5190 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
5192 { echo "$as_me:$LINENO: result: no" >&5
5193 echo "${ECHO_T}no" >&6; }
5196 if test "x$ac_ct_OBJDUMP" = x; then
5199 case $cross_compiling:$ac_tool_warned in
5201 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5202 whose name does not start with the host triplet. If you think this
5203 configuration is useful to you, please write to autoconf@gnu.org." >&5
5204 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5205 whose name does not start with the host triplet. If you think this
5206 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5207 ac_tool_warned=yes ;;
5209 OBJDUMP=$ac_ct_OBJDUMP
5212 OBJDUMP="$ac_cv_prog_OBJDUMP"
5219 need_locks="$enable_libtool_lock"
5223 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5224 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5225 if test "${ac_cv_header_stdc+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 cat >conftest.$ac_ext <<_ACEOF
5231 cat confdefs.h >>conftest.$ac_ext
5232 cat >>conftest.$ac_ext <<_ACEOF
5233 /* end confdefs.h. */
5247 rm -f conftest.$ac_objext
5248 if { (ac_try="$ac_compile"
5250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5251 *) ac_try_echo
=$ac_try;;
5253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5254 (eval "$ac_compile") 2>conftest.er1
5256 grep -v '^ *+' conftest.er1
>conftest.err
5258 cat conftest.err
>&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); } && {
5261 test -z "$ac_c_werror_flag" ||
5262 test ! -s conftest.err
5263 } && test -s conftest.
$ac_objext; then
5264 ac_cv_header_stdc
=yes
5266 echo "$as_me: failed program was:" >&5
5267 sed 's/^/| /' conftest.
$ac_ext >&5
5269 ac_cv_header_stdc
=no
5272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5274 if test $ac_cv_header_stdc = yes; then
5275 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5276 cat >conftest.
$ac_ext <<_ACEOF
5279 cat confdefs.h
>>conftest.
$ac_ext
5280 cat >>conftest.
$ac_ext <<_ACEOF
5281 /* end confdefs.h. */
5285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5286 $EGREP "memchr" >/dev
/null
2>&1; then
5289 ac_cv_header_stdc
=no
5295 if test $ac_cv_header_stdc = yes; then
5296 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5297 cat >conftest.
$ac_ext <<_ACEOF
5300 cat confdefs.h
>>conftest.
$ac_ext
5301 cat >>conftest.
$ac_ext <<_ACEOF
5302 /* end confdefs.h. */
5306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5307 $EGREP "free" >/dev
/null
2>&1; then
5310 ac_cv_header_stdc
=no
5316 if test $ac_cv_header_stdc = yes; then
5317 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5318 if test "$cross_compiling" = yes; then
5321 cat >conftest.
$ac_ext <<_ACEOF
5324 cat confdefs.h
>>conftest.
$ac_ext
5325 cat >>conftest.
$ac_ext <<_ACEOF
5326 /* end confdefs.h. */
5329 #if ((' ' & 0x0FF) == 0x020)
5330 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5331 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5333 # define ISLOWER(c) \
5334 (('a' <= (c) && (c) <= 'i') \
5335 || ('j' <= (c) && (c) <= 'r') \
5336 || ('s' <= (c) && (c) <= 'z'))
5337 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5340 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5345 for (i = 0; i < 256; i++)
5346 if (XOR (islower (i), ISLOWER (i))
5347 || toupper (i) != TOUPPER (i))
5352 rm -f conftest
$ac_exeext
5353 if { (ac_try
="$ac_link"
5355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5356 *) ac_try_echo=$ac_try;;
5358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5359 (eval "$ac_link") 2>&5
5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5363 { (case "(($ac_try" in
5364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5365 *) ac_try_echo
=$ac_try;;
5367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5368 (eval "$ac_try") 2>&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); }; }; then
5374 echo "$as_me: program exited with status $ac_status" >&5
5375 echo "$as_me: failed program was:" >&5
5376 sed 's/^/| /' conftest.
$ac_ext >&5
5379 ac_cv_header_stdc
=no
5381 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5387 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5388 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5389 if test $ac_cv_header_stdc = yes; then
5391 cat >>confdefs.h
<<\_ACEOF
5392 #define STDC_HEADERS 1
5397 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5407 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5408 inttypes.h stdint.h unistd.h
5410 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5411 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5413 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5416 cat >conftest.
$ac_ext <<_ACEOF
5419 cat confdefs.h
>>conftest.
$ac_ext
5420 cat >>conftest.
$ac_ext <<_ACEOF
5421 /* end confdefs.h. */
5422 $ac_includes_default
5424 #include <$ac_header>
5426 rm -f conftest.
$ac_objext
5427 if { (ac_try
="$ac_compile"
5429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5430 *) ac_try_echo=$ac_try;;
5432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5433 (eval "$ac_compile") 2>conftest.er1
5435 grep -v '^ *+' conftest.er1 >conftest.err
5437 cat conftest.err >&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } && {
5440 test -z "$ac_c_werror_flag" ||
5441 test ! -s conftest.err
5442 } && test -s conftest.$ac_objext; then
5443 eval "$as_ac_Header=yes"
5445 echo "$as_me: failed program was:" >&5
5446 sed 's/^/| /' conftest.$ac_ext >&5
5448 eval "$as_ac_Header=no"
5451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5453 ac_res=`eval echo '${'$as_ac_Header'}'`
5454 { echo "$as_me:$LINENO: result: $ac_res" >&5
5455 echo "${ECHO_T}$ac_res" >&6; }
5456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5457 cat >>confdefs.h <<_ACEOF
5458 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5467 for ac_header in dlfcn.h
5469 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5470 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5471 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5473 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5474 echo $ECHO_N "(cached) $ECHO_C" >&6
5476 ac_res=`eval echo '${'$as_ac_Header'}'`
5477 { echo "$as_me:$LINENO: result: $ac_res" >&5
5478 echo "${ECHO_T}$ac_res" >&6; }
5480 # Is the header compilable?
5481 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5483 cat >conftest.$ac_ext <<_ACEOF
5486 cat confdefs.h >>conftest.$ac_ext
5487 cat >>conftest.$ac_ext <<_ACEOF
5488 /* end confdefs.h. */
5489 $ac_includes_default
5490 #include <$ac_header>
5492 rm -f conftest.$ac_objext
5493 if { (ac_try="$ac_compile"
5495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5496 *) ac_try_echo
=$ac_try;;
5498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5499 (eval "$ac_compile") 2>conftest.er1
5501 grep -v '^ *+' conftest.er1
>conftest.err
5503 cat conftest.err
>&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); } && {
5506 test -z "$ac_c_werror_flag" ||
5507 test ! -s conftest.err
5508 } && test -s conftest.
$ac_objext; then
5509 ac_header_compiler
=yes
5511 echo "$as_me: failed program was:" >&5
5512 sed 's/^/| /' conftest.
$ac_ext >&5
5514 ac_header_compiler
=no
5517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5518 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5519 echo "${ECHO_T}$ac_header_compiler" >&6; }
5521 # Is the header present?
5522 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5524 cat >conftest.
$ac_ext <<_ACEOF
5527 cat confdefs.h
>>conftest.
$ac_ext
5528 cat >>conftest.
$ac_ext <<_ACEOF
5529 /* end confdefs.h. */
5530 #include <$ac_header>
5532 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5535 *) ac_try_echo=$ac_try;;
5537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5540 grep -v '^ *+' conftest.er1 >conftest.err
5542 cat conftest.err >&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); } >/dev/null && {
5545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5546 test ! -s conftest.err
5548 ac_header_preproc=yes
5550 echo "$as_me: failed program was:" >&5
5551 sed 's/^/| /' conftest.$ac_ext >&5
5553 ac_header_preproc=no
5556 rm -f conftest.err conftest.$ac_ext
5557 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5558 echo "${ECHO_T}$ac_header_preproc" >&6; }
5560 # So? What about this header?
5561 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5566 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5567 ac_header_preproc=yes
5570 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5571 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5572 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5573 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5574 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5575 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5576 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5577 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5580 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5581 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5583 ## ---------------------------------- ##
5584 ## Report this to vorbis-dev@xiph.org ##
5585 ## ---------------------------------- ##
5587 ) | sed "s/^/$as_me: WARNING: /" >&2
5590 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5592 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5593 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 eval "$as_ac_Header=\$ac_header_preproc"
5597 ac_res=`eval echo '${'$as_ac_Header'}'`
5598 { echo "$as_me:$LINENO: result: $ac_res" >&5
5599 echo "${ECHO_T}$ac_res" >&6; }
5602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5603 cat >>confdefs.h <<_ACEOF
5604 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5612 ac_cpp='$CXXCPP $CPPFLAGS'
5613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5616 if test -z "$CXX"; then
5617 if test -n "$CCC"; then
5620 if test -n "$ac_tool_prefix"; then
5621 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5623 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5624 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5627 if test "${ac_cv_prog_CXX+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 if test -n "$CXX"; then
5631 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 if test -n "$CXX"; then
5652 { echo "$as_me:$LINENO: result: $CXX" >&5
5653 echo "${ECHO_T}$CXX" >&6; }
5655 { echo "$as_me:$LINENO: result: no" >&5
5656 echo "${ECHO_T}no" >&6; }
5660 test -n "$CXX" && break
5663 if test -z "$CXX"; then
5665 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5667 # Extract the first word of "$ac_prog", so it can be a program name with args.
5668 set dummy $ac_prog; ac_word=$2
5669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5671 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5674 if test -n "$ac_ct_CXX"; then
5675 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 test -z "$as_dir" && as_dir=.
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5684 ac_cv_prog_ac_ct_CXX="$ac_prog"
5685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5695 if test -n "$ac_ct_CXX"; then
5696 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5697 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5699 { echo "$as_me:$LINENO: result: no" >&5
5700 echo "${ECHO_T}no" >&6; }
5704 test -n "$ac_ct_CXX" && break
5707 if test "x$ac_ct_CXX" = x; then
5710 case $cross_compiling:$ac_tool_warned in
5712 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5713 whose name does not start with the host triplet. If you think this
5714 configuration is useful to you, please write to autoconf@gnu.org." >&5
5715 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5716 whose name does not start with the host triplet. If you think this
5717 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5718 ac_tool_warned=yes ;;
5726 # Provide some information about the compiler.
5727 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5728 ac_compiler=`set X
$ac_compile; echo $2`
5729 { (ac_try="$ac_compiler --version >&5"
5731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5732 *) ac_try_echo
=$ac_try;;
5734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5735 (eval "$ac_compiler --version >&5") 2>&5
5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); }
5739 { (ac_try
="$ac_compiler -v >&5"
5741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5742 *) ac_try_echo=$ac_try;;
5744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5745 (eval "$ac_compiler -v >&5") 2>&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); }
5749 { (ac_try="$ac_compiler -V >&5"
5751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5752 *) ac_try_echo
=$ac_try;;
5754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5755 (eval "$ac_compiler -V >&5") 2>&5
5757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758 (exit $ac_status); }
5760 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5761 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5762 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 cat >conftest.
$ac_ext <<_ACEOF
5768 cat confdefs.h
>>conftest.
$ac_ext
5769 cat >>conftest.
$ac_ext <<_ACEOF
5770 /* end confdefs.h. */
5783 rm -f conftest.
$ac_objext
5784 if { (ac_try
="$ac_compile"
5786 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5787 *) ac_try_echo=$ac_try;;
5789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5790 (eval "$ac_compile") 2>conftest.er1
5792 grep -v '^ *+' conftest.er1 >conftest.err
5794 cat conftest.err >&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); } && {
5797 test -z "$ac_cxx_werror_flag" ||
5798 test ! -s conftest.err
5799 } && test -s conftest.$ac_objext; then
5802 echo "$as_me: failed program was:" >&5
5803 sed 's/^/| /' conftest.$ac_ext >&5
5808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5809 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5812 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5813 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5814 GXX=`test $ac_compiler_gnu = yes && echo yes`
5815 ac_test_CXXFLAGS=${CXXFLAGS+set}
5816 ac_save_CXXFLAGS=$CXXFLAGS
5817 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5818 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5819 if test "${ac_cv_prog_cxx_g+set}" = set; then
5820 echo $ECHO_N "(cached) $ECHO_C" >&6
5822 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5823 ac_cxx_werror_flag=yes
5826 cat >conftest.$ac_ext <<_ACEOF
5829 cat confdefs.h >>conftest.$ac_ext
5830 cat >>conftest.$ac_ext <<_ACEOF
5831 /* end confdefs.h. */
5841 rm -f conftest.$ac_objext
5842 if { (ac_try="$ac_compile"
5844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5845 *) ac_try_echo
=$ac_try;;
5847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5848 (eval "$ac_compile") 2>conftest.er1
5850 grep -v '^ *+' conftest.er1
>conftest.err
5852 cat conftest.err
>&5
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); } && {
5855 test -z "$ac_cxx_werror_flag" ||
5856 test ! -s conftest.err
5857 } && test -s conftest.
$ac_objext; then
5858 ac_cv_prog_cxx_g
=yes
5860 echo "$as_me: failed program was:" >&5
5861 sed 's/^/| /' conftest.
$ac_ext >&5
5864 cat >conftest.
$ac_ext <<_ACEOF
5867 cat confdefs.h
>>conftest.
$ac_ext
5868 cat >>conftest.
$ac_ext <<_ACEOF
5869 /* end confdefs.h. */
5879 rm -f conftest.
$ac_objext
5880 if { (ac_try
="$ac_compile"
5882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5883 *) ac_try_echo=$ac_try;;
5885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5886 (eval "$ac_compile") 2>conftest.er1
5888 grep -v '^ *+' conftest.er1 >conftest.err
5890 cat conftest.err >&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); } && {
5893 test -z "$ac_cxx_werror_flag" ||
5894 test ! -s conftest.err
5895 } && test -s conftest.$ac_objext; then
5898 echo "$as_me: failed program was:" >&5
5899 sed 's/^/| /' conftest.$ac_ext >&5
5901 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5903 cat >conftest.$ac_ext <<_ACEOF
5906 cat confdefs.h >>conftest.$ac_ext
5907 cat >>conftest.$ac_ext <<_ACEOF
5908 /* end confdefs.h. */
5918 rm -f conftest.$ac_objext
5919 if { (ac_try="$ac_compile"
5921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5922 *) ac_try_echo
=$ac_try;;
5924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5925 (eval "$ac_compile") 2>conftest.er1
5927 grep -v '^ *+' conftest.er1
>conftest.err
5929 cat conftest.err
>&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); } && {
5932 test -z "$ac_cxx_werror_flag" ||
5933 test ! -s conftest.err
5934 } && test -s conftest.
$ac_objext; then
5935 ac_cv_prog_cxx_g
=yes
5937 echo "$as_me: failed program was:" >&5
5938 sed 's/^/| /' conftest.
$ac_ext >&5
5943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5950 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5952 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5953 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5954 if test "$ac_test_CXXFLAGS" = set; then
5955 CXXFLAGS
=$ac_save_CXXFLAGS
5956 elif test $ac_cv_prog_cxx_g = yes; then
5957 if test "$GXX" = yes; then
5963 if test "$GXX" = yes; then
5970 ac_cpp
='$CXXCPP $CPPFLAGS'
5971 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5972 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5973 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5975 depcc
="$CXX" am_compiler_list
=
5977 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5978 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5979 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5980 echo $ECHO_N "(cached) $ECHO_C" >&6
5982 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5983 # We make a subdir and do the tests there. Otherwise we can end up
5984 # making bogus files that we don't know about and never remove. For
5985 # instance it was reported that on HP-UX the gcc test will end up
5986 # making a dummy file named `D' -- because `-MD' means `put the output
5989 # Copy depcomp to subdir because otherwise we won't find it if we're
5990 # using a relative directory.
5991 cp "$am_depcomp" conftest.dir
5993 # We will build objects and dependencies in a subdirectory because
5994 # it helps to detect inapplicable dependency modes. For instance
5995 # both Tru64's cc and ICC support -MD to output dependencies as a
5996 # side effect of compilation, but ICC will put the dependencies in
5997 # the current directory while Tru64 will put them in the object
6001 am_cv_CXX_dependencies_compiler_type
=none
6002 if test "$am_compiler_list" = ""; then
6003 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6005 for depmode
in $am_compiler_list; do
6006 # Setup a source with many dependencies, because some compilers
6007 # like to wrap large dependency lists on column 80 (with \), and
6008 # we should not choose a depcomp mode which is confused by this.
6010 # We need to recreate these files for each test, as the compiler may
6011 # overwrite some of them when testing with obscure command lines.
6012 # This happens at least with the AIX C compiler.
6014 for i
in 1 2 3 4 5 6; do
6015 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6016 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6017 # Solaris 8's {/usr,}/bin/sh.
6018 touch sub
/conftst
$i.h
6020 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6024 # after this tag, mechanisms are not by side-effect, so they'll
6025 # only be used when explicitly requested
6026 if test "x$enable_dependency_tracking" = xyes
; then
6034 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6035 # mode. It turns out that the SunPro C++ compiler does not properly
6036 # handle `-M -o', and we need to detect this.
6037 if depmode
=$depmode \
6038 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6039 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6040 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6041 >/dev
/null
2>conftest.err
&&
6042 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6043 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6044 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6045 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6046 # icc doesn't choke on unknown options, it will just issue warnings
6047 # or remarks (even with -Werror). So we grep stderr for any message
6048 # that says an option was ignored or not supported.
6049 # When given -MP, icc 7.0 and 7.1 complain thusly:
6050 # icc: Command line warning: ignoring option '-M'; no argument required
6051 # The diagnosis changed in icc 8.0:
6052 # icc: Command line remark: option '-MP' not supported
6053 if (grep 'ignoring option' conftest.err ||
6054 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6055 am_cv_CXX_dependencies_compiler_type
=$depmode
6064 am_cv_CXX_dependencies_compiler_type
=none
6068 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6069 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6070 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6073 test "x$enable_dependency_tracking" != xno \
6074 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6075 am__fastdepCXX_TRUE
=
6076 am__fastdepCXX_FALSE
='#'
6078 am__fastdepCXX_TRUE
='#'
6079 am__fastdepCXX_FALSE
=
6085 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6086 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6087 (test "X$CXX" != "Xg++"))) ; then
6089 ac_cpp
='$CXXCPP $CPPFLAGS'
6090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6093 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6094 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6095 if test -z "$CXXCPP"; then
6096 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6097 echo $ECHO_N "(cached) $ECHO_C" >&6
6099 # Double quotes because CXXCPP needs to be expanded
6100 for CXXCPP
in "$CXX -E" "/lib/cpp"
6103 for ac_cxx_preproc_warn_flag
in '' yes
6105 # Use a header file that comes with gcc, so configuring glibc
6106 # with a fresh cross-compiler works.
6107 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6108 # <limits.h> exists even on freestanding compilers.
6109 # On the NeXT, cc -E runs the code through the compiler's parser,
6110 # not just through cpp. "Syntax error" is here to catch this case.
6111 cat >conftest.
$ac_ext <<_ACEOF
6114 cat confdefs.h
>>conftest.
$ac_ext
6115 cat >>conftest.
$ac_ext <<_ACEOF
6116 /* end confdefs.h. */
6118 # include <limits.h>
6120 # include <assert.h>
6124 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6127 *) ac_try_echo=$ac_try;;
6129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6130 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6132 grep -v '^ *+' conftest.er1 >conftest.err
6134 cat conftest.err >&5
6135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); } >/dev/null && {
6137 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6138 test ! -s conftest.err
6142 echo "$as_me: failed program was:" >&5
6143 sed 's/^/| /' conftest.$ac_ext >&5
6145 # Broken: fails on valid input.
6149 rm -f conftest.err conftest.$ac_ext
6151 # OK, works on sane cases. Now check whether nonexistent headers
6152 # can be detected and how.
6153 cat >conftest.$ac_ext <<_ACEOF
6156 cat confdefs.h >>conftest.$ac_ext
6157 cat >>conftest.$ac_ext <<_ACEOF
6158 /* end confdefs.h. */
6159 #include <ac_nonexistent.h>
6161 if { (ac_try="$ac_cpp conftest.$ac_ext"
6163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6164 *) ac_try_echo
=$ac_try;;
6166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6167 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6169 grep -v '^ *+' conftest.er1
>conftest.err
6171 cat conftest.err
>&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); } >/dev
/null
&& {
6174 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6175 test ! -s conftest.err
6177 # Broken: success on invalid input.
6180 echo "$as_me: failed program was:" >&5
6181 sed 's/^/| /' conftest.
$ac_ext >&5
6183 # Passes both tests.
6188 rm -f conftest.err conftest.
$ac_ext
6191 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6192 rm -f conftest.err conftest.
$ac_ext
6193 if $ac_preproc_ok; then
6198 ac_cv_prog_CXXCPP
=$CXXCPP
6201 CXXCPP
=$ac_cv_prog_CXXCPP
6203 ac_cv_prog_CXXCPP
=$CXXCPP
6205 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6206 echo "${ECHO_T}$CXXCPP" >&6; }
6208 for ac_cxx_preproc_warn_flag
in '' yes
6210 # Use a header file that comes with gcc, so configuring glibc
6211 # with a fresh cross-compiler works.
6212 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6213 # <limits.h> exists even on freestanding compilers.
6214 # On the NeXT, cc -E runs the code through the compiler's parser,
6215 # not just through cpp. "Syntax error" is here to catch this case.
6216 cat >conftest.
$ac_ext <<_ACEOF
6219 cat confdefs.h
>>conftest.
$ac_ext
6220 cat >>conftest.
$ac_ext <<_ACEOF
6221 /* end confdefs.h. */
6223 # include <limits.h>
6225 # include <assert.h>
6229 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6232 *) ac_try_echo=$ac_try;;
6234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6235 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6237 grep -v '^ *+' conftest.er1 >conftest.err
6239 cat conftest.err >&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); } >/dev/null && {
6242 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6243 test ! -s conftest.err
6247 echo "$as_me: failed program was:" >&5
6248 sed 's/^/| /' conftest.$ac_ext >&5
6250 # Broken: fails on valid input.
6254 rm -f conftest.err conftest.$ac_ext
6256 # OK, works on sane cases. Now check whether nonexistent headers
6257 # can be detected and how.
6258 cat >conftest.$ac_ext <<_ACEOF
6261 cat confdefs.h >>conftest.$ac_ext
6262 cat >>conftest.$ac_ext <<_ACEOF
6263 /* end confdefs.h. */
6264 #include <ac_nonexistent.h>
6266 if { (ac_try="$ac_cpp conftest.$ac_ext"
6268 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6269 *) ac_try_echo
=$ac_try;;
6271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6274 grep -v '^ *+' conftest.er1
>conftest.err
6276 cat conftest.err
>&5
6277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 (exit $ac_status); } >/dev
/null
&& {
6279 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6280 test ! -s conftest.err
6282 # Broken: success on invalid input.
6285 echo "$as_me: failed program was:" >&5
6286 sed 's/^/| /' conftest.
$ac_ext >&5
6288 # Passes both tests.
6293 rm -f conftest.err conftest.
$ac_ext
6296 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6297 rm -f conftest.err conftest.
$ac_ext
6298 if $ac_preproc_ok; then
6301 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6302 See \`config.log' for more details." >&5
6303 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6304 See \`config.log' for more details." >&2;}
6305 { (exit 1); exit 1; }; }
6309 ac_cpp
='$CXXCPP $CPPFLAGS'
6310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6318 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6319 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6320 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6321 if test -n "$ac_tool_prefix"; then
6322 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
6324 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6325 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6328 if test "${ac_cv_prog_F77+set}" = set; then
6329 echo $ECHO_N "(cached) $ECHO_C" >&6
6331 if test -n "$F77"; then
6332 ac_cv_prog_F77
="$F77" # Let the user override the test.
6334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6338 test -z "$as_dir" && as_dir
=.
6339 for ac_exec_ext
in '' $ac_executable_extensions; do
6340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6341 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6352 if test -n "$F77"; then
6353 { echo "$as_me:$LINENO: result: $F77" >&5
6354 echo "${ECHO_T}$F77" >&6; }
6356 { echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6; }
6361 test -n "$F77" && break
6364 if test -z "$F77"; then
6366 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
6368 # Extract the first word of "$ac_prog", so it can be a program name with args.
6369 set dummy
$ac_prog; ac_word
=$2
6370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6372 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6375 if test -n "$ac_ct_F77"; then
6376 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6382 test -z "$as_dir" && as_dir
=.
6383 for ac_exec_ext
in '' $ac_executable_extensions; do
6384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6385 ac_cv_prog_ac_ct_F77
="$ac_prog"
6386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6395 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6396 if test -n "$ac_ct_F77"; then
6397 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6398 echo "${ECHO_T}$ac_ct_F77" >&6; }
6400 { echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6; }
6405 test -n "$ac_ct_F77" && break
6408 if test "x$ac_ct_F77" = x
; then
6411 case $cross_compiling:$ac_tool_warned in
6413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6414 whose name does not start with the host triplet. If you think this
6415 configuration is useful to you, please write to autoconf@gnu.org." >&5
6416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6417 whose name does not start with the host triplet. If you think this
6418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6419 ac_tool_warned
=yes ;;
6426 # Provide some information about the compiler.
6427 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6428 ac_compiler
=`set X $ac_compile; echo $2`
6429 { (ac_try
="$ac_compiler --version >&5"
6431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6432 *) ac_try_echo=$ac_try;;
6434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6435 (eval "$ac_compiler --version >&5") 2>&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); }
6439 { (ac_try="$ac_compiler -v >&5"
6441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6442 *) ac_try_echo
=$ac_try;;
6444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6445 (eval "$ac_compiler -v >&5") 2>&5
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); }
6449 { (ac_try
="$ac_compiler -V >&5"
6451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6452 *) ac_try_echo=$ac_try;;
6454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6455 (eval "$ac_compiler -V >&5") 2>&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); }
6461 # If we don't use `.F
' as extension, the preprocessor is not run on the
6462 # input file. (Note that this only needs to work for GNU compilers.)
6465 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6466 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6467 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6468 echo $ECHO_N "(cached) $ECHO_C" >&6
6470 cat >conftest.$ac_ext <<_ACEOF
6478 rm -f conftest.$ac_objext
6479 if { (ac_try="$ac_compile"
6481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6482 *) ac_try_echo=$ac_try;;
6484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6485 (eval "$ac_compile") 2>conftest.er1
6487 grep -v '^
*+' conftest.er1 >conftest.err
6489 cat conftest.err >&5
6490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6491 (exit $ac_status); } && {
6492 test -z "$ac_f77_werror_flag" ||
6493 test ! -s conftest.err
6494 } && test -s conftest.$ac_objext; then
6497 echo "$as_me: failed program was:" >&5
6498 sed 's
/^
/|
/' conftest.$ac_ext >&5
6503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6504 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6507 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6508 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6510 ac_test_FFLAGS=${FFLAGS+set}
6511 ac_save_FFLAGS=$FFLAGS
6513 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6514 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6515 if test "${ac_cv_prog_f77_g+set}" = set; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6519 cat >conftest.$ac_ext <<_ACEOF
6524 rm -f conftest.$ac_objext
6525 if { (ac_try="$ac_compile"
6527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6528 *) ac_try_echo=$ac_try;;
6530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6531 (eval "$ac_compile") 2>conftest.er1
6533 grep -v '^
*+' conftest.er1 >conftest.err
6535 cat conftest.err >&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); } && {
6538 test -z "$ac_f77_werror_flag" ||
6539 test ! -s conftest.err
6540 } && test -s conftest.$ac_objext; then
6541 ac_cv_prog_f77_g=yes
6543 echo "$as_me: failed program was:" >&5
6544 sed 's
/^
/|
/' conftest.$ac_ext >&5
6549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6552 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6553 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6554 if test "$ac_test_FFLAGS" = set; then
6555 FFLAGS=$ac_save_FFLAGS
6556 elif test $ac_cv_prog_f77_g = yes; then
6557 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6563 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6570 G77=`test $ac_compiler_gnu = yes && echo yes`
6572 ac_cpp='$CPP $CPPFLAGS'
6573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6574 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6579 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6580 # find the maximum length of command line arguments
6581 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6582 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6583 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6584 echo $ECHO_N "(cached) $ECHO_C" >&6
6591 # On DJGPP, this test can blow up pretty badly due to problems in libc
6592 # (any single argument exceeding 2000 bytes causes a buffer overrun
6593 # during glob expansion). Even if it were fixed, the result of this
6594 # check would be larger than it should be.
6595 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6599 # Under GNU Hurd, this test is not required because there is
6600 # no limit to the length of command line arguments.
6601 # Libtool will interpret -1 as no limit whatsoever
6602 lt_cv_sys_max_cmd_len
=-1;
6606 # On Win9x/ME, this test blows up -- it succeeds, but takes
6607 # about 5 minutes as the teststring grows exponentially.
6608 # Worse, since 9x/ME are not pre-emptively multitasking,
6609 # you end up with a "frozen" computer, even though with patience
6610 # the test eventually succeeds (with a max line length of 256k).
6611 # Instead, let's just punt: use the minimum linelength reported by
6612 # all of the supported platforms: 8192 (on NT/2K/XP).
6613 lt_cv_sys_max_cmd_len
=8192;
6617 # On AmigaOS with pdksh, this test takes hours, literally.
6618 # So we just punt and use a minimum line length of 8192.
6619 lt_cv_sys_max_cmd_len
=8192;
6622 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6623 # This has been around since 386BSD, at least. Likely further.
6624 if test -x /sbin
/sysctl
; then
6625 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6626 elif test -x /usr
/sbin
/sysctl
; then
6627 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6629 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6631 # And add a safety zone
6632 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6633 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6637 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6638 lt_cv_sys_max_cmd_len
=196608
6642 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6643 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6644 # nice to cause kernel panics so lets avoid the loop below.
6645 # First set a reasonable default.
6646 lt_cv_sys_max_cmd_len
=16384
6648 if test -x /sbin
/sysconfig
; then
6649 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6650 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6655 lt_cv_sys_max_cmd_len
=102400
6657 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6658 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6659 if test -n "$kargmax"; then
6660 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6662 lt_cv_sys_max_cmd_len
=32768
6666 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6667 if test -n "$lt_cv_sys_max_cmd_len"; then
6668 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6669 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6671 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6672 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6673 = "XX$teststring") >/dev
/null
2>&1 &&
6674 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6675 lt_cv_sys_max_cmd_len
=$new_result &&
6676 test $i != 17 # 1/2 MB should be enough
6679 teststring
=$teststring$teststring
6682 # Add a significant safety factor because C++ compilers can tack on massive
6683 # amounts of additional arguments before passing them to the linker.
6684 # It appears as though 1/2 is a usable value.
6685 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6692 if test -n $lt_cv_sys_max_cmd_len ; then
6693 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6694 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6696 { echo "$as_me:$LINENO: result: none" >&5
6697 echo "${ECHO_T}none" >&6; }
6704 # Check for command to grab the raw symbol name followed by C symbol from nm.
6705 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6706 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6707 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6708 echo $ECHO_N "(cached) $ECHO_C" >&6
6711 # These are sane defaults that work on at least a few old systems.
6712 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6714 # Character class describing NM global symbol codes.
6715 symcode
='[BCDEGRST]'
6717 # Regexp to match symbols that can be accessed directly from C.
6718 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6720 # Transform an extracted symbol line into a proper C declaration
6721 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6723 # Transform an extracted symbol line into symbol name and symbol address
6724 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'"
6726 # Define system-specific variables.
6731 cygwin
* | mingw
* | pw32
*)
6732 symcode
='[ABCDGISTW]'
6734 hpux
*) # Its linker distinguishes data from code symbols
6735 if test "$host_cpu" = ia64
; then
6736 symcode
='[ABCDEGRST]'
6738 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6739 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'"
6741 linux
* | k
*bsd
*-gnu)
6742 if test "$host_cpu" = ia64
; then
6743 symcode
='[ABCDGIRSTW]'
6744 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6745 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'"
6749 symcode
='[BCDEGRST]'
6752 symcode
='[BCDEGQRST]'
6763 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6771 # Handle CRLF in mingw tool chain
6775 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6779 # If we're using GNU nm, then use its standard symbol codes.
6780 case `$NM -V 2>&1` in
6781 *GNU
* |
*'with BFD'*)
6782 symcode
='[ABCDGIRSTW]' ;;
6785 # Try without a prefix undercore, then with it.
6786 for ac_symprfx
in "" "_"; do
6788 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6789 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6791 # Write the raw and C identifiers.
6792 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6794 # Check to see that the pipe works correctly.
6798 cat > conftest.
$ac_ext <<EOF
6803 void nm_test_func(){}
6807 int main(){nm_test_var='a';nm_test_func();return(0);}
6810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6811 (eval $ac_compile) 2>&5
6813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); }; then
6815 # Now try to grab the symbols.
6817 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6818 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); } && test -s "$nlist"; then
6822 # Try sorting and uniquifying the output.
6823 if sort "$nlist" |
uniq > "$nlist"T
; then
6824 mv -f "$nlist"T
"$nlist"
6829 # Make sure that we snagged all the symbols we need.
6830 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6831 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6832 cat <<EOF > conftest.$ac_ext
6838 # Now generate the symbol file.
6839 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6841 cat <<EOF >> conftest.$ac_ext
6842 #if defined (__STDC__) && __STDC__
6843 # define lt_ptr_t void *
6845 # define lt_ptr_t char *
6849 /* The mapping between symbol names and symbols. */
6854 lt_preloaded_symbols[] =
6857 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6858 cat <<\EOF
>> conftest.
$ac_ext
6866 # Now try linking the two files.
6867 mv conftest.
$ac_objext conftstm.
$ac_objext
6868 lt_save_LIBS
="$LIBS"
6869 lt_save_CFLAGS
="$CFLAGS"
6870 LIBS
="conftstm.$ac_objext"
6871 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6873 (eval $ac_link) 2>&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6879 LIBS
="$lt_save_LIBS"
6880 CFLAGS
="$lt_save_CFLAGS"
6882 echo "cannot find nm_test_func in $nlist" >&5
6885 echo "cannot find nm_test_var in $nlist" >&5
6888 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6891 echo "$progname: failed program was:" >&5
6892 cat conftest.
$ac_ext >&5
6894 rm -rf conftest
* conftst
*
6896 # Do not use the global_symbol_pipe unless it works.
6897 if test "$pipe_works" = yes; then
6900 lt_cv_sys_global_symbol_pipe
=
6906 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6907 lt_cv_sys_global_symbol_to_cdecl
=
6909 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6910 { echo "$as_me:$LINENO: result: failed" >&5
6911 echo "${ECHO_T}failed" >&6; }
6913 { echo "$as_me:$LINENO: result: ok" >&5
6914 echo "${ECHO_T}ok" >&6; }
6917 { echo "$as_me:$LINENO: checking for objdir" >&5
6918 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6919 if test "${lt_cv_objdir+set}" = set; then
6920 echo $ECHO_N "(cached) $ECHO_C" >&6
6922 rm -f .libs
2>/dev
/null
6923 mkdir .libs
2>/dev
/null
6924 if test -d .libs
; then
6927 # MS-DOS does not allow filenames that begin with a dot.
6930 rmdir .libs
2>/dev
/null
6932 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6933 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6934 objdir
=$lt_cv_objdir
6942 # AIX sometimes has problems with the GCC collect2 program. For some
6943 # reason, if we set the COLLECT_NAMES environment variable, the problems
6944 # vanish in a puff of smoke.
6945 if test "X${COLLECT_NAMES+set}" != Xset
; then
6947 export COLLECT_NAMES
6952 # Sed substitution that helps us do robust quoting. It backslashifies
6953 # metacharacters that are still active within double-quoted strings.
6954 Xsed
='sed -e 1s/^X//'
6955 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6957 # Same as above, but do not quote variable references.
6958 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6960 # Sed substitution to delay expansion of an escaped shell variable in a
6961 # double_quote_subst'ed string.
6962 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6964 # Sed substitution to avoid accidental globbing in evaled expressions
6965 no_glob_subst
='s/\*/\\\*/g'
6971 default_ofile
=libtool
6972 can_build_shared
=yes
6974 # All known linkers require a `.a' archive for static linking (except MSVC,
6975 # which needs '.lib').
6977 ltmain
="$ac_aux_dir/ltmain.sh"
6978 ofile
="$default_ofile"
6979 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6981 if test -n "$ac_tool_prefix"; then
6982 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6983 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6986 if test "${ac_cv_prog_AR+set}" = set; then
6987 echo $ECHO_N "(cached) $ECHO_C" >&6
6989 if test -n "$AR"; then
6990 ac_cv_prog_AR
="$AR" # Let the user override the test.
6992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6996 test -z "$as_dir" && as_dir
=.
6997 for ac_exec_ext
in '' $ac_executable_extensions; do
6998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6999 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 if test -n "$AR"; then
7011 { echo "$as_me:$LINENO: result: $AR" >&5
7012 echo "${ECHO_T}$AR" >&6; }
7014 { echo "$as_me:$LINENO: result: no" >&5
7015 echo "${ECHO_T}no" >&6; }
7020 if test -z "$ac_cv_prog_AR"; then
7022 # Extract the first word of "ar", so it can be a program name with args.
7023 set dummy
ar; ac_word
=$2
7024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7026 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7027 echo $ECHO_N "(cached) $ECHO_C" >&6
7029 if test -n "$ac_ct_AR"; then
7030 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7036 test -z "$as_dir" && as_dir
=.
7037 for ac_exec_ext
in '' $ac_executable_extensions; do
7038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7039 ac_cv_prog_ac_ct_AR
="ar"
7040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7049 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7050 if test -n "$ac_ct_AR"; then
7051 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7052 echo "${ECHO_T}$ac_ct_AR" >&6; }
7054 { echo "$as_me:$LINENO: result: no" >&5
7055 echo "${ECHO_T}no" >&6; }
7058 if test "x$ac_ct_AR" = x
; then
7061 case $cross_compiling:$ac_tool_warned in
7063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7064 whose name does not start with the host triplet. If you think this
7065 configuration is useful to you, please write to autoconf@gnu.org." >&5
7066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7067 whose name does not start with the host triplet. If you think this
7068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7069 ac_tool_warned
=yes ;;
7077 if test -n "$ac_tool_prefix"; then
7078 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7079 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7082 if test "${ac_cv_prog_RANLIB+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 if test -n "$RANLIB"; then
7086 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7092 test -z "$as_dir" && as_dir
=.
7093 for ac_exec_ext
in '' $ac_executable_extensions; do
7094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7095 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7105 RANLIB
=$ac_cv_prog_RANLIB
7106 if test -n "$RANLIB"; then
7107 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7108 echo "${ECHO_T}$RANLIB" >&6; }
7110 { echo "$as_me:$LINENO: result: no" >&5
7111 echo "${ECHO_T}no" >&6; }
7116 if test -z "$ac_cv_prog_RANLIB"; then
7117 ac_ct_RANLIB
=$RANLIB
7118 # Extract the first word of "ranlib", so it can be a program name with args.
7119 set dummy ranlib
; ac_word
=$2
7120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7122 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7123 echo $ECHO_N "(cached) $ECHO_C" >&6
7125 if test -n "$ac_ct_RANLIB"; then
7126 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7132 test -z "$as_dir" && as_dir
=.
7133 for ac_exec_ext
in '' $ac_executable_extensions; do
7134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7135 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7145 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7146 if test -n "$ac_ct_RANLIB"; then
7147 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7148 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7150 { echo "$as_me:$LINENO: result: no" >&5
7151 echo "${ECHO_T}no" >&6; }
7154 if test "x$ac_ct_RANLIB" = x
; then
7157 case $cross_compiling:$ac_tool_warned in
7159 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7160 whose name does not start with the host triplet. If you think this
7161 configuration is useful to you, please write to autoconf@gnu.org." >&5
7162 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7163 whose name does not start with the host triplet. If you think this
7164 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7165 ac_tool_warned
=yes ;;
7167 RANLIB
=$ac_ct_RANLIB
7170 RANLIB
="$ac_cv_prog_RANLIB"
7173 if test -n "$ac_tool_prefix"; then
7174 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7175 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7178 if test "${ac_cv_prog_STRIP+set}" = set; then
7179 echo $ECHO_N "(cached) $ECHO_C" >&6
7181 if test -n "$STRIP"; then
7182 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7188 test -z "$as_dir" && as_dir
=.
7189 for ac_exec_ext
in '' $ac_executable_extensions; do
7190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7191 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7201 STRIP
=$ac_cv_prog_STRIP
7202 if test -n "$STRIP"; then
7203 { echo "$as_me:$LINENO: result: $STRIP" >&5
7204 echo "${ECHO_T}$STRIP" >&6; }
7206 { echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6; }
7212 if test -z "$ac_cv_prog_STRIP"; then
7214 # Extract the first word of "strip", so it can be a program name with args.
7215 set dummy strip
; ac_word
=$2
7216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7218 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7219 echo $ECHO_N "(cached) $ECHO_C" >&6
7221 if test -n "$ac_ct_STRIP"; then
7222 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7228 test -z "$as_dir" && as_dir
=.
7229 for ac_exec_ext
in '' $ac_executable_extensions; do
7230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7231 ac_cv_prog_ac_ct_STRIP
="strip"
7232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7241 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7242 if test -n "$ac_ct_STRIP"; then
7243 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7244 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7246 { echo "$as_me:$LINENO: result: no" >&5
7247 echo "${ECHO_T}no" >&6; }
7250 if test "x$ac_ct_STRIP" = x
; then
7253 case $cross_compiling:$ac_tool_warned in
7255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7256 whose name does not start with the host triplet. If you think this
7257 configuration is useful to you, please write to autoconf@gnu.org." >&5
7258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7259 whose name does not start with the host triplet. If you think this
7260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7261 ac_tool_warned
=yes ;;
7266 STRIP
="$ac_cv_prog_STRIP"
7271 old_CFLAGS
="$CFLAGS"
7273 # Set sane defaults for various variables
7274 test -z "$AR" && AR
=ar
7275 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7276 test -z "$AS" && AS
=as
7277 test -z "$CC" && CC
=cc
7278 test -z "$LTCC" && LTCC
=$CC
7279 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7280 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7281 test -z "$LD" && LD
=ld
7282 test -z "$LN_S" && LN_S
="ln -s"
7283 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7284 test -z "$NM" && NM
=nm
7285 test -z "$SED" && SED
=sed
7286 test -z "$OBJDUMP" && OBJDUMP
=objdump
7287 test -z "$RANLIB" && RANLIB
=:
7288 test -z "$STRIP" && STRIP
=:
7289 test -z "$ac_objext" && ac_objext
=o
7291 # Determine commands to create old-style static archives.
7292 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7293 old_postinstall_cmds
='chmod 644 $oldlib'
7294 old_postuninstall_cmds
=
7296 if test -n "$RANLIB"; then
7299 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7302 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7305 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7308 for cc_temp
in $compiler""; do
7310 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7311 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7316 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7319 # Only perform the check for file, if the check method requires it
7320 case $deplibs_check_method in
7322 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7323 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7324 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7325 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7326 echo $ECHO_N "(cached) $ECHO_C" >&6
7330 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7333 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7334 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7335 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7336 for ac_dir
in $ac_dummy; do
7338 test -z "$ac_dir" && ac_dir
=.
7339 if test -f $ac_dir/${ac_tool_prefix}file; then
7340 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7341 if test -n "$file_magic_test_file"; then
7342 case $deplibs_check_method in
7344 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7345 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7346 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7347 $EGREP "$file_magic_regex" > /dev
/null
; then
7352 *** Warning: the command libtool uses to detect shared libraries,
7353 *** $file_magic_cmd, produces output that libtool cannot recognize.
7354 *** The result is that libtool may fail to recognize shared libraries
7355 *** as such. This will affect the creation of libtool libraries that
7356 *** depend on shared libraries, but programs linked with such libtool
7357 *** libraries will work regardless of this problem. Nevertheless, you
7358 *** may want to report the problem to your system manager and/or to
7359 *** bug-libtool@gnu.org
7369 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7374 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7375 if test -n "$MAGIC_CMD"; then
7376 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7377 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7379 { echo "$as_me:$LINENO: result: no" >&5
7380 echo "${ECHO_T}no" >&6; }
7383 if test -z "$lt_cv_path_MAGIC_CMD"; then
7384 if test -n "$ac_tool_prefix"; then
7385 { echo "$as_me:$LINENO: checking for file" >&5
7386 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7387 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7388 echo $ECHO_N "(cached) $ECHO_C" >&6
7392 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7395 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7396 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7397 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7398 for ac_dir
in $ac_dummy; do
7400 test -z "$ac_dir" && ac_dir
=.
7401 if test -f $ac_dir/file; then
7402 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7403 if test -n "$file_magic_test_file"; then
7404 case $deplibs_check_method in
7406 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7407 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7408 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7409 $EGREP "$file_magic_regex" > /dev
/null
; then
7414 *** Warning: the command libtool uses to detect shared libraries,
7415 *** $file_magic_cmd, produces output that libtool cannot recognize.
7416 *** The result is that libtool may fail to recognize shared libraries
7417 *** as such. This will affect the creation of libtool libraries that
7418 *** depend on shared libraries, but programs linked with such libtool
7419 *** libraries will work regardless of this problem. Nevertheless, you
7420 *** may want to report the problem to your system manager and/or to
7421 *** bug-libtool@gnu.org
7431 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7436 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7437 if test -n "$MAGIC_CMD"; then
7438 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7439 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7441 { echo "$as_me:$LINENO: result: no" >&5
7442 echo "${ECHO_T}no" >&6; }
7456 rhapsody
* | darwin
*)
7457 if test -n "$ac_tool_prefix"; then
7458 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7459 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7462 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7463 echo $ECHO_N "(cached) $ECHO_C" >&6
7465 if test -n "$DSYMUTIL"; then
7466 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7472 test -z "$as_dir" && as_dir
=.
7473 for ac_exec_ext
in '' $ac_executable_extensions; do
7474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7475 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7485 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7486 if test -n "$DSYMUTIL"; then
7487 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7488 echo "${ECHO_T}$DSYMUTIL" >&6; }
7490 { echo "$as_me:$LINENO: result: no" >&5
7491 echo "${ECHO_T}no" >&6; }
7496 if test -z "$ac_cv_prog_DSYMUTIL"; then
7497 ac_ct_DSYMUTIL
=$DSYMUTIL
7498 # Extract the first word of "dsymutil", so it can be a program name with args.
7499 set dummy dsymutil
; ac_word
=$2
7500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7502 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7503 echo $ECHO_N "(cached) $ECHO_C" >&6
7505 if test -n "$ac_ct_DSYMUTIL"; then
7506 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7512 test -z "$as_dir" && as_dir
=.
7513 for ac_exec_ext
in '' $ac_executable_extensions; do
7514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7515 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7525 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7526 if test -n "$ac_ct_DSYMUTIL"; then
7527 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7528 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7530 { echo "$as_me:$LINENO: result: no" >&5
7531 echo "${ECHO_T}no" >&6; }
7534 if test "x$ac_ct_DSYMUTIL" = x
; then
7537 case $cross_compiling:$ac_tool_warned in
7539 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7540 whose name does not start with the host triplet. If you think this
7541 configuration is useful to you, please write to autoconf@gnu.org." >&5
7542 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7543 whose name does not start with the host triplet. If you think this
7544 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7545 ac_tool_warned
=yes ;;
7547 DSYMUTIL
=$ac_ct_DSYMUTIL
7550 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7553 if test -n "$ac_tool_prefix"; then
7554 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7555 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7558 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7559 echo $ECHO_N "(cached) $ECHO_C" >&6
7561 if test -n "$NMEDIT"; then
7562 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7568 test -z "$as_dir" && as_dir
=.
7569 for ac_exec_ext
in '' $ac_executable_extensions; do
7570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7571 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 NMEDIT
=$ac_cv_prog_NMEDIT
7582 if test -n "$NMEDIT"; then
7583 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7584 echo "${ECHO_T}$NMEDIT" >&6; }
7586 { echo "$as_me:$LINENO: result: no" >&5
7587 echo "${ECHO_T}no" >&6; }
7592 if test -z "$ac_cv_prog_NMEDIT"; then
7593 ac_ct_NMEDIT
=$NMEDIT
7594 # Extract the first word of "nmedit", so it can be a program name with args.
7595 set dummy nmedit
; ac_word
=$2
7596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7598 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7599 echo $ECHO_N "(cached) $ECHO_C" >&6
7601 if test -n "$ac_ct_NMEDIT"; then
7602 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7608 test -z "$as_dir" && as_dir
=.
7609 for ac_exec_ext
in '' $ac_executable_extensions; do
7610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7611 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7621 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7622 if test -n "$ac_ct_NMEDIT"; then
7623 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7624 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7626 { echo "$as_me:$LINENO: result: no" >&5
7627 echo "${ECHO_T}no" >&6; }
7630 if test "x$ac_ct_NMEDIT" = x
; then
7633 case $cross_compiling:$ac_tool_warned in
7635 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7636 whose name does not start with the host triplet. If you think this
7637 configuration is useful to you, please write to autoconf@gnu.org." >&5
7638 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7639 whose name does not start with the host triplet. If you think this
7640 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7641 ac_tool_warned
=yes ;;
7643 NMEDIT
=$ac_ct_NMEDIT
7646 NMEDIT
="$ac_cv_prog_NMEDIT"
7650 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7651 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7652 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7653 echo $ECHO_N "(cached) $ECHO_C" >&6
7655 lt_cv_apple_cc_single_mod
=no
7656 if test -z "${LT_MULTI_MODULE}"; then
7657 # By default we will add the -single_module flag. You can override
7658 # by either setting the environment variable LT_MULTI_MODULE
7659 # non-empty at configure time, or by adding -multi_module to the
7661 echo "int foo(void){return 1;}" > conftest.c
7662 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7663 -dynamiclib ${wl}-single_module conftest.c
7664 if test -f libconftest.dylib
; then
7665 lt_cv_apple_cc_single_mod
=yes
7666 rm -rf libconftest.dylib
*
7671 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7672 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7673 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7674 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7675 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7676 echo $ECHO_N "(cached) $ECHO_C" >&6
7678 lt_cv_ld_exported_symbols_list
=no
7679 save_LDFLAGS
=$LDFLAGS
7680 echo "_main" > conftest.sym
7681 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7682 cat >conftest.
$ac_ext <<_ACEOF
7685 cat confdefs.h
>>conftest.
$ac_ext
7686 cat >>conftest.
$ac_ext <<_ACEOF
7687 /* end confdefs.h. */
7697 rm -f conftest.
$ac_objext conftest
$ac_exeext
7698 if { (ac_try
="$ac_link"
7700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7701 *) ac_try_echo=$ac_try;;
7703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7704 (eval "$ac_link") 2>conftest.er1
7706 grep -v '^ *+' conftest.er1 >conftest.err
7708 cat conftest.err >&5
7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7710 (exit $ac_status); } && {
7711 test -z "$ac_c_werror_flag" ||
7712 test ! -s conftest.err
7713 } && test -s conftest$ac_exeext &&
7714 $as_test_x conftest$ac_exeext; then
7715 lt_cv_ld_exported_symbols_list=yes
7717 echo "$as_me: failed program was:" >&5
7718 sed 's/^/| /' conftest.$ac_ext >&5
7720 lt_cv_ld_exported_symbols_list=no
7723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7724 conftest$ac_exeext conftest.$ac_ext
7725 LDFLAGS="$save_LDFLAGS"
7728 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7729 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7731 rhapsody* | darwin1.[0123])
7732 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7734 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7736 # if running on 10.5 or later, the deployment target defaults
7737 # to the OS version, if on x86, and 10.4, the deployment
7738 # target defaults to 10.4. Don't you love it?
7739 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7740 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7741 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7743 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7745 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7749 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7750 _lt_dar_single_mod='$single_module'
7752 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7753 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7755 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7757 if test "$DSYMUTIL" != ":"; then
7758 _lt_dsymutil="~$DSYMUTIL \$lib || :"
7767 enable_win32_dll=yes
7769 # Check whether --enable-libtool-lock was given.
7770 if test "${enable_libtool_lock+set}" = set; then
7771 enableval=$enable_libtool_lock;
7774 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7777 # Check whether --with-pic was given.
7778 if test "${with_pic+set}" = set; then
7779 withval=$with_pic; pic_mode="$withval"
7784 test -z "$pic_mode" && pic_mode=default
7786 # Use C for the default configuration in the libtool script
7790 ac_cpp='$CPP $CPPFLAGS'
7791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7796 # Source file extension for C test sources.
7799 # Object file extension for compiled C test sources.
7803 # Code to be used in simple compile tests
7804 lt_simple_compile_test_code="int some_variable = 0;"
7806 # Code to be used in simple link tests
7807 lt_simple_link_test_code='int main(){return(0);}'
7810 # If no C compiler was specified, use CC.
7813 # If no C compiler flags were specified, use CFLAGS.
7814 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7816 # Allow CC to be a program name with arguments.
7820 # save warnings/boilerplate of simple test code
7821 ac_outfile=conftest.$ac_objext
7822 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7823 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7824 _lt_compiler_boilerplate=`cat conftest.err
`
7827 ac_outfile=conftest.$ac_objext
7828 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7829 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7830 _lt_linker_boilerplate=`cat conftest.err
`
7835 lt_prog_compiler_no_builtin_flag=
7837 if test "$GCC" = yes; then
7838 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7841 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7842 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7843 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7844 echo $ECHO_N "(cached) $ECHO_C" >&6
7846 lt_cv_prog_compiler_rtti_exceptions=no
7847 ac_outfile=conftest.$ac_objext
7848 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7849 lt_compiler_flag="-fno-rtti -fno-exceptions"
7850 # Insert the option either (1) after the last *FLAGS variable, or
7851 # (2) before a word containing "conftest.", or (3) at the end.
7852 # Note that $ac_compile itself does not contain backslashes and begins
7853 # with a dollar sign (not a hyphen), so the echo should work correctly.
7854 # The option is referenced via a variable to avoid confusing sed.
7855 lt_compile=`echo "$ac_compile" |
$SED \
7856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7858 -e 's:$: $lt_compiler_flag:'`
7859 (eval echo "\"\$as_me:7859: $lt_compile\"" >&5)
7860 (eval "$lt_compile" 2>conftest.err)
7862 cat conftest.err >&5
7863 echo "$as_me:7863: \$? = $ac_status" >&5
7864 if (exit $ac_status) && test -s "$ac_outfile"; then
7865 # The compiler can only warn and ignore the option if not recognized
7866 # So say no if there are warnings other than the usual output.
7867 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7868 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7869 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7870 lt_cv_prog_compiler_rtti_exceptions=yes
7876 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7877 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7879 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7880 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7887 lt_prog_compiler_wl=
7888 lt_prog_compiler_pic=
7889 lt_prog_compiler_static=
7891 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7892 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7894 if test "$GCC" = yes; then
7895 lt_prog_compiler_wl='-Wl,'
7896 lt_prog_compiler_static='-static'
7900 # All AIX code is PIC.
7901 if test "$host_cpu" = ia64; then
7902 # AIX 5 now supports IA64 processor
7903 lt_prog_compiler_static='-Bstatic'
7908 # FIXME: we need at least 68020 code to build shared libraries, but
7909 # adding the `-m68020' flag to GCC prevents building anything better,
7911 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7914 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7915 # PIC is the default for these OSes.
7918 mingw
* | cygwin
* | pw32
* | os2
*)
7919 # This hack is so that the source file can tell whether it is being
7920 # built for inclusion in a dll (and should export symbols for example).
7921 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7922 # (--disable-auto-import) libraries
7923 lt_prog_compiler_pic
='-DDLL_EXPORT'
7926 darwin
* | rhapsody
*)
7927 # PIC is the default on this platform
7928 # Common symbols not allowed in MH_DYLIB files
7929 lt_prog_compiler_pic
='-fno-common'
7933 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7934 # Instead, we relocate shared libraries at runtime.
7938 # Just because we use GCC doesn't mean we suddenly get shared libraries
7939 # on systems that don't support them.
7940 lt_prog_compiler_can_build_shared
=no
7945 if test -d /usr
/nec
; then
7946 lt_prog_compiler_pic
=-Kconform_pic
7951 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7958 lt_prog_compiler_pic
='-fPIC'
7964 lt_prog_compiler_pic
='-fPIC'
7968 # PORTME Check for flag to pass linker flags through the system compiler.
7971 lt_prog_compiler_wl
='-Wl,'
7972 if test "$host_cpu" = ia64
; then
7973 # AIX 5 now supports IA64 processor
7974 lt_prog_compiler_static
='-Bstatic'
7976 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7980 # PIC is the default on this platform
7981 # Common symbols not allowed in MH_DYLIB files
7982 case $cc_basename in
7984 lt_prog_compiler_pic
='-qnocommon'
7985 lt_prog_compiler_wl
='-Wl,'
7990 mingw
* | cygwin
* | pw32
* | os2
*)
7991 # This hack is so that the source file can tell whether it is being
7992 # built for inclusion in a dll (and should export symbols for example).
7993 lt_prog_compiler_pic
='-DDLL_EXPORT'
7996 hpux9
* | hpux10
* | hpux11
*)
7997 lt_prog_compiler_wl
='-Wl,'
7998 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8005 lt_prog_compiler_pic
='+Z'
8008 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8009 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8012 irix5
* | irix6
* | nonstopux
*)
8013 lt_prog_compiler_wl
='-Wl,'
8014 # PIC (with -KPIC) is the default.
8015 lt_prog_compiler_static
='-non_shared'
8019 lt_prog_compiler_pic
='-KPIC'
8020 lt_prog_compiler_static
='-Bstatic'
8023 linux
* | k
*bsd
*-gnu)
8024 case $cc_basename in
8026 lt_prog_compiler_wl
='-Wl,'
8027 lt_prog_compiler_pic
='-KPIC'
8028 lt_prog_compiler_static
='-static'
8030 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8031 # Portland Group compilers (*not* the Pentium gcc compiler,
8032 # which looks to be a dead project)
8033 lt_prog_compiler_wl
='-Wl,'
8034 lt_prog_compiler_pic
='-fpic'
8035 lt_prog_compiler_static
='-Bstatic'
8038 lt_prog_compiler_wl
='-Wl,'
8039 # All Alpha code is PIC.
8040 lt_prog_compiler_static
='-non_shared'
8043 case `$CC -V 2>&1 | sed 5q` in
8046 lt_prog_compiler_pic
='-KPIC'
8047 lt_prog_compiler_static
='-Bstatic'
8048 lt_prog_compiler_wl
='-Wl,'
8051 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8052 lt_prog_compiler_pic
='-KPIC'
8053 lt_prog_compiler_static
='-Bstatic'
8054 lt_prog_compiler_wl
=''
8061 osf3
* | osf4
* | osf5
*)
8062 lt_prog_compiler_wl
='-Wl,'
8063 # All OSF/1 code is PIC.
8064 lt_prog_compiler_static
='-non_shared'
8068 lt_prog_compiler_static
='-non_shared'
8072 lt_prog_compiler_pic
='-KPIC'
8073 lt_prog_compiler_static
='-Bstatic'
8074 case $cc_basename in
8076 lt_prog_compiler_wl
='-Qoption ld ';;
8078 lt_prog_compiler_wl
='-Wl,';;
8083 lt_prog_compiler_wl
='-Qoption ld '
8084 lt_prog_compiler_pic
='-PIC'
8085 lt_prog_compiler_static
='-Bstatic'
8088 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8089 lt_prog_compiler_wl
='-Wl,'
8090 lt_prog_compiler_pic
='-KPIC'
8091 lt_prog_compiler_static
='-Bstatic'
8095 if test -d /usr
/nec
;then
8096 lt_prog_compiler_pic
='-Kconform_pic'
8097 lt_prog_compiler_static
='-Bstatic'
8101 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8102 lt_prog_compiler_wl
='-Wl,'
8103 lt_prog_compiler_pic
='-KPIC'
8104 lt_prog_compiler_static
='-Bstatic'
8108 lt_prog_compiler_wl
='-Wl,'
8109 lt_prog_compiler_can_build_shared
=no
8113 lt_prog_compiler_pic
='-pic'
8114 lt_prog_compiler_static
='-Bstatic'
8118 lt_prog_compiler_can_build_shared
=no
8123 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8124 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8127 # Check to make sure the PIC flag actually works.
8129 if test -n "$lt_prog_compiler_pic"; then
8131 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8132 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8133 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8134 echo $ECHO_N "(cached) $ECHO_C" >&6
8136 lt_cv_prog_compiler_pic_works
=no
8137 ac_outfile
=conftest.
$ac_objext
8138 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8139 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8140 # Insert the option either (1) after the last *FLAGS variable, or
8141 # (2) before a word containing "conftest.", or (3) at the end.
8142 # Note that $ac_compile itself does not contain backslashes and begins
8143 # with a dollar sign (not a hyphen), so the echo should work correctly.
8144 # The option is referenced via a variable to avoid confusing sed.
8145 lt_compile
=`echo "$ac_compile" | $SED \
8146 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8147 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8148 -e 's:$: $lt_compiler_flag:'`
8149 (eval echo "\"\$as_me:8149: $lt_compile\"" >&5)
8150 (eval "$lt_compile" 2>conftest.err
)
8152 cat conftest.err
>&5
8153 echo "$as_me:8153: \$? = $ac_status" >&5
8154 if (exit $ac_status) && test -s "$ac_outfile"; then
8155 # The compiler can only warn and ignore the option if not recognized
8156 # So say no if there are warnings other than the usual output.
8157 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8158 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8159 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8160 lt_cv_prog_compiler_pic_works
=yes
8166 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8167 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8169 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8170 case $lt_prog_compiler_pic in
8172 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8175 lt_prog_compiler_pic
=
8176 lt_prog_compiler_can_build_shared
=no
8181 # For platforms which do not support PIC, -DPIC is meaningless:
8183 lt_prog_compiler_pic
=
8186 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8191 # Check to make sure the static flag actually works.
8193 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8194 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8195 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8196 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8197 echo $ECHO_N "(cached) $ECHO_C" >&6
8199 lt_cv_prog_compiler_static_works
=no
8200 save_LDFLAGS
="$LDFLAGS"
8201 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8202 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8203 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8204 # The linker can only warn and ignore the option if not recognized
8205 # So say no if there are warnings
8206 if test -s conftest.err
; then
8207 # Append any errors to the config.log.
8208 cat conftest.err
1>&5
8209 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8210 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8211 if diff conftest.exp conftest.er2
>/dev
/null
; then
8212 lt_cv_prog_compiler_static_works
=yes
8215 lt_cv_prog_compiler_static_works
=yes
8219 LDFLAGS
="$save_LDFLAGS"
8222 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8223 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8225 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8228 lt_prog_compiler_static
=
8232 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8233 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8234 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8237 lt_cv_prog_compiler_c_o
=no
8238 $rm -r conftest
2>/dev
/null
8242 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8244 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8245 # Insert the option either (1) after the last *FLAGS variable, or
8246 # (2) before a word containing "conftest.", or (3) at the end.
8247 # Note that $ac_compile itself does not contain backslashes and begins
8248 # with a dollar sign (not a hyphen), so the echo should work correctly.
8249 lt_compile
=`echo "$ac_compile" | $SED \
8250 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8251 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8252 -e 's:$: $lt_compiler_flag:'`
8253 (eval echo "\"\$as_me:8253: $lt_compile\"" >&5)
8254 (eval "$lt_compile" 2>out
/conftest.err
)
8256 cat out
/conftest.err
>&5
8257 echo "$as_me:8257: \$? = $ac_status" >&5
8258 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8260 # The compiler can only warn and ignore the option if not recognized
8261 # So say no if there are warnings
8262 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8263 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8264 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8265 lt_cv_prog_compiler_c_o
=yes
8270 # SGI C++ compiler will create directory out/ii_files/ for
8271 # template instantiation
8272 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8273 $rm out
/* && rmdir out
8279 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8280 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8283 hard_links
="nottested"
8284 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8285 # do not overwrite the value of need_locks provided by the user
8286 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8287 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8290 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8292 ln conftest.a conftest.b
2>&5 || hard_links
=no
8293 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8294 { echo "$as_me:$LINENO: result: $hard_links" >&5
8295 echo "${ECHO_T}$hard_links" >&6; }
8296 if test "$hard_links" = no
; then
8297 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8298 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8305 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8306 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8309 allow_undefined_flag
=
8310 enable_shared_with_static_runtimes
=no
8312 archive_expsym_cmds
=
8313 old_archive_From_new_cmds
=
8314 old_archive_from_expsyms_cmds
=
8315 export_dynamic_flag_spec
=
8316 whole_archive_flag_spec
=
8317 thread_safe_flag_spec
=
8318 hardcode_libdir_flag_spec
=
8319 hardcode_libdir_flag_spec_ld
=
8320 hardcode_libdir_separator
=
8323 hardcode_shlibpath_var
=unsupported
8324 link_all_deplibs
=unknown
8325 hardcode_automatic
=no
8328 always_export_symbols
=no
8329 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8330 # include_expsyms should be a list of space-separated symbols to be *always*
8331 # included in the symbol list
8333 # exclude_expsyms can be an extended regexp of symbols to exclude
8334 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8335 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8336 # as well as any symbol that contains `d'.
8337 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8338 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8339 # platforms (ab)use it in PIC code, but their linkers get confused if
8340 # the symbol is explicitly referenced. Since portable code cannot
8341 # rely on this symbol name, it's probably fine to never include it in
8342 # preloaded symbol tables.
8343 # Exclude shared library initialization/finalization symbols.
8344 extract_expsyms_cmds
=
8345 # Just being paranoid about ensuring that cc_basename is set.
8346 for cc_temp
in $compiler""; do
8348 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8349 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8354 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8357 cygwin
* | mingw
* | pw32
*)
8358 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8359 # When not using gcc, we currently assume that we are using
8360 # Microsoft Visual C++.
8361 if test "$GCC" != yes; then
8366 # we just hope/assume this is gcc and not c89 (= MSVC++)
8375 if test "$with_gnu_ld" = yes; then
8376 # If archive_cmds runs LD, not CC, wlarc should be empty
8379 # Set some defaults for GNU ld with shared library support. These
8380 # are reset later if shared libraries are not supported. Putting them
8381 # here allows them to be overridden if necessary.
8382 runpath_var
=LD_RUN_PATH
8383 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8384 export_dynamic_flag_spec
='${wl}--export-dynamic'
8385 # ancient GNU ld didn't support --whole-archive et. al.
8386 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8387 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8389 whole_archive_flag_spec
=
8391 supports_anon_versioning
=no
8392 case `$LD -v 2>/dev/null` in
8393 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8394 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8395 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8396 *\
2.11.
*) ;; # other 2.11 versions
8397 *) supports_anon_versioning
=yes ;;
8400 # See if GNU ld supports shared libraries.
8403 # On AIX/PPC, the GNU linker is very broken
8404 if test "$host_cpu" != ia64
; then
8408 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8409 *** to be unable to reliably create shared libraries on AIX.
8410 *** Therefore, libtool is disabling shared libraries support. If you
8411 *** really care for shared libraries, you may want to modify your PATH
8412 *** so that a non-GNU linker is found, and then restart.
8419 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)'
8420 hardcode_libdir_flag_spec
='-L$libdir'
8421 hardcode_minus_L
=yes
8423 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8424 # that the semantics of dynamic libraries on AmigaOS, at least up
8425 # to version 4, is to share data among multiple programs linked
8426 # with the same dynamic library. Since this doesn't match the
8427 # behavior of shared libraries on other platforms, we can't use
8433 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8434 allow_undefined_flag
=unsupported
8435 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8436 # support --undefined. This deserves some investigation. FIXME
8437 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8443 cygwin
* | mingw
* | pw32
*)
8444 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8445 # as there is no search path for DLLs.
8446 hardcode_libdir_flag_spec
='-L$libdir'
8447 allow_undefined_flag
=unsupported
8448 always_export_symbols
=no
8449 enable_shared_with_static_runtimes
=yes
8450 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8452 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8453 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8454 # If the export-symbols file already is a .def file (1st line
8455 # is EXPORTS), use it as is; otherwise, prepend...
8456 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8457 cp $export_symbols $output_objdir/$soname.def;
8459 echo EXPORTS > $output_objdir/$soname.def;
8460 cat $export_symbols >> $output_objdir/$soname.def;
8462 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8470 hardcode_shlibpath_var
=no
8471 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8472 export_dynamic_flag_spec
='${wl}-E'
8473 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8474 # Instead, shared libraries are loaded at an image base (0x10000000 by
8475 # default) and relocated if they conflict, which is a slow very memory
8476 # consuming and fragmenting process. To avoid this, we pick a random,
8477 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8478 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8479 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8480 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'
8483 gnu
* | linux
* | k
*bsd
*-gnu)
8484 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8486 case $cc_basename,$host_cpu in
8487 pgcc
*) # Portland Group C compiler
8488 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'
8489 tmp_addflag
=' $pic_flag'
8491 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8492 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'
8493 tmp_addflag
=' $pic_flag -Mnomain' ;;
8494 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8495 tmp_addflag
=' -i_dynamic' ;;
8496 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8497 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8498 ifc
* | ifort
*) # Intel Fortran compiler
8499 tmp_addflag
=' -nofor_main' ;;
8501 case `$CC -V 2>&1 | sed 5q` in
8502 *Sun\ C
*) # Sun C 5.9
8503 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'
8504 tmp_sharedflag
='-G' ;;
8505 *Sun\ F
*) # Sun Fortran 8.3
8506 tmp_sharedflag
='-G' ;;
8508 tmp_sharedflag
='-shared' ;;
8510 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8512 if test $supports_anon_versioning = yes; then
8513 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8514 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8515 $echo "local: *; };" >> $output_objdir/$libname.ver~
8516 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8524 netbsd
* | netbsdelf
*-gnu)
8525 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8526 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8529 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8530 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8535 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8539 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8540 *** create shared libraries on Solaris systems. Therefore, libtool
8541 *** is disabling shared libraries support. We urge you to upgrade GNU
8542 *** binutils to release 2.9.1 or newer. Another option is to modify
8543 *** your PATH or compiler configuration so that the native linker is
8544 *** used, and then restart.
8547 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8548 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8549 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8555 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8556 case `$LD -v 2>&1` in
8557 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8561 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8562 *** reliably create shared libraries on SCO systems. Therefore, libtool
8563 *** is disabling shared libraries support. We urge you to upgrade GNU
8564 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8565 *** your PATH or compiler configuration so that the native linker is
8566 *** used, and then restart.
8571 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8572 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8573 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8574 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8583 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8586 hardcode_shlibpath_var
=no
8590 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8591 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8592 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8599 if test "$ld_shlibs" = no
; then
8601 hardcode_libdir_flag_spec
=
8602 export_dynamic_flag_spec
=
8603 whole_archive_flag_spec
=
8606 # PORTME fill in a description of your system's linker (not GNU ld)
8609 allow_undefined_flag
=unsupported
8610 always_export_symbols
=yes
8611 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'
8612 # Note: this linker hardcodes the directories in LIBPATH if there
8613 # are no directories specified by -L.
8614 hardcode_minus_L
=yes
8615 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8616 # Neither direct hardcoding nor static linking is supported with a
8618 hardcode_direct
=unsupported
8623 if test "$host_cpu" = ia64
; then
8624 # On IA64, the linker does run time linking by default, so we don't
8625 # have to do anything special.
8626 aix_use_runtimelinking
=no
8627 exp_sym_flag
='-Bexport'
8630 # If we're using GNU nm, then we don't want the "-C" option.
8631 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8632 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8633 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'
8635 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'
8637 aix_use_runtimelinking
=no
8639 # Test if we are trying to use run time linking or normal
8640 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8641 # need to do runtime linking.
8642 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8643 for ld_flag
in $LDFLAGS; do
8644 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8645 aix_use_runtimelinking
=yes
8652 exp_sym_flag
='-bexport'
8653 no_entry_flag
='-bnoentry'
8656 # When large executables or shared objects are built, AIX ld can
8657 # have problems creating the table of contents. If linking a library
8658 # or program results in "error TOC overflow" add -mminimal-toc to
8659 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8660 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8664 hardcode_libdir_separator
=':'
8665 link_all_deplibs
=yes
8667 if test "$GCC" = yes; then
8668 case $host_os in aix4.
[012]|aix4.
[012].
*)
8669 # We only want to do this on AIX 4.2 and lower, the check
8670 # below for broken collect2 doesn't work under 4.3+
8671 collect2name
=`${CC} -print-prog-name=collect2`
8672 if test -f "$collect2name" && \
8673 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8675 # We have reworked collect2
8678 # We have old collect2
8679 hardcode_direct
=unsupported
8680 # It fails to find uninstalled libraries when the uninstalled
8681 # path is not listed in the libpath. Setting hardcode_minus_L
8682 # to unsupported forces relinking
8683 hardcode_minus_L
=yes
8684 hardcode_libdir_flag_spec
='-L$libdir'
8685 hardcode_libdir_separator
=
8689 shared_flag
='-shared'
8690 if test "$aix_use_runtimelinking" = yes; then
8691 shared_flag
="$shared_flag "'${wl}-G'
8695 if test "$host_cpu" = ia64
; then
8696 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8697 # chokes on -Wl,-G. The following line is correct:
8700 if test "$aix_use_runtimelinking" = yes; then
8701 shared_flag
='${wl}-G'
8703 shared_flag
='${wl}-bM:SRE'
8708 # It seems that -bexpall does not export symbols beginning with
8709 # underscore (_), so it is better to generate a list of symbols to export.
8710 always_export_symbols
=yes
8711 if test "$aix_use_runtimelinking" = yes; then
8712 # Warning - without using the other runtime loading flags (-brtl),
8713 # -berok will link without error, but may produce a broken library.
8714 allow_undefined_flag
='-berok'
8715 # Determine the default libpath from the value encoded in an empty executable.
8716 cat >conftest.
$ac_ext <<_ACEOF
8719 cat confdefs.h
>>conftest.
$ac_ext
8720 cat >>conftest.
$ac_ext <<_ACEOF
8721 /* end confdefs.h. */
8731 rm -f conftest.
$ac_objext conftest
$ac_exeext
8732 if { (ac_try
="$ac_link"
8734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8735 *) ac_try_echo=$ac_try;;
8737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8738 (eval "$ac_link") 2>conftest.er1
8740 grep -v '^ *+' conftest.er1 >conftest.err
8742 cat conftest.err >&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 (exit $ac_status); } && {
8745 test -z "$ac_c_werror_flag" ||
8746 test ! -s conftest.err
8747 } && test -s conftest$ac_exeext &&
8748 $as_test_x conftest$ac_exeext; then
8750 lt_aix_libpath_sed='
8751 /Import File Strings/,/^$/ {
8757 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8758 # Check for a 64-bit object if we didn't find anything.
8759 if test -z "$aix_libpath"; then
8760 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8763 echo "$as_me: failed program was:" >&5
8764 sed 's/^/| /' conftest.$ac_ext >&5
8769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8770 conftest$ac_exeext conftest.$ac_ext
8771 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8773 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8774 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"
8776 if test "$host_cpu" = ia64; then
8777 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8778 allow_undefined_flag="-z nodefs"
8779 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"
8781 # Determine the default libpath from the value encoded in an empty executable.
8782 cat >conftest.$ac_ext <<_ACEOF
8785 cat confdefs.h >>conftest.$ac_ext
8786 cat >>conftest.$ac_ext <<_ACEOF
8787 /* end confdefs.h. */
8797 rm -f conftest.$ac_objext conftest$ac_exeext
8798 if { (ac_try="$ac_link"
8800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8801 *) ac_try_echo
=$ac_try;;
8803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8804 (eval "$ac_link") 2>conftest.er1
8806 grep -v '^ *+' conftest.er1
>conftest.err
8808 cat conftest.err
>&5
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); } && {
8811 test -z "$ac_c_werror_flag" ||
8812 test ! -s conftest.err
8813 } && test -s conftest
$ac_exeext &&
8814 $as_test_x conftest
$ac_exeext; then
8816 lt_aix_libpath_sed
='
8817 /Import File Strings/,/^$/ {
8823 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8824 # Check for a 64-bit object if we didn't find anything.
8825 if test -z "$aix_libpath"; then
8826 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8829 echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.
$ac_ext >&5
8835 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8836 conftest
$ac_exeext conftest.
$ac_ext
8837 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8839 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8840 # Warning - without using the other run time loading flags,
8841 # -berok will link without error, but may produce a broken library.
8842 no_undefined_flag
=' ${wl}-bernotok'
8843 allow_undefined_flag
=' ${wl}-berok'
8844 # Exported symbols can be pulled into shared objects from archives
8845 whole_archive_flag_spec
='$convenience'
8846 archive_cmds_need_lc
=yes
8847 # This is similar to how AIX traditionally builds its shared libraries.
8848 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'
8854 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)'
8855 hardcode_libdir_flag_spec
='-L$libdir'
8856 hardcode_minus_L
=yes
8857 # see comment about different semantics on the GNU ld section
8862 export_dynamic_flag_spec
=-rdynamic
8865 cygwin
* | mingw
* | pw32
*)
8866 # When not using gcc, we currently assume that we are using
8867 # Microsoft Visual C++.
8868 # hardcode_libdir_flag_spec is actually meaningless, as there is
8869 # no search path for DLLs.
8870 hardcode_libdir_flag_spec
=' '
8871 allow_undefined_flag
=unsupported
8872 # Tell ltmain to make .lib files, not .a files.
8874 # Tell ltmain to make .dll files, not .so files.
8876 # FIXME: Setting linknames here is a bad hack.
8877 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8878 # The linker will automatically build a .lib file if we build a DLL.
8879 old_archive_From_new_cmds
='true'
8880 # FIXME: Should let the user specify the lib program.
8881 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8882 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8883 enable_shared_with_static_runtimes
=yes
8886 darwin
* | rhapsody
*)
8888 rhapsody
* | darwin1.
[012])
8889 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8892 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8893 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8895 case ${MACOSX_DEPLOYMENT_TARGET} in
8897 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8900 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8906 archive_cmds_need_lc
=no
8908 hardcode_automatic
=yes
8909 hardcode_shlibpath_var
=unsupported
8910 whole_archive_flag_spec
=''
8911 link_all_deplibs
=yes
8912 if test "$GCC" = yes ; then
8913 output_verbose_link_cmd
='echo'
8914 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8915 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8916 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8917 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8919 case $cc_basename in
8921 output_verbose_link_cmd
='echo'
8922 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8923 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8924 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8925 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}'
8926 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}'
8936 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8937 hardcode_libdir_flag_spec
='-L$libdir'
8938 hardcode_shlibpath_var
=no
8945 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8946 # support. Future versions do this automatically, but an explicit c++rt0.o
8947 # does not break anything, and helps significantly (at the cost of a little
8950 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8951 hardcode_libdir_flag_spec
='-R$libdir'
8953 hardcode_shlibpath_var
=no
8956 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8958 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8960 hardcode_minus_L
=yes
8961 hardcode_shlibpath_var
=no
8964 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8965 freebsd
* | dragonfly
*)
8966 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8967 hardcode_libdir_flag_spec
='-R$libdir'
8969 hardcode_shlibpath_var
=no
8973 if test "$GCC" = yes; then
8974 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'
8976 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'
8978 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8979 hardcode_libdir_separator
=:
8982 # hardcode_minus_L: Not really in the search PATH,
8983 # but as the default location of the library.
8984 hardcode_minus_L
=yes
8985 export_dynamic_flag_spec
='${wl}-E'
8989 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8990 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8992 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8994 if test "$with_gnu_ld" = no
; then
8995 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8996 hardcode_libdir_separator
=:
8999 export_dynamic_flag_spec
='${wl}-E'
9001 # hardcode_minus_L: Not really in the search PATH,
9002 # but as the default location of the library.
9003 hardcode_minus_L
=yes
9008 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9011 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9014 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9017 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9023 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9026 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9029 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9033 if test "$with_gnu_ld" = no
; then
9034 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9035 hardcode_libdir_separator
=:
9039 hardcode_libdir_flag_spec_ld
='+b $libdir'
9041 hardcode_shlibpath_var
=no
9045 export_dynamic_flag_spec
='${wl}-E'
9047 # hardcode_minus_L: Not really in the search PATH,
9048 # but as the default location of the library.
9049 hardcode_minus_L
=yes
9055 irix5
* | irix6
* | nonstopux
*)
9056 if test "$GCC" = yes; then
9057 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'
9059 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'
9060 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9062 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9063 hardcode_libdir_separator
=:
9064 link_all_deplibs
=yes
9067 netbsd
* | netbsdelf
*-gnu)
9068 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9069 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9071 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9073 hardcode_libdir_flag_spec
='-R$libdir'
9075 hardcode_shlibpath_var
=no
9079 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9081 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9082 hardcode_libdir_separator
=:
9083 hardcode_shlibpath_var
=no
9087 if test -f /usr
/libexec
/ld.so
; then
9089 hardcode_shlibpath_var
=no
9090 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9091 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9092 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9093 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9094 export_dynamic_flag_spec
='${wl}-E'
9097 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9098 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9099 hardcode_libdir_flag_spec
='-R$libdir'
9102 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9103 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9113 hardcode_libdir_flag_spec
='-L$libdir'
9114 hardcode_minus_L
=yes
9115 allow_undefined_flag
=unsupported
9116 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'
9117 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9121 if test "$GCC" = yes; then
9122 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9123 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'
9125 allow_undefined_flag
=' -expect_unresolved \*'
9126 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'
9128 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9129 hardcode_libdir_separator
=:
9132 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9133 if test "$GCC" = yes; then
9134 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9135 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'
9136 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9138 allow_undefined_flag
=' -expect_unresolved \*'
9139 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'
9140 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9141 $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'
9143 # Both c and cxx compiler support -rpath directly
9144 hardcode_libdir_flag_spec
='-rpath $libdir'
9146 hardcode_libdir_separator
=:
9150 no_undefined_flag
=' -z text'
9151 if test "$GCC" = yes; then
9153 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9154 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9155 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9158 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9159 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9160 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9162 hardcode_libdir_flag_spec
='-R$libdir'
9163 hardcode_shlibpath_var
=no
9165 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9167 # The compiler driver will combine and reorder linker options,
9168 # but understands `-z linker_flag'. GCC discards it without `$wl',
9169 # but is careful enough not to reorder.
9170 # Supported since Solaris 2.6 (maybe 2.5.1?)
9171 if test "$GCC" = yes; then
9172 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9174 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9178 link_all_deplibs
=yes
9182 if test "x$host_vendor" = xsequent
; then
9183 # Use $CC to link under sequent, because it throws in some extra .o
9184 # files that make .init and .fini sections work.
9185 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9187 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9189 hardcode_libdir_flag_spec
='-L$libdir'
9191 hardcode_minus_L
=yes
9192 hardcode_shlibpath_var
=no
9196 case $host_vendor in
9198 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9199 hardcode_direct
=yes # is this really true???
9202 ## LD is ld it makes a PLAMLIB
9203 ## CC just makes a GrossModule.
9204 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9205 reload_cmds
='$CC -r -o $output$reload_objs'
9209 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9210 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9213 runpath_var
='LD_RUN_PATH'
9214 hardcode_shlibpath_var
=no
9218 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9219 hardcode_shlibpath_var
=no
9220 export_dynamic_flag_spec
='-Bexport'
9224 if test -d /usr
/nec
; then
9225 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9226 hardcode_shlibpath_var
=no
9227 runpath_var
=LD_RUN_PATH
9228 hardcode_runpath_var
=yes
9233 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9234 no_undefined_flag
='${wl}-z,text'
9235 archive_cmds_need_lc
=no
9236 hardcode_shlibpath_var
=no
9237 runpath_var
='LD_RUN_PATH'
9239 if test "$GCC" = yes; then
9240 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9241 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9243 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9244 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9248 sysv5
* | sco3.2v5
* | sco5v6
*)
9249 # Note: We can NOT use -z defs as we might desire, because we do not
9250 # link with -lc, and that would cause any symbols used from libc to
9251 # always be unresolved, which means just about no library would
9252 # ever link correctly. If we're not using GNU ld we use -z text
9253 # though, which does catch some bad symbols but isn't as heavy-handed
9255 no_undefined_flag
='${wl}-z,text'
9256 allow_undefined_flag
='${wl}-z,nodefs'
9257 archive_cmds_need_lc
=no
9258 hardcode_shlibpath_var
=no
9259 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9260 hardcode_libdir_separator
=':'
9261 link_all_deplibs
=yes
9262 export_dynamic_flag_spec
='${wl}-Bexport'
9263 runpath_var
='LD_RUN_PATH'
9265 if test "$GCC" = yes; then
9266 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9267 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9269 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9270 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9275 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9276 hardcode_libdir_flag_spec
='-L$libdir'
9277 hardcode_shlibpath_var
=no
9286 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9287 echo "${ECHO_T}$ld_shlibs" >&6; }
9288 test "$ld_shlibs" = no
&& can_build_shared
=no
9291 # Do we need to explicitly link libc?
9293 case "x$archive_cmds_need_lc" in
9295 # Assume -lc should be added
9296 archive_cmds_need_lc
=yes
9298 if test "$enable_shared" = yes && test "$GCC" = yes; then
9299 case $archive_cmds in
9301 # FIXME: we may have to deal with multi-command sequences.
9304 # Test whether the compiler implicitly links with -lc since on some
9305 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9306 # to ld, don't add -lc before -lgcc.
9307 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9308 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9310 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9313 (eval $ac_compile) 2>&5
9315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316 (exit $ac_status); } 2>conftest.err
; then
9319 libobjs
=conftest.
$ac_objext
9321 wl
=$lt_prog_compiler_wl
9322 pic_flag
=$lt_prog_compiler_pic
9328 lt_save_allow_undefined_flag
=$allow_undefined_flag
9329 allow_undefined_flag
=
9330 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9331 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9334 (exit $ac_status); }
9336 archive_cmds_need_lc
=no
9338 archive_cmds_need_lc
=yes
9340 allow_undefined_flag
=$lt_save_allow_undefined_flag
9342 cat conftest.err
1>&5
9345 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9346 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9353 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9354 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9356 libname_spec
='lib$name'
9364 shlibpath_overrides_runpath
=unknown
9366 dynamic_linker
="$host_os ld.so"
9367 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9369 if test "$GCC" = yes; then
9371 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9372 *) lt_awk_arg
="/^libraries:/" ;;
9374 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9375 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
9376 # if the path contains ";" then we assume it to be the separator
9377 # otherwise default to the standard path separator (i.e. ":") - it is
9378 # assumed that no part of a normal pathname contains ";" but that should
9379 # okay in the real world where ";" in dirpaths is itself problematic.
9380 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9382 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9384 # Ok, now we have the path, separated by spaces, we can step through it
9385 # and add multilib dir if necessary.
9386 lt_tmp_lt_search_path_spec
=
9387 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9388 for lt_sys_path
in $lt_search_path_spec; do
9389 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9390 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9392 test -d "$lt_sys_path" && \
9393 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9396 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
9397 BEGIN {RS=" "; FS="/|\n";} {
9400 for (lt_i = NF; lt_i > 0; lt_i--) {
9401 if ($lt_i != "" && $lt_i != ".") {
9402 if ($lt_i == "..") {
9405 if (lt_count == 0) {
9406 lt_foo="/" $lt_i lt_foo;
9413 if (lt_foo != "") { lt_freq[lt_foo]++; }
9414 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9416 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9418 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9420 need_lib_prefix
=unknown
9421 hardcode_into_libs
=no
9423 # when you set need_version to no, make sure it does not cause -set_version
9424 # flags to be left without arguments
9425 need_version
=unknown
9430 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9431 shlibpath_var
=LIBPATH
9433 # AIX 3 has no versioning support, so we append a major version to the name.
9434 soname_spec
='${libname}${release}${shared_ext}$major'
9441 hardcode_into_libs
=yes
9442 if test "$host_cpu" = ia64
; then
9443 # AIX 5 supports IA64
9444 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9445 shlibpath_var
=LD_LIBRARY_PATH
9447 # With GCC up to 2.95.x, collect2 would create an import file
9448 # for dependence libraries. The import file would start with
9449 # the line `#! .'. This would cause the generated library to
9450 # depend on `.', always an invalid library. This was fixed in
9451 # development snapshots of GCC prior to 3.0.
9453 aix4 | aix4.
[01] | aix4.
[01].
*)
9454 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9456 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9463 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9464 # soname into executable. Probably we can add versioning support to
9465 # collect2, so additional links can be useful in future.
9466 if test "$aix_use_runtimelinking" = yes; then
9467 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9468 # instead of lib<name>.a to let people know that these are not
9469 # typical AIX shared libraries.
9470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9472 # We preserve .a as extension for shared libraries through AIX4.2
9473 # and later when we are not doing run time linking.
9474 library_names_spec
='${libname}${release}.a $libname.a'
9475 soname_spec
='${libname}${release}${shared_ext}$major'
9477 shlibpath_var
=LIBPATH
9482 library_names_spec
='$libname.ixlibrary $libname.a'
9483 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9484 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'
9488 library_names_spec
='${libname}${shared_ext}'
9489 dynamic_linker
="$host_os ld.so"
9490 shlibpath_var
=LIBRARY_PATH
9496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9497 soname_spec
='${libname}${release}${shared_ext}$major'
9498 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9499 shlibpath_var
=LD_LIBRARY_PATH
9500 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9501 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9502 # the default ld.so.conf also contains /usr/contrib/lib and
9503 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9504 # libtool to hard-code these into programs
9507 cygwin
* | mingw
* | pw32
*)
9508 version_type
=windows
9513 case $GCC,$host_os in
9514 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9515 library_names_spec
='$libname.dll.a'
9516 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9517 postinstall_cmds
='base_file=`basename \${file}`~
9518 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9519 dldir=$destdir/`dirname \$dlpath`~
9520 test -d \$dldir || mkdir -p \$dldir~
9521 $install_prog $dir/$dlname \$dldir/$dlname~
9522 chmod a+x \$dldir/$dlname'
9523 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9524 dlpath=$dir/\$dldll~
9526 shlibpath_overrides_runpath
=yes
9530 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9531 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9532 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9535 # MinGW DLLs use traditional 'lib' prefix
9536 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9537 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9538 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9539 # It is most probably a Windows format PATH printed by
9540 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9541 # path with ; separators, and with drive letters. We can handle the
9542 # drive letters (cygwin fileutils understands them), so leave them,
9543 # especially as we might pass files found there to a mingw objdump,
9544 # which wouldn't understand a cygwinified path. Ahh.
9545 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9547 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9551 # pw32 DLLs use 'pw' prefix rather than 'lib'
9552 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9558 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9561 dynamic_linker
='Win32 ld.exe'
9562 # FIXME: first we should search . and the directory the executable is in
9566 darwin
* | rhapsody
*)
9567 dynamic_linker
="$host_os dyld"
9571 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9572 soname_spec
='${libname}${release}${major}$shared_ext'
9573 shlibpath_overrides_runpath
=yes
9574 shlibpath_var
=DYLD_LIBRARY_PATH
9575 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9577 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9578 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9586 soname_spec
='${libname}${release}${shared_ext}$major'
9587 shlibpath_var
=LD_LIBRARY_PATH
9594 freebsd
* | dragonfly
*)
9595 # DragonFly does not have aout. When/if they implement a new
9596 # versioning mechanism, adjust this.
9597 if test -x /usr
/bin
/objformat
; then
9598 objformat
=`/usr/bin/objformat`
9601 freebsd
[123]*) objformat
=aout
;;
9605 version_type
=freebsd-
$objformat
9606 case $version_type in
9608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9613 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9617 shlibpath_var
=LD_LIBRARY_PATH
9620 shlibpath_overrides_runpath
=yes
9622 freebsd3.
[01]* | freebsdelf3.
[01]*)
9623 shlibpath_overrides_runpath
=yes
9624 hardcode_into_libs
=yes
9626 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9627 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9628 shlibpath_overrides_runpath
=no
9629 hardcode_into_libs
=yes
9631 *) # from 4.6 on, and DragonFly
9632 shlibpath_overrides_runpath
=yes
9633 hardcode_into_libs
=yes
9642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9643 soname_spec
='${libname}${release}${shared_ext}$major'
9644 shlibpath_var
=LD_LIBRARY_PATH
9645 hardcode_into_libs
=yes
9648 hpux9
* | hpux10
* | hpux11
*)
9649 # Give a soname corresponding to the major version so that dld.sl refuses to
9650 # link against other versions.
9657 hardcode_into_libs
=yes
9658 dynamic_linker
="$host_os dld.so"
9659 shlibpath_var
=LD_LIBRARY_PATH
9660 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9662 soname_spec
='${libname}${release}${shared_ext}$major'
9663 if test "X$HPUX_IA64_MODE" = X32
; then
9664 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9666 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9668 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9672 hardcode_into_libs
=yes
9673 dynamic_linker
="$host_os dld.sl"
9674 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9675 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9677 soname_spec
='${libname}${release}${shared_ext}$major'
9678 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9679 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9683 dynamic_linker
="$host_os dld.sl"
9684 shlibpath_var
=SHLIB_PATH
9685 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9687 soname_spec
='${libname}${release}${shared_ext}$major'
9690 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9691 postinstall_cmds
='chmod 555 $lib'
9698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9699 soname_spec
='${libname}${release}${shared_ext}$major'
9700 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9701 shlibpath_var
=LD_LIBRARY_PATH
9702 shlibpath_overrides_runpath
=no
9703 hardcode_into_libs
=yes
9706 irix5
* | irix6
* | nonstopux
*)
9708 nonstopux
*) version_type
=nonstopux
;;
9710 if test "$lt_cv_prog_gnu_ld" = yes; then
9718 soname_spec
='${libname}${release}${shared_ext}$major'
9719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9721 irix5
* | nonstopux
*)
9725 case $LD in # libtool.m4 will add one of these switches to LD
9726 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9727 libsuff
= shlibsuff
= libmagic
=32-bit;;
9728 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9729 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9730 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9731 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9732 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9736 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9737 shlibpath_overrides_runpath
=no
9738 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9739 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9740 hardcode_into_libs
=yes
9743 # No shared lib support for Linux oldld, aout, or coff.
9744 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9748 # This must be Linux ELF.
9749 linux
* | k
*bsd
*-gnu)
9753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9754 soname_spec
='${libname}${release}${shared_ext}$major'
9755 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9756 shlibpath_var
=LD_LIBRARY_PATH
9757 shlibpath_overrides_runpath
=no
9758 # This implies no fast_install, which is unacceptable.
9759 # Some rework will be needed to allow for fast_install
9760 # before this can be enabled.
9761 hardcode_into_libs
=yes
9763 # Append ld.so.conf contents to the search path
9764 if test -f /etc
/ld.so.conf
; then
9765 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' ' '`
9766 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9769 # We used to test for /lib/ld.so.1 and disable shared libraries on
9770 # powerpc, because MkLinux only supported shared libraries with the
9771 # GNU dynamic linker. Since this was broken with cross compilers,
9772 # most powerpc-linux boxes support dynamic linking these days and
9773 # people can always --disable-shared, the test was removed, and we
9774 # assume the GNU/Linux dynamic linker is in use.
9775 dynamic_linker
='GNU/Linux ld.so'
9782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9783 soname_spec
='${libname}${release}${shared_ext}$major'
9784 shlibpath_var
=LD_LIBRARY_PATH
9785 shlibpath_overrides_runpath
=no
9786 hardcode_into_libs
=yes
9787 dynamic_linker
='NetBSD ld.elf_so'
9794 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9796 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9797 dynamic_linker
='NetBSD (a.out) ld.so'
9799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9800 soname_spec
='${libname}${release}${shared_ext}$major'
9801 dynamic_linker
='NetBSD ld.elf_so'
9803 shlibpath_var
=LD_LIBRARY_PATH
9804 shlibpath_overrides_runpath
=yes
9805 hardcode_into_libs
=yes
9810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9811 shlibpath_var
=LD_LIBRARY_PATH
9812 shlibpath_overrides_runpath
=yes
9819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9820 soname_spec
='${libname}${release}${shared_ext}$major'
9821 shlibpath_var
=LD_LIBRARY_PATH
9822 shlibpath_overrides_runpath
=yes
9827 sys_lib_dlsearch_path_spec
="/usr/lib"
9829 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9831 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9832 *) need_version
=no
;;
9834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9835 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9836 shlibpath_var
=LD_LIBRARY_PATH
9837 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9839 openbsd2.
[89] | openbsd2.
[89].
*)
9840 shlibpath_overrides_runpath
=no
9843 shlibpath_overrides_runpath
=yes
9847 shlibpath_overrides_runpath
=yes
9852 libname_spec
='$name'
9855 library_names_spec
='$libname${shared_ext} $libname.a'
9856 dynamic_linker
='OS/2 ld.exe'
9857 shlibpath_var
=LIBPATH
9860 osf3
* | osf4
* | osf5
*)
9864 soname_spec
='${libname}${release}${shared_ext}$major'
9865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9866 shlibpath_var
=LD_LIBRARY_PATH
9867 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9868 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9880 soname_spec
='${libname}${release}${shared_ext}$major'
9881 shlibpath_var
=LD_LIBRARY_PATH
9882 shlibpath_overrides_runpath
=yes
9883 hardcode_into_libs
=yes
9884 # ldd complains unless libraries are executable
9885 postinstall_cmds
='chmod +x $lib'
9890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9891 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9892 shlibpath_var
=LD_LIBRARY_PATH
9893 shlibpath_overrides_runpath
=yes
9894 if test "$with_gnu_ld" = yes; then
9902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9903 soname_spec
='${libname}${release}${shared_ext}$major'
9904 shlibpath_var
=LD_LIBRARY_PATH
9905 case $host_vendor in
9907 shlibpath_overrides_runpath
=no
9909 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9910 runpath_var
=LD_RUN_PATH
9918 shlibpath_overrides_runpath
=no
9919 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9925 if test -d /usr
/nec
;then
9927 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9928 soname_spec
='$libname${shared_ext}.$major'
9929 shlibpath_var
=LD_LIBRARY_PATH
9933 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9934 version_type
=freebsd-elf
9937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9938 soname_spec
='${libname}${release}${shared_ext}$major'
9939 shlibpath_var
=LD_LIBRARY_PATH
9940 hardcode_into_libs
=yes
9941 if test "$with_gnu_ld" = yes; then
9942 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9943 shlibpath_overrides_runpath
=no
9945 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9946 shlibpath_overrides_runpath
=yes
9949 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9953 sys_lib_dlsearch_path_spec
='/usr/lib'
9958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9959 soname_spec
='${libname}${release}${shared_ext}$major'
9960 shlibpath_var
=LD_LIBRARY_PATH
9967 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9968 echo "${ECHO_T}$dynamic_linker" >&6; }
9969 test "$dynamic_linker" = no
&& can_build_shared
=no
9971 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9974 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
9977 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9978 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9979 echo $ECHO_N "(cached) $ECHO_C" >&6
9981 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
9984 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9986 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9987 if test "$GCC" = yes; then
9988 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9991 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9992 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9994 if test -n "$hardcode_libdir_flag_spec" || \
9995 test -n "$runpath_var" || \
9996 test "X$hardcode_automatic" = "Xyes" ; then
9998 # We can hardcode non-existant directories.
9999 if test "$hardcode_direct" != no
&&
10000 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10001 # have to relink, otherwise we might link with an installed library
10002 # when we should be linking with a yet-to-be-installed one
10003 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10004 test "$hardcode_minus_L" != no
; then
10005 # Linking always hardcodes the temporary library directory.
10006 hardcode_action
=relink
10008 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10009 hardcode_action
=immediate
10012 # We cannot hardcode anything, or else we can only hardcode existing
10014 hardcode_action
=unsupported
10016 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10017 echo "${ECHO_T}$hardcode_action" >&6; }
10019 if test "$hardcode_action" = relink
; then
10020 # Fast installation is not supported
10021 enable_fast_install
=no
10022 elif test "$shlibpath_overrides_runpath" = yes ||
10023 test "$enable_shared" = no
; then
10024 # Fast installation is not necessary
10025 enable_fast_install
=needless
10030 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10031 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10032 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
10033 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10034 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10035 { echo "$as_me:$LINENO: result: yes" >&5
10036 echo "${ECHO_T}yes" >&6; }
10038 # FIXME - insert some real tests, host_os isn't really good enough
10041 if test -n "$STRIP" ; then
10042 striplib
="$STRIP -x"
10043 old_striplib
="$STRIP -S"
10044 { echo "$as_me:$LINENO: result: yes" >&5
10045 echo "${ECHO_T}yes" >&6; }
10047 { echo "$as_me:$LINENO: result: no" >&5
10048 echo "${ECHO_T}no" >&6; }
10052 { echo "$as_me:$LINENO: result: no" >&5
10053 echo "${ECHO_T}no" >&6; }
10058 if test "x$enable_dlopen" != xyes
; then
10059 enable_dlopen
=unknown
10060 enable_dlopen_self
=unknown
10061 enable_dlopen_self_static
=unknown
10068 lt_cv_dlopen
="load_add_on"
10070 lt_cv_dlopen_self
=yes
10074 lt_cv_dlopen
="LoadLibrary"
10079 lt_cv_dlopen
="dlopen"
10084 # if libdl is installed we need to link against it
10085 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10086 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10087 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10088 echo $ECHO_N "(cached) $ECHO_C" >&6
10090 ac_check_lib_save_LIBS
=$LIBS
10092 cat >conftest.
$ac_ext <<_ACEOF
10095 cat confdefs.h
>>conftest.
$ac_ext
10096 cat >>conftest.
$ac_ext <<_ACEOF
10097 /* end confdefs.h. */
10099 /* Override any GCC internal prototype to avoid an error.
10100 Use char because int might match the return type of a GCC
10101 builtin and then its argument prototype would still apply. */
10114 rm -f conftest.
$ac_objext conftest
$ac_exeext
10115 if { (ac_try
="$ac_link"
10116 case "(($ac_try" in
10117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10118 *) ac_try_echo=$ac_try;;
10120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10121 (eval "$ac_link") 2>conftest.er1
10123 grep -v '^ *+' conftest.er1 >conftest.err
10125 cat conftest.err >&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); } && {
10128 test -z "$ac_c_werror_flag" ||
10129 test ! -s conftest.err
10130 } && test -s conftest$ac_exeext &&
10131 $as_test_x conftest$ac_exeext; then
10132 ac_cv_lib_dl_dlopen=yes
10134 echo "$as_me: failed program was:" >&5
10135 sed 's/^/| /' conftest.$ac_ext >&5
10137 ac_cv_lib_dl_dlopen=no
10140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10141 conftest$ac_exeext conftest.$ac_ext
10142 LIBS=$ac_check_lib_save_LIBS
10144 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10145 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10146 if test $ac_cv_lib_dl_dlopen = yes; then
10147 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10150 lt_cv_dlopen="dyld"
10152 lt_cv_dlopen_self=yes
10159 { echo "$as_me:$LINENO: checking for shl_load" >&5
10160 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10161 if test "${ac_cv_func_shl_load+set}" = set; then
10162 echo $ECHO_N "(cached) $ECHO_C" >&6
10164 cat >conftest.$ac_ext <<_ACEOF
10167 cat confdefs.h >>conftest.$ac_ext
10168 cat >>conftest.$ac_ext <<_ACEOF
10169 /* end confdefs.h. */
10170 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10172 #define shl_load innocuous_shl_load
10174 /* System header to define __stub macros and hopefully few prototypes,
10175 which can conflict with char shl_load (); below.
10176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10177 <limits.h> exists even on freestanding compilers. */
10180 # include <limits.h>
10182 # include <assert.h>
10187 /* Override any GCC internal prototype to avoid an error.
10188 Use char because int might match the return type of a GCC
10189 builtin and then its argument prototype would still apply. */
10194 /* The GNU C library defines this for functions which it implements
10195 to always fail with ENOSYS. Some functions are actually named
10196 something starting with __ and the normal name is an alias. */
10197 #if defined __stub_shl_load || defined __stub___shl_load
10204 return shl_load ();
10209 rm -f conftest.$ac_objext conftest$ac_exeext
10210 if { (ac_try="$ac_link"
10211 case "(($ac_try" in
10212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10213 *) ac_try_echo
=$ac_try;;
10215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10216 (eval "$ac_link") 2>conftest.er1
10218 grep -v '^ *+' conftest.er1
>conftest.err
10220 cat conftest.err
>&5
10221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10222 (exit $ac_status); } && {
10223 test -z "$ac_c_werror_flag" ||
10224 test ! -s conftest.err
10225 } && test -s conftest
$ac_exeext &&
10226 $as_test_x conftest
$ac_exeext; then
10227 ac_cv_func_shl_load
=yes
10229 echo "$as_me: failed program was:" >&5
10230 sed 's/^/| /' conftest.
$ac_ext >&5
10232 ac_cv_func_shl_load
=no
10235 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10236 conftest
$ac_exeext conftest.
$ac_ext
10238 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10239 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10240 if test $ac_cv_func_shl_load = yes; then
10241 lt_cv_dlopen
="shl_load"
10243 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10244 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10245 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10246 echo $ECHO_N "(cached) $ECHO_C" >&6
10248 ac_check_lib_save_LIBS
=$LIBS
10250 cat >conftest.
$ac_ext <<_ACEOF
10253 cat confdefs.h
>>conftest.
$ac_ext
10254 cat >>conftest.
$ac_ext <<_ACEOF
10255 /* end confdefs.h. */
10257 /* Override any GCC internal prototype to avoid an error.
10258 Use char because int might match the return type of a GCC
10259 builtin and then its argument prototype would still apply. */
10267 return shl_load ();
10272 rm -f conftest.
$ac_objext conftest
$ac_exeext
10273 if { (ac_try
="$ac_link"
10274 case "(($ac_try" in
10275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10276 *) ac_try_echo=$ac_try;;
10278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10279 (eval "$ac_link") 2>conftest.er1
10281 grep -v '^ *+' conftest.er1 >conftest.err
10283 cat conftest.err >&5
10284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285 (exit $ac_status); } && {
10286 test -z "$ac_c_werror_flag" ||
10287 test ! -s conftest.err
10288 } && test -s conftest$ac_exeext &&
10289 $as_test_x conftest$ac_exeext; then
10290 ac_cv_lib_dld_shl_load=yes
10292 echo "$as_me: failed program was:" >&5
10293 sed 's/^/| /' conftest.$ac_ext >&5
10295 ac_cv_lib_dld_shl_load=no
10298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10299 conftest$ac_exeext conftest.$ac_ext
10300 LIBS=$ac_check_lib_save_LIBS
10302 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10303 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10304 if test $ac_cv_lib_dld_shl_load = yes; then
10305 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10307 { echo "$as_me:$LINENO: checking for dlopen" >&5
10308 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10309 if test "${ac_cv_func_dlopen+set}" = set; then
10310 echo $ECHO_N "(cached) $ECHO_C" >&6
10312 cat >conftest.$ac_ext <<_ACEOF
10315 cat confdefs.h >>conftest.$ac_ext
10316 cat >>conftest.$ac_ext <<_ACEOF
10317 /* end confdefs.h. */
10318 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10320 #define dlopen innocuous_dlopen
10322 /* System header to define __stub macros and hopefully few prototypes,
10323 which can conflict with char dlopen (); below.
10324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10325 <limits.h> exists even on freestanding compilers. */
10328 # include <limits.h>
10330 # include <assert.h>
10335 /* Override any GCC internal prototype to avoid an error.
10336 Use char because int might match the return type of a GCC
10337 builtin and then its argument prototype would still apply. */
10342 /* The GNU C library defines this for functions which it implements
10343 to always fail with ENOSYS. Some functions are actually named
10344 something starting with __ and the normal name is an alias. */
10345 #if defined __stub_dlopen || defined __stub___dlopen
10357 rm -f conftest.$ac_objext conftest$ac_exeext
10358 if { (ac_try="$ac_link"
10359 case "(($ac_try" in
10360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10361 *) ac_try_echo
=$ac_try;;
10363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10364 (eval "$ac_link") 2>conftest.er1
10366 grep -v '^ *+' conftest.er1
>conftest.err
10368 cat conftest.err
>&5
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); } && {
10371 test -z "$ac_c_werror_flag" ||
10372 test ! -s conftest.err
10373 } && test -s conftest
$ac_exeext &&
10374 $as_test_x conftest
$ac_exeext; then
10375 ac_cv_func_dlopen
=yes
10377 echo "$as_me: failed program was:" >&5
10378 sed 's/^/| /' conftest.
$ac_ext >&5
10380 ac_cv_func_dlopen
=no
10383 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10384 conftest
$ac_exeext conftest.
$ac_ext
10386 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10387 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10388 if test $ac_cv_func_dlopen = yes; then
10389 lt_cv_dlopen
="dlopen"
10391 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10392 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10393 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10394 echo $ECHO_N "(cached) $ECHO_C" >&6
10396 ac_check_lib_save_LIBS
=$LIBS
10398 cat >conftest.
$ac_ext <<_ACEOF
10401 cat confdefs.h
>>conftest.
$ac_ext
10402 cat >>conftest.
$ac_ext <<_ACEOF
10403 /* end confdefs.h. */
10405 /* Override any GCC internal prototype to avoid an error.
10406 Use char because int might match the return type of a GCC
10407 builtin and then its argument prototype would still apply. */
10420 rm -f conftest.
$ac_objext conftest
$ac_exeext
10421 if { (ac_try
="$ac_link"
10422 case "(($ac_try" in
10423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10424 *) ac_try_echo=$ac_try;;
10426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10427 (eval "$ac_link") 2>conftest.er1
10429 grep -v '^ *+' conftest.er1 >conftest.err
10431 cat conftest.err >&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); } && {
10434 test -z "$ac_c_werror_flag" ||
10435 test ! -s conftest.err
10436 } && test -s conftest$ac_exeext &&
10437 $as_test_x conftest$ac_exeext; then
10438 ac_cv_lib_dl_dlopen=yes
10440 echo "$as_me: failed program was:" >&5
10441 sed 's/^/| /' conftest.$ac_ext >&5
10443 ac_cv_lib_dl_dlopen=no
10446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10447 conftest$ac_exeext conftest.$ac_ext
10448 LIBS=$ac_check_lib_save_LIBS
10450 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10451 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10452 if test $ac_cv_lib_dl_dlopen = yes; then
10453 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10455 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10456 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10457 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10458 echo $ECHO_N "(cached) $ECHO_C" >&6
10460 ac_check_lib_save_LIBS=$LIBS
10461 LIBS="-lsvld $LIBS"
10462 cat >conftest.$ac_ext <<_ACEOF
10465 cat confdefs.h >>conftest.$ac_ext
10466 cat >>conftest.$ac_ext <<_ACEOF
10467 /* end confdefs.h. */
10469 /* Override any GCC internal prototype to avoid an error.
10470 Use char because int might match the return type of a GCC
10471 builtin and then its argument prototype would still apply. */
10484 rm -f conftest.$ac_objext conftest$ac_exeext
10485 if { (ac_try="$ac_link"
10486 case "(($ac_try" in
10487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10488 *) ac_try_echo
=$ac_try;;
10490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10491 (eval "$ac_link") 2>conftest.er1
10493 grep -v '^ *+' conftest.er1
>conftest.err
10495 cat conftest.err
>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } && {
10498 test -z "$ac_c_werror_flag" ||
10499 test ! -s conftest.err
10500 } && test -s conftest
$ac_exeext &&
10501 $as_test_x conftest
$ac_exeext; then
10502 ac_cv_lib_svld_dlopen
=yes
10504 echo "$as_me: failed program was:" >&5
10505 sed 's/^/| /' conftest.
$ac_ext >&5
10507 ac_cv_lib_svld_dlopen
=no
10510 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10511 conftest
$ac_exeext conftest.
$ac_ext
10512 LIBS
=$ac_check_lib_save_LIBS
10514 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10515 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10516 if test $ac_cv_lib_svld_dlopen = yes; then
10517 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10519 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10520 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10521 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10522 echo $ECHO_N "(cached) $ECHO_C" >&6
10524 ac_check_lib_save_LIBS
=$LIBS
10526 cat >conftest.
$ac_ext <<_ACEOF
10529 cat confdefs.h
>>conftest.
$ac_ext
10530 cat >>conftest.
$ac_ext <<_ACEOF
10531 /* end confdefs.h. */
10533 /* Override any GCC internal prototype to avoid an error.
10534 Use char because int might match the return type of a GCC
10535 builtin and then its argument prototype would still apply. */
10543 return dld_link ();
10548 rm -f conftest.
$ac_objext conftest
$ac_exeext
10549 if { (ac_try
="$ac_link"
10550 case "(($ac_try" in
10551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10552 *) ac_try_echo=$ac_try;;
10554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10555 (eval "$ac_link") 2>conftest.er1
10557 grep -v '^ *+' conftest.er1 >conftest.err
10559 cat conftest.err >&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); } && {
10562 test -z "$ac_c_werror_flag" ||
10563 test ! -s conftest.err
10564 } && test -s conftest$ac_exeext &&
10565 $as_test_x conftest$ac_exeext; then
10566 ac_cv_lib_dld_dld_link=yes
10568 echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.$ac_ext >&5
10571 ac_cv_lib_dld_dld_link=no
10574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10575 conftest$ac_exeext conftest.$ac_ext
10576 LIBS=$ac_check_lib_save_LIBS
10578 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10579 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10580 if test $ac_cv_lib_dld_dld_link = yes; then
10581 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10602 if test "x$lt_cv_dlopen" != xno; then
10608 case $lt_cv_dlopen in
10610 save_CPPFLAGS="$CPPFLAGS"
10611 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10613 save_LDFLAGS="$LDFLAGS"
10614 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10617 LIBS="$lt_cv_dlopen_libs $LIBS"
10619 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10620 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10621 if test "${lt_cv_dlopen_self+set}" = set; then
10622 echo $ECHO_N "(cached) $ECHO_C" >&6
10624 if test "$cross_compiling" = yes; then :
10625 lt_cv_dlopen_self=cross
10627 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10628 lt_status=$lt_dlunknown
10629 cat > conftest.$ac_ext <<EOF
10630 #line 10630 "configure"
10631 #include "confdefs.h"
10640 # define LT_DLGLOBAL RTLD_GLOBAL
10643 # define LT_DLGLOBAL DL_GLOBAL
10645 # define LT_DLGLOBAL 0
10649 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10650 find out it does not work in some platform. */
10651 #ifndef LT_DLLAZY_OR_NOW
10653 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10656 # define LT_DLLAZY_OR_NOW DL_LAZY
10659 # define LT_DLLAZY_OR_NOW RTLD_NOW
10662 # define LT_DLLAZY_OR_NOW DL_NOW
10664 # define LT_DLLAZY_OR_NOW 0
10672 extern "C" void exit (int);
10675 void fnord() { int i=42;}
10678 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10679 int status = $lt_dlunknown;
10683 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10684 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10685 /* dlclose (self); */
10693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10694 (eval $ac_link) 2>&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10698 (./conftest; exit; ) >&5 2>/dev/null
10700 case x$lt_status in
10701 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10702 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10703 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10706 # compilation failed
10707 lt_cv_dlopen_self=no
10714 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10715 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10717 if test "x$lt_cv_dlopen_self" = xyes; then
10718 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10719 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10720 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10721 if test "${lt_cv_dlopen_self_static+set}" = set; then
10722 echo $ECHO_N "(cached) $ECHO_C" >&6
10724 if test "$cross_compiling" = yes; then :
10725 lt_cv_dlopen_self_static=cross
10727 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10728 lt_status=$lt_dlunknown
10729 cat > conftest.$ac_ext <<EOF
10730 #line 10730 "configure"
10731 #include "confdefs.h"
10740 # define LT_DLGLOBAL RTLD_GLOBAL
10743 # define LT_DLGLOBAL DL_GLOBAL
10745 # define LT_DLGLOBAL 0
10749 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10750 find out it does not work in some platform. */
10751 #ifndef LT_DLLAZY_OR_NOW
10753 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10756 # define LT_DLLAZY_OR_NOW DL_LAZY
10759 # define LT_DLLAZY_OR_NOW RTLD_NOW
10762 # define LT_DLLAZY_OR_NOW DL_NOW
10764 # define LT_DLLAZY_OR_NOW 0
10772 extern "C" void exit (int);
10775 void fnord() { int i=42;}
10778 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10779 int status = $lt_dlunknown;
10783 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10784 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10785 /* dlclose (self); */
10793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10794 (eval $ac_link) 2>&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10798 (./conftest; exit; ) >&5 2>/dev/null
10800 case x$lt_status in
10801 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10802 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10803 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10806 # compilation failed
10807 lt_cv_dlopen_self_static=no
10814 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10815 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10818 CPPFLAGS="$save_CPPFLAGS"
10819 LDFLAGS="$save_LDFLAGS"
10824 case $lt_cv_dlopen_self in
10825 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10826 *) enable_dlopen_self=unknown ;;
10829 case $lt_cv_dlopen_self_static in
10830 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10831 *) enable_dlopen_self_static=unknown ;;
10836 # Report which library types will actually be built
10837 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10838 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10839 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10840 echo "${ECHO_T}$can_build_shared" >&6; }
10842 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10843 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10844 test "$can_build_shared" = "no" && enable_shared=no
10846 # On AIX, shared libraries and static libraries use the same namespace, and
10847 # are all built from PIC.
10850 test "$enable_shared" = yes && enable_static=no
10851 if test -n "$RANLIB"; then
10852 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10853 postinstall_cmds='$RANLIB $lib'
10858 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10859 test "$enable_shared" = yes && enable_static=no
10863 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10864 echo "${ECHO_T}$enable_shared" >&6; }
10866 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10867 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10868 # Make sure either enable_shared or enable_static is yes.
10869 test "$enable_shared" = yes || enable_static=yes
10870 { echo "$as_me:$LINENO: result: $enable_static" >&5
10871 echo "${ECHO_T}$enable_static" >&6; }
10873 # The else clause should only fire when bootstrapping the
10874 # libtool distribution, otherwise you forgot to ship ltmain.sh
10875 # with your package, and you will get complaints that there are
10876 # no rules to generate ltmain.sh.
10877 if test -f "$ltmain"; then
10878 # See if we are running on zsh, and set the options which allow our commands through
10879 # without removal of \ escapes.
10880 if test -n "${ZSH_VERSION+set}" ; then
10881 setopt NO_GLOB_SUBST
10883 # Now quote all the things that may contain metacharacters while being
10884 # careful not to overquote the AC_SUBSTed values. We take copies of the
10885 # variables and quote the copies for generation of the libtool script.
10886 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10888 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10889 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10890 deplibs_check_method reload_flag reload_cmds need_locks \
10891 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10892 lt_cv_sys_global_symbol_to_c_name_address \
10893 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10894 old_postinstall_cmds old_postuninstall_cmds \
10898 lt_prog_compiler_wl \
10899 lt_prog_compiler_pic \
10900 lt_prog_compiler_static \
10901 lt_prog_compiler_no_builtin_flag \
10902 export_dynamic_flag_spec \
10903 thread_safe_flag_spec \
10904 whole_archive_flag_spec \
10905 enable_shared_with_static_runtimes \
10907 old_archive_from_new_cmds \
10912 compiler_lib_search_path \
10913 compiler_lib_search_dirs \
10915 archive_expsym_cmds \
10917 postuninstall_cmds \
10918 old_archive_from_expsyms_cmds \
10919 allow_undefined_flag \
10920 no_undefined_flag \
10921 export_symbols_cmds \
10922 hardcode_libdir_flag_spec \
10923 hardcode_libdir_flag_spec_ld \
10924 hardcode_libdir_separator \
10925 hardcode_automatic \
10927 module_expsym_cmds \
10928 lt_cv_prog_compiler_c_o \
10931 include_expsyms; do
10934 old_archive_cmds | \
10935 old_archive_from_new_cmds | \
10937 archive_expsym_cmds | \
10939 module_expsym_cmds | \
10940 old_archive_from_expsyms_cmds | \
10941 export_symbols_cmds | \
10942 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10943 postinstall_cmds | postuninstall_cmds | \
10944 old_postinstall_cmds | old_postuninstall_cmds | \
10945 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10946 # Double-quote double-evaled strings.
10947 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10950 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10956 *'\$0 --fallback-echo"')
10957 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10961 cfgfile="${ofile}T"
10962 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10964 { echo "$as_me:$LINENO: creating $ofile" >&5
10965 echo "$as_me: creating $ofile" >&6;}
10967 cat <<__EOF__ >> "$cfgfile"
10970 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10971 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10972 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10974 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10975 # Free Software Foundation, Inc.
10977 # This file is part of GNU Libtool:
10978 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10980 # This program is free software; you can redistribute it and/or modify
10981 # it under the terms of the GNU General Public License as published by
10982 # the Free Software Foundation; either version 2 of the License, or
10983 # (at your option) any later version.
10985 # This program is distributed in the hope that it will be useful, but
10986 # WITHOUT ANY WARRANTY; without even the implied warranty of
10987 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10988 # General Public License for more details.
10990 # You should have received a copy of the GNU General Public License
10991 # along with this program; if not, write to the Free Software
10992 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10994 # As a special exception to the GNU General Public License, if you
10995 # distribute this file as part of a program that contains a
10996 # configuration script generated by Autoconf, you may include it under
10997 # the same distribution terms that you use for the rest of that program.
10999 # A sed program that does not truncate output.
11002 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
11003 Xsed="$SED -e 1s/^X//"
11005 # The HP-UX ksh and POSIX shell print the target directory to stdout
11006 # if CDPATH is set.
11007 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11009 # The names of the tagged configurations supported by this script.
11012 # ### BEGIN LIBTOOL CONFIG
11014 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
11016 # Shell to use when invoking shell scripts.
11019 # Whether or not to build shared libraries.
11020 build_libtool_libs=$enable_shared
11022 # Whether or not to build static libraries.
11023 build_old_libs=$enable_static
11025 # Whether or not to add -lc for building shared libraries.
11026 build_libtool_need_lc=$archive_cmds_need_lc
11028 # Whether or not to disallow shared libs when runtime libs are static
11029 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11031 # Whether or not to optimize for fast installation.
11032 fast_install=$enable_fast_install
11035 host_alias=$host_alias
11039 # The build system.
11040 build_alias=$build_alias
11044 # An echo program that does not interpret backslashes.
11049 AR_FLAGS=$lt_AR_FLAGS
11054 # LTCC compiler flags.
11055 LTCFLAGS=$lt_LTCFLAGS
11057 # A language-specific compiler.
11060 # Is the compiler the GNU C compiler?
11066 # The linker used to build libraries.
11069 # Whether we need hard or soft links.
11072 # A BSD-compatible nm program.
11075 # A symbol stripping program
11078 # Used to examine libraries when file_magic_cmd begins "file"
11079 MAGIC_CMD=$MAGIC_CMD
11081 # Used on cygwin: DLL creation program.
11084 # Used on cygwin: object dumper.
11087 # Used on cygwin: assembler.
11090 # The name of the directory that contains temporary libtool files.
11093 # How to create reloadable object files.
11094 reload_flag=$lt_reload_flag
11095 reload_cmds=$lt_reload_cmds
11097 # How to pass a linker flag through the compiler.
11098 wl=$lt_lt_prog_compiler_wl
11100 # Object file suffix (normally "o").
11101 objext="$ac_objext"
11103 # Old archive suffix (normally "a").
11106 # Shared library suffix (normally ".so").
11107 shrext_cmds='$shrext_cmds'
11109 # Executable file suffix (normally "").
11112 # Additional compiler flags for building library objects.
11113 pic_flag=$lt_lt_prog_compiler_pic
11116 # What is the maximum length of a command?
11117 max_cmd_len=$lt_cv_sys_max_cmd_len
11119 # Does compiler simultaneously support -c and -o options?
11120 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11122 # Must we lock files when doing compilation?
11123 need_locks=$lt_need_locks
11125 # Do we need the lib prefix for modules?
11126 need_lib_prefix=$need_lib_prefix
11128 # Do we need a version for libraries?
11129 need_version=$need_version
11131 # Whether dlopen is supported.
11132 dlopen_support=$enable_dlopen
11134 # Whether dlopen of programs is supported.
11135 dlopen_self=$enable_dlopen_self
11137 # Whether dlopen of statically linked programs is supported.
11138 dlopen_self_static=$enable_dlopen_self_static
11140 # Compiler flag to prevent dynamic linking.
11141 link_static_flag=$lt_lt_prog_compiler_static
11143 # Compiler flag to turn off builtin functions.
11144 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11146 # Compiler flag to allow reflexive dlopens.
11147 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11149 # Compiler flag to generate shared objects directly from archives.
11150 whole_archive_flag_spec=$lt_whole_archive_flag_spec
11152 # Compiler flag to generate thread-safe objects.
11153 thread_safe_flag_spec=$lt_thread_safe_flag_spec
11155 # Library versioning type.
11156 version_type=$version_type
11158 # Format of library name prefix.
11159 libname_spec=$lt_libname_spec
11161 # List of archive names. First name is the real one, the rest are links.
11162 # The last name is the one that the linker finds with -lNAME.
11163 library_names_spec=$lt_library_names_spec
11165 # The coded name of the library, if different from the real name.
11166 soname_spec=$lt_soname_spec
11168 # Commands used to build and install an old-style archive.
11170 old_archive_cmds=$lt_old_archive_cmds
11171 old_postinstall_cmds=$lt_old_postinstall_cmds
11172 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11174 # Create an old-style archive from a shared archive.
11175 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11177 # Create a temporary old-style archive to link instead of a shared archive.
11178 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11180 # Commands used to build and install a shared archive.
11181 archive_cmds=$lt_archive_cmds
11182 archive_expsym_cmds=$lt_archive_expsym_cmds
11183 postinstall_cmds=$lt_postinstall_cmds
11184 postuninstall_cmds=$lt_postuninstall_cmds
11186 # Commands used to build a loadable module (assumed same as above if empty)
11187 module_cmds=$lt_module_cmds
11188 module_expsym_cmds=$lt_module_expsym_cmds
11190 # Commands to strip libraries.
11191 old_striplib=$lt_old_striplib
11192 striplib=$lt_striplib
11194 # Dependencies to place before the objects being linked to create a
11196 predep_objects=$lt_predep_objects
11198 # Dependencies to place after the objects being linked to create a
11200 postdep_objects=$lt_postdep_objects
11202 # Dependencies to place before the objects being linked to create a
11204 predeps=$lt_predeps
11206 # Dependencies to place after the objects being linked to create a
11208 postdeps=$lt_postdeps
11210 # The directories searched by this compiler when creating a shared
11212 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11214 # The library search path used internally by the compiler when linking
11215 # a shared library.
11216 compiler_lib_search_path=$lt_compiler_lib_search_path
11218 # Method to check whether dependent libraries are shared objects.
11219 deplibs_check_method=$lt_deplibs_check_method
11221 # Command to use when deplibs_check_method == file_magic.
11222 file_magic_cmd=$lt_file_magic_cmd
11224 # Flag that allows shared libraries with undefined symbols to be built.
11225 allow_undefined_flag=$lt_allow_undefined_flag
11227 # Flag that forces no undefined symbols.
11228 no_undefined_flag=$lt_no_undefined_flag
11230 # Commands used to finish a libtool library installation in a directory.
11231 finish_cmds=$lt_finish_cmds
11233 # Same as above, but a single script fragment to be evaled but not shown.
11234 finish_eval=$lt_finish_eval
11236 # Take the output of nm and produce a listing of raw symbols and C names.
11237 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11239 # Transform the output of nm in a proper C declaration
11240 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11242 # Transform the output of nm in a C name address pair
11243 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11245 # This is the shared library runtime path variable.
11246 runpath_var=$runpath_var
11248 # This is the shared library path variable.
11249 shlibpath_var=$shlibpath_var
11251 # Is shlibpath searched before the hard-coded library search path?
11252 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11254 # How to hardcode a shared library path into an executable.
11255 hardcode_action=$hardcode_action
11257 # Whether we should hardcode library paths into libraries.
11258 hardcode_into_libs=$hardcode_into_libs
11260 # Flag to hardcode \$libdir into a binary during linking.
11261 # This must work even if \$libdir does not exist.
11262 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11264 # If ld is used when linking, flag to hardcode \$libdir into
11265 # a binary during linking. This must work even if \$libdir does
11267 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11269 # Whether we need a single -rpath flag with a separated argument.
11270 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11272 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11273 # resulting binary.
11274 hardcode_direct=$hardcode_direct
11276 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11277 # resulting binary.
11278 hardcode_minus_L=$hardcode_minus_L
11280 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11281 # the resulting binary.
11282 hardcode_shlibpath_var=$hardcode_shlibpath_var
11284 # Set to yes if building a shared library automatically hardcodes DIR into the library
11285 # and all subsequent libraries and executables linked against it.
11286 hardcode_automatic=$hardcode_automatic
11288 # Variables whose values should be saved in libtool wrapper scripts and
11289 # restored at relink time.
11290 variables_saved_for_relink="$variables_saved_for_relink"
11292 # Whether libtool must link a program against all its dependency libraries.
11293 link_all_deplibs=$link_all_deplibs
11295 # Compile-time system search path for libraries
11296 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11298 # Run-time system search path for libraries
11299 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11301 # Fix the shell variable \$srcfile for the compiler.
11302 fix_srcfile_path=$lt_fix_srcfile_path
11304 # Set to yes if exported symbols are required.
11305 always_export_symbols=$always_export_symbols
11307 # The commands to list exported symbols.
11308 export_symbols_cmds=$lt_export_symbols_cmds
11310 # The commands to extract the exported symbol list from a shared archive.
11311 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11313 # Symbols that should not be listed in the preloaded symbols.
11314 exclude_expsyms=$lt_exclude_expsyms
11316 # Symbols that must always be exported.
11317 include_expsyms=$lt_include_expsyms
11319 # ### END LIBTOOL CONFIG
11326 cat <<\EOF >> "$cfgfile"
11328 # AIX sometimes has problems with the GCC collect2 program. For some
11329 # reason, if we set the COLLECT_NAMES environment variable, the problems
11330 # vanish in a puff of smoke.
11331 if test "X${COLLECT_NAMES+set}" != Xset; then
11333 export COLLECT_NAMES
11339 # We use sed instead of cat because bash on DJGPP gets confused if
11340 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11341 # text mode, it properly converts lines to CR/LF. This bash problem
11342 # is reportedly fixed, but why not run on old versions too?
11343 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11345 mv -f "$cfgfile" "$ofile" || \
11346 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11350 # If there is no Makefile yet, we rely on a make rule to execute
11351 # `config.status
--recheck' to rerun these tests and create the
11352 # libtool script then.
11353 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11354 if test -f "$ltmain_in"; then
11355 test -f Makefile && make "$ltmain"
11361 ac_cpp='$CPP $CPPFLAGS'
11362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11363 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11369 # Check whether --with-tags was given.
11370 if test "${with_tags+set}" = set; then
11371 withval=$with_tags; tagnames="$withval"
11375 if test -f "$ltmain" && test -n "$tagnames"; then
11376 if test ! -f "${ofile}"; then
11377 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11378 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11381 if test -z "$LTCC"; then
11382 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11383 if test -z "$LTCC"; then
11384 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11385 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11387 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11388 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11391 if test -z "$LTCFLAGS"; then
11392 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11395 # Extract list of available tagged configurations in $ofile.
11396 # Note that this assumes the entire list is on one line.
11397 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11399 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11400 for tagname in $tagnames; do
11402 # Check whether tagname contains only valid characters
11403 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11405 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11406 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11407 { (exit 1); exit 1; }; }
11411 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11413 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11414 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11415 { (exit 1); exit 1; }; }
11418 # Update the list of available tags.
11419 if test -n "$tagname"; then
11420 echo appending configuration tag \"$tagname\" to $ofile
11424 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11425 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11426 (test "X$CXX" != "Xg++"))) ; then
11428 ac_cpp='$CXXCPP $CPPFLAGS'
11429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11436 archive_cmds_need_lc_CXX=no
11437 allow_undefined_flag_CXX=
11438 always_export_symbols_CXX=no
11439 archive_expsym_cmds_CXX=
11440 export_dynamic_flag_spec_CXX=
11441 hardcode_direct_CXX=no
11442 hardcode_libdir_flag_spec_CXX=
11443 hardcode_libdir_flag_spec_ld_CXX=
11444 hardcode_libdir_separator_CXX=
11445 hardcode_minus_L_CXX=no
11446 hardcode_shlibpath_var_CXX=unsupported
11447 hardcode_automatic_CXX=no
11449 module_expsym_cmds_CXX=
11450 link_all_deplibs_CXX=unknown
11451 old_archive_cmds_CXX=$old_archive_cmds
11452 no_undefined_flag_CXX=
11453 whole_archive_flag_spec_CXX=
11454 enable_shared_with_static_runtimes_CXX=no
11456 # Dependencies to place before and after the object being linked:
11457 predep_objects_CXX=
11458 postdep_objects_CXX=
11461 compiler_lib_search_path_CXX=
11462 compiler_lib_search_dirs_CXX=
11464 # Source file extension for C++ test sources.
11467 # Object file extension for compiled C++ test sources.
11471 # Code to be used in simple compile tests
11472 lt_simple_compile_test_code="int some_variable = 0;"
11474 # Code to be used in simple link tests
11475 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11477 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11479 # If no C compiler was specified, use CC.
11482 # If no C compiler flags were specified, use CFLAGS.
11483 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11485 # Allow CC to be a program name with arguments.
11489 # save warnings/boilerplate of simple test code
11490 ac_outfile=conftest.$ac_objext
11491 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11492 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11493 _lt_compiler_boilerplate=`cat conftest.err
`
11496 ac_outfile=conftest.$ac_objext
11497 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11498 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11499 _lt_linker_boilerplate=`cat conftest.err
`
11503 # Allow CC to be a program name with arguments.
11508 lt_save_with_gnu_ld=$with_gnu_ld
11509 lt_save_path_LD=$lt_cv_path_LD
11510 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11511 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11513 $as_unset lt_cv_prog_gnu_ld
11515 if test -n "${lt_cv_path_LDCXX+set}"; then
11516 lt_cv_path_LD=$lt_cv_path_LDCXX
11518 $as_unset lt_cv_path_LD
11520 test -z "${LDCXX+set}" || LD=$LDCXX
11524 for cc_temp in $compiler""; do
11526 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11527 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11532 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11535 # We don't want -fno-exception wen compiling C++ code, so set the
11536 # no_builtin_flag separately
11537 if test "$GXX" = yes; then
11538 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11540 lt_prog_compiler_no_builtin_flag_CXX=
11543 if test "$GXX" = yes; then
11544 # Set up default GNU C++ configuration
11547 # Check whether --with-gnu-ld was given.
11548 if test "${with_gnu_ld+set}" = set; then
11549 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11555 if test "$GCC" = yes; then
11556 # Check if gcc -print-prog-name=ld gives a path.
11557 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11558 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11561 # gcc leaves a trailing carriage return which upsets mingw
11562 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11564 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11567 # Accept absolute paths.
11569 re_direlt='/[^/][^/]*/\.\./'
11570 # Canonicalize the pathname of ld
11571 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11572 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11573 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11575 test -z "$LD" && LD="$ac_prog"
11578 # If it fails, then pretend we aren't using GCC.
11582 # If it is relative, then search for the first ld in PATH.
11583 with_gnu_ld=unknown
11586 elif test "$with_gnu_ld" = yes; then
11587 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11588 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11590 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11591 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11593 if test "${lt_cv_path_LD+set}" = set; then
11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11596 if test -z "$LD"; then
11597 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11598 for ac_dir in $PATH; do
11600 test -z "$ac_dir" && ac_dir=.
11601 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11602 lt_cv_path_LD="$ac_dir/$ac_prog"
11603 # Check to see if the program is GNU ld. I'd rather use --version,
11604 # but apparently some variants of GNU ld only accept -v.
11605 # Break only if it was the GNU/non-GNU ld that we prefer.
11606 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11607 *GNU* | *'with BFD'*)
11608 test "$with_gnu_ld" != no && break
11611 test "$with_gnu_ld" != yes && break
11618 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11622 LD="$lt_cv_path_LD"
11623 if test -n "$LD"; then
11624 { echo "$as_me:$LINENO: result: $LD" >&5
11625 echo "${ECHO_T}$LD" >&6; }
11627 { echo "$as_me:$LINENO: result: no" >&5
11628 echo "${ECHO_T}no" >&6; }
11630 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11631 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11632 { (exit 1); exit 1; }; }
11633 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11634 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11635 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11636 echo $ECHO_N "(cached) $ECHO_C" >&6
11638 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11639 case `$LD -v 2>&1 </dev
/null
` in
11640 *GNU* | *'with BFD'*)
11641 lt_cv_prog_gnu_ld=yes
11644 lt_cv_prog_gnu_ld=no
11648 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11649 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11650 with_gnu_ld=$lt_cv_prog_gnu_ld
11654 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11655 # archiving commands below assume that GNU ld is being used.
11656 if test "$with_gnu_ld" = yes; then
11657 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11658 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'
11660 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11661 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11663 # If archive_cmds runs LD, not CC, wlarc should be empty
11664 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11665 # investigate it a little bit more. (MM)
11668 # ancient GNU ld didn't support --whole-archive et. al.
11669 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11670 grep 'no-whole-archive' > /dev/null; then
11671 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11673 whole_archive_flag_spec_CXX=
11679 # A generic and very simple default shared library creation
11680 # command for GNU C++ for the case where it uses the native
11681 # linker, instead of GNU ld. If possible, this setting should
11682 # overridden to take advantage of the native linker features on
11683 # the platform it is being used on.
11684 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11687 # Commands to make compiler produce verbose output that lists
11688 # what "hidden" libraries, object files and flags are used when
11689 # linking a shared library.
11690 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11698 # PORTME: fill in a description of your system's C++ link characteristics
11699 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11700 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11704 # FIXME: insert proper C++ library support
11708 if test "$host_cpu" = ia64; then
11709 # On IA64, the linker does run time linking by default, so we don't
11710 # have to do anything special.
11711 aix_use_runtimelinking=no
11712 exp_sym_flag='-Bexport'
11715 aix_use_runtimelinking=no
11717 # Test if we are trying to use run time linking or normal
11718 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11719 # need to do runtime linking.
11720 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11721 for ld_flag in $LDFLAGS; do
11724 aix_use_runtimelinking=yes
11732 exp_sym_flag='-bexport'
11733 no_entry_flag='-bnoentry'
11736 # When large executables or shared objects are built, AIX ld can
11737 # have problems creating the table of contents. If linking a library
11738 # or program results in "error TOC overflow" add -mminimal-toc to
11739 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11740 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11742 archive_cmds_CXX=''
11743 hardcode_direct_CXX=yes
11744 hardcode_libdir_separator_CXX=':'
11745 link_all_deplibs_CXX=yes
11747 if test "$GXX" = yes; then
11748 case $host_os in aix4.[012]|aix4.[012].*)
11749 # We only want to do this on AIX 4.2 and lower, the check
11750 # below for broken collect2 doesn't work under 4.3+
11751 collect2name=`${CC} -print-prog-name=collect2
`
11752 if test -f "$collect2name" && \
11753 strings "$collect2name" | grep resolve_lib_name >/dev/null
11755 # We have reworked collect2
11758 # We have old collect2
11759 hardcode_direct_CXX=unsupported
11760 # It fails to find uninstalled libraries when the uninstalled
11761 # path is not listed in the libpath. Setting hardcode_minus_L
11762 # to unsupported forces relinking
11763 hardcode_minus_L_CXX=yes
11764 hardcode_libdir_flag_spec_CXX='-L$libdir'
11765 hardcode_libdir_separator_CXX=
11769 shared_flag='-shared'
11770 if test "$aix_use_runtimelinking" = yes; then
11771 shared_flag="$shared_flag "'${wl}-G'
11775 if test "$host_cpu" = ia64; then
11776 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11777 # chokes on -Wl,-G. The following line is correct:
11780 if test "$aix_use_runtimelinking" = yes; then
11781 shared_flag='${wl}-G'
11783 shared_flag='${wl}-bM:SRE'
11788 # It seems that -bexpall does not export symbols beginning with
11789 # underscore (_), so it is better to generate a list of symbols to export.
11790 always_export_symbols_CXX=yes
11791 if test "$aix_use_runtimelinking" = yes; then
11792 # Warning - without using the other runtime loading flags (-brtl),
11793 # -berok will link without error, but may produce a broken library.
11794 allow_undefined_flag_CXX='-berok'
11795 # Determine the default libpath from the value encoded in an empty executable.
11796 cat >conftest.$ac_ext <<_ACEOF
11799 cat confdefs.h >>conftest.$ac_ext
11800 cat >>conftest.$ac_ext <<_ACEOF
11801 /* end confdefs.h. */
11811 rm -f conftest.$ac_objext conftest$ac_exeext
11812 if { (ac_try="$ac_link"
11813 case "(($ac_try" in
11814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11815 *) ac_try_echo
=$ac_try;;
11817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11818 (eval "$ac_link") 2>conftest.er1
11820 grep -v '^ *+' conftest.er1
>conftest.err
11822 cat conftest.err
>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); } && {
11825 test -z "$ac_cxx_werror_flag" ||
11826 test ! -s conftest.err
11827 } && test -s conftest
$ac_exeext &&
11828 $as_test_x conftest
$ac_exeext; then
11830 lt_aix_libpath_sed
='
11831 /Import File Strings/,/^$/ {
11837 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11838 # Check for a 64-bit object if we didn't find anything.
11839 if test -z "$aix_libpath"; then
11840 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11843 echo "$as_me: failed program was:" >&5
11844 sed 's/^/| /' conftest.
$ac_ext >&5
11849 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11850 conftest
$ac_exeext conftest.
$ac_ext
11851 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11853 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11855 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"
11857 if test "$host_cpu" = ia64
; then
11858 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11859 allow_undefined_flag_CXX
="-z nodefs"
11860 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"
11862 # Determine the default libpath from the value encoded in an empty executable.
11863 cat >conftest.
$ac_ext <<_ACEOF
11866 cat confdefs.h
>>conftest.
$ac_ext
11867 cat >>conftest.
$ac_ext <<_ACEOF
11868 /* end confdefs.h. */
11878 rm -f conftest.
$ac_objext conftest
$ac_exeext
11879 if { (ac_try
="$ac_link"
11880 case "(($ac_try" in
11881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11882 *) ac_try_echo=$ac_try;;
11884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11885 (eval "$ac_link") 2>conftest.er1
11887 grep -v '^ *+' conftest.er1 >conftest.err
11889 cat conftest.err >&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); } && {
11892 test -z "$ac_cxx_werror_flag" ||
11893 test ! -s conftest.err
11894 } && test -s conftest$ac_exeext &&
11895 $as_test_x conftest$ac_exeext; then
11897 lt_aix_libpath_sed='
11898 /Import File Strings/,/^$/ {
11904 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11905 # Check for a 64-bit object if we didn't find anything.
11906 if test -z "$aix_libpath"; then
11907 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11910 echo "$as_me: failed program was:" >&5
11911 sed 's/^/| /' conftest.$ac_ext >&5
11916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11917 conftest$ac_exeext conftest.$ac_ext
11918 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11920 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11921 # Warning - without using the other run time loading flags,
11922 # -berok will link without error, but may produce a broken library.
11923 no_undefined_flag_CXX=' ${wl}-bernotok'
11924 allow_undefined_flag_CXX=' ${wl}-berok'
11925 # Exported symbols can be pulled into shared objects from archives
11926 whole_archive_flag_spec_CXX='$convenience'
11927 archive_cmds_need_lc_CXX=yes
11928 # This is similar to how AIX traditionally builds its shared libraries.
11929 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'
11935 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11936 allow_undefined_flag_CXX=unsupported
11937 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11938 # support --undefined. This deserves some investigation. FIXME
11939 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11946 case $cc_basename in
11948 # FIXME: insert proper C++ library support
11954 cygwin* | mingw* | pw32*)
11955 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11956 # as there is no search path for DLLs.
11957 hardcode_libdir_flag_spec_CXX='-L$libdir'
11958 allow_undefined_flag_CXX=unsupported
11959 always_export_symbols_CXX=no
11960 enable_shared_with_static_runtimes_CXX=yes
11962 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11963 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'
11964 # If the export-symbols file already is a .def file (1st line
11965 # is EXPORTS), use it as is; otherwise, prepend...
11966 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11967 cp $export_symbols $output_objdir/$soname.def;
11969 echo EXPORTS > $output_objdir/$soname.def;
11970 cat $export_symbols >> $output_objdir/$soname.def;
11972 $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'
11977 darwin* | rhapsody*)
11978 archive_cmds_need_lc_CXX=no
11979 hardcode_direct_CXX=no
11980 hardcode_automatic_CXX=yes
11981 hardcode_shlibpath_var_CXX=unsupported
11982 whole_archive_flag_spec_CXX=''
11983 link_all_deplibs_CXX=yes
11984 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11985 if test "$GXX" = yes ; then
11986 output_verbose_link_cmd='echo'
11987 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11988 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11989 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11990 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11991 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11992 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${_lt_dsymutil}"
11993 archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
11996 case $cc_basename in
11998 output_verbose_link_cmd='echo'
11999 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'
12000 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12001 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12002 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}'
12003 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}'
12013 case $cc_basename in
12015 # FIXME: insert proper C++ library support
12019 # Green Hills C++ Compiler
12020 # FIXME: insert proper C++ library support
12024 # FIXME: insert proper C++ library support
12030 # C++ shared libraries reported to be fairly broken before switch to ELF
12034 archive_cmds_need_lc_CXX=no
12036 freebsd* | dragonfly*)
12037 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12044 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12045 hardcode_libdir_separator_CXX=:
12046 export_dynamic_flag_spec_CXX='${wl}-E'
12047 hardcode_direct_CXX=yes
12048 hardcode_minus_L_CXX=yes # Not in the search PATH,
12049 # but as the default
12050 # location of the library.
12052 case $cc_basename in
12054 # FIXME: insert proper C++ library support
12058 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'
12059 # Commands to make compiler produce verbose output that lists
12060 # what "hidden" libraries, object files and flags are used when
12061 # linking a shared library.
12063 # There doesn't appear to be a way to prevent this compiler from
12064 # explicitly linking system object files so we need to strip them
12065 # from the output so that they don't get included in the library
12067 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'
12070 if test "$GXX" = yes; then
12071 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'
12073 # FIXME: insert proper C++ library support
12080 if test $with_gnu_ld = no; then
12081 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12082 hardcode_libdir_separator_CXX=:
12087 export_dynamic_flag_spec_CXX='${wl}-E'
12093 hardcode_direct_CXX=no
12094 hardcode_shlibpath_var_CXX=no
12097 hardcode_direct_CXX=yes
12098 hardcode_minus_L_CXX=yes # Not in the search PATH,
12099 # but as the default
12100 # location of the library.
12104 case $cc_basename in
12106 # FIXME: insert proper C++ library support
12112 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12115 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12118 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12121 # Commands to make compiler produce verbose output that lists
12122 # what "hidden" libraries, object files and flags are used when
12123 # linking a shared library.
12125 # There doesn't appear to be a way to prevent this compiler from
12126 # explicitly linking system object files so we need to strip them
12127 # from the output so that they don't get included in the library
12129 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'
12132 if test "$GXX" = yes; then
12133 if test $with_gnu_ld = no; then
12136 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12139 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12142 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'
12147 # FIXME: insert proper C++ library support
12154 hardcode_direct_CXX=no
12155 hardcode_shlibpath_var_CXX=no
12156 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12157 export_dynamic_flag_spec_CXX='${wl}-E'
12158 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12159 # Instead, shared libraries are loaded at an image base (0x10000000 by
12160 # default) and relocated if they conflict, which is a slow very memory
12161 # consuming and fragmenting process. To avoid this, we pick a random,
12162 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12163 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12164 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'
12165 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'
12168 case $cc_basename in
12171 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'
12173 # Archives containing C++ object files must be created using
12174 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12175 # necessary to make sure instantiated templates are included
12177 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12180 if test "$GXX" = yes; then
12181 if test "$with_gnu_ld" = no; then
12182 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'
12184 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'
12187 link_all_deplibs_CXX=yes
12190 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12191 hardcode_libdir_separator_CXX=:
12193 linux* | k*bsd*-gnu)
12194 case $cc_basename in
12196 # Kuck and Associates, Inc. (KAI) C++ Compiler
12198 # KCC will only create a shared library if the output file
12199 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12200 # to its proper name (with version) after linking.
12201 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'
12202 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'
12203 # Commands to make compiler produce verbose output that lists
12204 # what "hidden" libraries, object files and flags are used when
12205 # linking a shared library.
12207 # There doesn't appear to be a way to prevent this compiler from
12208 # explicitly linking system object files so we need to strip them
12209 # from the output so that they don't get included in the library
12211 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'
12213 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
12214 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12216 # Archives containing C++ object files must be created using
12217 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12218 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12223 # version 8.0 and above of icpc choke on multiply defined symbols
12224 # if we add $predep_objects and $postdep_objects, however 7.1 and
12225 # earlier do not add the objects themselves.
12226 case `$CC -V 2>&1` in
12228 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12229 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'
12231 *) # Version 8.0 or newer
12234 ia64
*) tmp_idyn
=' -i_dynamic';;
12236 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12237 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'
12240 archive_cmds_need_lc_CXX
=no
12241 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12242 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12243 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12246 # Portland Group C++ compiler
12247 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12248 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'
12250 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12251 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12252 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'
12256 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12257 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'
12259 runpath_var
=LD_RUN_PATH
12260 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12261 hardcode_libdir_separator_CXX
=:
12263 # Commands to make compiler produce verbose output that lists
12264 # what "hidden" libraries, object files and flags are used when
12265 # linking a shared library.
12267 # There doesn't appear to be a way to prevent this compiler from
12268 # explicitly linking system object files so we need to strip them
12269 # from the output so that they don't get included in the library
12271 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'
12274 case `$CC -V 2>&1 | sed 5q` in
12277 no_undefined_flag_CXX
=' -zdefs'
12278 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12279 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'
12280 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12281 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'
12283 # Not sure whether something based on
12284 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12286 output_verbose_link_cmd
='echo'
12288 # Archives containing C++ object files must be created using
12289 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12290 # necessary to make sure instantiated templates are included
12292 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12299 # FIXME: insert proper C++ library support
12303 # FIXME: insert proper C++ library support
12307 case $cc_basename in
12309 # FIXME: insert proper C++ library support
12313 # FIXME: insert proper C++ library support
12318 netbsd
* | netbsdelf
*-gnu)
12319 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12320 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12322 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12323 hardcode_direct_CXX
=yes
12324 hardcode_shlibpath_var_CXX
=no
12326 # Workaround some broken pre-1.5 toolchains
12327 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12330 # C++ shared libraries are fairly broken
12334 if test -f /usr
/libexec
/ld.so
; then
12335 hardcode_direct_CXX
=yes
12336 hardcode_shlibpath_var_CXX
=no
12337 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12338 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12339 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12340 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12341 export_dynamic_flag_spec_CXX
='${wl}-E'
12342 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12344 output_verbose_link_cmd
='echo'
12350 case $cc_basename in
12352 # Kuck and Associates, Inc. (KAI) C++ Compiler
12354 # KCC will only create a shared library if the output file
12355 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12356 # to its proper name (with version) after linking.
12357 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'
12359 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12360 hardcode_libdir_separator_CXX
=:
12362 # Archives containing C++ object files must be created using
12363 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12364 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12368 # Rational C++ 2.4.1
12369 # FIXME: insert proper C++ library support
12373 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12374 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'
12376 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12377 hardcode_libdir_separator_CXX
=:
12379 # Commands to make compiler produce verbose output that lists
12380 # what "hidden" libraries, object files and flags are used when
12381 # linking a shared library.
12383 # There doesn't appear to be a way to prevent this compiler from
12384 # explicitly linking system object files so we need to strip them
12385 # from the output so that they don't get included in the library
12387 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'
12390 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12391 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12392 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'
12394 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12395 hardcode_libdir_separator_CXX
=:
12397 # Commands to make compiler produce verbose output that lists
12398 # what "hidden" libraries, object files and flags are used when
12399 # linking a shared library.
12400 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12403 # FIXME: insert proper C++ library support
12410 case $cc_basename in
12412 # Kuck and Associates, Inc. (KAI) C++ Compiler
12414 # KCC will only create a shared library if the output file
12415 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12416 # to its proper name (with version) after linking.
12417 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'
12419 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12420 hardcode_libdir_separator_CXX
=:
12422 # Archives containing C++ object files must be created using
12423 # the KAI C++ compiler.
12424 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12427 # Rational C++ 2.4.1
12428 # FIXME: insert proper C++ library support
12432 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12433 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'
12434 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12435 echo "-hidden">> $lib.exp~
12436 $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~
12439 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12440 hardcode_libdir_separator_CXX
=:
12442 # Commands to make compiler produce verbose output that lists
12443 # what "hidden" libraries, object files and flags are used when
12444 # linking a shared library.
12446 # There doesn't appear to be a way to prevent this compiler from
12447 # explicitly linking system object files so we need to strip them
12448 # from the output so that they don't get included in the library
12450 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'
12453 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12454 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12455 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'
12457 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12458 hardcode_libdir_separator_CXX
=:
12460 # Commands to make compiler produce verbose output that lists
12461 # what "hidden" libraries, object files and flags are used when
12462 # linking a shared library.
12463 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12466 # FIXME: insert proper C++ library support
12473 # FIXME: insert proper C++ library support
12477 case $cc_basename in
12480 # FIXME: insert proper C++ library support
12485 # FIXME: insert proper C++ library support
12489 # FIXME: insert proper C++ library support
12495 case $cc_basename in
12497 # Sun C++ 4.2, 5.x and Centerline C++
12498 archive_cmds_need_lc_CXX
=yes
12499 no_undefined_flag_CXX
=' -zdefs'
12500 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12501 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12502 $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'
12504 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12505 hardcode_shlibpath_var_CXX
=no
12507 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12509 # The compiler driver will combine and reorder linker options,
12510 # but understands `-z linker_flag'.
12511 # Supported since Solaris 2.6 (maybe 2.5.1?)
12512 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12515 link_all_deplibs_CXX
=yes
12517 output_verbose_link_cmd
='echo'
12519 # Archives containing C++ object files must be created using
12520 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12521 # necessary to make sure instantiated templates are included
12523 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12526 # Green Hills C++ Compiler
12527 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12529 # The C++ compiler must be used to create the archive.
12530 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12533 # GNU C++ compiler with Solaris linker
12534 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12535 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12536 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12537 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12538 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12539 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12541 # Commands to make compiler produce verbose output that lists
12542 # what "hidden" libraries, object files and flags are used when
12543 # linking a shared library.
12544 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12546 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12548 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12549 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12550 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12552 # Commands to make compiler produce verbose output that lists
12553 # what "hidden" libraries, object files and flags are used when
12554 # linking a shared library.
12555 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12558 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12560 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12562 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12569 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12570 no_undefined_flag_CXX
='${wl}-z,text'
12571 archive_cmds_need_lc_CXX
=no
12572 hardcode_shlibpath_var_CXX
=no
12573 runpath_var
='LD_RUN_PATH'
12575 case $cc_basename in
12577 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12578 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12581 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12582 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12586 sysv5
* | sco3.2v5
* | sco5v6
*)
12587 # Note: We can NOT use -z defs as we might desire, because we do not
12588 # link with -lc, and that would cause any symbols used from libc to
12589 # always be unresolved, which means just about no library would
12590 # ever link correctly. If we're not using GNU ld we use -z text
12591 # though, which does catch some bad symbols but isn't as heavy-handed
12593 # For security reasons, it is highly recommended that you always
12594 # use absolute paths for naming shared libraries, and exclude the
12595 # DT_RUNPATH tag from executables and libraries. But doing so
12596 # requires that you compile everything twice, which is a pain.
12597 # So that behaviour is only enabled if SCOABSPATH is set to a
12598 # non-empty value in the environment. Most likely only useful for
12599 # creating official distributions of packages.
12600 # This is a hack until libtool officially supports absolute path
12601 # names for shared libraries.
12602 no_undefined_flag_CXX
='${wl}-z,text'
12603 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12604 archive_cmds_need_lc_CXX
=no
12605 hardcode_shlibpath_var_CXX
=no
12606 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12607 hardcode_libdir_separator_CXX
=':'
12608 link_all_deplibs_CXX
=yes
12609 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12610 runpath_var
='LD_RUN_PATH'
12612 case $cc_basename in
12614 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12615 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12618 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12619 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12624 case $cc_basename in
12626 # NonStop-UX NCC 3.20
12627 # FIXME: insert proper C++ library support
12631 # FIXME: insert proper C++ library support
12637 # FIXME: insert proper C++ library support
12641 # FIXME: insert proper C++ library support
12645 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12646 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12647 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12652 cat > conftest.
$ac_ext <<EOF
12656 Foo (void) { a = 0; }
12662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12663 (eval $ac_compile) 2>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; then
12667 # Parse the compiler output and extract the necessary
12668 # objects, libraries and library flags.
12670 # Sentinel used to keep track of whether or not we are before
12671 # the conftest object file.
12672 pre_test_object_deps_done
=no
12674 # The `*' in the case matches for architectures that use `case' in
12675 # $output_verbose_cmd can trigger glob expansion during the loop
12676 # eval without this substitution.
12677 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12679 for p
in `eval $output_verbose_link_cmd`; do
12683 # Some compilers place space between "-{L,R}" and the path.
12684 # Remove the space.
12685 if test $p = "-L" \
12686 ||
test $p = "-R"; then
12693 if test "$pre_test_object_deps_done" = no
; then
12696 # Internal compiler library paths should come after those
12697 # provided the user. The postdeps already come after the
12698 # user supplied libs so there is no need to process them.
12699 if test -z "$compiler_lib_search_path_CXX"; then
12700 compiler_lib_search_path_CXX
="${prev}${p}"
12702 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12705 # The "-l" case would never come before the object being
12706 # linked, so don't bother handling this case.
12709 if test -z "$postdeps_CXX"; then
12710 postdeps_CXX
="${prev}${p}"
12712 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12718 # This assumes that the test object file only shows up
12719 # once in the compiler output.
12720 if test "$p" = "conftest.$objext"; then
12721 pre_test_object_deps_done
=yes
12725 if test "$pre_test_object_deps_done" = no
; then
12726 if test -z "$predep_objects_CXX"; then
12727 predep_objects_CXX
="$p"
12729 predep_objects_CXX
="$predep_objects_CXX $p"
12732 if test -z "$postdep_objects_CXX"; then
12733 postdep_objects_CXX
="$p"
12735 postdep_objects_CXX
="$postdep_objects_CXX $p"
12740 *) ;; # Ignore the rest.
12748 echo "libtool.m4: error: problem compiling CXX test program"
12751 $rm -f confest.
$objext
12753 compiler_lib_search_dirs_CXX
=
12754 if test -n "$compiler_lib_search_path_CXX"; then
12755 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12758 # PORTME: override above test on systems where it is broken
12761 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12762 # hack all around it, let's just trust "g++" to DTRT.
12763 predep_objects_CXX
=
12764 postdep_objects_CXX
=
12769 case `$CC -V 2>&1 | sed 5q` in
12773 # The more standards-conforming stlport4 library is
12774 # incompatible with the Cstd library. Avoid specifying
12775 # it if it's in CXXFLAGS. Ignore libCrun as
12776 # -library=stlport4 depends on it.
12777 case " $CXX $CXXFLAGS " in
12778 *" -library=stlport4 "*)
12779 solaris_use_stlport4
=yes
12782 if test "$solaris_use_stlport4" != yes; then
12783 postdeps_CXX
='-library=Cstd -library=Crun'
12790 case $cc_basename in
12792 # The more standards-conforming stlport4 library is
12793 # incompatible with the Cstd library. Avoid specifying
12794 # it if it's in CXXFLAGS. Ignore libCrun as
12795 # -library=stlport4 depends on it.
12796 case " $CXX $CXXFLAGS " in
12797 *" -library=stlport4 "*)
12798 solaris_use_stlport4
=yes
12802 # Adding this requires a known-good setup of shared libraries for
12803 # Sun compiler versions before 5.6, else PIC objects from an old
12804 # archive will be linked into the output, leading to subtle bugs.
12805 if test "$solaris_use_stlport4" != yes; then
12806 postdeps_CXX
='-library=Cstd -library=Crun'
12813 case " $postdeps_CXX " in
12814 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12817 lt_prog_compiler_wl_CXX
=
12818 lt_prog_compiler_pic_CXX
=
12819 lt_prog_compiler_static_CXX
=
12821 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12822 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12824 # C++ specific cases for pic, static, wl, etc.
12825 if test "$GXX" = yes; then
12826 lt_prog_compiler_wl_CXX
='-Wl,'
12827 lt_prog_compiler_static_CXX
='-static'
12831 # All AIX code is PIC.
12832 if test "$host_cpu" = ia64
; then
12833 # AIX 5 now supports IA64 processor
12834 lt_prog_compiler_static_CXX
='-Bstatic'
12838 # FIXME: we need at least 68020 code to build shared libraries, but
12839 # adding the `-m68020' flag to GCC prevents building anything better,
12841 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12843 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12844 # PIC is the default for these OSes.
12846 mingw
* | cygwin
* | os2
* | pw32
*)
12847 # This hack is so that the source file can tell whether it is being
12848 # built for inclusion in a dll (and should export symbols for example).
12849 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12850 # (--disable-auto-import) libraries
12851 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12853 darwin
* | rhapsody
*)
12854 # PIC is the default on this platform
12855 # Common symbols not allowed in MH_DYLIB files
12856 lt_prog_compiler_pic_CXX
='-fno-common'
12859 # DJGPP does not support shared libraries at all
12860 lt_prog_compiler_pic_CXX
=
12863 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12864 # Instead, we relocate shared libraries at runtime.
12867 if test -d /usr
/nec
; then
12868 lt_prog_compiler_pic_CXX
=-Kconform_pic
12872 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12873 # not for PA HP-UX.
12878 lt_prog_compiler_pic_CXX
='-fPIC'
12883 lt_prog_compiler_pic_CXX
='-fPIC'
12889 # All AIX code is PIC.
12890 if test "$host_cpu" = ia64
; then
12891 # AIX 5 now supports IA64 processor
12892 lt_prog_compiler_static_CXX
='-Bstatic'
12894 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12898 case $cc_basename in
12900 # Green Hills C++ Compiler
12901 # _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"
12906 # PIC is the default on this platform
12907 # Common symbols not allowed in MH_DYLIB files
12908 case $cc_basename in
12910 lt_prog_compiler_pic_CXX
='-qnocommon'
12911 lt_prog_compiler_wl_CXX
='-Wl,'
12916 case $cc_basename in
12918 lt_prog_compiler_pic_CXX
='-KPIC'
12921 # Green Hills C++ Compiler
12922 lt_prog_compiler_pic_CXX
='-pic'
12928 freebsd
* | dragonfly
*)
12929 # FreeBSD uses GNU C++
12931 hpux9
* | hpux10
* | hpux11
*)
12932 case $cc_basename in
12934 lt_prog_compiler_wl_CXX
='-Wl,'
12935 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12936 if test "$host_cpu" != ia64
; then
12937 lt_prog_compiler_pic_CXX
='+Z'
12941 lt_prog_compiler_wl_CXX
='-Wl,'
12942 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12948 lt_prog_compiler_pic_CXX
='+Z'
12957 # This is c89, which is MS Visual C++ (no shared libs)
12958 # Anyone wants to do a port?
12960 irix5
* | irix6
* | nonstopux
*)
12961 case $cc_basename in
12963 lt_prog_compiler_wl_CXX
='-Wl,'
12964 lt_prog_compiler_static_CXX
='-non_shared'
12965 # CC pic flag -KPIC is the default.
12971 linux
* | k
*bsd
*-gnu)
12972 case $cc_basename in
12975 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12976 lt_prog_compiler_pic_CXX
='-fPIC'
12980 lt_prog_compiler_wl_CXX
='-Wl,'
12981 lt_prog_compiler_pic_CXX
='-KPIC'
12982 lt_prog_compiler_static_CXX
='-static'
12985 # Portland Group C++ compiler.
12986 lt_prog_compiler_wl_CXX
='-Wl,'
12987 lt_prog_compiler_pic_CXX
='-fpic'
12988 lt_prog_compiler_static_CXX
='-Bstatic'
12992 # Make sure the PIC flag is empty. It appears that all Alpha
12993 # Linux and Compaq Tru64 Unix objects are PIC.
12994 lt_prog_compiler_pic_CXX
=
12995 lt_prog_compiler_static_CXX
='-non_shared'
12998 case `$CC -V 2>&1 | sed 5q` in
13001 lt_prog_compiler_pic_CXX
='-KPIC'
13002 lt_prog_compiler_static_CXX
='-Bstatic'
13003 lt_prog_compiler_wl_CXX
='-Qoption ld '
13014 case $cc_basename in
13016 lt_prog_compiler_pic_CXX
='-W c,exportall'
13022 netbsd
* | netbsdelf
*-gnu)
13024 osf3
* | osf4
* | osf5
*)
13025 case $cc_basename in
13027 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13030 # Rational C++ 2.4.1
13031 lt_prog_compiler_pic_CXX
='-pic'
13034 # Digital/Compaq C++
13035 lt_prog_compiler_wl_CXX
='-Wl,'
13036 # Make sure the PIC flag is empty. It appears that all Alpha
13037 # Linux and Compaq Tru64 Unix objects are PIC.
13038 lt_prog_compiler_pic_CXX
=
13039 lt_prog_compiler_static_CXX
='-non_shared'
13048 case $cc_basename in
13050 # Sun C++ 4.2, 5.x and Centerline C++
13051 lt_prog_compiler_pic_CXX
='-KPIC'
13052 lt_prog_compiler_static_CXX
='-Bstatic'
13053 lt_prog_compiler_wl_CXX
='-Qoption ld '
13056 # Green Hills C++ Compiler
13057 lt_prog_compiler_pic_CXX
='-PIC'
13064 case $cc_basename in
13067 lt_prog_compiler_pic_CXX
='-pic'
13068 lt_prog_compiler_static_CXX
='-Bstatic'
13072 lt_prog_compiler_pic_CXX
='-pic'
13079 case $cc_basename in
13081 # NonStop-UX NCC 3.20
13082 lt_prog_compiler_pic_CXX
='-KPIC'
13088 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13089 case $cc_basename in
13091 lt_prog_compiler_wl_CXX
='-Wl,'
13092 lt_prog_compiler_pic_CXX
='-KPIC'
13093 lt_prog_compiler_static_CXX
='-Bstatic'
13100 lt_prog_compiler_can_build_shared_CXX
=no
13105 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13106 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13109 # Check to make sure the PIC flag actually works.
13111 if test -n "$lt_prog_compiler_pic_CXX"; then
13113 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13114 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13115 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13116 echo $ECHO_N "(cached) $ECHO_C" >&6
13118 lt_cv_prog_compiler_pic_works_CXX
=no
13119 ac_outfile
=conftest.
$ac_objext
13120 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13121 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13122 # Insert the option either (1) after the last *FLAGS variable, or
13123 # (2) before a word containing "conftest.", or (3) at the end.
13124 # Note that $ac_compile itself does not contain backslashes and begins
13125 # with a dollar sign (not a hyphen), so the echo should work correctly.
13126 # The option is referenced via a variable to avoid confusing sed.
13127 lt_compile
=`echo "$ac_compile" | $SED \
13128 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13129 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13130 -e 's:$: $lt_compiler_flag:'`
13131 (eval echo "\"\$as_me:13131: $lt_compile\"" >&5)
13132 (eval "$lt_compile" 2>conftest.err
)
13134 cat conftest.err
>&5
13135 echo "$as_me:13135: \$? = $ac_status" >&5
13136 if (exit $ac_status) && test -s "$ac_outfile"; then
13137 # The compiler can only warn and ignore the option if not recognized
13138 # So say no if there are warnings other than the usual output.
13139 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13140 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13141 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13142 lt_cv_prog_compiler_pic_works_CXX
=yes
13148 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13149 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13151 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13152 case $lt_prog_compiler_pic_CXX in
13154 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13157 lt_prog_compiler_pic_CXX
=
13158 lt_prog_compiler_can_build_shared_CXX
=no
13163 # For platforms which do not support PIC, -DPIC is meaningless:
13165 lt_prog_compiler_pic_CXX
=
13168 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13173 # Check to make sure the static flag actually works.
13175 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13176 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13177 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13178 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13179 echo $ECHO_N "(cached) $ECHO_C" >&6
13181 lt_cv_prog_compiler_static_works_CXX
=no
13182 save_LDFLAGS
="$LDFLAGS"
13183 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13184 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13185 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13186 # The linker can only warn and ignore the option if not recognized
13187 # So say no if there are warnings
13188 if test -s conftest.err
; then
13189 # Append any errors to the config.log.
13190 cat conftest.err
1>&5
13191 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13192 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13193 if diff conftest.exp conftest.er2
>/dev
/null
; then
13194 lt_cv_prog_compiler_static_works_CXX
=yes
13197 lt_cv_prog_compiler_static_works_CXX
=yes
13201 LDFLAGS
="$save_LDFLAGS"
13204 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13205 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
13207 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13210 lt_prog_compiler_static_CXX
=
13214 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13215 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13216 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13217 echo $ECHO_N "(cached) $ECHO_C" >&6
13219 lt_cv_prog_compiler_c_o_CXX
=no
13220 $rm -r conftest
2>/dev
/null
13224 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13226 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13227 # Insert the option either (1) after the last *FLAGS variable, or
13228 # (2) before a word containing "conftest.", or (3) at the end.
13229 # Note that $ac_compile itself does not contain backslashes and begins
13230 # with a dollar sign (not a hyphen), so the echo should work correctly.
13231 lt_compile
=`echo "$ac_compile" | $SED \
13232 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13233 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13234 -e 's:$: $lt_compiler_flag:'`
13235 (eval echo "\"\$as_me:13235: $lt_compile\"" >&5)
13236 (eval "$lt_compile" 2>out
/conftest.err
)
13238 cat out
/conftest.err
>&5
13239 echo "$as_me:13239: \$? = $ac_status" >&5
13240 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13242 # The compiler can only warn and ignore the option if not recognized
13243 # So say no if there are warnings
13244 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13245 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13246 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13247 lt_cv_prog_compiler_c_o_CXX
=yes
13252 # SGI C++ compiler will create directory out/ii_files/ for
13253 # template instantiation
13254 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13255 $rm out
/* && rmdir out
13261 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13262 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13265 hard_links
="nottested"
13266 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13267 # do not overwrite the value of need_locks provided by the user
13268 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13269 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13272 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13274 ln conftest.a conftest.b
2>&5 || hard_links
=no
13275 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13276 { echo "$as_me:$LINENO: result: $hard_links" >&5
13277 echo "${ECHO_T}$hard_links" >&6; }
13278 if test "$hard_links" = no
; then
13279 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13280 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13287 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13288 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13290 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13293 # If we're using GNU nm, then we don't want the "-C" option.
13294 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13295 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13296 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'
13298 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'
13302 export_symbols_cmds_CXX
="$ltdll_cmds"
13305 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'
13307 linux
* | k
*bsd
*-gnu)
13308 link_all_deplibs_CXX
=no
13311 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13314 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13316 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13317 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13318 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13321 # Do we need to explicitly link libc?
13323 case "x$archive_cmds_need_lc_CXX" in
13325 # Assume -lc should be added
13326 archive_cmds_need_lc_CXX
=yes
13328 if test "$enable_shared" = yes && test "$GCC" = yes; then
13329 case $archive_cmds_CXX in
13331 # FIXME: we may have to deal with multi-command sequences.
13334 # Test whether the compiler implicitly links with -lc since on some
13335 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13336 # to ld, don't add -lc before -lgcc.
13337 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13338 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13340 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13343 (eval $ac_compile) 2>&5
13345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13346 (exit $ac_status); } 2>conftest.err
; then
13349 libobjs
=conftest.
$ac_objext
13351 wl
=$lt_prog_compiler_wl_CXX
13352 pic_flag
=$lt_prog_compiler_pic_CXX
13358 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13359 allow_undefined_flag_CXX
=
13360 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13361 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); }
13366 archive_cmds_need_lc_CXX
=no
13368 archive_cmds_need_lc_CXX
=yes
13370 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13372 cat conftest.err
1>&5
13375 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13376 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13383 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13384 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13385 library_names_spec
=
13386 libname_spec
='lib$name'
13390 postuninstall_cmds
=
13394 shlibpath_overrides_runpath
=unknown
13396 dynamic_linker
="$host_os ld.so"
13397 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13399 need_lib_prefix
=unknown
13400 hardcode_into_libs
=no
13402 # when you set need_version to no, make sure it does not cause -set_version
13403 # flags to be left without arguments
13404 need_version
=unknown
13409 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13410 shlibpath_var
=LIBPATH
13412 # AIX 3 has no versioning support, so we append a major version to the name.
13413 soname_spec
='${libname}${release}${shared_ext}$major'
13420 hardcode_into_libs
=yes
13421 if test "$host_cpu" = ia64
; then
13422 # AIX 5 supports IA64
13423 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13424 shlibpath_var
=LD_LIBRARY_PATH
13426 # With GCC up to 2.95.x, collect2 would create an import file
13427 # for dependence libraries. The import file would start with
13428 # the line `#! .'. This would cause the generated library to
13429 # depend on `.', always an invalid library. This was fixed in
13430 # development snapshots of GCC prior to 3.0.
13432 aix4 | aix4.
[01] | aix4.
[01].
*)
13433 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13435 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13438 can_build_shared
=no
13442 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13443 # soname into executable. Probably we can add versioning support to
13444 # collect2, so additional links can be useful in future.
13445 if test "$aix_use_runtimelinking" = yes; then
13446 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13447 # instead of lib<name>.a to let people know that these are not
13448 # typical AIX shared libraries.
13449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13451 # We preserve .a as extension for shared libraries through AIX4.2
13452 # and later when we are not doing run time linking.
13453 library_names_spec
='${libname}${release}.a $libname.a'
13454 soname_spec
='${libname}${release}${shared_ext}$major'
13456 shlibpath_var
=LIBPATH
13461 library_names_spec
='$libname.ixlibrary $libname.a'
13462 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13463 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'
13467 library_names_spec
='${libname}${shared_ext}'
13468 dynamic_linker
="$host_os ld.so"
13469 shlibpath_var
=LIBRARY_PATH
13475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13476 soname_spec
='${libname}${release}${shared_ext}$major'
13477 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13478 shlibpath_var
=LD_LIBRARY_PATH
13479 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13480 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13481 # the default ld.so.conf also contains /usr/contrib/lib and
13482 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13483 # libtool to hard-code these into programs
13486 cygwin
* | mingw
* | pw32
*)
13487 version_type
=windows
13492 case $GCC,$host_os in
13493 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13494 library_names_spec
='$libname.dll.a'
13495 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13496 postinstall_cmds
='base_file=`basename \${file}`~
13497 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13498 dldir=$destdir/`dirname \$dlpath`~
13499 test -d \$dldir || mkdir -p \$dldir~
13500 $install_prog $dir/$dlname \$dldir/$dlname~
13501 chmod a+x \$dldir/$dlname'
13502 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13503 dlpath=$dir/\$dldll~
13505 shlibpath_overrides_runpath
=yes
13509 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13510 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13511 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13514 # MinGW DLLs use traditional 'lib' prefix
13515 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13516 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13517 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13518 # It is most probably a Windows format PATH printed by
13519 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13520 # path with ; separators, and with drive letters. We can handle the
13521 # drive letters (cygwin fileutils understands them), so leave them,
13522 # especially as we might pass files found there to a mingw objdump,
13523 # which wouldn't understand a cygwinified path. Ahh.
13524 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13526 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13530 # pw32 DLLs use 'pw' prefix rather than 'lib'
13531 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13537 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13540 dynamic_linker
='Win32 ld.exe'
13541 # FIXME: first we should search . and the directory the executable is in
13545 darwin
* | rhapsody
*)
13546 dynamic_linker
="$host_os dyld"
13547 version_type
=darwin
13550 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13551 soname_spec
='${libname}${release}${major}$shared_ext'
13552 shlibpath_overrides_runpath
=yes
13553 shlibpath_var
=DYLD_LIBRARY_PATH
13554 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13556 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13564 soname_spec
='${libname}${release}${shared_ext}$major'
13565 shlibpath_var
=LD_LIBRARY_PATH
13572 freebsd
* | dragonfly
*)
13573 # DragonFly does not have aout. When/if they implement a new
13574 # versioning mechanism, adjust this.
13575 if test -x /usr
/bin
/objformat
; then
13576 objformat
=`/usr/bin/objformat`
13579 freebsd
[123]*) objformat
=aout
;;
13580 *) objformat
=elf
;;
13583 version_type
=freebsd-
$objformat
13584 case $version_type in
13586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13591 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13595 shlibpath_var
=LD_LIBRARY_PATH
13598 shlibpath_overrides_runpath
=yes
13600 freebsd3.
[01]* | freebsdelf3.
[01]*)
13601 shlibpath_overrides_runpath
=yes
13602 hardcode_into_libs
=yes
13604 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13605 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13606 shlibpath_overrides_runpath
=no
13607 hardcode_into_libs
=yes
13609 *) # from 4.6 on, and DragonFly
13610 shlibpath_overrides_runpath
=yes
13611 hardcode_into_libs
=yes
13620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13621 soname_spec
='${libname}${release}${shared_ext}$major'
13622 shlibpath_var
=LD_LIBRARY_PATH
13623 hardcode_into_libs
=yes
13626 hpux9
* | hpux10
* | hpux11
*)
13627 # Give a soname corresponding to the major version so that dld.sl refuses to
13628 # link against other versions.
13635 hardcode_into_libs
=yes
13636 dynamic_linker
="$host_os dld.so"
13637 shlibpath_var
=LD_LIBRARY_PATH
13638 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13640 soname_spec
='${libname}${release}${shared_ext}$major'
13641 if test "X$HPUX_IA64_MODE" = X32
; then
13642 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13644 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13646 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13650 hardcode_into_libs
=yes
13651 dynamic_linker
="$host_os dld.sl"
13652 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13653 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13655 soname_spec
='${libname}${release}${shared_ext}$major'
13656 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13657 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13661 dynamic_linker
="$host_os dld.sl"
13662 shlibpath_var
=SHLIB_PATH
13663 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13665 soname_spec
='${libname}${release}${shared_ext}$major'
13668 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13669 postinstall_cmds
='chmod 555 $lib'
13676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13677 soname_spec
='${libname}${release}${shared_ext}$major'
13678 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13679 shlibpath_var
=LD_LIBRARY_PATH
13680 shlibpath_overrides_runpath
=no
13681 hardcode_into_libs
=yes
13684 irix5
* | irix6
* | nonstopux
*)
13686 nonstopux
*) version_type
=nonstopux
;;
13688 if test "$lt_cv_prog_gnu_ld" = yes; then
13696 soname_spec
='${libname}${release}${shared_ext}$major'
13697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13699 irix5
* | nonstopux
*)
13700 libsuff
= shlibsuff
=
13703 case $LD in # libtool.m4 will add one of these switches to LD
13704 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13705 libsuff
= shlibsuff
= libmagic
=32-bit;;
13706 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13707 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13708 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13709 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13710 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13714 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13715 shlibpath_overrides_runpath
=no
13716 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13717 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13718 hardcode_into_libs
=yes
13721 # No shared lib support for Linux oldld, aout, or coff.
13722 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13726 # This must be Linux ELF.
13727 linux
* | k
*bsd
*-gnu)
13731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13732 soname_spec
='${libname}${release}${shared_ext}$major'
13733 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13734 shlibpath_var
=LD_LIBRARY_PATH
13735 shlibpath_overrides_runpath
=no
13736 # This implies no fast_install, which is unacceptable.
13737 # Some rework will be needed to allow for fast_install
13738 # before this can be enabled.
13739 hardcode_into_libs
=yes
13741 # Append ld.so.conf contents to the search path
13742 if test -f /etc
/ld.so.conf
; then
13743 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' ' '`
13744 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13747 # We used to test for /lib/ld.so.1 and disable shared libraries on
13748 # powerpc, because MkLinux only supported shared libraries with the
13749 # GNU dynamic linker. Since this was broken with cross compilers,
13750 # most powerpc-linux boxes support dynamic linking these days and
13751 # people can always --disable-shared, the test was removed, and we
13752 # assume the GNU/Linux dynamic linker is in use.
13753 dynamic_linker
='GNU/Linux ld.so'
13760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13761 soname_spec
='${libname}${release}${shared_ext}$major'
13762 shlibpath_var
=LD_LIBRARY_PATH
13763 shlibpath_overrides_runpath
=no
13764 hardcode_into_libs
=yes
13765 dynamic_linker
='NetBSD ld.elf_so'
13772 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13774 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13775 dynamic_linker
='NetBSD (a.out) ld.so'
13777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13778 soname_spec
='${libname}${release}${shared_ext}$major'
13779 dynamic_linker
='NetBSD ld.elf_so'
13781 shlibpath_var
=LD_LIBRARY_PATH
13782 shlibpath_overrides_runpath
=yes
13783 hardcode_into_libs
=yes
13788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13789 shlibpath_var
=LD_LIBRARY_PATH
13790 shlibpath_overrides_runpath
=yes
13797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13798 soname_spec
='${libname}${release}${shared_ext}$major'
13799 shlibpath_var
=LD_LIBRARY_PATH
13800 shlibpath_overrides_runpath
=yes
13805 sys_lib_dlsearch_path_spec
="/usr/lib"
13807 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13809 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13810 *) need_version
=no
;;
13812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13813 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13814 shlibpath_var
=LD_LIBRARY_PATH
13815 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13817 openbsd2.
[89] | openbsd2.
[89].
*)
13818 shlibpath_overrides_runpath
=no
13821 shlibpath_overrides_runpath
=yes
13825 shlibpath_overrides_runpath
=yes
13830 libname_spec
='$name'
13833 library_names_spec
='$libname${shared_ext} $libname.a'
13834 dynamic_linker
='OS/2 ld.exe'
13835 shlibpath_var
=LIBPATH
13838 osf3
* | osf4
* | osf5
*)
13842 soname_spec
='${libname}${release}${shared_ext}$major'
13843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13844 shlibpath_var
=LD_LIBRARY_PATH
13845 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13846 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13858 soname_spec
='${libname}${release}${shared_ext}$major'
13859 shlibpath_var
=LD_LIBRARY_PATH
13860 shlibpath_overrides_runpath
=yes
13861 hardcode_into_libs
=yes
13862 # ldd complains unless libraries are executable
13863 postinstall_cmds
='chmod +x $lib'
13868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13869 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13870 shlibpath_var
=LD_LIBRARY_PATH
13871 shlibpath_overrides_runpath
=yes
13872 if test "$with_gnu_ld" = yes; then
13880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13881 soname_spec
='${libname}${release}${shared_ext}$major'
13882 shlibpath_var
=LD_LIBRARY_PATH
13883 case $host_vendor in
13885 shlibpath_overrides_runpath
=no
13887 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13888 runpath_var
=LD_RUN_PATH
13896 shlibpath_overrides_runpath
=no
13897 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13903 if test -d /usr
/nec
;then
13905 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13906 soname_spec
='$libname${shared_ext}.$major'
13907 shlibpath_var
=LD_LIBRARY_PATH
13911 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13912 version_type
=freebsd-elf
13915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13916 soname_spec
='${libname}${release}${shared_ext}$major'
13917 shlibpath_var
=LD_LIBRARY_PATH
13918 hardcode_into_libs
=yes
13919 if test "$with_gnu_ld" = yes; then
13920 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13921 shlibpath_overrides_runpath
=no
13923 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13924 shlibpath_overrides_runpath
=yes
13927 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13931 sys_lib_dlsearch_path_spec
='/usr/lib'
13936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13937 soname_spec
='${libname}${release}${shared_ext}$major'
13938 shlibpath_var
=LD_LIBRARY_PATH
13945 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13946 echo "${ECHO_T}$dynamic_linker" >&6; }
13947 test "$dynamic_linker" = no
&& can_build_shared
=no
13949 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13950 echo $ECHO_N "(cached) $ECHO_C" >&6
13952 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
13955 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13956 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13957 echo $ECHO_N "(cached) $ECHO_C" >&6
13959 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
13962 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13964 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13965 if test "$GCC" = yes; then
13966 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13969 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13970 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13971 hardcode_action_CXX
=
13972 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13973 test -n "$runpath_var_CXX" || \
13974 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13976 # We can hardcode non-existant directories.
13977 if test "$hardcode_direct_CXX" != no
&&
13978 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13979 # have to relink, otherwise we might link with an installed library
13980 # when we should be linking with a yet-to-be-installed one
13981 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13982 test "$hardcode_minus_L_CXX" != no
; then
13983 # Linking always hardcodes the temporary library directory.
13984 hardcode_action_CXX
=relink
13986 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13987 hardcode_action_CXX
=immediate
13990 # We cannot hardcode anything, or else we can only hardcode existing
13992 hardcode_action_CXX
=unsupported
13994 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13995 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13997 if test "$hardcode_action_CXX" = relink
; then
13998 # Fast installation is not supported
13999 enable_fast_install
=no
14000 elif test "$shlibpath_overrides_runpath" = yes ||
14001 test "$enable_shared" = no
; then
14002 # Fast installation is not necessary
14003 enable_fast_install
=needless
14007 # The else clause should only fire when bootstrapping the
14008 # libtool distribution, otherwise you forgot to ship ltmain.sh
14009 # with your package, and you will get complaints that there are
14010 # no rules to generate ltmain.sh.
14011 if test -f "$ltmain"; then
14012 # See if we are running on zsh, and set the options which allow our commands through
14013 # without removal of \ escapes.
14014 if test -n "${ZSH_VERSION+set}" ; then
14015 setopt NO_GLOB_SUBST
14017 # Now quote all the things that may contain metacharacters while being
14018 # careful not to overquote the AC_SUBSTed values. We take copies of the
14019 # variables and quote the copies for generation of the libtool script.
14020 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14022 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14023 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14024 deplibs_check_method reload_flag reload_cmds need_locks \
14025 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14026 lt_cv_sys_global_symbol_to_c_name_address \
14027 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14028 old_postinstall_cmds old_postuninstall_cmds \
14032 lt_prog_compiler_wl_CXX \
14033 lt_prog_compiler_pic_CXX \
14034 lt_prog_compiler_static_CXX \
14035 lt_prog_compiler_no_builtin_flag_CXX \
14036 export_dynamic_flag_spec_CXX \
14037 thread_safe_flag_spec_CXX \
14038 whole_archive_flag_spec_CXX \
14039 enable_shared_with_static_runtimes_CXX \
14040 old_archive_cmds_CXX \
14041 old_archive_from_new_cmds_CXX \
14042 predep_objects_CXX \
14043 postdep_objects_CXX \
14046 compiler_lib_search_path_CXX \
14047 compiler_lib_search_dirs_CXX \
14049 archive_expsym_cmds_CXX \
14050 postinstall_cmds_CXX \
14051 postuninstall_cmds_CXX \
14052 old_archive_from_expsyms_cmds_CXX \
14053 allow_undefined_flag_CXX \
14054 no_undefined_flag_CXX \
14055 export_symbols_cmds_CXX \
14056 hardcode_libdir_flag_spec_CXX \
14057 hardcode_libdir_flag_spec_ld_CXX \
14058 hardcode_libdir_separator_CXX \
14059 hardcode_automatic_CXX \
14061 module_expsym_cmds_CXX \
14062 lt_cv_prog_compiler_c_o_CXX \
14063 fix_srcfile_path_CXX \
14064 exclude_expsyms_CXX \
14065 include_expsyms_CXX
; do
14068 old_archive_cmds_CXX | \
14069 old_archive_from_new_cmds_CXX | \
14070 archive_cmds_CXX | \
14071 archive_expsym_cmds_CXX | \
14072 module_cmds_CXX | \
14073 module_expsym_cmds_CXX | \
14074 old_archive_from_expsyms_cmds_CXX | \
14075 export_symbols_cmds_CXX | \
14076 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14077 postinstall_cmds | postuninstall_cmds | \
14078 old_postinstall_cmds | old_postuninstall_cmds | \
14079 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14080 # Double-quote double-evaled strings.
14081 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14084 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14090 *'\$0 --fallback-echo"')
14091 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14097 cat <<__EOF__ >> "$cfgfile"
14098 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14100 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14102 # Shell to use when invoking shell scripts.
14105 # Whether or not to build shared libraries.
14106 build_libtool_libs=$enable_shared
14108 # Whether or not to build static libraries.
14109 build_old_libs=$enable_static
14111 # Whether or not to add -lc for building shared libraries.
14112 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14114 # Whether or not to disallow shared libs when runtime libs are static
14115 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14117 # Whether or not to optimize for fast installation.
14118 fast_install=$enable_fast_install
14121 host_alias=$host_alias
14125 # The build system.
14126 build_alias=$build_alias
14130 # An echo program that does not interpret backslashes.
14135 AR_FLAGS=$lt_AR_FLAGS
14140 # LTCC compiler flags.
14141 LTCFLAGS=$lt_LTCFLAGS
14143 # A language-specific compiler.
14144 CC=$lt_compiler_CXX
14146 # Is the compiler the GNU C compiler?
14152 # The linker used to build libraries.
14155 # Whether we need hard or soft links.
14158 # A BSD-compatible nm program.
14161 # A symbol stripping program
14164 # Used to examine libraries when file_magic_cmd begins "file"
14165 MAGIC_CMD=$MAGIC_CMD
14167 # Used on cygwin: DLL creation program.
14170 # Used on cygwin: object dumper.
14173 # Used on cygwin: assembler.
14176 # The name of the directory that contains temporary libtool files.
14179 # How to create reloadable object files.
14180 reload_flag=$lt_reload_flag
14181 reload_cmds=$lt_reload_cmds
14183 # How to pass a linker flag through the compiler.
14184 wl=$lt_lt_prog_compiler_wl_CXX
14186 # Object file suffix (normally "o").
14187 objext="$ac_objext"
14189 # Old archive suffix (normally "a").
14192 # Shared library suffix (normally ".so").
14193 shrext_cmds='$shrext_cmds'
14195 # Executable file suffix (normally "").
14198 # Additional compiler flags for building library objects.
14199 pic_flag=$lt_lt_prog_compiler_pic_CXX
14202 # What is the maximum length of a command?
14203 max_cmd_len=$lt_cv_sys_max_cmd_len
14205 # Does compiler simultaneously support -c and -o options?
14206 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14208 # Must we lock files when doing compilation?
14209 need_locks=$lt_need_locks
14211 # Do we need the lib prefix for modules?
14212 need_lib_prefix=$need_lib_prefix
14214 # Do we need a version for libraries?
14215 need_version=$need_version
14217 # Whether dlopen is supported.
14218 dlopen_support=$enable_dlopen
14220 # Whether dlopen of programs is supported.
14221 dlopen_self=$enable_dlopen_self
14223 # Whether dlopen of statically linked programs is supported.
14224 dlopen_self_static=$enable_dlopen_self_static
14226 # Compiler flag to prevent dynamic linking.
14227 link_static_flag=$lt_lt_prog_compiler_static_CXX
14229 # Compiler flag to turn off builtin functions.
14230 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14232 # Compiler flag to allow reflexive dlopens.
14233 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14235 # Compiler flag to generate shared objects directly from archives.
14236 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14238 # Compiler flag to generate thread-safe objects.
14239 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14241 # Library versioning type.
14242 version_type=$version_type
14244 # Format of library name prefix.
14245 libname_spec=$lt_libname_spec
14247 # List of archive names. First name is the real one, the rest are links.
14248 # The last name is the one that the linker finds with -lNAME.
14249 library_names_spec=$lt_library_names_spec
14251 # The coded name of the library, if different from the real name.
14252 soname_spec=$lt_soname_spec
14254 # Commands used to build and install an old-style archive.
14256 old_archive_cmds=$lt_old_archive_cmds_CXX
14257 old_postinstall_cmds=$lt_old_postinstall_cmds
14258 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14260 # Create an old-style archive from a shared archive.
14261 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14263 # Create a temporary old-style archive to link instead of a shared archive.
14264 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14266 # Commands used to build and install a shared archive.
14267 archive_cmds=$lt_archive_cmds_CXX
14268 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14269 postinstall_cmds=$lt_postinstall_cmds
14270 postuninstall_cmds=$lt_postuninstall_cmds
14272 # Commands used to build a loadable module (assumed same as above if empty)
14273 module_cmds=$lt_module_cmds_CXX
14274 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14276 # Commands to strip libraries.
14277 old_striplib=$lt_old_striplib
14278 striplib=$lt_striplib
14280 # Dependencies to place before the objects being linked to create a
14282 predep_objects=$lt_predep_objects_CXX
14284 # Dependencies to place after the objects being linked to create a
14286 postdep_objects=$lt_postdep_objects_CXX
14288 # Dependencies to place before the objects being linked to create a
14290 predeps=$lt_predeps_CXX
14292 # Dependencies to place after the objects being linked to create a
14294 postdeps=$lt_postdeps_CXX
14296 # The directories searched by this compiler when creating a shared
14298 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14300 # The library search path used internally by the compiler when linking
14301 # a shared library.
14302 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14304 # Method to check whether dependent libraries are shared objects.
14305 deplibs_check_method=$lt_deplibs_check_method
14307 # Command to use when deplibs_check_method == file_magic.
14308 file_magic_cmd=$lt_file_magic_cmd
14310 # Flag that allows shared libraries with undefined symbols to be built.
14311 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14313 # Flag that forces no undefined symbols.
14314 no_undefined_flag=$lt_no_undefined_flag_CXX
14316 # Commands used to finish a libtool library installation in a directory.
14317 finish_cmds=$lt_finish_cmds
14319 # Same as above, but a single script fragment to be evaled but not shown.
14320 finish_eval=$lt_finish_eval
14322 # Take the output of nm and produce a listing of raw symbols and C names.
14323 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14325 # Transform the output of nm in a proper C declaration
14326 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14328 # Transform the output of nm in a C name address pair
14329 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14331 # This is the shared library runtime path variable.
14332 runpath_var=$runpath_var
14334 # This is the shared library path variable.
14335 shlibpath_var=$shlibpath_var
14337 # Is shlibpath searched before the hard-coded library search path?
14338 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14340 # How to hardcode a shared library path into an executable.
14341 hardcode_action=$hardcode_action_CXX
14343 # Whether we should hardcode library paths into libraries.
14344 hardcode_into_libs=$hardcode_into_libs
14346 # Flag to hardcode \$libdir into a binary during linking.
14347 # This must work even if \$libdir does not exist.
14348 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14350 # If ld is used when linking, flag to hardcode \$libdir into
14351 # a binary during linking. This must work even if \$libdir does
14353 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14355 # Whether we need a single -rpath flag with a separated argument.
14356 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14358 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14359 # resulting binary.
14360 hardcode_direct=$hardcode_direct_CXX
14362 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14363 # resulting binary.
14364 hardcode_minus_L=$hardcode_minus_L_CXX
14366 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14367 # the resulting binary.
14368 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14370 # Set to yes if building a shared library automatically hardcodes DIR into the library
14371 # and all subsequent libraries and executables linked against it.
14372 hardcode_automatic=$hardcode_automatic_CXX
14374 # Variables whose values should be saved in libtool wrapper scripts and
14375 # restored at relink time.
14376 variables_saved_for_relink="$variables_saved_for_relink"
14378 # Whether libtool must link a program against all its dependency libraries.
14379 link_all_deplibs=$link_all_deplibs_CXX
14381 # Compile-time system search path for libraries
14382 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14384 # Run-time system search path for libraries
14385 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14387 # Fix the shell variable \$srcfile for the compiler.
14388 fix_srcfile_path=$lt_fix_srcfile_path
14390 # Set to yes if exported symbols are required.
14391 always_export_symbols=$always_export_symbols_CXX
14393 # The commands to list exported symbols.
14394 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14396 # The commands to extract the exported symbol list from a shared archive.
14397 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14399 # Symbols that should not be listed in the preloaded symbols.
14400 exclude_expsyms=$lt_exclude_expsyms_CXX
14402 # Symbols that must always be exported.
14403 include_expsyms=$lt_include_expsyms_CXX
14405 # ### END LIBTOOL TAG CONFIG: $tagname
14411 # If there is no Makefile yet, we rely on a make rule to execute
14412 # `config.status --recheck' to rerun these tests and create the
14413 # libtool script then.
14414 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14415 if test -f "$ltmain_in"; then
14416 test -f Makefile
&& make "$ltmain"
14422 ac_cpp
='$CPP $CPPFLAGS'
14423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14431 with_gnu_ldcxx
=$with_gnu_ld
14432 with_gnu_ld
=$lt_save_with_gnu_ld
14433 lt_cv_path_LDCXX
=$lt_cv_path_LD
14434 lt_cv_path_LD
=$lt_save_path_LD
14435 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14436 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14444 if test -n "$F77" && test "X$F77" != "Xno"; then
14447 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14448 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14449 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14452 archive_cmds_need_lc_F77
=no
14453 allow_undefined_flag_F77
=
14454 always_export_symbols_F77
=no
14455 archive_expsym_cmds_F77
=
14456 export_dynamic_flag_spec_F77
=
14457 hardcode_direct_F77
=no
14458 hardcode_libdir_flag_spec_F77
=
14459 hardcode_libdir_flag_spec_ld_F77
=
14460 hardcode_libdir_separator_F77
=
14461 hardcode_minus_L_F77
=no
14462 hardcode_automatic_F77
=no
14464 module_expsym_cmds_F77
=
14465 link_all_deplibs_F77
=unknown
14466 old_archive_cmds_F77
=$old_archive_cmds
14467 no_undefined_flag_F77
=
14468 whole_archive_flag_spec_F77
=
14469 enable_shared_with_static_runtimes_F77
=no
14471 # Source file extension for f77 test sources.
14474 # Object file extension for compiled f77 test sources.
14478 # Code to be used in simple compile tests
14479 lt_simple_compile_test_code
="\
14485 # Code to be used in simple link tests
14486 lt_simple_link_test_code
="\
14491 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14493 # If no C compiler was specified, use CC.
14496 # If no C compiler flags were specified, use CFLAGS.
14497 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14499 # Allow CC to be a program name with arguments.
14503 # save warnings/boilerplate of simple test code
14504 ac_outfile
=conftest.
$ac_objext
14505 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14506 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14507 _lt_compiler_boilerplate
=`cat conftest.err`
14510 ac_outfile
=conftest.
$ac_objext
14511 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14512 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14513 _lt_linker_boilerplate
=`cat conftest.err`
14517 # Allow CC to be a program name with arguments.
14522 for cc_temp
in $compiler""; do
14524 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14525 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14530 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14533 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14534 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14535 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14536 echo "${ECHO_T}$can_build_shared" >&6; }
14538 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14539 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14540 test "$can_build_shared" = "no" && enable_shared
=no
14542 # On AIX, shared libraries and static libraries use the same namespace, and
14543 # are all built from PIC.
14546 test "$enable_shared" = yes && enable_static
=no
14547 if test -n "$RANLIB"; then
14548 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14549 postinstall_cmds
='$RANLIB $lib'
14553 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14554 test "$enable_shared" = yes && enable_static
=no
14558 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14559 echo "${ECHO_T}$enable_shared" >&6; }
14561 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14562 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14563 # Make sure either enable_shared or enable_static is yes.
14564 test "$enable_shared" = yes || enable_static
=yes
14565 { echo "$as_me:$LINENO: result: $enable_static" >&5
14566 echo "${ECHO_T}$enable_static" >&6; }
14571 lt_prog_compiler_wl_F77
=
14572 lt_prog_compiler_pic_F77
=
14573 lt_prog_compiler_static_F77
=
14575 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14576 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14578 if test "$GCC" = yes; then
14579 lt_prog_compiler_wl_F77
='-Wl,'
14580 lt_prog_compiler_static_F77
='-static'
14584 # All AIX code is PIC.
14585 if test "$host_cpu" = ia64
; then
14586 # AIX 5 now supports IA64 processor
14587 lt_prog_compiler_static_F77
='-Bstatic'
14592 # FIXME: we need at least 68020 code to build shared libraries, but
14593 # adding the `-m68020' flag to GCC prevents building anything better,
14595 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14598 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14599 # PIC is the default for these OSes.
14602 mingw
* | cygwin
* | pw32
* | os2
*)
14603 # This hack is so that the source file can tell whether it is being
14604 # built for inclusion in a dll (and should export symbols for example).
14605 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14606 # (--disable-auto-import) libraries
14607 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14610 darwin
* | rhapsody
*)
14611 # PIC is the default on this platform
14612 # Common symbols not allowed in MH_DYLIB files
14613 lt_prog_compiler_pic_F77
='-fno-common'
14617 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14618 # Instead, we relocate shared libraries at runtime.
14622 # Just because we use GCC doesn't mean we suddenly get shared libraries
14623 # on systems that don't support them.
14624 lt_prog_compiler_can_build_shared_F77
=no
14629 if test -d /usr
/nec
; then
14630 lt_prog_compiler_pic_F77
=-Kconform_pic
14635 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14636 # not for PA HP-UX.
14642 lt_prog_compiler_pic_F77
='-fPIC'
14648 lt_prog_compiler_pic_F77
='-fPIC'
14652 # PORTME Check for flag to pass linker flags through the system compiler.
14655 lt_prog_compiler_wl_F77
='-Wl,'
14656 if test "$host_cpu" = ia64
; then
14657 # AIX 5 now supports IA64 processor
14658 lt_prog_compiler_static_F77
='-Bstatic'
14660 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14664 # PIC is the default on this platform
14665 # Common symbols not allowed in MH_DYLIB files
14666 case $cc_basename in
14668 lt_prog_compiler_pic_F77
='-qnocommon'
14669 lt_prog_compiler_wl_F77
='-Wl,'
14674 mingw
* | cygwin
* | pw32
* | os2
*)
14675 # This hack is so that the source file can tell whether it is being
14676 # built for inclusion in a dll (and should export symbols for example).
14677 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14680 hpux9
* | hpux10
* | hpux11
*)
14681 lt_prog_compiler_wl_F77
='-Wl,'
14682 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14683 # not for PA HP-UX.
14689 lt_prog_compiler_pic_F77
='+Z'
14692 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14693 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14696 irix5
* | irix6
* | nonstopux
*)
14697 lt_prog_compiler_wl_F77
='-Wl,'
14698 # PIC (with -KPIC) is the default.
14699 lt_prog_compiler_static_F77
='-non_shared'
14703 lt_prog_compiler_pic_F77
='-KPIC'
14704 lt_prog_compiler_static_F77
='-Bstatic'
14707 linux
* | k
*bsd
*-gnu)
14708 case $cc_basename in
14710 lt_prog_compiler_wl_F77
='-Wl,'
14711 lt_prog_compiler_pic_F77
='-KPIC'
14712 lt_prog_compiler_static_F77
='-static'
14714 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14715 # Portland Group compilers (*not* the Pentium gcc compiler,
14716 # which looks to be a dead project)
14717 lt_prog_compiler_wl_F77
='-Wl,'
14718 lt_prog_compiler_pic_F77
='-fpic'
14719 lt_prog_compiler_static_F77
='-Bstatic'
14722 lt_prog_compiler_wl_F77
='-Wl,'
14723 # All Alpha code is PIC.
14724 lt_prog_compiler_static_F77
='-non_shared'
14727 case `$CC -V 2>&1 | sed 5q` in
14730 lt_prog_compiler_pic_F77
='-KPIC'
14731 lt_prog_compiler_static_F77
='-Bstatic'
14732 lt_prog_compiler_wl_F77
='-Wl,'
14735 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14736 lt_prog_compiler_pic_F77
='-KPIC'
14737 lt_prog_compiler_static_F77
='-Bstatic'
14738 lt_prog_compiler_wl_F77
=''
14745 osf3
* | osf4
* | osf5
*)
14746 lt_prog_compiler_wl_F77
='-Wl,'
14747 # All OSF/1 code is PIC.
14748 lt_prog_compiler_static_F77
='-non_shared'
14752 lt_prog_compiler_static_F77
='-non_shared'
14756 lt_prog_compiler_pic_F77
='-KPIC'
14757 lt_prog_compiler_static_F77
='-Bstatic'
14758 case $cc_basename in
14759 f77
* | f90
* | f95
*)
14760 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14762 lt_prog_compiler_wl_F77
='-Wl,';;
14767 lt_prog_compiler_wl_F77
='-Qoption ld '
14768 lt_prog_compiler_pic_F77
='-PIC'
14769 lt_prog_compiler_static_F77
='-Bstatic'
14772 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14773 lt_prog_compiler_wl_F77
='-Wl,'
14774 lt_prog_compiler_pic_F77
='-KPIC'
14775 lt_prog_compiler_static_F77
='-Bstatic'
14779 if test -d /usr
/nec
;then
14780 lt_prog_compiler_pic_F77
='-Kconform_pic'
14781 lt_prog_compiler_static_F77
='-Bstatic'
14785 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14786 lt_prog_compiler_wl_F77
='-Wl,'
14787 lt_prog_compiler_pic_F77
='-KPIC'
14788 lt_prog_compiler_static_F77
='-Bstatic'
14792 lt_prog_compiler_wl_F77
='-Wl,'
14793 lt_prog_compiler_can_build_shared_F77
=no
14797 lt_prog_compiler_pic_F77
='-pic'
14798 lt_prog_compiler_static_F77
='-Bstatic'
14802 lt_prog_compiler_can_build_shared_F77
=no
14807 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14808 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14811 # Check to make sure the PIC flag actually works.
14813 if test -n "$lt_prog_compiler_pic_F77"; then
14815 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14816 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14817 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14818 echo $ECHO_N "(cached) $ECHO_C" >&6
14820 lt_cv_prog_compiler_pic_works_F77
=no
14821 ac_outfile
=conftest.
$ac_objext
14822 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14823 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14824 # Insert the option either (1) after the last *FLAGS variable, or
14825 # (2) before a word containing "conftest.", or (3) at the end.
14826 # Note that $ac_compile itself does not contain backslashes and begins
14827 # with a dollar sign (not a hyphen), so the echo should work correctly.
14828 # The option is referenced via a variable to avoid confusing sed.
14829 lt_compile
=`echo "$ac_compile" | $SED \
14830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14832 -e 's:$: $lt_compiler_flag:'`
14833 (eval echo "\"\$as_me:14833: $lt_compile\"" >&5)
14834 (eval "$lt_compile" 2>conftest.err
)
14836 cat conftest.err
>&5
14837 echo "$as_me:14837: \$? = $ac_status" >&5
14838 if (exit $ac_status) && test -s "$ac_outfile"; then
14839 # The compiler can only warn and ignore the option if not recognized
14840 # So say no if there are warnings other than the usual output.
14841 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14842 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14843 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14844 lt_cv_prog_compiler_pic_works_F77
=yes
14850 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14851 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14853 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
14854 case $lt_prog_compiler_pic_F77 in
14856 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14859 lt_prog_compiler_pic_F77
=
14860 lt_prog_compiler_can_build_shared_F77
=no
14865 # For platforms which do not support PIC, -DPIC is meaningless:
14867 lt_prog_compiler_pic_F77
=
14870 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14875 # Check to make sure the static flag actually works.
14877 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14878 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14879 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14880 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14881 echo $ECHO_N "(cached) $ECHO_C" >&6
14883 lt_cv_prog_compiler_static_works_F77
=no
14884 save_LDFLAGS
="$LDFLAGS"
14885 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14886 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14887 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14888 # The linker can only warn and ignore the option if not recognized
14889 # So say no if there are warnings
14890 if test -s conftest.err
; then
14891 # Append any errors to the config.log.
14892 cat conftest.err
1>&5
14893 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14894 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14895 if diff conftest.exp conftest.er2
>/dev
/null
; then
14896 lt_cv_prog_compiler_static_works_F77
=yes
14899 lt_cv_prog_compiler_static_works_F77
=yes
14903 LDFLAGS
="$save_LDFLAGS"
14906 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14907 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14909 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
14912 lt_prog_compiler_static_F77
=
14916 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14917 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14918 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14919 echo $ECHO_N "(cached) $ECHO_C" >&6
14921 lt_cv_prog_compiler_c_o_F77
=no
14922 $rm -r conftest
2>/dev
/null
14926 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14928 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14929 # Insert the option either (1) after the last *FLAGS variable, or
14930 # (2) before a word containing "conftest.", or (3) at the end.
14931 # Note that $ac_compile itself does not contain backslashes and begins
14932 # with a dollar sign (not a hyphen), so the echo should work correctly.
14933 lt_compile
=`echo "$ac_compile" | $SED \
14934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14936 -e 's:$: $lt_compiler_flag:'`
14937 (eval echo "\"\$as_me:14937: $lt_compile\"" >&5)
14938 (eval "$lt_compile" 2>out
/conftest.err
)
14940 cat out
/conftest.err
>&5
14941 echo "$as_me:14941: \$? = $ac_status" >&5
14942 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14944 # The compiler can only warn and ignore the option if not recognized
14945 # So say no if there are warnings
14946 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14947 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14948 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14949 lt_cv_prog_compiler_c_o_F77
=yes
14954 # SGI C++ compiler will create directory out/ii_files/ for
14955 # template instantiation
14956 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14957 $rm out
/* && rmdir out
14963 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14964 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14967 hard_links
="nottested"
14968 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14969 # do not overwrite the value of need_locks provided by the user
14970 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14971 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14974 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14976 ln conftest.a conftest.b
2>&5 || hard_links
=no
14977 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14978 { echo "$as_me:$LINENO: result: $hard_links" >&5
14979 echo "${ECHO_T}$hard_links" >&6; }
14980 if test "$hard_links" = no
; then
14981 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14982 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14989 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14990 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14993 allow_undefined_flag_F77
=
14994 enable_shared_with_static_runtimes_F77
=no
14996 archive_expsym_cmds_F77
=
14997 old_archive_From_new_cmds_F77
=
14998 old_archive_from_expsyms_cmds_F77
=
14999 export_dynamic_flag_spec_F77
=
15000 whole_archive_flag_spec_F77
=
15001 thread_safe_flag_spec_F77
=
15002 hardcode_libdir_flag_spec_F77
=
15003 hardcode_libdir_flag_spec_ld_F77
=
15004 hardcode_libdir_separator_F77
=
15005 hardcode_direct_F77
=no
15006 hardcode_minus_L_F77
=no
15007 hardcode_shlibpath_var_F77
=unsupported
15008 link_all_deplibs_F77
=unknown
15009 hardcode_automatic_F77
=no
15011 module_expsym_cmds_F77
=
15012 always_export_symbols_F77
=no
15013 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15014 # include_expsyms should be a list of space-separated symbols to be *always*
15015 # included in the symbol list
15016 include_expsyms_F77
=
15017 # exclude_expsyms can be an extended regexp of symbols to exclude
15018 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15019 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15020 # as well as any symbol that contains `d'.
15021 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15022 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15023 # platforms (ab)use it in PIC code, but their linkers get confused if
15024 # the symbol is explicitly referenced. Since portable code cannot
15025 # rely on this symbol name, it's probably fine to never include it in
15026 # preloaded symbol tables.
15027 # Exclude shared library initialization/finalization symbols.
15028 extract_expsyms_cmds
=
15029 # Just being paranoid about ensuring that cc_basename is set.
15030 for cc_temp
in $compiler""; do
15032 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15033 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15038 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15041 cygwin
* | mingw
* | pw32
*)
15042 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15043 # When not using gcc, we currently assume that we are using
15044 # Microsoft Visual C++.
15045 if test "$GCC" != yes; then
15050 # we just hope/assume this is gcc and not c89 (= MSVC++)
15059 if test "$with_gnu_ld" = yes; then
15060 # If archive_cmds runs LD, not CC, wlarc should be empty
15063 # Set some defaults for GNU ld with shared library support. These
15064 # are reset later if shared libraries are not supported. Putting them
15065 # here allows them to be overridden if necessary.
15066 runpath_var
=LD_RUN_PATH
15067 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
15068 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
15069 # ancient GNU ld didn't support --whole-archive et. al.
15070 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15071 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15073 whole_archive_flag_spec_F77
=
15075 supports_anon_versioning
=no
15076 case `$LD -v 2>/dev/null` in
15077 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
15078 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15079 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15080 *\
2.11.
*) ;; # other 2.11 versions
15081 *) supports_anon_versioning
=yes ;;
15084 # See if GNU ld supports shared libraries.
15087 # On AIX/PPC, the GNU linker is very broken
15088 if test "$host_cpu" != ia64
; then
15092 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15093 *** to be unable to reliably create shared libraries on AIX.
15094 *** Therefore, libtool is disabling shared libraries support. If you
15095 *** really care for shared libraries, you may want to modify your PATH
15096 *** so that a non-GNU linker is found, and then restart.
15103 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)'
15104 hardcode_libdir_flag_spec_F77
='-L$libdir'
15105 hardcode_minus_L_F77
=yes
15107 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15108 # that the semantics of dynamic libraries on AmigaOS, at least up
15109 # to version 4, is to share data among multiple programs linked
15110 # with the same dynamic library. Since this doesn't match the
15111 # behavior of shared libraries on other platforms, we can't use
15117 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15118 allow_undefined_flag_F77
=unsupported
15119 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15120 # support --undefined. This deserves some investigation. FIXME
15121 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15127 cygwin
* | mingw
* | pw32
*)
15128 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15129 # as there is no search path for DLLs.
15130 hardcode_libdir_flag_spec_F77
='-L$libdir'
15131 allow_undefined_flag_F77
=unsupported
15132 always_export_symbols_F77
=no
15133 enable_shared_with_static_runtimes_F77
=yes
15134 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15136 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15137 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15138 # If the export-symbols file already is a .def file (1st line
15139 # is EXPORTS), use it as is; otherwise, prepend...
15140 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15141 cp $export_symbols $output_objdir/$soname.def;
15143 echo EXPORTS > $output_objdir/$soname.def;
15144 cat $export_symbols >> $output_objdir/$soname.def;
15146 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15153 hardcode_direct_F77
=no
15154 hardcode_shlibpath_var_F77
=no
15155 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15156 export_dynamic_flag_spec_F77
='${wl}-E'
15157 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15158 # Instead, shared libraries are loaded at an image base (0x10000000 by
15159 # default) and relocated if they conflict, which is a slow very memory
15160 # consuming and fragmenting process. To avoid this, we pick a random,
15161 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15162 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15163 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'
15164 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'
15167 gnu
* | linux
* | k
*bsd
*-gnu)
15168 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15170 case $cc_basename,$host_cpu in
15171 pgcc
*) # Portland Group C compiler
15172 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'
15173 tmp_addflag
=' $pic_flag'
15175 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15176 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'
15177 tmp_addflag
=' $pic_flag -Mnomain' ;;
15178 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15179 tmp_addflag
=' -i_dynamic' ;;
15180 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15181 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15182 ifc
* | ifort
*) # Intel Fortran compiler
15183 tmp_addflag
=' -nofor_main' ;;
15185 case `$CC -V 2>&1 | sed 5q` in
15186 *Sun\ C
*) # Sun C 5.9
15187 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'
15188 tmp_sharedflag
='-G' ;;
15189 *Sun\ F
*) # Sun Fortran 8.3
15190 tmp_sharedflag
='-G' ;;
15192 tmp_sharedflag
='-shared' ;;
15194 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15196 if test $supports_anon_versioning = yes; then
15197 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15198 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15199 $echo "local: *; };" >> $output_objdir/$libname.ver~
15200 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15202 link_all_deplibs_F77
=no
15208 netbsd
* | netbsdelf
*-gnu)
15209 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15210 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15213 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15214 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15219 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15223 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15224 *** create shared libraries on Solaris systems. Therefore, libtool
15225 *** is disabling shared libraries support. We urge you to upgrade GNU
15226 *** binutils to release 2.9.1 or newer. Another option is to modify
15227 *** your PATH or compiler configuration so that the native linker is
15228 *** used, and then restart.
15231 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15232 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15233 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15239 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15240 case `$LD -v 2>&1` in
15241 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15245 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15246 *** reliably create shared libraries on SCO systems. Therefore, libtool
15247 *** is disabling shared libraries support. We urge you to upgrade GNU
15248 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15249 *** your PATH or compiler configuration so that the native linker is
15250 *** used, and then restart.
15255 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15256 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15257 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15258 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15267 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15269 hardcode_direct_F77
=yes
15270 hardcode_shlibpath_var_F77
=no
15274 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15275 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15276 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15283 if test "$ld_shlibs_F77" = no
; then
15285 hardcode_libdir_flag_spec_F77
=
15286 export_dynamic_flag_spec_F77
=
15287 whole_archive_flag_spec_F77
=
15290 # PORTME fill in a description of your system's linker (not GNU ld)
15293 allow_undefined_flag_F77
=unsupported
15294 always_export_symbols_F77
=yes
15295 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'
15296 # Note: this linker hardcodes the directories in LIBPATH if there
15297 # are no directories specified by -L.
15298 hardcode_minus_L_F77
=yes
15299 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15300 # Neither direct hardcoding nor static linking is supported with a
15302 hardcode_direct_F77
=unsupported
15307 if test "$host_cpu" = ia64
; then
15308 # On IA64, the linker does run time linking by default, so we don't
15309 # have to do anything special.
15310 aix_use_runtimelinking
=no
15311 exp_sym_flag
='-Bexport'
15314 # If we're using GNU nm, then we don't want the "-C" option.
15315 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15316 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15317 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'
15319 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'
15321 aix_use_runtimelinking
=no
15323 # Test if we are trying to use run time linking or normal
15324 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15325 # need to do runtime linking.
15326 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15327 for ld_flag
in $LDFLAGS; do
15328 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15329 aix_use_runtimelinking
=yes
15336 exp_sym_flag
='-bexport'
15337 no_entry_flag
='-bnoentry'
15340 # When large executables or shared objects are built, AIX ld can
15341 # have problems creating the table of contents. If linking a library
15342 # or program results in "error TOC overflow" add -mminimal-toc to
15343 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15344 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15346 archive_cmds_F77
=''
15347 hardcode_direct_F77
=yes
15348 hardcode_libdir_separator_F77
=':'
15349 link_all_deplibs_F77
=yes
15351 if test "$GCC" = yes; then
15352 case $host_os in aix4.
[012]|aix4.
[012].
*)
15353 # We only want to do this on AIX 4.2 and lower, the check
15354 # below for broken collect2 doesn't work under 4.3+
15355 collect2name
=`${CC} -print-prog-name=collect2`
15356 if test -f "$collect2name" && \
15357 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15359 # We have reworked collect2
15362 # We have old collect2
15363 hardcode_direct_F77
=unsupported
15364 # It fails to find uninstalled libraries when the uninstalled
15365 # path is not listed in the libpath. Setting hardcode_minus_L
15366 # to unsupported forces relinking
15367 hardcode_minus_L_F77
=yes
15368 hardcode_libdir_flag_spec_F77
='-L$libdir'
15369 hardcode_libdir_separator_F77
=
15373 shared_flag
='-shared'
15374 if test "$aix_use_runtimelinking" = yes; then
15375 shared_flag
="$shared_flag "'${wl}-G'
15379 if test "$host_cpu" = ia64
; then
15380 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15381 # chokes on -Wl,-G. The following line is correct:
15384 if test "$aix_use_runtimelinking" = yes; then
15385 shared_flag
='${wl}-G'
15387 shared_flag
='${wl}-bM:SRE'
15392 # It seems that -bexpall does not export symbols beginning with
15393 # underscore (_), so it is better to generate a list of symbols to export.
15394 always_export_symbols_F77
=yes
15395 if test "$aix_use_runtimelinking" = yes; then
15396 # Warning - without using the other runtime loading flags (-brtl),
15397 # -berok will link without error, but may produce a broken library.
15398 allow_undefined_flag_F77
='-berok'
15399 # Determine the default libpath from the value encoded in an empty executable.
15400 cat >conftest.
$ac_ext <<_ACEOF
15405 rm -f conftest.
$ac_objext conftest
$ac_exeext
15406 if { (ac_try
="$ac_link"
15407 case "(($ac_try" in
15408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15409 *) ac_try_echo=$ac_try;;
15411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15412 (eval "$ac_link") 2>conftest.er1
15414 grep -v '^ *+' conftest.er1 >conftest.err
15416 cat conftest.err >&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); } && {
15419 test -z "$ac_f77_werror_flag" ||
15420 test ! -s conftest.err
15421 } && test -s conftest$ac_exeext &&
15422 $as_test_x conftest$ac_exeext; then
15424 lt_aix_libpath_sed='
15425 /Import File Strings/,/^$/ {
15431 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15432 # Check for a 64-bit object if we didn't find anything.
15433 if test -z "$aix_libpath"; then
15434 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.$ac_ext >&5
15443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15444 conftest$ac_exeext conftest.$ac_ext
15445 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15447 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15448 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"
15450 if test "$host_cpu" = ia64; then
15451 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15452 allow_undefined_flag_F77="-z nodefs"
15453 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"
15455 # Determine the default libpath from the value encoded in an empty executable.
15456 cat >conftest.$ac_ext <<_ACEOF
15461 rm -f conftest.$ac_objext conftest$ac_exeext
15462 if { (ac_try="$ac_link"
15463 case "(($ac_try" in
15464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15465 *) ac_try_echo
=$ac_try;;
15467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15468 (eval "$ac_link") 2>conftest.er1
15470 grep -v '^ *+' conftest.er1
>conftest.err
15472 cat conftest.err
>&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); } && {
15475 test -z "$ac_f77_werror_flag" ||
15476 test ! -s conftest.err
15477 } && test -s conftest
$ac_exeext &&
15478 $as_test_x conftest
$ac_exeext; then
15480 lt_aix_libpath_sed
='
15481 /Import File Strings/,/^$/ {
15487 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15488 # Check for a 64-bit object if we didn't find anything.
15489 if test -z "$aix_libpath"; then
15490 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15493 echo "$as_me: failed program was:" >&5
15494 sed 's/^/| /' conftest.
$ac_ext >&5
15499 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15500 conftest
$ac_exeext conftest.
$ac_ext
15501 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15503 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15504 # Warning - without using the other run time loading flags,
15505 # -berok will link without error, but may produce a broken library.
15506 no_undefined_flag_F77
=' ${wl}-bernotok'
15507 allow_undefined_flag_F77
=' ${wl}-berok'
15508 # Exported symbols can be pulled into shared objects from archives
15509 whole_archive_flag_spec_F77
='$convenience'
15510 archive_cmds_need_lc_F77
=yes
15511 # This is similar to how AIX traditionally builds its shared libraries.
15512 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'
15518 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)'
15519 hardcode_libdir_flag_spec_F77
='-L$libdir'
15520 hardcode_minus_L_F77
=yes
15521 # see comment about different semantics on the GNU ld section
15526 export_dynamic_flag_spec_F77
=-rdynamic
15529 cygwin
* | mingw
* | pw32
*)
15530 # When not using gcc, we currently assume that we are using
15531 # Microsoft Visual C++.
15532 # hardcode_libdir_flag_spec is actually meaningless, as there is
15533 # no search path for DLLs.
15534 hardcode_libdir_flag_spec_F77
=' '
15535 allow_undefined_flag_F77
=unsupported
15536 # Tell ltmain to make .lib files, not .a files.
15538 # Tell ltmain to make .dll files, not .so files.
15540 # FIXME: Setting linknames here is a bad hack.
15541 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15542 # The linker will automatically build a .lib file if we build a DLL.
15543 old_archive_From_new_cmds_F77
='true'
15544 # FIXME: Should let the user specify the lib program.
15545 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15546 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15547 enable_shared_with_static_runtimes_F77
=yes
15550 darwin
* | rhapsody
*)
15552 rhapsody
* | darwin1.
[012])
15553 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15556 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15557 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15559 case ${MACOSX_DEPLOYMENT_TARGET} in
15561 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15564 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15570 archive_cmds_need_lc_F77
=no
15571 hardcode_direct_F77
=no
15572 hardcode_automatic_F77
=yes
15573 hardcode_shlibpath_var_F77
=unsupported
15574 whole_archive_flag_spec_F77
=''
15575 link_all_deplibs_F77
=yes
15576 if test "$GCC" = yes ; then
15577 output_verbose_link_cmd
='echo'
15578 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15579 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15580 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15581 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15583 case $cc_basename in
15585 output_verbose_link_cmd
='echo'
15586 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15587 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15588 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15589 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}'
15590 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}'
15600 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15601 hardcode_libdir_flag_spec_F77
='-L$libdir'
15602 hardcode_shlibpath_var_F77
=no
15609 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15610 # support. Future versions do this automatically, but an explicit c++rt0.o
15611 # does not break anything, and helps significantly (at the cost of a little
15614 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15615 hardcode_libdir_flag_spec_F77
='-R$libdir'
15616 hardcode_direct_F77
=yes
15617 hardcode_shlibpath_var_F77
=no
15620 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15622 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15623 hardcode_direct_F77
=yes
15624 hardcode_minus_L_F77
=yes
15625 hardcode_shlibpath_var_F77
=no
15628 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15629 freebsd
* | dragonfly
*)
15630 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15631 hardcode_libdir_flag_spec_F77
='-R$libdir'
15632 hardcode_direct_F77
=yes
15633 hardcode_shlibpath_var_F77
=no
15637 if test "$GCC" = yes; then
15638 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'
15640 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'
15642 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15643 hardcode_libdir_separator_F77
=:
15644 hardcode_direct_F77
=yes
15646 # hardcode_minus_L: Not really in the search PATH,
15647 # but as the default location of the library.
15648 hardcode_minus_L_F77
=yes
15649 export_dynamic_flag_spec_F77
='${wl}-E'
15653 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15654 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15656 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15658 if test "$with_gnu_ld" = no
; then
15659 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15660 hardcode_libdir_separator_F77
=:
15662 hardcode_direct_F77
=yes
15663 export_dynamic_flag_spec_F77
='${wl}-E'
15665 # hardcode_minus_L: Not really in the search PATH,
15666 # but as the default location of the library.
15667 hardcode_minus_L_F77
=yes
15672 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15675 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15678 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15681 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15687 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15690 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15693 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15697 if test "$with_gnu_ld" = no
; then
15698 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15699 hardcode_libdir_separator_F77
=:
15703 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15704 hardcode_direct_F77
=no
15705 hardcode_shlibpath_var_F77
=no
15708 hardcode_direct_F77
=yes
15709 export_dynamic_flag_spec_F77
='${wl}-E'
15711 # hardcode_minus_L: Not really in the search PATH,
15712 # but as the default location of the library.
15713 hardcode_minus_L_F77
=yes
15719 irix5
* | irix6
* | nonstopux
*)
15720 if test "$GCC" = yes; then
15721 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'
15723 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'
15724 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15726 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15727 hardcode_libdir_separator_F77
=:
15728 link_all_deplibs_F77
=yes
15731 netbsd
* | netbsdelf
*-gnu)
15732 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15733 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15735 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15737 hardcode_libdir_flag_spec_F77
='-R$libdir'
15738 hardcode_direct_F77
=yes
15739 hardcode_shlibpath_var_F77
=no
15743 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15744 hardcode_direct_F77
=yes
15745 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15746 hardcode_libdir_separator_F77
=:
15747 hardcode_shlibpath_var_F77
=no
15751 if test -f /usr
/libexec
/ld.so
; then
15752 hardcode_direct_F77
=yes
15753 hardcode_shlibpath_var_F77
=no
15754 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15755 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15756 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15757 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15758 export_dynamic_flag_spec_F77
='${wl}-E'
15761 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15762 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15763 hardcode_libdir_flag_spec_F77
='-R$libdir'
15766 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15767 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15777 hardcode_libdir_flag_spec_F77
='-L$libdir'
15778 hardcode_minus_L_F77
=yes
15779 allow_undefined_flag_F77
=unsupported
15780 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'
15781 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15785 if test "$GCC" = yes; then
15786 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15787 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'
15789 allow_undefined_flag_F77
=' -expect_unresolved \*'
15790 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'
15792 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15793 hardcode_libdir_separator_F77
=:
15796 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15797 if test "$GCC" = yes; then
15798 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15799 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'
15800 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15802 allow_undefined_flag_F77
=' -expect_unresolved \*'
15803 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'
15804 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~
15805 $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'
15807 # Both c and cxx compiler support -rpath directly
15808 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15810 hardcode_libdir_separator_F77
=:
15814 no_undefined_flag_F77
=' -z text'
15815 if test "$GCC" = yes; then
15817 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15818 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15819 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15822 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15823 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15824 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15826 hardcode_libdir_flag_spec_F77
='-R$libdir'
15827 hardcode_shlibpath_var_F77
=no
15829 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15831 # The compiler driver will combine and reorder linker options,
15832 # but understands `-z linker_flag'. GCC discards it without `$wl',
15833 # but is careful enough not to reorder.
15834 # Supported since Solaris 2.6 (maybe 2.5.1?)
15835 if test "$GCC" = yes; then
15836 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15838 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15842 link_all_deplibs_F77
=yes
15846 if test "x$host_vendor" = xsequent
; then
15847 # Use $CC to link under sequent, because it throws in some extra .o
15848 # files that make .init and .fini sections work.
15849 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15851 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15853 hardcode_libdir_flag_spec_F77
='-L$libdir'
15854 hardcode_direct_F77
=yes
15855 hardcode_minus_L_F77
=yes
15856 hardcode_shlibpath_var_F77
=no
15860 case $host_vendor in
15862 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15863 hardcode_direct_F77
=yes # is this really true???
15866 ## LD is ld it makes a PLAMLIB
15867 ## CC just makes a GrossModule.
15868 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15869 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15870 hardcode_direct_F77
=no
15873 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15874 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15877 runpath_var
='LD_RUN_PATH'
15878 hardcode_shlibpath_var_F77
=no
15882 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15883 hardcode_shlibpath_var_F77
=no
15884 export_dynamic_flag_spec_F77
='-Bexport'
15888 if test -d /usr
/nec
; then
15889 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15890 hardcode_shlibpath_var_F77
=no
15891 runpath_var
=LD_RUN_PATH
15892 hardcode_runpath_var
=yes
15897 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15898 no_undefined_flag_F77
='${wl}-z,text'
15899 archive_cmds_need_lc_F77
=no
15900 hardcode_shlibpath_var_F77
=no
15901 runpath_var
='LD_RUN_PATH'
15903 if test "$GCC" = yes; then
15904 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15905 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15907 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15908 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15912 sysv5
* | sco3.2v5
* | sco5v6
*)
15913 # Note: We can NOT use -z defs as we might desire, because we do not
15914 # link with -lc, and that would cause any symbols used from libc to
15915 # always be unresolved, which means just about no library would
15916 # ever link correctly. If we're not using GNU ld we use -z text
15917 # though, which does catch some bad symbols but isn't as heavy-handed
15919 no_undefined_flag_F77
='${wl}-z,text'
15920 allow_undefined_flag_F77
='${wl}-z,nodefs'
15921 archive_cmds_need_lc_F77
=no
15922 hardcode_shlibpath_var_F77
=no
15923 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15924 hardcode_libdir_separator_F77
=':'
15925 link_all_deplibs_F77
=yes
15926 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15927 runpath_var
='LD_RUN_PATH'
15929 if test "$GCC" = yes; then
15930 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15931 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15933 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15934 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15939 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15940 hardcode_libdir_flag_spec_F77
='-L$libdir'
15941 hardcode_shlibpath_var_F77
=no
15950 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15951 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15952 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15955 # Do we need to explicitly link libc?
15957 case "x$archive_cmds_need_lc_F77" in
15959 # Assume -lc should be added
15960 archive_cmds_need_lc_F77
=yes
15962 if test "$enable_shared" = yes && test "$GCC" = yes; then
15963 case $archive_cmds_F77 in
15965 # FIXME: we may have to deal with multi-command sequences.
15968 # Test whether the compiler implicitly links with -lc since on some
15969 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15970 # to ld, don't add -lc before -lgcc.
15971 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15972 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15974 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15977 (eval $ac_compile) 2>&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); } 2>conftest.err
; then
15983 libobjs
=conftest.
$ac_objext
15985 wl
=$lt_prog_compiler_wl_F77
15986 pic_flag
=$lt_prog_compiler_pic_F77
15992 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15993 allow_undefined_flag_F77
=
15994 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15995 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }
16000 archive_cmds_need_lc_F77
=no
16002 archive_cmds_need_lc_F77
=yes
16004 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
16006 cat conftest.err
1>&5
16009 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16010 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16017 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16018 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16019 library_names_spec
=
16020 libname_spec
='lib$name'
16024 postuninstall_cmds
=
16028 shlibpath_overrides_runpath
=unknown
16030 dynamic_linker
="$host_os ld.so"
16031 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16033 need_lib_prefix
=unknown
16034 hardcode_into_libs
=no
16036 # when you set need_version to no, make sure it does not cause -set_version
16037 # flags to be left without arguments
16038 need_version
=unknown
16043 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16044 shlibpath_var
=LIBPATH
16046 # AIX 3 has no versioning support, so we append a major version to the name.
16047 soname_spec
='${libname}${release}${shared_ext}$major'
16054 hardcode_into_libs
=yes
16055 if test "$host_cpu" = ia64
; then
16056 # AIX 5 supports IA64
16057 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16058 shlibpath_var
=LD_LIBRARY_PATH
16060 # With GCC up to 2.95.x, collect2 would create an import file
16061 # for dependence libraries. The import file would start with
16062 # the line `#! .'. This would cause the generated library to
16063 # depend on `.', always an invalid library. This was fixed in
16064 # development snapshots of GCC prior to 3.0.
16066 aix4 | aix4.
[01] | aix4.
[01].
*)
16067 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16069 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16072 can_build_shared
=no
16076 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16077 # soname into executable. Probably we can add versioning support to
16078 # collect2, so additional links can be useful in future.
16079 if test "$aix_use_runtimelinking" = yes; then
16080 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16081 # instead of lib<name>.a to let people know that these are not
16082 # typical AIX shared libraries.
16083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16085 # We preserve .a as extension for shared libraries through AIX4.2
16086 # and later when we are not doing run time linking.
16087 library_names_spec
='${libname}${release}.a $libname.a'
16088 soname_spec
='${libname}${release}${shared_ext}$major'
16090 shlibpath_var
=LIBPATH
16095 library_names_spec
='$libname.ixlibrary $libname.a'
16096 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16097 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'
16101 library_names_spec
='${libname}${shared_ext}'
16102 dynamic_linker
="$host_os ld.so"
16103 shlibpath_var
=LIBRARY_PATH
16109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16110 soname_spec
='${libname}${release}${shared_ext}$major'
16111 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16112 shlibpath_var
=LD_LIBRARY_PATH
16113 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16114 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16115 # the default ld.so.conf also contains /usr/contrib/lib and
16116 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16117 # libtool to hard-code these into programs
16120 cygwin
* | mingw
* | pw32
*)
16121 version_type
=windows
16126 case $GCC,$host_os in
16127 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16128 library_names_spec
='$libname.dll.a'
16129 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16130 postinstall_cmds
='base_file=`basename \${file}`~
16131 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16132 dldir=$destdir/`dirname \$dlpath`~
16133 test -d \$dldir || mkdir -p \$dldir~
16134 $install_prog $dir/$dlname \$dldir/$dlname~
16135 chmod a+x \$dldir/$dlname'
16136 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16137 dlpath=$dir/\$dldll~
16139 shlibpath_overrides_runpath
=yes
16143 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16144 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16145 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16148 # MinGW DLLs use traditional 'lib' prefix
16149 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16150 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16151 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16152 # It is most probably a Windows format PATH printed by
16153 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16154 # path with ; separators, and with drive letters. We can handle the
16155 # drive letters (cygwin fileutils understands them), so leave them,
16156 # especially as we might pass files found there to a mingw objdump,
16157 # which wouldn't understand a cygwinified path. Ahh.
16158 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16160 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16164 # pw32 DLLs use 'pw' prefix rather than 'lib'
16165 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16171 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16174 dynamic_linker
='Win32 ld.exe'
16175 # FIXME: first we should search . and the directory the executable is in
16179 darwin
* | rhapsody
*)
16180 dynamic_linker
="$host_os dyld"
16181 version_type
=darwin
16184 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16185 soname_spec
='${libname}${release}${major}$shared_ext'
16186 shlibpath_overrides_runpath
=yes
16187 shlibpath_var
=DYLD_LIBRARY_PATH
16188 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16190 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16198 soname_spec
='${libname}${release}${shared_ext}$major'
16199 shlibpath_var
=LD_LIBRARY_PATH
16206 freebsd
* | dragonfly
*)
16207 # DragonFly does not have aout. When/if they implement a new
16208 # versioning mechanism, adjust this.
16209 if test -x /usr
/bin
/objformat
; then
16210 objformat
=`/usr/bin/objformat`
16213 freebsd
[123]*) objformat
=aout
;;
16214 *) objformat
=elf
;;
16217 version_type
=freebsd-
$objformat
16218 case $version_type in
16220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16225 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16229 shlibpath_var
=LD_LIBRARY_PATH
16232 shlibpath_overrides_runpath
=yes
16234 freebsd3.
[01]* | freebsdelf3.
[01]*)
16235 shlibpath_overrides_runpath
=yes
16236 hardcode_into_libs
=yes
16238 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16239 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16240 shlibpath_overrides_runpath
=no
16241 hardcode_into_libs
=yes
16243 *) # from 4.6 on, and DragonFly
16244 shlibpath_overrides_runpath
=yes
16245 hardcode_into_libs
=yes
16254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16255 soname_spec
='${libname}${release}${shared_ext}$major'
16256 shlibpath_var
=LD_LIBRARY_PATH
16257 hardcode_into_libs
=yes
16260 hpux9
* | hpux10
* | hpux11
*)
16261 # Give a soname corresponding to the major version so that dld.sl refuses to
16262 # link against other versions.
16269 hardcode_into_libs
=yes
16270 dynamic_linker
="$host_os dld.so"
16271 shlibpath_var
=LD_LIBRARY_PATH
16272 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16274 soname_spec
='${libname}${release}${shared_ext}$major'
16275 if test "X$HPUX_IA64_MODE" = X32
; then
16276 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16278 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16280 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16284 hardcode_into_libs
=yes
16285 dynamic_linker
="$host_os dld.sl"
16286 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16287 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16289 soname_spec
='${libname}${release}${shared_ext}$major'
16290 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16291 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16295 dynamic_linker
="$host_os dld.sl"
16296 shlibpath_var
=SHLIB_PATH
16297 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16299 soname_spec
='${libname}${release}${shared_ext}$major'
16302 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16303 postinstall_cmds
='chmod 555 $lib'
16310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16311 soname_spec
='${libname}${release}${shared_ext}$major'
16312 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16313 shlibpath_var
=LD_LIBRARY_PATH
16314 shlibpath_overrides_runpath
=no
16315 hardcode_into_libs
=yes
16318 irix5
* | irix6
* | nonstopux
*)
16320 nonstopux
*) version_type
=nonstopux
;;
16322 if test "$lt_cv_prog_gnu_ld" = yes; then
16330 soname_spec
='${libname}${release}${shared_ext}$major'
16331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16333 irix5
* | nonstopux
*)
16334 libsuff
= shlibsuff
=
16337 case $LD in # libtool.m4 will add one of these switches to LD
16338 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16339 libsuff
= shlibsuff
= libmagic
=32-bit;;
16340 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16341 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16342 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16343 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16344 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16348 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16349 shlibpath_overrides_runpath
=no
16350 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16351 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16352 hardcode_into_libs
=yes
16355 # No shared lib support for Linux oldld, aout, or coff.
16356 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16360 # This must be Linux ELF.
16361 linux
* | k
*bsd
*-gnu)
16365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16366 soname_spec
='${libname}${release}${shared_ext}$major'
16367 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16368 shlibpath_var
=LD_LIBRARY_PATH
16369 shlibpath_overrides_runpath
=no
16370 # This implies no fast_install, which is unacceptable.
16371 # Some rework will be needed to allow for fast_install
16372 # before this can be enabled.
16373 hardcode_into_libs
=yes
16375 # Append ld.so.conf contents to the search path
16376 if test -f /etc
/ld.so.conf
; then
16377 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' ' '`
16378 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16381 # We used to test for /lib/ld.so.1 and disable shared libraries on
16382 # powerpc, because MkLinux only supported shared libraries with the
16383 # GNU dynamic linker. Since this was broken with cross compilers,
16384 # most powerpc-linux boxes support dynamic linking these days and
16385 # people can always --disable-shared, the test was removed, and we
16386 # assume the GNU/Linux dynamic linker is in use.
16387 dynamic_linker
='GNU/Linux ld.so'
16394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16395 soname_spec
='${libname}${release}${shared_ext}$major'
16396 shlibpath_var
=LD_LIBRARY_PATH
16397 shlibpath_overrides_runpath
=no
16398 hardcode_into_libs
=yes
16399 dynamic_linker
='NetBSD ld.elf_so'
16406 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16408 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16409 dynamic_linker
='NetBSD (a.out) ld.so'
16411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16412 soname_spec
='${libname}${release}${shared_ext}$major'
16413 dynamic_linker
='NetBSD ld.elf_so'
16415 shlibpath_var
=LD_LIBRARY_PATH
16416 shlibpath_overrides_runpath
=yes
16417 hardcode_into_libs
=yes
16422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16423 shlibpath_var
=LD_LIBRARY_PATH
16424 shlibpath_overrides_runpath
=yes
16431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16432 soname_spec
='${libname}${release}${shared_ext}$major'
16433 shlibpath_var
=LD_LIBRARY_PATH
16434 shlibpath_overrides_runpath
=yes
16439 sys_lib_dlsearch_path_spec
="/usr/lib"
16441 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16443 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16444 *) need_version
=no
;;
16446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16447 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16448 shlibpath_var
=LD_LIBRARY_PATH
16449 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16451 openbsd2.
[89] | openbsd2.
[89].
*)
16452 shlibpath_overrides_runpath
=no
16455 shlibpath_overrides_runpath
=yes
16459 shlibpath_overrides_runpath
=yes
16464 libname_spec
='$name'
16467 library_names_spec
='$libname${shared_ext} $libname.a'
16468 dynamic_linker
='OS/2 ld.exe'
16469 shlibpath_var
=LIBPATH
16472 osf3
* | osf4
* | osf5
*)
16476 soname_spec
='${libname}${release}${shared_ext}$major'
16477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16478 shlibpath_var
=LD_LIBRARY_PATH
16479 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16480 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16492 soname_spec
='${libname}${release}${shared_ext}$major'
16493 shlibpath_var
=LD_LIBRARY_PATH
16494 shlibpath_overrides_runpath
=yes
16495 hardcode_into_libs
=yes
16496 # ldd complains unless libraries are executable
16497 postinstall_cmds
='chmod +x $lib'
16502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16503 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16504 shlibpath_var
=LD_LIBRARY_PATH
16505 shlibpath_overrides_runpath
=yes
16506 if test "$with_gnu_ld" = yes; then
16514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16515 soname_spec
='${libname}${release}${shared_ext}$major'
16516 shlibpath_var
=LD_LIBRARY_PATH
16517 case $host_vendor in
16519 shlibpath_overrides_runpath
=no
16521 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16522 runpath_var
=LD_RUN_PATH
16530 shlibpath_overrides_runpath
=no
16531 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16537 if test -d /usr
/nec
;then
16539 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16540 soname_spec
='$libname${shared_ext}.$major'
16541 shlibpath_var
=LD_LIBRARY_PATH
16545 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16546 version_type
=freebsd-elf
16549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16550 soname_spec
='${libname}${release}${shared_ext}$major'
16551 shlibpath_var
=LD_LIBRARY_PATH
16552 hardcode_into_libs
=yes
16553 if test "$with_gnu_ld" = yes; then
16554 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16555 shlibpath_overrides_runpath
=no
16557 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16558 shlibpath_overrides_runpath
=yes
16561 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16565 sys_lib_dlsearch_path_spec
='/usr/lib'
16570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16571 soname_spec
='${libname}${release}${shared_ext}$major'
16572 shlibpath_var
=LD_LIBRARY_PATH
16579 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16580 echo "${ECHO_T}$dynamic_linker" >&6; }
16581 test "$dynamic_linker" = no
&& can_build_shared
=no
16583 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16584 echo $ECHO_N "(cached) $ECHO_C" >&6
16586 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16589 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16590 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16591 echo $ECHO_N "(cached) $ECHO_C" >&6
16593 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16596 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16598 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16599 if test "$GCC" = yes; then
16600 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16603 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16604 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16605 hardcode_action_F77
=
16606 if test -n "$hardcode_libdir_flag_spec_F77" || \
16607 test -n "$runpath_var_F77" || \
16608 test "X$hardcode_automatic_F77" = "Xyes" ; then
16610 # We can hardcode non-existant directories.
16611 if test "$hardcode_direct_F77" != no
&&
16612 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16613 # have to relink, otherwise we might link with an installed library
16614 # when we should be linking with a yet-to-be-installed one
16615 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16616 test "$hardcode_minus_L_F77" != no
; then
16617 # Linking always hardcodes the temporary library directory.
16618 hardcode_action_F77
=relink
16620 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16621 hardcode_action_F77
=immediate
16624 # We cannot hardcode anything, or else we can only hardcode existing
16626 hardcode_action_F77
=unsupported
16628 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16629 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16631 if test "$hardcode_action_F77" = relink
; then
16632 # Fast installation is not supported
16633 enable_fast_install
=no
16634 elif test "$shlibpath_overrides_runpath" = yes ||
16635 test "$enable_shared" = no
; then
16636 # Fast installation is not necessary
16637 enable_fast_install
=needless
16641 # The else clause should only fire when bootstrapping the
16642 # libtool distribution, otherwise you forgot to ship ltmain.sh
16643 # with your package, and you will get complaints that there are
16644 # no rules to generate ltmain.sh.
16645 if test -f "$ltmain"; then
16646 # See if we are running on zsh, and set the options which allow our commands through
16647 # without removal of \ escapes.
16648 if test -n "${ZSH_VERSION+set}" ; then
16649 setopt NO_GLOB_SUBST
16651 # Now quote all the things that may contain metacharacters while being
16652 # careful not to overquote the AC_SUBSTed values. We take copies of the
16653 # variables and quote the copies for generation of the libtool script.
16654 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16656 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16657 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16658 deplibs_check_method reload_flag reload_cmds need_locks \
16659 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16660 lt_cv_sys_global_symbol_to_c_name_address \
16661 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16662 old_postinstall_cmds old_postuninstall_cmds \
16666 lt_prog_compiler_wl_F77 \
16667 lt_prog_compiler_pic_F77 \
16668 lt_prog_compiler_static_F77 \
16669 lt_prog_compiler_no_builtin_flag_F77 \
16670 export_dynamic_flag_spec_F77 \
16671 thread_safe_flag_spec_F77 \
16672 whole_archive_flag_spec_F77 \
16673 enable_shared_with_static_runtimes_F77 \
16674 old_archive_cmds_F77 \
16675 old_archive_from_new_cmds_F77 \
16676 predep_objects_F77 \
16677 postdep_objects_F77 \
16680 compiler_lib_search_path_F77 \
16681 compiler_lib_search_dirs_F77 \
16683 archive_expsym_cmds_F77 \
16684 postinstall_cmds_F77 \
16685 postuninstall_cmds_F77 \
16686 old_archive_from_expsyms_cmds_F77 \
16687 allow_undefined_flag_F77 \
16688 no_undefined_flag_F77 \
16689 export_symbols_cmds_F77 \
16690 hardcode_libdir_flag_spec_F77 \
16691 hardcode_libdir_flag_spec_ld_F77 \
16692 hardcode_libdir_separator_F77 \
16693 hardcode_automatic_F77 \
16695 module_expsym_cmds_F77 \
16696 lt_cv_prog_compiler_c_o_F77 \
16697 fix_srcfile_path_F77 \
16698 exclude_expsyms_F77 \
16699 include_expsyms_F77
; do
16702 old_archive_cmds_F77 | \
16703 old_archive_from_new_cmds_F77 | \
16704 archive_cmds_F77 | \
16705 archive_expsym_cmds_F77 | \
16706 module_cmds_F77 | \
16707 module_expsym_cmds_F77 | \
16708 old_archive_from_expsyms_cmds_F77 | \
16709 export_symbols_cmds_F77 | \
16710 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16711 postinstall_cmds | postuninstall_cmds | \
16712 old_postinstall_cmds | old_postuninstall_cmds | \
16713 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16714 # Double-quote double-evaled strings.
16715 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16718 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16724 *'\$0 --fallback-echo"')
16725 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16731 cat <<__EOF__ >> "$cfgfile"
16732 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16734 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16736 # Shell to use when invoking shell scripts.
16739 # Whether or not to build shared libraries.
16740 build_libtool_libs=$enable_shared
16742 # Whether or not to build static libraries.
16743 build_old_libs=$enable_static
16745 # Whether or not to add -lc for building shared libraries.
16746 build_libtool_need_lc=$archive_cmds_need_lc_F77
16748 # Whether or not to disallow shared libs when runtime libs are static
16749 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16751 # Whether or not to optimize for fast installation.
16752 fast_install=$enable_fast_install
16755 host_alias=$host_alias
16759 # The build system.
16760 build_alias=$build_alias
16764 # An echo program that does not interpret backslashes.
16769 AR_FLAGS=$lt_AR_FLAGS
16774 # LTCC compiler flags.
16775 LTCFLAGS=$lt_LTCFLAGS
16777 # A language-specific compiler.
16778 CC=$lt_compiler_F77
16780 # Is the compiler the GNU C compiler?
16786 # The linker used to build libraries.
16789 # Whether we need hard or soft links.
16792 # A BSD-compatible nm program.
16795 # A symbol stripping program
16798 # Used to examine libraries when file_magic_cmd begins "file"
16799 MAGIC_CMD=$MAGIC_CMD
16801 # Used on cygwin: DLL creation program.
16804 # Used on cygwin: object dumper.
16807 # Used on cygwin: assembler.
16810 # The name of the directory that contains temporary libtool files.
16813 # How to create reloadable object files.
16814 reload_flag=$lt_reload_flag
16815 reload_cmds=$lt_reload_cmds
16817 # How to pass a linker flag through the compiler.
16818 wl=$lt_lt_prog_compiler_wl_F77
16820 # Object file suffix (normally "o").
16821 objext="$ac_objext"
16823 # Old archive suffix (normally "a").
16826 # Shared library suffix (normally ".so").
16827 shrext_cmds='$shrext_cmds'
16829 # Executable file suffix (normally "").
16832 # Additional compiler flags for building library objects.
16833 pic_flag=$lt_lt_prog_compiler_pic_F77
16836 # What is the maximum length of a command?
16837 max_cmd_len=$lt_cv_sys_max_cmd_len
16839 # Does compiler simultaneously support -c and -o options?
16840 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16842 # Must we lock files when doing compilation?
16843 need_locks=$lt_need_locks
16845 # Do we need the lib prefix for modules?
16846 need_lib_prefix=$need_lib_prefix
16848 # Do we need a version for libraries?
16849 need_version=$need_version
16851 # Whether dlopen is supported.
16852 dlopen_support=$enable_dlopen
16854 # Whether dlopen of programs is supported.
16855 dlopen_self=$enable_dlopen_self
16857 # Whether dlopen of statically linked programs is supported.
16858 dlopen_self_static=$enable_dlopen_self_static
16860 # Compiler flag to prevent dynamic linking.
16861 link_static_flag=$lt_lt_prog_compiler_static_F77
16863 # Compiler flag to turn off builtin functions.
16864 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16866 # Compiler flag to allow reflexive dlopens.
16867 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16869 # Compiler flag to generate shared objects directly from archives.
16870 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16872 # Compiler flag to generate thread-safe objects.
16873 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16875 # Library versioning type.
16876 version_type=$version_type
16878 # Format of library name prefix.
16879 libname_spec=$lt_libname_spec
16881 # List of archive names. First name is the real one, the rest are links.
16882 # The last name is the one that the linker finds with -lNAME.
16883 library_names_spec=$lt_library_names_spec
16885 # The coded name of the library, if different from the real name.
16886 soname_spec=$lt_soname_spec
16888 # Commands used to build and install an old-style archive.
16890 old_archive_cmds=$lt_old_archive_cmds_F77
16891 old_postinstall_cmds=$lt_old_postinstall_cmds
16892 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16894 # Create an old-style archive from a shared archive.
16895 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16897 # Create a temporary old-style archive to link instead of a shared archive.
16898 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16900 # Commands used to build and install a shared archive.
16901 archive_cmds=$lt_archive_cmds_F77
16902 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16903 postinstall_cmds=$lt_postinstall_cmds
16904 postuninstall_cmds=$lt_postuninstall_cmds
16906 # Commands used to build a loadable module (assumed same as above if empty)
16907 module_cmds=$lt_module_cmds_F77
16908 module_expsym_cmds=$lt_module_expsym_cmds_F77
16910 # Commands to strip libraries.
16911 old_striplib=$lt_old_striplib
16912 striplib=$lt_striplib
16914 # Dependencies to place before the objects being linked to create a
16916 predep_objects=$lt_predep_objects_F77
16918 # Dependencies to place after the objects being linked to create a
16920 postdep_objects=$lt_postdep_objects_F77
16922 # Dependencies to place before the objects being linked to create a
16924 predeps=$lt_predeps_F77
16926 # Dependencies to place after the objects being linked to create a
16928 postdeps=$lt_postdeps_F77
16930 # The directories searched by this compiler when creating a shared
16932 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16934 # The library search path used internally by the compiler when linking
16935 # a shared library.
16936 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16938 # Method to check whether dependent libraries are shared objects.
16939 deplibs_check_method=$lt_deplibs_check_method
16941 # Command to use when deplibs_check_method == file_magic.
16942 file_magic_cmd=$lt_file_magic_cmd
16944 # Flag that allows shared libraries with undefined symbols to be built.
16945 allow_undefined_flag=$lt_allow_undefined_flag_F77
16947 # Flag that forces no undefined symbols.
16948 no_undefined_flag=$lt_no_undefined_flag_F77
16950 # Commands used to finish a libtool library installation in a directory.
16951 finish_cmds=$lt_finish_cmds
16953 # Same as above, but a single script fragment to be evaled but not shown.
16954 finish_eval=$lt_finish_eval
16956 # Take the output of nm and produce a listing of raw symbols and C names.
16957 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16959 # Transform the output of nm in a proper C declaration
16960 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16962 # Transform the output of nm in a C name address pair
16963 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16965 # This is the shared library runtime path variable.
16966 runpath_var=$runpath_var
16968 # This is the shared library path variable.
16969 shlibpath_var=$shlibpath_var
16971 # Is shlibpath searched before the hard-coded library search path?
16972 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16974 # How to hardcode a shared library path into an executable.
16975 hardcode_action=$hardcode_action_F77
16977 # Whether we should hardcode library paths into libraries.
16978 hardcode_into_libs=$hardcode_into_libs
16980 # Flag to hardcode \$libdir into a binary during linking.
16981 # This must work even if \$libdir does not exist.
16982 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16984 # If ld is used when linking, flag to hardcode \$libdir into
16985 # a binary during linking. This must work even if \$libdir does
16987 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16989 # Whether we need a single -rpath flag with a separated argument.
16990 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16992 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16993 # resulting binary.
16994 hardcode_direct=$hardcode_direct_F77
16996 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16997 # resulting binary.
16998 hardcode_minus_L=$hardcode_minus_L_F77
17000 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17001 # the resulting binary.
17002 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17004 # Set to yes if building a shared library automatically hardcodes DIR into the library
17005 # and all subsequent libraries and executables linked against it.
17006 hardcode_automatic=$hardcode_automatic_F77
17008 # Variables whose values should be saved in libtool wrapper scripts and
17009 # restored at relink time.
17010 variables_saved_for_relink="$variables_saved_for_relink"
17012 # Whether libtool must link a program against all its dependency libraries.
17013 link_all_deplibs=$link_all_deplibs_F77
17015 # Compile-time system search path for libraries
17016 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17018 # Run-time system search path for libraries
17019 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17021 # Fix the shell variable \$srcfile for the compiler.
17022 fix_srcfile_path=$lt_fix_srcfile_path
17024 # Set to yes if exported symbols are required.
17025 always_export_symbols=$always_export_symbols_F77
17027 # The commands to list exported symbols.
17028 export_symbols_cmds=$lt_export_symbols_cmds_F77
17030 # The commands to extract the exported symbol list from a shared archive.
17031 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17033 # Symbols that should not be listed in the preloaded symbols.
17034 exclude_expsyms=$lt_exclude_expsyms_F77
17036 # Symbols that must always be exported.
17037 include_expsyms=$lt_include_expsyms_F77
17039 # ### END LIBTOOL TAG CONFIG: $tagname
17045 # If there is no Makefile yet, we rely on a make rule to execute
17046 # `config.status --recheck' to rerun these tests and create the
17047 # libtool script then.
17048 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17049 if test -f "$ltmain_in"; then
17050 test -f Makefile
&& make "$ltmain"
17056 ac_cpp
='$CPP $CPPFLAGS'
17057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17069 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17072 # Source file extension for Java test sources.
17075 # Object file extension for compiled Java test sources.
17079 # Code to be used in simple compile tests
17080 lt_simple_compile_test_code
="class foo {}"
17082 # Code to be used in simple link tests
17083 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
17085 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17087 # If no C compiler was specified, use CC.
17090 # If no C compiler flags were specified, use CFLAGS.
17091 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17093 # Allow CC to be a program name with arguments.
17097 # save warnings/boilerplate of simple test code
17098 ac_outfile
=conftest.
$ac_objext
17099 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17100 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17101 _lt_compiler_boilerplate
=`cat conftest.err`
17104 ac_outfile
=conftest.
$ac_objext
17105 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17106 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17107 _lt_linker_boilerplate
=`cat conftest.err`
17111 # Allow CC to be a program name with arguments.
17116 for cc_temp
in $compiler""; do
17118 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17119 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17124 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17127 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17128 archive_cmds_need_lc_GCJ
=no
17130 old_archive_cmds_GCJ
=$old_archive_cmds
17133 lt_prog_compiler_no_builtin_flag_GCJ
=
17135 if test "$GCC" = yes; then
17136 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17139 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17140 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17141 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17142 echo $ECHO_N "(cached) $ECHO_C" >&6
17144 lt_cv_prog_compiler_rtti_exceptions
=no
17145 ac_outfile
=conftest.
$ac_objext
17146 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17147 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17148 # Insert the option either (1) after the last *FLAGS variable, or
17149 # (2) before a word containing "conftest.", or (3) at the end.
17150 # Note that $ac_compile itself does not contain backslashes and begins
17151 # with a dollar sign (not a hyphen), so the echo should work correctly.
17152 # The option is referenced via a variable to avoid confusing sed.
17153 lt_compile
=`echo "$ac_compile" | $SED \
17154 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17155 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17156 -e 's:$: $lt_compiler_flag:'`
17157 (eval echo "\"\$as_me:17157: $lt_compile\"" >&5)
17158 (eval "$lt_compile" 2>conftest.err
)
17160 cat conftest.err
>&5
17161 echo "$as_me:17161: \$? = $ac_status" >&5
17162 if (exit $ac_status) && test -s "$ac_outfile"; then
17163 # The compiler can only warn and ignore the option if not recognized
17164 # So say no if there are warnings other than the usual output.
17165 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17166 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17167 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17168 lt_cv_prog_compiler_rtti_exceptions
=yes
17174 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17175 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17177 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17178 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17185 lt_prog_compiler_wl_GCJ
=
17186 lt_prog_compiler_pic_GCJ
=
17187 lt_prog_compiler_static_GCJ
=
17189 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17190 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17192 if test "$GCC" = yes; then
17193 lt_prog_compiler_wl_GCJ
='-Wl,'
17194 lt_prog_compiler_static_GCJ
='-static'
17198 # All AIX code is PIC.
17199 if test "$host_cpu" = ia64
; then
17200 # AIX 5 now supports IA64 processor
17201 lt_prog_compiler_static_GCJ
='-Bstatic'
17206 # FIXME: we need at least 68020 code to build shared libraries, but
17207 # adding the `-m68020' flag to GCC prevents building anything better,
17209 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17212 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17213 # PIC is the default for these OSes.
17216 mingw
* | cygwin
* | pw32
* | os2
*)
17217 # This hack is so that the source file can tell whether it is being
17218 # built for inclusion in a dll (and should export symbols for example).
17219 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17220 # (--disable-auto-import) libraries
17224 darwin
* | rhapsody
*)
17225 # PIC is the default on this platform
17226 # Common symbols not allowed in MH_DYLIB files
17227 lt_prog_compiler_pic_GCJ
='-fno-common'
17231 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17232 # Instead, we relocate shared libraries at runtime.
17236 # Just because we use GCC doesn't mean we suddenly get shared libraries
17237 # on systems that don't support them.
17238 lt_prog_compiler_can_build_shared_GCJ
=no
17243 if test -d /usr
/nec
; then
17244 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17249 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17250 # not for PA HP-UX.
17256 lt_prog_compiler_pic_GCJ
='-fPIC'
17262 lt_prog_compiler_pic_GCJ
='-fPIC'
17266 # PORTME Check for flag to pass linker flags through the system compiler.
17269 lt_prog_compiler_wl_GCJ
='-Wl,'
17270 if test "$host_cpu" = ia64
; then
17271 # AIX 5 now supports IA64 processor
17272 lt_prog_compiler_static_GCJ
='-Bstatic'
17274 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17278 # PIC is the default on this platform
17279 # Common symbols not allowed in MH_DYLIB files
17280 case $cc_basename in
17282 lt_prog_compiler_pic_GCJ
='-qnocommon'
17283 lt_prog_compiler_wl_GCJ
='-Wl,'
17288 mingw
* | cygwin
* | pw32
* | os2
*)
17289 # This hack is so that the source file can tell whether it is being
17290 # built for inclusion in a dll (and should export symbols for example).
17294 hpux9
* | hpux10
* | hpux11
*)
17295 lt_prog_compiler_wl_GCJ
='-Wl,'
17296 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17297 # not for PA HP-UX.
17303 lt_prog_compiler_pic_GCJ
='+Z'
17306 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17307 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17310 irix5
* | irix6
* | nonstopux
*)
17311 lt_prog_compiler_wl_GCJ
='-Wl,'
17312 # PIC (with -KPIC) is the default.
17313 lt_prog_compiler_static_GCJ
='-non_shared'
17317 lt_prog_compiler_pic_GCJ
='-KPIC'
17318 lt_prog_compiler_static_GCJ
='-Bstatic'
17321 linux
* | k
*bsd
*-gnu)
17322 case $cc_basename in
17324 lt_prog_compiler_wl_GCJ
='-Wl,'
17325 lt_prog_compiler_pic_GCJ
='-KPIC'
17326 lt_prog_compiler_static_GCJ
='-static'
17328 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17329 # Portland Group compilers (*not* the Pentium gcc compiler,
17330 # which looks to be a dead project)
17331 lt_prog_compiler_wl_GCJ
='-Wl,'
17332 lt_prog_compiler_pic_GCJ
='-fpic'
17333 lt_prog_compiler_static_GCJ
='-Bstatic'
17336 lt_prog_compiler_wl_GCJ
='-Wl,'
17337 # All Alpha code is PIC.
17338 lt_prog_compiler_static_GCJ
='-non_shared'
17341 case `$CC -V 2>&1 | sed 5q` in
17344 lt_prog_compiler_pic_GCJ
='-KPIC'
17345 lt_prog_compiler_static_GCJ
='-Bstatic'
17346 lt_prog_compiler_wl_GCJ
='-Wl,'
17349 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17350 lt_prog_compiler_pic_GCJ
='-KPIC'
17351 lt_prog_compiler_static_GCJ
='-Bstatic'
17352 lt_prog_compiler_wl_GCJ
=''
17359 osf3
* | osf4
* | osf5
*)
17360 lt_prog_compiler_wl_GCJ
='-Wl,'
17361 # All OSF/1 code is PIC.
17362 lt_prog_compiler_static_GCJ
='-non_shared'
17366 lt_prog_compiler_static_GCJ
='-non_shared'
17370 lt_prog_compiler_pic_GCJ
='-KPIC'
17371 lt_prog_compiler_static_GCJ
='-Bstatic'
17372 case $cc_basename in
17373 f77
* | f90
* | f95
*)
17374 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17376 lt_prog_compiler_wl_GCJ
='-Wl,';;
17381 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17382 lt_prog_compiler_pic_GCJ
='-PIC'
17383 lt_prog_compiler_static_GCJ
='-Bstatic'
17386 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17387 lt_prog_compiler_wl_GCJ
='-Wl,'
17388 lt_prog_compiler_pic_GCJ
='-KPIC'
17389 lt_prog_compiler_static_GCJ
='-Bstatic'
17393 if test -d /usr
/nec
;then
17394 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17395 lt_prog_compiler_static_GCJ
='-Bstatic'
17399 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17400 lt_prog_compiler_wl_GCJ
='-Wl,'
17401 lt_prog_compiler_pic_GCJ
='-KPIC'
17402 lt_prog_compiler_static_GCJ
='-Bstatic'
17406 lt_prog_compiler_wl_GCJ
='-Wl,'
17407 lt_prog_compiler_can_build_shared_GCJ
=no
17411 lt_prog_compiler_pic_GCJ
='-pic'
17412 lt_prog_compiler_static_GCJ
='-Bstatic'
17416 lt_prog_compiler_can_build_shared_GCJ
=no
17421 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17422 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17425 # Check to make sure the PIC flag actually works.
17427 if test -n "$lt_prog_compiler_pic_GCJ"; then
17429 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17430 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17431 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17432 echo $ECHO_N "(cached) $ECHO_C" >&6
17434 lt_cv_prog_compiler_pic_works_GCJ
=no
17435 ac_outfile
=conftest.
$ac_objext
17436 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17437 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17438 # Insert the option either (1) after the last *FLAGS variable, or
17439 # (2) before a word containing "conftest.", or (3) at the end.
17440 # Note that $ac_compile itself does not contain backslashes and begins
17441 # with a dollar sign (not a hyphen), so the echo should work correctly.
17442 # The option is referenced via a variable to avoid confusing sed.
17443 lt_compile
=`echo "$ac_compile" | $SED \
17444 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17445 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17446 -e 's:$: $lt_compiler_flag:'`
17447 (eval echo "\"\$as_me:17447: $lt_compile\"" >&5)
17448 (eval "$lt_compile" 2>conftest.err
)
17450 cat conftest.err
>&5
17451 echo "$as_me:17451: \$? = $ac_status" >&5
17452 if (exit $ac_status) && test -s "$ac_outfile"; then
17453 # The compiler can only warn and ignore the option if not recognized
17454 # So say no if there are warnings other than the usual output.
17455 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17456 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17457 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17458 lt_cv_prog_compiler_pic_works_GCJ
=yes
17464 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17465 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17467 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17468 case $lt_prog_compiler_pic_GCJ in
17470 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17473 lt_prog_compiler_pic_GCJ
=
17474 lt_prog_compiler_can_build_shared_GCJ
=no
17479 # For platforms which do not support PIC, -DPIC is meaningless:
17481 lt_prog_compiler_pic_GCJ
=
17484 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17489 # Check to make sure the static flag actually works.
17491 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17492 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17493 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17494 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17495 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 lt_cv_prog_compiler_static_works_GCJ
=no
17498 save_LDFLAGS
="$LDFLAGS"
17499 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17500 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17501 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17502 # The linker can only warn and ignore the option if not recognized
17503 # So say no if there are warnings
17504 if test -s conftest.err
; then
17505 # Append any errors to the config.log.
17506 cat conftest.err
1>&5
17507 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17508 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17509 if diff conftest.exp conftest.er2
>/dev
/null
; then
17510 lt_cv_prog_compiler_static_works_GCJ
=yes
17513 lt_cv_prog_compiler_static_works_GCJ
=yes
17517 LDFLAGS
="$save_LDFLAGS"
17520 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17521 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17523 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17526 lt_prog_compiler_static_GCJ
=
17530 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17531 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17532 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17533 echo $ECHO_N "(cached) $ECHO_C" >&6
17535 lt_cv_prog_compiler_c_o_GCJ
=no
17536 $rm -r conftest
2>/dev
/null
17540 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17542 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17543 # Insert the option either (1) after the last *FLAGS variable, or
17544 # (2) before a word containing "conftest.", or (3) at the end.
17545 # Note that $ac_compile itself does not contain backslashes and begins
17546 # with a dollar sign (not a hyphen), so the echo should work correctly.
17547 lt_compile
=`echo "$ac_compile" | $SED \
17548 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17549 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17550 -e 's:$: $lt_compiler_flag:'`
17551 (eval echo "\"\$as_me:17551: $lt_compile\"" >&5)
17552 (eval "$lt_compile" 2>out
/conftest.err
)
17554 cat out
/conftest.err
>&5
17555 echo "$as_me:17555: \$? = $ac_status" >&5
17556 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17558 # The compiler can only warn and ignore the option if not recognized
17559 # So say no if there are warnings
17560 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17561 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17562 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17563 lt_cv_prog_compiler_c_o_GCJ
=yes
17568 # SGI C++ compiler will create directory out/ii_files/ for
17569 # template instantiation
17570 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17571 $rm out
/* && rmdir out
17577 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17578 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17581 hard_links
="nottested"
17582 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17583 # do not overwrite the value of need_locks provided by the user
17584 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17585 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17588 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17590 ln conftest.a conftest.b
2>&5 || hard_links
=no
17591 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17592 { echo "$as_me:$LINENO: result: $hard_links" >&5
17593 echo "${ECHO_T}$hard_links" >&6; }
17594 if test "$hard_links" = no
; then
17595 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17596 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17603 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17604 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17607 allow_undefined_flag_GCJ
=
17608 enable_shared_with_static_runtimes_GCJ
=no
17610 archive_expsym_cmds_GCJ
=
17611 old_archive_From_new_cmds_GCJ
=
17612 old_archive_from_expsyms_cmds_GCJ
=
17613 export_dynamic_flag_spec_GCJ
=
17614 whole_archive_flag_spec_GCJ
=
17615 thread_safe_flag_spec_GCJ
=
17616 hardcode_libdir_flag_spec_GCJ
=
17617 hardcode_libdir_flag_spec_ld_GCJ
=
17618 hardcode_libdir_separator_GCJ
=
17619 hardcode_direct_GCJ
=no
17620 hardcode_minus_L_GCJ
=no
17621 hardcode_shlibpath_var_GCJ
=unsupported
17622 link_all_deplibs_GCJ
=unknown
17623 hardcode_automatic_GCJ
=no
17625 module_expsym_cmds_GCJ
=
17626 always_export_symbols_GCJ
=no
17627 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17628 # include_expsyms should be a list of space-separated symbols to be *always*
17629 # included in the symbol list
17630 include_expsyms_GCJ
=
17631 # exclude_expsyms can be an extended regexp of symbols to exclude
17632 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17633 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17634 # as well as any symbol that contains `d'.
17635 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17636 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17637 # platforms (ab)use it in PIC code, but their linkers get confused if
17638 # the symbol is explicitly referenced. Since portable code cannot
17639 # rely on this symbol name, it's probably fine to never include it in
17640 # preloaded symbol tables.
17641 # Exclude shared library initialization/finalization symbols.
17642 extract_expsyms_cmds
=
17643 # Just being paranoid about ensuring that cc_basename is set.
17644 for cc_temp
in $compiler""; do
17646 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17647 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17652 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17655 cygwin
* | mingw
* | pw32
*)
17656 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17657 # When not using gcc, we currently assume that we are using
17658 # Microsoft Visual C++.
17659 if test "$GCC" != yes; then
17664 # we just hope/assume this is gcc and not c89 (= MSVC++)
17673 if test "$with_gnu_ld" = yes; then
17674 # If archive_cmds runs LD, not CC, wlarc should be empty
17677 # Set some defaults for GNU ld with shared library support. These
17678 # are reset later if shared libraries are not supported. Putting them
17679 # here allows them to be overridden if necessary.
17680 runpath_var
=LD_RUN_PATH
17681 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17682 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17683 # ancient GNU ld didn't support --whole-archive et. al.
17684 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17685 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17687 whole_archive_flag_spec_GCJ
=
17689 supports_anon_versioning
=no
17690 case `$LD -v 2>/dev/null` in
17691 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17692 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17693 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17694 *\
2.11.
*) ;; # other 2.11 versions
17695 *) supports_anon_versioning
=yes ;;
17698 # See if GNU ld supports shared libraries.
17701 # On AIX/PPC, the GNU linker is very broken
17702 if test "$host_cpu" != ia64
; then
17706 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17707 *** to be unable to reliably create shared libraries on AIX.
17708 *** Therefore, libtool is disabling shared libraries support. If you
17709 *** really care for shared libraries, you may want to modify your PATH
17710 *** so that a non-GNU linker is found, and then restart.
17717 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)'
17718 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17719 hardcode_minus_L_GCJ
=yes
17721 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17722 # that the semantics of dynamic libraries on AmigaOS, at least up
17723 # to version 4, is to share data among multiple programs linked
17724 # with the same dynamic library. Since this doesn't match the
17725 # behavior of shared libraries on other platforms, we can't use
17731 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17732 allow_undefined_flag_GCJ
=unsupported
17733 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17734 # support --undefined. This deserves some investigation. FIXME
17735 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17741 cygwin
* | mingw
* | pw32
*)
17742 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17743 # as there is no search path for DLLs.
17744 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17745 allow_undefined_flag_GCJ
=unsupported
17746 always_export_symbols_GCJ
=no
17747 enable_shared_with_static_runtimes_GCJ
=yes
17748 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17750 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17751 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17752 # If the export-symbols file already is a .def file (1st line
17753 # is EXPORTS), use it as is; otherwise, prepend...
17754 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17755 cp $export_symbols $output_objdir/$soname.def;
17757 echo EXPORTS > $output_objdir/$soname.def;
17758 cat $export_symbols >> $output_objdir/$soname.def;
17760 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17767 hardcode_direct_GCJ
=no
17768 hardcode_shlibpath_var_GCJ
=no
17769 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17770 export_dynamic_flag_spec_GCJ
='${wl}-E'
17771 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17772 # Instead, shared libraries are loaded at an image base (0x10000000 by
17773 # default) and relocated if they conflict, which is a slow very memory
17774 # consuming and fragmenting process. To avoid this, we pick a random,
17775 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17776 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17777 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'
17778 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'
17781 gnu
* | linux
* | k
*bsd
*-gnu)
17782 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17784 case $cc_basename,$host_cpu in
17785 pgcc
*) # Portland Group C compiler
17786 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'
17787 tmp_addflag
=' $pic_flag'
17789 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17790 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'
17791 tmp_addflag
=' $pic_flag -Mnomain' ;;
17792 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17793 tmp_addflag
=' -i_dynamic' ;;
17794 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17795 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17796 ifc
* | ifort
*) # Intel Fortran compiler
17797 tmp_addflag
=' -nofor_main' ;;
17799 case `$CC -V 2>&1 | sed 5q` in
17800 *Sun\ C
*) # Sun C 5.9
17801 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'
17802 tmp_sharedflag
='-G' ;;
17803 *Sun\ F
*) # Sun Fortran 8.3
17804 tmp_sharedflag
='-G' ;;
17806 tmp_sharedflag
='-shared' ;;
17808 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17810 if test $supports_anon_versioning = yes; then
17811 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17812 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17813 $echo "local: *; };" >> $output_objdir/$libname.ver~
17814 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17816 link_all_deplibs_GCJ
=no
17822 netbsd
* | netbsdelf
*-gnu)
17823 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17824 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17827 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17828 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17833 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17837 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17838 *** create shared libraries on Solaris systems. Therefore, libtool
17839 *** is disabling shared libraries support. We urge you to upgrade GNU
17840 *** binutils to release 2.9.1 or newer. Another option is to modify
17841 *** your PATH or compiler configuration so that the native linker is
17842 *** used, and then restart.
17845 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17846 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17847 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17853 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17854 case `$LD -v 2>&1` in
17855 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17859 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17860 *** reliably create shared libraries on SCO systems. Therefore, libtool
17861 *** is disabling shared libraries support. We urge you to upgrade GNU
17862 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17863 *** your PATH or compiler configuration so that the native linker is
17864 *** used, and then restart.
17869 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17870 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17871 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17872 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17881 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17883 hardcode_direct_GCJ
=yes
17884 hardcode_shlibpath_var_GCJ
=no
17888 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17889 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17890 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17897 if test "$ld_shlibs_GCJ" = no
; then
17899 hardcode_libdir_flag_spec_GCJ
=
17900 export_dynamic_flag_spec_GCJ
=
17901 whole_archive_flag_spec_GCJ
=
17904 # PORTME fill in a description of your system's linker (not GNU ld)
17907 allow_undefined_flag_GCJ
=unsupported
17908 always_export_symbols_GCJ
=yes
17909 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'
17910 # Note: this linker hardcodes the directories in LIBPATH if there
17911 # are no directories specified by -L.
17912 hardcode_minus_L_GCJ
=yes
17913 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17914 # Neither direct hardcoding nor static linking is supported with a
17916 hardcode_direct_GCJ
=unsupported
17921 if test "$host_cpu" = ia64
; then
17922 # On IA64, the linker does run time linking by default, so we don't
17923 # have to do anything special.
17924 aix_use_runtimelinking
=no
17925 exp_sym_flag
='-Bexport'
17928 # If we're using GNU nm, then we don't want the "-C" option.
17929 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17930 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17931 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'
17933 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'
17935 aix_use_runtimelinking
=no
17937 # Test if we are trying to use run time linking or normal
17938 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17939 # need to do runtime linking.
17940 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17941 for ld_flag
in $LDFLAGS; do
17942 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17943 aix_use_runtimelinking
=yes
17950 exp_sym_flag
='-bexport'
17951 no_entry_flag
='-bnoentry'
17954 # When large executables or shared objects are built, AIX ld can
17955 # have problems creating the table of contents. If linking a library
17956 # or program results in "error TOC overflow" add -mminimal-toc to
17957 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17958 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17960 archive_cmds_GCJ
=''
17961 hardcode_direct_GCJ
=yes
17962 hardcode_libdir_separator_GCJ
=':'
17963 link_all_deplibs_GCJ
=yes
17965 if test "$GCC" = yes; then
17966 case $host_os in aix4.
[012]|aix4.
[012].
*)
17967 # We only want to do this on AIX 4.2 and lower, the check
17968 # below for broken collect2 doesn't work under 4.3+
17969 collect2name
=`${CC} -print-prog-name=collect2`
17970 if test -f "$collect2name" && \
17971 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17973 # We have reworked collect2
17976 # We have old collect2
17977 hardcode_direct_GCJ
=unsupported
17978 # It fails to find uninstalled libraries when the uninstalled
17979 # path is not listed in the libpath. Setting hardcode_minus_L
17980 # to unsupported forces relinking
17981 hardcode_minus_L_GCJ
=yes
17982 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17983 hardcode_libdir_separator_GCJ
=
17987 shared_flag
='-shared'
17988 if test "$aix_use_runtimelinking" = yes; then
17989 shared_flag
="$shared_flag "'${wl}-G'
17993 if test "$host_cpu" = ia64
; then
17994 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17995 # chokes on -Wl,-G. The following line is correct:
17998 if test "$aix_use_runtimelinking" = yes; then
17999 shared_flag
='${wl}-G'
18001 shared_flag
='${wl}-bM:SRE'
18006 # It seems that -bexpall does not export symbols beginning with
18007 # underscore (_), so it is better to generate a list of symbols to export.
18008 always_export_symbols_GCJ
=yes
18009 if test "$aix_use_runtimelinking" = yes; then
18010 # Warning - without using the other runtime loading flags (-brtl),
18011 # -berok will link without error, but may produce a broken library.
18012 allow_undefined_flag_GCJ
='-berok'
18013 # Determine the default libpath from the value encoded in an empty executable.
18014 cat >conftest.
$ac_ext <<_ACEOF
18017 cat confdefs.h
>>conftest.
$ac_ext
18018 cat >>conftest.
$ac_ext <<_ACEOF
18019 /* end confdefs.h. */
18029 rm -f conftest.
$ac_objext conftest
$ac_exeext
18030 if { (ac_try
="$ac_link"
18031 case "(($ac_try" in
18032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18033 *) ac_try_echo=$ac_try;;
18035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18036 (eval "$ac_link") 2>conftest.er1
18038 grep -v '^ *+' conftest.er1 >conftest.err
18040 cat conftest.err >&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } && {
18043 test -z "$ac_c_werror_flag" ||
18044 test ! -s conftest.err
18045 } && test -s conftest$ac_exeext &&
18046 $as_test_x conftest$ac_exeext; then
18048 lt_aix_libpath_sed='
18049 /Import File Strings/,/^$/ {
18055 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
18056 # Check for a 64-bit object if we didn't find anything.
18057 if test -z "$aix_libpath"; then
18058 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
18061 echo "$as_me: failed program was:" >&5
18062 sed 's/^/| /' conftest.$ac_ext >&5
18067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18068 conftest$ac_exeext conftest.$ac_ext
18069 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18071 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18072 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"
18074 if test "$host_cpu" = ia64; then
18075 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18076 allow_undefined_flag_GCJ="-z nodefs"
18077 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"
18079 # Determine the default libpath from the value encoded in an empty executable.
18080 cat >conftest.$ac_ext <<_ACEOF
18083 cat confdefs.h >>conftest.$ac_ext
18084 cat >>conftest.$ac_ext <<_ACEOF
18085 /* end confdefs.h. */
18095 rm -f conftest.$ac_objext conftest$ac_exeext
18096 if { (ac_try="$ac_link"
18097 case "(($ac_try" in
18098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18099 *) ac_try_echo
=$ac_try;;
18101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18102 (eval "$ac_link") 2>conftest.er1
18104 grep -v '^ *+' conftest.er1
>conftest.err
18106 cat conftest.err
>&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } && {
18109 test -z "$ac_c_werror_flag" ||
18110 test ! -s conftest.err
18111 } && test -s conftest
$ac_exeext &&
18112 $as_test_x conftest
$ac_exeext; then
18114 lt_aix_libpath_sed
='
18115 /Import File Strings/,/^$/ {
18121 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18122 # Check for a 64-bit object if we didn't find anything.
18123 if test -z "$aix_libpath"; then
18124 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18127 echo "$as_me: failed program was:" >&5
18128 sed 's/^/| /' conftest.
$ac_ext >&5
18133 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18134 conftest
$ac_exeext conftest.
$ac_ext
18135 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18137 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18138 # Warning - without using the other run time loading flags,
18139 # -berok will link without error, but may produce a broken library.
18140 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18141 allow_undefined_flag_GCJ
=' ${wl}-berok'
18142 # Exported symbols can be pulled into shared objects from archives
18143 whole_archive_flag_spec_GCJ
='$convenience'
18144 archive_cmds_need_lc_GCJ
=yes
18145 # This is similar to how AIX traditionally builds its shared libraries.
18146 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'
18152 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)'
18153 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18154 hardcode_minus_L_GCJ
=yes
18155 # see comment about different semantics on the GNU ld section
18160 export_dynamic_flag_spec_GCJ
=-rdynamic
18163 cygwin
* | mingw
* | pw32
*)
18164 # When not using gcc, we currently assume that we are using
18165 # Microsoft Visual C++.
18166 # hardcode_libdir_flag_spec is actually meaningless, as there is
18167 # no search path for DLLs.
18168 hardcode_libdir_flag_spec_GCJ
=' '
18169 allow_undefined_flag_GCJ
=unsupported
18170 # Tell ltmain to make .lib files, not .a files.
18172 # Tell ltmain to make .dll files, not .so files.
18174 # FIXME: Setting linknames here is a bad hack.
18175 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18176 # The linker will automatically build a .lib file if we build a DLL.
18177 old_archive_From_new_cmds_GCJ
='true'
18178 # FIXME: Should let the user specify the lib program.
18179 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18180 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18181 enable_shared_with_static_runtimes_GCJ
=yes
18184 darwin
* | rhapsody
*)
18186 rhapsody
* | darwin1.
[012])
18187 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18190 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18191 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18193 case ${MACOSX_DEPLOYMENT_TARGET} in
18195 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18198 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18204 archive_cmds_need_lc_GCJ
=no
18205 hardcode_direct_GCJ
=no
18206 hardcode_automatic_GCJ
=yes
18207 hardcode_shlibpath_var_GCJ
=unsupported
18208 whole_archive_flag_spec_GCJ
=''
18209 link_all_deplibs_GCJ
=yes
18210 if test "$GCC" = yes ; then
18211 output_verbose_link_cmd
='echo'
18212 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18213 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18214 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18215 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18217 case $cc_basename in
18219 output_verbose_link_cmd
='echo'
18220 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18221 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18222 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18223 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}'
18224 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}'
18234 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18235 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18236 hardcode_shlibpath_var_GCJ
=no
18243 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18244 # support. Future versions do this automatically, but an explicit c++rt0.o
18245 # does not break anything, and helps significantly (at the cost of a little
18248 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18249 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18250 hardcode_direct_GCJ
=yes
18251 hardcode_shlibpath_var_GCJ
=no
18254 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18256 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18257 hardcode_direct_GCJ
=yes
18258 hardcode_minus_L_GCJ
=yes
18259 hardcode_shlibpath_var_GCJ
=no
18262 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18263 freebsd
* | dragonfly
*)
18264 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18265 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18266 hardcode_direct_GCJ
=yes
18267 hardcode_shlibpath_var_GCJ
=no
18271 if test "$GCC" = yes; then
18272 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'
18274 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'
18276 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18277 hardcode_libdir_separator_GCJ
=:
18278 hardcode_direct_GCJ
=yes
18280 # hardcode_minus_L: Not really in the search PATH,
18281 # but as the default location of the library.
18282 hardcode_minus_L_GCJ
=yes
18283 export_dynamic_flag_spec_GCJ
='${wl}-E'
18287 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18288 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18290 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18292 if test "$with_gnu_ld" = no
; then
18293 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18294 hardcode_libdir_separator_GCJ
=:
18296 hardcode_direct_GCJ
=yes
18297 export_dynamic_flag_spec_GCJ
='${wl}-E'
18299 # hardcode_minus_L: Not really in the search PATH,
18300 # but as the default location of the library.
18301 hardcode_minus_L_GCJ
=yes
18306 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18309 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18312 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18315 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18321 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18324 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18327 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18331 if test "$with_gnu_ld" = no
; then
18332 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18333 hardcode_libdir_separator_GCJ
=:
18337 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18338 hardcode_direct_GCJ
=no
18339 hardcode_shlibpath_var_GCJ
=no
18342 hardcode_direct_GCJ
=yes
18343 export_dynamic_flag_spec_GCJ
='${wl}-E'
18345 # hardcode_minus_L: Not really in the search PATH,
18346 # but as the default location of the library.
18347 hardcode_minus_L_GCJ
=yes
18353 irix5
* | irix6
* | nonstopux
*)
18354 if test "$GCC" = yes; then
18355 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'
18357 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'
18358 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18360 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18361 hardcode_libdir_separator_GCJ
=:
18362 link_all_deplibs_GCJ
=yes
18365 netbsd
* | netbsdelf
*-gnu)
18366 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18367 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18369 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18371 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18372 hardcode_direct_GCJ
=yes
18373 hardcode_shlibpath_var_GCJ
=no
18377 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18378 hardcode_direct_GCJ
=yes
18379 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18380 hardcode_libdir_separator_GCJ
=:
18381 hardcode_shlibpath_var_GCJ
=no
18385 if test -f /usr
/libexec
/ld.so
; then
18386 hardcode_direct_GCJ
=yes
18387 hardcode_shlibpath_var_GCJ
=no
18388 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18389 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18390 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18391 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18392 export_dynamic_flag_spec_GCJ
='${wl}-E'
18395 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18396 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18397 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18400 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18401 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18411 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18412 hardcode_minus_L_GCJ
=yes
18413 allow_undefined_flag_GCJ
=unsupported
18414 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'
18415 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18419 if test "$GCC" = yes; then
18420 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18421 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'
18423 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18424 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'
18426 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18427 hardcode_libdir_separator_GCJ
=:
18430 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18431 if test "$GCC" = yes; then
18432 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18433 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'
18434 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18436 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18437 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'
18438 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~
18439 $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'
18441 # Both c and cxx compiler support -rpath directly
18442 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18444 hardcode_libdir_separator_GCJ
=:
18448 no_undefined_flag_GCJ
=' -z text'
18449 if test "$GCC" = yes; then
18451 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18452 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18453 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18456 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18457 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18458 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18460 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18461 hardcode_shlibpath_var_GCJ
=no
18463 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18465 # The compiler driver will combine and reorder linker options,
18466 # but understands `-z linker_flag'. GCC discards it without `$wl',
18467 # but is careful enough not to reorder.
18468 # Supported since Solaris 2.6 (maybe 2.5.1?)
18469 if test "$GCC" = yes; then
18470 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18472 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18476 link_all_deplibs_GCJ
=yes
18480 if test "x$host_vendor" = xsequent
; then
18481 # Use $CC to link under sequent, because it throws in some extra .o
18482 # files that make .init and .fini sections work.
18483 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18485 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18487 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18488 hardcode_direct_GCJ
=yes
18489 hardcode_minus_L_GCJ
=yes
18490 hardcode_shlibpath_var_GCJ
=no
18494 case $host_vendor in
18496 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18497 hardcode_direct_GCJ
=yes # is this really true???
18500 ## LD is ld it makes a PLAMLIB
18501 ## CC just makes a GrossModule.
18502 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18503 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18504 hardcode_direct_GCJ
=no
18507 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18508 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18511 runpath_var
='LD_RUN_PATH'
18512 hardcode_shlibpath_var_GCJ
=no
18516 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18517 hardcode_shlibpath_var_GCJ
=no
18518 export_dynamic_flag_spec_GCJ
='-Bexport'
18522 if test -d /usr
/nec
; then
18523 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18524 hardcode_shlibpath_var_GCJ
=no
18525 runpath_var
=LD_RUN_PATH
18526 hardcode_runpath_var
=yes
18531 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18532 no_undefined_flag_GCJ
='${wl}-z,text'
18533 archive_cmds_need_lc_GCJ
=no
18534 hardcode_shlibpath_var_GCJ
=no
18535 runpath_var
='LD_RUN_PATH'
18537 if test "$GCC" = yes; then
18538 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18539 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18541 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18542 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18546 sysv5
* | sco3.2v5
* | sco5v6
*)
18547 # Note: We can NOT use -z defs as we might desire, because we do not
18548 # link with -lc, and that would cause any symbols used from libc to
18549 # always be unresolved, which means just about no library would
18550 # ever link correctly. If we're not using GNU ld we use -z text
18551 # though, which does catch some bad symbols but isn't as heavy-handed
18553 no_undefined_flag_GCJ
='${wl}-z,text'
18554 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18555 archive_cmds_need_lc_GCJ
=no
18556 hardcode_shlibpath_var_GCJ
=no
18557 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18558 hardcode_libdir_separator_GCJ
=':'
18559 link_all_deplibs_GCJ
=yes
18560 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18561 runpath_var
='LD_RUN_PATH'
18563 if test "$GCC" = yes; then
18564 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18565 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18567 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18568 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18573 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18574 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18575 hardcode_shlibpath_var_GCJ
=no
18584 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18585 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18586 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18589 # Do we need to explicitly link libc?
18591 case "x$archive_cmds_need_lc_GCJ" in
18593 # Assume -lc should be added
18594 archive_cmds_need_lc_GCJ
=yes
18596 if test "$enable_shared" = yes && test "$GCC" = yes; then
18597 case $archive_cmds_GCJ in
18599 # FIXME: we may have to deal with multi-command sequences.
18602 # Test whether the compiler implicitly links with -lc since on some
18603 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18604 # to ld, don't add -lc before -lgcc.
18605 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18606 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18608 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18611 (eval $ac_compile) 2>&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); } 2>conftest.err
; then
18617 libobjs
=conftest.
$ac_objext
18619 wl
=$lt_prog_compiler_wl_GCJ
18620 pic_flag
=$lt_prog_compiler_pic_GCJ
18626 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18627 allow_undefined_flag_GCJ
=
18628 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18629 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }
18634 archive_cmds_need_lc_GCJ
=no
18636 archive_cmds_need_lc_GCJ
=yes
18638 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18640 cat conftest.err
1>&5
18643 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18644 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18651 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18652 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18653 library_names_spec
=
18654 libname_spec
='lib$name'
18658 postuninstall_cmds
=
18662 shlibpath_overrides_runpath
=unknown
18664 dynamic_linker
="$host_os ld.so"
18665 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18667 need_lib_prefix
=unknown
18668 hardcode_into_libs
=no
18670 # when you set need_version to no, make sure it does not cause -set_version
18671 # flags to be left without arguments
18672 need_version
=unknown
18677 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18678 shlibpath_var
=LIBPATH
18680 # AIX 3 has no versioning support, so we append a major version to the name.
18681 soname_spec
='${libname}${release}${shared_ext}$major'
18688 hardcode_into_libs
=yes
18689 if test "$host_cpu" = ia64
; then
18690 # AIX 5 supports IA64
18691 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18692 shlibpath_var
=LD_LIBRARY_PATH
18694 # With GCC up to 2.95.x, collect2 would create an import file
18695 # for dependence libraries. The import file would start with
18696 # the line `#! .'. This would cause the generated library to
18697 # depend on `.', always an invalid library. This was fixed in
18698 # development snapshots of GCC prior to 3.0.
18700 aix4 | aix4.
[01] | aix4.
[01].
*)
18701 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18703 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18706 can_build_shared
=no
18710 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18711 # soname into executable. Probably we can add versioning support to
18712 # collect2, so additional links can be useful in future.
18713 if test "$aix_use_runtimelinking" = yes; then
18714 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18715 # instead of lib<name>.a to let people know that these are not
18716 # typical AIX shared libraries.
18717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18719 # We preserve .a as extension for shared libraries through AIX4.2
18720 # and later when we are not doing run time linking.
18721 library_names_spec
='${libname}${release}.a $libname.a'
18722 soname_spec
='${libname}${release}${shared_ext}$major'
18724 shlibpath_var
=LIBPATH
18729 library_names_spec
='$libname.ixlibrary $libname.a'
18730 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18731 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'
18735 library_names_spec
='${libname}${shared_ext}'
18736 dynamic_linker
="$host_os ld.so"
18737 shlibpath_var
=LIBRARY_PATH
18743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18744 soname_spec
='${libname}${release}${shared_ext}$major'
18745 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18746 shlibpath_var
=LD_LIBRARY_PATH
18747 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18748 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18749 # the default ld.so.conf also contains /usr/contrib/lib and
18750 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18751 # libtool to hard-code these into programs
18754 cygwin
* | mingw
* | pw32
*)
18755 version_type
=windows
18760 case $GCC,$host_os in
18761 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18762 library_names_spec
='$libname.dll.a'
18763 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18764 postinstall_cmds
='base_file=`basename \${file}`~
18765 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18766 dldir=$destdir/`dirname \$dlpath`~
18767 test -d \$dldir || mkdir -p \$dldir~
18768 $install_prog $dir/$dlname \$dldir/$dlname~
18769 chmod a+x \$dldir/$dlname'
18770 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18771 dlpath=$dir/\$dldll~
18773 shlibpath_overrides_runpath
=yes
18777 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18778 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18779 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18782 # MinGW DLLs use traditional 'lib' prefix
18783 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18784 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18785 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18786 # It is most probably a Windows format PATH printed by
18787 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18788 # path with ; separators, and with drive letters. We can handle the
18789 # drive letters (cygwin fileutils understands them), so leave them,
18790 # especially as we might pass files found there to a mingw objdump,
18791 # which wouldn't understand a cygwinified path. Ahh.
18792 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18794 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18798 # pw32 DLLs use 'pw' prefix rather than 'lib'
18799 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18805 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18808 dynamic_linker
='Win32 ld.exe'
18809 # FIXME: first we should search . and the directory the executable is in
18813 darwin
* | rhapsody
*)
18814 dynamic_linker
="$host_os dyld"
18815 version_type
=darwin
18818 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18819 soname_spec
='${libname}${release}${major}$shared_ext'
18820 shlibpath_overrides_runpath
=yes
18821 shlibpath_var
=DYLD_LIBRARY_PATH
18822 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18824 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18832 soname_spec
='${libname}${release}${shared_ext}$major'
18833 shlibpath_var
=LD_LIBRARY_PATH
18840 freebsd
* | dragonfly
*)
18841 # DragonFly does not have aout. When/if they implement a new
18842 # versioning mechanism, adjust this.
18843 if test -x /usr
/bin
/objformat
; then
18844 objformat
=`/usr/bin/objformat`
18847 freebsd
[123]*) objformat
=aout
;;
18848 *) objformat
=elf
;;
18851 version_type
=freebsd-
$objformat
18852 case $version_type in
18854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18859 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18863 shlibpath_var
=LD_LIBRARY_PATH
18866 shlibpath_overrides_runpath
=yes
18868 freebsd3.
[01]* | freebsdelf3.
[01]*)
18869 shlibpath_overrides_runpath
=yes
18870 hardcode_into_libs
=yes
18872 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18873 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18874 shlibpath_overrides_runpath
=no
18875 hardcode_into_libs
=yes
18877 *) # from 4.6 on, and DragonFly
18878 shlibpath_overrides_runpath
=yes
18879 hardcode_into_libs
=yes
18888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18889 soname_spec
='${libname}${release}${shared_ext}$major'
18890 shlibpath_var
=LD_LIBRARY_PATH
18891 hardcode_into_libs
=yes
18894 hpux9
* | hpux10
* | hpux11
*)
18895 # Give a soname corresponding to the major version so that dld.sl refuses to
18896 # link against other versions.
18903 hardcode_into_libs
=yes
18904 dynamic_linker
="$host_os dld.so"
18905 shlibpath_var
=LD_LIBRARY_PATH
18906 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18908 soname_spec
='${libname}${release}${shared_ext}$major'
18909 if test "X$HPUX_IA64_MODE" = X32
; then
18910 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18912 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18914 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18918 hardcode_into_libs
=yes
18919 dynamic_linker
="$host_os dld.sl"
18920 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18921 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18923 soname_spec
='${libname}${release}${shared_ext}$major'
18924 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18925 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18929 dynamic_linker
="$host_os dld.sl"
18930 shlibpath_var
=SHLIB_PATH
18931 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18933 soname_spec
='${libname}${release}${shared_ext}$major'
18936 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18937 postinstall_cmds
='chmod 555 $lib'
18944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18945 soname_spec
='${libname}${release}${shared_ext}$major'
18946 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18947 shlibpath_var
=LD_LIBRARY_PATH
18948 shlibpath_overrides_runpath
=no
18949 hardcode_into_libs
=yes
18952 irix5
* | irix6
* | nonstopux
*)
18954 nonstopux
*) version_type
=nonstopux
;;
18956 if test "$lt_cv_prog_gnu_ld" = yes; then
18964 soname_spec
='${libname}${release}${shared_ext}$major'
18965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18967 irix5
* | nonstopux
*)
18968 libsuff
= shlibsuff
=
18971 case $LD in # libtool.m4 will add one of these switches to LD
18972 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18973 libsuff
= shlibsuff
= libmagic
=32-bit;;
18974 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18975 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18976 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18977 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18978 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18982 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18983 shlibpath_overrides_runpath
=no
18984 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18985 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18986 hardcode_into_libs
=yes
18989 # No shared lib support for Linux oldld, aout, or coff.
18990 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18994 # This must be Linux ELF.
18995 linux
* | k
*bsd
*-gnu)
18999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19000 soname_spec
='${libname}${release}${shared_ext}$major'
19001 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19002 shlibpath_var
=LD_LIBRARY_PATH
19003 shlibpath_overrides_runpath
=no
19004 # This implies no fast_install, which is unacceptable.
19005 # Some rework will be needed to allow for fast_install
19006 # before this can be enabled.
19007 hardcode_into_libs
=yes
19009 # Append ld.so.conf contents to the search path
19010 if test -f /etc
/ld.so.conf
; then
19011 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' ' '`
19012 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
19015 # We used to test for /lib/ld.so.1 and disable shared libraries on
19016 # powerpc, because MkLinux only supported shared libraries with the
19017 # GNU dynamic linker. Since this was broken with cross compilers,
19018 # most powerpc-linux boxes support dynamic linking these days and
19019 # people can always --disable-shared, the test was removed, and we
19020 # assume the GNU/Linux dynamic linker is in use.
19021 dynamic_linker
='GNU/Linux ld.so'
19028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19029 soname_spec
='${libname}${release}${shared_ext}$major'
19030 shlibpath_var
=LD_LIBRARY_PATH
19031 shlibpath_overrides_runpath
=no
19032 hardcode_into_libs
=yes
19033 dynamic_linker
='NetBSD ld.elf_so'
19040 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19042 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19043 dynamic_linker
='NetBSD (a.out) ld.so'
19045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19046 soname_spec
='${libname}${release}${shared_ext}$major'
19047 dynamic_linker
='NetBSD ld.elf_so'
19049 shlibpath_var
=LD_LIBRARY_PATH
19050 shlibpath_overrides_runpath
=yes
19051 hardcode_into_libs
=yes
19056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19057 shlibpath_var
=LD_LIBRARY_PATH
19058 shlibpath_overrides_runpath
=yes
19065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19066 soname_spec
='${libname}${release}${shared_ext}$major'
19067 shlibpath_var
=LD_LIBRARY_PATH
19068 shlibpath_overrides_runpath
=yes
19073 sys_lib_dlsearch_path_spec
="/usr/lib"
19075 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19077 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
19078 *) need_version
=no
;;
19080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19081 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19082 shlibpath_var
=LD_LIBRARY_PATH
19083 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19085 openbsd2.
[89] | openbsd2.
[89].
*)
19086 shlibpath_overrides_runpath
=no
19089 shlibpath_overrides_runpath
=yes
19093 shlibpath_overrides_runpath
=yes
19098 libname_spec
='$name'
19101 library_names_spec
='$libname${shared_ext} $libname.a'
19102 dynamic_linker
='OS/2 ld.exe'
19103 shlibpath_var
=LIBPATH
19106 osf3
* | osf4
* | osf5
*)
19110 soname_spec
='${libname}${release}${shared_ext}$major'
19111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19112 shlibpath_var
=LD_LIBRARY_PATH
19113 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19114 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19126 soname_spec
='${libname}${release}${shared_ext}$major'
19127 shlibpath_var
=LD_LIBRARY_PATH
19128 shlibpath_overrides_runpath
=yes
19129 hardcode_into_libs
=yes
19130 # ldd complains unless libraries are executable
19131 postinstall_cmds
='chmod +x $lib'
19136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19137 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19138 shlibpath_var
=LD_LIBRARY_PATH
19139 shlibpath_overrides_runpath
=yes
19140 if test "$with_gnu_ld" = yes; then
19148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19149 soname_spec
='${libname}${release}${shared_ext}$major'
19150 shlibpath_var
=LD_LIBRARY_PATH
19151 case $host_vendor in
19153 shlibpath_overrides_runpath
=no
19155 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19156 runpath_var
=LD_RUN_PATH
19164 shlibpath_overrides_runpath
=no
19165 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19171 if test -d /usr
/nec
;then
19173 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19174 soname_spec
='$libname${shared_ext}.$major'
19175 shlibpath_var
=LD_LIBRARY_PATH
19179 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19180 version_type
=freebsd-elf
19183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19184 soname_spec
='${libname}${release}${shared_ext}$major'
19185 shlibpath_var
=LD_LIBRARY_PATH
19186 hardcode_into_libs
=yes
19187 if test "$with_gnu_ld" = yes; then
19188 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19189 shlibpath_overrides_runpath
=no
19191 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19192 shlibpath_overrides_runpath
=yes
19195 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19199 sys_lib_dlsearch_path_spec
='/usr/lib'
19204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19205 soname_spec
='${libname}${release}${shared_ext}$major'
19206 shlibpath_var
=LD_LIBRARY_PATH
19213 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19214 echo "${ECHO_T}$dynamic_linker" >&6; }
19215 test "$dynamic_linker" = no
&& can_build_shared
=no
19217 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19220 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
19223 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
19224 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19225 echo $ECHO_N "(cached) $ECHO_C" >&6
19227 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
19230 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
19232 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19233 if test "$GCC" = yes; then
19234 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19237 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19238 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19239 hardcode_action_GCJ
=
19240 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19241 test -n "$runpath_var_GCJ" || \
19242 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19244 # We can hardcode non-existant directories.
19245 if test "$hardcode_direct_GCJ" != no
&&
19246 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19247 # have to relink, otherwise we might link with an installed library
19248 # when we should be linking with a yet-to-be-installed one
19249 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19250 test "$hardcode_minus_L_GCJ" != no
; then
19251 # Linking always hardcodes the temporary library directory.
19252 hardcode_action_GCJ
=relink
19254 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19255 hardcode_action_GCJ
=immediate
19258 # We cannot hardcode anything, or else we can only hardcode existing
19260 hardcode_action_GCJ
=unsupported
19262 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19263 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19265 if test "$hardcode_action_GCJ" = relink
; then
19266 # Fast installation is not supported
19267 enable_fast_install
=no
19268 elif test "$shlibpath_overrides_runpath" = yes ||
19269 test "$enable_shared" = no
; then
19270 # Fast installation is not necessary
19271 enable_fast_install
=needless
19275 # The else clause should only fire when bootstrapping the
19276 # libtool distribution, otherwise you forgot to ship ltmain.sh
19277 # with your package, and you will get complaints that there are
19278 # no rules to generate ltmain.sh.
19279 if test -f "$ltmain"; then
19280 # See if we are running on zsh, and set the options which allow our commands through
19281 # without removal of \ escapes.
19282 if test -n "${ZSH_VERSION+set}" ; then
19283 setopt NO_GLOB_SUBST
19285 # Now quote all the things that may contain metacharacters while being
19286 # careful not to overquote the AC_SUBSTed values. We take copies of the
19287 # variables and quote the copies for generation of the libtool script.
19288 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19290 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19291 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19292 deplibs_check_method reload_flag reload_cmds need_locks \
19293 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19294 lt_cv_sys_global_symbol_to_c_name_address \
19295 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19296 old_postinstall_cmds old_postuninstall_cmds \
19300 lt_prog_compiler_wl_GCJ \
19301 lt_prog_compiler_pic_GCJ \
19302 lt_prog_compiler_static_GCJ \
19303 lt_prog_compiler_no_builtin_flag_GCJ \
19304 export_dynamic_flag_spec_GCJ \
19305 thread_safe_flag_spec_GCJ \
19306 whole_archive_flag_spec_GCJ \
19307 enable_shared_with_static_runtimes_GCJ \
19308 old_archive_cmds_GCJ \
19309 old_archive_from_new_cmds_GCJ \
19310 predep_objects_GCJ \
19311 postdep_objects_GCJ \
19314 compiler_lib_search_path_GCJ \
19315 compiler_lib_search_dirs_GCJ \
19317 archive_expsym_cmds_GCJ \
19318 postinstall_cmds_GCJ \
19319 postuninstall_cmds_GCJ \
19320 old_archive_from_expsyms_cmds_GCJ \
19321 allow_undefined_flag_GCJ \
19322 no_undefined_flag_GCJ \
19323 export_symbols_cmds_GCJ \
19324 hardcode_libdir_flag_spec_GCJ \
19325 hardcode_libdir_flag_spec_ld_GCJ \
19326 hardcode_libdir_separator_GCJ \
19327 hardcode_automatic_GCJ \
19329 module_expsym_cmds_GCJ \
19330 lt_cv_prog_compiler_c_o_GCJ \
19331 fix_srcfile_path_GCJ \
19332 exclude_expsyms_GCJ \
19333 include_expsyms_GCJ
; do
19336 old_archive_cmds_GCJ | \
19337 old_archive_from_new_cmds_GCJ | \
19338 archive_cmds_GCJ | \
19339 archive_expsym_cmds_GCJ | \
19340 module_cmds_GCJ | \
19341 module_expsym_cmds_GCJ | \
19342 old_archive_from_expsyms_cmds_GCJ | \
19343 export_symbols_cmds_GCJ | \
19344 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19345 postinstall_cmds | postuninstall_cmds | \
19346 old_postinstall_cmds | old_postuninstall_cmds | \
19347 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19348 # Double-quote double-evaled strings.
19349 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19352 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19358 *'\$0 --fallback-echo"')
19359 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19365 cat <<__EOF__ >> "$cfgfile"
19366 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19368 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19370 # Shell to use when invoking shell scripts.
19373 # Whether or not to build shared libraries.
19374 build_libtool_libs=$enable_shared
19376 # Whether or not to build static libraries.
19377 build_old_libs=$enable_static
19379 # Whether or not to add -lc for building shared libraries.
19380 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19382 # Whether or not to disallow shared libs when runtime libs are static
19383 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19385 # Whether or not to optimize for fast installation.
19386 fast_install=$enable_fast_install
19389 host_alias=$host_alias
19393 # The build system.
19394 build_alias=$build_alias
19398 # An echo program that does not interpret backslashes.
19403 AR_FLAGS=$lt_AR_FLAGS
19408 # LTCC compiler flags.
19409 LTCFLAGS=$lt_LTCFLAGS
19411 # A language-specific compiler.
19412 CC=$lt_compiler_GCJ
19414 # Is the compiler the GNU C compiler?
19420 # The linker used to build libraries.
19423 # Whether we need hard or soft links.
19426 # A BSD-compatible nm program.
19429 # A symbol stripping program
19432 # Used to examine libraries when file_magic_cmd begins "file"
19433 MAGIC_CMD=$MAGIC_CMD
19435 # Used on cygwin: DLL creation program.
19438 # Used on cygwin: object dumper.
19441 # Used on cygwin: assembler.
19444 # The name of the directory that contains temporary libtool files.
19447 # How to create reloadable object files.
19448 reload_flag=$lt_reload_flag
19449 reload_cmds=$lt_reload_cmds
19451 # How to pass a linker flag through the compiler.
19452 wl=$lt_lt_prog_compiler_wl_GCJ
19454 # Object file suffix (normally "o").
19455 objext="$ac_objext"
19457 # Old archive suffix (normally "a").
19460 # Shared library suffix (normally ".so").
19461 shrext_cmds='$shrext_cmds'
19463 # Executable file suffix (normally "").
19466 # Additional compiler flags for building library objects.
19467 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19470 # What is the maximum length of a command?
19471 max_cmd_len=$lt_cv_sys_max_cmd_len
19473 # Does compiler simultaneously support -c and -o options?
19474 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19476 # Must we lock files when doing compilation?
19477 need_locks=$lt_need_locks
19479 # Do we need the lib prefix for modules?
19480 need_lib_prefix=$need_lib_prefix
19482 # Do we need a version for libraries?
19483 need_version=$need_version
19485 # Whether dlopen is supported.
19486 dlopen_support=$enable_dlopen
19488 # Whether dlopen of programs is supported.
19489 dlopen_self=$enable_dlopen_self
19491 # Whether dlopen of statically linked programs is supported.
19492 dlopen_self_static=$enable_dlopen_self_static
19494 # Compiler flag to prevent dynamic linking.
19495 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19497 # Compiler flag to turn off builtin functions.
19498 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19500 # Compiler flag to allow reflexive dlopens.
19501 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19503 # Compiler flag to generate shared objects directly from archives.
19504 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19506 # Compiler flag to generate thread-safe objects.
19507 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19509 # Library versioning type.
19510 version_type=$version_type
19512 # Format of library name prefix.
19513 libname_spec=$lt_libname_spec
19515 # List of archive names. First name is the real one, the rest are links.
19516 # The last name is the one that the linker finds with -lNAME.
19517 library_names_spec=$lt_library_names_spec
19519 # The coded name of the library, if different from the real name.
19520 soname_spec=$lt_soname_spec
19522 # Commands used to build and install an old-style archive.
19524 old_archive_cmds=$lt_old_archive_cmds_GCJ
19525 old_postinstall_cmds=$lt_old_postinstall_cmds
19526 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19528 # Create an old-style archive from a shared archive.
19529 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19531 # Create a temporary old-style archive to link instead of a shared archive.
19532 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19534 # Commands used to build and install a shared archive.
19535 archive_cmds=$lt_archive_cmds_GCJ
19536 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19537 postinstall_cmds=$lt_postinstall_cmds
19538 postuninstall_cmds=$lt_postuninstall_cmds
19540 # Commands used to build a loadable module (assumed same as above if empty)
19541 module_cmds=$lt_module_cmds_GCJ
19542 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19544 # Commands to strip libraries.
19545 old_striplib=$lt_old_striplib
19546 striplib=$lt_striplib
19548 # Dependencies to place before the objects being linked to create a
19550 predep_objects=$lt_predep_objects_GCJ
19552 # Dependencies to place after the objects being linked to create a
19554 postdep_objects=$lt_postdep_objects_GCJ
19556 # Dependencies to place before the objects being linked to create a
19558 predeps=$lt_predeps_GCJ
19560 # Dependencies to place after the objects being linked to create a
19562 postdeps=$lt_postdeps_GCJ
19564 # The directories searched by this compiler when creating a shared
19566 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19568 # The library search path used internally by the compiler when linking
19569 # a shared library.
19570 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19572 # Method to check whether dependent libraries are shared objects.
19573 deplibs_check_method=$lt_deplibs_check_method
19575 # Command to use when deplibs_check_method == file_magic.
19576 file_magic_cmd=$lt_file_magic_cmd
19578 # Flag that allows shared libraries with undefined symbols to be built.
19579 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19581 # Flag that forces no undefined symbols.
19582 no_undefined_flag=$lt_no_undefined_flag_GCJ
19584 # Commands used to finish a libtool library installation in a directory.
19585 finish_cmds=$lt_finish_cmds
19587 # Same as above, but a single script fragment to be evaled but not shown.
19588 finish_eval=$lt_finish_eval
19590 # Take the output of nm and produce a listing of raw symbols and C names.
19591 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19593 # Transform the output of nm in a proper C declaration
19594 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19596 # Transform the output of nm in a C name address pair
19597 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19599 # This is the shared library runtime path variable.
19600 runpath_var=$runpath_var
19602 # This is the shared library path variable.
19603 shlibpath_var=$shlibpath_var
19605 # Is shlibpath searched before the hard-coded library search path?
19606 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19608 # How to hardcode a shared library path into an executable.
19609 hardcode_action=$hardcode_action_GCJ
19611 # Whether we should hardcode library paths into libraries.
19612 hardcode_into_libs=$hardcode_into_libs
19614 # Flag to hardcode \$libdir into a binary during linking.
19615 # This must work even if \$libdir does not exist.
19616 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19618 # If ld is used when linking, flag to hardcode \$libdir into
19619 # a binary during linking. This must work even if \$libdir does
19621 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19623 # Whether we need a single -rpath flag with a separated argument.
19624 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19626 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19627 # resulting binary.
19628 hardcode_direct=$hardcode_direct_GCJ
19630 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19631 # resulting binary.
19632 hardcode_minus_L=$hardcode_minus_L_GCJ
19634 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19635 # the resulting binary.
19636 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19638 # Set to yes if building a shared library automatically hardcodes DIR into the library
19639 # and all subsequent libraries and executables linked against it.
19640 hardcode_automatic=$hardcode_automatic_GCJ
19642 # Variables whose values should be saved in libtool wrapper scripts and
19643 # restored at relink time.
19644 variables_saved_for_relink="$variables_saved_for_relink"
19646 # Whether libtool must link a program against all its dependency libraries.
19647 link_all_deplibs=$link_all_deplibs_GCJ
19649 # Compile-time system search path for libraries
19650 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19652 # Run-time system search path for libraries
19653 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19655 # Fix the shell variable \$srcfile for the compiler.
19656 fix_srcfile_path=$lt_fix_srcfile_path
19658 # Set to yes if exported symbols are required.
19659 always_export_symbols=$always_export_symbols_GCJ
19661 # The commands to list exported symbols.
19662 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19664 # The commands to extract the exported symbol list from a shared archive.
19665 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19667 # Symbols that should not be listed in the preloaded symbols.
19668 exclude_expsyms=$lt_exclude_expsyms_GCJ
19670 # Symbols that must always be exported.
19671 include_expsyms=$lt_include_expsyms_GCJ
19673 # ### END LIBTOOL TAG CONFIG: $tagname
19679 # If there is no Makefile yet, we rely on a make rule to execute
19680 # `config.status --recheck' to rerun these tests and create the
19681 # libtool script then.
19682 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19683 if test -f "$ltmain_in"; then
19684 test -f Makefile
&& make "$ltmain"
19690 ac_cpp
='$CPP $CPPFLAGS'
19691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19705 # Source file extension for RC test sources.
19708 # Object file extension for compiled RC test sources.
19712 # Code to be used in simple compile tests
19713 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19715 # Code to be used in simple link tests
19716 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19718 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19720 # If no C compiler was specified, use CC.
19723 # If no C compiler flags were specified, use CFLAGS.
19724 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19726 # Allow CC to be a program name with arguments.
19730 # save warnings/boilerplate of simple test code
19731 ac_outfile
=conftest.
$ac_objext
19732 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19733 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19734 _lt_compiler_boilerplate
=`cat conftest.err`
19737 ac_outfile
=conftest.
$ac_objext
19738 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19739 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19740 _lt_linker_boilerplate
=`cat conftest.err`
19744 # Allow CC to be a program name with arguments.
19749 for cc_temp
in $compiler""; do
19751 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19752 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19757 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19759 lt_cv_prog_compiler_c_o_RC
=yes
19761 # The else clause should only fire when bootstrapping the
19762 # libtool distribution, otherwise you forgot to ship ltmain.sh
19763 # with your package, and you will get complaints that there are
19764 # no rules to generate ltmain.sh.
19765 if test -f "$ltmain"; then
19766 # See if we are running on zsh, and set the options which allow our commands through
19767 # without removal of \ escapes.
19768 if test -n "${ZSH_VERSION+set}" ; then
19769 setopt NO_GLOB_SUBST
19771 # Now quote all the things that may contain metacharacters while being
19772 # careful not to overquote the AC_SUBSTed values. We take copies of the
19773 # variables and quote the copies for generation of the libtool script.
19774 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19776 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19777 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19778 deplibs_check_method reload_flag reload_cmds need_locks \
19779 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19780 lt_cv_sys_global_symbol_to_c_name_address \
19781 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19782 old_postinstall_cmds old_postuninstall_cmds \
19786 lt_prog_compiler_wl_RC \
19787 lt_prog_compiler_pic_RC \
19788 lt_prog_compiler_static_RC \
19789 lt_prog_compiler_no_builtin_flag_RC \
19790 export_dynamic_flag_spec_RC \
19791 thread_safe_flag_spec_RC \
19792 whole_archive_flag_spec_RC \
19793 enable_shared_with_static_runtimes_RC \
19794 old_archive_cmds_RC \
19795 old_archive_from_new_cmds_RC \
19796 predep_objects_RC \
19797 postdep_objects_RC \
19800 compiler_lib_search_path_RC \
19801 compiler_lib_search_dirs_RC \
19803 archive_expsym_cmds_RC \
19804 postinstall_cmds_RC \
19805 postuninstall_cmds_RC \
19806 old_archive_from_expsyms_cmds_RC \
19807 allow_undefined_flag_RC \
19808 no_undefined_flag_RC \
19809 export_symbols_cmds_RC \
19810 hardcode_libdir_flag_spec_RC \
19811 hardcode_libdir_flag_spec_ld_RC \
19812 hardcode_libdir_separator_RC \
19813 hardcode_automatic_RC \
19815 module_expsym_cmds_RC \
19816 lt_cv_prog_compiler_c_o_RC \
19817 fix_srcfile_path_RC \
19818 exclude_expsyms_RC \
19819 include_expsyms_RC
; do
19822 old_archive_cmds_RC | \
19823 old_archive_from_new_cmds_RC | \
19824 archive_cmds_RC | \
19825 archive_expsym_cmds_RC | \
19827 module_expsym_cmds_RC | \
19828 old_archive_from_expsyms_cmds_RC | \
19829 export_symbols_cmds_RC | \
19830 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19831 postinstall_cmds | postuninstall_cmds | \
19832 old_postinstall_cmds | old_postuninstall_cmds | \
19833 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19834 # Double-quote double-evaled strings.
19835 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19838 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19844 *'\$0 --fallback-echo"')
19845 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19851 cat <<__EOF__ >> "$cfgfile"
19852 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19854 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19856 # Shell to use when invoking shell scripts.
19859 # Whether or not to build shared libraries.
19860 build_libtool_libs=$enable_shared
19862 # Whether or not to build static libraries.
19863 build_old_libs=$enable_static
19865 # Whether or not to add -lc for building shared libraries.
19866 build_libtool_need_lc=$archive_cmds_need_lc_RC
19868 # Whether or not to disallow shared libs when runtime libs are static
19869 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19871 # Whether or not to optimize for fast installation.
19872 fast_install=$enable_fast_install
19875 host_alias=$host_alias
19879 # The build system.
19880 build_alias=$build_alias
19884 # An echo program that does not interpret backslashes.
19889 AR_FLAGS=$lt_AR_FLAGS
19894 # LTCC compiler flags.
19895 LTCFLAGS=$lt_LTCFLAGS
19897 # A language-specific compiler.
19900 # Is the compiler the GNU C compiler?
19906 # The linker used to build libraries.
19909 # Whether we need hard or soft links.
19912 # A BSD-compatible nm program.
19915 # A symbol stripping program
19918 # Used to examine libraries when file_magic_cmd begins "file"
19919 MAGIC_CMD=$MAGIC_CMD
19921 # Used on cygwin: DLL creation program.
19924 # Used on cygwin: object dumper.
19927 # Used on cygwin: assembler.
19930 # The name of the directory that contains temporary libtool files.
19933 # How to create reloadable object files.
19934 reload_flag=$lt_reload_flag
19935 reload_cmds=$lt_reload_cmds
19937 # How to pass a linker flag through the compiler.
19938 wl=$lt_lt_prog_compiler_wl_RC
19940 # Object file suffix (normally "o").
19941 objext="$ac_objext"
19943 # Old archive suffix (normally "a").
19946 # Shared library suffix (normally ".so").
19947 shrext_cmds='$shrext_cmds'
19949 # Executable file suffix (normally "").
19952 # Additional compiler flags for building library objects.
19953 pic_flag=$lt_lt_prog_compiler_pic_RC
19956 # What is the maximum length of a command?
19957 max_cmd_len=$lt_cv_sys_max_cmd_len
19959 # Does compiler simultaneously support -c and -o options?
19960 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19962 # Must we lock files when doing compilation?
19963 need_locks=$lt_need_locks
19965 # Do we need the lib prefix for modules?
19966 need_lib_prefix=$need_lib_prefix
19968 # Do we need a version for libraries?
19969 need_version=$need_version
19971 # Whether dlopen is supported.
19972 dlopen_support=$enable_dlopen
19974 # Whether dlopen of programs is supported.
19975 dlopen_self=$enable_dlopen_self
19977 # Whether dlopen of statically linked programs is supported.
19978 dlopen_self_static=$enable_dlopen_self_static
19980 # Compiler flag to prevent dynamic linking.
19981 link_static_flag=$lt_lt_prog_compiler_static_RC
19983 # Compiler flag to turn off builtin functions.
19984 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19986 # Compiler flag to allow reflexive dlopens.
19987 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19989 # Compiler flag to generate shared objects directly from archives.
19990 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19992 # Compiler flag to generate thread-safe objects.
19993 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19995 # Library versioning type.
19996 version_type=$version_type
19998 # Format of library name prefix.
19999 libname_spec=$lt_libname_spec
20001 # List of archive names. First name is the real one, the rest are links.
20002 # The last name is the one that the linker finds with -lNAME.
20003 library_names_spec=$lt_library_names_spec
20005 # The coded name of the library, if different from the real name.
20006 soname_spec=$lt_soname_spec
20008 # Commands used to build and install an old-style archive.
20010 old_archive_cmds=$lt_old_archive_cmds_RC
20011 old_postinstall_cmds=$lt_old_postinstall_cmds
20012 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20014 # Create an old-style archive from a shared archive.
20015 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20017 # Create a temporary old-style archive to link instead of a shared archive.
20018 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20020 # Commands used to build and install a shared archive.
20021 archive_cmds=$lt_archive_cmds_RC
20022 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20023 postinstall_cmds=$lt_postinstall_cmds
20024 postuninstall_cmds=$lt_postuninstall_cmds
20026 # Commands used to build a loadable module (assumed same as above if empty)
20027 module_cmds=$lt_module_cmds_RC
20028 module_expsym_cmds=$lt_module_expsym_cmds_RC
20030 # Commands to strip libraries.
20031 old_striplib=$lt_old_striplib
20032 striplib=$lt_striplib
20034 # Dependencies to place before the objects being linked to create a
20036 predep_objects=$lt_predep_objects_RC
20038 # Dependencies to place after the objects being linked to create a
20040 postdep_objects=$lt_postdep_objects_RC
20042 # Dependencies to place before the objects being linked to create a
20044 predeps=$lt_predeps_RC
20046 # Dependencies to place after the objects being linked to create a
20048 postdeps=$lt_postdeps_RC
20050 # The directories searched by this compiler when creating a shared
20052 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
20054 # The library search path used internally by the compiler when linking
20055 # a shared library.
20056 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20058 # Method to check whether dependent libraries are shared objects.
20059 deplibs_check_method=$lt_deplibs_check_method
20061 # Command to use when deplibs_check_method == file_magic.
20062 file_magic_cmd=$lt_file_magic_cmd
20064 # Flag that allows shared libraries with undefined symbols to be built.
20065 allow_undefined_flag=$lt_allow_undefined_flag_RC
20067 # Flag that forces no undefined symbols.
20068 no_undefined_flag=$lt_no_undefined_flag_RC
20070 # Commands used to finish a libtool library installation in a directory.
20071 finish_cmds=$lt_finish_cmds
20073 # Same as above, but a single script fragment to be evaled but not shown.
20074 finish_eval=$lt_finish_eval
20076 # Take the output of nm and produce a listing of raw symbols and C names.
20077 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20079 # Transform the output of nm in a proper C declaration
20080 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20082 # Transform the output of nm in a C name address pair
20083 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20085 # This is the shared library runtime path variable.
20086 runpath_var=$runpath_var
20088 # This is the shared library path variable.
20089 shlibpath_var=$shlibpath_var
20091 # Is shlibpath searched before the hard-coded library search path?
20092 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20094 # How to hardcode a shared library path into an executable.
20095 hardcode_action=$hardcode_action_RC
20097 # Whether we should hardcode library paths into libraries.
20098 hardcode_into_libs=$hardcode_into_libs
20100 # Flag to hardcode \$libdir into a binary during linking.
20101 # This must work even if \$libdir does not exist.
20102 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20104 # If ld is used when linking, flag to hardcode \$libdir into
20105 # a binary during linking. This must work even if \$libdir does
20107 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20109 # Whether we need a single -rpath flag with a separated argument.
20110 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20112 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20113 # resulting binary.
20114 hardcode_direct=$hardcode_direct_RC
20116 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20117 # resulting binary.
20118 hardcode_minus_L=$hardcode_minus_L_RC
20120 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20121 # the resulting binary.
20122 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20124 # Set to yes if building a shared library automatically hardcodes DIR into the library
20125 # and all subsequent libraries and executables linked against it.
20126 hardcode_automatic=$hardcode_automatic_RC
20128 # Variables whose values should be saved in libtool wrapper scripts and
20129 # restored at relink time.
20130 variables_saved_for_relink="$variables_saved_for_relink"
20132 # Whether libtool must link a program against all its dependency libraries.
20133 link_all_deplibs=$link_all_deplibs_RC
20135 # Compile-time system search path for libraries
20136 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20138 # Run-time system search path for libraries
20139 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20141 # Fix the shell variable \$srcfile for the compiler.
20142 fix_srcfile_path=$lt_fix_srcfile_path
20144 # Set to yes if exported symbols are required.
20145 always_export_symbols=$always_export_symbols_RC
20147 # The commands to list exported symbols.
20148 export_symbols_cmds=$lt_export_symbols_cmds_RC
20150 # The commands to extract the exported symbol list from a shared archive.
20151 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20153 # Symbols that should not be listed in the preloaded symbols.
20154 exclude_expsyms=$lt_exclude_expsyms_RC
20156 # Symbols that must always be exported.
20157 include_expsyms=$lt_include_expsyms_RC
20159 # ### END LIBTOOL TAG CONFIG: $tagname
20165 # If there is no Makefile yet, we rely on a make rule to execute
20166 # `config.status --recheck' to rerun these tests and create the
20167 # libtool script then.
20168 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20169 if test -f "$ltmain_in"; then
20170 test -f Makefile
&& make "$ltmain"
20176 ac_cpp
='$CPP $CPPFLAGS'
20177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20186 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20187 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20188 { (exit 1); exit 1; }; }
20192 # Append the new tag name to the list of available tags.
20193 if test -n "$tagname" ; then
20194 available_tags
="$available_tags $tagname"
20200 # Now substitute the updated list of available tags.
20201 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20202 mv "${ofile}T" "$ofile"
20206 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20207 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20208 { (exit 1); exit 1; }; }
20214 # This can be used to rebuild libtool when needed
20215 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20217 # Always use our own libtool.
20218 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20220 # Prevent multiple expansion
20241 if test "x$CC" != xcc
; then
20242 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
20243 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
20245 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
20246 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
20248 set dummy
$CC; ac_cc
=`echo $2 |
20249 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
20250 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20253 cat >conftest.
$ac_ext <<_ACEOF
20256 cat confdefs.h
>>conftest.
$ac_ext
20257 cat >>conftest.
$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20268 # Make sure it works both with $CC and with simple cc.
20269 # We do the test twice because some compilers refuse to overwrite an
20270 # existing .o file with -o, though they will create one.
20271 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20273 if { (case "(($ac_try" in
20274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20275 *) ac_try_echo=$ac_try;;
20277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20278 (eval "$ac_try") 2>&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); } &&
20282 test -f conftest2.$ac_objext && { (case "(($ac_try" in
20283 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20284 *) ac_try_echo
=$ac_try;;
20286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20287 (eval "$ac_try") 2>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); };
20292 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
20293 if test "x$CC" != xcc
; then
20294 # Test first that cc exists at all.
20295 if { ac_try
='cc -c conftest.$ac_ext >&5'
20296 { (case "(($ac_try" in
20297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20298 *) ac_try_echo=$ac_try;;
20300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20301 (eval "$ac_try") 2>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); }; }; then
20305 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20307 if { (case "(($ac_try" in
20308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20309 *) ac_try_echo
=$ac_try;;
20311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20312 (eval "$ac_try") 2>&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); } &&
20316 test -f conftest2.
$ac_objext && { (case "(($ac_try" in
20317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20318 *) ac_try_echo=$ac_try;;
20320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20321 (eval "$ac_try") 2>&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); };
20329 # cc exists but doesn't like -o.
20330 eval ac_cv_prog_cc_${ac_cc}_c_o=no
20335 eval ac_cv_prog_cc_${ac_cc}_c_o=no
20337 rm -f core conftest*
20340 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
20341 { echo "$as_me:$LINENO: result: yes" >&5
20342 echo "${ECHO_T}yes" >&6; }
20344 { echo "$as_me:$LINENO: result: no" >&5
20345 echo "${ECHO_T}no" >&6; }
20347 cat >>confdefs.h <<\_ACEOF
20348 #define NO_MINUS_C_MINUS_O 1
20353 # FIXME: we rely on the cache variable name because
20354 # there is no other way.
20356 ac_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
20357 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" != yes"; then
20358 # Losing compiler, so override with the script.
20359 # FIXME: It is wrong to rewrite CC.
20360 # But if we don't then we get into trouble of one sort or another.
20361 # A longer-term fix would be to have automake use am__CC in this case,
20362 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
20363 CC="$am_aux_dir/compile $CC"
20368 # Check whether --enable-docs was given.
20369 if test "${enable_docs+set}" = set; then
20370 enableval=$enable_docs;
20374 if test "x$enable_docs" = xyes; then
20375 for ac_prog in pdflatex
20377 # Extract the first word of "$ac_prog", so it can be a program name with args.
20378 set dummy $ac_prog; ac_word=$2
20379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20381 if test "${ac_cv_prog_PDFLATEX+set}" = set; then
20382 echo $ECHO_N "(cached) $ECHO_C" >&6
20384 if test -n "$PDFLATEX"; then
20385 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
20387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20388 for as_dir in $PATH
20391 test -z "$as_dir" && as_dir=.
20392 for ac_exec_ext in '' $ac_executable_extensions; do
20393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20394 ac_cv_prog_PDFLATEX="$ac_prog"
20395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20404 PDFLATEX=$ac_cv_prog_PDFLATEX
20405 if test -n "$PDFLATEX"; then
20406 { echo "$as_me:$LINENO: result: $PDFLATEX" >&5
20407 echo "${ECHO_T}$PDFLATEX" >&6; }
20409 { echo "$as_me:$LINENO: result: no" >&5
20410 echo "${ECHO_T}no" >&6; }
20414 test -n "$PDFLATEX" && break
20416 test -n "$PDFLATEX" || PDFLATEX="/bin/false"
20418 for ac_prog in htlatex
20420 # Extract the first word of "$ac_prog", so it can be a program name with args.
20421 set dummy $ac_prog; ac_word=$2
20422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20424 if test "${ac_cv_prog_HTLATEX+set}" = set; then
20425 echo $ECHO_N "(cached) $ECHO_C" >&6
20427 if test -n "$HTLATEX"; then
20428 ac_cv_prog_HTLATEX="$HTLATEX" # Let the user override the test.
20430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20431 for as_dir in $PATH
20434 test -z "$as_dir" && as_dir=.
20435 for ac_exec_ext in '' $ac_executable_extensions; do
20436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20437 ac_cv_prog_HTLATEX="$ac_prog"
20438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20447 HTLATEX=$ac_cv_prog_HTLATEX
20448 if test -n "$HTLATEX"; then
20449 { echo "$as_me:$LINENO: result: $HTLATEX" >&5
20450 echo "${ECHO_T}$HTLATEX" >&6; }
20452 { echo "$as_me:$LINENO: result: no" >&5
20453 echo "${ECHO_T}no" >&6; }
20457 test -n "$HTLATEX" && break
20459 test -n "$HTLATEX" || HTLATEX="/bin/false"
20461 if test "x$PDFLATEX" = x/bin/false || test "x$HTLATEX" = x/bin/false; then
20463 { echo "$as_me:$LINENO: WARNING: Documentation will not be built!" >&5
20464 echo "$as_me: WARNING: Documentation will not be built!" >&2;}
20468 if test "x$enable_docs" = xyes; then
20470 BUILD_DOCS_FALSE='#'
20472 BUILD_DOCS_TRUE='#'
20479 cflags_save="$CFLAGS"
20480 if test -z "$GCC"; then
20483 if test -z "$CC"; then
20487 CFLAGS="-O2 -w -signed"
20488 PROFILE="-p -g3 -O2 -signed" ;;
20489 sparc-sun-solaris*)
20491 CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
20492 PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;;
20500 { echo "$as_me:$LINENO: checking GCC version" >&5
20501 echo $ECHO_N "checking GCC version... $ECHO_C" >&6; }
20502 GCC_VERSION=`$CC -dumpversion`
20503 { echo "$as_me:$LINENO: result: $GCC_VERSION" >&5
20504 echo "${ECHO_T}$GCC_VERSION" >&6; }
20507 DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
20508 CFLAGS="-O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
20509 # PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
20510 PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"
20512 # glibc < 2.1.3 has a serious FP bug in the math inline header
20513 # that will cripple Vorbis. Look to see if the magic FP stack
20514 # clobber is missing in the mathinline header, thus indicating
20515 # the buggy version
20517 cat >conftest.$ac_ext <<_ACEOF
20520 cat confdefs.h >>conftest.$ac_ext
20521 cat >>conftest.$ac_ext <<_ACEOF
20522 /* end confdefs.h. */
20524 #define __LIBC_INTERNAL_MATH_INLINES 1
20525 #define __OPTIMIZE__
20529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20530 $EGREP "log10.*fldlg2.*fxch" >/dev/null 2>&1; then
20537 if test ${bad} = "maybe" ;then
20538 cat >conftest.$ac_ext <<_ACEOF
20541 cat confdefs.h >>conftest.$ac_ext
20542 cat >>conftest.$ac_ext <<_ACEOF
20543 /* end confdefs.h. */
20545 #define __LIBC_INTERNAL_MATH_INLINES 1
20546 #define __OPTIMIZE__
20550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20551 $EGREP "log10.*fldlg2.*fxch.*st\([0123456789]*\)" >/dev/null 2>&1; then
20559 if test ${bad} = "yes" ;then
20560 { echo "$as_me:$LINENO: WARNING: " >&5
20561 echo "$as_me: WARNING: " >&2;}
20562 { echo "$as_me:$LINENO: WARNING: ********************************************************" >&5
20563 echo "$as_me: WARNING: ********************************************************" >&2;}
20564 { echo "$as_me:$LINENO: WARNING: * The glibc headers on this machine have a serious bug *" >&5
20565 echo "$as_me: WARNING: * The glibc headers on this machine have a serious bug *" >&2;}
20566 { echo "$as_me:$LINENO: WARNING: * in /usr/include/bits/mathinline.h This bug affects *" >&5
20567 echo "$as_me: WARNING: * in /usr/include/bits/mathinline.h This bug affects *" >&2;}
20568 { echo "$as_me:$LINENO: WARNING: * all floating point code, not just Ogg, built on this *" >&5
20569 echo "$as_me: WARNING: * all floating point code, not just Ogg, built on this *" >&2;}
20570 { echo "$as_me:$LINENO: WARNING: * machine. Upgrading to glibc 2.1.3 is strongly urged *" >&5
20571 echo "$as_me: WARNING: * machine. Upgrading to glibc 2.1.3 is strongly urged *" >&2;}
20572 { echo "$as_me:$LINENO: WARNING: * to correct the problem. Note that upgrading glibc *" >&5
20573 echo "$as_me: WARNING: * to correct the problem. Note that upgrading glibc *" >&2;}
20574 { echo "$as_me:$LINENO: WARNING: * will not fix any previously built programs; this is *" >&5
20575 echo "$as_me: WARNING: * will not fix any previously built programs; this is *" >&2;}
20576 { echo "$as_me:$LINENO: WARNING: * a compile-time time bug. *" >&5
20577 echo "$as_me: WARNING: * a compile-time time bug. *" >&2;}
20578 { echo "$as_me:$LINENO: WARNING: * To work around the problem for this build of Ogg, *" >&5
20579 echo "$as_me: WARNING: * To work around the problem for this build of Ogg, *" >&2;}
20580 { echo "$as_me:$LINENO: WARNING: * autoconf is disabling all math inlining. This will *" >&5
20581 echo "$as_me: WARNING: * autoconf is disabling all math inlining. This will *" >&2;}
20582 { echo "$as_me:$LINENO: WARNING: * hurt Ogg performace but is necessary for an Ogg that *" >&5
20583 echo "$as_me: WARNING: * hurt Ogg performace but is necessary for an Ogg that *" >&2;}
20584 { echo "$as_me:$LINENO: WARNING: * will actually work. Once glibc is upgraded, rerun *" >&5
20585 echo "$as_me: WARNING: * will actually work. Once glibc is upgraded, rerun *" >&2;}
20586 { echo "$as_me:$LINENO: WARNING: * configure and make to build with inlining. *" >&5
20587 echo "$as_me: WARNING: * configure and make to build with inlining. *" >&2;}
20588 { echo "$as_me:$LINENO: WARNING: ********************************************************" >&5
20589 echo "$as_me: WARNING: ********************************************************" >&2;}
20590 { echo "$as_me:$LINENO: WARNING: " >&5
20591 echo "$as_me: WARNING: " >&2;}
20593 CFLAGS=${OPT}" -D__NO_MATH_INLINES"
20594 PROFILE=${PROFILE}" -D__NO_MATH_INLINES"
20597 DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
20598 CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT"
20599 PROFILE="-pg -g -O3 -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT";;
20601 DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
20602 CFLAGS="-O20 -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char"
20603 PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
20606 { echo "$as_me:$LINENO: checking if gcc supports -mv8" >&5
20607 echo $ECHO_N "checking if gcc supports -mv8... $ECHO_C" >&6; }
20608 old_cflags="$CFLAGS"
20609 CFLAGS="$CFLAGS -mv8"
20610 cat >conftest.$ac_ext <<_ACEOF
20613 cat confdefs.h >>conftest.$ac_ext
20614 cat >>conftest.$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20625 rm -f conftest.$ac_objext
20626 if { (ac_try="$ac_compile"
20627 case "(($ac_try" in
20628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20629 *) ac_try_echo
=$ac_try;;
20631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20632 (eval "$ac_compile") 2>conftest.er1
20634 grep -v '^ *+' conftest.er1
>conftest.err
20636 cat conftest.err
>&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } && {
20639 test -z "$ac_c_werror_flag" ||
20640 test ! -s conftest.err
20641 } && test -s conftest.
$ac_objext; then
20643 { echo "$as_me:$LINENO: result: yes" >&5
20644 echo "${ECHO_T}yes" >&6; }
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.
$ac_ext >&5
20654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20655 CFLAGS
="$old_cflags"
20656 DEBUG
="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char $sparc_cpu"
20657 CFLAGS
="-O20 -Wall -Wextra -ffast-math -D__NO_MATH_INLINES -fsigned-char $sparc_cpu"
20658 PROFILE
="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char $sparc_cpu" ;;
20660 DEBUG
="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O0 -fsigned-char"
20661 CFLAGS
="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char"
20662 PROFILE
="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";;
20664 # Use -W instead of -Wextra because gcc on OS/2 is an old version.
20665 DEBUG
="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
20666 CFLAGS
="-O20 -Wall -W -ffast-math -D_REENTRANT -fsigned-char"
20667 PROFILE
="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
20669 DEBUG
="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
20670 CFLAGS
="-O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
20671 PROFILE
="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
20674 { echo "$as_me:$LINENO: checking if $CC accepts -Wdeclaration-after-statement" >&5
20675 echo $ECHO_N "checking if $CC accepts -Wdeclaration-after-statement... $ECHO_C" >&6; }
20676 ac_add_cflags__old_cflags
="$CFLAGS"
20677 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
20678 cat >conftest.
$ac_ext <<_ACEOF
20681 cat confdefs.h
>>conftest.
$ac_ext
20682 cat >>conftest.
$ac_ext <<_ACEOF
20683 /* end confdefs.h. */
20688 puts("Hello, World!"); return 0;
20693 rm -f conftest.
$ac_objext conftest
$ac_exeext
20694 if { (ac_try
="$ac_link"
20695 case "(($ac_try" in
20696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20697 *) ac_try_echo=$ac_try;;
20699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20700 (eval "$ac_link") 2>conftest.er1
20702 grep -v '^ *+' conftest.er1 >conftest.err
20704 cat conftest.err >&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); } && {
20707 test -z "$ac_c_werror_flag" ||
20708 test ! -s conftest.err
20709 } && test -s conftest$ac_exeext &&
20710 $as_test_x conftest$ac_exeext; then
20711 { echo "$as_me:$LINENO: result: yes" >&5
20712 echo "${ECHO_T}yes" >&6; }
20714 echo "$as_me: failed program was:" >&5
20715 sed 's/^/| /' conftest.$ac_ext >&5
20717 { echo "$as_me:$LINENO: result: no" >&5
20718 echo "${ECHO_T}no" >&6; }
20719 CFLAGS="$ac_add_cflags__old_cflags"
20722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20723 conftest$ac_exeext conftest.$ac_ext
20726 CFLAGS="$CFLAGS $cflags_save"
20729 if test "${ac_cv_header_memory_h+set}" = set; then
20730 { echo "$as_me:$LINENO: checking for memory.h" >&5
20731 echo $ECHO_N "checking for memory.h... $ECHO_C" >&6; }
20732 if test "${ac_cv_header_memory_h+set}" = set; then
20733 echo $ECHO_N "(cached) $ECHO_C" >&6
20735 { echo "$as_me:$LINENO: result: $ac_cv_header_memory_h" >&5
20736 echo "${ECHO_T}$ac_cv_header_memory_h" >&6; }
20738 # Is the header compilable?
20739 { echo "$as_me:$LINENO: checking memory.h usability" >&5
20740 echo $ECHO_N "checking memory.h usability... $ECHO_C" >&6; }
20741 cat >conftest.$ac_ext <<_ACEOF
20744 cat confdefs.h >>conftest.$ac_ext
20745 cat >>conftest.$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20747 $ac_includes_default
20748 #include <memory.h>
20750 rm -f conftest.$ac_objext
20751 if { (ac_try="$ac_compile"
20752 case "(($ac_try" in
20753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20754 *) ac_try_echo
=$ac_try;;
20756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20757 (eval "$ac_compile") 2>conftest.er1
20759 grep -v '^ *+' conftest.er1
>conftest.err
20761 cat conftest.err
>&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } && {
20764 test -z "$ac_c_werror_flag" ||
20765 test ! -s conftest.err
20766 } && test -s conftest.
$ac_objext; then
20767 ac_header_compiler
=yes
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.
$ac_ext >&5
20772 ac_header_compiler
=no
20775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20776 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20777 echo "${ECHO_T}$ac_header_compiler" >&6; }
20779 # Is the header present?
20780 { echo "$as_me:$LINENO: checking memory.h presence" >&5
20781 echo $ECHO_N "checking memory.h presence... $ECHO_C" >&6; }
20782 cat >conftest.
$ac_ext <<_ACEOF
20785 cat confdefs.h
>>conftest.
$ac_ext
20786 cat >>conftest.
$ac_ext <<_ACEOF
20787 /* end confdefs.h. */
20788 #include <memory.h>
20790 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20791 case "(($ac_try" in
20792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20793 *) ac_try_echo=$ac_try;;
20795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20798 grep -v '^ *+' conftest.er1 >conftest.err
20800 cat conftest.err >&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); } >/dev/null && {
20803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20804 test ! -s conftest.err
20806 ac_header_preproc=yes
20808 echo "$as_me: failed program was:" >&5
20809 sed 's/^/| /' conftest.$ac_ext >&5
20811 ac_header_preproc=no
20814 rm -f conftest.err conftest.$ac_ext
20815 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20816 echo "${ECHO_T}$ac_header_preproc" >&6; }
20818 # So? What about this header?
20819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20821 { echo "$as_me:$LINENO: WARNING: memory.h: accepted by the compiler, rejected by the preprocessor!" >&5
20822 echo "$as_me: WARNING: memory.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20823 { echo "$as_me:$LINENO: WARNING: memory.h: proceeding with the compiler's result" >&5
20824 echo "$as_me: WARNING: memory.h: proceeding with the compiler's result" >&2;}
20825 ac_header_preproc=yes
20828 { echo "$as_me:$LINENO: WARNING: memory.h: present but cannot be compiled" >&5
20829 echo "$as_me: WARNING: memory.h: present but cannot be compiled" >&2;}
20830 { echo "$as_me:$LINENO: WARNING: memory.h: check for missing prerequisite headers?" >&5
20831 echo "$as_me: WARNING: memory.h: check for missing prerequisite headers?" >&2;}
20832 { echo "$as_me:$LINENO: WARNING: memory.h: see the Autoconf documentation" >&5
20833 echo "$as_me: WARNING: memory.h: see the Autoconf documentation" >&2;}
20834 { echo "$as_me:$LINENO: WARNING: memory.h: section \"Present But Cannot Be Compiled\"" >&5
20835 echo "$as_me: WARNING: memory.h: section \"Present But Cannot Be Compiled\"" >&2;}
20836 { echo "$as_me:$LINENO: WARNING: memory.h: proceeding with the preprocessor's result" >&5
20837 echo "$as_me: WARNING: memory.h: proceeding with the preprocessor's result" >&2;}
20838 { echo "$as_me:$LINENO: WARNING: memory.h: in the future, the compiler will take precedence" >&5
20839 echo "$as_me: WARNING: memory.h: in the future, the compiler will take precedence" >&2;}
20841 ## ---------------------------------- ##
20842 ## Report this to vorbis-dev@xiph.org ##
20843 ## ---------------------------------- ##
20845 ) | sed "s/^/$as_me: WARNING: /" >&2
20848 { echo "$as_me:$LINENO: checking for memory.h" >&5
20849 echo $ECHO_N "checking for memory.h... $ECHO_C" >&6; }
20850 if test "${ac_cv_header_memory_h+set}" = set; then
20851 echo $ECHO_N "(cached) $ECHO_C" >&6
20853 ac_cv_header_memory_h=$ac_header_preproc
20855 { echo "$as_me:$LINENO: result: $ac_cv_header_memory_h" >&5
20856 echo "${ECHO_T}$ac_cv_header_memory_h" >&6; }
20859 if test $ac_cv_header_memory_h = yes; then
20860 CFLAGS="$CFLAGS -DUSE_MEMORY_H"
20870 { echo "$as_me:$LINENO: checking for cos in -lm" >&5
20871 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
20872 if test "${ac_cv_lib_m_cos+set}" = set; then
20873 echo $ECHO_N "(cached) $ECHO_C" >&6
20875 ac_check_lib_save_LIBS=$LIBS
20877 cat >conftest.$ac_ext <<_ACEOF
20880 cat confdefs.h >>conftest.$ac_ext
20881 cat >>conftest.$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20884 /* Override any GCC internal prototype to avoid an error.
20885 Use char because int might match the return type of a GCC
20886 builtin and then its argument prototype would still apply. */
20899 rm -f conftest.$ac_objext conftest$ac_exeext
20900 if { (ac_try="$ac_link"
20901 case "(($ac_try" in
20902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20903 *) ac_try_echo
=$ac_try;;
20905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20906 (eval "$ac_link") 2>conftest.er1
20908 grep -v '^ *+' conftest.er1
>conftest.err
20910 cat conftest.err
>&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); } && {
20913 test -z "$ac_c_werror_flag" ||
20914 test ! -s conftest.err
20915 } && test -s conftest
$ac_exeext &&
20916 $as_test_x conftest
$ac_exeext; then
20917 ac_cv_lib_m_cos
=yes
20919 echo "$as_me: failed program was:" >&5
20920 sed 's/^/| /' conftest.
$ac_ext >&5
20925 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20926 conftest
$ac_exeext conftest.
$ac_ext
20927 LIBS
=$ac_check_lib_save_LIBS
20929 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
20930 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
20931 if test $ac_cv_lib_m_cos = yes; then
20937 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
20938 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
20939 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
20940 echo $ECHO_N "(cached) $ECHO_C" >&6
20942 ac_check_lib_save_LIBS
=$LIBS
20943 LIBS
="-lpthread $LIBS"
20944 cat >conftest.
$ac_ext <<_ACEOF
20947 cat confdefs.h
>>conftest.
$ac_ext
20948 cat >>conftest.
$ac_ext <<_ACEOF
20949 /* end confdefs.h. */
20951 /* Override any GCC internal prototype to avoid an error.
20952 Use char because int might match the return type of a GCC
20953 builtin and then its argument prototype would still apply. */
20957 char pthread_create ();
20961 return pthread_create ();
20966 rm -f conftest.
$ac_objext conftest
$ac_exeext
20967 if { (ac_try
="$ac_link"
20968 case "(($ac_try" in
20969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20970 *) ac_try_echo=$ac_try;;
20972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 (eval "$ac_link") 2>conftest.er1
20975 grep -v '^ *+' conftest.er1 >conftest.err
20977 cat conftest.err >&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } && {
20980 test -z "$ac_c_werror_flag" ||
20981 test ! -s conftest.err
20982 } && test -s conftest$ac_exeext &&
20983 $as_test_x conftest$ac_exeext; then
20984 ac_cv_lib_pthread_pthread_create=yes
20986 echo "$as_me: failed program was:" >&5
20987 sed 's/^/| /' conftest.$ac_ext >&5
20989 ac_cv_lib_pthread_pthread_create=no
20992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20993 conftest$ac_exeext conftest.$ac_ext
20994 LIBS=$ac_check_lib_save_LIBS
20996 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
20997 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
20998 if test $ac_cv_lib_pthread_pthread_create = yes; then
20999 pthread_lib="-lpthread"
21007 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
21008 if test -n "$ac_tool_prefix"; then
21009 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21010 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21013 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21014 echo $ECHO_N "(cached) $ECHO_C" >&6
21016 case $PKG_CONFIG in
21018 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21022 for as_dir in $PATH
21025 test -z "$as_dir" && as_dir=.
21026 for ac_exec_ext in '' $ac_executable_extensions; do
21027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21028 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21039 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21040 if test -n "$PKG_CONFIG"; then
21041 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21042 echo "${ECHO_T}$PKG_CONFIG" >&6; }
21044 { echo "$as_me:$LINENO: result: no" >&5
21045 echo "${ECHO_T}no" >&6; }
21050 if test -z "$ac_cv_path_PKG_CONFIG"; then
21051 ac_pt_PKG_CONFIG=$PKG_CONFIG
21052 # Extract the first word of "pkg-config", so it can be a program name with args.
21053 set dummy pkg-config; ac_word=$2
21054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21056 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
21057 echo $ECHO_N "(cached) $ECHO_C" >&6
21059 case $ac_pt_PKG_CONFIG in
21061 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21065 for as_dir in $PATH
21068 test -z "$as_dir" && as_dir=.
21069 for ac_exec_ext in '' $ac_executable_extensions; do
21070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21071 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21082 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21083 if test -n "$ac_pt_PKG_CONFIG"; then
21084 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
21085 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
21087 { echo "$as_me:$LINENO: result: no" >&5
21088 echo "${ECHO_T}no" >&6; }
21091 if test "x$ac_pt_PKG_CONFIG" = x; then
21094 case $cross_compiling:$ac_tool_warned in
21096 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21097 whose name does not start with the host triplet. If you think this
21098 configuration is useful to you, please write to autoconf@gnu.org." >&5
21099 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21100 whose name does not start with the host triplet. If you think this
21101 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21102 ac_tool_warned=yes ;;
21104 PKG_CONFIG=$ac_pt_PKG_CONFIG
21107 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21111 if test -n "$PKG_CONFIG"; then
21112 _pkg_min_version=0.9.0
21113 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
21114 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
21115 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21116 { echo "$as_me:$LINENO: result: yes" >&5
21117 echo "${ECHO_T}yes" >&6; }
21119 { echo "$as_me:$LINENO: result: no" >&5
21120 echo "${ECHO_T}no" >&6; }
21127 if test "x$PKG_CONFIG" != "x"
21131 { echo "$as_me:$LINENO: checking for OGG" >&5
21132 echo $ECHO_N "checking for OGG... $ECHO_C" >&6; }
21134 if test -n "$PKG_CONFIG"; then
21135 if test -n "$OGG_CFLAGS"; then
21136 pkg_cv_OGG_CFLAGS="$OGG_CFLAGS"
21138 if test -n "$PKG_CONFIG" && \
21139 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\"") >&5
21140 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); }; then
21144 pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.0" 2>/dev
/null
`
21152 if test -n "$PKG_CONFIG"; then
21153 if test -n "$OGG_LIBS"; then
21154 pkg_cv_OGG_LIBS="$OGG_LIBS"
21156 if test -n "$PKG_CONFIG" && \
21157 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\"") >&5
21158 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); }; then
21162 pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.0" 2>/dev
/null
`
21173 if test $pkg_failed = yes; then
21175 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21176 _pkg_short_errors_supported=yes
21178 _pkg_short_errors_supported=no
21180 if test $_pkg_short_errors_supported = yes; then
21181 OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ogg >= 1.0"`
21183 OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ogg >= 1.0"`
21185 # Put the nasty error message in config.log where it belongs
21186 echo "$OGG_PKG_ERRORS" >&5
21188 { echo "$as_me:$LINENO: result: no" >&5
21189 echo "${ECHO_T}no" >&6; }
21191 elif test $pkg_failed = untried; then
21194 OGG_CFLAGS=$pkg_cv_OGG_CFLAGS
21195 OGG_LIBS=$pkg_cv_OGG_LIBS
21196 { echo "$as_me:$LINENO: result: yes" >&5
21197 echo "${ECHO_T}yes" >&6; }
21201 if test "x$HAVE_OGG" = "xno"
21204 # Check whether --with-ogg was given.
21205 if test "${with_ogg+set}" = set; then
21206 withval=$with_ogg; ogg_prefix="$withval"
21212 # Check whether --with-ogg-libraries was given.
21213 if test "${with_ogg_libraries+set}" = set; then
21214 withval=$with_ogg_libraries; ogg_libraries="$withval"
21220 # Check whether --with-ogg-includes was given.
21221 if test "${with_ogg_includes+set}" = set; then
21222 withval=$with_ogg_includes; ogg_includes="$withval"
21227 # Check whether --enable-oggtest was given.
21228 if test "${enable_oggtest+set}" = set; then
21229 enableval=$enable_oggtest;
21235 if test "x$ogg_libraries" != "x" ; then
21236 OGG_LIBS="-L$ogg_libraries"
21237 elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
21239 elif test "x$ogg_prefix" != "x" ; then
21240 OGG_LIBS="-L$ogg_prefix/lib"
21241 elif test "x$prefix" != "xNONE" ; then
21242 OGG_LIBS="-L$prefix/lib"
21245 if test "x$ogg_prefix" != "xno" ; then
21246 OGG_LIBS="$OGG_LIBS -logg"
21249 if test "x$ogg_includes" != "x" ; then
21250 OGG_CFLAGS="-I$ogg_includes"
21251 elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
21253 elif test "x$ogg_prefix" != "x" ; then
21254 OGG_CFLAGS="-I$ogg_prefix/include"
21255 elif test "x$prefix" != "xNONE"; then
21256 OGG_CFLAGS="-I$prefix/include"
21259 { echo "$as_me:$LINENO: checking for Ogg" >&5
21260 echo $ECHO_N "checking for Ogg... $ECHO_C" >&6; }
21261 if test "x$ogg_prefix" = "xno" ; then
21263 enable_oggtest="no"
21269 if test "x$enable_oggtest" = "xyes" ; then
21270 ac_save_CFLAGS="$CFLAGS"
21271 ac_save_LIBS="$LIBS"
21272 CFLAGS="$CFLAGS $OGG_CFLAGS"
21273 LIBS="$LIBS $OGG_LIBS"
21275 if test "$cross_compiling" = yes; then
21276 echo $ac_n "cross compiling; assumed OK... $ac_c"
21278 cat >conftest.$ac_ext <<_ACEOF
21281 cat confdefs.h >>conftest.$ac_ext
21282 cat >>conftest.$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21286 #include <stdlib.h>
21287 #include <string.h>
21288 #include <ogg/ogg.h>
21292 system("touch conf.oggtest");
21298 rm -f conftest$ac_exeext
21299 if { (ac_try="$ac_link"
21300 case "(($ac_try" in
21301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21302 *) ac_try_echo
=$ac_try;;
21304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21305 (eval "$ac_link") 2>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21309 { (case "(($ac_try" in
21310 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21311 *) ac_try_echo=$ac_try;;
21313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21314 (eval "$ac_try") 2>&5
21316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21317 (exit $ac_status); }; }; then
21320 echo "$as_me: program exited with status $ac_status" >&5
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.$ac_ext >&5
21324 ( exit $ac_status )
21327 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21331 CFLAGS="$ac_save_CFLAGS"
21332 LIBS="$ac_save_LIBS"
21335 if test "x$no_ogg" = "xdisabled" ; then
21336 { echo "$as_me:$LINENO: result: no" >&5
21337 echo "${ECHO_T}no" >&6; }
21338 { { echo "$as_me:$LINENO: error: must have Ogg installed!" >&5
21339 echo "$as_me: error: must have Ogg installed!" >&2;}
21340 { (exit 1); exit 1; }; }
21341 elif test "x$no_ogg" = "x" ; then
21342 { echo "$as_me:$LINENO: result: yes" >&5
21343 echo "${ECHO_T}yes" >&6; }
21346 { echo "$as_me:$LINENO: result: no" >&5
21347 echo "${ECHO_T}no" >&6; }
21348 if test -f conf.oggtest ; then
21351 echo "*** Could not run Ogg test program, checking why..."
21352 CFLAGS="$CFLAGS $OGG_CFLAGS"
21353 LIBS="$LIBS $OGG_LIBS"
21354 cat >conftest.$ac_ext <<_ACEOF
21357 cat confdefs.h >>conftest.$ac_ext
21358 cat >>conftest.$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21362 #include <ogg/ogg.h>
21372 rm -f conftest.$ac_objext conftest$ac_exeext
21373 if { (ac_try="$ac_link"
21374 case "(($ac_try" in
21375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21376 *) ac_try_echo
=$ac_try;;
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_link") 2>conftest.er1
21381 grep -v '^ *+' conftest.er1
>conftest.err
21383 cat conftest.err
>&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest
$ac_exeext &&
21389 $as_test_x conftest
$ac_exeext; then
21390 echo "*** The test program compiled, but did not run. This usually means"
21391 echo "*** that the run-time linker is not finding Ogg or finding the wrong"
21392 echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
21393 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21394 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21395 echo "*** is required on your system"
21397 echo "*** If you have an old version installed, it is best to remove it, although"
21398 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21400 echo "$as_me: failed program was:" >&5
21401 sed 's/^/| /' conftest.
$ac_ext >&5
21403 echo "*** The test program failed to compile or link. See the file config.log for the"
21404 echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
21405 echo "*** or that you have moved Ogg since it was installed."
21408 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21409 conftest
$ac_exeext conftest.
$ac_ext
21410 CFLAGS
="$ac_save_CFLAGS"
21411 LIBS
="$ac_save_LIBS"
21415 { { echo "$as_me:$LINENO: error: must have Ogg installed!" >&5
21416 echo "$as_me: error: must have Ogg installed!" >&2;}
21417 { (exit 1); exit 1; }; }
21424 LIBS
="$OGG_LIBS $VORBIS_LIBS"
21425 { echo "$as_me:$LINENO: checking for oggpack_writealign" >&5
21426 echo $ECHO_N "checking for oggpack_writealign... $ECHO_C" >&6; }
21427 if test "${ac_cv_func_oggpack_writealign+set}" = set; then
21428 echo $ECHO_N "(cached) $ECHO_C" >&6
21430 cat >conftest.
$ac_ext <<_ACEOF
21433 cat confdefs.h
>>conftest.
$ac_ext
21434 cat >>conftest.
$ac_ext <<_ACEOF
21435 /* end confdefs.h. */
21436 /* Define oggpack_writealign to an innocuous variant, in case <limits.h> declares oggpack_writealign.
21437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21438 #define oggpack_writealign innocuous_oggpack_writealign
21440 /* System header to define __stub macros and hopefully few prototypes,
21441 which can conflict with char oggpack_writealign (); below.
21442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21443 <limits.h> exists even on freestanding compilers. */
21446 # include <limits.h>
21448 # include <assert.h>
21451 #undef oggpack_writealign
21453 /* Override any GCC internal prototype to avoid an error.
21454 Use char because int might match the return type of a GCC
21455 builtin and then its argument prototype would still apply. */
21459 char oggpack_writealign ();
21460 /* The GNU C library defines this for functions which it implements
21461 to always fail with ENOSYS. Some functions are actually named
21462 something starting with __ and the normal name is an alias. */
21463 #if defined __stub_oggpack_writealign || defined __stub___oggpack_writealign
21470 return oggpack_writealign ();
21475 rm -f conftest.
$ac_objext conftest
$ac_exeext
21476 if { (ac_try
="$ac_link"
21477 case "(($ac_try" in
21478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21479 *) ac_try_echo=$ac_try;;
21481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21482 (eval "$ac_link") 2>conftest.er1
21484 grep -v '^ *+' conftest.er1 >conftest.err
21486 cat conftest.err >&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); } && {
21489 test -z "$ac_c_werror_flag" ||
21490 test ! -s conftest.err
21491 } && test -s conftest$ac_exeext &&
21492 $as_test_x conftest$ac_exeext; then
21493 ac_cv_func_oggpack_writealign=yes
21495 echo "$as_me: failed program was:" >&5
21496 sed 's/^/| /' conftest.$ac_ext >&5
21498 ac_cv_func_oggpack_writealign=no
21501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21502 conftest$ac_exeext conftest.$ac_ext
21504 { echo "$as_me:$LINENO: result: $ac_cv_func_oggpack_writealign" >&5
21505 echo "${ECHO_T}$ac_cv_func_oggpack_writealign" >&6; }
21506 if test $ac_cv_func_oggpack_writealign = yes; then
21509 { { echo "$as_me:$LINENO: error: Ogg >= 1.0 required !" >&5
21510 echo "$as_me: error: Ogg >= 1.0 required !" >&2;}
21511 { (exit 1); exit 1; }; }
21518 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21519 # for constant arguments. Useless!
21520 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
21521 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
21522 if test "${ac_cv_working_alloca_h+set}" = set; then
21523 echo $ECHO_N "(cached) $ECHO_C" >&6
21525 cat >conftest.$ac_ext <<_ACEOF
21528 cat confdefs.h >>conftest.$ac_ext
21529 cat >>conftest.$ac_ext <<_ACEOF
21530 /* end confdefs.h. */
21531 #include <alloca.h>
21535 char *p = (char *) alloca (2 * sizeof (int));
21541 rm -f conftest.$ac_objext conftest$ac_exeext
21542 if { (ac_try="$ac_link"
21543 case "(($ac_try" in
21544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21545 *) ac_try_echo
=$ac_try;;
21547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21548 (eval "$ac_link") 2>conftest.er1
21550 grep -v '^ *+' conftest.er1
>conftest.err
21552 cat conftest.err
>&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); } && {
21555 test -z "$ac_c_werror_flag" ||
21556 test ! -s conftest.err
21557 } && test -s conftest
$ac_exeext &&
21558 $as_test_x conftest
$ac_exeext; then
21559 ac_cv_working_alloca_h
=yes
21561 echo "$as_me: failed program was:" >&5
21562 sed 's/^/| /' conftest.
$ac_ext >&5
21564 ac_cv_working_alloca_h
=no
21567 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21568 conftest
$ac_exeext conftest.
$ac_ext
21570 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21571 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
21572 if test $ac_cv_working_alloca_h = yes; then
21574 cat >>confdefs.h
<<\_ACEOF
21575 #define HAVE_ALLOCA_H 1
21580 { echo "$as_me:$LINENO: checking for alloca" >&5
21581 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
21582 if test "${ac_cv_func_alloca_works+set}" = set; then
21583 echo $ECHO_N "(cached) $ECHO_C" >&6
21585 cat >conftest.
$ac_ext <<_ACEOF
21588 cat confdefs.h
>>conftest.
$ac_ext
21589 cat >>conftest.
$ac_ext <<_ACEOF
21590 /* end confdefs.h. */
21592 # define alloca __builtin_alloca
21595 # include <malloc.h>
21596 # define alloca _alloca
21598 # ifdef HAVE_ALLOCA_H
21599 # include <alloca.h>
21604 # ifndef alloca /* predefined by HP cc +Olibcalls */
21615 char *p = (char *) alloca (1);
21621 rm -f conftest.
$ac_objext conftest
$ac_exeext
21622 if { (ac_try
="$ac_link"
21623 case "(($ac_try" in
21624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21625 *) ac_try_echo=$ac_try;;
21627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21628 (eval "$ac_link") 2>conftest.er1
21630 grep -v '^ *+' conftest.er1 >conftest.err
21632 cat conftest.err >&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } && {
21635 test -z "$ac_c_werror_flag" ||
21636 test ! -s conftest.err
21637 } && test -s conftest$ac_exeext &&
21638 $as_test_x conftest$ac_exeext; then
21639 ac_cv_func_alloca_works=yes
21641 echo "$as_me: failed program was:" >&5
21642 sed 's/^/| /' conftest.$ac_ext >&5
21644 ac_cv_func_alloca_works=no
21647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21648 conftest$ac_exeext conftest.$ac_ext
21650 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21651 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
21653 if test $ac_cv_func_alloca_works = yes; then
21655 cat >>confdefs.h <<\_ACEOF
21656 #define HAVE_ALLOCA 1
21660 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21661 # that cause trouble. Some versions do not even contain alloca or
21662 # contain a buggy version. If you still want to use their alloca,
21663 # use ar to extract alloca.o from them instead of compiling alloca.c.
21665 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
21667 cat >>confdefs.h <<\_ACEOF
21672 { echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
21673 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks...
$ECHO_C" >&6; }
21674 if test "${ac_cv_os_cray+set}" = set; then
21675 echo $ECHO_N "(cached
) $ECHO_C" >&6
21677 cat >conftest.$ac_ext <<_ACEOF
21680 cat confdefs.h >>conftest.$ac_ext
21681 cat >>conftest.$ac_ext <<_ACEOF
21682 /* end confdefs.h. */
21683 #if defined CRAY && ! defined CRAY2
21690 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21691 $EGREP "webecray
" >/dev/null 2>&1; then
21699 { echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
21700 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
21701 if test $ac_cv_os_cray = yes; then
21702 for ac_func in _getb67 GETB67 getb67; do
21703 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21704 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21705 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21706 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21707 echo $ECHO_N "(cached
) $ECHO_C" >&6
21709 cat >conftest.$ac_ext <<_ACEOF
21712 cat confdefs.h >>conftest.$ac_ext
21713 cat >>conftest.$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21717 #define $ac_func innocuous_$ac_func
21719 /* System header to define __stub macros and hopefully few prototypes,
21720 which can conflict with char $ac_func (); below.
21721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21722 <limits.h> exists even on freestanding compilers. */
21725 # include <limits.h>
21727 # include <assert.h>
21732 /* Override any GCC internal prototype to avoid an error.
21733 Use char because int might match the return type of a GCC
21734 builtin and then its argument prototype would still apply. */
21739 /* The GNU C library defines this for functions which it implements
21740 to always fail with ENOSYS. Some functions are actually named
21741 something starting with __ and the normal name is an alias. */
21742 #if defined __stub_$ac_func || defined __stub___$ac_func
21749 return $ac_func ();
21754 rm -f conftest.$ac_objext conftest$ac_exeext
21755 if { (ac_try="$ac_link"
21756 case "(($ac_try" in
21757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21758 *) ac_try_echo=$ac_try;;
21760 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21761 (eval "$ac_link") 2>conftest.er1
21763 grep -v '^ *+' conftest.er1 >conftest.err
21765 cat conftest.err >&5
21766 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21767 (exit $ac_status); } && {
21768 test -z "$ac_c_werror_flag" ||
21769 test ! -s conftest.err
21770 } && test -s conftest$ac_exeext &&
21771 $as_test_x conftest$ac_exeext; then
21772 eval "$as_ac_var=yes"
21774 echo "$as_me: failed program was
:" >&5
21775 sed 's/^/| /' conftest.$ac_ext >&5
21777 eval "$as_ac_var=no
"
21780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21781 conftest$ac_exeext conftest.$ac_ext
21783 ac_res=`eval echo '${'$as_ac_var'}'`
21784 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21785 echo "${ECHO_T}$ac_res" >&6; }
21786 if test `eval echo '${'$as_ac_var'}'` = yes; then
21788 cat >>confdefs.h <<_ACEOF
21789 #define CRAY_STACKSEG_END $ac_func
21798 { echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
21799 echo $ECHO_N "checking stack direction
for C alloca...
$ECHO_C" >&6; }
21800 if test "${ac_cv_c_stack_direction+set}" = set; then
21801 echo $ECHO_N "(cached
) $ECHO_C" >&6
21803 if test "$cross_compiling" = yes; then
21804 ac_cv_c_stack_direction=0
21806 cat >conftest.$ac_ext <<_ACEOF
21809 cat confdefs.h >>conftest.$ac_ext
21810 cat >>conftest.$ac_ext <<_ACEOF
21811 /* end confdefs.h. */
21812 $ac_includes_default
21814 find_stack_direction ()
21816 static char *addr = 0;
21821 return find_stack_direction ();
21824 return (&dummy > addr) ? 1 : -1;
21830 return find_stack_direction () < 0;
21833 rm -f conftest$ac_exeext
21834 if { (ac_try="$ac_link"
21835 case "(($ac_try" in
21836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21837 *) ac_try_echo=$ac_try;;
21839 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21840 (eval "$ac_link") 2>&5
21842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21844 { (case "(($ac_try" in
21845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21846 *) ac_try_echo=$ac_try;;
21848 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21849 (eval "$ac_try") 2>&5
21851 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21852 (exit $ac_status); }; }; then
21853 ac_cv_c_stack_direction=1
21855 echo "$as_me: program exited with status
$ac_status" >&5
21856 echo "$as_me: failed program was
:" >&5
21857 sed 's/^/| /' conftest.$ac_ext >&5
21859 ( exit $ac_status )
21860 ac_cv_c_stack_direction=-1
21862 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21867 { echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
21868 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
21870 cat >>confdefs.h <<_ACEOF
21871 #define STACK_DIRECTION $ac_cv_c_stack_direction
21877 { echo "$as_me:$LINENO: checking
for working memcmp
" >&5
21878 echo $ECHO_N "checking
for working memcmp...
$ECHO_C" >&6; }
21879 if test "${ac_cv_func_memcmp_working+set}" = set; then
21880 echo $ECHO_N "(cached
) $ECHO_C" >&6
21882 if test "$cross_compiling" = yes; then
21883 ac_cv_func_memcmp_working=no
21885 cat >conftest.$ac_ext <<_ACEOF
21888 cat confdefs.h >>conftest.$ac_ext
21889 cat >>conftest.$ac_ext <<_ACEOF
21890 /* end confdefs.h. */
21891 $ac_includes_default
21896 /* Some versions of memcmp are not 8-bit clean. */
21897 char c0 = '\100', c1 = '\200', c2 = '\201';
21898 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21901 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21902 or more and with at least one buffer not starting on a 4-byte boundary.
21903 William Lewis provided this test program. */
21908 for (i = 0; i < 4; i++)
21912 strcpy (a, "--------01111111");
21913 strcpy (b, "--------10000000");
21914 if (memcmp (a, b, 16) >= 0)
21924 rm -f conftest$ac_exeext
21925 if { (ac_try="$ac_link"
21926 case "(($ac_try" in
21927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21928 *) ac_try_echo=$ac_try;;
21930 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21931 (eval "$ac_link") 2>&5
21933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21934 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21935 { (case "(($ac_try" in
21936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21937 *) ac_try_echo=$ac_try;;
21939 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21940 (eval "$ac_try") 2>&5
21942 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21943 (exit $ac_status); }; }; then
21944 ac_cv_func_memcmp_working=yes
21946 echo "$as_me: program exited with status
$ac_status" >&5
21947 echo "$as_me: failed program was
:" >&5
21948 sed 's/^/| /' conftest.$ac_ext >&5
21950 ( exit $ac_status )
21951 ac_cv_func_memcmp_working=no
21953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21958 { echo "$as_me:$LINENO: result
: $ac_cv_func_memcmp_working" >&5
21959 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
21960 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
21961 *" memcmp.
$ac_objext "* ) ;;
21962 *) LIBOBJS="$LIBOBJS memcmp.
$ac_objext"
21976 ac_config_files="$ac_config_files Makefile m
4/Makefile lib
/Makefile lib
/modes
/Makefile lib
/books
/Makefile lib
/books
/coupled
/Makefile lib
/books
/uncoupled
/Makefile lib
/books
/floor
/Makefile
doc
/Makefile
doc
/vorbisfile
/Makefile
doc
/vorbisenc
/Makefile include
/Makefile include
/vorbis
/Makefile examples
/Makefile test
/Makefile vq
/Makefile libvorbis.spec vorbis.pc vorbisenc.pc vorbisfile.pc vorbis-uninstalled.pc vorbisenc-uninstalled.pc vorbisfile-uninstalled.pc
"
21978 cat >confcache <<\_ACEOF
21979 # This file is a shell script that caches the results of configure
21980 # tests run on this system so they can be shared between configure
21981 # scripts and configure runs, see configure's option --config-cache.
21982 # It is not useful on other systems. If it contains results you don't
21983 # want to keep, you may remove or edit it.
21985 # config.status only pays attention to the cache file if you give it
21986 # the --recheck option to rerun configure.
21988 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21989 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21990 # following values.
21994 # The following way of writing the cache mishandles newlines in values,
21995 # but we know of no workaround that is simple, portable, and efficient.
21996 # So, we kill variables containing newlines.
21997 # Ultrix sh set writes to stderr and can't be redirected directly,
21998 # and sets the high bit in the cache file unless we assign to the vars.
22000 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22001 eval ac_val=\$$ac_var
22005 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
22006 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
22009 _ | IFS | as_nl) ;; #(
22010 *) $as_unset $ac_var ;;
22016 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22017 *${as_nl}ac_space=\ *)
22018 # `set' does not quote correctly, so add quotes (double-quote
22019 # substitution turns \\\\ into \\, and sed turns \\ into \).
22022 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
22025 # `set' quotes correctly as required by POSIX, so do not add quotes.
22026 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
22035 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22037 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22039 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22040 if test -w "$cache_file"; then
22041 test "x
$cache_file" != "x
/dev
/null
" &&
22042 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
22043 echo "$as_me: updating cache
$cache_file" >&6;}
22044 cat confcache >$cache_file
22046 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
22047 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
22052 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
22053 # Let make expand exec_prefix.
22054 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
22056 DEFS=-DHAVE_CONFIG_H
22060 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
22061 # 1. Remove the extension, and $U if already installed.
22062 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22063 ac_i=`echo "$ac_i" | sed "$ac_script"`
22064 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22065 # will be set to the directory where LIBOBJS objects are built.
22066 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
22067 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
22069 LIBOBJS=$ac_libobjs
22071 LTLIBOBJS=$ac_ltlibobjs
22074 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22075 { { echo "$as_me:$LINENO: error
: conditional
\"AMDEP
\" was never defined.
22076 Usually this means the macro was only invoked conditionally.
" >&5
22077 echo "$as_me: error
: conditional
\"AMDEP
\" was never defined.
22078 Usually this means the macro was only invoked conditionally.
" >&2;}
22079 { (exit 1); exit 1; }; }
22081 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22082 { { echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
22083 Usually this means the macro was only invoked conditionally.
" >&5
22084 echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
22085 Usually this means the macro was only invoked conditionally.
" >&2;}
22086 { (exit 1); exit 1; }; }
22088 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22089 { { echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCXX
\" was never defined.
22090 Usually this means the macro was only invoked conditionally.
" >&5
22091 echo "$as_me: error
: conditional
\"am__fastdepCXX
\" was never defined.
22092 Usually this means the macro was only invoked conditionally.
" >&2;}
22093 { (exit 1); exit 1; }; }
22095 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
22096 { { echo "$as_me:$LINENO: error
: conditional
\"BUILD_DOCS
\" was never defined.
22097 Usually this means the macro was only invoked conditionally.
" >&5
22098 echo "$as_me: error
: conditional
\"BUILD_DOCS
\" was never defined.
22099 Usually this means the macro was only invoked conditionally.
" >&2;}
22100 { (exit 1); exit 1; }; }
22103 : ${CONFIG_STATUS=./config.status}
22104 ac_clean_files_save=$ac_clean_files
22105 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22106 { echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
22107 echo "$as_me: creating
$CONFIG_STATUS" >&6;}
22108 cat >$CONFIG_STATUS <<_ACEOF
22110 # Generated by $as_me.
22111 # Run this file to recreate the current configuration.
22112 # Compiler output produced by configure, useful for debugging
22113 # configure, is in config.log if it exists.
22116 ac_cs_recheck=false
22118 SHELL=\${CONFIG_SHELL-$SHELL}
22121 cat >>$CONFIG_STATUS <<\_ACEOF
22122 ## --------------------- ##
22123 ## M4sh Initialization. ##
22124 ## --------------------- ##
22126 # Be more Bourne compatible
22127 DUALCASE=1; export DUALCASE # for MKS sh
22128 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22131 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22132 # is contrary to our usage. Disable this feature.
22133 alias -g '${1+"$@"}'='"$@
"'
22134 setopt NO_GLOB_SUBST
22136 case `(set -o) 2>/dev/null` in
22137 *posix*) set -o posix ;;
22146 # Avoid depending upon Character Ranges.
22147 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22148 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22149 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22150 as_cr_digits='0123456789'
22151 as_cr_alnum=$as_cr_Letters$as_cr_digits
22153 # The user is always right.
22154 if test "${PATH_SEPARATOR+set}" != set; then
22155 echo "#! /bin/sh" >conf$$.sh
22156 echo "exit 0" >>conf$$.sh
22158 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22166 # Support unset when possible.
22167 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22175 # We need space, tab and new line, in precisely that order. Quoting is
22176 # there to prevent editors from complaining about space-tab.
22177 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22178 # splitting by setting IFS to empty value.)
22183 # Find who we are. Look in the path if we contain no directory separator.
22185 *[\\/]* ) as_myself
=$0 ;;
22186 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22187 for as_dir
in $PATH
22190 test -z "$as_dir" && as_dir
=.
22191 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22197 # We did not find ourselves, most probably we were run as `sh COMMAND'
22198 # in which case we are not to be found in the path.
22199 if test "x$as_myself" = x
; then
22202 if test ! -f "$as_myself"; then
22203 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22204 { (exit 1); exit 1; }
22207 # Work around bugs in pre-3.0 UWIN ksh.
22208 for as_var
in ENV MAIL MAILPATH
22209 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22217 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22218 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22219 LC_TELEPHONE LC_TIME
22221 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22222 eval $as_var=C
; export $as_var
22224 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22228 # Required to use basename.
22229 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22230 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22236 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22237 as_basename
=basename
22243 # Name of the executable.
22244 as_me
=`$as_basename -- "$0" ||
22245 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22246 X"$0" : 'X\(//\)$' \| \
22247 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22249 sed '/^.*\/\([^/][^/]*\)\/*$/{
22268 as_lineno_1
=$LINENO
22269 as_lineno_2
=$LINENO
22270 test "x$as_lineno_1" != "x$as_lineno_2" &&
22271 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22273 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22274 # uniformly replaced by the line number. The first 'sed' inserts a
22275 # line-number line after each line using $LINENO; the second 'sed'
22276 # does the real work. The second script uses 'N' to pair each
22277 # line-number line with the line containing $LINENO, and appends
22278 # trailing '-' during substitution so that $LINENO is not a special
22279 # case at line end.
22280 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22281 # scripts with optimization help from Paolo Bonzini. Blame Lee
22282 # E. McMahon (1931-1989) for sed's syntax. :-)
22294 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22297 ' >$as_me.lineno
&&
22298 chmod +x
"$as_me.lineno" ||
22299 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22300 { (exit 1); exit 1; }; }
22302 # Don't try to exec as it changes $[0], causing all sort of problems
22303 # (the dirname of $[0] is not the place where we might find the
22304 # original and so on. Autoconf is especially sensitive to this).
22305 .
"./$as_me.lineno"
22306 # Exit status is that of the last command.
22311 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22317 ECHO_C
= ECHO_N
= ECHO_T
=
22318 case `echo -n x` in
22320 case `echo 'x\c'` in
22321 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22328 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22329 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22335 rm -f conf$$ conf$$.exe conf$$.
file
22336 if test -d conf$$.dir
; then
22337 rm -f conf$$.dir
/conf$$.
file
22343 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22345 # ... but there are two gotchas:
22346 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22347 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22348 # In both cases, we have to default to `cp -p'.
22349 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22351 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22356 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22357 rmdir conf$$.dir
2>/dev
/null
22359 if mkdir
-p .
2>/dev
/null
; then
22362 test -d .
/-p && rmdir .
/-p
22366 if test -x / >/dev
/null
2>&1; then
22367 as_test_x
='test -x'
22369 if ls -dL / >/dev
/null
2>&1; then
22376 if test -d "$1"; then
22382 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22383 ???[sx]*):;;*)false;;esac;fi
22387 as_executable_p
=$as_test_x
22389 # Sed expression to map a string onto a valid CPP name.
22390 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22392 # Sed expression to map a string onto a valid variable name.
22393 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22398 # Save the log message, to keep $[0] and so on meaningful, and to
22399 # report actual input values of CONFIG_FILES etc. instead of their
22400 # values after options handling.
22402 This file was extended by libvorbis $as_me 1.2.3, which was
22403 generated by GNU Autoconf 2.61. Invocation command line was
22405 CONFIG_FILES = $CONFIG_FILES
22406 CONFIG_HEADERS = $CONFIG_HEADERS
22407 CONFIG_LINKS = $CONFIG_LINKS
22408 CONFIG_COMMANDS = $CONFIG_COMMANDS
22411 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22416 cat >>$CONFIG_STATUS <<_ACEOF
22417 # Files that config.status was made for.
22418 config_files="$ac_config_files"
22419 config_headers="$ac_config_headers"
22420 config_commands="$ac_config_commands"
22424 cat >>$CONFIG_STATUS <<\_ACEOF
22426 \`$as_me' instantiates files from templates according to the
22427 current configuration.
22429 Usage: $0 [OPTIONS] [FILE]...
22431 -h, --help print this help, then exit
22432 -V, --version print version number and configuration settings, then exit
22433 -q, --quiet do not print progress messages
22434 -d, --debug don't remove temporary files
22435 --recheck update $as_me by reconfiguring in the same conditions
22436 --file=FILE[:TEMPLATE]
22437 instantiate the configuration file FILE
22438 --header=FILE[:TEMPLATE]
22439 instantiate the configuration header FILE
22441 Configuration files:
22444 Configuration headers:
22447 Configuration commands:
22450 Report bugs to <bug-autoconf@gnu.org>."
22453 cat >>$CONFIG_STATUS <<_ACEOF
22455 libvorbis config.status 1.2.3
22456 configured by $0, generated by GNU Autoconf 2.61,
22457 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22459 Copyright (C) 2006 Free Software Foundation, Inc.
22460 This config.status script is free software; the Free Software Foundation
22461 gives unlimited permission to copy, distribute and modify it."
22469 cat >>$CONFIG_STATUS <<\_ACEOF
22470 # If no file are specified by the user, then we need to provide default
22471 # value. By we need to know if files were specified by the user.
22477 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22478 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22489 # Handling of the options.
22490 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22492 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22493 echo "$ac_cs_version"; exit ;;
22494 --debug |
--debu |
--deb |
--de |
--d |
-d )
22496 --file |
--fil |
--fi |
--f )
22498 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22499 ac_need_defaults
=false
;;
22500 --header |
--heade |
--head |
--hea )
22502 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22503 ac_need_defaults
=false
;;
22505 # Conflict between --help and --header
22506 { echo "$as_me: error: ambiguous option: $1
22507 Try \`$0 --help' for more information." >&2
22508 { (exit 1); exit 1; }; };;
22509 --help |
--hel |
-h )
22510 echo "$ac_cs_usage"; exit ;;
22511 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22512 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22515 # This is an error.
22516 -*) { echo "$as_me: error: unrecognized option: $1
22517 Try \`$0 --help' for more information." >&2
22518 { (exit 1); exit 1; }; } ;;
22520 *) ac_config_targets
="$ac_config_targets $1"
22521 ac_need_defaults
=false
;;
22527 ac_configure_extra_args
=
22529 if $ac_cs_silent; then
22531 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22535 cat >>$CONFIG_STATUS <<_ACEOF
22536 if \$ac_cs_recheck; then
22537 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22538 CONFIG_SHELL=$SHELL
22539 export CONFIG_SHELL
22540 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22544 cat >>$CONFIG_STATUS <<\_ACEOF
22548 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22549 ## Running $as_me. ##
22555 cat >>$CONFIG_STATUS <<_ACEOF
22559 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22563 cat >>$CONFIG_STATUS <<\_ACEOF
22565 # Handling of arguments.
22566 for ac_config_target
in $ac_config_targets
22568 case $ac_config_target in
22569 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22570 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22571 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22572 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
22573 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
22574 "lib/modes/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/modes/Makefile" ;;
22575 "lib/books/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/books/Makefile" ;;
22576 "lib/books/coupled/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/books/coupled/Makefile" ;;
22577 "lib/books/uncoupled/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/books/uncoupled/Makefile" ;;
22578 "lib/books/floor/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/books/floor/Makefile" ;;
22579 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
22580 "doc/vorbisfile/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/vorbisfile/Makefile" ;;
22581 "doc/vorbisenc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/vorbisenc/Makefile" ;;
22582 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22583 "include/vorbis/Makefile") CONFIG_FILES
="$CONFIG_FILES include/vorbis/Makefile" ;;
22584 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
22585 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
22586 "vq/Makefile") CONFIG_FILES
="$CONFIG_FILES vq/Makefile" ;;
22587 "libvorbis.spec") CONFIG_FILES
="$CONFIG_FILES libvorbis.spec" ;;
22588 "vorbis.pc") CONFIG_FILES
="$CONFIG_FILES vorbis.pc" ;;
22589 "vorbisenc.pc") CONFIG_FILES
="$CONFIG_FILES vorbisenc.pc" ;;
22590 "vorbisfile.pc") CONFIG_FILES
="$CONFIG_FILES vorbisfile.pc" ;;
22591 "vorbis-uninstalled.pc") CONFIG_FILES
="$CONFIG_FILES vorbis-uninstalled.pc" ;;
22592 "vorbisenc-uninstalled.pc") CONFIG_FILES
="$CONFIG_FILES vorbisenc-uninstalled.pc" ;;
22593 "vorbisfile-uninstalled.pc") CONFIG_FILES
="$CONFIG_FILES vorbisfile-uninstalled.pc" ;;
22595 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22596 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22597 { (exit 1); exit 1; }; };;
22602 # If the user did not use the arguments to specify the items to instantiate,
22603 # then the envvar interface is used. Set only those that are not.
22604 # We use the long form for the default assignment because of an extremely
22605 # bizarre bug on SunOS 4.1.3.
22606 if $ac_need_defaults; then
22607 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22608 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22609 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22612 # Have a temporary directory for convenience. Make it in the build tree
22613 # simply because there is no reason against having it here, and in addition,
22614 # creating and moving files from /tmp can sometimes cause problems.
22615 # Hook for its removal unless debugging.
22616 # Note that there is a small window in which the directory will not be cleaned:
22617 # after its creation but before its name has been assigned to `$tmp'.
22621 trap 'exit_status=$?
22622 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22624 trap '{ (exit 1); exit 1; }' 1 2 13 15
22626 # Create a (secure) tmp directory for tmp files.
22629 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22630 test -n "$tmp" && test -d "$tmp"
22633 tmp
=.
/conf$$
-$RANDOM
22634 (umask 077 && mkdir
"$tmp")
22637 echo "$me: cannot create a temporary directory in ." >&2
22638 { (exit 1); exit 1; }
22642 # Set up the sed scripts for CONFIG_FILES section.
22645 # No need to generate the scripts if there are no CONFIG_FILES.
22646 # This happens for instance when ./config.status config.h
22647 if test -n "$CONFIG_FILES"; then
22654 for ac_last_try
in false false false false false
:; do
22655 cat >conf$
$subs.
sed <<_ACEOF
22656 SHELL!$SHELL$ac_delim
22657 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22658 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22659 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22660 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22661 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22662 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22663 exec_prefix!$exec_prefix$ac_delim
22664 prefix!$prefix$ac_delim
22665 program_transform_name!$program_transform_name$ac_delim
22666 bindir!$bindir$ac_delim
22667 sbindir!$sbindir$ac_delim
22668 libexecdir!$libexecdir$ac_delim
22669 datarootdir!$datarootdir$ac_delim
22670 datadir!$datadir$ac_delim
22671 sysconfdir!$sysconfdir$ac_delim
22672 sharedstatedir!$sharedstatedir$ac_delim
22673 localstatedir!$localstatedir$ac_delim
22674 includedir!$includedir$ac_delim
22675 oldincludedir!$oldincludedir$ac_delim
22676 docdir!$docdir$ac_delim
22677 infodir!$infodir$ac_delim
22678 htmldir!$htmldir$ac_delim
22679 dvidir!$dvidir$ac_delim
22680 pdfdir!$pdfdir$ac_delim
22681 psdir!$psdir$ac_delim
22682 libdir!$libdir$ac_delim
22683 localedir!$localedir$ac_delim
22684 mandir!$mandir$ac_delim
22685 DEFS!$DEFS$ac_delim
22686 ECHO_C!$ECHO_C$ac_delim
22687 ECHO_N!$ECHO_N$ac_delim
22688 ECHO_T!$ECHO_T$ac_delim
22689 LIBS!$LIBS$ac_delim
22690 build_alias!$build_alias$ac_delim
22691 host_alias!$host_alias$ac_delim
22692 target_alias!$target_alias$ac_delim
22693 build!$build$ac_delim
22694 build_cpu!$build_cpu$ac_delim
22695 build_vendor!$build_vendor$ac_delim
22696 build_os!$build_os$ac_delim
22697 host!$host$ac_delim
22698 host_cpu!$host_cpu$ac_delim
22699 host_vendor!$host_vendor$ac_delim
22700 host_os!$host_os$ac_delim
22701 target!$target$ac_delim
22702 target_cpu!$target_cpu$ac_delim
22703 target_vendor!$target_vendor$ac_delim
22704 target_os!$target_os$ac_delim
22705 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22706 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22707 INSTALL_DATA!$INSTALL_DATA$ac_delim
22708 am__isrc!$am__isrc$ac_delim
22709 CYGPATH_W!$CYGPATH_W$ac_delim
22710 PACKAGE!$PACKAGE$ac_delim
22711 VERSION!$VERSION$ac_delim
22712 ACLOCAL!$ACLOCAL$ac_delim
22713 AUTOCONF!$AUTOCONF$ac_delim
22714 AUTOMAKE!$AUTOMAKE$ac_delim
22715 AUTOHEADER!$AUTOHEADER$ac_delim
22716 MAKEINFO!$MAKEINFO$ac_delim
22717 install_sh!$install_sh$ac_delim
22718 STRIP!$STRIP$ac_delim
22719 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22720 mkdir_p!$mkdir_p$ac_delim
22722 SET_MAKE!$SET_MAKE$ac_delim
22723 am__leading_dot!$am__leading_dot$ac_delim
22724 AMTAR!$AMTAR$ac_delim
22725 am__tar!$am__tar$ac_delim
22726 am__untar!$am__untar$ac_delim
22727 ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
22728 V_LIB_CURRENT!$V_LIB_CURRENT$ac_delim
22729 V_LIB_REVISION!$V_LIB_REVISION$ac_delim
22730 V_LIB_AGE!$V_LIB_AGE$ac_delim
22731 VF_LIB_CURRENT!$VF_LIB_CURRENT$ac_delim
22732 VF_LIB_REVISION!$VF_LIB_REVISION$ac_delim
22733 VF_LIB_AGE!$VF_LIB_AGE$ac_delim
22734 VE_LIB_CURRENT!$VE_LIB_CURRENT$ac_delim
22735 VE_LIB_REVISION!$VE_LIB_REVISION$ac_delim
22736 VE_LIB_AGE!$VE_LIB_AGE$ac_delim
22738 CFLAGS!$CFLAGS$ac_delim
22739 LDFLAGS!$LDFLAGS$ac_delim
22740 CPPFLAGS!$CPPFLAGS$ac_delim
22741 ac_ct_CC!$ac_ct_CC$ac_delim
22742 EXEEXT!$EXEEXT$ac_delim
22743 OBJEXT!$OBJEXT$ac_delim
22744 DEPDIR!$DEPDIR$ac_delim
22745 am__include!$am__include$ac_delim
22746 am__quote!$am__quote$ac_delim
22747 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22748 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22749 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22750 CCDEPMODE!$CCDEPMODE$ac_delim
22751 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22752 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22755 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22757 elif $ac_last_try; then
22758 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22759 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22760 { (exit 1); exit 1; }; }
22762 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22766 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22767 if test -n "$ac_eof"; then
22768 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22769 ac_eof
=`expr $ac_eof + 1`
22772 cat >>$CONFIG_STATUS <<_ACEOF
22773 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22774 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22777 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22778 s/^/s,@/; s/!/@,|#_!!_#|/
22781 s/'"$ac_delim"'$/,g/; t
22783 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22784 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22785 rm -f conf$
$subs.
sed
22786 cat >>$CONFIG_STATUS <<_ACEOF
22792 for ac_last_try
in false false false false false
:; do
22793 cat >conf$
$subs.
sed <<_ACEOF
22796 GREP!$GREP$ac_delim
22797 EGREP!$EGREP$ac_delim
22798 LN_S!$LN_S$ac_delim
22799 ECHO!$ECHO$ac_delim
22801 RANLIB!$RANLIB$ac_delim
22802 DSYMUTIL!$DSYMUTIL$ac_delim
22803 NMEDIT!$NMEDIT$ac_delim
22804 DLLTOOL!$DLLTOOL$ac_delim
22806 OBJDUMP!$OBJDUMP$ac_delim
22808 CXXFLAGS!$CXXFLAGS$ac_delim
22809 ac_ct_CXX!$ac_ct_CXX$ac_delim
22810 CXXDEPMODE!$CXXDEPMODE$ac_delim
22811 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22812 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22813 CXXCPP!$CXXCPP$ac_delim
22815 FFLAGS!$FFLAGS$ac_delim
22816 ac_ct_F77!$ac_ct_F77$ac_delim
22817 LIBTOOL!$LIBTOOL$ac_delim
22818 PDFLATEX!$PDFLATEX$ac_delim
22819 HTLATEX!$HTLATEX$ac_delim
22820 BUILD_DOCS_TRUE!$BUILD_DOCS_TRUE$ac_delim
22821 BUILD_DOCS_FALSE!$BUILD_DOCS_FALSE$ac_delim
22822 PKG_CONFIG!$PKG_CONFIG$ac_delim
22823 OGG_CFLAGS!$OGG_CFLAGS$ac_delim
22824 OGG_LIBS!$OGG_LIBS$ac_delim
22825 ALLOCA!$ALLOCA$ac_delim
22826 LIBOBJS!$LIBOBJS$ac_delim
22827 VORBIS_LIBS!$VORBIS_LIBS$ac_delim
22828 DEBUG!$DEBUG$ac_delim
22829 PROFILE!$PROFILE$ac_delim
22830 pthread_lib!$pthread_lib$ac_delim
22831 LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
22832 LTLIBOBJS!$LTLIBOBJS$ac_delim
22835 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 39; then
22837 elif $ac_last_try; then
22838 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22839 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22840 { (exit 1); exit 1; }; }
22842 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22846 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22847 if test -n "$ac_eof"; then
22848 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22849 ac_eof
=`expr $ac_eof + 1`
22852 cat >>$CONFIG_STATUS <<_ACEOF
22853 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22854 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22857 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22858 s/^/s,@/; s/!/@,|#_!!_#|/
22861 s/'"$ac_delim"'$/,g/; t
22863 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22864 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22865 rm -f conf$
$subs.
sed
22866 cat >>$CONFIG_STATUS <<_ACEOF
22873 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22874 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22875 # trailing colons and then remove the whole line if VPATH becomes empty
22876 # (actually we leave an empty line to preserve line numbers).
22877 if test "x$srcdir" = x.
; then
22878 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22879 s/:*\$(srcdir):*/:/
22880 s/:*\${srcdir}:*/:/
22882 s/^\([^=]*=[ ]*\):*/\1/
22888 cat >>$CONFIG_STATUS <<\_ACEOF
22889 fi # test -n "$CONFIG_FILES"
22892 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22895 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22897 case $ac_mode$ac_tag in
22899 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22900 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22901 { (exit 1); exit 1; }; };;
22902 :[FH
]-) ac_tag
=-:-;;
22903 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22920 -) ac_f
="$tmp/stdin";;
22921 *) # Look for the file first in the build tree, then in the source tree
22922 # (if the path is not absolute). The absolute path cannot be DOS-style,
22923 # because $ac_f cannot contain `:'.
22927 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22929 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22930 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22931 { (exit 1); exit 1; }; };;
22933 ac_file_inputs
="$ac_file_inputs $ac_f"
22936 # Let's still pretend it is `configure' which instantiates (i.e., don't
22937 # use $as_me), people would be surprised to read:
22938 # /* config.h. Generated by config.status. */
22939 configure_input
="Generated from "`IFS=:
22940 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22941 if test x
"$ac_file" != x-
; then
22942 configure_input
="$ac_file. $configure_input"
22943 { echo "$as_me:$LINENO: creating $ac_file" >&5
22944 echo "$as_me: creating $ac_file" >&6;}
22948 *:-:* |
*:-) cat >"$tmp/stdin";;
22953 ac_dir
=`$as_dirname -- "$ac_file" ||
22954 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22955 X"$ac_file" : 'X\(//\)[^/]' \| \
22956 X"$ac_file" : 'X\(//\)$' \| \
22957 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22963 /^X\(\/\/\)[^/].*/{
22978 -*) as_dir
=.
/$as_dir;;
22980 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22984 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22985 *) as_qdir
=$as_dir;;
22987 as_dirs
="'$as_qdir' $as_dirs"
22988 as_dir
=`$as_dirname -- "$as_dir" ||
22989 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22990 X"$as_dir" : 'X\(//\)[^/]' \| \
22991 X"$as_dir" : 'X\(//\)$' \| \
22992 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22998 /^X\(\/\/\)[^/].*/{
23011 test -d "$as_dir" && break
23013 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23014 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23015 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23016 { (exit 1); exit 1; }; }; }
23020 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23022 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23023 # A ".." for each directory in $ac_dir_suffix.
23024 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23025 case $ac_top_builddir_sub in
23026 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23027 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23030 ac_abs_top_builddir
=$ac_pwd
23031 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23032 # for backward compatibility:
23033 ac_top_builddir
=$ac_top_build_prefix
23036 .
) # We are building in place.
23038 ac_top_srcdir
=$ac_top_builddir_sub
23039 ac_abs_top_srcdir
=$ac_pwd ;;
23040 [\\/]* | ?
:[\\/]* ) # Absolute name.
23041 ac_srcdir
=$srcdir$ac_dir_suffix;
23042 ac_top_srcdir
=$srcdir
23043 ac_abs_top_srcdir
=$srcdir ;;
23044 *) # Relative name.
23045 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23046 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23047 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23049 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23059 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23060 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23062 ac_MKDIR_P
=$MKDIR_P
23064 [\\/$
]* | ?
:[\\/]* ) ;;
23065 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23069 cat >>$CONFIG_STATUS <<\_ACEOF
23070 # If the template does not know about datarootdir, expand it.
23071 # FIXME: This hack should be removed a few years after 2.60.
23072 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23074 case `sed -n '/datarootdir/ {
23083 ' $ac_file_inputs` in
23084 *datarootdir
*) ac_datarootdir_seen
=yes;;
23085 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23086 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23087 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23089 cat >>$CONFIG_STATUS <<_ACEOF
23090 ac_datarootdir_hack='
23091 s&@datadir@&$datadir&g
23092 s&@docdir@&$docdir&g
23093 s&@infodir@&$infodir&g
23094 s&@localedir@&$localedir&g
23095 s&@mandir@&$mandir&g
23096 s&\\\${datarootdir}&$datarootdir&g' ;;
23100 # Neutralize VPATH when `$srcdir' = `.'.
23101 # Shell code in configure.ac might set extrasub.
23102 # FIXME: do we really want to maintain this feature?
23103 cat >>$CONFIG_STATUS <<_ACEOF
23107 cat >>$CONFIG_STATUS <<\_ACEOF
23109 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23110 s
&@configure_input@
&$configure_input&;t t
23111 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23112 s
&@srcdir@
&$ac_srcdir&;t t
23113 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23114 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23115 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23116 s
&@builddir@
&$ac_builddir&;t t
23117 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23118 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23119 s
&@INSTALL@
&$ac_INSTALL&;t t
23120 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23121 $ac_datarootdir_hack
23122 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23124 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23125 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23126 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23127 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23128 which seems to be undefined. Please make sure it is defined." >&5
23129 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23130 which seems to be undefined. Please make sure it is defined." >&2;}
23134 -) cat "$tmp/out"; rm -f "$tmp/out";;
23135 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23144 # Transform confdefs.h into a sed script `conftest.defines', that
23145 # substitutes the proper values into config.h.in to produce config.h.
23146 rm -f conftest.defines conftest.
tail
23147 # First, append a space to every undef/define line, to ease matching.
23148 echo 's/$/ /' >conftest.defines
23149 # Then, protect against being on the right side of a sed subst, or in
23150 # an unquoted here document, in config.status. If some macros were
23151 # called several times there might be several #defines for the same
23152 # symbol, which is useless. But do not sort them, since the last
23153 # AC_DEFINE must be honored.
23154 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23155 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23156 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23157 # PARAMS is the parameter list in the macro definition--in most cases, it's
23158 # just an empty string.
23159 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23160 ac_dB
='\\)[ (].*,\\1define\\2'
23168 s/^[ ]*#[ ]*define[ ][ ]*//
23173 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23174 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23175 ' >>conftest.defines
23177 # Remove the space that was appended to ease matching.
23178 # Then replace #undef with comments. This is necessary, for
23179 # example, in the case of _POSIX_SOURCE, which is predefined and required
23180 # on some systems where configure will not decide to define it.
23181 # (The regexp can be short, since the line contains either #define or #undef.)
23183 s,^[ #]*u.*,/* & */,' >>conftest.defines
23185 # Break up conftest.defines:
23186 ac_max_sed_lines
=50
23188 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23189 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23190 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23192 ac_in
='$ac_file_inputs'
23193 ac_out
='"$tmp/out1"'
23194 ac_nxt
='"$tmp/out2"'
23198 # Write a here document:
23199 cat >>$CONFIG_STATUS <<_ACEOF
23200 # First, check the format of the line:
23201 cat >"\$tmp/defines.sed" <<\\CEOF
23202 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23203 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23207 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23209 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23210 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23211 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23212 grep . conftest.
tail >/dev
/null ||
break
23213 rm -f conftest.defines
23214 mv conftest.
tail conftest.defines
23216 rm -f conftest.defines conftest.
tail
23218 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23219 cat >>$CONFIG_STATUS <<\_ACEOF
23220 if test x
"$ac_file" != x-
; then
23221 echo "/* $configure_input */" >"$tmp/config.h"
23222 cat "$ac_result" >>"$tmp/config.h"
23223 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23224 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23225 echo "$as_me: $ac_file is unchanged" >&6;}
23228 mv "$tmp/config.h" $ac_file
23231 echo "/* $configure_input */"
23235 # Compute $ac_file's index in $config_headers.
23238 for _am_header
in $config_headers :; do
23239 case $_am_header in
23240 $_am_arg |
$_am_arg:* )
23243 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23246 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23247 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23248 X"$_am_arg" : 'X\(//\)[^/]' \| \
23249 X"$_am_arg" : 'X\(//\)$' \| \
23250 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23256 /^X\(\/\/\)[^/].*/{
23268 s/.*/./; q'`/stamp-h
$_am_stamp_count
23271 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23272 echo "$as_me: executing $ac_file commands" >&6;}
23277 case $ac_file$ac_mode in
23278 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23279 # Strip MF so we end up with the name of the file.
23280 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23281 # Check whether this is an Automake generated Makefile or not.
23282 # We used to match only the files named `Makefile.in', but
23283 # some people rename them; so instead we look at the file content.
23284 # Grep'ing the first line is not enough: some people post-process
23285 # each Makefile.in and add a new line on top of each file to say so.
23286 # Grep'ing the whole file is not good either: AIX grep has a line
23287 # limit of 2048, but all sed's we know have understand at least 4000.
23288 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23289 dirpart
=`$as_dirname -- "$mf" ||
23290 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23291 X"$mf" : 'X\(//\)[^/]' \| \
23292 X"$mf" : 'X\(//\)$' \| \
23293 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23299 /^X\(\/\/\)[^/].*/{
23315 # Extract the definition of DEPDIR, am__include, and am__quote
23316 # from the Makefile without running `make'.
23317 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23318 test -z "$DEPDIR" && continue
23319 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23320 test -z "am__include" && continue
23321 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23322 # When using ansi2knr, U may be empty or an underscore; expand it
23323 U
=`sed -n 's/^U = //p' < "$mf"`
23324 # Find all dependency output files, they are included files with
23325 # $(DEPDIR) in their names. We invoke sed twice because it is the
23326 # simplest approach to changing $(DEPDIR) to its actual value in the
23328 for file in `sed -n "
23329 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23330 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23331 # Make sure the directory exists.
23332 test -f "$dirpart/$file" && continue
23333 fdir
=`$as_dirname -- "$file" ||
23334 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23335 X"$file" : 'X\(//\)[^/]' \| \
23336 X"$file" : 'X\(//\)$' \| \
23337 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23343 /^X\(\/\/\)[^/].*/{
23356 { as_dir
=$dirpart/$fdir
23358 -*) as_dir
=.
/$as_dir;;
23360 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23364 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23365 *) as_qdir
=$as_dir;;
23367 as_dirs
="'$as_qdir' $as_dirs"
23368 as_dir
=`$as_dirname -- "$as_dir" ||
23369 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23370 X"$as_dir" : 'X\(//\)[^/]' \| \
23371 X"$as_dir" : 'X\(//\)$' \| \
23372 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23378 /^X\(\/\/\)[^/].*/{
23391 test -d "$as_dir" && break
23393 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23394 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23395 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23396 { (exit 1); exit 1; }; }; }
23397 # echo "creating $dirpart/$file"
23398 echo '# dummy' > "$dirpart/$file"
23407 { (exit 0); exit 0; }
23409 chmod +x
$CONFIG_STATUS
23410 ac_clean_files
=$ac_clean_files_save
23413 # configure is writing to config.log, and then calls config.status.
23414 # config.status does its own redirection, appending to config.log.
23415 # Unfortunately, on DOS this fails, as config.log is still kept open
23416 # by configure, so config.status won't be able to write to it; its
23417 # output is simply discarded. So we exec the FD to /dev/null,
23418 # effectively closing config.log, so it can be properly (re)opened and
23419 # appended to by config.status. When coming back to configure, we
23420 # need to make the FD available again.
23421 if test "$no_create" != yes; then
23423 ac_config_status_args
=
23424 test "$silent" = yes &&
23425 ac_config_status_args
="$ac_config_status_args --quiet"
23427 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23429 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23430 # would make configure fail if this is the last instruction.
23431 $ac_cs_success ||
{ (exit 1); exit 1; }