2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL
=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec
; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo
; then
568 # Avoid inline document here, it may be left over
570 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $echo works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo
; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
591 if test -z "$ECHO"; then
592 if test "X${echo_test_string+set}" != Xset
; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
597 echo_test_string
=`eval $cmd` &&
598 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # The Solaris, AIX, and Digital Unix default echo programs unquote
611 # backslashes. This makes it impossible to quote backslashes using
612 # echo "$something" | sed 's/\\/\\\\/g'
614 # So, first we look for a working echo in the user's PATH.
616 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
617 for dir
in $PATH /usr
/ucb
; do
619 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
620 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622 test "X$echo_testing_string" = "X$echo_test_string"; then
629 if test "X$echo" = Xecho
; then
630 # We didn't find a better echo, so look for alternatives.
631 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # This shell has a builtin print -r that does the trick.
636 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
637 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
638 # If we have ksh, try running configure again with it.
639 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
640 export ORIGINAL_CONFIG_SHELL
641 CONFIG_SHELL
=/bin
/ksh
643 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
652 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653 test "X$echo_testing_string" = 'X\t' &&
654 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
658 SHELL
="$CONFIG_SHELL"
660 echo="$CONFIG_SHELL $0 --fallback-echo"
661 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662 test "X$echo_testing_string" = 'X\t' &&
663 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664 test "X$echo_testing_string" = "X$echo_test_string"; then
665 echo="$CONFIG_SHELL $0 --fallback-echo"
667 # maybe with a smaller string...
670 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
678 if test "$prev" != 'sed 50q "$0"'; then
679 echo_test_string
=`eval $prev`
680 export echo_test_string
681 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683 # Oops. We lost completely, so just stick with echo.
692 # Copy echo and quote the copy suitably for passing to libtool from
693 # the Makefile, instead of quoting the original, which is used later.
695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702 tagnames
=${tagnames+${tagnames},}CXX
704 tagnames
=${tagnames+${tagnames},}F77
706 exec 7<&0 </dev
/null
6>&1
709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
716 ac_default_prefix
=/usr
/local
718 ac_config_libobj_dir
=.
724 SHELL
=${CONFIG_SHELL-/bin/sh}
726 # Identity of this package.
733 ac_unique_file
="README"
734 # Factoring default headers for most tests.
735 ac_includes_default
="\
737 #ifdef HAVE_SYS_TYPES_H
738 # include <sys/types.h>
740 #ifdef HAVE_SYS_STAT_H
741 # include <sys/stat.h>
747 # ifdef HAVE_STDLIB_H
752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
757 #ifdef HAVE_STRINGS_H
758 # include <strings.h>
760 #ifdef HAVE_INTTYPES_H
761 # include <inttypes.h>
779 program_transform_name
808 MAINTAINER_MODE_FALSE
845 INSTALL_STRIP_PROGRAM
904 ac_precious_vars
='build_alias
926 # Initialize some variables set by options.
928 ac_init_version
=false
929 # The variables have the same names as the options, with
930 # dashes changed to underlines.
938 program_transform_name
=s
,x
,x
,
946 # Installation directory options.
947 # These are left unexpanded so users can "make install exec_prefix=/foo"
948 # and all the variables that are supposed to be based on exec_prefix
949 # by default will actually change.
950 # Use braces instead of parens because sh, perl, etc. also accept them.
951 # (The list follows the same order as the GNU Coding Standards.)
952 bindir
='${exec_prefix}/bin'
953 sbindir
='${exec_prefix}/sbin'
954 libexecdir
='${exec_prefix}/libexec'
955 datarootdir
='${prefix}/share'
956 datadir
='${datarootdir}'
957 sysconfdir
='${prefix}/etc'
958 sharedstatedir
='${prefix}/com'
959 localstatedir
='${prefix}/var'
960 includedir
='${prefix}/include'
961 oldincludedir
='/usr/include'
962 docdir
='${datarootdir}/doc/${PACKAGE}'
963 infodir
='${datarootdir}/info'
968 libdir
='${exec_prefix}/lib'
969 localedir
='${datarootdir}/locale'
970 mandir
='${datarootdir}/man'
976 # If the previous option needs an argument, assign it.
977 if test -n "$ac_prev"; then
978 eval $ac_prev=\
$ac_option
984 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
988 # Accept the important Cygnus configure options, so we can diagnose typos.
990 case $ac_dashdash$ac_option in
994 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
996 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
999 -build |
--build |
--buil |
--bui |
--bu)
1000 ac_prev
=build_alias
;;
1001 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1002 build_alias
=$ac_optarg ;;
1004 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1005 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1006 ac_prev
=cache_file
;;
1007 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1008 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1009 cache_file
=$ac_optarg ;;
1011 --config-cache |
-C)
1012 cache_file
=config.cache
;;
1014 -datadir |
--datadir |
--datadi |
--datad)
1016 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1017 datadir
=$ac_optarg ;;
1019 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1020 |
--dataroo |
--dataro |
--datar)
1021 ac_prev
=datarootdir
;;
1022 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1023 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1024 datarootdir
=$ac_optarg ;;
1026 -disable-* |
--disable-*)
1027 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1030 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1031 { (exit 1); exit 1; }; }
1032 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1033 eval enable_
$ac_feature=no
;;
1035 -docdir |
--docdir |
--docdi |
--doc |
--do)
1037 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1038 docdir
=$ac_optarg ;;
1040 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1042 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1043 dvidir
=$ac_optarg ;;
1045 -enable-* |
--enable-*)
1046 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1049 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1050 { (exit 1); exit 1; }; }
1051 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1052 eval enable_
$ac_feature=\
$ac_optarg ;;
1054 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1055 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1056 |
--exec |
--exe |
--ex)
1057 ac_prev
=exec_prefix
;;
1058 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1059 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1060 |
--exec=* |
--exe=* |
--ex=*)
1061 exec_prefix
=$ac_optarg ;;
1063 -gas |
--gas |
--ga |
--g)
1064 # Obsolete; use --with-gas.
1067 -help |
--help |
--hel |
--he |
-h)
1068 ac_init_help
=long
;;
1069 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1070 ac_init_help
=recursive
;;
1071 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1072 ac_init_help
=short
;;
1074 -host |
--host |
--hos |
--ho)
1075 ac_prev
=host_alias
;;
1076 -host=* |
--host=* |
--hos=* |
--ho=*)
1077 host_alias
=$ac_optarg ;;
1079 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1081 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1083 htmldir
=$ac_optarg ;;
1085 -includedir |
--includedir |
--includedi |
--included |
--include \
1086 |
--includ |
--inclu |
--incl |
--inc)
1087 ac_prev
=includedir
;;
1088 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1089 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1090 includedir
=$ac_optarg ;;
1092 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1094 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1095 infodir
=$ac_optarg ;;
1097 -libdir |
--libdir |
--libdi |
--libd)
1099 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1100 libdir
=$ac_optarg ;;
1102 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1103 |
--libexe |
--libex |
--libe)
1104 ac_prev
=libexecdir
;;
1105 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1106 |
--libexe=* |
--libex=* |
--libe=*)
1107 libexecdir
=$ac_optarg ;;
1109 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1110 ac_prev
=localedir
;;
1111 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1112 localedir
=$ac_optarg ;;
1114 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1115 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1116 ac_prev
=localstatedir
;;
1117 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1118 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1119 localstatedir
=$ac_optarg ;;
1121 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1123 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1124 mandir
=$ac_optarg ;;
1126 -nfp |
--nfp |
--nf)
1127 # Obsolete; use --without-fp.
1130 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1131 |
--no-cr |
--no-c |
-n)
1134 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1135 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1138 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1139 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1140 |
--oldin |
--oldi |
--old |
--ol |
--o)
1141 ac_prev
=oldincludedir
;;
1142 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1143 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1144 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1145 oldincludedir
=$ac_optarg ;;
1147 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1149 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1150 prefix
=$ac_optarg ;;
1152 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1153 |
--program-pre |
--program-pr |
--program-p)
1154 ac_prev
=program_prefix
;;
1155 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1156 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1157 program_prefix
=$ac_optarg ;;
1159 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1160 |
--program-suf |
--program-su |
--program-s)
1161 ac_prev
=program_suffix
;;
1162 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1163 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1164 program_suffix
=$ac_optarg ;;
1166 -program-transform-name |
--program-transform-name \
1167 |
--program-transform-nam |
--program-transform-na \
1168 |
--program-transform-n |
--program-transform- \
1169 |
--program-transform |
--program-transfor \
1170 |
--program-transfo |
--program-transf \
1171 |
--program-trans |
--program-tran \
1172 |
--progr-tra |
--program-tr |
--program-t)
1173 ac_prev
=program_transform_name
;;
1174 -program-transform-name=* |
--program-transform-name=* \
1175 |
--program-transform-nam=* |
--program-transform-na=* \
1176 |
--program-transform-n=* |
--program-transform-=* \
1177 |
--program-transform=* |
--program-transfor=* \
1178 |
--program-transfo=* |
--program-transf=* \
1179 |
--program-trans=* |
--program-tran=* \
1180 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1181 program_transform_name
=$ac_optarg ;;
1183 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1185 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1186 pdfdir
=$ac_optarg ;;
1188 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1190 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1193 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1194 |
-silent |
--silent |
--silen |
--sile |
--sil)
1197 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1199 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1201 sbindir
=$ac_optarg ;;
1203 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1204 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1205 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1207 ac_prev
=sharedstatedir
;;
1208 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1209 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1210 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1212 sharedstatedir
=$ac_optarg ;;
1214 -site |
--site |
--sit)
1216 -site=* |
--site=* |
--sit=*)
1219 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1221 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1222 srcdir
=$ac_optarg ;;
1224 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1225 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1226 ac_prev
=sysconfdir
;;
1227 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1228 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1229 sysconfdir
=$ac_optarg ;;
1231 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1232 ac_prev
=target_alias
;;
1233 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1234 target_alias
=$ac_optarg ;;
1236 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1239 -version |
--version |
--versio |
--versi |
--vers |
-V)
1240 ac_init_version
=: ;;
1243 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1244 # Reject names that are not valid shell variable names.
1245 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1246 { echo "$as_me: error: invalid package name: $ac_package" >&2
1247 { (exit 1); exit 1; }; }
1248 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1249 eval with_
$ac_package=\
$ac_optarg ;;
1251 -without-* |
--without-*)
1252 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1255 { echo "$as_me: error: invalid package name: $ac_package" >&2
1256 { (exit 1); exit 1; }; }
1257 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1258 eval with_
$ac_package=no
;;
1261 # Obsolete; use --with-x.
1264 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1265 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1266 ac_prev
=x_includes
;;
1267 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1268 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1269 x_includes
=$ac_optarg ;;
1271 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1272 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1273 ac_prev
=x_libraries
;;
1274 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1275 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1276 x_libraries
=$ac_optarg ;;
1278 -*) { echo "$as_me: error: unrecognized option: $ac_option
1279 Try \`$0 --help' for more information." >&2
1280 { (exit 1); exit 1; }; }
1284 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1285 # Reject names that are not valid shell variable names.
1286 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1287 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1288 { (exit 1); exit 1; }; }
1289 eval $ac_envvar=\
$ac_optarg
1290 export $ac_envvar ;;
1293 # FIXME: should be removed in autoconf 3.0.
1294 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1295 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1296 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1297 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1303 if test -n "$ac_prev"; then
1304 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1305 { echo "$as_me: error: missing argument to $ac_option" >&2
1306 { (exit 1); exit 1; }; }
1309 # Be sure to have absolute directory names.
1310 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1311 datadir sysconfdir sharedstatedir localstatedir includedir \
1312 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1313 libdir localedir mandir
1315 eval ac_val
=\$
$ac_var
1317 [\\/$
]* | ?
:[\\/]* ) continue;;
1318 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1320 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1321 { (exit 1); exit 1; }; }
1324 # There might be people who depend on the old broken behavior: `$host'
1325 # used to hold the argument of --host etc.
1326 # FIXME: To remove some day.
1329 target
=$target_alias
1331 # FIXME: To remove some day.
1332 if test "x$host_alias" != x
; then
1333 if test "x$build_alias" = x
; then
1334 cross_compiling
=maybe
1335 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1336 If a cross compiler is detected then cross compile mode will be used." >&2
1337 elif test "x$build_alias" != "x$host_alias"; then
1343 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1345 test "$silent" = yes && exec 6>/dev
/null
1348 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1349 ac_ls_di
=`ls -di .` &&
1350 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1351 { echo "$as_me: error: Working directory cannot be determined" >&2
1352 { (exit 1); exit 1; }; }
1353 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1354 { echo "$as_me: error: pwd does not report name of working directory" >&2
1355 { (exit 1); exit 1; }; }
1358 # Find the source files, if location was not specified.
1359 if test -z "$srcdir"; then
1360 ac_srcdir_defaulted
=yes
1361 # Try the directory containing this script, then the parent directory.
1362 ac_confdir
=`$as_dirname -- "$0" ||
1363 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1364 X"$0" : 'X\(//\)[^/]' \| \
1365 X"$0" : 'X\(//\)$' \| \
1366 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1386 if test ! -r "$srcdir/$ac_unique_file"; then
1390 ac_srcdir_defaulted
=no
1392 if test ! -r "$srcdir/$ac_unique_file"; then
1393 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1394 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1395 { (exit 1); exit 1; }; }
1397 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1400 { (exit 1); exit 1; }; }
1402 # When building in place, set srcdir=.
1403 if test "$ac_abs_confdir" = "$ac_pwd"; then
1406 # Remove unnecessary trailing slashes from srcdir.
1407 # Double slashes in file names in object file debugging info
1408 # mess up M-x gdb in Emacs.
1410 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 for ac_var
in $ac_precious_vars; do
1413 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1414 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1415 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1416 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1420 # Report the --help message.
1422 if test "$ac_init_help" = "long"; then
1423 # Omit some internal or obsolete options to make the list less imposing.
1424 # This message is too long to be a string in the A/UX 3.1 sh.
1426 \`configure' configures this package to adapt to many kinds of systems.
1428 Usage: $0 [OPTION]... [VAR=VALUE]...
1430 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1431 VAR=VALUE. See below for descriptions of some of the useful variables.
1433 Defaults for the options are specified in brackets.
1436 -h, --help display this help and exit
1437 --help=short display options specific to this package
1438 --help=recursive display the short help of all the included packages
1439 -V, --version display version information and exit
1440 -q, --quiet, --silent do not print \`checking...' messages
1441 --cache-file=FILE cache test results in FILE [disabled]
1442 -C, --config-cache alias for \`--cache-file=config.cache'
1443 -n, --no-create do not create output files
1444 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1446 Installation directories:
1447 --prefix=PREFIX install architecture-independent files in PREFIX
1448 [$ac_default_prefix]
1449 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1452 By default, \`make install' will install all the files in
1453 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1454 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1455 for instance \`--prefix=\$HOME'.
1457 For better control, use the options below.
1459 Fine tuning of the installation directories:
1460 --bindir=DIR user executables [EPREFIX/bin]
1461 --sbindir=DIR system admin executables [EPREFIX/sbin]
1462 --libexecdir=DIR program executables [EPREFIX/libexec]
1463 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1464 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1465 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1466 --libdir=DIR object code libraries [EPREFIX/lib]
1467 --includedir=DIR C header files [PREFIX/include]
1468 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1469 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1470 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1471 --infodir=DIR info documentation [DATAROOTDIR/info]
1472 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1473 --mandir=DIR man documentation [DATAROOTDIR/man]
1474 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1475 --htmldir=DIR html documentation [DOCDIR]
1476 --dvidir=DIR dvi documentation [DOCDIR]
1477 --pdfdir=DIR pdf documentation [DOCDIR]
1478 --psdir=DIR ps documentation [DOCDIR]
1484 --program-prefix=PREFIX prepend PREFIX to installed program names
1485 --program-suffix=SUFFIX append SUFFIX to installed program names
1486 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1489 --build=BUILD configure
for building on BUILD
[guessed
]
1490 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1491 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1495 if test -n "$ac_init_help"; then
1500 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1501 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1502 --enable-maintainer-mode enable make rules and dependencies not useful
1503 (and sometimes confusing
) to the casual installer
1504 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1505 --enable-static[=PKGS
] build static libraries
[default
=yes]
1506 --enable-fast-install[=PKGS
]
1507 optimize
for fast installation
[default
=yes]
1508 --disable-dependency-tracking speeds up one-time build
1509 --enable-dependency-tracking do not reject slow dependency extractors
1510 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1511 --disable-sdltest Do not try to compile and run a
test SDL program
1514 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1515 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1516 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1517 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1519 --with-tags[=TAGS
] include additional configurations
[automatic
]
1520 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1521 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1523 Some influential environment variables
:
1524 CC C compiler
command
1525 CFLAGS C compiler flags
1526 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1527 nonstandard directory
<lib dir
>
1528 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1529 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1530 you have headers
in a nonstandard directory
<include dir
>
1532 CXX C
++ compiler
command
1533 CXXFLAGS C
++ compiler flags
1534 CXXCPP C
++ preprocessor
1535 F77 Fortran
77 compiler
command
1536 FFLAGS Fortran
77 compiler flags
1537 PKG_CONFIG path to pkg-config utility
1539 C compiler flags
for PANGO
, overriding pkg-config
1540 PANGO_LIBS linker flags
for PANGO
, overriding pkg-config
1542 C compiler flags
for PANGOFT2
, overriding pkg-config
1544 linker flags
for PANGOFT2
, overriding pkg-config
1546 Use these variables to override the choices made by
`configure' or to help
1547 it to find libraries and programs with nonstandard names/locations.
1553 if test "$ac_init_help" = "recursive"; then
1554 # If there are subdirs, report their specific --help.
1555 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1556 test -d "$ac_dir" || continue
1560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1562 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1563 # A ".." for each directory in $ac_dir_suffix.
1564 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1565 case $ac_top_builddir_sub in
1566 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1567 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1570 ac_abs_top_builddir=$ac_pwd
1571 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1572 # for backward compatibility:
1573 ac_top_builddir=$ac_top_build_prefix
1576 .) # We are building in place.
1578 ac_top_srcdir=$ac_top_builddir_sub
1579 ac_abs_top_srcdir=$ac_pwd ;;
1580 [\\/]* | ?:[\\/]* ) # Absolute name.
1581 ac_srcdir=$srcdir$ac_dir_suffix;
1582 ac_top_srcdir=$srcdir
1583 ac_abs_top_srcdir=$srcdir ;;
1585 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1586 ac_top_srcdir=$ac_top_build_prefix$srcdir
1587 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1591 cd "$ac_dir" || { ac_status=$?; continue; }
1592 # Check for guested configure.
1593 if test -f "$ac_srcdir/configure.gnu"; then
1595 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1596 elif test -f "$ac_srcdir/configure"; then
1598 $SHELL "$ac_srcdir/configure" --help=recursive
1600 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1602 cd "$ac_pwd" || { ac_status=$?; break; }
1606 test -n "$ac_init_help" && exit $ac_status
1607 if $ac_init_version; then
1610 generated by GNU Autoconf 2.61
1612 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1613 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1614 This configure script is free software; the Free Software Foundation
1615 gives unlimited permission to copy, distribute and modify it.
1619 cat >config.log <<_ACEOF
1620 This file contains any messages produced by compilers while
1621 running configure, to aid debugging if configure makes a mistake.
1623 It was created by $as_me, which was
1624 generated by GNU Autoconf 2.61. Invocation command line was
1636 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1637 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1638 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1639 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1640 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1642 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1643 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1645 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1646 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1647 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1648 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1649 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1650 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1651 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1659 test -z "$as_dir" && as_dir=.
1660 echo "PATH: $as_dir"
1676 # Keep a trace of the command line.
1677 # Strip out --no-create and --no-recursion so they do not pile up.
1678 # Strip out --silent because we don't want to record it for future runs.
1679 # Also quote any args containing shell meta-characters.
1680 # Make two passes to allow for proper duplicate-argument suppression.
1684 ac_must_keep_next=false
1690 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1691 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1692 | -silent | --silent | --silen | --sile | --sil)
1695 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1698 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1700 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1701 if test $ac_must_keep_next = true; then
1702 ac_must_keep_next=false # Got value, back to normal.
1705 *=* | --config-cache | -C | -disable-* | --disable-* \
1706 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1707 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1708 | -with-* | --with-* | -without-* | --without-* | --x)
1709 case "$ac_configure_args0 " in
1710 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1713 -* ) ac_must_keep_next=true ;;
1716 ac_configure_args="$ac_configure_args '$ac_arg'"
1721 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1722 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1724 # When interrupted or exit'd, cleanup temporary files, and complete
1725 # config.log. We remove comments because anyway the quotes in there
1726 # would cause problems or look ugly.
1727 # WARNING: Use '\'' to represent an apostrophe within the trap.
1728 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1729 trap 'exit_status=$?
1730 # Save into config.log some information that might help in debugging.
1735 ## ---------------- ##
1736 ## Cache variables. ##
1737 ## ---------------- ##
1740 # The following way of writing the cache mishandles newlines in values,
1742 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1743 eval ac_val=\$$ac_var
1747 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1748 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1751 _ | IFS | as_nl) ;; #(
1752 *) $as_unset $ac_var ;;
1757 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1758 *${as_nl}ac_space=\ *)
1760 "s/'\''/'\''\\\\'\'''\''/g;
1761 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1764 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1772 ## ----------------- ##
1773 ## Output variables. ##
1774 ## ----------------- ##
1777 for ac_var in $ac_subst_vars
1779 eval ac_val=\$$ac_var
1781 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1783 echo "$ac_var='\''$ac_val'\''"
1787 if test -n "$ac_subst_files"; then
1789 ## ------------------- ##
1790 ## File substitutions. ##
1791 ## ------------------- ##
1794 for ac_var in $ac_subst_files
1796 eval ac_val=\$$ac_var
1798 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1800 echo "$ac_var='\''$ac_val'\''"
1805 if test -s confdefs.h; then
1815 test "$ac_signal" != 0 &&
1816 echo "$as_me: caught signal $ac_signal"
1817 echo "$as_me: exit $exit_status"
1819 rm -f core *.core core.conftest.* &&
1820 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1823 for ac_signal in 1 2 13 15; do
1824 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1828 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1829 rm -f -r conftest* confdefs.h
1831 # Predefined preprocessor variables.
1833 cat >>confdefs.h <<_ACEOF
1834 #define PACKAGE_NAME "$PACKAGE_NAME"
1838 cat >>confdefs.h <<_ACEOF
1839 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1843 cat >>confdefs.h <<_ACEOF
1844 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1848 cat >>confdefs.h <<_ACEOF
1849 #define PACKAGE_STRING "$PACKAGE_STRING"
1853 cat >>confdefs.h <<_ACEOF
1854 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1858 # Let the site file select an alternate cache file if it wants to.
1859 # Prefer explicitly selected file to automatically selected ones.
1860 if test -n "$CONFIG_SITE"; then
1861 set x "$CONFIG_SITE"
1862 elif test "x$prefix" != xNONE; then
1863 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1865 set x "$ac_default_prefix/share/config.site" \
1866 "$ac_default_prefix/etc/config.site"
1871 if test -r "$ac_site_file"; then
1872 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1873 echo "$as_me: loading site script $ac_site_file" >&6;}
1874 sed 's/^/| /' "$ac_site_file" >&5
1879 if test -r "$cache_file"; then
1880 # Some versions of bash will fail to source /dev/null (special
1881 # files actually), so we avoid doing that.
1882 if test -f "$cache_file"; then
1883 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1884 echo "$as_me: loading cache $cache_file" >&6;}
1886 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1887 *) . "./$cache_file";;
1891 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1892 echo "$as_me: creating cache $cache_file" >&6;}
1896 # Check that the precious variables saved in the cache have kept the same
1898 ac_cache_corrupted=false
1899 for ac_var in $ac_precious_vars; do
1900 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1901 eval ac_new_set=\$ac_env_${ac_var}_set
1902 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1903 eval ac_new_val=\$ac_env_${ac_var}_value
1904 case $ac_old_set,$ac_new_set in
1906 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1907 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1908 ac_cache_corrupted=: ;;
1910 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1911 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1912 ac_cache_corrupted=: ;;
1915 if test "x$ac_old_val" != "x$ac_new_val"; then
1916 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1917 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1918 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1919 echo "$as_me: former value
: $ac_old_val" >&2;}
1920 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1921 echo "$as_me: current value
: $ac_new_val" >&2;}
1922 ac_cache_corrupted=:
1925 # Pass precious variables to config.status.
1926 if test "$ac_new_set" = set; then
1928 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1929 *) ac_arg=$ac_var=$ac_new_val ;;
1931 case " $ac_configure_args " in
1932 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1933 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1937 if $ac_cache_corrupted; then
1938 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1939 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1940 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1941 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1942 { (exit 1); exit 1; }; }
1962 ac_cpp='$CPP $CPPFLAGS'
1963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1968 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1969 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
1970 # Check whether --enable-maintainer-mode was given.
1971 if test "${enable_maintainer_mode+set}" = set; then
1972 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1974 USE_MAINTAINER_MODE=no
1977 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1978 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1979 if test $USE_MAINTAINER_MODE = yes; then
1980 MAINTAINER_MODE_TRUE=
1981 MAINTAINER_MODE_FALSE='#'
1983 MAINTAINER_MODE_TRUE='#'
1984 MAINTAINER_MODE_FALSE=
1987 MAINT=$MAINTAINER_MODE_TRUE
1991 # Set various version strings - taken gratefully from the GTk sources
1994 # MICRO_VERSION += 1;
1995 # INTERFACE_AGE += 1;
1997 # if any functions have been added, set INTERFACE_AGE to 0.
1998 # if backwards compatibility has been broken,
1999 # set BINARY_AGE and INTERFACE_AGE to 0.
2006 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION
2015 # libtool versioning
2017 LT_RELEASE=$MAJOR_VERSION.$MINOR_VERSION
2018 LT_CURRENT=`expr $MICRO_VERSION - $INTERFACE_AGE`
2019 LT_REVISION=$INTERFACE_AGE
2020 LT_AGE=`expr $BINARY_AGE - $INTERFACE_AGE`
2027 # Detect the canonical host and target build environment
2030 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2031 if test -f "$ac_dir/install-sh"; then
2033 ac_install_sh="$ac_aux_dir/install-sh -c"
2035 elif test -f "$ac_dir/install.sh"; then
2037 ac_install_sh="$ac_aux_dir/install.sh -c"
2039 elif test -f "$ac_dir/shtool"; then
2041 ac_install_sh="$ac_aux_dir/shtool install -c"
2045 if test -z "$ac_aux_dir"; then
2046 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2047 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2048 { (exit 1); exit 1; }; }
2051 # These three variables are undocumented and unsupported,
2052 # and are intended to be withdrawn in a future Autoconf release.
2053 # They can cause serious problems if a builder's source tree is in a directory
2054 # whose full name contains unusual characters.
2055 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2056 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2057 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2060 # Make sure we can run config.sub.
2061 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2062 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2063 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2064 { (exit 1); exit 1; }; }
2066 { echo "$as_me:$LINENO: checking build system type" >&5
2067 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2068 if test "${ac_cv_build+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 ac_build_alias=$build_alias
2072 test "x$ac_build_alias" = x &&
2073 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2074 test "x$ac_build_alias" = x &&
2075 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2076 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2077 { (exit 1); exit 1; }; }
2078 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2079 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2080 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2081 { (exit 1); exit 1; }; }
2084 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2085 echo "${ECHO_T}$ac_cv_build" >&6; }
2086 case $ac_cv_build in
2088 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2089 echo "$as_me: error: invalid value of canonical build" >&2;}
2090 { (exit 1); exit 1; }; };;
2093 ac_save_IFS=$IFS; IFS='-'
2099 # Remember, the first character of IFS is used to create $*,
2100 # except with old shells:
2103 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2106 { echo "$as_me:$LINENO: checking host system type" >&5
2107 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2108 if test "${ac_cv_host+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 if test "x$host_alias" = x; then
2112 ac_cv_host=$ac_cv_build
2114 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2115 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2116 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2117 { (exit 1); exit 1; }; }
2121 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2122 echo "${ECHO_T}$ac_cv_host" >&6; }
2125 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2126 echo "$as_me: error: invalid value of canonical host" >&2;}
2127 { (exit 1); exit 1; }; };;
2130 ac_save_IFS=$IFS; IFS='-'
2136 # Remember, the first character of IFS is used to create $*,
2137 # except with old shells:
2140 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2143 { echo "$as_me:$LINENO: checking target system type" >&5
2144 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2145 if test "${ac_cv_target+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 if test "x$target_alias" = x; then
2149 ac_cv_target=$ac_cv_host
2151 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2152 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2153 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2154 { (exit 1); exit 1; }; }
2158 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2159 echo "${ECHO_T}$ac_cv_target" >&6; }
2160 case $ac_cv_target in
2162 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2163 echo "$as_me: error: invalid value of canonical target" >&2;}
2164 { (exit 1); exit 1; }; };;
2166 target=$ac_cv_target
2167 ac_save_IFS=$IFS; IFS='-'
2173 # Remember, the first character of IFS is used to create $*,
2174 # except with old shells:
2177 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2180 # The aliases save the names the user supplied, while $host etc.
2181 # will get canonicalized.
2182 test -n "$target_alias" &&
2183 test "$program_prefix$program_suffix$program_transform_name" = \
2185 program_prefix=${target_alias}-
2187 # Setup for automake
2189 am__api_version='1.10'
2191 # Find a good install program. We prefer a C program (faster),
2192 # so one script is as good as another. But avoid the broken or
2193 # incompatible versions:
2194 # SysV /etc/install, /usr/sbin/install
2195 # SunOS /usr/etc/install
2196 # IRIX /sbin/install
2198 # AmigaOS /C/install, which installs bootblocks on floppy discs
2199 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2200 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2201 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2202 # OS/2's system install, which has a completely different semantic
2203 # ./install, which can be erroneously created by make from ./install.sh.
2204 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2205 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2206 if test -z "$INSTALL"; then
2207 if test "${ac_cv_path_install+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 test -z "$as_dir" && as_dir=.
2215 # Account for people who put trailing slashes in PATH elements.
2217 ./ | .// | /cC/* | \
2218 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2219 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2222 # OSF1 and SCO ODT 3.0 have their own names for install.
2223 # Don't use installbsd from OSF since it installs stuff as root
2225 for ac_prog in ginstall scoinst install; do
2226 for ac_exec_ext in '' $ac_executable_extensions; do
2227 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2228 if test $ac_prog = install &&
2229 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2230 # AIX install. It has an incompatible calling convention.
2232 elif test $ac_prog = install &&
2233 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2234 # program-specific install script used by HP pwplus--don't use.
2237 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2250 if test "${ac_cv_path_install+set}" = set; then
2251 INSTALL=$ac_cv_path_install
2253 # As a last resort, use the slow shell script. Don't cache a
2254 # value for INSTALL within a source directory, because that will
2255 # break other packages using the cache if that directory is
2256 # removed, or if the value is a relative name.
2257 INSTALL=$ac_install_sh
2260 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2261 echo "${ECHO_T}$INSTALL" >&6; }
2263 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2264 # It thinks the first close brace ends the variable substitution.
2265 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2267 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2269 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2271 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2272 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2275 echo timestamp > conftest.file
2276 # Do `set' in a subshell so we don't clobber the current shell
's
2277 # arguments. Must try -L first in case configure is actually a
2278 # symlink; some systems play weird games with the mod time of symlinks
2279 # (eg FreeBSD returns the mod time of the symlink's containing
2282 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2283 if test "$*" = "X"; then
2285 set X
`ls -t $srcdir/configure conftest.file`
2288 if test "$*" != "X $srcdir/configure conftest.file" \
2289 && test "$*" != "X conftest.file $srcdir/configure"; then
2291 # If neither matched, then we have a broken ls. This can happen
2292 # if, for instance, CONFIG_SHELL is bash and it inherits a
2293 # broken ls alias from the environment. This has actually
2294 # happened. Such a system could not be considered "sane".
2295 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2296 alias in your environment" >&5
2297 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2298 alias in your environment" >&2;}
2299 { (exit 1); exit 1; }; }
2302 test "$2" = conftest.
file
2308 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2309 Check your system clock" >&5
2310 echo "$as_me: error: newly created file is older than distributed files!
2311 Check your system clock" >&2;}
2312 { (exit 1); exit 1; }; }
2314 { echo "$as_me:$LINENO: result: yes" >&5
2315 echo "${ECHO_T}yes" >&6; }
2316 test "$program_prefix" != NONE
&&
2317 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2318 # Use a double $ so make ignores it.
2319 test "$program_suffix" != NONE
&&
2320 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2321 # Double any \ or $. echo might interpret backslashes.
2322 # By default was `s,x,x', remove it if useless.
2323 cat <<\_ACEOF
>conftest.
sed
2324 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2326 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2329 # expand $ac_aux_dir to an absolute path
2330 am_aux_dir
=`cd $ac_aux_dir && pwd`
2332 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2333 # Use eval to expand $SHELL
2334 if eval "$MISSING --run true"; then
2335 am_missing_run
="$MISSING --run "
2338 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2339 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2342 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2343 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2344 if test -z "$MKDIR_P"; then
2345 if test "${ac_cv_path_mkdir+set}" = set; then
2346 echo $ECHO_N "(cached) $ECHO_C" >&6
2348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2349 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2352 test -z "$as_dir" && as_dir
=.
2353 for ac_prog
in mkdir gmkdir
; do
2354 for ac_exec_ext
in '' $ac_executable_extensions; do
2355 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2356 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2357 'mkdir (GNU coreutils) '* | \
2358 'mkdir (coreutils) '* | \
2359 'mkdir (fileutils) '4.1*)
2360 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2370 if test "${ac_cv_path_mkdir+set}" = set; then
2371 MKDIR_P
="$ac_cv_path_mkdir -p"
2373 # As a last resort, use the slow shell script. Don't cache a
2374 # value for MKDIR_P within a source directory, because that will
2375 # break other packages using the cache if that directory is
2376 # removed, or if the value is a relative name.
2377 test -d .
/--version && rmdir .
/--version
2378 MKDIR_P
="$ac_install_sh -d"
2381 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2382 echo "${ECHO_T}$MKDIR_P" >&6; }
2386 [\\/$
]* | ?
:[\\/]*) ;;
2387 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2390 for ac_prog
in gawk mawk nawk
awk
2392 # Extract the first word of "$ac_prog", so it can be a program name with args.
2393 set dummy
$ac_prog; ac_word
=$2
2394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2396 if test "${ac_cv_prog_AWK+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 if test -n "$AWK"; then
2400 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir
=.
2407 for ac_exec_ext
in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409 ac_cv_prog_AWK
="$ac_prog"
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 if test -n "$AWK"; then
2421 { echo "$as_me:$LINENO: result: $AWK" >&5
2422 echo "${ECHO_T}$AWK" >&6; }
2424 { echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6; }
2429 test -n "$AWK" && break
2432 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2433 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2434 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2435 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 cat >conftest.
make <<\_ACEOF
2441 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2443 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2444 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2446 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2448 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2452 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2453 { echo "$as_me:$LINENO: result: yes" >&5
2454 echo "${ECHO_T}yes" >&6; }
2457 { echo "$as_me:$LINENO: result: no" >&5
2458 echo "${ECHO_T}no" >&6; }
2459 SET_MAKE
="MAKE=${MAKE-make}"
2462 rm -rf .tst
2>/dev
/null
2463 mkdir .tst
2>/dev
/null
2464 if test -d .tst
; then
2469 rmdir .tst
2>/dev
/null
2471 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2472 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2473 # is not polluted with repeated "-I."
2474 am__isrc
=' -I$(srcdir)'
2475 # test to see if srcdir already configured
2476 if test -f $srcdir/config.status
; then
2477 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2478 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2479 { (exit 1); exit 1; }; }
2483 # test whether we have cygpath
2484 if test -z "$CYGPATH_W"; then
2485 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2486 CYGPATH_W
='cygpath -w'
2493 # Define the identity of the package.
2498 cat >>confdefs.h
<<_ACEOF
2499 #define PACKAGE "$PACKAGE"
2503 cat >>confdefs.h
<<_ACEOF
2504 #define VERSION "$VERSION"
2507 # Some tools Automake needs.
2509 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2512 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2515 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2518 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2521 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2523 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2525 # Installed binaries are usually stripped using `strip' when the user
2526 # run `make install-strip'. However `strip' might not be the right
2527 # tool to use in cross-compilation environments, therefore Automake
2528 # will honor the `STRIP' environment variable to overrule this program.
2529 if test "$cross_compiling" != no
; then
2530 if test -n "$ac_tool_prefix"; then
2531 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2532 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2535 if test "${ac_cv_prog_STRIP+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 if test -n "$STRIP"; then
2539 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir
=.
2546 for ac_exec_ext
in '' $ac_executable_extensions; do
2547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2548 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 STRIP
=$ac_cv_prog_STRIP
2559 if test -n "$STRIP"; then
2560 { echo "$as_me:$LINENO: result: $STRIP" >&5
2561 echo "${ECHO_T}$STRIP" >&6; }
2563 { echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6; }
2569 if test -z "$ac_cv_prog_STRIP"; then
2571 # Extract the first word of "strip", so it can be a program name with args.
2572 set dummy strip
; ac_word
=$2
2573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2575 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 if test -n "$ac_ct_STRIP"; then
2579 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir
=.
2586 for ac_exec_ext
in '' $ac_executable_extensions; do
2587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2588 ac_cv_prog_ac_ct_STRIP
="strip"
2589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2599 if test -n "$ac_ct_STRIP"; then
2600 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2601 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2603 { echo "$as_me:$LINENO: result: no" >&5
2604 echo "${ECHO_T}no" >&6; }
2607 if test "x$ac_ct_STRIP" = x
; then
2610 case $cross_compiling:$ac_tool_warned in
2612 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2613 whose name does not start with the host triplet. If you think this
2614 configuration is useful to you, please write to autoconf@gnu.org." >&5
2615 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2616 whose name does not start with the host triplet. If you think this
2617 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2618 ac_tool_warned
=yes ;;
2623 STRIP
="$ac_cv_prog_STRIP"
2627 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2629 # We need awk for the "check" target. The system "awk" is bad on
2631 # Always define AMTAR for backward compatibility.
2633 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2635 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2646 # Check whether --enable-shared was given.
2647 if test "${enable_shared+set}" = set; then
2648 enableval
=$enable_shared; p
=${PACKAGE-default}
2650 yes) enable_shared
=yes ;;
2651 no
) enable_shared
=no
;;
2654 # Look at the argument we got. We use all the common list separators.
2655 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2656 for pkg
in $enableval; do
2658 if test "X$pkg" = "X$p"; then
2670 # Check whether --enable-static was given.
2671 if test "${enable_static+set}" = set; then
2672 enableval
=$enable_static; p
=${PACKAGE-default}
2674 yes) enable_static
=yes ;;
2675 no
) enable_static
=no
;;
2678 # Look at the argument we got. We use all the common list separators.
2679 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2680 for pkg
in $enableval; do
2682 if test "X$pkg" = "X$p"; then
2694 # Check whether --enable-fast-install was given.
2695 if test "${enable_fast_install+set}" = set; then
2696 enableval
=$enable_fast_install; p
=${PACKAGE-default}
2698 yes) enable_fast_install
=yes ;;
2699 no
) enable_fast_install
=no
;;
2701 enable_fast_install
=no
2702 # Look at the argument we got. We use all the common list separators.
2703 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2704 for pkg
in $enableval; do
2706 if test "X$pkg" = "X$p"; then
2707 enable_fast_install
=yes
2714 enable_fast_install
=yes
2718 DEPDIR
="${am__leading_dot}deps"
2720 ac_config_commands
="$ac_config_commands depfiles"
2723 am_make
=${MAKE-make}
2724 cat > confinc
<< 'END'
2729 # If we don't find an include directive, just comment out the code.
2730 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2731 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2735 # First try GNU make style include.
2736 echo "include confinc" > confmf
2737 # We grep out `Entering directory' and `Leaving directory'
2738 # messages which can occur if `w' ends up in MAKEFLAGS.
2739 # In particular we don't look at `^make:' because GNU make might
2740 # be invoked under some other name (usually "gmake"), in which
2741 # case it prints its new name instead of `make'.
2742 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2747 # Now try BSD make style include.
2748 if test "$am__include" = "#"; then
2749 echo '.include "confinc"' > confmf
2750 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2751 am__include
=.include
2758 { echo "$as_me:$LINENO: result: $_am_result" >&5
2759 echo "${ECHO_T}$_am_result" >&6; }
2760 rm -f confinc confmf
2762 # Check whether --enable-dependency-tracking was given.
2763 if test "${enable_dependency_tracking+set}" = set; then
2764 enableval
=$enable_dependency_tracking;
2767 if test "x$enable_dependency_tracking" != xno
; then
2768 am_depcomp
="$ac_aux_dir/depcomp"
2771 if test "x$enable_dependency_tracking" != xno; then
2781 ac_cpp
='$CPP $CPPFLAGS'
2782 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2783 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2784 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2785 if test -n "$ac_tool_prefix"; then
2786 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2787 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2790 if test "${ac_cv_prog_CC+set}" = set; then
2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 if test -n "$CC"; then
2794 ac_cv_prog_CC
="$CC" # Let the user override the test.
2796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir
=.
2801 for ac_exec_ext
in '' $ac_executable_extensions; do
2802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2803 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2814 if test -n "$CC"; then
2815 { echo "$as_me:$LINENO: result: $CC" >&5
2816 echo "${ECHO_T}$CC" >&6; }
2818 { echo "$as_me:$LINENO: result: no" >&5
2819 echo "${ECHO_T}no" >&6; }
2824 if test -z "$ac_cv_prog_CC"; then
2826 # Extract the first word of "gcc", so it can be a program name with args.
2827 set dummy gcc
; 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_ac_ct_CC+set}" = set; then
2831 echo $ECHO_N "(cached) $ECHO_C" >&6
2833 if test -n "$ac_ct_CC"; then
2834 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="gcc"
2844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2853 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2854 if test -n "$ac_ct_CC"; then
2855 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2856 echo "${ECHO_T}$ac_ct_CC" >&6; }
2858 { echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6; }
2862 if test "x$ac_ct_CC" = x
; then
2865 case $cross_compiling:$ac_tool_warned in
2867 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2868 whose name does not start with the host triplet. If you think this
2869 configuration is useful to you, please write to autoconf@gnu.org." >&5
2870 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2871 whose name does not start with the host triplet. If you think this
2872 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2873 ac_tool_warned
=yes ;;
2881 if test -z "$CC"; then
2882 if test -n "$ac_tool_prefix"; then
2883 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2884 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2887 if test "${ac_cv_prog_CC+set}" = set; then
2888 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 if test -n "$CC"; then
2891 ac_cv_prog_CC
="$CC" # Let the user override the test.
2893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir
=.
2898 for ac_exec_ext
in '' $ac_executable_extensions; do
2899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2900 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2911 if test -n "$CC"; then
2912 { echo "$as_me:$LINENO: result: $CC" >&5
2913 echo "${ECHO_T}$CC" >&6; }
2915 { echo "$as_me:$LINENO: result: no" >&5
2916 echo "${ECHO_T}no" >&6; }
2922 if test -z "$CC"; then
2923 # Extract the first word of "cc", so it can be a program name with args.
2924 set dummy cc
; ac_word
=$2
2925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2927 if test "${ac_cv_prog_CC+set}" = set; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6
2930 if test -n "$CC"; then
2931 ac_cv_prog_CC
="$CC" # Let the user override the test.
2934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2938 test -z "$as_dir" && as_dir
=.
2939 for ac_exec_ext
in '' $ac_executable_extensions; do
2940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2941 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2942 ac_prog_rejected
=yes
2946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2953 if test $ac_prog_rejected = yes; then
2954 # We found a bogon in the path, so make sure we never use it.
2955 set dummy
$ac_cv_prog_CC
2957 if test $# != 0; then
2958 # We chose a different compiler from the bogus one.
2959 # However, it has the same basename, so the bogon will be chosen
2960 # first if we set CC to just the basename; use the full file name.
2962 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2968 if test -n "$CC"; then
2969 { echo "$as_me:$LINENO: result: $CC" >&5
2970 echo "${ECHO_T}$CC" >&6; }
2972 { echo "$as_me:$LINENO: result: no" >&5
2973 echo "${ECHO_T}no" >&6; }
2978 if test -z "$CC"; then
2979 if test -n "$ac_tool_prefix"; then
2980 for ac_prog
in cl.exe
2982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2983 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2986 if test "${ac_cv_prog_CC+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 if test -n "$CC"; then
2990 ac_cv_prog_CC
="$CC" # Let the user override the test.
2992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir
=.
2997 for ac_exec_ext
in '' $ac_executable_extensions; do
2998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2999 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 if test -n "$CC"; then
3011 { echo "$as_me:$LINENO: result: $CC" >&5
3012 echo "${ECHO_T}$CC" >&6; }
3014 { echo "$as_me:$LINENO: result: no" >&5
3015 echo "${ECHO_T}no" >&6; }
3019 test -n "$CC" && break
3022 if test -z "$CC"; then
3024 for ac_prog
in cl.exe
3026 # Extract the first word of "$ac_prog", so it can be a program name with args.
3027 set dummy
$ac_prog; ac_word
=$2
3028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3031 echo $ECHO_N "(cached) $ECHO_C" >&6
3033 if test -n "$ac_ct_CC"; then
3034 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3040 test -z "$as_dir" && as_dir
=.
3041 for ac_exec_ext
in '' $ac_executable_extensions; do
3042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3043 ac_cv_prog_ac_ct_CC
="$ac_prog"
3044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3054 if test -n "$ac_ct_CC"; then
3055 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3056 echo "${ECHO_T}$ac_ct_CC" >&6; }
3058 { echo "$as_me:$LINENO: result: no" >&5
3059 echo "${ECHO_T}no" >&6; }
3063 test -n "$ac_ct_CC" && break
3066 if test "x$ac_ct_CC" = x
; then
3069 case $cross_compiling:$ac_tool_warned in
3071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3072 whose name does not start with the host triplet. If you think this
3073 configuration is useful to you, please write to autoconf@gnu.org." >&5
3074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3075 whose name does not start with the host triplet. If you think this
3076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3077 ac_tool_warned
=yes ;;
3086 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3087 See \`config.log' for more details." >&5
3088 echo "$as_me: error: no acceptable C compiler found in \$PATH
3089 See \`config.log' for more details." >&2;}
3090 { (exit 1); exit 1; }; }
3092 # Provide some information about the compiler.
3093 echo "$as_me:$LINENO: checking for C compiler version" >&5
3094 ac_compiler
=`set X $ac_compile; echo $2`
3095 { (ac_try
="$ac_compiler --version >&5"
3097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_compiler --version >&5") 2>&5
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }
3105 { (ac_try="$ac_compiler -v >&5"
3107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3108 *) ac_try_echo
=$ac_try;;
3110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3111 (eval "$ac_compiler -v >&5") 2>&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); }
3115 { (ac_try
="$ac_compiler -V >&5"
3117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3121 (eval "$ac_compiler -V >&5") 2>&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); }
3126 cat >conftest.$ac_ext <<_ACEOF
3129 cat confdefs.h >>conftest.$ac_ext
3130 cat >>conftest.$ac_ext <<_ACEOF
3131 /* end confdefs.h. */
3141 ac_clean_files_save=$ac_clean_files
3142 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3143 # Try to create an executable without -o first, disregard a.out.
3144 # It will help us diagnose broken compilers, and finding out an intuition
3146 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3147 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3148 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3150 # List of possible output files, starting from the most likely.
3151 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
3152 # only as a last resort. b.out is created by i960 compilers.
3153 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
3155 # The IRIX 6 linker writes into existing files which may not be
3156 # executable, retaining their permissions. Remove them first so a
3157 # subsequent execution test works.
3159 for ac_file in $ac_files
3162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3163 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3168 if { (ac_try="$ac_link_default"
3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171 *) ac_try_echo=$ac_try;;
3173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3174 (eval "$ac_link_default") 2>&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; then
3178 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3179 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3180 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3181 # so that the user can short-circuit this test for compilers unknown to
3183 for ac_file
in $ac_files ''
3185 test -f "$ac_file" ||
continue
3187 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3190 # We found the default executable, but exeext='' is most
3194 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3196 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3198 # We set ac_cv_exeext here because the later test for it is not
3199 # safe: cross compilers may not add the suffix if given an `-o'
3200 # argument, so we may need to know it at that point already.
3201 # Even if this section looks crufty: it has the advantage of
3208 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3214 { echo "$as_me:$LINENO: result: $ac_file" >&5
3215 echo "${ECHO_T}$ac_file" >&6; }
3216 if test -z "$ac_file"; then
3217 echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.
$ac_ext >&5
3220 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3221 See \`config.log' for more details." >&5
3222 echo "$as_me: error: C compiler cannot create executables
3223 See \`config.log' for more details." >&2;}
3224 { (exit 77); exit 77; }; }
3227 ac_exeext
=$ac_cv_exeext
3229 # Check that the compiler produces executables we can run. If not, either
3230 # the compiler is broken, or we cross compile.
3231 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3232 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3233 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3234 # If not cross compiling, check that we can run a simple program.
3235 if test "$cross_compiling" != yes; then
3236 if { ac_try
='./$ac_file'
3237 { (case "(($ac_try" in
3238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3239 *) ac_try_echo=$ac_try;;
3241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3242 (eval "$ac_try") 2>&5
3244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 (exit $ac_status); }; }; then
3248 if test "$cross_compiling" = maybe; then
3251 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3252 If you meant to cross compile, use \`--host'.
3253 See \`config.log' for more details.
" >&5
3254 echo "$as_me: error
: cannot run C compiled programs.
3255 If you meant to cross compile
, use \
`--host'.
3256 See \`config.log
' for more details." >&2;}
3257 { (exit 1); exit 1; }; }
3261 { echo "$as_me:$LINENO: result: yes" >&5
3262 echo "${ECHO_T}yes" >&6; }
3264 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3265 ac_clean_files=$ac_clean_files_save
3266 # Check that the compiler produces executables we can run. If not, either
3267 # the compiler is broken, or we cross compile.
3268 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3269 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3270 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3271 echo "${ECHO_T}$cross_compiling" >&6; }
3273 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3274 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3275 if { (ac_try="$ac_link"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3281 (eval "$ac_link") 2>&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); }; then
3285 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3286 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3287 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3289 for ac_file
in conftest.exe conftest conftest.
*; do
3290 test -f "$ac_file" ||
continue
3292 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3293 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3299 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3300 See \`config.log' for more details." >&5
3301 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3302 See \`config.log' for more details." >&2;}
3303 { (exit 1); exit 1; }; }
3306 rm -f conftest
$ac_cv_exeext
3307 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3308 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3310 rm -f conftest.
$ac_ext
3311 EXEEXT
=$ac_cv_exeext
3313 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3314 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3315 if test "${ac_cv_objext+set}" = set; then
3316 echo $ECHO_N "(cached) $ECHO_C" >&6
3318 cat >conftest.
$ac_ext <<_ACEOF
3321 cat confdefs.h
>>conftest.
$ac_ext
3322 cat >>conftest.
$ac_ext <<_ACEOF
3323 /* end confdefs.h. */
3333 rm -f conftest.o conftest.obj
3334 if { (ac_try
="$ac_compile"
3336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3337 *) ac_try_echo=$ac_try;;
3339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3340 (eval "$ac_compile") 2>&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }; then
3344 for ac_file in conftest.o conftest.obj conftest.*; do
3345 test -f "$ac_file" || continue;
3347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3348 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3353 echo "$as_me: failed program was:" >&5
3354 sed 's/^/| /' conftest.$ac_ext >&5
3356 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3357 See \`config.log
' for more details." >&5
3358 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3359 See \`config.log' for more details.
" >&2;}
3360 { (exit 1); exit 1; }; }
3363 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3365 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3366 echo "${ECHO_T}$ac_cv_objext" >&6; }
3367 OBJEXT=$ac_cv_objext
3369 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3370 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3371 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3372 echo $ECHO_N "(cached
) $ECHO_C" >&6
3374 cat >conftest.$ac_ext <<_ACEOF
3377 cat confdefs.h >>conftest.$ac_ext
3378 cat >>conftest.$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3392 rm -f conftest.$ac_objext
3393 if { (ac_try="$ac_compile"
3395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3398 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3399 (eval "$ac_compile") 2>conftest.er1
3401 grep -v '^ *+' conftest.er1 >conftest.err
3403 cat conftest.err >&5
3404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3405 (exit $ac_status); } && {
3406 test -z "$ac_c_werror_flag" ||
3407 test ! -s conftest.err
3408 } && test -s conftest.$ac_objext; then
3411 echo "$as_me: failed program was
:" >&5
3412 sed 's/^/| /' conftest.$ac_ext >&5
3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3418 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3421 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3422 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3423 GCC=`test $ac_compiler_gnu = yes && echo yes`
3424 ac_test_CFLAGS=${CFLAGS+set}
3425 ac_save_CFLAGS=$CFLAGS
3426 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3427 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3428 if test "${ac_cv_prog_cc_g+set}" = set; then
3429 echo $ECHO_N "(cached
) $ECHO_C" >&6
3431 ac_save_c_werror_flag=$ac_c_werror_flag
3432 ac_c_werror_flag=yes
3435 cat >conftest.$ac_ext <<_ACEOF
3438 cat confdefs.h >>conftest.$ac_ext
3439 cat >>conftest.$ac_ext <<_ACEOF
3440 /* end confdefs.h. */
3450 rm -f conftest.$ac_objext
3451 if { (ac_try="$ac_compile"
3453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454 *) ac_try_echo=$ac_try;;
3456 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3457 (eval "$ac_compile") 2>conftest.er1
3459 grep -v '^ *+' conftest.er1 >conftest.err
3461 cat conftest.err >&5
3462 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3463 (exit $ac_status); } && {
3464 test -z "$ac_c_werror_flag" ||
3465 test ! -s conftest.err
3466 } && test -s conftest.$ac_objext; then
3469 echo "$as_me: failed program was
:" >&5
3470 sed 's/^/| /' conftest.$ac_ext >&5
3473 cat >conftest.$ac_ext <<_ACEOF
3476 cat confdefs.h >>conftest.$ac_ext
3477 cat >>conftest.$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3488 rm -f conftest.$ac_objext
3489 if { (ac_try="$ac_compile"
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3494 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_compile") 2>conftest.er1
3497 grep -v '^ *+' conftest.er1 >conftest.err
3499 cat conftest.err >&5
3500 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3501 (exit $ac_status); } && {
3502 test -z "$ac_c_werror_flag" ||
3503 test ! -s conftest.err
3504 } && test -s conftest.$ac_objext; then
3507 echo "$as_me: failed program was
:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 ac_c_werror_flag=$ac_save_c_werror_flag
3512 cat >conftest.$ac_ext <<_ACEOF
3515 cat confdefs.h >>conftest.$ac_ext
3516 cat >>conftest.$ac_ext <<_ACEOF
3517 /* end confdefs.h. */
3527 rm -f conftest.$ac_objext
3528 if { (ac_try="$ac_compile"
3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3534 (eval "$ac_compile") 2>conftest.er1
3536 grep -v '^ *+' conftest.er1 >conftest.err
3538 cat conftest.err >&5
3539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3540 (exit $ac_status); } && {
3541 test -z "$ac_c_werror_flag" ||
3542 test ! -s conftest.err
3543 } && test -s conftest.$ac_objext; then
3546 echo "$as_me: failed program was
:" >&5
3547 sed 's/^/| /' conftest.$ac_ext >&5
3552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 ac_c_werror_flag=$ac_save_c_werror_flag
3561 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3562 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3563 if test "$ac_test_CFLAGS" = set; then
3564 CFLAGS=$ac_save_CFLAGS
3565 elif test $ac_cv_prog_cc_g = yes; then
3566 if test "$GCC" = yes; then
3572 if test "$GCC" = yes; then
3578 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3579 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3580 if test "${ac_cv_prog_cc_c89+set}" = set; then
3581 echo $ECHO_N "(cached
) $ECHO_C" >&6
3583 ac_cv_prog_cc_c89=no
3585 cat >conftest.$ac_ext <<_ACEOF
3588 cat confdefs.h >>conftest.$ac_ext
3589 cat >>conftest.$ac_ext <<_ACEOF
3590 /* end confdefs.h. */
3593 #include <sys/types.h>
3594 #include <sys/stat.h>
3595 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3596 struct buf { int x; };
3597 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3598 static char *e (p, i)
3604 static char *f (char * (*g) (char **, int), char **p, ...)
3609 s = g (p, va_arg (v,int));
3614 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3615 function prototypes and stuff, but not '\xHH' hex character constants.
3616 These don't provoke an error unfortunately, instead are silently treated
3617 as 'x'. The following induces an error, until -std is added to get
3618 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3619 array size at least. It's necessary to write '\x00'==0 to get something
3620 that's true only with -std. */
3621 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3623 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3624 inside strings and character constants. */
3626 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3628 int test (int i, double x);
3629 struct s1 {int (*f) (int a);};
3630 struct s2 {int (*f) (double a);};
3631 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3637 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3642 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3643 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3645 CC="$ac_save_CC $ac_arg"
3646 rm -f conftest.$ac_objext
3647 if { (ac_try="$ac_compile"
3649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650 *) ac_try_echo=$ac_try;;
3652 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3653 (eval "$ac_compile") 2>conftest.er1
3655 grep -v '^ *+' conftest.er1 >conftest.err
3657 cat conftest.err >&5
3658 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3659 (exit $ac_status); } && {
3660 test -z "$ac_c_werror_flag" ||
3661 test ! -s conftest.err
3662 } && test -s conftest.$ac_objext; then
3663 ac_cv_prog_cc_c89=$ac_arg
3665 echo "$as_me: failed program was
:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3671 rm -f core conftest.err conftest.$ac_objext
3672 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3674 rm -f conftest.$ac_ext
3679 case "x
$ac_cv_prog_cc_c89" in
3681 { echo "$as_me:$LINENO: result
: none needed
" >&5
3682 echo "${ECHO_T}none needed
" >&6; } ;;
3684 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3685 echo "${ECHO_T}unsupported
" >&6; } ;;
3687 CC="$CC $ac_cv_prog_cc_c89"
3688 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3689 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3699 depcc="$CC" am_compiler_list=
3701 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3702 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3703 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3704 echo $ECHO_N "(cached
) $ECHO_C" >&6
3706 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3707 # We make a subdir and do the tests there. Otherwise we can end up
3708 # making bogus files that we don't know about and never remove. For
3709 # instance it was reported that on HP-UX the gcc test will end up
3710 # making a dummy file named `D' -- because `-MD' means `put the output
3713 # Copy depcomp to subdir because otherwise we won't find it if we're
3714 # using a relative directory.
3715 cp "$am_depcomp" conftest.dir
3717 # We will build objects and dependencies in a subdirectory because
3718 # it helps to detect inapplicable dependency modes. For instance
3719 # both Tru64's cc and ICC support -MD to output dependencies as a
3720 # side effect of compilation, but ICC will put the dependencies in
3721 # the current directory while Tru64 will put them in the object
3725 am_cv_CC_dependencies_compiler_type=none
3726 if test "$am_compiler_list" = ""; then
3727 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3729 for depmode in $am_compiler_list; do
3730 # Setup a source with many dependencies, because some compilers
3731 # like to wrap large dependency lists on column 80 (with \), and
3732 # we should not choose a depcomp mode which is confused by this.
3734 # We need to recreate these files for each test, as the compiler may
3735 # overwrite some of them when testing with obscure command lines.
3736 # This happens at least with the AIX C compiler.
3738 for i in 1 2 3 4 5 6; do
3739 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3740 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3741 # Solaris 8's {/usr,}/bin/sh.
3742 touch sub/conftst$i.h
3744 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3748 # after this tag, mechanisms are not by side-effect, so they'll
3749 # only be used when explicitly requested
3750 if test "x
$enable_dependency_tracking" = xyes; then
3758 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3759 # mode. It turns out that the SunPro C++ compiler does not properly
3760 # handle `-M -o', and we need to detect this.
3761 if depmode=$depmode \
3762 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3763 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3764 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3765 >/dev/null 2>conftest.err &&
3766 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3767 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3768 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3769 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3770 # icc doesn't choke on unknown options, it will just issue warnings
3771 # or remarks (even with -Werror). So we grep stderr for any message
3772 # that says an option was ignored or not supported.
3773 # When given -MP, icc 7.0 and 7.1 complain thusly:
3774 # icc: Command line warning: ignoring option '-M'; no argument required
3775 # The diagnosis changed in icc 8.0:
3776 # icc: Command line remark: option '-MP' not supported
3777 if (grep 'ignoring option' conftest.err ||
3778 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3779 am_cv_CC_dependencies_compiler_type=$depmode
3788 am_cv_CC_dependencies_compiler_type=none
3792 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3793 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3794 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3797 test "x
$enable_dependency_tracking" != xno \
3798 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3800 am__fastdepCC_FALSE='#'
3802 am__fastdepCC_TRUE='#'
3803 am__fastdepCC_FALSE=
3807 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
3808 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
3809 if test "${lt_cv_path_SED+set}" = set; then
3810 echo $ECHO_N "(cached
) $ECHO_C" >&6
3812 # Loop through the user's path and test for sed and gsed.
3813 # Then use that list of sed's as ones to test for truncation.
3814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3818 test -z "$as_dir" && as_dir=.
3819 for lt_ac_prog in sed gsed; do
3820 for ac_exec_ext in '' $ac_executable_extensions; do
3821 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3822 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3830 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3831 # along with /bin/sed that truncates output.
3832 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3833 test ! -f $lt_ac_sed && continue
3834 cat /dev/null > conftest.in
3836 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3837 # Check for GNU sed and select it if it is found.
3838 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3839 lt_cv_path_SED=$lt_ac_sed
3843 cat conftest.in conftest.in >conftest.tmp
3844 mv conftest.tmp conftest.in
3845 cp conftest.in conftest.nl
3847 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3848 cmp -s conftest.out conftest.nl || break
3849 # 10000 chars as input seems more than enough
3850 test $lt_ac_count -gt 10 && break
3851 lt_ac_count=`expr $lt_ac_count + 1`
3852 if test $lt_ac_count -gt $lt_ac_max; then
3853 lt_ac_max=$lt_ac_count
3854 lt_cv_path_SED=$lt_ac_sed
3863 { echo "$as_me:$LINENO: result
: $SED" >&5
3864 echo "${ECHO_T}$SED" >&6; }
3866 { echo "$as_me:$LINENO: checking
for grep that handles long lines and
-e" >&5
3867 echo $ECHO_N "checking
for grep that handles long lines and
-e...
$ECHO_C" >&6; }
3868 if test "${ac_cv_path_GREP+set}" = set; then
3869 echo $ECHO_N "(cached
) $ECHO_C" >&6
3871 # Extract the first word of "grep ggrep
" to use in msg output
3872 if test -z "$GREP"; then
3873 set dummy grep ggrep; ac_prog_name=$2
3874 if test "${ac_cv_path_GREP+set}" = set; then
3875 echo $ECHO_N "(cached
) $ECHO_C" >&6
3877 ac_path_GREP_found=false
3878 # Loop through the user's path and test for each of PROGNAME-LIST
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3883 test -z "$as_dir" && as_dir=.
3884 for ac_prog in grep ggrep; do
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3887 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3888 # Check for GNU ac_path_GREP and select it if it is found.
3889 # Check for GNU $ac_path_GREP
3890 case `"$ac_path_GREP" --version 2>&1` in
3892 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3895 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
3898 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3899 mv "conftest.tmp
" "conftest.
in"
3900 cp "conftest.
in" "conftest.
nl"
3901 echo 'GREP' >> "conftest.
nl"
3902 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3903 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3904 ac_count=`expr $ac_count + 1`
3905 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3906 # Best one so far, save it but keep looking for a better one
3907 ac_cv_path_GREP="$ac_path_GREP"
3908 ac_path_GREP_max=$ac_count
3910 # 10*(2^10) chars as input seems more than enough
3911 test $ac_count -gt 10 && break
3913 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3917 $ac_path_GREP_found && break 3
3927 GREP="$ac_cv_path_GREP"
3928 if test -z "$GREP"; then
3929 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
3930 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
3931 { (exit 1); exit 1; }; }
3935 ac_cv_path_GREP=$GREP
3940 { echo "$as_me:$LINENO: result
: $ac_cv_path_GREP" >&5
3941 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3942 GREP="$ac_cv_path_GREP"
3945 { echo "$as_me:$LINENO: checking
for egrep" >&5
3946 echo $ECHO_N "checking
for egrep...
$ECHO_C" >&6; }
3947 if test "${ac_cv_path_EGREP+set}" = set; then
3948 echo $ECHO_N "(cached
) $ECHO_C" >&6
3950 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3951 then ac_cv_path_EGREP="$GREP -E"
3953 # Extract the first word of "egrep" to use in msg output
3954 if test -z "$EGREP"; then
3955 set dummy egrep; ac_prog_name=$2
3956 if test "${ac_cv_path_EGREP+set}" = set; then
3957 echo $ECHO_N "(cached
) $ECHO_C" >&6
3959 ac_path_EGREP_found=false
3960 # Loop through the user's path and test for each of PROGNAME-LIST
3961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3965 test -z "$as_dir" && as_dir=.
3966 for ac_prog in egrep; do
3967 for ac_exec_ext in '' $ac_executable_extensions; do
3968 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3969 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3970 # Check for GNU ac_path_EGREP and select it if it is found.
3971 # Check for GNU $ac_path_EGREP
3972 case `"$ac_path_EGREP" --version 2>&1` in
3974 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3977 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
3980 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3981 mv "conftest.tmp
" "conftest.
in"
3982 cp "conftest.
in" "conftest.
nl"
3983 echo 'EGREP' >> "conftest.
nl"
3984 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3985 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3986 ac_count=`expr $ac_count + 1`
3987 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3988 # Best one so far, save it but keep looking for a better one
3989 ac_cv_path_EGREP="$ac_path_EGREP"
3990 ac_path_EGREP_max=$ac_count
3992 # 10*(2^10) chars as input seems more than enough
3993 test $ac_count -gt 10 && break
3995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3999 $ac_path_EGREP_found && break 3
4009 EGREP="$ac_cv_path_EGREP"
4010 if test -z "$EGREP"; then
4011 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
4012 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
4013 { (exit 1); exit 1; }; }
4017 ac_cv_path_EGREP=$EGREP
4023 { echo "$as_me:$LINENO: result
: $ac_cv_path_EGREP" >&5
4024 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4025 EGREP="$ac_cv_path_EGREP"
4029 # Check whether --with-gnu-ld was given.
4030 if test "${with_gnu_ld+set}" = set; then
4031 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4037 if test "$GCC" = yes; then
4038 # Check if gcc -print-prog-name=ld gives a path.
4039 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
4040 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
4043 # gcc leaves a trailing carriage return which upsets mingw
4044 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4046 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4049 # Accept absolute paths.
4051 re_direlt='/[^/][^/]*/\.\./'
4052 # Canonicalize the pathname of ld
4053 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4054 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4055 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
4057 test -z "$LD" && LD="$ac_prog"
4060 # If it fails, then pretend we aren't using GCC.
4064 # If it is relative, then search for the first ld in PATH.
4068 elif test "$with_gnu_ld" = yes; then
4069 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
4070 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
4072 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
4073 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
4075 if test "${lt_cv_path_LD+set}" = set; then
4076 echo $ECHO_N "(cached
) $ECHO_C" >&6
4078 if test -z "$LD"; then
4079 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4080 for ac_dir in $PATH; do
4082 test -z "$ac_dir" && ac_dir=.
4083 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4084 lt_cv_path_LD="$ac_dir/$ac_prog"
4085 # Check to see if the program is GNU ld. I'd rather use --version,
4086 # but apparently some variants of GNU ld only accept -v.
4087 # Break only if it was the GNU/non-GNU ld that we prefer.
4088 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4089 *GNU* | *'with BFD'*)
4090 test "$with_gnu_ld" != no && break
4093 test "$with_gnu_ld" != yes && break
4100 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4105 if test -n "$LD"; then
4106 { echo "$as_me:$LINENO: result
: $LD" >&5
4107 echo "${ECHO_T}$LD" >&6; }
4109 { echo "$as_me:$LINENO: result
: no
" >&5
4110 echo "${ECHO_T}no
" >&6; }
4112 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
4113 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
4114 { (exit 1); exit 1; }; }
4115 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
4116 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
4117 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4118 echo $ECHO_N "(cached
) $ECHO_C" >&6
4120 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4121 case `$LD -v 2>&1 </dev/null` in
4122 *GNU* | *'with BFD'*)
4123 lt_cv_prog_gnu_ld=yes
4126 lt_cv_prog_gnu_ld=no
4130 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
4131 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4132 with_gnu_ld=$lt_cv_prog_gnu_ld
4135 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4136 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
4137 if test "${lt_cv_ld_reload_flag+set}" = set; then
4138 echo $ECHO_N "(cached
) $ECHO_C" >&6
4140 lt_cv_ld_reload_flag='-r'
4142 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4143 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4144 reload_flag=$lt_cv_ld_reload_flag
4145 case $reload_flag in
4147 *) reload_flag=" $reload_flag" ;;
4149 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4152 if test "$GCC" = yes; then
4153 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4155 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4160 { echo "$as_me:$LINENO: checking
for BSD-compatible nm
" >&5
4161 echo $ECHO_N "checking
for BSD-compatible nm...
$ECHO_C" >&6; }
4162 if test "${lt_cv_path_NM+set}" = set; then
4163 echo $ECHO_N "(cached
) $ECHO_C" >&6
4165 if test -n "$NM"; then
4166 # Let the user override the test.
4169 lt_nm_to_check="${ac_tool_prefix}nm
"
4170 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4171 lt_nm_to_check="$lt_nm_to_check nm
"
4173 for lt_tmp_nm in $lt_nm_to_check; do
4174 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4175 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4177 test -z "$ac_dir" && ac_dir=.
4178 tmp_nm="$ac_dir/$lt_tmp_nm"
4179 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4180 # Check to see if the nm accepts a BSD-compat flag.
4181 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4182 # nm: unknown option "B
" ignored
4183 # Tru64's nm complains that /dev/null is an invalid object file
4184 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4185 */dev/null* | *'Invalid file or object type'*)
4186 lt_cv_path_NM="$tmp_nm -B"
4190 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4192 lt_cv_path_NM="$tmp_nm -p"
4196 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4197 continue # so that we can try to find one that supports BSD flags
4206 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4209 { echo "$as_me:$LINENO: result
: $lt_cv_path_NM" >&5
4210 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4213 { echo "$as_me:$LINENO: checking whether
ln -s works
" >&5
4214 echo $ECHO_N "checking whether
ln -s works...
$ECHO_C" >&6; }
4216 if test "$LN_S" = "ln -s"; then
4217 { echo "$as_me:$LINENO: result
: yes" >&5
4218 echo "${ECHO_T}yes" >&6; }
4220 { echo "$as_me:$LINENO: result
: no
, using
$LN_S" >&5
4221 echo "${ECHO_T}no
, using
$LN_S" >&6; }
4224 { echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4225 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6; }
4226 if test "${lt_cv_deplibs_check_method+set}" = set; then
4227 echo $ECHO_N "(cached
) $ECHO_C" >&6
4229 lt_cv_file_magic_cmd='$MAGIC_CMD'
4230 lt_cv_file_magic_test_file=
4231 lt_cv_deplibs_check_method='unknown'
4232 # Need to set the preceding variable on all platforms that support
4233 # interlibrary dependencies.
4234 # 'none' -- dependencies not supported.
4235 # `unknown' -- same as none, but documents that we really don't know.
4236 # 'pass_all' -- all dependencies passed with no checks.
4237 # 'test_compile' -- check by making test program.
4238 # 'file_magic [[regex]]' -- check by looking for files in library path
4239 # which responds to the $file_magic_cmd with a given extended regex.
4240 # If you have `file' or equivalent on your system and you're not sure
4241 # whether `pass_all' will *always* work, you probably want this one.
4245 lt_cv_deplibs_check_method=pass_all
4249 lt_cv_deplibs_check_method=pass_all
4253 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4254 lt_cv_file_magic_cmd='/usr/bin/file -L'
4255 lt_cv_file_magic_test_file=/shlib/libc.so
4259 # func_win32_libid is a shell function defined in ltmain.sh
4260 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4261 lt_cv_file_magic_cmd='func_win32_libid'
4265 # Base MSYS/MinGW do not provide the 'file' command needed by
4266 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4267 # unless we find 'file', for example because we are cross-compiling.
4268 if ( file / ) >/dev/null 2>&1; then
4269 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4270 lt_cv_file_magic_cmd='func_win32_libid'
4272 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4273 lt_cv_file_magic_cmd='$OBJDUMP -f'
4277 darwin* | rhapsody*)
4278 lt_cv_deplibs_check_method=pass_all
4281 freebsd* | dragonfly*)
4282 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4285 # Not sure whether the presence of OpenBSD here was a mistake.
4286 # Let's accept both of them until this is cleared up.
4287 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4288 lt_cv_file_magic_cmd=/usr/bin/file
4289 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4293 lt_cv_deplibs_check_method=pass_all
4298 lt_cv_deplibs_check_method=pass_all
4301 hpux10.20* | hpux11*)
4302 lt_cv_file_magic_cmd=/usr/bin/file
4305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4306 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4309 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]'
4310 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4313 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4314 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4320 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4321 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4324 irix5* | irix6* | nonstopux*)
4326 *-32|*"-32 ") libmagic=32-bit;;
4327 *-n32|*"-n32 ") libmagic=N32;;
4328 *-64|*"-64 ") libmagic=64-bit;;
4329 *) libmagic=never-match;;
4331 lt_cv_deplibs_check_method=pass_all
4334 # This must be Linux ELF.
4335 linux* | k*bsd*-gnu)
4336 lt_cv_deplibs_check_method=pass_all
4339 netbsd* | netbsdelf*-gnu)
4340 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4341 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4343 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4348 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4349 lt_cv_file_magic_cmd=/usr/bin/file
4350 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4354 lt_cv_deplibs_check_method=unknown
4358 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4359 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4365 osf3* | osf4* | osf5*)
4366 lt_cv_deplibs_check_method=pass_all
4370 lt_cv_deplibs_check_method=pass_all
4374 lt_cv_deplibs_check_method=pass_all
4378 case $host_vendor in
4380 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]'
4381 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4384 lt_cv_deplibs_check_method=pass_all
4387 lt_cv_file_magic_cmd='/bin/file'
4388 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4391 lt_cv_file_magic_cmd='/bin/file'
4392 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4393 lt_cv_file_magic_test_file=/lib/libc.so
4396 lt_cv_deplibs_check_method=pass_all
4399 lt_cv_deplibs_check_method=pass_all
4404 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4405 lt_cv_deplibs_check_method=pass_all
4410 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4411 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4412 file_magic_cmd=$lt_cv_file_magic_cmd
4413 deplibs_check_method=$lt_cv_deplibs_check_method
4414 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4419 # If no C compiler was specified, use CC.
4422 # If no C compiler flags were specified, use CFLAGS.
4423 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4425 # Allow CC to be a program name with arguments.
4429 # Check whether --enable-libtool-lock was given.
4430 if test "${enable_libtool_lock+set}" = set; then
4431 enableval=$enable_libtool_lock;
4434 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4436 # Some flags need to be propagated to the compiler or linker for good
4440 # Find out which ABI we are using.
4441 echo 'int i;' > conftest.$ac_ext
4442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4443 (eval $ac_compile) 2>&5
4445 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4446 (exit $ac_status); }; then
4447 case `/usr/bin/file conftest.$ac_objext` in
4459 # Find out which ABI we are using.
4460 echo '#line 4460 "configure
"' > conftest.$ac_ext
4461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4462 (eval $ac_compile) 2>&5
4464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4465 (exit $ac_status); }; then
4466 if test "$lt_cv_prog_gnu_ld" = yes; then
4467 case `/usr/bin/file conftest.$ac_objext` in
4469 LD="${LD-ld} -melf32bsmip"
4472 LD="${LD-ld} -melf32bmipn32"
4475 LD="${LD-ld} -melf64bmip"
4479 case `/usr/bin/file conftest.$ac_objext` in
4495 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4496 s390*-*linux*|sparc*-*linux*)
4497 # Find out which ABI we are using.
4498 echo 'int i;' > conftest.$ac_ext
4499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4500 (eval $ac_compile) 2>&5
4502 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4503 (exit $ac_status); }; then
4504 case `/usr/bin/file conftest.o` in
4507 x86_64-*kfreebsd*-gnu)
4508 LD="${LD-ld} -m elf_i386_fbsd
"
4511 LD="${LD-ld} -m elf_i386
"
4513 ppc64-*linux*|powerpc64-*linux*)
4514 LD="${LD-ld} -m elf32ppclinux
"
4517 LD="${LD-ld} -m elf_s390
"
4520 LD="${LD-ld} -m elf32_sparc
"
4526 x86_64-*kfreebsd*-gnu)
4527 LD="${LD-ld} -m elf_x86_64_fbsd
"
4530 LD="${LD-ld} -m elf_x86_64
"
4532 ppc*-*linux*|powerpc*-*linux*)
4533 LD="${LD-ld} -m elf64ppc
"
4536 LD="${LD-ld} -m elf64_s390
"
4539 LD="${LD-ld} -m elf64_sparc
"
4549 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4550 SAVE_CFLAGS="$CFLAGS"
4551 CFLAGS="$CFLAGS -belf"
4552 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
4553 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
4554 if test "${lt_cv_cc_needs_belf+set}" = set; then
4555 echo $ECHO_N "(cached
) $ECHO_C" >&6
4558 ac_cpp='$CPP $CPPFLAGS'
4559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4563 cat >conftest.$ac_ext <<_ACEOF
4566 cat confdefs.h >>conftest.$ac_ext
4567 cat >>conftest.$ac_ext <<_ACEOF
4568 /* end confdefs.h. */
4578 rm -f conftest.$ac_objext conftest$ac_exeext
4579 if { (ac_try="$ac_link"
4581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4582 *) ac_try_echo=$ac_try;;
4584 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4585 (eval "$ac_link") 2>conftest.er1
4587 grep -v '^ *+' conftest.er1 >conftest.err
4589 cat conftest.err >&5
4590 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4591 (exit $ac_status); } && {
4592 test -z "$ac_c_werror_flag" ||
4593 test ! -s conftest.err
4594 } && test -s conftest$ac_exeext &&
4595 $as_test_x conftest$ac_exeext; then
4596 lt_cv_cc_needs_belf=yes
4598 echo "$as_me: failed program was
:" >&5
4599 sed 's/^/| /' conftest.$ac_ext >&5
4601 lt_cv_cc_needs_belf=no
4604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4605 conftest$ac_exeext conftest.$ac_ext
4607 ac_cpp='$CPP $CPPFLAGS'
4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
4614 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4615 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4616 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4617 CFLAGS="$SAVE_CFLAGS"
4621 # Find out which ABI we are using.
4622 echo 'int i;' > conftest.$ac_ext
4623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4624 (eval $ac_compile) 2>&5
4626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4627 (exit $ac_status); }; then
4628 case `/usr/bin/file conftest.o` in
4630 case $lt_cv_prog_gnu_ld in
4631 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
4633 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4644 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
4645 if test -n "$ac_tool_prefix"; then
4646 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
4647 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4648 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4649 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4650 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4651 echo $ECHO_N "(cached
) $ECHO_C" >&6
4653 if test -n "$DLLTOOL"; then
4654 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir=.
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4663 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
4664 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4673 DLLTOOL=$ac_cv_prog_DLLTOOL
4674 if test -n "$DLLTOOL"; then
4675 { echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
4676 echo "${ECHO_T}$DLLTOOL" >&6; }
4678 { echo "$as_me:$LINENO: result
: no
" >&5
4679 echo "${ECHO_T}no
" >&6; }
4684 if test -z "$ac_cv_prog_DLLTOOL"; then
4685 ac_ct_DLLTOOL=$DLLTOOL
4686 # Extract the first word of "dlltool
", so it can be a program name with args.
4687 set dummy dlltool; ac_word=$2
4688 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4689 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4690 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4691 echo $ECHO_N "(cached
) $ECHO_C" >&6
4693 if test -n "$ac_ct_DLLTOOL"; then
4694 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir=.
4701 for ac_exec_ext in '' $ac_executable_extensions; do
4702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4703 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
4704 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4713 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4714 if test -n "$ac_ct_DLLTOOL"; then
4715 { echo "$as_me:$LINENO: result
: $ac_ct_DLLTOOL" >&5
4716 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4718 { echo "$as_me:$LINENO: result
: no
" >&5
4719 echo "${ECHO_T}no
" >&6; }
4722 if test "x
$ac_ct_DLLTOOL" = x; then
4725 case $cross_compiling:$ac_tool_warned in
4727 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4728 whose name does not start with the
host triplet. If you think this
4729 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4730 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4731 whose name does not start with the
host triplet. If you think this
4732 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4733 ac_tool_warned=yes ;;
4735 DLLTOOL=$ac_ct_DLLTOOL
4738 DLLTOOL="$ac_cv_prog_DLLTOOL"
4741 if test -n "$ac_tool_prefix"; then
4742 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
4743 set dummy ${ac_tool_prefix}as; ac_word=$2
4744 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4745 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4746 if test "${ac_cv_prog_AS+set}" = set; then
4747 echo $ECHO_N "(cached
) $ECHO_C" >&6
4749 if test -n "$AS"; then
4750 ac_cv_prog_AS="$AS" # Let the user override the test.
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 test -z "$as_dir" && as_dir=.
4757 for ac_exec_ext in '' $ac_executable_extensions; do
4758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4759 ac_cv_prog_AS="${ac_tool_prefix}as
"
4760 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4770 if test -n "$AS"; then
4771 { echo "$as_me:$LINENO: result
: $AS" >&5
4772 echo "${ECHO_T}$AS" >&6; }
4774 { echo "$as_me:$LINENO: result
: no
" >&5
4775 echo "${ECHO_T}no
" >&6; }
4780 if test -z "$ac_cv_prog_AS"; then
4782 # Extract the first word of "as
", so it can be a program name with args.
4783 set dummy as; ac_word=$2
4784 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4785 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4786 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4787 echo $ECHO_N "(cached
) $ECHO_C" >&6
4789 if test -n "$ac_ct_AS"; then
4790 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir=.
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4799 ac_cv_prog_ac_ct_AS="as
"
4800 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4809 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4810 if test -n "$ac_ct_AS"; then
4811 { echo "$as_me:$LINENO: result
: $ac_ct_AS" >&5
4812 echo "${ECHO_T}$ac_ct_AS" >&6; }
4814 { echo "$as_me:$LINENO: result
: no
" >&5
4815 echo "${ECHO_T}no
" >&6; }
4818 if test "x
$ac_ct_AS" = x; then
4821 case $cross_compiling:$ac_tool_warned in
4823 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4824 whose name does not start with the
host triplet. If you think this
4825 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4826 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4827 whose name does not start with the
host triplet. If you think this
4828 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4829 ac_tool_warned=yes ;;
4837 if test -n "$ac_tool_prefix"; then
4838 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4839 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4840 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4841 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4842 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4843 echo $ECHO_N "(cached
) $ECHO_C" >&6
4845 if test -n "$OBJDUMP"; then
4846 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852 test -z "$as_dir" && as_dir=.
4853 for ac_exec_ext in '' $ac_executable_extensions; do
4854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4855 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4856 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4865 OBJDUMP=$ac_cv_prog_OBJDUMP
4866 if test -n "$OBJDUMP"; then
4867 { echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4868 echo "${ECHO_T}$OBJDUMP" >&6; }
4870 { echo "$as_me:$LINENO: result
: no
" >&5
4871 echo "${ECHO_T}no
" >&6; }
4876 if test -z "$ac_cv_prog_OBJDUMP"; then
4877 ac_ct_OBJDUMP=$OBJDUMP
4878 # Extract the first word of "objdump
", so it can be a program name with args.
4879 set dummy objdump; ac_word=$2
4880 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4881 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4882 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4883 echo $ECHO_N "(cached
) $ECHO_C" >&6
4885 if test -n "$ac_ct_OBJDUMP"; then
4886 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 test -z "$as_dir" && as_dir=.
4893 for ac_exec_ext in '' $ac_executable_extensions; do
4894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4895 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4896 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4905 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4906 if test -n "$ac_ct_OBJDUMP"; then
4907 { echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4908 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4910 { echo "$as_me:$LINENO: result
: no
" >&5
4911 echo "${ECHO_T}no
" >&6; }
4914 if test "x
$ac_ct_OBJDUMP" = x; then
4917 case $cross_compiling:$ac_tool_warned in
4919 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4920 whose name does not start with the
host triplet. If you think this
4921 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4922 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4923 whose name does not start with the
host triplet. If you think this
4924 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4925 ac_tool_warned=yes ;;
4927 OBJDUMP=$ac_ct_OBJDUMP
4930 OBJDUMP="$ac_cv_prog_OBJDUMP"
4937 need_locks="$enable_libtool_lock"
4941 ac_cpp='$CPP $CPPFLAGS'
4942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4945 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
4946 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
4947 # On Suns, sometimes $CPP names a directory.
4948 if test -n "$CPP" && test -d "$CPP"; then
4951 if test -z "$CPP"; then
4952 if test "${ac_cv_prog_CPP+set}" = set; then
4953 echo $ECHO_N "(cached
) $ECHO_C" >&6
4955 # Double quotes because CPP needs to be expanded
4956 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
4959 for ac_c_preproc_warn_flag in '' yes
4961 # Use a header file that comes with gcc, so configuring glibc
4962 # with a fresh cross-compiler works.
4963 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4964 # <limits.h> exists even on freestanding compilers.
4965 # On the NeXT, cc -E runs the code through the compiler's parser,
4966 # not just through cpp. "Syntax error
" is here to catch this case.
4967 cat >conftest.$ac_ext <<_ACEOF
4970 cat confdefs.h >>conftest.$ac_ext
4971 cat >>conftest.$ac_ext <<_ACEOF
4972 /* end confdefs.h. */
4974 # include <limits.h>
4976 # include <assert.h>
4980 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4983 *) ac_try_echo=$ac_try;;
4985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4986 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4988 grep -v '^ *+' conftest.er1 >conftest.err
4990 cat conftest.err >&5
4991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4992 (exit $ac_status); } >/dev/null && {
4993 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4994 test ! -s conftest.err
4998 echo "$as_me: failed program was
:" >&5
4999 sed 's/^/| /' conftest.$ac_ext >&5
5001 # Broken: fails on valid input.
5005 rm -f conftest.err conftest.$ac_ext
5007 # OK, works on sane cases. Now check whether nonexistent headers
5008 # can be detected and how.
5009 cat >conftest.$ac_ext <<_ACEOF
5012 cat confdefs.h >>conftest.$ac_ext
5013 cat >>conftest.$ac_ext <<_ACEOF
5014 /* end confdefs.h. */
5015 #include <ac_nonexistent.h>
5017 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5020 *) ac_try_echo=$ac_try;;
5022 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5023 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5025 grep -v '^ *+' conftest.er1 >conftest.err
5027 cat conftest.err >&5
5028 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5029 (exit $ac_status); } >/dev/null && {
5030 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5031 test ! -s conftest.err
5033 # Broken: success on invalid input.
5036 echo "$as_me: failed program was
:" >&5
5037 sed 's/^/| /' conftest.$ac_ext >&5
5039 # Passes both tests.
5044 rm -f conftest.err conftest.$ac_ext
5047 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5048 rm -f conftest.err conftest.$ac_ext
5049 if $ac_preproc_ok; then
5061 { echo "$as_me:$LINENO: result
: $CPP" >&5
5062 echo "${ECHO_T}$CPP" >&6; }
5064 for ac_c_preproc_warn_flag in '' yes
5066 # Use a header file that comes with gcc, so configuring glibc
5067 # with a fresh cross-compiler works.
5068 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5069 # <limits.h> exists even on freestanding compilers.
5070 # On the NeXT, cc -E runs the code through the compiler's parser,
5071 # not just through cpp. "Syntax error
" is here to catch this case.
5072 cat >conftest.$ac_ext <<_ACEOF
5075 cat confdefs.h >>conftest.$ac_ext
5076 cat >>conftest.$ac_ext <<_ACEOF
5077 /* end confdefs.h. */
5079 # include <limits.h>
5081 # include <assert.h>
5085 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5088 *) ac_try_echo=$ac_try;;
5090 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5091 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5093 grep -v '^ *+' conftest.er1 >conftest.err
5095 cat conftest.err >&5
5096 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5097 (exit $ac_status); } >/dev/null && {
5098 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5099 test ! -s conftest.err
5103 echo "$as_me: failed program was
:" >&5
5104 sed 's/^/| /' conftest.$ac_ext >&5
5106 # Broken: fails on valid input.
5110 rm -f conftest.err conftest.$ac_ext
5112 # OK, works on sane cases. Now check whether nonexistent headers
5113 # can be detected and how.
5114 cat >conftest.$ac_ext <<_ACEOF
5117 cat confdefs.h >>conftest.$ac_ext
5118 cat >>conftest.$ac_ext <<_ACEOF
5119 /* end confdefs.h. */
5120 #include <ac_nonexistent.h>
5122 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5125 *) ac_try_echo=$ac_try;;
5127 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5128 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5130 grep -v '^ *+' conftest.er1 >conftest.err
5132 cat conftest.err >&5
5133 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5134 (exit $ac_status); } >/dev/null && {
5135 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5136 test ! -s conftest.err
5138 # Broken: success on invalid input.
5141 echo "$as_me: failed program was
:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5144 # Passes both tests.
5149 rm -f conftest.err conftest.$ac_ext
5152 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5153 rm -f conftest.err conftest.$ac_ext
5154 if $ac_preproc_ok; then
5157 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5158 See \
`config.log' for more details." >&5
5159 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5160 See \`config.log
' for more details." >&2;}
5161 { (exit 1); exit 1; }; }
5165 ac_cpp='$CPP $CPPFLAGS'
5166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5167 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5171 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5172 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5173 if test "${ac_cv_header_stdc+set}" = set; then
5174 echo $ECHO_N "(cached) $ECHO_C" >&6
5176 cat >conftest.$ac_ext <<_ACEOF
5179 cat confdefs.h >>conftest.$ac_ext
5180 cat >>conftest.$ac_ext <<_ACEOF
5181 /* end confdefs.h. */
5195 rm -f conftest.$ac_objext
5196 if { (ac_try="$ac_compile"
5198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5199 *) ac_try_echo=$ac_try;;
5201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5202 (eval "$ac_compile") 2>conftest.er1
5204 grep -v '^
*+' conftest.er1 >conftest.err
5206 cat conftest.err >&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } && {
5209 test -z "$ac_c_werror_flag" ||
5210 test ! -s conftest.err
5211 } && test -s conftest.$ac_objext; then
5212 ac_cv_header_stdc=yes
5214 echo "$as_me: failed program was:" >&5
5215 sed 's
/^
/|
/' conftest.$ac_ext >&5
5217 ac_cv_header_stdc=no
5220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5222 if test $ac_cv_header_stdc = yes; then
5223 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5224 cat >conftest.$ac_ext <<_ACEOF
5227 cat confdefs.h >>conftest.$ac_ext
5228 cat >>conftest.$ac_ext <<_ACEOF
5229 /* end confdefs.h. */
5233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5234 $EGREP "memchr" >/dev/null 2>&1; then
5237 ac_cv_header_stdc=no
5243 if test $ac_cv_header_stdc = yes; then
5244 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5245 cat >conftest.$ac_ext <<_ACEOF
5248 cat confdefs.h >>conftest.$ac_ext
5249 cat >>conftest.$ac_ext <<_ACEOF
5250 /* end confdefs.h. */
5254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5255 $EGREP "free" >/dev/null 2>&1; then
5258 ac_cv_header_stdc=no
5264 if test $ac_cv_header_stdc = yes; then
5265 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5266 if test "$cross_compiling" = yes; then
5269 cat >conftest.$ac_ext <<_ACEOF
5272 cat confdefs.h >>conftest.$ac_ext
5273 cat >>conftest.$ac_ext <<_ACEOF
5274 /* end confdefs.h. */
5277 #if ((' ' & 0x0FF) == 0x020)
5278 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
5279 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
5281 # define ISLOWER(c) \
5282 (('a
' <= (c) && (c) <= 'i
') \
5283 || ('j
' <= (c) && (c) <= 'r
') \
5284 || ('s
' <= (c) && (c) <= 'z
'))
5285 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5288 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5293 for (i = 0; i < 256; i++)
5294 if (XOR (islower (i), ISLOWER (i))
5295 || toupper (i) != TOUPPER (i))
5300 rm -f conftest$ac_exeext
5301 if { (ac_try="$ac_link"
5303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5304 *) ac_try_echo=$ac_try;;
5306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5307 (eval "$ac_link") 2>&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
5311 { (case "(($ac_try" in
5312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5313 *) ac_try_echo=$ac_try;;
5315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5316 (eval "$ac_try") 2>&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); }; }; then
5322 echo "$as_me: program exited with status $ac_status" >&5
5323 echo "$as_me: failed program was:" >&5
5324 sed 's
/^
/|
/' conftest.$ac_ext >&5
5327 ac_cv_header_stdc=no
5329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5335 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5336 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5337 if test $ac_cv_header_stdc = yes; then
5339 cat >>confdefs.h <<\_ACEOF
5340 #define STDC_HEADERS 1
5345 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5355 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5356 inttypes.h stdint.h unistd.h
5358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5359 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 cat >conftest.$ac_ext <<_ACEOF
5367 cat confdefs.h >>conftest.$ac_ext
5368 cat >>conftest.$ac_ext <<_ACEOF
5369 /* end confdefs.h. */
5370 $ac_includes_default
5372 #include <$ac_header>
5374 rm -f conftest.$ac_objext
5375 if { (ac_try="$ac_compile"
5377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5378 *) ac_try_echo=$ac_try;;
5380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5381 (eval "$ac_compile") 2>conftest.er1
5383 grep -v '^
*+' conftest.er1 >conftest.err
5385 cat conftest.err >&5
5386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387 (exit $ac_status); } && {
5388 test -z "$ac_c_werror_flag" ||
5389 test ! -s conftest.err
5390 } && test -s conftest.$ac_objext; then
5391 eval "$as_ac_Header=yes"
5393 echo "$as_me: failed program was:" >&5
5394 sed 's
/^
/|
/' conftest.$ac_ext >&5
5396 eval "$as_ac_Header=no"
5399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5401 ac_res=`eval echo '${'$as_ac_Header'}'`
5402 { echo "$as_me:$LINENO: result: $ac_res" >&5
5403 echo "${ECHO_T}$ac_res" >&6; }
5404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5405 cat >>confdefs.h <<_ACEOF
5406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5415 for ac_header in dlfcn.h
5417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5419 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5422 echo $ECHO_N "(cached) $ECHO_C" >&6
5424 ac_res=`eval echo '${'$as_ac_Header'}'`
5425 { echo "$as_me:$LINENO: result: $ac_res" >&5
5426 echo "${ECHO_T}$ac_res" >&6; }
5428 # Is the header compilable?
5429 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5430 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5431 cat >conftest.$ac_ext <<_ACEOF
5434 cat confdefs.h >>conftest.$ac_ext
5435 cat >>conftest.$ac_ext <<_ACEOF
5436 /* end confdefs.h. */
5437 $ac_includes_default
5438 #include <$ac_header>
5440 rm -f conftest.$ac_objext
5441 if { (ac_try="$ac_compile"
5443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5444 *) ac_try_echo=$ac_try;;
5446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5447 (eval "$ac_compile") 2>conftest.er1
5449 grep -v '^
*+' conftest.er1 >conftest.err
5451 cat conftest.err >&5
5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 (exit $ac_status); } && {
5454 test -z "$ac_c_werror_flag" ||
5455 test ! -s conftest.err
5456 } && test -s conftest.$ac_objext; then
5457 ac_header_compiler=yes
5459 echo "$as_me: failed program was:" >&5
5460 sed 's
/^
/|
/' conftest.$ac_ext >&5
5462 ac_header_compiler=no
5465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5466 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5467 echo "${ECHO_T}$ac_header_compiler" >&6; }
5469 # Is the header present?
5470 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5472 cat >conftest.$ac_ext <<_ACEOF
5475 cat confdefs.h >>conftest.$ac_ext
5476 cat >>conftest.$ac_ext <<_ACEOF
5477 /* end confdefs.h. */
5478 #include <$ac_header>
5480 if { (ac_try="$ac_cpp conftest.$ac_ext"
5482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5483 *) ac_try_echo=$ac_try;;
5485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5486 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5488 grep -v '^
*+' conftest.er1 >conftest.err
5490 cat conftest.err >&5
5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); } >/dev/null && {
5493 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5494 test ! -s conftest.err
5496 ac_header_preproc=yes
5498 echo "$as_me: failed program was:" >&5
5499 sed 's
/^
/|
/' conftest.$ac_ext >&5
5501 ac_header_preproc=no
5504 rm -f conftest.err conftest.$ac_ext
5505 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5506 echo "${ECHO_T}$ac_header_preproc" >&6; }
5508 # So? What about this header?
5509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
5514 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
5515 ac_header_preproc=yes
5518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5522 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5524 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5525 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
5527 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
5528 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5533 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5535 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5536 echo $ECHO_N "(cached) $ECHO_C" >&6
5538 eval "$as_ac_Header=\$ac_header_preproc"
5540 ac_res=`eval echo '${'$as_ac_Header'}'`
5541 { echo "$as_me:$LINENO: result: $ac_res" >&5
5542 echo "${ECHO_T}$ac_res" >&6; }
5545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5546 cat >>confdefs.h <<_ACEOF
5547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5555 ac_cpp='$CXXCPP $CPPFLAGS'
5556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5557 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5559 if test -z "$CXX"; then
5560 if test -n "$CCC"; then
5563 if test -n "$ac_tool_prefix"; then
5564 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5566 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5567 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5568 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5570 if test "${ac_cv_prog_CXX+set}" = set; then
5571 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 if test -n "$CXX"; then
5574 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 test -z "$as_dir" && as_dir=.
5581 for ac_exec_ext in '' $ac_executable_extensions; do
5582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5583 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 if test -n "$CXX"; then
5595 { echo "$as_me:$LINENO: result: $CXX" >&5
5596 echo "${ECHO_T}$CXX" >&6; }
5598 { echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6; }
5603 test -n "$CXX" && break
5606 if test -z "$CXX"; then
5608 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5610 # Extract the first word of "$ac_prog", so it can be a program name with args.
5611 set dummy $ac_prog; ac_word=$2
5612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5614 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5617 if test -n "$ac_ct_CXX"; then
5618 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5624 test -z "$as_dir" && as_dir=.
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5627 ac_cv_prog_ac_ct_CXX="$ac_prog"
5628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5637 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5638 if test -n "$ac_ct_CXX"; then
5639 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5640 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5642 { echo "$as_me:$LINENO: result: no" >&5
5643 echo "${ECHO_T}no" >&6; }
5647 test -n "$ac_ct_CXX" && break
5650 if test "x$ac_ct_CXX" = x; then
5653 case $cross_compiling:$ac_tool_warned in
5655 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5656 whose name does not start with the host triplet. If you think this
5657 configuration is useful to you, please write to autoconf@gnu.org." >&5
5658 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5659 whose name does not start with the host triplet. If you think this
5660 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5661 ac_tool_warned=yes ;;
5669 # Provide some information about the compiler.
5670 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5671 ac_compiler=`set X $ac_compile; echo $2`
5672 { (ac_try="$ac_compiler --version >&5"
5674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5675 *) ac_try_echo=$ac_try;;
5677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5678 (eval "$ac_compiler --version >&5") 2>&5
5680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681 (exit $ac_status); }
5682 { (ac_try="$ac_compiler -v >&5"
5684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5685 *) ac_try_echo=$ac_try;;
5687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5688 (eval "$ac_compiler -v >&5") 2>&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); }
5692 { (ac_try="$ac_compiler -V >&5"
5694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5695 *) ac_try_echo=$ac_try;;
5697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5698 (eval "$ac_compiler -V >&5") 2>&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }
5703 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5704 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5705 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5706 echo $ECHO_N "(cached) $ECHO_C" >&6
5708 cat >conftest.$ac_ext <<_ACEOF
5711 cat confdefs.h >>conftest.$ac_ext
5712 cat >>conftest.$ac_ext <<_ACEOF
5713 /* end confdefs.h. */
5726 rm -f conftest.$ac_objext
5727 if { (ac_try="$ac_compile"
5729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5730 *) ac_try_echo=$ac_try;;
5732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5733 (eval "$ac_compile") 2>conftest.er1
5735 grep -v '^
*+' conftest.er1 >conftest.err
5737 cat conftest.err >&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); } && {
5740 test -z "$ac_cxx_werror_flag" ||
5741 test ! -s conftest.err
5742 } && test -s conftest.$ac_objext; then
5745 echo "$as_me: failed program was:" >&5
5746 sed 's
/^
/|
/' conftest.$ac_ext >&5
5751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5752 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5755 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5756 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5757 GXX=`test $ac_compiler_gnu = yes && echo yes`
5758 ac_test_CXXFLAGS=${CXXFLAGS+set}
5759 ac_save_CXXFLAGS=$CXXFLAGS
5760 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5761 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5762 if test "${ac_cv_prog_cxx_g+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5766 ac_cxx_werror_flag=yes
5769 cat >conftest.$ac_ext <<_ACEOF
5772 cat confdefs.h >>conftest.$ac_ext
5773 cat >>conftest.$ac_ext <<_ACEOF
5774 /* end confdefs.h. */
5784 rm -f conftest.$ac_objext
5785 if { (ac_try="$ac_compile"
5787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5788 *) ac_try_echo=$ac_try;;
5790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5791 (eval "$ac_compile") 2>conftest.er1
5793 grep -v '^
*+' conftest.er1 >conftest.err
5795 cat conftest.err >&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } && {
5798 test -z "$ac_cxx_werror_flag" ||
5799 test ! -s conftest.err
5800 } && test -s conftest.$ac_objext; then
5801 ac_cv_prog_cxx_g=yes
5803 echo "$as_me: failed program was:" >&5
5804 sed 's
/^
/|
/' conftest.$ac_ext >&5
5807 cat >conftest.$ac_ext <<_ACEOF
5810 cat confdefs.h >>conftest.$ac_ext
5811 cat >>conftest.$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5822 rm -f conftest.$ac_objext
5823 if { (ac_try="$ac_compile"
5825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5826 *) ac_try_echo=$ac_try;;
5828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5829 (eval "$ac_compile") 2>conftest.er1
5831 grep -v '^
*+' conftest.er1 >conftest.err
5833 cat conftest.err >&5
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); } && {
5836 test -z "$ac_cxx_werror_flag" ||
5837 test ! -s conftest.err
5838 } && test -s conftest.$ac_objext; then
5841 echo "$as_me: failed program was:" >&5
5842 sed 's
/^
/|
/' conftest.$ac_ext >&5
5844 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5846 cat >conftest.$ac_ext <<_ACEOF
5849 cat confdefs.h >>conftest.$ac_ext
5850 cat >>conftest.$ac_ext <<_ACEOF
5851 /* end confdefs.h. */
5861 rm -f conftest.$ac_objext
5862 if { (ac_try="$ac_compile"
5864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5865 *) ac_try_echo=$ac_try;;
5867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5868 (eval "$ac_compile") 2>conftest.er1
5870 grep -v '^
*+' conftest.er1 >conftest.err
5872 cat conftest.err >&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); } && {
5875 test -z "$ac_cxx_werror_flag" ||
5876 test ! -s conftest.err
5877 } && test -s conftest.$ac_objext; then
5878 ac_cv_prog_cxx_g=yes
5880 echo "$as_me: failed program was:" >&5
5881 sed 's
/^
/|
/' conftest.$ac_ext >&5
5886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5893 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5895 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5896 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5897 if test "$ac_test_CXXFLAGS" = set; then
5898 CXXFLAGS=$ac_save_CXXFLAGS
5899 elif test $ac_cv_prog_cxx_g = yes; then
5900 if test "$GXX" = yes; then
5906 if test "$GXX" = yes; then
5913 ac_cpp='$CXXCPP $CPPFLAGS'
5914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5915 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5918 depcc="$CXX" am_compiler_list=
5920 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5921 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5922 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5923 echo $ECHO_N "(cached) $ECHO_C" >&6
5925 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5926 # We make a subdir and do the tests there. Otherwise we can end up
5927 # making bogus files that we don't know about and never remove. For
5928 # instance it was reported that on HP-UX the gcc test will end up
5929 # making a dummy file named `D' -- because `-MD' means `put the output
5932 # Copy depcomp to subdir because otherwise we won't find it if we're
5933 # using a relative directory.
5934 cp "$am_depcomp" conftest.dir
5936 # We will build objects and dependencies in a subdirectory because
5937 # it helps to detect inapplicable dependency modes. For instance
5938 # both Tru64's cc and ICC support -MD to output dependencies as a
5939 # side effect of compilation, but ICC will put the dependencies in
5940 # the current directory while Tru64 will put them in the object
5944 am_cv_CXX_dependencies_compiler_type
=none
5945 if test "$am_compiler_list" = ""; then
5946 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5948 for depmode
in $am_compiler_list; do
5949 # Setup a source with many dependencies, because some compilers
5950 # like to wrap large dependency lists on column 80 (with \), and
5951 # we should not choose a depcomp mode which is confused by this.
5953 # We need to recreate these files for each test, as the compiler may
5954 # overwrite some of them when testing with obscure command lines.
5955 # This happens at least with the AIX C compiler.
5957 for i
in 1 2 3 4 5 6; do
5958 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5959 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5960 # Solaris 8's {/usr,}/bin/sh.
5961 touch sub
/conftst
$i.h
5963 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5967 # after this tag, mechanisms are not by side-effect, so they'll
5968 # only be used when explicitly requested
5969 if test "x$enable_dependency_tracking" = xyes
; then
5977 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5978 # mode. It turns out that the SunPro C++ compiler does not properly
5979 # handle `-M -o', and we need to detect this.
5980 if depmode
=$depmode \
5981 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5982 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5983 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5984 >/dev
/null
2>conftest.err
&&
5985 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5986 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5987 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5988 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5989 # icc doesn't choke on unknown options, it will just issue warnings
5990 # or remarks (even with -Werror). So we grep stderr for any message
5991 # that says an option was ignored or not supported.
5992 # When given -MP, icc 7.0 and 7.1 complain thusly:
5993 # icc: Command line warning: ignoring option '-M'; no argument required
5994 # The diagnosis changed in icc 8.0:
5995 # icc: Command line remark: option '-MP' not supported
5996 if (grep 'ignoring option' conftest.err ||
5997 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5998 am_cv_CXX_dependencies_compiler_type
=$depmode
6007 am_cv_CXX_dependencies_compiler_type
=none
6011 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6012 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6013 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6016 test "x$enable_dependency_tracking" != xno \
6017 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6018 am__fastdepCXX_TRUE
=
6019 am__fastdepCXX_FALSE
='#'
6021 am__fastdepCXX_TRUE
='#'
6022 am__fastdepCXX_FALSE
=
6028 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6029 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6030 (test "X$CXX" != "Xg++"))) ; then
6032 ac_cpp
='$CXXCPP $CPPFLAGS'
6033 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6034 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6035 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6036 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6037 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6038 if test -z "$CXXCPP"; then
6039 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6040 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 # Double quotes because CXXCPP needs to be expanded
6043 for CXXCPP
in "$CXX -E" "/lib/cpp"
6046 for ac_cxx_preproc_warn_flag
in '' yes
6048 # Use a header file that comes with gcc, so configuring glibc
6049 # with a fresh cross-compiler works.
6050 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6051 # <limits.h> exists even on freestanding compilers.
6052 # On the NeXT, cc -E runs the code through the compiler's parser,
6053 # not just through cpp. "Syntax error" is here to catch this case.
6054 cat >conftest.
$ac_ext <<_ACEOF
6057 cat confdefs.h
>>conftest.
$ac_ext
6058 cat >>conftest.
$ac_ext <<_ACEOF
6059 /* end confdefs.h. */
6061 # include <limits.h>
6063 # include <assert.h>
6067 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6070 *) ac_try_echo=$ac_try;;
6072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6075 grep -v '^ *+' conftest.er1 >conftest.err
6077 cat conftest.err >&5
6078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079 (exit $ac_status); } >/dev/null && {
6080 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6081 test ! -s conftest.err
6085 echo "$as_me: failed program was:" >&5
6086 sed 's/^/| /' conftest.$ac_ext >&5
6088 # Broken: fails on valid input.
6092 rm -f conftest.err conftest.$ac_ext
6094 # OK, works on sane cases. Now check whether nonexistent headers
6095 # can be detected and how.
6096 cat >conftest.$ac_ext <<_ACEOF
6099 cat confdefs.h >>conftest.$ac_ext
6100 cat >>conftest.$ac_ext <<_ACEOF
6101 /* end confdefs.h. */
6102 #include <ac_nonexistent.h>
6104 if { (ac_try="$ac_cpp conftest.$ac_ext"
6106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6107 *) ac_try_echo
=$ac_try;;
6109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6110 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6112 grep -v '^ *+' conftest.er1
>conftest.err
6114 cat conftest.err
>&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); } >/dev
/null
&& {
6117 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6118 test ! -s conftest.err
6120 # Broken: success on invalid input.
6123 echo "$as_me: failed program was:" >&5
6124 sed 's/^/| /' conftest.
$ac_ext >&5
6126 # Passes both tests.
6131 rm -f conftest.err conftest.
$ac_ext
6134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6135 rm -f conftest.err conftest.
$ac_ext
6136 if $ac_preproc_ok; then
6141 ac_cv_prog_CXXCPP
=$CXXCPP
6144 CXXCPP
=$ac_cv_prog_CXXCPP
6146 ac_cv_prog_CXXCPP
=$CXXCPP
6148 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6149 echo "${ECHO_T}$CXXCPP" >&6; }
6151 for ac_cxx_preproc_warn_flag
in '' yes
6153 # Use a header file that comes with gcc, so configuring glibc
6154 # with a fresh cross-compiler works.
6155 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6156 # <limits.h> exists even on freestanding compilers.
6157 # On the NeXT, cc -E runs the code through the compiler's parser,
6158 # not just through cpp. "Syntax error" is here to catch this case.
6159 cat >conftest.
$ac_ext <<_ACEOF
6162 cat confdefs.h
>>conftest.
$ac_ext
6163 cat >>conftest.
$ac_ext <<_ACEOF
6164 /* end confdefs.h. */
6166 # include <limits.h>
6168 # include <assert.h>
6172 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6174 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6175 *) ac_try_echo=$ac_try;;
6177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6180 grep -v '^ *+' conftest.er1 >conftest.err
6182 cat conftest.err >&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); } >/dev/null && {
6185 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6186 test ! -s conftest.err
6190 echo "$as_me: failed program was:" >&5
6191 sed 's/^/| /' conftest.$ac_ext >&5
6193 # Broken: fails on valid input.
6197 rm -f conftest.err conftest.$ac_ext
6199 # OK, works on sane cases. Now check whether nonexistent headers
6200 # can be detected and how.
6201 cat >conftest.$ac_ext <<_ACEOF
6204 cat confdefs.h >>conftest.$ac_ext
6205 cat >>conftest.$ac_ext <<_ACEOF
6206 /* end confdefs.h. */
6207 #include <ac_nonexistent.h>
6209 if { (ac_try="$ac_cpp conftest.$ac_ext"
6211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6212 *) ac_try_echo
=$ac_try;;
6214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6217 grep -v '^ *+' conftest.er1
>conftest.err
6219 cat conftest.err
>&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } >/dev
/null
&& {
6222 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6223 test ! -s conftest.err
6225 # Broken: success on invalid input.
6228 echo "$as_me: failed program was:" >&5
6229 sed 's/^/| /' conftest.
$ac_ext >&5
6231 # Passes both tests.
6236 rm -f conftest.err conftest.
$ac_ext
6239 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6240 rm -f conftest.err conftest.
$ac_ext
6241 if $ac_preproc_ok; then
6244 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6245 See \`config.log' for more details." >&5
6246 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6247 See \`config.log' for more details." >&2;}
6248 { (exit 1); exit 1; }; }
6252 ac_cpp
='$CXXCPP $CPPFLAGS'
6253 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6254 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6255 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6261 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6262 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6263 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6264 if test -n "$ac_tool_prefix"; then
6265 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
6267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6268 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6271 if test "${ac_cv_prog_F77+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 if test -n "$F77"; then
6275 ac_cv_prog_F77
="$F77" # Let the user override the test.
6277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6281 test -z "$as_dir" && as_dir
=.
6282 for ac_exec_ext
in '' $ac_executable_extensions; do
6283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6284 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6295 if test -n "$F77"; then
6296 { echo "$as_me:$LINENO: result: $F77" >&5
6297 echo "${ECHO_T}$F77" >&6; }
6299 { echo "$as_me:$LINENO: result: no" >&5
6300 echo "${ECHO_T}no" >&6; }
6304 test -n "$F77" && break
6307 if test -z "$F77"; then
6309 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
6311 # Extract the first word of "$ac_prog", so it can be a program name with args.
6312 set dummy
$ac_prog; ac_word
=$2
6313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6315 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6316 echo $ECHO_N "(cached) $ECHO_C" >&6
6318 if test -n "$ac_ct_F77"; then
6319 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6325 test -z "$as_dir" && as_dir
=.
6326 for ac_exec_ext
in '' $ac_executable_extensions; do
6327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6328 ac_cv_prog_ac_ct_F77
="$ac_prog"
6329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6338 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6339 if test -n "$ac_ct_F77"; then
6340 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6341 echo "${ECHO_T}$ac_ct_F77" >&6; }
6343 { echo "$as_me:$LINENO: result: no" >&5
6344 echo "${ECHO_T}no" >&6; }
6348 test -n "$ac_ct_F77" && break
6351 if test "x$ac_ct_F77" = x
; then
6354 case $cross_compiling:$ac_tool_warned in
6356 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6357 whose name does not start with the host triplet. If you think this
6358 configuration is useful to you, please write to autoconf@gnu.org." >&5
6359 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6360 whose name does not start with the host triplet. If you think this
6361 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6362 ac_tool_warned
=yes ;;
6369 # Provide some information about the compiler.
6370 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6371 ac_compiler
=`set X $ac_compile; echo $2`
6372 { (ac_try
="$ac_compiler --version >&5"
6374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6375 *) ac_try_echo=$ac_try;;
6377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6378 (eval "$ac_compiler --version >&5") 2>&5
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); }
6382 { (ac_try="$ac_compiler -v >&5"
6384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6385 *) ac_try_echo
=$ac_try;;
6387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6388 (eval "$ac_compiler -v >&5") 2>&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); }
6392 { (ac_try
="$ac_compiler -V >&5"
6394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6395 *) ac_try_echo=$ac_try;;
6397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6398 (eval "$ac_compiler -V >&5") 2>&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); }
6404 # If we don't use `.F
' as extension, the preprocessor is not run on the
6405 # input file. (Note that this only needs to work for GNU compilers.)
6408 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6409 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6410 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6411 echo $ECHO_N "(cached) $ECHO_C" >&6
6413 cat >conftest.$ac_ext <<_ACEOF
6421 rm -f conftest.$ac_objext
6422 if { (ac_try="$ac_compile"
6424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6425 *) ac_try_echo=$ac_try;;
6427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6428 (eval "$ac_compile") 2>conftest.er1
6430 grep -v '^
*+' conftest.er1 >conftest.err
6432 cat conftest.err >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } && {
6435 test -z "$ac_f77_werror_flag" ||
6436 test ! -s conftest.err
6437 } && test -s conftest.$ac_objext; then
6440 echo "$as_me: failed program was:" >&5
6441 sed 's
/^
/|
/' conftest.$ac_ext >&5
6446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6447 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6450 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6451 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6453 ac_test_FFLAGS=${FFLAGS+set}
6454 ac_save_FFLAGS=$FFLAGS
6456 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6457 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6458 if test "${ac_cv_prog_f77_g+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6462 cat >conftest.$ac_ext <<_ACEOF
6467 rm -f conftest.$ac_objext
6468 if { (ac_try="$ac_compile"
6470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6471 *) ac_try_echo=$ac_try;;
6473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6474 (eval "$ac_compile") 2>conftest.er1
6476 grep -v '^
*+' conftest.er1 >conftest.err
6478 cat conftest.err >&5
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); } && {
6481 test -z "$ac_f77_werror_flag" ||
6482 test ! -s conftest.err
6483 } && test -s conftest.$ac_objext; then
6484 ac_cv_prog_f77_g=yes
6486 echo "$as_me: failed program was:" >&5
6487 sed 's
/^
/|
/' conftest.$ac_ext >&5
6492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6495 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6496 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6497 if test "$ac_test_FFLAGS" = set; then
6498 FFLAGS=$ac_save_FFLAGS
6499 elif test $ac_cv_prog_f77_g = yes; then
6500 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6506 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6513 G77=`test $ac_compiler_gnu = yes && echo yes`
6515 ac_cpp='$CPP $CPPFLAGS'
6516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6517 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6522 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6523 # find the maximum length of command line arguments
6524 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6525 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6526 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6527 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 # On DJGPP, this test can blow up pretty badly due to problems in libc
6535 # (any single argument exceeding 2000 bytes causes a buffer overrun
6536 # during glob expansion). Even if it were fixed, the result of this
6537 # check would be larger than it should be.
6538 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6542 # Under GNU Hurd, this test is not required because there is
6543 # no limit to the length of command line arguments.
6544 # Libtool will interpret -1 as no limit whatsoever
6545 lt_cv_sys_max_cmd_len
=-1;
6549 # On Win9x/ME, this test blows up -- it succeeds, but takes
6550 # about 5 minutes as the teststring grows exponentially.
6551 # Worse, since 9x/ME are not pre-emptively multitasking,
6552 # you end up with a "frozen" computer, even though with patience
6553 # the test eventually succeeds (with a max line length of 256k).
6554 # Instead, let's just punt: use the minimum linelength reported by
6555 # all of the supported platforms: 8192 (on NT/2K/XP).
6556 lt_cv_sys_max_cmd_len
=8192;
6560 # On AmigaOS with pdksh, this test takes hours, literally.
6561 # So we just punt and use a minimum line length of 8192.
6562 lt_cv_sys_max_cmd_len
=8192;
6565 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6566 # This has been around since 386BSD, at least. Likely further.
6567 if test -x /sbin
/sysctl
; then
6568 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6569 elif test -x /usr
/sbin
/sysctl
; then
6570 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6572 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6574 # And add a safety zone
6575 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6576 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6580 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6581 lt_cv_sys_max_cmd_len
=196608
6585 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6586 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6587 # nice to cause kernel panics so lets avoid the loop below.
6588 # First set a reasonable default.
6589 lt_cv_sys_max_cmd_len
=16384
6591 if test -x /sbin
/sysconfig
; then
6592 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6593 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6598 lt_cv_sys_max_cmd_len
=102400
6600 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6601 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6602 if test -n "$kargmax"; then
6603 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6605 lt_cv_sys_max_cmd_len
=32768
6609 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6610 if test -n "$lt_cv_sys_max_cmd_len"; then
6611 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6612 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6614 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6615 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6616 = "XX$teststring") >/dev
/null
2>&1 &&
6617 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6618 lt_cv_sys_max_cmd_len
=$new_result &&
6619 test $i != 17 # 1/2 MB should be enough
6622 teststring
=$teststring$teststring
6625 # Add a significant safety factor because C++ compilers can tack on massive
6626 # amounts of additional arguments before passing them to the linker.
6627 # It appears as though 1/2 is a usable value.
6628 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6635 if test -n $lt_cv_sys_max_cmd_len ; then
6636 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6637 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6639 { echo "$as_me:$LINENO: result: none" >&5
6640 echo "${ECHO_T}none" >&6; }
6647 # Check for command to grab the raw symbol name followed by C symbol from nm.
6648 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6649 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6650 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6651 echo $ECHO_N "(cached) $ECHO_C" >&6
6654 # These are sane defaults that work on at least a few old systems.
6655 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6657 # Character class describing NM global symbol codes.
6658 symcode
='[BCDEGRST]'
6660 # Regexp to match symbols that can be accessed directly from C.
6661 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6663 # Transform an extracted symbol line into a proper C declaration
6664 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6666 # Transform an extracted symbol line into symbol name and symbol address
6667 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'"
6669 # Define system-specific variables.
6674 cygwin
* | mingw
* | pw32
*)
6675 symcode
='[ABCDGISTW]'
6677 hpux
*) # Its linker distinguishes data from code symbols
6678 if test "$host_cpu" = ia64
; then
6679 symcode
='[ABCDEGRST]'
6681 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6682 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'"
6684 linux
* | k
*bsd
*-gnu)
6685 if test "$host_cpu" = ia64
; then
6686 symcode
='[ABCDGIRSTW]'
6687 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6688 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'"
6692 symcode
='[BCDEGRST]'
6695 symcode
='[BCDEGQRST]'
6706 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6714 # Handle CRLF in mingw tool chain
6718 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6722 # If we're using GNU nm, then use its standard symbol codes.
6723 case `$NM -V 2>&1` in
6724 *GNU
* |
*'with BFD'*)
6725 symcode
='[ABCDGIRSTW]' ;;
6728 # Try without a prefix undercore, then with it.
6729 for ac_symprfx
in "" "_"; do
6731 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6732 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6734 # Write the raw and C identifiers.
6735 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6737 # Check to see that the pipe works correctly.
6741 cat > conftest.
$ac_ext <<EOF
6746 void nm_test_func(){}
6750 int main(){nm_test_var='a';nm_test_func();return(0);}
6753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6754 (eval $ac_compile) 2>&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); }; then
6758 # Now try to grab the symbols.
6760 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6761 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); } && test -s "$nlist"; then
6765 # Try sorting and uniquifying the output.
6766 if sort "$nlist" |
uniq > "$nlist"T
; then
6767 mv -f "$nlist"T
"$nlist"
6772 # Make sure that we snagged all the symbols we need.
6773 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6774 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6775 cat <<EOF > conftest.$ac_ext
6781 # Now generate the symbol file.
6782 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6784 cat <<EOF >> conftest.$ac_ext
6785 #if defined (__STDC__) && __STDC__
6786 # define lt_ptr_t void *
6788 # define lt_ptr_t char *
6792 /* The mapping between symbol names and symbols. */
6797 lt_preloaded_symbols[] =
6800 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6801 cat <<\EOF
>> conftest.
$ac_ext
6809 # Now try linking the two files.
6810 mv conftest.
$ac_objext conftstm.
$ac_objext
6811 lt_save_LIBS
="$LIBS"
6812 lt_save_CFLAGS
="$CFLAGS"
6813 LIBS
="conftstm.$ac_objext"
6814 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6816 (eval $ac_link) 2>&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6822 LIBS
="$lt_save_LIBS"
6823 CFLAGS
="$lt_save_CFLAGS"
6825 echo "cannot find nm_test_func in $nlist" >&5
6828 echo "cannot find nm_test_var in $nlist" >&5
6831 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6834 echo "$progname: failed program was:" >&5
6835 cat conftest.
$ac_ext >&5
6837 rm -rf conftest
* conftst
*
6839 # Do not use the global_symbol_pipe unless it works.
6840 if test "$pipe_works" = yes; then
6843 lt_cv_sys_global_symbol_pipe
=
6849 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6850 lt_cv_sys_global_symbol_to_cdecl
=
6852 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6853 { echo "$as_me:$LINENO: result: failed" >&5
6854 echo "${ECHO_T}failed" >&6; }
6856 { echo "$as_me:$LINENO: result: ok" >&5
6857 echo "${ECHO_T}ok" >&6; }
6860 { echo "$as_me:$LINENO: checking for objdir" >&5
6861 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6862 if test "${lt_cv_objdir+set}" = set; then
6863 echo $ECHO_N "(cached) $ECHO_C" >&6
6865 rm -f .libs
2>/dev
/null
6866 mkdir .libs
2>/dev
/null
6867 if test -d .libs
; then
6870 # MS-DOS does not allow filenames that begin with a dot.
6873 rmdir .libs
2>/dev
/null
6875 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6876 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6877 objdir
=$lt_cv_objdir
6885 # AIX sometimes has problems with the GCC collect2 program. For some
6886 # reason, if we set the COLLECT_NAMES environment variable, the problems
6887 # vanish in a puff of smoke.
6888 if test "X${COLLECT_NAMES+set}" != Xset
; then
6890 export COLLECT_NAMES
6895 # Sed substitution that helps us do robust quoting. It backslashifies
6896 # metacharacters that are still active within double-quoted strings.
6897 Xsed
='sed -e 1s/^X//'
6898 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6900 # Same as above, but do not quote variable references.
6901 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6903 # Sed substitution to delay expansion of an escaped shell variable in a
6904 # double_quote_subst'ed string.
6905 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6907 # Sed substitution to avoid accidental globbing in evaled expressions
6908 no_glob_subst
='s/\*/\\\*/g'
6914 default_ofile
=libtool
6915 can_build_shared
=yes
6917 # All known linkers require a `.a' archive for static linking (except MSVC,
6918 # which needs '.lib').
6920 ltmain
="$ac_aux_dir/ltmain.sh"
6921 ofile
="$default_ofile"
6922 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6924 if test -n "$ac_tool_prefix"; then
6925 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6926 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6929 if test "${ac_cv_prog_AR+set}" = set; then
6930 echo $ECHO_N "(cached) $ECHO_C" >&6
6932 if test -n "$AR"; then
6933 ac_cv_prog_AR
="$AR" # Let the user override the test.
6935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6939 test -z "$as_dir" && as_dir
=.
6940 for ac_exec_ext
in '' $ac_executable_extensions; do
6941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6942 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6953 if test -n "$AR"; then
6954 { echo "$as_me:$LINENO: result: $AR" >&5
6955 echo "${ECHO_T}$AR" >&6; }
6957 { echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6; }
6963 if test -z "$ac_cv_prog_AR"; then
6965 # Extract the first word of "ar", so it can be a program name with args.
6966 set dummy
ar; ac_word
=$2
6967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6969 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6970 echo $ECHO_N "(cached) $ECHO_C" >&6
6972 if test -n "$ac_ct_AR"; then
6973 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6979 test -z "$as_dir" && as_dir
=.
6980 for ac_exec_ext
in '' $ac_executable_extensions; do
6981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6982 ac_cv_prog_ac_ct_AR
="ar"
6983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6992 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6993 if test -n "$ac_ct_AR"; then
6994 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6995 echo "${ECHO_T}$ac_ct_AR" >&6; }
6997 { echo "$as_me:$LINENO: result: no" >&5
6998 echo "${ECHO_T}no" >&6; }
7001 if test "x$ac_ct_AR" = x
; then
7004 case $cross_compiling:$ac_tool_warned in
7006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7007 whose name does not start with the host triplet. If you think this
7008 configuration is useful to you, please write to autoconf@gnu.org." >&5
7009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7010 whose name does not start with the host triplet. If you think this
7011 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7012 ac_tool_warned
=yes ;;
7020 if test -n "$ac_tool_prefix"; then
7021 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7022 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7025 if test "${ac_cv_prog_RANLIB+set}" = set; then
7026 echo $ECHO_N "(cached) $ECHO_C" >&6
7028 if test -n "$RANLIB"; then
7029 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7035 test -z "$as_dir" && as_dir
=.
7036 for ac_exec_ext
in '' $ac_executable_extensions; do
7037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7038 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7048 RANLIB
=$ac_cv_prog_RANLIB
7049 if test -n "$RANLIB"; then
7050 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7051 echo "${ECHO_T}$RANLIB" >&6; }
7053 { echo "$as_me:$LINENO: result: no" >&5
7054 echo "${ECHO_T}no" >&6; }
7059 if test -z "$ac_cv_prog_RANLIB"; then
7060 ac_ct_RANLIB
=$RANLIB
7061 # Extract the first word of "ranlib", so it can be a program name with args.
7062 set dummy ranlib
; ac_word
=$2
7063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7065 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7066 echo $ECHO_N "(cached) $ECHO_C" >&6
7068 if test -n "$ac_ct_RANLIB"; then
7069 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7075 test -z "$as_dir" && as_dir
=.
7076 for ac_exec_ext
in '' $ac_executable_extensions; do
7077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7078 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7088 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7089 if test -n "$ac_ct_RANLIB"; then
7090 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7091 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7093 { echo "$as_me:$LINENO: result: no" >&5
7094 echo "${ECHO_T}no" >&6; }
7097 if test "x$ac_ct_RANLIB" = x
; then
7100 case $cross_compiling:$ac_tool_warned in
7102 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7103 whose name does not start with the host triplet. If you think this
7104 configuration is useful to you, please write to autoconf@gnu.org." >&5
7105 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7106 whose name does not start with the host triplet. If you think this
7107 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7108 ac_tool_warned
=yes ;;
7110 RANLIB
=$ac_ct_RANLIB
7113 RANLIB
="$ac_cv_prog_RANLIB"
7116 if test -n "$ac_tool_prefix"; then
7117 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7118 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7121 if test "${ac_cv_prog_STRIP+set}" = set; then
7122 echo $ECHO_N "(cached) $ECHO_C" >&6
7124 if test -n "$STRIP"; then
7125 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7131 test -z "$as_dir" && as_dir
=.
7132 for ac_exec_ext
in '' $ac_executable_extensions; do
7133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7134 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7144 STRIP
=$ac_cv_prog_STRIP
7145 if test -n "$STRIP"; then
7146 { echo "$as_me:$LINENO: result: $STRIP" >&5
7147 echo "${ECHO_T}$STRIP" >&6; }
7149 { echo "$as_me:$LINENO: result: no" >&5
7150 echo "${ECHO_T}no" >&6; }
7155 if test -z "$ac_cv_prog_STRIP"; then
7157 # Extract the first word of "strip", so it can be a program name with args.
7158 set dummy strip
; ac_word
=$2
7159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7161 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7162 echo $ECHO_N "(cached) $ECHO_C" >&6
7164 if test -n "$ac_ct_STRIP"; then
7165 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7171 test -z "$as_dir" && as_dir
=.
7172 for ac_exec_ext
in '' $ac_executable_extensions; do
7173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7174 ac_cv_prog_ac_ct_STRIP
="strip"
7175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7184 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7185 if test -n "$ac_ct_STRIP"; then
7186 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7187 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7189 { echo "$as_me:$LINENO: result: no" >&5
7190 echo "${ECHO_T}no" >&6; }
7193 if test "x$ac_ct_STRIP" = x
; then
7196 case $cross_compiling:$ac_tool_warned in
7198 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7199 whose name does not start with the host triplet. If you think this
7200 configuration is useful to you, please write to autoconf@gnu.org." >&5
7201 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7202 whose name does not start with the host triplet. If you think this
7203 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7204 ac_tool_warned
=yes ;;
7209 STRIP
="$ac_cv_prog_STRIP"
7214 old_CFLAGS
="$CFLAGS"
7216 # Set sane defaults for various variables
7217 test -z "$AR" && AR
=ar
7218 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7219 test -z "$AS" && AS
=as
7220 test -z "$CC" && CC
=cc
7221 test -z "$LTCC" && LTCC
=$CC
7222 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7223 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7224 test -z "$LD" && LD
=ld
7225 test -z "$LN_S" && LN_S
="ln -s"
7226 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7227 test -z "$NM" && NM
=nm
7228 test -z "$SED" && SED
=sed
7229 test -z "$OBJDUMP" && OBJDUMP
=objdump
7230 test -z "$RANLIB" && RANLIB
=:
7231 test -z "$STRIP" && STRIP
=:
7232 test -z "$ac_objext" && ac_objext
=o
7234 # Determine commands to create old-style static archives.
7235 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7236 old_postinstall_cmds
='chmod 644 $oldlib'
7237 old_postuninstall_cmds
=
7239 if test -n "$RANLIB"; then
7242 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7245 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7248 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7251 for cc_temp
in $compiler""; do
7253 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7254 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7259 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7262 # Only perform the check for file, if the check method requires it
7263 case $deplibs_check_method in
7265 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7266 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7267 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7268 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7269 echo $ECHO_N "(cached) $ECHO_C" >&6
7273 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7276 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7277 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7278 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7279 for ac_dir
in $ac_dummy; do
7281 test -z "$ac_dir" && ac_dir
=.
7282 if test -f $ac_dir/${ac_tool_prefix}file; then
7283 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7284 if test -n "$file_magic_test_file"; then
7285 case $deplibs_check_method in
7287 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7288 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7289 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7290 $EGREP "$file_magic_regex" > /dev
/null
; then
7295 *** Warning: the command libtool uses to detect shared libraries,
7296 *** $file_magic_cmd, produces output that libtool cannot recognize.
7297 *** The result is that libtool may fail to recognize shared libraries
7298 *** as such. This will affect the creation of libtool libraries that
7299 *** depend on shared libraries, but programs linked with such libtool
7300 *** libraries will work regardless of this problem. Nevertheless, you
7301 *** may want to report the problem to your system manager and/or to
7302 *** bug-libtool@gnu.org
7312 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7317 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7318 if test -n "$MAGIC_CMD"; then
7319 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7320 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7322 { echo "$as_me:$LINENO: result: no" >&5
7323 echo "${ECHO_T}no" >&6; }
7326 if test -z "$lt_cv_path_MAGIC_CMD"; then
7327 if test -n "$ac_tool_prefix"; then
7328 { echo "$as_me:$LINENO: checking for file" >&5
7329 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7330 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7331 echo $ECHO_N "(cached) $ECHO_C" >&6
7335 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7338 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7339 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7340 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7341 for ac_dir
in $ac_dummy; do
7343 test -z "$ac_dir" && ac_dir
=.
7344 if test -f $ac_dir/file; then
7345 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7346 if test -n "$file_magic_test_file"; then
7347 case $deplibs_check_method in
7349 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7350 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7351 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7352 $EGREP "$file_magic_regex" > /dev
/null
; then
7357 *** Warning: the command libtool uses to detect shared libraries,
7358 *** $file_magic_cmd, produces output that libtool cannot recognize.
7359 *** The result is that libtool may fail to recognize shared libraries
7360 *** as such. This will affect the creation of libtool libraries that
7361 *** depend on shared libraries, but programs linked with such libtool
7362 *** libraries will work regardless of this problem. Nevertheless, you
7363 *** may want to report the problem to your system manager and/or to
7364 *** bug-libtool@gnu.org
7374 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7379 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7380 if test -n "$MAGIC_CMD"; then
7381 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7382 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7384 { echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6; }
7399 rhapsody
* | darwin
*)
7400 if test -n "$ac_tool_prefix"; then
7401 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7402 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7405 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7406 echo $ECHO_N "(cached) $ECHO_C" >&6
7408 if test -n "$DSYMUTIL"; then
7409 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir
=.
7416 for ac_exec_ext
in '' $ac_executable_extensions; do
7417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7418 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7429 if test -n "$DSYMUTIL"; then
7430 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7431 echo "${ECHO_T}$DSYMUTIL" >&6; }
7433 { echo "$as_me:$LINENO: result: no" >&5
7434 echo "${ECHO_T}no" >&6; }
7439 if test -z "$ac_cv_prog_DSYMUTIL"; then
7440 ac_ct_DSYMUTIL
=$DSYMUTIL
7441 # Extract the first word of "dsymutil", so it can be a program name with args.
7442 set dummy dsymutil
; ac_word
=$2
7443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7445 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7446 echo $ECHO_N "(cached) $ECHO_C" >&6
7448 if test -n "$ac_ct_DSYMUTIL"; then
7449 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7455 test -z "$as_dir" && as_dir
=.
7456 for ac_exec_ext
in '' $ac_executable_extensions; do
7457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7458 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7469 if test -n "$ac_ct_DSYMUTIL"; then
7470 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7471 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7473 { echo "$as_me:$LINENO: result: no" >&5
7474 echo "${ECHO_T}no" >&6; }
7477 if test "x$ac_ct_DSYMUTIL" = x
; then
7480 case $cross_compiling:$ac_tool_warned in
7482 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7483 whose name does not start with the host triplet. If you think this
7484 configuration is useful to you, please write to autoconf@gnu.org." >&5
7485 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7486 whose name does not start with the host triplet. If you think this
7487 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7488 ac_tool_warned
=yes ;;
7490 DSYMUTIL
=$ac_ct_DSYMUTIL
7493 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7496 if test -n "$ac_tool_prefix"; then
7497 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7498 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7501 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 if test -n "$NMEDIT"; then
7505 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7511 test -z "$as_dir" && as_dir
=.
7512 for ac_exec_ext
in '' $ac_executable_extensions; do
7513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7514 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 NMEDIT
=$ac_cv_prog_NMEDIT
7525 if test -n "$NMEDIT"; then
7526 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7527 echo "${ECHO_T}$NMEDIT" >&6; }
7529 { echo "$as_me:$LINENO: result: no" >&5
7530 echo "${ECHO_T}no" >&6; }
7535 if test -z "$ac_cv_prog_NMEDIT"; then
7536 ac_ct_NMEDIT
=$NMEDIT
7537 # Extract the first word of "nmedit", so it can be a program name with args.
7538 set dummy nmedit
; ac_word
=$2
7539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7541 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7542 echo $ECHO_N "(cached) $ECHO_C" >&6
7544 if test -n "$ac_ct_NMEDIT"; then
7545 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7551 test -z "$as_dir" && as_dir
=.
7552 for ac_exec_ext
in '' $ac_executable_extensions; do
7553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7554 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7564 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7565 if test -n "$ac_ct_NMEDIT"; then
7566 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7567 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7569 { echo "$as_me:$LINENO: result: no" >&5
7570 echo "${ECHO_T}no" >&6; }
7573 if test "x$ac_ct_NMEDIT" = x
; then
7576 case $cross_compiling:$ac_tool_warned in
7578 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7579 whose name does not start with the host triplet. If you think this
7580 configuration is useful to you, please write to autoconf@gnu.org." >&5
7581 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7582 whose name does not start with the host triplet. If you think this
7583 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7584 ac_tool_warned
=yes ;;
7586 NMEDIT
=$ac_ct_NMEDIT
7589 NMEDIT
="$ac_cv_prog_NMEDIT"
7593 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7594 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7595 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7596 echo $ECHO_N "(cached) $ECHO_C" >&6
7598 lt_cv_apple_cc_single_mod
=no
7599 if test -z "${LT_MULTI_MODULE}"; then
7600 # By default we will add the -single_module flag. You can override
7601 # by either setting the environment variable LT_MULTI_MODULE
7602 # non-empty at configure time, or by adding -multi_module to the
7604 echo "int foo(void){return 1;}" > conftest.c
7605 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7606 -dynamiclib ${wl}-single_module conftest.c
7607 if test -f libconftest.dylib
; then
7608 lt_cv_apple_cc_single_mod
=yes
7609 rm -rf libconftest.dylib
*
7614 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7615 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7616 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7617 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7618 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7619 echo $ECHO_N "(cached) $ECHO_C" >&6
7621 lt_cv_ld_exported_symbols_list
=no
7622 save_LDFLAGS
=$LDFLAGS
7623 echo "_main" > conftest.sym
7624 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7625 cat >conftest.
$ac_ext <<_ACEOF
7628 cat confdefs.h
>>conftest.
$ac_ext
7629 cat >>conftest.
$ac_ext <<_ACEOF
7630 /* end confdefs.h. */
7640 rm -f conftest.
$ac_objext conftest
$ac_exeext
7641 if { (ac_try
="$ac_link"
7643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7644 *) ac_try_echo=$ac_try;;
7646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7647 (eval "$ac_link") 2>conftest.er1
7649 grep -v '^ *+' conftest.er1 >conftest.err
7651 cat conftest.err >&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); } && {
7654 test -z "$ac_c_werror_flag" ||
7655 test ! -s conftest.err
7656 } && test -s conftest$ac_exeext &&
7657 $as_test_x conftest$ac_exeext; then
7658 lt_cv_ld_exported_symbols_list=yes
7660 echo "$as_me: failed program was:" >&5
7661 sed 's/^/| /' conftest.$ac_ext >&5
7663 lt_cv_ld_exported_symbols_list=no
7666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7667 conftest$ac_exeext conftest.$ac_ext
7668 LDFLAGS="$save_LDFLAGS"
7671 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7672 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7674 rhapsody* | darwin1.[0123])
7675 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7677 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7679 # if running on 10.5 or later, the deployment target defaults
7680 # to the OS version, if on x86, and 10.4, the deployment
7681 # target defaults to 10.4. Don't you love it?
7682 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7683 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7684 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7686 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7688 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7692 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7693 _lt_dar_single_mod='$single_module'
7695 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7696 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7698 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7700 if test "$DSYMUTIL" != ":"; then
7701 _lt_dsymutil="~$DSYMUTIL \$lib || :"
7710 enable_win32_dll=yes
7712 # Check whether --enable-libtool-lock was given.
7713 if test "${enable_libtool_lock+set}" = set; then
7714 enableval=$enable_libtool_lock;
7717 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7720 # Check whether --with-pic was given.
7721 if test "${with_pic+set}" = set; then
7722 withval=$with_pic; pic_mode="$withval"
7727 test -z "$pic_mode" && pic_mode=default
7729 # Use C for the default configuration in the libtool script
7733 ac_cpp='$CPP $CPPFLAGS'
7734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7739 # Source file extension for C test sources.
7742 # Object file extension for compiled C test sources.
7746 # Code to be used in simple compile tests
7747 lt_simple_compile_test_code="int some_variable = 0;"
7749 # Code to be used in simple link tests
7750 lt_simple_link_test_code='int main(){return(0);}'
7753 # If no C compiler was specified, use CC.
7756 # If no C compiler flags were specified, use CFLAGS.
7757 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7759 # Allow CC to be a program name with arguments.
7763 # save warnings/boilerplate of simple test code
7764 ac_outfile=conftest.$ac_objext
7765 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7766 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7767 _lt_compiler_boilerplate=`cat conftest.err
`
7770 ac_outfile=conftest.$ac_objext
7771 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7772 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7773 _lt_linker_boilerplate=`cat conftest.err
`
7778 lt_prog_compiler_no_builtin_flag=
7780 if test "$GCC" = yes; then
7781 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7784 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7785 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7786 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7787 echo $ECHO_N "(cached) $ECHO_C" >&6
7789 lt_cv_prog_compiler_rtti_exceptions=no
7790 ac_outfile=conftest.$ac_objext
7791 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7792 lt_compiler_flag="-fno-rtti -fno-exceptions"
7793 # Insert the option either (1) after the last *FLAGS variable, or
7794 # (2) before a word containing "conftest.", or (3) at the end.
7795 # Note that $ac_compile itself does not contain backslashes and begins
7796 # with a dollar sign (not a hyphen), so the echo should work correctly.
7797 # The option is referenced via a variable to avoid confusing sed.
7798 lt_compile=`echo "$ac_compile" |
$SED \
7799 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7800 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7801 -e 's:$: $lt_compiler_flag:'`
7802 (eval echo "\"\$as_me:7802: $lt_compile\"" >&5)
7803 (eval "$lt_compile" 2>conftest.err)
7805 cat conftest.err >&5
7806 echo "$as_me:7806: \$? = $ac_status" >&5
7807 if (exit $ac_status) && test -s "$ac_outfile"; then
7808 # The compiler can only warn and ignore the option if not recognized
7809 # So say no if there are warnings other than the usual output.
7810 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7811 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7812 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7813 lt_cv_prog_compiler_rtti_exceptions=yes
7819 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7820 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7822 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7823 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7830 lt_prog_compiler_wl=
7831 lt_prog_compiler_pic=
7832 lt_prog_compiler_static=
7834 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7835 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7837 if test "$GCC" = yes; then
7838 lt_prog_compiler_wl='-Wl,'
7839 lt_prog_compiler_static='-static'
7843 # All AIX code is PIC.
7844 if test "$host_cpu" = ia64; then
7845 # AIX 5 now supports IA64 processor
7846 lt_prog_compiler_static='-Bstatic'
7851 # FIXME: we need at least 68020 code to build shared libraries, but
7852 # adding the `-m68020' flag to GCC prevents building anything better,
7854 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7857 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7858 # PIC is the default for these OSes.
7861 mingw
* | cygwin
* | pw32
* | os2
*)
7862 # This hack is so that the source file can tell whether it is being
7863 # built for inclusion in a dll (and should export symbols for example).
7864 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7865 # (--disable-auto-import) libraries
7866 lt_prog_compiler_pic
='-DDLL_EXPORT'
7869 darwin
* | rhapsody
*)
7870 # PIC is the default on this platform
7871 # Common symbols not allowed in MH_DYLIB files
7872 lt_prog_compiler_pic
='-fno-common'
7876 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7877 # Instead, we relocate shared libraries at runtime.
7881 # Just because we use GCC doesn't mean we suddenly get shared libraries
7882 # on systems that don't support them.
7883 lt_prog_compiler_can_build_shared
=no
7888 if test -d /usr
/nec
; then
7889 lt_prog_compiler_pic
=-Kconform_pic
7894 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7901 lt_prog_compiler_pic
='-fPIC'
7907 lt_prog_compiler_pic
='-fPIC'
7911 # PORTME Check for flag to pass linker flags through the system compiler.
7914 lt_prog_compiler_wl
='-Wl,'
7915 if test "$host_cpu" = ia64
; then
7916 # AIX 5 now supports IA64 processor
7917 lt_prog_compiler_static
='-Bstatic'
7919 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7923 # PIC is the default on this platform
7924 # Common symbols not allowed in MH_DYLIB files
7925 case $cc_basename in
7927 lt_prog_compiler_pic
='-qnocommon'
7928 lt_prog_compiler_wl
='-Wl,'
7933 mingw
* | cygwin
* | pw32
* | os2
*)
7934 # This hack is so that the source file can tell whether it is being
7935 # built for inclusion in a dll (and should export symbols for example).
7936 lt_prog_compiler_pic
='-DDLL_EXPORT'
7939 hpux9
* | hpux10
* | hpux11
*)
7940 lt_prog_compiler_wl
='-Wl,'
7941 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7948 lt_prog_compiler_pic
='+Z'
7951 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7952 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7955 irix5
* | irix6
* | nonstopux
*)
7956 lt_prog_compiler_wl
='-Wl,'
7957 # PIC (with -KPIC) is the default.
7958 lt_prog_compiler_static
='-non_shared'
7962 lt_prog_compiler_pic
='-KPIC'
7963 lt_prog_compiler_static
='-Bstatic'
7966 linux
* | k
*bsd
*-gnu)
7967 case $cc_basename in
7969 lt_prog_compiler_wl
='-Wl,'
7970 lt_prog_compiler_pic
='-KPIC'
7971 lt_prog_compiler_static
='-static'
7973 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7974 # Portland Group compilers (*not* the Pentium gcc compiler,
7975 # which looks to be a dead project)
7976 lt_prog_compiler_wl
='-Wl,'
7977 lt_prog_compiler_pic
='-fpic'
7978 lt_prog_compiler_static
='-Bstatic'
7981 lt_prog_compiler_wl
='-Wl,'
7982 # All Alpha code is PIC.
7983 lt_prog_compiler_static
='-non_shared'
7986 case `$CC -V 2>&1 | sed 5q` in
7989 lt_prog_compiler_pic
='-KPIC'
7990 lt_prog_compiler_static
='-Bstatic'
7991 lt_prog_compiler_wl
='-Wl,'
7994 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7995 lt_prog_compiler_pic
='-KPIC'
7996 lt_prog_compiler_static
='-Bstatic'
7997 lt_prog_compiler_wl
=''
8004 osf3
* | osf4
* | osf5
*)
8005 lt_prog_compiler_wl
='-Wl,'
8006 # All OSF/1 code is PIC.
8007 lt_prog_compiler_static
='-non_shared'
8011 lt_prog_compiler_static
='-non_shared'
8015 lt_prog_compiler_pic
='-KPIC'
8016 lt_prog_compiler_static
='-Bstatic'
8017 case $cc_basename in
8019 lt_prog_compiler_wl
='-Qoption ld ';;
8021 lt_prog_compiler_wl
='-Wl,';;
8026 lt_prog_compiler_wl
='-Qoption ld '
8027 lt_prog_compiler_pic
='-PIC'
8028 lt_prog_compiler_static
='-Bstatic'
8031 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8032 lt_prog_compiler_wl
='-Wl,'
8033 lt_prog_compiler_pic
='-KPIC'
8034 lt_prog_compiler_static
='-Bstatic'
8038 if test -d /usr
/nec
;then
8039 lt_prog_compiler_pic
='-Kconform_pic'
8040 lt_prog_compiler_static
='-Bstatic'
8044 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8045 lt_prog_compiler_wl
='-Wl,'
8046 lt_prog_compiler_pic
='-KPIC'
8047 lt_prog_compiler_static
='-Bstatic'
8051 lt_prog_compiler_wl
='-Wl,'
8052 lt_prog_compiler_can_build_shared
=no
8056 lt_prog_compiler_pic
='-pic'
8057 lt_prog_compiler_static
='-Bstatic'
8061 lt_prog_compiler_can_build_shared
=no
8066 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8067 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8070 # Check to make sure the PIC flag actually works.
8072 if test -n "$lt_prog_compiler_pic"; then
8074 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8075 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8076 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8077 echo $ECHO_N "(cached) $ECHO_C" >&6
8079 lt_cv_prog_compiler_pic_works
=no
8080 ac_outfile
=conftest.
$ac_objext
8081 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8082 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8083 # Insert the option either (1) after the last *FLAGS variable, or
8084 # (2) before a word containing "conftest.", or (3) at the end.
8085 # Note that $ac_compile itself does not contain backslashes and begins
8086 # with a dollar sign (not a hyphen), so the echo should work correctly.
8087 # The option is referenced via a variable to avoid confusing sed.
8088 lt_compile
=`echo "$ac_compile" | $SED \
8089 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8090 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8091 -e 's:$: $lt_compiler_flag:'`
8092 (eval echo "\"\$as_me:8092: $lt_compile\"" >&5)
8093 (eval "$lt_compile" 2>conftest.err
)
8095 cat conftest.err
>&5
8096 echo "$as_me:8096: \$? = $ac_status" >&5
8097 if (exit $ac_status) && test -s "$ac_outfile"; then
8098 # The compiler can only warn and ignore the option if not recognized
8099 # So say no if there are warnings other than the usual output.
8100 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8101 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8102 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8103 lt_cv_prog_compiler_pic_works
=yes
8109 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8110 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8112 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8113 case $lt_prog_compiler_pic in
8115 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8118 lt_prog_compiler_pic
=
8119 lt_prog_compiler_can_build_shared
=no
8124 # For platforms which do not support PIC, -DPIC is meaningless:
8126 lt_prog_compiler_pic
=
8129 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8134 # Check to make sure the static flag actually works.
8136 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8137 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8138 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8139 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8140 echo $ECHO_N "(cached) $ECHO_C" >&6
8142 lt_cv_prog_compiler_static_works
=no
8143 save_LDFLAGS
="$LDFLAGS"
8144 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8145 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8146 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8147 # The linker can only warn and ignore the option if not recognized
8148 # So say no if there are warnings
8149 if test -s conftest.err
; then
8150 # Append any errors to the config.log.
8151 cat conftest.err
1>&5
8152 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8153 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8154 if diff conftest.exp conftest.er2
>/dev
/null
; then
8155 lt_cv_prog_compiler_static_works
=yes
8158 lt_cv_prog_compiler_static_works
=yes
8162 LDFLAGS
="$save_LDFLAGS"
8165 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8166 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8168 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8171 lt_prog_compiler_static
=
8175 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8176 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8177 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 lt_cv_prog_compiler_c_o
=no
8181 $rm -r conftest
2>/dev
/null
8185 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8187 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8188 # Insert the option either (1) after the last *FLAGS variable, or
8189 # (2) before a word containing "conftest.", or (3) at the end.
8190 # Note that $ac_compile itself does not contain backslashes and begins
8191 # with a dollar sign (not a hyphen), so the echo should work correctly.
8192 lt_compile
=`echo "$ac_compile" | $SED \
8193 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8194 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8195 -e 's:$: $lt_compiler_flag:'`
8196 (eval echo "\"\$as_me:8196: $lt_compile\"" >&5)
8197 (eval "$lt_compile" 2>out
/conftest.err
)
8199 cat out
/conftest.err
>&5
8200 echo "$as_me:8200: \$? = $ac_status" >&5
8201 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8203 # The compiler can only warn and ignore the option if not recognized
8204 # So say no if there are warnings
8205 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8206 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8207 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8208 lt_cv_prog_compiler_c_o
=yes
8213 # SGI C++ compiler will create directory out/ii_files/ for
8214 # template instantiation
8215 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8216 $rm out
/* && rmdir out
8222 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8223 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8226 hard_links
="nottested"
8227 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8228 # do not overwrite the value of need_locks provided by the user
8229 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8230 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8233 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8235 ln conftest.a conftest.b
2>&5 || hard_links
=no
8236 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8237 { echo "$as_me:$LINENO: result: $hard_links" >&5
8238 echo "${ECHO_T}$hard_links" >&6; }
8239 if test "$hard_links" = no
; then
8240 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8241 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8248 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8249 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8252 allow_undefined_flag
=
8253 enable_shared_with_static_runtimes
=no
8255 archive_expsym_cmds
=
8256 old_archive_From_new_cmds
=
8257 old_archive_from_expsyms_cmds
=
8258 export_dynamic_flag_spec
=
8259 whole_archive_flag_spec
=
8260 thread_safe_flag_spec
=
8261 hardcode_libdir_flag_spec
=
8262 hardcode_libdir_flag_spec_ld
=
8263 hardcode_libdir_separator
=
8266 hardcode_shlibpath_var
=unsupported
8267 link_all_deplibs
=unknown
8268 hardcode_automatic
=no
8271 always_export_symbols
=no
8272 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8273 # include_expsyms should be a list of space-separated symbols to be *always*
8274 # included in the symbol list
8276 # exclude_expsyms can be an extended regexp of symbols to exclude
8277 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8278 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8279 # as well as any symbol that contains `d'.
8280 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8281 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8282 # platforms (ab)use it in PIC code, but their linkers get confused if
8283 # the symbol is explicitly referenced. Since portable code cannot
8284 # rely on this symbol name, it's probably fine to never include it in
8285 # preloaded symbol tables.
8286 # Exclude shared library initialization/finalization symbols.
8287 extract_expsyms_cmds
=
8288 # Just being paranoid about ensuring that cc_basename is set.
8289 for cc_temp
in $compiler""; do
8291 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8292 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8297 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8300 cygwin
* | mingw
* | pw32
*)
8301 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8302 # When not using gcc, we currently assume that we are using
8303 # Microsoft Visual C++.
8304 if test "$GCC" != yes; then
8309 # we just hope/assume this is gcc and not c89 (= MSVC++)
8318 if test "$with_gnu_ld" = yes; then
8319 # If archive_cmds runs LD, not CC, wlarc should be empty
8322 # Set some defaults for GNU ld with shared library support. These
8323 # are reset later if shared libraries are not supported. Putting them
8324 # here allows them to be overridden if necessary.
8325 runpath_var
=LD_RUN_PATH
8326 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8327 export_dynamic_flag_spec
='${wl}--export-dynamic'
8328 # ancient GNU ld didn't support --whole-archive et. al.
8329 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8330 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8332 whole_archive_flag_spec
=
8334 supports_anon_versioning
=no
8335 case `$LD -v 2>/dev/null` in
8336 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8337 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8338 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8339 *\
2.11.
*) ;; # other 2.11 versions
8340 *) supports_anon_versioning
=yes ;;
8343 # See if GNU ld supports shared libraries.
8346 # On AIX/PPC, the GNU linker is very broken
8347 if test "$host_cpu" != ia64
; then
8351 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8352 *** to be unable to reliably create shared libraries on AIX.
8353 *** Therefore, libtool is disabling shared libraries support. If you
8354 *** really care for shared libraries, you may want to modify your PATH
8355 *** so that a non-GNU linker is found, and then restart.
8362 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)'
8363 hardcode_libdir_flag_spec
='-L$libdir'
8364 hardcode_minus_L
=yes
8366 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8367 # that the semantics of dynamic libraries on AmigaOS, at least up
8368 # to version 4, is to share data among multiple programs linked
8369 # with the same dynamic library. Since this doesn't match the
8370 # behavior of shared libraries on other platforms, we can't use
8376 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8377 allow_undefined_flag
=unsupported
8378 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8379 # support --undefined. This deserves some investigation. FIXME
8380 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8386 cygwin
* | mingw
* | pw32
*)
8387 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8388 # as there is no search path for DLLs.
8389 hardcode_libdir_flag_spec
='-L$libdir'
8390 allow_undefined_flag
=unsupported
8391 always_export_symbols
=no
8392 enable_shared_with_static_runtimes
=yes
8393 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8395 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8396 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8397 # If the export-symbols file already is a .def file (1st line
8398 # is EXPORTS), use it as is; otherwise, prepend...
8399 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8400 cp $export_symbols $output_objdir/$soname.def;
8402 echo EXPORTS > $output_objdir/$soname.def;
8403 cat $export_symbols >> $output_objdir/$soname.def;
8405 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8413 hardcode_shlibpath_var
=no
8414 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8415 export_dynamic_flag_spec
='${wl}-E'
8416 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8417 # Instead, shared libraries are loaded at an image base (0x10000000 by
8418 # default) and relocated if they conflict, which is a slow very memory
8419 # consuming and fragmenting process. To avoid this, we pick a random,
8420 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8421 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8422 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8423 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'
8426 gnu
* | linux
* | k
*bsd
*-gnu)
8427 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8429 case $cc_basename,$host_cpu in
8430 pgcc
*) # Portland Group C compiler
8431 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'
8432 tmp_addflag
=' $pic_flag'
8434 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8435 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'
8436 tmp_addflag
=' $pic_flag -Mnomain' ;;
8437 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8438 tmp_addflag
=' -i_dynamic' ;;
8439 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8440 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8441 ifc
* | ifort
*) # Intel Fortran compiler
8442 tmp_addflag
=' -nofor_main' ;;
8444 case `$CC -V 2>&1 | sed 5q` in
8445 *Sun\ C
*) # Sun C 5.9
8446 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'
8447 tmp_sharedflag
='-G' ;;
8448 *Sun\ F
*) # Sun Fortran 8.3
8449 tmp_sharedflag
='-G' ;;
8451 tmp_sharedflag
='-shared' ;;
8453 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8455 if test $supports_anon_versioning = yes; then
8456 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8457 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8458 $echo "local: *; };" >> $output_objdir/$libname.ver~
8459 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8467 netbsd
* | netbsdelf
*-gnu)
8468 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8469 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8472 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8473 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8478 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8482 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8483 *** create shared libraries on Solaris systems. Therefore, libtool
8484 *** is disabling shared libraries support. We urge you to upgrade GNU
8485 *** binutils to release 2.9.1 or newer. Another option is to modify
8486 *** your PATH or compiler configuration so that the native linker is
8487 *** used, and then restart.
8490 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8491 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8492 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8498 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8499 case `$LD -v 2>&1` in
8500 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8504 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8505 *** reliably create shared libraries on SCO systems. Therefore, libtool
8506 *** is disabling shared libraries support. We urge you to upgrade GNU
8507 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8508 *** your PATH or compiler configuration so that the native linker is
8509 *** used, and then restart.
8514 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8515 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8516 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8517 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8526 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8529 hardcode_shlibpath_var
=no
8533 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8534 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8535 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8542 if test "$ld_shlibs" = no
; then
8544 hardcode_libdir_flag_spec
=
8545 export_dynamic_flag_spec
=
8546 whole_archive_flag_spec
=
8549 # PORTME fill in a description of your system's linker (not GNU ld)
8552 allow_undefined_flag
=unsupported
8553 always_export_symbols
=yes
8554 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'
8555 # Note: this linker hardcodes the directories in LIBPATH if there
8556 # are no directories specified by -L.
8557 hardcode_minus_L
=yes
8558 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8559 # Neither direct hardcoding nor static linking is supported with a
8561 hardcode_direct
=unsupported
8566 if test "$host_cpu" = ia64
; then
8567 # On IA64, the linker does run time linking by default, so we don't
8568 # have to do anything special.
8569 aix_use_runtimelinking
=no
8570 exp_sym_flag
='-Bexport'
8573 # If we're using GNU nm, then we don't want the "-C" option.
8574 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8575 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8576 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'
8578 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'
8580 aix_use_runtimelinking
=no
8582 # Test if we are trying to use run time linking or normal
8583 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8584 # need to do runtime linking.
8585 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8586 for ld_flag
in $LDFLAGS; do
8587 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8588 aix_use_runtimelinking
=yes
8595 exp_sym_flag
='-bexport'
8596 no_entry_flag
='-bnoentry'
8599 # When large executables or shared objects are built, AIX ld can
8600 # have problems creating the table of contents. If linking a library
8601 # or program results in "error TOC overflow" add -mminimal-toc to
8602 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8603 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8607 hardcode_libdir_separator
=':'
8608 link_all_deplibs
=yes
8610 if test "$GCC" = yes; then
8611 case $host_os in aix4.
[012]|aix4.
[012].
*)
8612 # We only want to do this on AIX 4.2 and lower, the check
8613 # below for broken collect2 doesn't work under 4.3+
8614 collect2name
=`${CC} -print-prog-name=collect2`
8615 if test -f "$collect2name" && \
8616 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8618 # We have reworked collect2
8621 # We have old collect2
8622 hardcode_direct
=unsupported
8623 # It fails to find uninstalled libraries when the uninstalled
8624 # path is not listed in the libpath. Setting hardcode_minus_L
8625 # to unsupported forces relinking
8626 hardcode_minus_L
=yes
8627 hardcode_libdir_flag_spec
='-L$libdir'
8628 hardcode_libdir_separator
=
8632 shared_flag
='-shared'
8633 if test "$aix_use_runtimelinking" = yes; then
8634 shared_flag
="$shared_flag "'${wl}-G'
8638 if test "$host_cpu" = ia64
; then
8639 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8640 # chokes on -Wl,-G. The following line is correct:
8643 if test "$aix_use_runtimelinking" = yes; then
8644 shared_flag
='${wl}-G'
8646 shared_flag
='${wl}-bM:SRE'
8651 # It seems that -bexpall does not export symbols beginning with
8652 # underscore (_), so it is better to generate a list of symbols to export.
8653 always_export_symbols
=yes
8654 if test "$aix_use_runtimelinking" = yes; then
8655 # Warning - without using the other runtime loading flags (-brtl),
8656 # -berok will link without error, but may produce a broken library.
8657 allow_undefined_flag
='-berok'
8658 # Determine the default libpath from the value encoded in an empty executable.
8659 cat >conftest.
$ac_ext <<_ACEOF
8662 cat confdefs.h
>>conftest.
$ac_ext
8663 cat >>conftest.
$ac_ext <<_ACEOF
8664 /* end confdefs.h. */
8674 rm -f conftest.
$ac_objext conftest
$ac_exeext
8675 if { (ac_try
="$ac_link"
8677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8678 *) ac_try_echo=$ac_try;;
8680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8681 (eval "$ac_link") 2>conftest.er1
8683 grep -v '^ *+' conftest.er1 >conftest.err
8685 cat conftest.err >&5
8686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687 (exit $ac_status); } && {
8688 test -z "$ac_c_werror_flag" ||
8689 test ! -s conftest.err
8690 } && test -s conftest$ac_exeext &&
8691 $as_test_x conftest$ac_exeext; then
8693 lt_aix_libpath_sed='
8694 /Import File Strings/,/^$/ {
8700 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8701 # Check for a 64-bit object if we didn't find anything.
8702 if test -z "$aix_libpath"; then
8703 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8706 echo "$as_me: failed program was:" >&5
8707 sed 's/^/| /' conftest.$ac_ext >&5
8712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8713 conftest$ac_exeext conftest.$ac_ext
8714 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8716 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8717 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"
8719 if test "$host_cpu" = ia64; then
8720 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8721 allow_undefined_flag="-z nodefs"
8722 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"
8724 # Determine the default libpath from the value encoded in an empty executable.
8725 cat >conftest.$ac_ext <<_ACEOF
8728 cat confdefs.h >>conftest.$ac_ext
8729 cat >>conftest.$ac_ext <<_ACEOF
8730 /* end confdefs.h. */
8740 rm -f conftest.$ac_objext conftest$ac_exeext
8741 if { (ac_try="$ac_link"
8743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8744 *) ac_try_echo
=$ac_try;;
8746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8747 (eval "$ac_link") 2>conftest.er1
8749 grep -v '^ *+' conftest.er1
>conftest.err
8751 cat conftest.err
>&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); } && {
8754 test -z "$ac_c_werror_flag" ||
8755 test ! -s conftest.err
8756 } && test -s conftest
$ac_exeext &&
8757 $as_test_x conftest
$ac_exeext; then
8759 lt_aix_libpath_sed
='
8760 /Import File Strings/,/^$/ {
8766 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8767 # Check for a 64-bit object if we didn't find anything.
8768 if test -z "$aix_libpath"; then
8769 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8772 echo "$as_me: failed program was:" >&5
8773 sed 's/^/| /' conftest.
$ac_ext >&5
8778 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8779 conftest
$ac_exeext conftest.
$ac_ext
8780 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8782 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8783 # Warning - without using the other run time loading flags,
8784 # -berok will link without error, but may produce a broken library.
8785 no_undefined_flag
=' ${wl}-bernotok'
8786 allow_undefined_flag
=' ${wl}-berok'
8787 # Exported symbols can be pulled into shared objects from archives
8788 whole_archive_flag_spec
='$convenience'
8789 archive_cmds_need_lc
=yes
8790 # This is similar to how AIX traditionally builds its shared libraries.
8791 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'
8797 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)'
8798 hardcode_libdir_flag_spec
='-L$libdir'
8799 hardcode_minus_L
=yes
8800 # see comment about different semantics on the GNU ld section
8805 export_dynamic_flag_spec
=-rdynamic
8808 cygwin
* | mingw
* | pw32
*)
8809 # When not using gcc, we currently assume that we are using
8810 # Microsoft Visual C++.
8811 # hardcode_libdir_flag_spec is actually meaningless, as there is
8812 # no search path for DLLs.
8813 hardcode_libdir_flag_spec
=' '
8814 allow_undefined_flag
=unsupported
8815 # Tell ltmain to make .lib files, not .a files.
8817 # Tell ltmain to make .dll files, not .so files.
8819 # FIXME: Setting linknames here is a bad hack.
8820 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8821 # The linker will automatically build a .lib file if we build a DLL.
8822 old_archive_From_new_cmds
='true'
8823 # FIXME: Should let the user specify the lib program.
8824 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8825 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8826 enable_shared_with_static_runtimes
=yes
8829 darwin
* | rhapsody
*)
8831 rhapsody
* | darwin1.
[012])
8832 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8835 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8836 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8838 case ${MACOSX_DEPLOYMENT_TARGET} in
8840 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8843 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8849 archive_cmds_need_lc
=no
8851 hardcode_automatic
=yes
8852 hardcode_shlibpath_var
=unsupported
8853 whole_archive_flag_spec
=''
8854 link_all_deplibs
=yes
8855 if test "$GCC" = yes ; then
8856 output_verbose_link_cmd
='echo'
8857 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8858 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8859 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}"
8860 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}"
8862 case $cc_basename in
8864 output_verbose_link_cmd
='echo'
8865 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8866 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8867 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8868 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}'
8869 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}'
8879 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8880 hardcode_libdir_flag_spec
='-L$libdir'
8881 hardcode_shlibpath_var
=no
8888 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8889 # support. Future versions do this automatically, but an explicit c++rt0.o
8890 # does not break anything, and helps significantly (at the cost of a little
8893 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8894 hardcode_libdir_flag_spec
='-R$libdir'
8896 hardcode_shlibpath_var
=no
8899 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8901 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8903 hardcode_minus_L
=yes
8904 hardcode_shlibpath_var
=no
8907 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8908 freebsd
* | dragonfly
*)
8909 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8910 hardcode_libdir_flag_spec
='-R$libdir'
8912 hardcode_shlibpath_var
=no
8916 if test "$GCC" = yes; then
8917 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'
8919 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'
8921 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8922 hardcode_libdir_separator
=:
8925 # hardcode_minus_L: Not really in the search PATH,
8926 # but as the default location of the library.
8927 hardcode_minus_L
=yes
8928 export_dynamic_flag_spec
='${wl}-E'
8932 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8933 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8935 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8937 if test "$with_gnu_ld" = no
; then
8938 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8939 hardcode_libdir_separator
=:
8942 export_dynamic_flag_spec
='${wl}-E'
8944 # hardcode_minus_L: Not really in the search PATH,
8945 # but as the default location of the library.
8946 hardcode_minus_L
=yes
8951 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8954 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8957 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8960 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8966 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8969 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8972 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8976 if test "$with_gnu_ld" = no
; then
8977 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8978 hardcode_libdir_separator
=:
8982 hardcode_libdir_flag_spec_ld
='+b $libdir'
8984 hardcode_shlibpath_var
=no
8988 export_dynamic_flag_spec
='${wl}-E'
8990 # hardcode_minus_L: Not really in the search PATH,
8991 # but as the default location of the library.
8992 hardcode_minus_L
=yes
8998 irix5
* | irix6
* | nonstopux
*)
8999 if test "$GCC" = yes; then
9000 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'
9002 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'
9003 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9005 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9006 hardcode_libdir_separator
=:
9007 link_all_deplibs
=yes
9010 netbsd
* | netbsdelf
*-gnu)
9011 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9012 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9014 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9016 hardcode_libdir_flag_spec
='-R$libdir'
9018 hardcode_shlibpath_var
=no
9022 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9024 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9025 hardcode_libdir_separator
=:
9026 hardcode_shlibpath_var
=no
9030 if test -f /usr
/libexec
/ld.so
; then
9032 hardcode_shlibpath_var
=no
9033 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9034 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9035 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9036 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9037 export_dynamic_flag_spec
='${wl}-E'
9040 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9041 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9042 hardcode_libdir_flag_spec
='-R$libdir'
9045 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9046 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9056 hardcode_libdir_flag_spec
='-L$libdir'
9057 hardcode_minus_L
=yes
9058 allow_undefined_flag
=unsupported
9059 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'
9060 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9064 if test "$GCC" = yes; then
9065 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9066 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'
9068 allow_undefined_flag
=' -expect_unresolved \*'
9069 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'
9071 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9072 hardcode_libdir_separator
=:
9075 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9076 if test "$GCC" = yes; then
9077 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9078 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'
9079 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9081 allow_undefined_flag
=' -expect_unresolved \*'
9082 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'
9083 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9084 $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'
9086 # Both c and cxx compiler support -rpath directly
9087 hardcode_libdir_flag_spec
='-rpath $libdir'
9089 hardcode_libdir_separator
=:
9093 no_undefined_flag
=' -z text'
9094 if test "$GCC" = yes; then
9096 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9097 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9098 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9101 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9102 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9103 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9105 hardcode_libdir_flag_spec
='-R$libdir'
9106 hardcode_shlibpath_var
=no
9108 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9110 # The compiler driver will combine and reorder linker options,
9111 # but understands `-z linker_flag'. GCC discards it without `$wl',
9112 # but is careful enough not to reorder.
9113 # Supported since Solaris 2.6 (maybe 2.5.1?)
9114 if test "$GCC" = yes; then
9115 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9117 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9121 link_all_deplibs
=yes
9125 if test "x$host_vendor" = xsequent
; then
9126 # Use $CC to link under sequent, because it throws in some extra .o
9127 # files that make .init and .fini sections work.
9128 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9130 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9132 hardcode_libdir_flag_spec
='-L$libdir'
9134 hardcode_minus_L
=yes
9135 hardcode_shlibpath_var
=no
9139 case $host_vendor in
9141 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9142 hardcode_direct
=yes # is this really true???
9145 ## LD is ld it makes a PLAMLIB
9146 ## CC just makes a GrossModule.
9147 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9148 reload_cmds
='$CC -r -o $output$reload_objs'
9152 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9153 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9156 runpath_var
='LD_RUN_PATH'
9157 hardcode_shlibpath_var
=no
9161 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9162 hardcode_shlibpath_var
=no
9163 export_dynamic_flag_spec
='-Bexport'
9167 if test -d /usr
/nec
; then
9168 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9169 hardcode_shlibpath_var
=no
9170 runpath_var
=LD_RUN_PATH
9171 hardcode_runpath_var
=yes
9176 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9177 no_undefined_flag
='${wl}-z,text'
9178 archive_cmds_need_lc
=no
9179 hardcode_shlibpath_var
=no
9180 runpath_var
='LD_RUN_PATH'
9182 if test "$GCC" = yes; then
9183 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9184 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9186 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9187 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9191 sysv5
* | sco3.2v5
* | sco5v6
*)
9192 # Note: We can NOT use -z defs as we might desire, because we do not
9193 # link with -lc, and that would cause any symbols used from libc to
9194 # always be unresolved, which means just about no library would
9195 # ever link correctly. If we're not using GNU ld we use -z text
9196 # though, which does catch some bad symbols but isn't as heavy-handed
9198 no_undefined_flag
='${wl}-z,text'
9199 allow_undefined_flag
='${wl}-z,nodefs'
9200 archive_cmds_need_lc
=no
9201 hardcode_shlibpath_var
=no
9202 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9203 hardcode_libdir_separator
=':'
9204 link_all_deplibs
=yes
9205 export_dynamic_flag_spec
='${wl}-Bexport'
9206 runpath_var
='LD_RUN_PATH'
9208 if test "$GCC" = yes; then
9209 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9210 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9212 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9213 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9218 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9219 hardcode_libdir_flag_spec
='-L$libdir'
9220 hardcode_shlibpath_var
=no
9229 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9230 echo "${ECHO_T}$ld_shlibs" >&6; }
9231 test "$ld_shlibs" = no
&& can_build_shared
=no
9234 # Do we need to explicitly link libc?
9236 case "x$archive_cmds_need_lc" in
9238 # Assume -lc should be added
9239 archive_cmds_need_lc
=yes
9241 if test "$enable_shared" = yes && test "$GCC" = yes; then
9242 case $archive_cmds in
9244 # FIXME: we may have to deal with multi-command sequences.
9247 # Test whether the compiler implicitly links with -lc since on some
9248 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9249 # to ld, don't add -lc before -lgcc.
9250 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9251 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9253 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9256 (eval $ac_compile) 2>&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); } 2>conftest.err
; then
9262 libobjs
=conftest.
$ac_objext
9264 wl
=$lt_prog_compiler_wl
9265 pic_flag
=$lt_prog_compiler_pic
9271 lt_save_allow_undefined_flag
=$allow_undefined_flag
9272 allow_undefined_flag
=
9273 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9274 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); }
9279 archive_cmds_need_lc
=no
9281 archive_cmds_need_lc
=yes
9283 allow_undefined_flag
=$lt_save_allow_undefined_flag
9285 cat conftest.err
1>&5
9288 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9289 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9296 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9297 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9299 libname_spec
='lib$name'
9307 shlibpath_overrides_runpath
=unknown
9309 dynamic_linker
="$host_os ld.so"
9310 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9312 if test "$GCC" = yes; then
9314 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9315 *) lt_awk_arg
="/^libraries:/" ;;
9317 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9318 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
9319 # if the path contains ";" then we assume it to be the separator
9320 # otherwise default to the standard path separator (i.e. ":") - it is
9321 # assumed that no part of a normal pathname contains ";" but that should
9322 # okay in the real world where ";" in dirpaths is itself problematic.
9323 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9325 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9327 # Ok, now we have the path, separated by spaces, we can step through it
9328 # and add multilib dir if necessary.
9329 lt_tmp_lt_search_path_spec
=
9330 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9331 for lt_sys_path
in $lt_search_path_spec; do
9332 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9333 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9335 test -d "$lt_sys_path" && \
9336 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9339 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
9340 BEGIN {RS=" "; FS="/|\n";} {
9343 for (lt_i = NF; lt_i > 0; lt_i--) {
9344 if ($lt_i != "" && $lt_i != ".") {
9345 if ($lt_i == "..") {
9348 if (lt_count == 0) {
9349 lt_foo="/" $lt_i lt_foo;
9356 if (lt_foo != "") { lt_freq[lt_foo]++; }
9357 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9359 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9361 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9363 need_lib_prefix
=unknown
9364 hardcode_into_libs
=no
9366 # when you set need_version to no, make sure it does not cause -set_version
9367 # flags to be left without arguments
9368 need_version
=unknown
9373 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9374 shlibpath_var
=LIBPATH
9376 # AIX 3 has no versioning support, so we append a major version to the name.
9377 soname_spec
='${libname}${release}${shared_ext}$major'
9384 hardcode_into_libs
=yes
9385 if test "$host_cpu" = ia64
; then
9386 # AIX 5 supports IA64
9387 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9388 shlibpath_var
=LD_LIBRARY_PATH
9390 # With GCC up to 2.95.x, collect2 would create an import file
9391 # for dependence libraries. The import file would start with
9392 # the line `#! .'. This would cause the generated library to
9393 # depend on `.', always an invalid library. This was fixed in
9394 # development snapshots of GCC prior to 3.0.
9396 aix4 | aix4.
[01] | aix4.
[01].
*)
9397 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9399 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9406 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9407 # soname into executable. Probably we can add versioning support to
9408 # collect2, so additional links can be useful in future.
9409 if test "$aix_use_runtimelinking" = yes; then
9410 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9411 # instead of lib<name>.a to let people know that these are not
9412 # typical AIX shared libraries.
9413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9415 # We preserve .a as extension for shared libraries through AIX4.2
9416 # and later when we are not doing run time linking.
9417 library_names_spec
='${libname}${release}.a $libname.a'
9418 soname_spec
='${libname}${release}${shared_ext}$major'
9420 shlibpath_var
=LIBPATH
9425 library_names_spec
='$libname.ixlibrary $libname.a'
9426 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9427 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'
9431 library_names_spec
='${libname}${shared_ext}'
9432 dynamic_linker
="$host_os ld.so"
9433 shlibpath_var
=LIBRARY_PATH
9439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9440 soname_spec
='${libname}${release}${shared_ext}$major'
9441 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9442 shlibpath_var
=LD_LIBRARY_PATH
9443 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9444 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9445 # the default ld.so.conf also contains /usr/contrib/lib and
9446 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9447 # libtool to hard-code these into programs
9450 cygwin
* | mingw
* | pw32
*)
9451 version_type
=windows
9456 case $GCC,$host_os in
9457 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9458 library_names_spec
='$libname.dll.a'
9459 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9460 postinstall_cmds
='base_file=`basename \${file}`~
9461 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9462 dldir=$destdir/`dirname \$dlpath`~
9463 test -d \$dldir || mkdir -p \$dldir~
9464 $install_prog $dir/$dlname \$dldir/$dlname~
9465 chmod a+x \$dldir/$dlname'
9466 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9467 dlpath=$dir/\$dldll~
9469 shlibpath_overrides_runpath
=yes
9473 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9474 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9475 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9478 # MinGW DLLs use traditional 'lib' prefix
9479 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9480 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9481 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9482 # It is most probably a Windows format PATH printed by
9483 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9484 # path with ; separators, and with drive letters. We can handle the
9485 # drive letters (cygwin fileutils understands them), so leave them,
9486 # especially as we might pass files found there to a mingw objdump,
9487 # which wouldn't understand a cygwinified path. Ahh.
9488 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9490 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9494 # pw32 DLLs use 'pw' prefix rather than 'lib'
9495 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9501 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9504 dynamic_linker
='Win32 ld.exe'
9505 # FIXME: first we should search . and the directory the executable is in
9509 darwin
* | rhapsody
*)
9510 dynamic_linker
="$host_os dyld"
9514 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9515 soname_spec
='${libname}${release}${major}$shared_ext'
9516 shlibpath_overrides_runpath
=yes
9517 shlibpath_var
=DYLD_LIBRARY_PATH
9518 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9520 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9521 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9529 soname_spec
='${libname}${release}${shared_ext}$major'
9530 shlibpath_var
=LD_LIBRARY_PATH
9537 freebsd
* | dragonfly
*)
9538 # DragonFly does not have aout. When/if they implement a new
9539 # versioning mechanism, adjust this.
9540 if test -x /usr
/bin
/objformat
; then
9541 objformat
=`/usr/bin/objformat`
9544 freebsd
[123]*) objformat
=aout
;;
9548 version_type
=freebsd-
$objformat
9549 case $version_type in
9551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9556 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9560 shlibpath_var
=LD_LIBRARY_PATH
9563 shlibpath_overrides_runpath
=yes
9565 freebsd3.
[01]* | freebsdelf3.
[01]*)
9566 shlibpath_overrides_runpath
=yes
9567 hardcode_into_libs
=yes
9569 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9570 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9571 shlibpath_overrides_runpath
=no
9572 hardcode_into_libs
=yes
9574 *) # from 4.6 on, and DragonFly
9575 shlibpath_overrides_runpath
=yes
9576 hardcode_into_libs
=yes
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
9588 hardcode_into_libs
=yes
9591 hpux9
* | hpux10
* | hpux11
*)
9592 # Give a soname corresponding to the major version so that dld.sl refuses to
9593 # link against other versions.
9600 hardcode_into_libs
=yes
9601 dynamic_linker
="$host_os dld.so"
9602 shlibpath_var
=LD_LIBRARY_PATH
9603 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9605 soname_spec
='${libname}${release}${shared_ext}$major'
9606 if test "X$HPUX_IA64_MODE" = X32
; then
9607 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9609 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9611 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9615 hardcode_into_libs
=yes
9616 dynamic_linker
="$host_os dld.sl"
9617 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9618 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9620 soname_spec
='${libname}${release}${shared_ext}$major'
9621 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9622 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9626 dynamic_linker
="$host_os dld.sl"
9627 shlibpath_var
=SHLIB_PATH
9628 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9630 soname_spec
='${libname}${release}${shared_ext}$major'
9633 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9634 postinstall_cmds
='chmod 555 $lib'
9641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9642 soname_spec
='${libname}${release}${shared_ext}$major'
9643 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9644 shlibpath_var
=LD_LIBRARY_PATH
9645 shlibpath_overrides_runpath
=no
9646 hardcode_into_libs
=yes
9649 irix5
* | irix6
* | nonstopux
*)
9651 nonstopux
*) version_type
=nonstopux
;;
9653 if test "$lt_cv_prog_gnu_ld" = yes; then
9661 soname_spec
='${libname}${release}${shared_ext}$major'
9662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9664 irix5
* | nonstopux
*)
9668 case $LD in # libtool.m4 will add one of these switches to LD
9669 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9670 libsuff
= shlibsuff
= libmagic
=32-bit;;
9671 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9672 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9673 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9674 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9675 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9679 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9680 shlibpath_overrides_runpath
=no
9681 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9682 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9683 hardcode_into_libs
=yes
9686 # No shared lib support for Linux oldld, aout, or coff.
9687 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9691 # This must be Linux ELF.
9692 linux
* | k
*bsd
*-gnu)
9696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9697 soname_spec
='${libname}${release}${shared_ext}$major'
9698 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9699 shlibpath_var
=LD_LIBRARY_PATH
9700 shlibpath_overrides_runpath
=no
9701 # This implies no fast_install, which is unacceptable.
9702 # Some rework will be needed to allow for fast_install
9703 # before this can be enabled.
9704 hardcode_into_libs
=yes
9706 # Append ld.so.conf contents to the search path
9707 if test -f /etc
/ld.so.conf
; then
9708 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' ' '`
9709 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9712 # We used to test for /lib/ld.so.1 and disable shared libraries on
9713 # powerpc, because MkLinux only supported shared libraries with the
9714 # GNU dynamic linker. Since this was broken with cross compilers,
9715 # most powerpc-linux boxes support dynamic linking these days and
9716 # people can always --disable-shared, the test was removed, and we
9717 # assume the GNU/Linux dynamic linker is in use.
9718 dynamic_linker
='GNU/Linux ld.so'
9725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9726 soname_spec
='${libname}${release}${shared_ext}$major'
9727 shlibpath_var
=LD_LIBRARY_PATH
9728 shlibpath_overrides_runpath
=no
9729 hardcode_into_libs
=yes
9730 dynamic_linker
='NetBSD ld.elf_so'
9737 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9739 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9740 dynamic_linker
='NetBSD (a.out) ld.so'
9742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9743 soname_spec
='${libname}${release}${shared_ext}$major'
9744 dynamic_linker
='NetBSD ld.elf_so'
9746 shlibpath_var
=LD_LIBRARY_PATH
9747 shlibpath_overrides_runpath
=yes
9748 hardcode_into_libs
=yes
9753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9754 shlibpath_var
=LD_LIBRARY_PATH
9755 shlibpath_overrides_runpath
=yes
9762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9763 soname_spec
='${libname}${release}${shared_ext}$major'
9764 shlibpath_var
=LD_LIBRARY_PATH
9765 shlibpath_overrides_runpath
=yes
9770 sys_lib_dlsearch_path_spec
="/usr/lib"
9772 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9774 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9775 *) need_version
=no
;;
9777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9778 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9779 shlibpath_var
=LD_LIBRARY_PATH
9780 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9782 openbsd2.
[89] | openbsd2.
[89].
*)
9783 shlibpath_overrides_runpath
=no
9786 shlibpath_overrides_runpath
=yes
9790 shlibpath_overrides_runpath
=yes
9795 libname_spec
='$name'
9798 library_names_spec
='$libname${shared_ext} $libname.a'
9799 dynamic_linker
='OS/2 ld.exe'
9800 shlibpath_var
=LIBPATH
9803 osf3
* | osf4
* | osf5
*)
9807 soname_spec
='${libname}${release}${shared_ext}$major'
9808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9809 shlibpath_var
=LD_LIBRARY_PATH
9810 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9811 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9823 soname_spec
='${libname}${release}${shared_ext}$major'
9824 shlibpath_var
=LD_LIBRARY_PATH
9825 shlibpath_overrides_runpath
=yes
9826 hardcode_into_libs
=yes
9827 # ldd complains unless libraries are executable
9828 postinstall_cmds
='chmod +x $lib'
9833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9834 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9835 shlibpath_var
=LD_LIBRARY_PATH
9836 shlibpath_overrides_runpath
=yes
9837 if test "$with_gnu_ld" = yes; then
9845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9846 soname_spec
='${libname}${release}${shared_ext}$major'
9847 shlibpath_var
=LD_LIBRARY_PATH
9848 case $host_vendor in
9850 shlibpath_overrides_runpath
=no
9852 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9853 runpath_var
=LD_RUN_PATH
9861 shlibpath_overrides_runpath
=no
9862 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9868 if test -d /usr
/nec
;then
9870 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9871 soname_spec
='$libname${shared_ext}.$major'
9872 shlibpath_var
=LD_LIBRARY_PATH
9876 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9877 version_type
=freebsd-elf
9880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9881 soname_spec
='${libname}${release}${shared_ext}$major'
9882 shlibpath_var
=LD_LIBRARY_PATH
9883 hardcode_into_libs
=yes
9884 if test "$with_gnu_ld" = yes; then
9885 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9886 shlibpath_overrides_runpath
=no
9888 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9889 shlibpath_overrides_runpath
=yes
9892 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9896 sys_lib_dlsearch_path_spec
='/usr/lib'
9901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9902 soname_spec
='${libname}${release}${shared_ext}$major'
9903 shlibpath_var
=LD_LIBRARY_PATH
9910 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9911 echo "${ECHO_T}$dynamic_linker" >&6; }
9912 test "$dynamic_linker" = no
&& can_build_shared
=no
9914 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9915 echo $ECHO_N "(cached) $ECHO_C" >&6
9917 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
9920 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9921 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9922 echo $ECHO_N "(cached) $ECHO_C" >&6
9924 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
9927 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9929 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9930 if test "$GCC" = yes; then
9931 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9934 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9935 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9937 if test -n "$hardcode_libdir_flag_spec" || \
9938 test -n "$runpath_var" || \
9939 test "X$hardcode_automatic" = "Xyes" ; then
9941 # We can hardcode non-existant directories.
9942 if test "$hardcode_direct" != no
&&
9943 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9944 # have to relink, otherwise we might link with an installed library
9945 # when we should be linking with a yet-to-be-installed one
9946 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9947 test "$hardcode_minus_L" != no
; then
9948 # Linking always hardcodes the temporary library directory.
9949 hardcode_action
=relink
9951 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9952 hardcode_action
=immediate
9955 # We cannot hardcode anything, or else we can only hardcode existing
9957 hardcode_action
=unsupported
9959 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9960 echo "${ECHO_T}$hardcode_action" >&6; }
9962 if test "$hardcode_action" = relink
; then
9963 # Fast installation is not supported
9964 enable_fast_install
=no
9965 elif test "$shlibpath_overrides_runpath" = yes ||
9966 test "$enable_shared" = no
; then
9967 # Fast installation is not necessary
9968 enable_fast_install
=needless
9973 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9974 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9975 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9976 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9977 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9978 { echo "$as_me:$LINENO: result: yes" >&5
9979 echo "${ECHO_T}yes" >&6; }
9981 # FIXME - insert some real tests, host_os isn't really good enough
9984 if test -n "$STRIP" ; then
9985 striplib
="$STRIP -x"
9986 old_striplib
="$STRIP -S"
9987 { echo "$as_me:$LINENO: result: yes" >&5
9988 echo "${ECHO_T}yes" >&6; }
9990 { echo "$as_me:$LINENO: result: no" >&5
9991 echo "${ECHO_T}no" >&6; }
9995 { echo "$as_me:$LINENO: result: no" >&5
9996 echo "${ECHO_T}no" >&6; }
10001 if test "x$enable_dlopen" != xyes
; then
10002 enable_dlopen
=unknown
10003 enable_dlopen_self
=unknown
10004 enable_dlopen_self_static
=unknown
10011 lt_cv_dlopen
="load_add_on"
10013 lt_cv_dlopen_self
=yes
10017 lt_cv_dlopen
="LoadLibrary"
10022 lt_cv_dlopen
="dlopen"
10027 # if libdl is installed we need to link against it
10028 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10029 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10030 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10031 echo $ECHO_N "(cached) $ECHO_C" >&6
10033 ac_check_lib_save_LIBS
=$LIBS
10035 cat >conftest.
$ac_ext <<_ACEOF
10038 cat confdefs.h
>>conftest.
$ac_ext
10039 cat >>conftest.
$ac_ext <<_ACEOF
10040 /* end confdefs.h. */
10042 /* Override any GCC internal prototype to avoid an error.
10043 Use char because int might match the return type of a GCC
10044 builtin and then its argument prototype would still apply. */
10057 rm -f conftest.
$ac_objext conftest
$ac_exeext
10058 if { (ac_try
="$ac_link"
10059 case "(($ac_try" in
10060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10061 *) ac_try_echo=$ac_try;;
10063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10064 (eval "$ac_link") 2>conftest.er1
10066 grep -v '^ *+' conftest.er1 >conftest.err
10068 cat conftest.err >&5
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070 (exit $ac_status); } && {
10071 test -z "$ac_c_werror_flag" ||
10072 test ! -s conftest.err
10073 } && test -s conftest$ac_exeext &&
10074 $as_test_x conftest$ac_exeext; then
10075 ac_cv_lib_dl_dlopen=yes
10077 echo "$as_me: failed program was:" >&5
10078 sed 's/^/| /' conftest.$ac_ext >&5
10080 ac_cv_lib_dl_dlopen=no
10083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10084 conftest$ac_exeext conftest.$ac_ext
10085 LIBS=$ac_check_lib_save_LIBS
10087 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10088 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10089 if test $ac_cv_lib_dl_dlopen = yes; then
10090 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10093 lt_cv_dlopen="dyld"
10095 lt_cv_dlopen_self=yes
10102 { echo "$as_me:$LINENO: checking for shl_load" >&5
10103 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10104 if test "${ac_cv_func_shl_load+set}" = set; then
10105 echo $ECHO_N "(cached) $ECHO_C" >&6
10107 cat >conftest.$ac_ext <<_ACEOF
10110 cat confdefs.h >>conftest.$ac_ext
10111 cat >>conftest.$ac_ext <<_ACEOF
10112 /* end confdefs.h. */
10113 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10115 #define shl_load innocuous_shl_load
10117 /* System header to define __stub macros and hopefully few prototypes,
10118 which can conflict with char shl_load (); below.
10119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10120 <limits.h> exists even on freestanding compilers. */
10123 # include <limits.h>
10125 # include <assert.h>
10130 /* Override any GCC internal prototype to avoid an error.
10131 Use char because int might match the return type of a GCC
10132 builtin and then its argument prototype would still apply. */
10137 /* The GNU C library defines this for functions which it implements
10138 to always fail with ENOSYS. Some functions are actually named
10139 something starting with __ and the normal name is an alias. */
10140 #if defined __stub_shl_load || defined __stub___shl_load
10147 return shl_load ();
10152 rm -f conftest.$ac_objext conftest$ac_exeext
10153 if { (ac_try="$ac_link"
10154 case "(($ac_try" in
10155 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10156 *) ac_try_echo
=$ac_try;;
10158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10159 (eval "$ac_link") 2>conftest.er1
10161 grep -v '^ *+' conftest.er1
>conftest.err
10163 cat conftest.err
>&5
10164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10165 (exit $ac_status); } && {
10166 test -z "$ac_c_werror_flag" ||
10167 test ! -s conftest.err
10168 } && test -s conftest
$ac_exeext &&
10169 $as_test_x conftest
$ac_exeext; then
10170 ac_cv_func_shl_load
=yes
10172 echo "$as_me: failed program was:" >&5
10173 sed 's/^/| /' conftest.
$ac_ext >&5
10175 ac_cv_func_shl_load
=no
10178 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10179 conftest
$ac_exeext conftest.
$ac_ext
10181 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10182 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10183 if test $ac_cv_func_shl_load = yes; then
10184 lt_cv_dlopen
="shl_load"
10186 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10187 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10188 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10189 echo $ECHO_N "(cached) $ECHO_C" >&6
10191 ac_check_lib_save_LIBS
=$LIBS
10193 cat >conftest.
$ac_ext <<_ACEOF
10196 cat confdefs.h
>>conftest.
$ac_ext
10197 cat >>conftest.
$ac_ext <<_ACEOF
10198 /* end confdefs.h. */
10200 /* Override any GCC internal prototype to avoid an error.
10201 Use char because int might match the return type of a GCC
10202 builtin and then its argument prototype would still apply. */
10210 return shl_load ();
10215 rm -f conftest.
$ac_objext conftest
$ac_exeext
10216 if { (ac_try
="$ac_link"
10217 case "(($ac_try" in
10218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10219 *) ac_try_echo=$ac_try;;
10221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10222 (eval "$ac_link") 2>conftest.er1
10224 grep -v '^ *+' conftest.er1 >conftest.err
10226 cat conftest.err >&5
10227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228 (exit $ac_status); } && {
10229 test -z "$ac_c_werror_flag" ||
10230 test ! -s conftest.err
10231 } && test -s conftest$ac_exeext &&
10232 $as_test_x conftest$ac_exeext; then
10233 ac_cv_lib_dld_shl_load=yes
10235 echo "$as_me: failed program was:" >&5
10236 sed 's/^/| /' conftest.$ac_ext >&5
10238 ac_cv_lib_dld_shl_load=no
10241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10242 conftest$ac_exeext conftest.$ac_ext
10243 LIBS=$ac_check_lib_save_LIBS
10245 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10246 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10247 if test $ac_cv_lib_dld_shl_load = yes; then
10248 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10250 { echo "$as_me:$LINENO: checking for dlopen" >&5
10251 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10252 if test "${ac_cv_func_dlopen+set}" = set; then
10253 echo $ECHO_N "(cached) $ECHO_C" >&6
10255 cat >conftest.$ac_ext <<_ACEOF
10258 cat confdefs.h >>conftest.$ac_ext
10259 cat >>conftest.$ac_ext <<_ACEOF
10260 /* end confdefs.h. */
10261 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10263 #define dlopen innocuous_dlopen
10265 /* System header to define __stub macros and hopefully few prototypes,
10266 which can conflict with char dlopen (); below.
10267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10268 <limits.h> exists even on freestanding compilers. */
10271 # include <limits.h>
10273 # include <assert.h>
10278 /* Override any GCC internal prototype to avoid an error.
10279 Use char because int might match the return type of a GCC
10280 builtin and then its argument prototype would still apply. */
10285 /* The GNU C library defines this for functions which it implements
10286 to always fail with ENOSYS. Some functions are actually named
10287 something starting with __ and the normal name is an alias. */
10288 #if defined __stub_dlopen || defined __stub___dlopen
10300 rm -f conftest.$ac_objext conftest$ac_exeext
10301 if { (ac_try="$ac_link"
10302 case "(($ac_try" in
10303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10304 *) ac_try_echo
=$ac_try;;
10306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10307 (eval "$ac_link") 2>conftest.er1
10309 grep -v '^ *+' conftest.er1
>conftest.err
10311 cat conftest.err
>&5
10312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 (exit $ac_status); } && {
10314 test -z "$ac_c_werror_flag" ||
10315 test ! -s conftest.err
10316 } && test -s conftest
$ac_exeext &&
10317 $as_test_x conftest
$ac_exeext; then
10318 ac_cv_func_dlopen
=yes
10320 echo "$as_me: failed program was:" >&5
10321 sed 's/^/| /' conftest.
$ac_ext >&5
10323 ac_cv_func_dlopen
=no
10326 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10327 conftest
$ac_exeext conftest.
$ac_ext
10329 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10330 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10331 if test $ac_cv_func_dlopen = yes; then
10332 lt_cv_dlopen
="dlopen"
10334 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10335 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10336 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10337 echo $ECHO_N "(cached) $ECHO_C" >&6
10339 ac_check_lib_save_LIBS
=$LIBS
10341 cat >conftest.
$ac_ext <<_ACEOF
10344 cat confdefs.h
>>conftest.
$ac_ext
10345 cat >>conftest.
$ac_ext <<_ACEOF
10346 /* end confdefs.h. */
10348 /* Override any GCC internal prototype to avoid an error.
10349 Use char because int might match the return type of a GCC
10350 builtin and then its argument prototype would still apply. */
10363 rm -f conftest.
$ac_objext conftest
$ac_exeext
10364 if { (ac_try
="$ac_link"
10365 case "(($ac_try" in
10366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10367 *) ac_try_echo=$ac_try;;
10369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10370 (eval "$ac_link") 2>conftest.er1
10372 grep -v '^ *+' conftest.er1 >conftest.err
10374 cat conftest.err >&5
10375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376 (exit $ac_status); } && {
10377 test -z "$ac_c_werror_flag" ||
10378 test ! -s conftest.err
10379 } && test -s conftest$ac_exeext &&
10380 $as_test_x conftest$ac_exeext; then
10381 ac_cv_lib_dl_dlopen=yes
10383 echo "$as_me: failed program was:" >&5
10384 sed 's/^/| /' conftest.$ac_ext >&5
10386 ac_cv_lib_dl_dlopen=no
10389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10390 conftest$ac_exeext conftest.$ac_ext
10391 LIBS=$ac_check_lib_save_LIBS
10393 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10394 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10395 if test $ac_cv_lib_dl_dlopen = yes; then
10396 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10398 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10399 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10400 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10401 echo $ECHO_N "(cached) $ECHO_C" >&6
10403 ac_check_lib_save_LIBS=$LIBS
10404 LIBS="-lsvld $LIBS"
10405 cat >conftest.$ac_ext <<_ACEOF
10408 cat confdefs.h >>conftest.$ac_ext
10409 cat >>conftest.$ac_ext <<_ACEOF
10410 /* end confdefs.h. */
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10427 rm -f conftest.$ac_objext conftest$ac_exeext
10428 if { (ac_try="$ac_link"
10429 case "(($ac_try" in
10430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10431 *) ac_try_echo
=$ac_try;;
10433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10434 (eval "$ac_link") 2>conftest.er1
10436 grep -v '^ *+' conftest.er1
>conftest.err
10438 cat conftest.err
>&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); } && {
10441 test -z "$ac_c_werror_flag" ||
10442 test ! -s conftest.err
10443 } && test -s conftest
$ac_exeext &&
10444 $as_test_x conftest
$ac_exeext; then
10445 ac_cv_lib_svld_dlopen
=yes
10447 echo "$as_me: failed program was:" >&5
10448 sed 's/^/| /' conftest.
$ac_ext >&5
10450 ac_cv_lib_svld_dlopen
=no
10453 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10454 conftest
$ac_exeext conftest.
$ac_ext
10455 LIBS
=$ac_check_lib_save_LIBS
10457 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10458 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10459 if test $ac_cv_lib_svld_dlopen = yes; then
10460 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10462 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10463 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10464 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10465 echo $ECHO_N "(cached) $ECHO_C" >&6
10467 ac_check_lib_save_LIBS
=$LIBS
10469 cat >conftest.
$ac_ext <<_ACEOF
10472 cat confdefs.h
>>conftest.
$ac_ext
10473 cat >>conftest.
$ac_ext <<_ACEOF
10474 /* end confdefs.h. */
10476 /* Override any GCC internal prototype to avoid an error.
10477 Use char because int might match the return type of a GCC
10478 builtin and then its argument prototype would still apply. */
10486 return dld_link ();
10491 rm -f conftest.
$ac_objext conftest
$ac_exeext
10492 if { (ac_try
="$ac_link"
10493 case "(($ac_try" in
10494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10495 *) ac_try_echo=$ac_try;;
10497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10498 (eval "$ac_link") 2>conftest.er1
10500 grep -v '^ *+' conftest.er1 >conftest.err
10502 cat conftest.err >&5
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); } && {
10505 test -z "$ac_c_werror_flag" ||
10506 test ! -s conftest.err
10507 } && test -s conftest$ac_exeext &&
10508 $as_test_x conftest$ac_exeext; then
10509 ac_cv_lib_dld_dld_link=yes
10511 echo "$as_me: failed program was:" >&5
10512 sed 's/^/| /' conftest.$ac_ext >&5
10514 ac_cv_lib_dld_dld_link=no
10517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10518 conftest$ac_exeext conftest.$ac_ext
10519 LIBS=$ac_check_lib_save_LIBS
10521 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10522 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10523 if test $ac_cv_lib_dld_dld_link = yes; then
10524 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10545 if test "x$lt_cv_dlopen" != xno; then
10551 case $lt_cv_dlopen in
10553 save_CPPFLAGS="$CPPFLAGS"
10554 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10556 save_LDFLAGS="$LDFLAGS"
10557 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10560 LIBS="$lt_cv_dlopen_libs $LIBS"
10562 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10563 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10564 if test "${lt_cv_dlopen_self+set}" = set; then
10565 echo $ECHO_N "(cached) $ECHO_C" >&6
10567 if test "$cross_compiling" = yes; then :
10568 lt_cv_dlopen_self=cross
10570 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10571 lt_status=$lt_dlunknown
10572 cat > conftest.$ac_ext <<EOF
10573 #line 10573 "configure"
10574 #include "confdefs.h"
10583 # define LT_DLGLOBAL RTLD_GLOBAL
10586 # define LT_DLGLOBAL DL_GLOBAL
10588 # define LT_DLGLOBAL 0
10592 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10593 find out it does not work in some platform. */
10594 #ifndef LT_DLLAZY_OR_NOW
10596 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10599 # define LT_DLLAZY_OR_NOW DL_LAZY
10602 # define LT_DLLAZY_OR_NOW RTLD_NOW
10605 # define LT_DLLAZY_OR_NOW DL_NOW
10607 # define LT_DLLAZY_OR_NOW 0
10615 extern "C" void exit (int);
10618 void fnord() { int i=42;}
10621 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10622 int status = $lt_dlunknown;
10626 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10627 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10628 /* dlclose (self); */
10636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10637 (eval $ac_link) 2>&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10641 (./conftest; exit; ) >&5 2>/dev/null
10643 case x$lt_status in
10644 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10645 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10646 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10649 # compilation failed
10650 lt_cv_dlopen_self=no
10657 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10658 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10660 if test "x$lt_cv_dlopen_self" = xyes; then
10661 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10662 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10663 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10664 if test "${lt_cv_dlopen_self_static+set}" = set; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 if test "$cross_compiling" = yes; then :
10668 lt_cv_dlopen_self_static=cross
10670 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10671 lt_status=$lt_dlunknown
10672 cat > conftest.$ac_ext <<EOF
10673 #line 10673 "configure"
10674 #include "confdefs.h"
10683 # define LT_DLGLOBAL RTLD_GLOBAL
10686 # define LT_DLGLOBAL DL_GLOBAL
10688 # define LT_DLGLOBAL 0
10692 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10693 find out it does not work in some platform. */
10694 #ifndef LT_DLLAZY_OR_NOW
10696 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10699 # define LT_DLLAZY_OR_NOW DL_LAZY
10702 # define LT_DLLAZY_OR_NOW RTLD_NOW
10705 # define LT_DLLAZY_OR_NOW DL_NOW
10707 # define LT_DLLAZY_OR_NOW 0
10715 extern "C" void exit (int);
10718 void fnord() { int i=42;}
10721 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10722 int status = $lt_dlunknown;
10726 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10727 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10728 /* dlclose (self); */
10736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10737 (eval $ac_link) 2>&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10741 (./conftest; exit; ) >&5 2>/dev/null
10743 case x$lt_status in
10744 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10745 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10746 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10749 # compilation failed
10750 lt_cv_dlopen_self_static=no
10757 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10758 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10761 CPPFLAGS="$save_CPPFLAGS"
10762 LDFLAGS="$save_LDFLAGS"
10767 case $lt_cv_dlopen_self in
10768 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10769 *) enable_dlopen_self=unknown ;;
10772 case $lt_cv_dlopen_self_static in
10773 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10774 *) enable_dlopen_self_static=unknown ;;
10779 # Report which library types will actually be built
10780 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10781 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10782 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10783 echo "${ECHO_T}$can_build_shared" >&6; }
10785 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10786 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10787 test "$can_build_shared" = "no" && enable_shared=no
10789 # On AIX, shared libraries and static libraries use the same namespace, and
10790 # are all built from PIC.
10793 test "$enable_shared" = yes && enable_static=no
10794 if test -n "$RANLIB"; then
10795 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10796 postinstall_cmds='$RANLIB $lib'
10801 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10802 test "$enable_shared" = yes && enable_static=no
10806 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10807 echo "${ECHO_T}$enable_shared" >&6; }
10809 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10810 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10811 # Make sure either enable_shared or enable_static is yes.
10812 test "$enable_shared" = yes || enable_static=yes
10813 { echo "$as_me:$LINENO: result: $enable_static" >&5
10814 echo "${ECHO_T}$enable_static" >&6; }
10816 # The else clause should only fire when bootstrapping the
10817 # libtool distribution, otherwise you forgot to ship ltmain.sh
10818 # with your package, and you will get complaints that there are
10819 # no rules to generate ltmain.sh.
10820 if test -f "$ltmain"; then
10821 # See if we are running on zsh, and set the options which allow our commands through
10822 # without removal of \ escapes.
10823 if test -n "${ZSH_VERSION+set}" ; then
10824 setopt NO_GLOB_SUBST
10826 # Now quote all the things that may contain metacharacters while being
10827 # careful not to overquote the AC_SUBSTed values. We take copies of the
10828 # variables and quote the copies for generation of the libtool script.
10829 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10831 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10832 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10833 deplibs_check_method reload_flag reload_cmds need_locks \
10834 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10835 lt_cv_sys_global_symbol_to_c_name_address \
10836 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10837 old_postinstall_cmds old_postuninstall_cmds \
10841 lt_prog_compiler_wl \
10842 lt_prog_compiler_pic \
10843 lt_prog_compiler_static \
10844 lt_prog_compiler_no_builtin_flag \
10845 export_dynamic_flag_spec \
10846 thread_safe_flag_spec \
10847 whole_archive_flag_spec \
10848 enable_shared_with_static_runtimes \
10850 old_archive_from_new_cmds \
10855 compiler_lib_search_path \
10856 compiler_lib_search_dirs \
10858 archive_expsym_cmds \
10860 postuninstall_cmds \
10861 old_archive_from_expsyms_cmds \
10862 allow_undefined_flag \
10863 no_undefined_flag \
10864 export_symbols_cmds \
10865 hardcode_libdir_flag_spec \
10866 hardcode_libdir_flag_spec_ld \
10867 hardcode_libdir_separator \
10868 hardcode_automatic \
10870 module_expsym_cmds \
10871 lt_cv_prog_compiler_c_o \
10874 include_expsyms; do
10877 old_archive_cmds | \
10878 old_archive_from_new_cmds | \
10880 archive_expsym_cmds | \
10882 module_expsym_cmds | \
10883 old_archive_from_expsyms_cmds | \
10884 export_symbols_cmds | \
10885 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10886 postinstall_cmds | postuninstall_cmds | \
10887 old_postinstall_cmds | old_postuninstall_cmds | \
10888 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10889 # Double-quote double-evaled strings.
10890 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10893 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10899 *'\$0 --fallback-echo"')
10900 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10904 cfgfile="${ofile}T"
10905 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10907 { echo "$as_me:$LINENO: creating $ofile" >&5
10908 echo "$as_me: creating $ofile" >&6;}
10910 cat <<__EOF__ >> "$cfgfile"
10913 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10914 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10915 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10917 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10918 # Free Software Foundation, Inc.
10920 # This file is part of GNU Libtool:
10921 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10923 # This program is free software; you can redistribute it and/or modify
10924 # it under the terms of the GNU General Public License as published by
10925 # the Free Software Foundation; either version 2 of the License, or
10926 # (at your option) any later version.
10928 # This program is distributed in the hope that it will be useful, but
10929 # WITHOUT ANY WARRANTY; without even the implied warranty of
10930 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10931 # General Public License for more details.
10933 # You should have received a copy of the GNU General Public License
10934 # along with this program; if not, write to the Free Software
10935 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10937 # As a special exception to the GNU General Public License, if you
10938 # distribute this file as part of a program that contains a
10939 # configuration script generated by Autoconf, you may include it under
10940 # the same distribution terms that you use for the rest of that program.
10942 # A sed program that does not truncate output.
10945 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10946 Xsed="$SED -e 1s/^X//"
10948 # The HP-UX ksh and POSIX shell print the target directory to stdout
10949 # if CDPATH is set.
10950 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10952 # The names of the tagged configurations supported by this script.
10955 # ### BEGIN LIBTOOL CONFIG
10957 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10959 # Shell to use when invoking shell scripts.
10962 # Whether or not to build shared libraries.
10963 build_libtool_libs=$enable_shared
10965 # Whether or not to build static libraries.
10966 build_old_libs=$enable_static
10968 # Whether or not to add -lc for building shared libraries.
10969 build_libtool_need_lc=$archive_cmds_need_lc
10971 # Whether or not to disallow shared libs when runtime libs are static
10972 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10974 # Whether or not to optimize for fast installation.
10975 fast_install=$enable_fast_install
10978 host_alias=$host_alias
10982 # The build system.
10983 build_alias=$build_alias
10987 # An echo program that does not interpret backslashes.
10992 AR_FLAGS=$lt_AR_FLAGS
10997 # LTCC compiler flags.
10998 LTCFLAGS=$lt_LTCFLAGS
11000 # A language-specific compiler.
11003 # Is the compiler the GNU C compiler?
11009 # The linker used to build libraries.
11012 # Whether we need hard or soft links.
11015 # A BSD-compatible nm program.
11018 # A symbol stripping program
11021 # Used to examine libraries when file_magic_cmd begins "file"
11022 MAGIC_CMD=$MAGIC_CMD
11024 # Used on cygwin: DLL creation program.
11027 # Used on cygwin: object dumper.
11030 # Used on cygwin: assembler.
11033 # The name of the directory that contains temporary libtool files.
11036 # How to create reloadable object files.
11037 reload_flag=$lt_reload_flag
11038 reload_cmds=$lt_reload_cmds
11040 # How to pass a linker flag through the compiler.
11041 wl=$lt_lt_prog_compiler_wl
11043 # Object file suffix (normally "o").
11044 objext="$ac_objext"
11046 # Old archive suffix (normally "a").
11049 # Shared library suffix (normally ".so").
11050 shrext_cmds='$shrext_cmds'
11052 # Executable file suffix (normally "").
11055 # Additional compiler flags for building library objects.
11056 pic_flag=$lt_lt_prog_compiler_pic
11059 # What is the maximum length of a command?
11060 max_cmd_len=$lt_cv_sys_max_cmd_len
11062 # Does compiler simultaneously support -c and -o options?
11063 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11065 # Must we lock files when doing compilation?
11066 need_locks=$lt_need_locks
11068 # Do we need the lib prefix for modules?
11069 need_lib_prefix=$need_lib_prefix
11071 # Do we need a version for libraries?
11072 need_version=$need_version
11074 # Whether dlopen is supported.
11075 dlopen_support=$enable_dlopen
11077 # Whether dlopen of programs is supported.
11078 dlopen_self=$enable_dlopen_self
11080 # Whether dlopen of statically linked programs is supported.
11081 dlopen_self_static=$enable_dlopen_self_static
11083 # Compiler flag to prevent dynamic linking.
11084 link_static_flag=$lt_lt_prog_compiler_static
11086 # Compiler flag to turn off builtin functions.
11087 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11089 # Compiler flag to allow reflexive dlopens.
11090 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11092 # Compiler flag to generate shared objects directly from archives.
11093 whole_archive_flag_spec=$lt_whole_archive_flag_spec
11095 # Compiler flag to generate thread-safe objects.
11096 thread_safe_flag_spec=$lt_thread_safe_flag_spec
11098 # Library versioning type.
11099 version_type=$version_type
11101 # Format of library name prefix.
11102 libname_spec=$lt_libname_spec
11104 # List of archive names. First name is the real one, the rest are links.
11105 # The last name is the one that the linker finds with -lNAME.
11106 library_names_spec=$lt_library_names_spec
11108 # The coded name of the library, if different from the real name.
11109 soname_spec=$lt_soname_spec
11111 # Commands used to build and install an old-style archive.
11113 old_archive_cmds=$lt_old_archive_cmds
11114 old_postinstall_cmds=$lt_old_postinstall_cmds
11115 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11117 # Create an old-style archive from a shared archive.
11118 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11120 # Create a temporary old-style archive to link instead of a shared archive.
11121 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11123 # Commands used to build and install a shared archive.
11124 archive_cmds=$lt_archive_cmds
11125 archive_expsym_cmds=$lt_archive_expsym_cmds
11126 postinstall_cmds=$lt_postinstall_cmds
11127 postuninstall_cmds=$lt_postuninstall_cmds
11129 # Commands used to build a loadable module (assumed same as above if empty)
11130 module_cmds=$lt_module_cmds
11131 module_expsym_cmds=$lt_module_expsym_cmds
11133 # Commands to strip libraries.
11134 old_striplib=$lt_old_striplib
11135 striplib=$lt_striplib
11137 # Dependencies to place before the objects being linked to create a
11139 predep_objects=$lt_predep_objects
11141 # Dependencies to place after the objects being linked to create a
11143 postdep_objects=$lt_postdep_objects
11145 # Dependencies to place before the objects being linked to create a
11147 predeps=$lt_predeps
11149 # Dependencies to place after the objects being linked to create a
11151 postdeps=$lt_postdeps
11153 # The directories searched by this compiler when creating a shared
11155 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11157 # The library search path used internally by the compiler when linking
11158 # a shared library.
11159 compiler_lib_search_path=$lt_compiler_lib_search_path
11161 # Method to check whether dependent libraries are shared objects.
11162 deplibs_check_method=$lt_deplibs_check_method
11164 # Command to use when deplibs_check_method == file_magic.
11165 file_magic_cmd=$lt_file_magic_cmd
11167 # Flag that allows shared libraries with undefined symbols to be built.
11168 allow_undefined_flag=$lt_allow_undefined_flag
11170 # Flag that forces no undefined symbols.
11171 no_undefined_flag=$lt_no_undefined_flag
11173 # Commands used to finish a libtool library installation in a directory.
11174 finish_cmds=$lt_finish_cmds
11176 # Same as above, but a single script fragment to be evaled but not shown.
11177 finish_eval=$lt_finish_eval
11179 # Take the output of nm and produce a listing of raw symbols and C names.
11180 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11182 # Transform the output of nm in a proper C declaration
11183 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11185 # Transform the output of nm in a C name address pair
11186 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11188 # This is the shared library runtime path variable.
11189 runpath_var=$runpath_var
11191 # This is the shared library path variable.
11192 shlibpath_var=$shlibpath_var
11194 # Is shlibpath searched before the hard-coded library search path?
11195 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11197 # How to hardcode a shared library path into an executable.
11198 hardcode_action=$hardcode_action
11200 # Whether we should hardcode library paths into libraries.
11201 hardcode_into_libs=$hardcode_into_libs
11203 # Flag to hardcode \$libdir into a binary during linking.
11204 # This must work even if \$libdir does not exist.
11205 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11207 # If ld is used when linking, flag to hardcode \$libdir into
11208 # a binary during linking. This must work even if \$libdir does
11210 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11212 # Whether we need a single -rpath flag with a separated argument.
11213 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11215 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11216 # resulting binary.
11217 hardcode_direct=$hardcode_direct
11219 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11220 # resulting binary.
11221 hardcode_minus_L=$hardcode_minus_L
11223 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11224 # the resulting binary.
11225 hardcode_shlibpath_var=$hardcode_shlibpath_var
11227 # Set to yes if building a shared library automatically hardcodes DIR into the library
11228 # and all subsequent libraries and executables linked against it.
11229 hardcode_automatic=$hardcode_automatic
11231 # Variables whose values should be saved in libtool wrapper scripts and
11232 # restored at relink time.
11233 variables_saved_for_relink="$variables_saved_for_relink"
11235 # Whether libtool must link a program against all its dependency libraries.
11236 link_all_deplibs=$link_all_deplibs
11238 # Compile-time system search path for libraries
11239 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11241 # Run-time system search path for libraries
11242 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11244 # Fix the shell variable \$srcfile for the compiler.
11245 fix_srcfile_path=$lt_fix_srcfile_path
11247 # Set to yes if exported symbols are required.
11248 always_export_symbols=$always_export_symbols
11250 # The commands to list exported symbols.
11251 export_symbols_cmds=$lt_export_symbols_cmds
11253 # The commands to extract the exported symbol list from a shared archive.
11254 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11256 # Symbols that should not be listed in the preloaded symbols.
11257 exclude_expsyms=$lt_exclude_expsyms
11259 # Symbols that must always be exported.
11260 include_expsyms=$lt_include_expsyms
11262 # ### END LIBTOOL CONFIG
11269 cat <<\EOF >> "$cfgfile"
11271 # AIX sometimes has problems with the GCC collect2 program. For some
11272 # reason, if we set the COLLECT_NAMES environment variable, the problems
11273 # vanish in a puff of smoke.
11274 if test "X${COLLECT_NAMES+set}" != Xset; then
11276 export COLLECT_NAMES
11282 # We use sed instead of cat because bash on DJGPP gets confused if
11283 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11284 # text mode, it properly converts lines to CR/LF. This bash problem
11285 # is reportedly fixed, but why not run on old versions too?
11286 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11288 mv -f "$cfgfile" "$ofile" || \
11289 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11293 # If there is no Makefile yet, we rely on a make rule to execute
11294 # `config.status
--recheck' to rerun these tests and create the
11295 # libtool script then.
11296 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11297 if test -f "$ltmain_in"; then
11298 test -f Makefile && make "$ltmain"
11304 ac_cpp='$CPP $CPPFLAGS'
11305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11306 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11312 # Check whether --with-tags was given.
11313 if test "${with_tags+set}" = set; then
11314 withval=$with_tags; tagnames="$withval"
11318 if test -f "$ltmain" && test -n "$tagnames"; then
11319 if test ! -f "${ofile}"; then
11320 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11321 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11324 if test -z "$LTCC"; then
11325 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11326 if test -z "$LTCC"; then
11327 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11328 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11330 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11331 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11334 if test -z "$LTCFLAGS"; then
11335 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11338 # Extract list of available tagged configurations in $ofile.
11339 # Note that this assumes the entire list is on one line.
11340 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11342 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11343 for tagname in $tagnames; do
11345 # Check whether tagname contains only valid characters
11346 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11348 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11349 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11350 { (exit 1); exit 1; }; }
11354 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11356 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11357 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11358 { (exit 1); exit 1; }; }
11361 # Update the list of available tags.
11362 if test -n "$tagname"; then
11363 echo appending configuration tag \"$tagname\" to $ofile
11367 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11368 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11369 (test "X$CXX" != "Xg++"))) ; then
11371 ac_cpp='$CXXCPP $CPPFLAGS'
11372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11379 archive_cmds_need_lc_CXX=no
11380 allow_undefined_flag_CXX=
11381 always_export_symbols_CXX=no
11382 archive_expsym_cmds_CXX=
11383 export_dynamic_flag_spec_CXX=
11384 hardcode_direct_CXX=no
11385 hardcode_libdir_flag_spec_CXX=
11386 hardcode_libdir_flag_spec_ld_CXX=
11387 hardcode_libdir_separator_CXX=
11388 hardcode_minus_L_CXX=no
11389 hardcode_shlibpath_var_CXX=unsupported
11390 hardcode_automatic_CXX=no
11392 module_expsym_cmds_CXX=
11393 link_all_deplibs_CXX=unknown
11394 old_archive_cmds_CXX=$old_archive_cmds
11395 no_undefined_flag_CXX=
11396 whole_archive_flag_spec_CXX=
11397 enable_shared_with_static_runtimes_CXX=no
11399 # Dependencies to place before and after the object being linked:
11400 predep_objects_CXX=
11401 postdep_objects_CXX=
11404 compiler_lib_search_path_CXX=
11405 compiler_lib_search_dirs_CXX=
11407 # Source file extension for C++ test sources.
11410 # Object file extension for compiled C++ test sources.
11414 # Code to be used in simple compile tests
11415 lt_simple_compile_test_code="int some_variable = 0;"
11417 # Code to be used in simple link tests
11418 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11420 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11422 # If no C compiler was specified, use CC.
11425 # If no C compiler flags were specified, use CFLAGS.
11426 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11428 # Allow CC to be a program name with arguments.
11432 # save warnings/boilerplate of simple test code
11433 ac_outfile=conftest.$ac_objext
11434 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11435 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11436 _lt_compiler_boilerplate=`cat conftest.err
`
11439 ac_outfile=conftest.$ac_objext
11440 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11441 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11442 _lt_linker_boilerplate=`cat conftest.err
`
11446 # Allow CC to be a program name with arguments.
11451 lt_save_with_gnu_ld=$with_gnu_ld
11452 lt_save_path_LD=$lt_cv_path_LD
11453 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11454 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11456 $as_unset lt_cv_prog_gnu_ld
11458 if test -n "${lt_cv_path_LDCXX+set}"; then
11459 lt_cv_path_LD=$lt_cv_path_LDCXX
11461 $as_unset lt_cv_path_LD
11463 test -z "${LDCXX+set}" || LD=$LDCXX
11467 for cc_temp in $compiler""; do
11469 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11470 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11475 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11478 # We don't want -fno-exception wen compiling C++ code, so set the
11479 # no_builtin_flag separately
11480 if test "$GXX" = yes; then
11481 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11483 lt_prog_compiler_no_builtin_flag_CXX=
11486 if test "$GXX" = yes; then
11487 # Set up default GNU C++ configuration
11490 # Check whether --with-gnu-ld was given.
11491 if test "${with_gnu_ld+set}" = set; then
11492 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11498 if test "$GCC" = yes; then
11499 # Check if gcc -print-prog-name=ld gives a path.
11500 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11501 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11504 # gcc leaves a trailing carriage return which upsets mingw
11505 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11507 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11510 # Accept absolute paths.
11512 re_direlt='/[^/][^/]*/\.\./'
11513 # Canonicalize the pathname of ld
11514 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11515 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11516 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11518 test -z "$LD" && LD="$ac_prog"
11521 # If it fails, then pretend we aren't using GCC.
11525 # If it is relative, then search for the first ld in PATH.
11526 with_gnu_ld=unknown
11529 elif test "$with_gnu_ld" = yes; then
11530 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11531 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11533 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11534 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11536 if test "${lt_cv_path_LD+set}" = set; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11539 if test -z "$LD"; then
11540 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11541 for ac_dir in $PATH; do
11543 test -z "$ac_dir" && ac_dir=.
11544 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11545 lt_cv_path_LD="$ac_dir/$ac_prog"
11546 # Check to see if the program is GNU ld. I'd rather use --version,
11547 # but apparently some variants of GNU ld only accept -v.
11548 # Break only if it was the GNU/non-GNU ld that we prefer.
11549 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11550 *GNU* | *'with BFD'*)
11551 test "$with_gnu_ld" != no && break
11554 test "$with_gnu_ld" != yes && break
11561 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11565 LD="$lt_cv_path_LD"
11566 if test -n "$LD"; then
11567 { echo "$as_me:$LINENO: result: $LD" >&5
11568 echo "${ECHO_T}$LD" >&6; }
11570 { echo "$as_me:$LINENO: result: no" >&5
11571 echo "${ECHO_T}no" >&6; }
11573 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11574 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11575 { (exit 1); exit 1; }; }
11576 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11577 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11578 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11579 echo $ECHO_N "(cached) $ECHO_C" >&6
11581 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11582 case `$LD -v 2>&1 </dev
/null
` in
11583 *GNU* | *'with BFD'*)
11584 lt_cv_prog_gnu_ld=yes
11587 lt_cv_prog_gnu_ld=no
11591 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11592 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11593 with_gnu_ld=$lt_cv_prog_gnu_ld
11597 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11598 # archiving commands below assume that GNU ld is being used.
11599 if test "$with_gnu_ld" = yes; then
11600 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11601 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'
11603 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11604 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11606 # If archive_cmds runs LD, not CC, wlarc should be empty
11607 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11608 # investigate it a little bit more. (MM)
11611 # ancient GNU ld didn't support --whole-archive et. al.
11612 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11613 grep 'no-whole-archive' > /dev/null; then
11614 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11616 whole_archive_flag_spec_CXX=
11622 # A generic and very simple default shared library creation
11623 # command for GNU C++ for the case where it uses the native
11624 # linker, instead of GNU ld. If possible, this setting should
11625 # overridden to take advantage of the native linker features on
11626 # the platform it is being used on.
11627 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11630 # Commands to make compiler produce verbose output that lists
11631 # what "hidden" libraries, object files and flags are used when
11632 # linking a shared library.
11633 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11641 # PORTME: fill in a description of your system's C++ link characteristics
11642 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11643 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11647 # FIXME: insert proper C++ library support
11651 if test "$host_cpu" = ia64; then
11652 # On IA64, the linker does run time linking by default, so we don't
11653 # have to do anything special.
11654 aix_use_runtimelinking=no
11655 exp_sym_flag='-Bexport'
11658 aix_use_runtimelinking=no
11660 # Test if we are trying to use run time linking or normal
11661 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11662 # need to do runtime linking.
11663 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11664 for ld_flag in $LDFLAGS; do
11667 aix_use_runtimelinking=yes
11675 exp_sym_flag='-bexport'
11676 no_entry_flag='-bnoentry'
11679 # When large executables or shared objects are built, AIX ld can
11680 # have problems creating the table of contents. If linking a library
11681 # or program results in "error TOC overflow" add -mminimal-toc to
11682 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11683 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11685 archive_cmds_CXX=''
11686 hardcode_direct_CXX=yes
11687 hardcode_libdir_separator_CXX=':'
11688 link_all_deplibs_CXX=yes
11690 if test "$GXX" = yes; then
11691 case $host_os in aix4.[012]|aix4.[012].*)
11692 # We only want to do this on AIX 4.2 and lower, the check
11693 # below for broken collect2 doesn't work under 4.3+
11694 collect2name=`${CC} -print-prog-name=collect2
`
11695 if test -f "$collect2name" && \
11696 strings "$collect2name" | grep resolve_lib_name >/dev/null
11698 # We have reworked collect2
11701 # We have old collect2
11702 hardcode_direct_CXX=unsupported
11703 # It fails to find uninstalled libraries when the uninstalled
11704 # path is not listed in the libpath. Setting hardcode_minus_L
11705 # to unsupported forces relinking
11706 hardcode_minus_L_CXX=yes
11707 hardcode_libdir_flag_spec_CXX='-L$libdir'
11708 hardcode_libdir_separator_CXX=
11712 shared_flag='-shared'
11713 if test "$aix_use_runtimelinking" = yes; then
11714 shared_flag="$shared_flag "'${wl}-G'
11718 if test "$host_cpu" = ia64; then
11719 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11720 # chokes on -Wl,-G. The following line is correct:
11723 if test "$aix_use_runtimelinking" = yes; then
11724 shared_flag='${wl}-G'
11726 shared_flag='${wl}-bM:SRE'
11731 # It seems that -bexpall does not export symbols beginning with
11732 # underscore (_), so it is better to generate a list of symbols to export.
11733 always_export_symbols_CXX=yes
11734 if test "$aix_use_runtimelinking" = yes; then
11735 # Warning - without using the other runtime loading flags (-brtl),
11736 # -berok will link without error, but may produce a broken library.
11737 allow_undefined_flag_CXX='-berok'
11738 # Determine the default libpath from the value encoded in an empty executable.
11739 cat >conftest.$ac_ext <<_ACEOF
11742 cat confdefs.h >>conftest.$ac_ext
11743 cat >>conftest.$ac_ext <<_ACEOF
11744 /* end confdefs.h. */
11754 rm -f conftest.$ac_objext conftest$ac_exeext
11755 if { (ac_try="$ac_link"
11756 case "(($ac_try" in
11757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11758 *) ac_try_echo
=$ac_try;;
11760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11761 (eval "$ac_link") 2>conftest.er1
11763 grep -v '^ *+' conftest.er1
>conftest.err
11765 cat conftest.err
>&5
11766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11767 (exit $ac_status); } && {
11768 test -z "$ac_cxx_werror_flag" ||
11769 test ! -s conftest.err
11770 } && test -s conftest
$ac_exeext &&
11771 $as_test_x conftest
$ac_exeext; then
11773 lt_aix_libpath_sed
='
11774 /Import File Strings/,/^$/ {
11780 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11781 # Check for a 64-bit object if we didn't find anything.
11782 if test -z "$aix_libpath"; then
11783 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11786 echo "$as_me: failed program was:" >&5
11787 sed 's/^/| /' conftest.
$ac_ext >&5
11792 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11793 conftest
$ac_exeext conftest.
$ac_ext
11794 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11796 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11798 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"
11800 if test "$host_cpu" = ia64
; then
11801 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11802 allow_undefined_flag_CXX
="-z nodefs"
11803 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"
11805 # Determine the default libpath from the value encoded in an empty executable.
11806 cat >conftest.
$ac_ext <<_ACEOF
11809 cat confdefs.h
>>conftest.
$ac_ext
11810 cat >>conftest.
$ac_ext <<_ACEOF
11811 /* end confdefs.h. */
11821 rm -f conftest.
$ac_objext conftest
$ac_exeext
11822 if { (ac_try
="$ac_link"
11823 case "(($ac_try" in
11824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11825 *) ac_try_echo=$ac_try;;
11827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11828 (eval "$ac_link") 2>conftest.er1
11830 grep -v '^ *+' conftest.er1 >conftest.err
11832 cat conftest.err >&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); } && {
11835 test -z "$ac_cxx_werror_flag" ||
11836 test ! -s conftest.err
11837 } && test -s conftest$ac_exeext &&
11838 $as_test_x conftest$ac_exeext; then
11840 lt_aix_libpath_sed='
11841 /Import File Strings/,/^$/ {
11847 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11848 # Check for a 64-bit object if we didn't find anything.
11849 if test -z "$aix_libpath"; then
11850 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11853 echo "$as_me: failed program was:" >&5
11854 sed 's/^/| /' conftest.$ac_ext >&5
11859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11860 conftest$ac_exeext conftest.$ac_ext
11861 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11863 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11864 # Warning - without using the other run time loading flags,
11865 # -berok will link without error, but may produce a broken library.
11866 no_undefined_flag_CXX=' ${wl}-bernotok'
11867 allow_undefined_flag_CXX=' ${wl}-berok'
11868 # Exported symbols can be pulled into shared objects from archives
11869 whole_archive_flag_spec_CXX='$convenience'
11870 archive_cmds_need_lc_CXX=yes
11871 # This is similar to how AIX traditionally builds its shared libraries.
11872 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'
11878 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11879 allow_undefined_flag_CXX=unsupported
11880 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11881 # support --undefined. This deserves some investigation. FIXME
11882 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11889 case $cc_basename in
11891 # FIXME: insert proper C++ library support
11897 cygwin* | mingw* | pw32*)
11898 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11899 # as there is no search path for DLLs.
11900 hardcode_libdir_flag_spec_CXX='-L$libdir'
11901 allow_undefined_flag_CXX=unsupported
11902 always_export_symbols_CXX=no
11903 enable_shared_with_static_runtimes_CXX=yes
11905 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11906 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'
11907 # If the export-symbols file already is a .def file (1st line
11908 # is EXPORTS), use it as is; otherwise, prepend...
11909 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11910 cp $export_symbols $output_objdir/$soname.def;
11912 echo EXPORTS > $output_objdir/$soname.def;
11913 cat $export_symbols >> $output_objdir/$soname.def;
11915 $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'
11920 darwin* | rhapsody*)
11921 archive_cmds_need_lc_CXX=no
11922 hardcode_direct_CXX=no
11923 hardcode_automatic_CXX=yes
11924 hardcode_shlibpath_var_CXX=unsupported
11925 whole_archive_flag_spec_CXX=''
11926 link_all_deplibs_CXX=yes
11927 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11928 if test "$GXX" = yes ; then
11929 output_verbose_link_cmd='echo'
11930 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}"
11931 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11932 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}"
11933 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}"
11934 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11935 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}"
11936 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}"
11939 case $cc_basename in
11941 output_verbose_link_cmd='echo'
11942 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'
11943 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11944 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11945 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}'
11946 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}'
11956 case $cc_basename in
11958 # FIXME: insert proper C++ library support
11962 # Green Hills C++ Compiler
11963 # FIXME: insert proper C++ library support
11967 # FIXME: insert proper C++ library support
11973 # C++ shared libraries reported to be fairly broken before switch to ELF
11977 archive_cmds_need_lc_CXX=no
11979 freebsd* | dragonfly*)
11980 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11987 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11988 hardcode_libdir_separator_CXX=:
11989 export_dynamic_flag_spec_CXX='${wl}-E'
11990 hardcode_direct_CXX=yes
11991 hardcode_minus_L_CXX=yes # Not in the search PATH,
11992 # but as the default
11993 # location of the library.
11995 case $cc_basename in
11997 # FIXME: insert proper C++ library support
12001 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'
12002 # Commands to make compiler produce verbose output that lists
12003 # what "hidden" libraries, object files and flags are used when
12004 # linking a shared library.
12006 # There doesn't appear to be a way to prevent this compiler from
12007 # explicitly linking system object files so we need to strip them
12008 # from the output so that they don't get included in the library
12010 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'
12013 if test "$GXX" = yes; then
12014 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'
12016 # FIXME: insert proper C++ library support
12023 if test $with_gnu_ld = no; then
12024 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12025 hardcode_libdir_separator_CXX=:
12030 export_dynamic_flag_spec_CXX='${wl}-E'
12036 hardcode_direct_CXX=no
12037 hardcode_shlibpath_var_CXX=no
12040 hardcode_direct_CXX=yes
12041 hardcode_minus_L_CXX=yes # Not in the search PATH,
12042 # but as the default
12043 # location of the library.
12047 case $cc_basename in
12049 # FIXME: insert proper C++ library support
12055 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12058 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12061 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12064 # Commands to make compiler produce verbose output that lists
12065 # what "hidden" libraries, object files and flags are used when
12066 # linking a shared library.
12068 # There doesn't appear to be a way to prevent this compiler from
12069 # explicitly linking system object files so we need to strip them
12070 # from the output so that they don't get included in the library
12072 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'
12075 if test "$GXX" = yes; then
12076 if test $with_gnu_ld = no; then
12079 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12082 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12085 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'
12090 # FIXME: insert proper C++ library support
12097 hardcode_direct_CXX=no
12098 hardcode_shlibpath_var_CXX=no
12099 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12100 export_dynamic_flag_spec_CXX='${wl}-E'
12101 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12102 # Instead, shared libraries are loaded at an image base (0x10000000 by
12103 # default) and relocated if they conflict, which is a slow very memory
12104 # consuming and fragmenting process. To avoid this, we pick a random,
12105 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12106 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12107 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'
12108 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'
12111 case $cc_basename in
12114 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'
12116 # Archives containing C++ object files must be created using
12117 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12118 # necessary to make sure instantiated templates are included
12120 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12123 if test "$GXX" = yes; then
12124 if test "$with_gnu_ld" = no; then
12125 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'
12127 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'
12130 link_all_deplibs_CXX=yes
12133 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12134 hardcode_libdir_separator_CXX=:
12136 linux* | k*bsd*-gnu)
12137 case $cc_basename in
12139 # Kuck and Associates, Inc. (KAI) C++ Compiler
12141 # KCC will only create a shared library if the output file
12142 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12143 # to its proper name (with version) after linking.
12144 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'
12145 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'
12146 # Commands to make compiler produce verbose output that lists
12147 # what "hidden" libraries, object files and flags are used when
12148 # linking a shared library.
12150 # There doesn't appear to be a way to prevent this compiler from
12151 # explicitly linking system object files so we need to strip them
12152 # from the output so that they don't get included in the library
12154 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'
12156 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
12157 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12159 # Archives containing C++ object files must be created using
12160 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12161 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12166 # version 8.0 and above of icpc choke on multiply defined symbols
12167 # if we add $predep_objects and $postdep_objects, however 7.1 and
12168 # earlier do not add the objects themselves.
12169 case `$CC -V 2>&1` in
12171 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12172 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'
12174 *) # Version 8.0 or newer
12177 ia64
*) tmp_idyn
=' -i_dynamic';;
12179 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12180 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'
12183 archive_cmds_need_lc_CXX
=no
12184 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12185 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12186 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12189 # Portland Group C++ compiler
12190 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12191 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'
12193 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12194 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12195 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'
12199 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12200 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'
12202 runpath_var
=LD_RUN_PATH
12203 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12204 hardcode_libdir_separator_CXX
=:
12206 # Commands to make compiler produce verbose output that lists
12207 # what "hidden" libraries, object files and flags are used when
12208 # linking a shared library.
12210 # There doesn't appear to be a way to prevent this compiler from
12211 # explicitly linking system object files so we need to strip them
12212 # from the output so that they don't get included in the library
12214 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'
12217 case `$CC -V 2>&1 | sed 5q` in
12220 no_undefined_flag_CXX
=' -zdefs'
12221 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12222 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'
12223 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12224 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'
12226 # Not sure whether something based on
12227 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12229 output_verbose_link_cmd
='echo'
12231 # Archives containing C++ object files must be created using
12232 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12233 # necessary to make sure instantiated templates are included
12235 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12242 # FIXME: insert proper C++ library support
12246 # FIXME: insert proper C++ library support
12250 case $cc_basename in
12252 # FIXME: insert proper C++ library support
12256 # FIXME: insert proper C++ library support
12261 netbsd
* | netbsdelf
*-gnu)
12262 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12263 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12265 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12266 hardcode_direct_CXX
=yes
12267 hardcode_shlibpath_var_CXX
=no
12269 # Workaround some broken pre-1.5 toolchains
12270 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12273 # C++ shared libraries are fairly broken
12277 if test -f /usr
/libexec
/ld.so
; then
12278 hardcode_direct_CXX
=yes
12279 hardcode_shlibpath_var_CXX
=no
12280 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12281 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12282 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12283 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12284 export_dynamic_flag_spec_CXX
='${wl}-E'
12285 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12287 output_verbose_link_cmd
='echo'
12293 case $cc_basename in
12295 # Kuck and Associates, Inc. (KAI) C++ Compiler
12297 # KCC will only create a shared library if the output file
12298 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12299 # to its proper name (with version) after linking.
12300 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'
12302 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12303 hardcode_libdir_separator_CXX
=:
12305 # Archives containing C++ object files must be created using
12306 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12307 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12311 # Rational C++ 2.4.1
12312 # FIXME: insert proper C++ library support
12316 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12317 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'
12319 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12320 hardcode_libdir_separator_CXX
=:
12322 # Commands to make compiler produce verbose output that lists
12323 # what "hidden" libraries, object files and flags are used when
12324 # linking a shared library.
12326 # There doesn't appear to be a way to prevent this compiler from
12327 # explicitly linking system object files so we need to strip them
12328 # from the output so that they don't get included in the library
12330 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'
12333 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12334 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12335 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'
12337 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12338 hardcode_libdir_separator_CXX
=:
12340 # Commands to make compiler produce verbose output that lists
12341 # what "hidden" libraries, object files and flags are used when
12342 # linking a shared library.
12343 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12346 # FIXME: insert proper C++ library support
12353 case $cc_basename in
12355 # Kuck and Associates, Inc. (KAI) C++ Compiler
12357 # KCC will only create a shared library if the output file
12358 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12359 # to its proper name (with version) after linking.
12360 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'
12362 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12363 hardcode_libdir_separator_CXX
=:
12365 # Archives containing C++ object files must be created using
12366 # the KAI C++ compiler.
12367 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12370 # Rational C++ 2.4.1
12371 # FIXME: insert proper C++ library support
12375 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12376 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'
12377 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12378 echo "-hidden">> $lib.exp~
12379 $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~
12382 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12383 hardcode_libdir_separator_CXX
=:
12385 # Commands to make compiler produce verbose output that lists
12386 # what "hidden" libraries, object files and flags are used when
12387 # linking a shared library.
12389 # There doesn't appear to be a way to prevent this compiler from
12390 # explicitly linking system object files so we need to strip them
12391 # from the output so that they don't get included in the library
12393 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'
12396 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12397 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12398 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'
12400 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12401 hardcode_libdir_separator_CXX
=:
12403 # Commands to make compiler produce verbose output that lists
12404 # what "hidden" libraries, object files and flags are used when
12405 # linking a shared library.
12406 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12409 # FIXME: insert proper C++ library support
12416 # FIXME: insert proper C++ library support
12420 case $cc_basename in
12423 # FIXME: insert proper C++ library support
12428 # FIXME: insert proper C++ library support
12432 # FIXME: insert proper C++ library support
12438 case $cc_basename in
12440 # Sun C++ 4.2, 5.x and Centerline C++
12441 archive_cmds_need_lc_CXX
=yes
12442 no_undefined_flag_CXX
=' -zdefs'
12443 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12444 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12445 $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'
12447 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12448 hardcode_shlibpath_var_CXX
=no
12450 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12452 # The compiler driver will combine and reorder linker options,
12453 # but understands `-z linker_flag'.
12454 # Supported since Solaris 2.6 (maybe 2.5.1?)
12455 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12458 link_all_deplibs_CXX
=yes
12460 output_verbose_link_cmd
='echo'
12462 # Archives containing C++ object files must be created using
12463 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12464 # necessary to make sure instantiated templates are included
12466 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12469 # Green Hills C++ Compiler
12470 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12472 # The C++ compiler must be used to create the archive.
12473 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12476 # GNU C++ compiler with Solaris linker
12477 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12478 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12479 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12480 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12481 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12482 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12484 # Commands to make compiler produce verbose output that lists
12485 # what "hidden" libraries, object files and flags are used when
12486 # linking a shared library.
12487 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12489 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12491 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12492 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12493 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12495 # Commands to make compiler produce verbose output that lists
12496 # what "hidden" libraries, object files and flags are used when
12497 # linking a shared library.
12498 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12501 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12503 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12505 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12512 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12513 no_undefined_flag_CXX
='${wl}-z,text'
12514 archive_cmds_need_lc_CXX
=no
12515 hardcode_shlibpath_var_CXX
=no
12516 runpath_var
='LD_RUN_PATH'
12518 case $cc_basename in
12520 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12521 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12524 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12525 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12529 sysv5
* | sco3.2v5
* | sco5v6
*)
12530 # Note: We can NOT use -z defs as we might desire, because we do not
12531 # link with -lc, and that would cause any symbols used from libc to
12532 # always be unresolved, which means just about no library would
12533 # ever link correctly. If we're not using GNU ld we use -z text
12534 # though, which does catch some bad symbols but isn't as heavy-handed
12536 # For security reasons, it is highly recommended that you always
12537 # use absolute paths for naming shared libraries, and exclude the
12538 # DT_RUNPATH tag from executables and libraries. But doing so
12539 # requires that you compile everything twice, which is a pain.
12540 # So that behaviour is only enabled if SCOABSPATH is set to a
12541 # non-empty value in the environment. Most likely only useful for
12542 # creating official distributions of packages.
12543 # This is a hack until libtool officially supports absolute path
12544 # names for shared libraries.
12545 no_undefined_flag_CXX
='${wl}-z,text'
12546 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12547 archive_cmds_need_lc_CXX
=no
12548 hardcode_shlibpath_var_CXX
=no
12549 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12550 hardcode_libdir_separator_CXX
=':'
12551 link_all_deplibs_CXX
=yes
12552 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12553 runpath_var
='LD_RUN_PATH'
12555 case $cc_basename in
12557 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12558 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12561 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12562 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12567 case $cc_basename in
12569 # NonStop-UX NCC 3.20
12570 # FIXME: insert proper C++ library support
12574 # FIXME: insert proper C++ library support
12580 # FIXME: insert proper C++ library support
12584 # FIXME: insert proper C++ library support
12588 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12589 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12590 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12595 cat > conftest.
$ac_ext <<EOF
12599 Foo (void) { a = 0; }
12605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12606 (eval $ac_compile) 2>&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); }; then
12610 # Parse the compiler output and extract the necessary
12611 # objects, libraries and library flags.
12613 # Sentinel used to keep track of whether or not we are before
12614 # the conftest object file.
12615 pre_test_object_deps_done
=no
12617 # The `*' in the case matches for architectures that use `case' in
12618 # $output_verbose_cmd can trigger glob expansion during the loop
12619 # eval without this substitution.
12620 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12622 for p
in `eval $output_verbose_link_cmd`; do
12626 # Some compilers place space between "-{L,R}" and the path.
12627 # Remove the space.
12628 if test $p = "-L" \
12629 ||
test $p = "-R"; then
12636 if test "$pre_test_object_deps_done" = no
; then
12639 # Internal compiler library paths should come after those
12640 # provided the user. The postdeps already come after the
12641 # user supplied libs so there is no need to process them.
12642 if test -z "$compiler_lib_search_path_CXX"; then
12643 compiler_lib_search_path_CXX
="${prev}${p}"
12645 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12648 # The "-l" case would never come before the object being
12649 # linked, so don't bother handling this case.
12652 if test -z "$postdeps_CXX"; then
12653 postdeps_CXX
="${prev}${p}"
12655 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12661 # This assumes that the test object file only shows up
12662 # once in the compiler output.
12663 if test "$p" = "conftest.$objext"; then
12664 pre_test_object_deps_done
=yes
12668 if test "$pre_test_object_deps_done" = no
; then
12669 if test -z "$predep_objects_CXX"; then
12670 predep_objects_CXX
="$p"
12672 predep_objects_CXX
="$predep_objects_CXX $p"
12675 if test -z "$postdep_objects_CXX"; then
12676 postdep_objects_CXX
="$p"
12678 postdep_objects_CXX
="$postdep_objects_CXX $p"
12683 *) ;; # Ignore the rest.
12691 echo "libtool.m4: error: problem compiling CXX test program"
12694 $rm -f confest.
$objext
12696 compiler_lib_search_dirs_CXX
=
12697 if test -n "$compiler_lib_search_path_CXX"; then
12698 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12701 # PORTME: override above test on systems where it is broken
12704 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12705 # hack all around it, let's just trust "g++" to DTRT.
12706 predep_objects_CXX
=
12707 postdep_objects_CXX
=
12712 case `$CC -V 2>&1 | sed 5q` in
12716 # The more standards-conforming stlport4 library is
12717 # incompatible with the Cstd library. Avoid specifying
12718 # it if it's in CXXFLAGS. Ignore libCrun as
12719 # -library=stlport4 depends on it.
12720 case " $CXX $CXXFLAGS " in
12721 *" -library=stlport4 "*)
12722 solaris_use_stlport4
=yes
12725 if test "$solaris_use_stlport4" != yes; then
12726 postdeps_CXX
='-library=Cstd -library=Crun'
12733 case $cc_basename in
12735 # The more standards-conforming stlport4 library is
12736 # incompatible with the Cstd library. Avoid specifying
12737 # it if it's in CXXFLAGS. Ignore libCrun as
12738 # -library=stlport4 depends on it.
12739 case " $CXX $CXXFLAGS " in
12740 *" -library=stlport4 "*)
12741 solaris_use_stlport4
=yes
12745 # Adding this requires a known-good setup of shared libraries for
12746 # Sun compiler versions before 5.6, else PIC objects from an old
12747 # archive will be linked into the output, leading to subtle bugs.
12748 if test "$solaris_use_stlport4" != yes; then
12749 postdeps_CXX
='-library=Cstd -library=Crun'
12756 case " $postdeps_CXX " in
12757 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12760 lt_prog_compiler_wl_CXX
=
12761 lt_prog_compiler_pic_CXX
=
12762 lt_prog_compiler_static_CXX
=
12764 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12765 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12767 # C++ specific cases for pic, static, wl, etc.
12768 if test "$GXX" = yes; then
12769 lt_prog_compiler_wl_CXX
='-Wl,'
12770 lt_prog_compiler_static_CXX
='-static'
12774 # All AIX code is PIC.
12775 if test "$host_cpu" = ia64
; then
12776 # AIX 5 now supports IA64 processor
12777 lt_prog_compiler_static_CXX
='-Bstatic'
12781 # FIXME: we need at least 68020 code to build shared libraries, but
12782 # adding the `-m68020' flag to GCC prevents building anything better,
12784 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12786 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12787 # PIC is the default for these OSes.
12789 mingw
* | cygwin
* | os2
* | pw32
*)
12790 # This hack is so that the source file can tell whether it is being
12791 # built for inclusion in a dll (and should export symbols for example).
12792 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12793 # (--disable-auto-import) libraries
12794 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12796 darwin
* | rhapsody
*)
12797 # PIC is the default on this platform
12798 # Common symbols not allowed in MH_DYLIB files
12799 lt_prog_compiler_pic_CXX
='-fno-common'
12802 # DJGPP does not support shared libraries at all
12803 lt_prog_compiler_pic_CXX
=
12806 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12807 # Instead, we relocate shared libraries at runtime.
12810 if test -d /usr
/nec
; then
12811 lt_prog_compiler_pic_CXX
=-Kconform_pic
12815 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12816 # not for PA HP-UX.
12821 lt_prog_compiler_pic_CXX
='-fPIC'
12826 lt_prog_compiler_pic_CXX
='-fPIC'
12832 # All AIX code is PIC.
12833 if test "$host_cpu" = ia64
; then
12834 # AIX 5 now supports IA64 processor
12835 lt_prog_compiler_static_CXX
='-Bstatic'
12837 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12841 case $cc_basename in
12843 # Green Hills C++ Compiler
12844 # _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"
12849 # PIC is the default on this platform
12850 # Common symbols not allowed in MH_DYLIB files
12851 case $cc_basename in
12853 lt_prog_compiler_pic_CXX
='-qnocommon'
12854 lt_prog_compiler_wl_CXX
='-Wl,'
12859 case $cc_basename in
12861 lt_prog_compiler_pic_CXX
='-KPIC'
12864 # Green Hills C++ Compiler
12865 lt_prog_compiler_pic_CXX
='-pic'
12871 freebsd
* | dragonfly
*)
12872 # FreeBSD uses GNU C++
12874 hpux9
* | hpux10
* | hpux11
*)
12875 case $cc_basename in
12877 lt_prog_compiler_wl_CXX
='-Wl,'
12878 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12879 if test "$host_cpu" != ia64
; then
12880 lt_prog_compiler_pic_CXX
='+Z'
12884 lt_prog_compiler_wl_CXX
='-Wl,'
12885 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12891 lt_prog_compiler_pic_CXX
='+Z'
12900 # This is c89, which is MS Visual C++ (no shared libs)
12901 # Anyone wants to do a port?
12903 irix5
* | irix6
* | nonstopux
*)
12904 case $cc_basename in
12906 lt_prog_compiler_wl_CXX
='-Wl,'
12907 lt_prog_compiler_static_CXX
='-non_shared'
12908 # CC pic flag -KPIC is the default.
12914 linux
* | k
*bsd
*-gnu)
12915 case $cc_basename in
12918 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12919 lt_prog_compiler_pic_CXX
='-fPIC'
12923 lt_prog_compiler_wl_CXX
='-Wl,'
12924 lt_prog_compiler_pic_CXX
='-KPIC'
12925 lt_prog_compiler_static_CXX
='-static'
12928 # Portland Group C++ compiler.
12929 lt_prog_compiler_wl_CXX
='-Wl,'
12930 lt_prog_compiler_pic_CXX
='-fpic'
12931 lt_prog_compiler_static_CXX
='-Bstatic'
12935 # Make sure the PIC flag is empty. It appears that all Alpha
12936 # Linux and Compaq Tru64 Unix objects are PIC.
12937 lt_prog_compiler_pic_CXX
=
12938 lt_prog_compiler_static_CXX
='-non_shared'
12941 case `$CC -V 2>&1 | sed 5q` in
12944 lt_prog_compiler_pic_CXX
='-KPIC'
12945 lt_prog_compiler_static_CXX
='-Bstatic'
12946 lt_prog_compiler_wl_CXX
='-Qoption ld '
12957 case $cc_basename in
12959 lt_prog_compiler_pic_CXX
='-W c,exportall'
12965 netbsd
* | netbsdelf
*-gnu)
12967 osf3
* | osf4
* | osf5
*)
12968 case $cc_basename in
12970 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12973 # Rational C++ 2.4.1
12974 lt_prog_compiler_pic_CXX
='-pic'
12977 # Digital/Compaq C++
12978 lt_prog_compiler_wl_CXX
='-Wl,'
12979 # Make sure the PIC flag is empty. It appears that all Alpha
12980 # Linux and Compaq Tru64 Unix objects are PIC.
12981 lt_prog_compiler_pic_CXX
=
12982 lt_prog_compiler_static_CXX
='-non_shared'
12991 case $cc_basename in
12993 # Sun C++ 4.2, 5.x and Centerline C++
12994 lt_prog_compiler_pic_CXX
='-KPIC'
12995 lt_prog_compiler_static_CXX
='-Bstatic'
12996 lt_prog_compiler_wl_CXX
='-Qoption ld '
12999 # Green Hills C++ Compiler
13000 lt_prog_compiler_pic_CXX
='-PIC'
13007 case $cc_basename in
13010 lt_prog_compiler_pic_CXX
='-pic'
13011 lt_prog_compiler_static_CXX
='-Bstatic'
13015 lt_prog_compiler_pic_CXX
='-pic'
13022 case $cc_basename in
13024 # NonStop-UX NCC 3.20
13025 lt_prog_compiler_pic_CXX
='-KPIC'
13031 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13032 case $cc_basename in
13034 lt_prog_compiler_wl_CXX
='-Wl,'
13035 lt_prog_compiler_pic_CXX
='-KPIC'
13036 lt_prog_compiler_static_CXX
='-Bstatic'
13043 lt_prog_compiler_can_build_shared_CXX
=no
13048 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13049 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13052 # Check to make sure the PIC flag actually works.
13054 if test -n "$lt_prog_compiler_pic_CXX"; then
13056 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13057 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13058 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13059 echo $ECHO_N "(cached) $ECHO_C" >&6
13061 lt_cv_prog_compiler_pic_works_CXX
=no
13062 ac_outfile
=conftest.
$ac_objext
13063 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13064 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13065 # Insert the option either (1) after the last *FLAGS variable, or
13066 # (2) before a word containing "conftest.", or (3) at the end.
13067 # Note that $ac_compile itself does not contain backslashes and begins
13068 # with a dollar sign (not a hyphen), so the echo should work correctly.
13069 # The option is referenced via a variable to avoid confusing sed.
13070 lt_compile
=`echo "$ac_compile" | $SED \
13071 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13072 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13073 -e 's:$: $lt_compiler_flag:'`
13074 (eval echo "\"\$as_me:13074: $lt_compile\"" >&5)
13075 (eval "$lt_compile" 2>conftest.err
)
13077 cat conftest.err
>&5
13078 echo "$as_me:13078: \$? = $ac_status" >&5
13079 if (exit $ac_status) && test -s "$ac_outfile"; then
13080 # The compiler can only warn and ignore the option if not recognized
13081 # So say no if there are warnings other than the usual output.
13082 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13083 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13084 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13085 lt_cv_prog_compiler_pic_works_CXX
=yes
13091 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13092 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13094 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13095 case $lt_prog_compiler_pic_CXX in
13097 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13100 lt_prog_compiler_pic_CXX
=
13101 lt_prog_compiler_can_build_shared_CXX
=no
13106 # For platforms which do not support PIC, -DPIC is meaningless:
13108 lt_prog_compiler_pic_CXX
=
13111 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13116 # Check to make sure the static flag actually works.
13118 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13119 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13120 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13121 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13122 echo $ECHO_N "(cached) $ECHO_C" >&6
13124 lt_cv_prog_compiler_static_works_CXX
=no
13125 save_LDFLAGS
="$LDFLAGS"
13126 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13127 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13128 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13129 # The linker can only warn and ignore the option if not recognized
13130 # So say no if there are warnings
13131 if test -s conftest.err
; then
13132 # Append any errors to the config.log.
13133 cat conftest.err
1>&5
13134 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13135 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13136 if diff conftest.exp conftest.er2
>/dev
/null
; then
13137 lt_cv_prog_compiler_static_works_CXX
=yes
13140 lt_cv_prog_compiler_static_works_CXX
=yes
13144 LDFLAGS
="$save_LDFLAGS"
13147 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13148 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
13150 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13153 lt_prog_compiler_static_CXX
=
13157 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13158 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13159 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13160 echo $ECHO_N "(cached) $ECHO_C" >&6
13162 lt_cv_prog_compiler_c_o_CXX
=no
13163 $rm -r conftest
2>/dev
/null
13167 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13169 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13170 # Insert the option either (1) after the last *FLAGS variable, or
13171 # (2) before a word containing "conftest.", or (3) at the end.
13172 # Note that $ac_compile itself does not contain backslashes and begins
13173 # with a dollar sign (not a hyphen), so the echo should work correctly.
13174 lt_compile
=`echo "$ac_compile" | $SED \
13175 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13176 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13177 -e 's:$: $lt_compiler_flag:'`
13178 (eval echo "\"\$as_me:13178: $lt_compile\"" >&5)
13179 (eval "$lt_compile" 2>out
/conftest.err
)
13181 cat out
/conftest.err
>&5
13182 echo "$as_me:13182: \$? = $ac_status" >&5
13183 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13185 # The compiler can only warn and ignore the option if not recognized
13186 # So say no if there are warnings
13187 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13188 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13189 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13190 lt_cv_prog_compiler_c_o_CXX
=yes
13195 # SGI C++ compiler will create directory out/ii_files/ for
13196 # template instantiation
13197 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13198 $rm out
/* && rmdir out
13204 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13205 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13208 hard_links
="nottested"
13209 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13210 # do not overwrite the value of need_locks provided by the user
13211 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13212 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13215 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13217 ln conftest.a conftest.b
2>&5 || hard_links
=no
13218 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13219 { echo "$as_me:$LINENO: result: $hard_links" >&5
13220 echo "${ECHO_T}$hard_links" >&6; }
13221 if test "$hard_links" = no
; then
13222 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13223 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13230 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13231 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13233 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13236 # If we're using GNU nm, then we don't want the "-C" option.
13237 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13238 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13239 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'
13241 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'
13245 export_symbols_cmds_CXX
="$ltdll_cmds"
13248 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'
13250 linux
* | k
*bsd
*-gnu)
13251 link_all_deplibs_CXX
=no
13254 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13257 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13259 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13260 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13261 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13264 # Do we need to explicitly link libc?
13266 case "x$archive_cmds_need_lc_CXX" in
13268 # Assume -lc should be added
13269 archive_cmds_need_lc_CXX
=yes
13271 if test "$enable_shared" = yes && test "$GCC" = yes; then
13272 case $archive_cmds_CXX in
13274 # FIXME: we may have to deal with multi-command sequences.
13277 # Test whether the compiler implicitly links with -lc since on some
13278 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13279 # to ld, don't add -lc before -lgcc.
13280 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13281 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13283 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13286 (eval $ac_compile) 2>&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); } 2>conftest.err
; then
13292 libobjs
=conftest.
$ac_objext
13294 wl
=$lt_prog_compiler_wl_CXX
13295 pic_flag
=$lt_prog_compiler_pic_CXX
13301 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13302 allow_undefined_flag_CXX
=
13303 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13304 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); }
13309 archive_cmds_need_lc_CXX
=no
13311 archive_cmds_need_lc_CXX
=yes
13313 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13315 cat conftest.err
1>&5
13318 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13319 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13326 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13327 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13328 library_names_spec
=
13329 libname_spec
='lib$name'
13333 postuninstall_cmds
=
13337 shlibpath_overrides_runpath
=unknown
13339 dynamic_linker
="$host_os ld.so"
13340 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13342 need_lib_prefix
=unknown
13343 hardcode_into_libs
=no
13345 # when you set need_version to no, make sure it does not cause -set_version
13346 # flags to be left without arguments
13347 need_version
=unknown
13352 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13353 shlibpath_var
=LIBPATH
13355 # AIX 3 has no versioning support, so we append a major version to the name.
13356 soname_spec
='${libname}${release}${shared_ext}$major'
13363 hardcode_into_libs
=yes
13364 if test "$host_cpu" = ia64
; then
13365 # AIX 5 supports IA64
13366 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13367 shlibpath_var
=LD_LIBRARY_PATH
13369 # With GCC up to 2.95.x, collect2 would create an import file
13370 # for dependence libraries. The import file would start with
13371 # the line `#! .'. This would cause the generated library to
13372 # depend on `.', always an invalid library. This was fixed in
13373 # development snapshots of GCC prior to 3.0.
13375 aix4 | aix4.
[01] | aix4.
[01].
*)
13376 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13378 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13381 can_build_shared
=no
13385 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13386 # soname into executable. Probably we can add versioning support to
13387 # collect2, so additional links can be useful in future.
13388 if test "$aix_use_runtimelinking" = yes; then
13389 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13390 # instead of lib<name>.a to let people know that these are not
13391 # typical AIX shared libraries.
13392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13394 # We preserve .a as extension for shared libraries through AIX4.2
13395 # and later when we are not doing run time linking.
13396 library_names_spec
='${libname}${release}.a $libname.a'
13397 soname_spec
='${libname}${release}${shared_ext}$major'
13399 shlibpath_var
=LIBPATH
13404 library_names_spec
='$libname.ixlibrary $libname.a'
13405 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13406 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'
13410 library_names_spec
='${libname}${shared_ext}'
13411 dynamic_linker
="$host_os ld.so"
13412 shlibpath_var
=LIBRARY_PATH
13418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13419 soname_spec
='${libname}${release}${shared_ext}$major'
13420 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13421 shlibpath_var
=LD_LIBRARY_PATH
13422 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13423 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13424 # the default ld.so.conf also contains /usr/contrib/lib and
13425 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13426 # libtool to hard-code these into programs
13429 cygwin
* | mingw
* | pw32
*)
13430 version_type
=windows
13435 case $GCC,$host_os in
13436 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13437 library_names_spec
='$libname.dll.a'
13438 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13439 postinstall_cmds
='base_file=`basename \${file}`~
13440 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13441 dldir=$destdir/`dirname \$dlpath`~
13442 test -d \$dldir || mkdir -p \$dldir~
13443 $install_prog $dir/$dlname \$dldir/$dlname~
13444 chmod a+x \$dldir/$dlname'
13445 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13446 dlpath=$dir/\$dldll~
13448 shlibpath_overrides_runpath
=yes
13452 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13453 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13454 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13457 # MinGW DLLs use traditional 'lib' prefix
13458 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13459 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13460 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13461 # It is most probably a Windows format PATH printed by
13462 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13463 # path with ; separators, and with drive letters. We can handle the
13464 # drive letters (cygwin fileutils understands them), so leave them,
13465 # especially as we might pass files found there to a mingw objdump,
13466 # which wouldn't understand a cygwinified path. Ahh.
13467 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13469 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13473 # pw32 DLLs use 'pw' prefix rather than 'lib'
13474 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13480 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13483 dynamic_linker
='Win32 ld.exe'
13484 # FIXME: first we should search . and the directory the executable is in
13488 darwin
* | rhapsody
*)
13489 dynamic_linker
="$host_os dyld"
13490 version_type
=darwin
13493 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13494 soname_spec
='${libname}${release}${major}$shared_ext'
13495 shlibpath_overrides_runpath
=yes
13496 shlibpath_var
=DYLD_LIBRARY_PATH
13497 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13499 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13507 soname_spec
='${libname}${release}${shared_ext}$major'
13508 shlibpath_var
=LD_LIBRARY_PATH
13515 freebsd
* | dragonfly
*)
13516 # DragonFly does not have aout. When/if they implement a new
13517 # versioning mechanism, adjust this.
13518 if test -x /usr
/bin
/objformat
; then
13519 objformat
=`/usr/bin/objformat`
13522 freebsd
[123]*) objformat
=aout
;;
13523 *) objformat
=elf
;;
13526 version_type
=freebsd-
$objformat
13527 case $version_type in
13529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13534 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13538 shlibpath_var
=LD_LIBRARY_PATH
13541 shlibpath_overrides_runpath
=yes
13543 freebsd3.
[01]* | freebsdelf3.
[01]*)
13544 shlibpath_overrides_runpath
=yes
13545 hardcode_into_libs
=yes
13547 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13548 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13549 shlibpath_overrides_runpath
=no
13550 hardcode_into_libs
=yes
13552 *) # from 4.6 on, and DragonFly
13553 shlibpath_overrides_runpath
=yes
13554 hardcode_into_libs
=yes
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
13566 hardcode_into_libs
=yes
13569 hpux9
* | hpux10
* | hpux11
*)
13570 # Give a soname corresponding to the major version so that dld.sl refuses to
13571 # link against other versions.
13578 hardcode_into_libs
=yes
13579 dynamic_linker
="$host_os dld.so"
13580 shlibpath_var
=LD_LIBRARY_PATH
13581 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13583 soname_spec
='${libname}${release}${shared_ext}$major'
13584 if test "X$HPUX_IA64_MODE" = X32
; then
13585 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13587 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13589 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13593 hardcode_into_libs
=yes
13594 dynamic_linker
="$host_os dld.sl"
13595 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13596 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13598 soname_spec
='${libname}${release}${shared_ext}$major'
13599 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13600 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13604 dynamic_linker
="$host_os dld.sl"
13605 shlibpath_var
=SHLIB_PATH
13606 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13608 soname_spec
='${libname}${release}${shared_ext}$major'
13611 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13612 postinstall_cmds
='chmod 555 $lib'
13619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13620 soname_spec
='${libname}${release}${shared_ext}$major'
13621 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13622 shlibpath_var
=LD_LIBRARY_PATH
13623 shlibpath_overrides_runpath
=no
13624 hardcode_into_libs
=yes
13627 irix5
* | irix6
* | nonstopux
*)
13629 nonstopux
*) version_type
=nonstopux
;;
13631 if test "$lt_cv_prog_gnu_ld" = yes; then
13639 soname_spec
='${libname}${release}${shared_ext}$major'
13640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13642 irix5
* | nonstopux
*)
13643 libsuff
= shlibsuff
=
13646 case $LD in # libtool.m4 will add one of these switches to LD
13647 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13648 libsuff
= shlibsuff
= libmagic
=32-bit;;
13649 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13650 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13651 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13652 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13653 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13657 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13658 shlibpath_overrides_runpath
=no
13659 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13660 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13661 hardcode_into_libs
=yes
13664 # No shared lib support for Linux oldld, aout, or coff.
13665 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13669 # This must be Linux ELF.
13670 linux
* | k
*bsd
*-gnu)
13674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13675 soname_spec
='${libname}${release}${shared_ext}$major'
13676 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13677 shlibpath_var
=LD_LIBRARY_PATH
13678 shlibpath_overrides_runpath
=no
13679 # This implies no fast_install, which is unacceptable.
13680 # Some rework will be needed to allow for fast_install
13681 # before this can be enabled.
13682 hardcode_into_libs
=yes
13684 # Append ld.so.conf contents to the search path
13685 if test -f /etc
/ld.so.conf
; then
13686 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' ' '`
13687 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13690 # We used to test for /lib/ld.so.1 and disable shared libraries on
13691 # powerpc, because MkLinux only supported shared libraries with the
13692 # GNU dynamic linker. Since this was broken with cross compilers,
13693 # most powerpc-linux boxes support dynamic linking these days and
13694 # people can always --disable-shared, the test was removed, and we
13695 # assume the GNU/Linux dynamic linker is in use.
13696 dynamic_linker
='GNU/Linux ld.so'
13703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13704 soname_spec
='${libname}${release}${shared_ext}$major'
13705 shlibpath_var
=LD_LIBRARY_PATH
13706 shlibpath_overrides_runpath
=no
13707 hardcode_into_libs
=yes
13708 dynamic_linker
='NetBSD ld.elf_so'
13715 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13717 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13718 dynamic_linker
='NetBSD (a.out) ld.so'
13720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13721 soname_spec
='${libname}${release}${shared_ext}$major'
13722 dynamic_linker
='NetBSD ld.elf_so'
13724 shlibpath_var
=LD_LIBRARY_PATH
13725 shlibpath_overrides_runpath
=yes
13726 hardcode_into_libs
=yes
13731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13732 shlibpath_var
=LD_LIBRARY_PATH
13733 shlibpath_overrides_runpath
=yes
13740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13741 soname_spec
='${libname}${release}${shared_ext}$major'
13742 shlibpath_var
=LD_LIBRARY_PATH
13743 shlibpath_overrides_runpath
=yes
13748 sys_lib_dlsearch_path_spec
="/usr/lib"
13750 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13752 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13753 *) need_version
=no
;;
13755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13756 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13757 shlibpath_var
=LD_LIBRARY_PATH
13758 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13760 openbsd2.
[89] | openbsd2.
[89].
*)
13761 shlibpath_overrides_runpath
=no
13764 shlibpath_overrides_runpath
=yes
13768 shlibpath_overrides_runpath
=yes
13773 libname_spec
='$name'
13776 library_names_spec
='$libname${shared_ext} $libname.a'
13777 dynamic_linker
='OS/2 ld.exe'
13778 shlibpath_var
=LIBPATH
13781 osf3
* | osf4
* | osf5
*)
13785 soname_spec
='${libname}${release}${shared_ext}$major'
13786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13787 shlibpath_var
=LD_LIBRARY_PATH
13788 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13789 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13801 soname_spec
='${libname}${release}${shared_ext}$major'
13802 shlibpath_var
=LD_LIBRARY_PATH
13803 shlibpath_overrides_runpath
=yes
13804 hardcode_into_libs
=yes
13805 # ldd complains unless libraries are executable
13806 postinstall_cmds
='chmod +x $lib'
13811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13812 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13813 shlibpath_var
=LD_LIBRARY_PATH
13814 shlibpath_overrides_runpath
=yes
13815 if test "$with_gnu_ld" = yes; then
13823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13824 soname_spec
='${libname}${release}${shared_ext}$major'
13825 shlibpath_var
=LD_LIBRARY_PATH
13826 case $host_vendor in
13828 shlibpath_overrides_runpath
=no
13830 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13831 runpath_var
=LD_RUN_PATH
13839 shlibpath_overrides_runpath
=no
13840 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13846 if test -d /usr
/nec
;then
13848 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13849 soname_spec
='$libname${shared_ext}.$major'
13850 shlibpath_var
=LD_LIBRARY_PATH
13854 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13855 version_type
=freebsd-elf
13858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13859 soname_spec
='${libname}${release}${shared_ext}$major'
13860 shlibpath_var
=LD_LIBRARY_PATH
13861 hardcode_into_libs
=yes
13862 if test "$with_gnu_ld" = yes; then
13863 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13864 shlibpath_overrides_runpath
=no
13866 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13867 shlibpath_overrides_runpath
=yes
13870 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13874 sys_lib_dlsearch_path_spec
='/usr/lib'
13879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13880 soname_spec
='${libname}${release}${shared_ext}$major'
13881 shlibpath_var
=LD_LIBRARY_PATH
13888 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13889 echo "${ECHO_T}$dynamic_linker" >&6; }
13890 test "$dynamic_linker" = no
&& can_build_shared
=no
13892 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13893 echo $ECHO_N "(cached) $ECHO_C" >&6
13895 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
13898 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13899 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13902 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
13905 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13907 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13908 if test "$GCC" = yes; then
13909 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13912 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13913 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13914 hardcode_action_CXX
=
13915 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13916 test -n "$runpath_var_CXX" || \
13917 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13919 # We can hardcode non-existant directories.
13920 if test "$hardcode_direct_CXX" != no
&&
13921 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13922 # have to relink, otherwise we might link with an installed library
13923 # when we should be linking with a yet-to-be-installed one
13924 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13925 test "$hardcode_minus_L_CXX" != no
; then
13926 # Linking always hardcodes the temporary library directory.
13927 hardcode_action_CXX
=relink
13929 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13930 hardcode_action_CXX
=immediate
13933 # We cannot hardcode anything, or else we can only hardcode existing
13935 hardcode_action_CXX
=unsupported
13937 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13938 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13940 if test "$hardcode_action_CXX" = relink
; then
13941 # Fast installation is not supported
13942 enable_fast_install
=no
13943 elif test "$shlibpath_overrides_runpath" = yes ||
13944 test "$enable_shared" = no
; then
13945 # Fast installation is not necessary
13946 enable_fast_install
=needless
13950 # The else clause should only fire when bootstrapping the
13951 # libtool distribution, otherwise you forgot to ship ltmain.sh
13952 # with your package, and you will get complaints that there are
13953 # no rules to generate ltmain.sh.
13954 if test -f "$ltmain"; then
13955 # See if we are running on zsh, and set the options which allow our commands through
13956 # without removal of \ escapes.
13957 if test -n "${ZSH_VERSION+set}" ; then
13958 setopt NO_GLOB_SUBST
13960 # Now quote all the things that may contain metacharacters while being
13961 # careful not to overquote the AC_SUBSTed values. We take copies of the
13962 # variables and quote the copies for generation of the libtool script.
13963 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13965 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13966 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13967 deplibs_check_method reload_flag reload_cmds need_locks \
13968 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13969 lt_cv_sys_global_symbol_to_c_name_address \
13970 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13971 old_postinstall_cmds old_postuninstall_cmds \
13975 lt_prog_compiler_wl_CXX \
13976 lt_prog_compiler_pic_CXX \
13977 lt_prog_compiler_static_CXX \
13978 lt_prog_compiler_no_builtin_flag_CXX \
13979 export_dynamic_flag_spec_CXX \
13980 thread_safe_flag_spec_CXX \
13981 whole_archive_flag_spec_CXX \
13982 enable_shared_with_static_runtimes_CXX \
13983 old_archive_cmds_CXX \
13984 old_archive_from_new_cmds_CXX \
13985 predep_objects_CXX \
13986 postdep_objects_CXX \
13989 compiler_lib_search_path_CXX \
13990 compiler_lib_search_dirs_CXX \
13992 archive_expsym_cmds_CXX \
13993 postinstall_cmds_CXX \
13994 postuninstall_cmds_CXX \
13995 old_archive_from_expsyms_cmds_CXX \
13996 allow_undefined_flag_CXX \
13997 no_undefined_flag_CXX \
13998 export_symbols_cmds_CXX \
13999 hardcode_libdir_flag_spec_CXX \
14000 hardcode_libdir_flag_spec_ld_CXX \
14001 hardcode_libdir_separator_CXX \
14002 hardcode_automatic_CXX \
14004 module_expsym_cmds_CXX \
14005 lt_cv_prog_compiler_c_o_CXX \
14006 fix_srcfile_path_CXX \
14007 exclude_expsyms_CXX \
14008 include_expsyms_CXX
; do
14011 old_archive_cmds_CXX | \
14012 old_archive_from_new_cmds_CXX | \
14013 archive_cmds_CXX | \
14014 archive_expsym_cmds_CXX | \
14015 module_cmds_CXX | \
14016 module_expsym_cmds_CXX | \
14017 old_archive_from_expsyms_cmds_CXX | \
14018 export_symbols_cmds_CXX | \
14019 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14020 postinstall_cmds | postuninstall_cmds | \
14021 old_postinstall_cmds | old_postuninstall_cmds | \
14022 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14023 # Double-quote double-evaled strings.
14024 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14027 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14033 *'\$0 --fallback-echo"')
14034 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14040 cat <<__EOF__ >> "$cfgfile"
14041 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14043 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14045 # Shell to use when invoking shell scripts.
14048 # Whether or not to build shared libraries.
14049 build_libtool_libs=$enable_shared
14051 # Whether or not to build static libraries.
14052 build_old_libs=$enable_static
14054 # Whether or not to add -lc for building shared libraries.
14055 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14057 # Whether or not to disallow shared libs when runtime libs are static
14058 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14060 # Whether or not to optimize for fast installation.
14061 fast_install=$enable_fast_install
14064 host_alias=$host_alias
14068 # The build system.
14069 build_alias=$build_alias
14073 # An echo program that does not interpret backslashes.
14078 AR_FLAGS=$lt_AR_FLAGS
14083 # LTCC compiler flags.
14084 LTCFLAGS=$lt_LTCFLAGS
14086 # A language-specific compiler.
14087 CC=$lt_compiler_CXX
14089 # Is the compiler the GNU C compiler?
14095 # The linker used to build libraries.
14098 # Whether we need hard or soft links.
14101 # A BSD-compatible nm program.
14104 # A symbol stripping program
14107 # Used to examine libraries when file_magic_cmd begins "file"
14108 MAGIC_CMD=$MAGIC_CMD
14110 # Used on cygwin: DLL creation program.
14113 # Used on cygwin: object dumper.
14116 # Used on cygwin: assembler.
14119 # The name of the directory that contains temporary libtool files.
14122 # How to create reloadable object files.
14123 reload_flag=$lt_reload_flag
14124 reload_cmds=$lt_reload_cmds
14126 # How to pass a linker flag through the compiler.
14127 wl=$lt_lt_prog_compiler_wl_CXX
14129 # Object file suffix (normally "o").
14130 objext="$ac_objext"
14132 # Old archive suffix (normally "a").
14135 # Shared library suffix (normally ".so").
14136 shrext_cmds='$shrext_cmds'
14138 # Executable file suffix (normally "").
14141 # Additional compiler flags for building library objects.
14142 pic_flag=$lt_lt_prog_compiler_pic_CXX
14145 # What is the maximum length of a command?
14146 max_cmd_len=$lt_cv_sys_max_cmd_len
14148 # Does compiler simultaneously support -c and -o options?
14149 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14151 # Must we lock files when doing compilation?
14152 need_locks=$lt_need_locks
14154 # Do we need the lib prefix for modules?
14155 need_lib_prefix=$need_lib_prefix
14157 # Do we need a version for libraries?
14158 need_version=$need_version
14160 # Whether dlopen is supported.
14161 dlopen_support=$enable_dlopen
14163 # Whether dlopen of programs is supported.
14164 dlopen_self=$enable_dlopen_self
14166 # Whether dlopen of statically linked programs is supported.
14167 dlopen_self_static=$enable_dlopen_self_static
14169 # Compiler flag to prevent dynamic linking.
14170 link_static_flag=$lt_lt_prog_compiler_static_CXX
14172 # Compiler flag to turn off builtin functions.
14173 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14175 # Compiler flag to allow reflexive dlopens.
14176 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14178 # Compiler flag to generate shared objects directly from archives.
14179 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14181 # Compiler flag to generate thread-safe objects.
14182 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14184 # Library versioning type.
14185 version_type=$version_type
14187 # Format of library name prefix.
14188 libname_spec=$lt_libname_spec
14190 # List of archive names. First name is the real one, the rest are links.
14191 # The last name is the one that the linker finds with -lNAME.
14192 library_names_spec=$lt_library_names_spec
14194 # The coded name of the library, if different from the real name.
14195 soname_spec=$lt_soname_spec
14197 # Commands used to build and install an old-style archive.
14199 old_archive_cmds=$lt_old_archive_cmds_CXX
14200 old_postinstall_cmds=$lt_old_postinstall_cmds
14201 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14203 # Create an old-style archive from a shared archive.
14204 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14206 # Create a temporary old-style archive to link instead of a shared archive.
14207 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14209 # Commands used to build and install a shared archive.
14210 archive_cmds=$lt_archive_cmds_CXX
14211 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14212 postinstall_cmds=$lt_postinstall_cmds
14213 postuninstall_cmds=$lt_postuninstall_cmds
14215 # Commands used to build a loadable module (assumed same as above if empty)
14216 module_cmds=$lt_module_cmds_CXX
14217 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14219 # Commands to strip libraries.
14220 old_striplib=$lt_old_striplib
14221 striplib=$lt_striplib
14223 # Dependencies to place before the objects being linked to create a
14225 predep_objects=$lt_predep_objects_CXX
14227 # Dependencies to place after the objects being linked to create a
14229 postdep_objects=$lt_postdep_objects_CXX
14231 # Dependencies to place before the objects being linked to create a
14233 predeps=$lt_predeps_CXX
14235 # Dependencies to place after the objects being linked to create a
14237 postdeps=$lt_postdeps_CXX
14239 # The directories searched by this compiler when creating a shared
14241 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14243 # The library search path used internally by the compiler when linking
14244 # a shared library.
14245 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14247 # Method to check whether dependent libraries are shared objects.
14248 deplibs_check_method=$lt_deplibs_check_method
14250 # Command to use when deplibs_check_method == file_magic.
14251 file_magic_cmd=$lt_file_magic_cmd
14253 # Flag that allows shared libraries with undefined symbols to be built.
14254 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14256 # Flag that forces no undefined symbols.
14257 no_undefined_flag=$lt_no_undefined_flag_CXX
14259 # Commands used to finish a libtool library installation in a directory.
14260 finish_cmds=$lt_finish_cmds
14262 # Same as above, but a single script fragment to be evaled but not shown.
14263 finish_eval=$lt_finish_eval
14265 # Take the output of nm and produce a listing of raw symbols and C names.
14266 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14268 # Transform the output of nm in a proper C declaration
14269 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14271 # Transform the output of nm in a C name address pair
14272 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14274 # This is the shared library runtime path variable.
14275 runpath_var=$runpath_var
14277 # This is the shared library path variable.
14278 shlibpath_var=$shlibpath_var
14280 # Is shlibpath searched before the hard-coded library search path?
14281 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14283 # How to hardcode a shared library path into an executable.
14284 hardcode_action=$hardcode_action_CXX
14286 # Whether we should hardcode library paths into libraries.
14287 hardcode_into_libs=$hardcode_into_libs
14289 # Flag to hardcode \$libdir into a binary during linking.
14290 # This must work even if \$libdir does not exist.
14291 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14293 # If ld is used when linking, flag to hardcode \$libdir into
14294 # a binary during linking. This must work even if \$libdir does
14296 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14298 # Whether we need a single -rpath flag with a separated argument.
14299 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14301 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14302 # resulting binary.
14303 hardcode_direct=$hardcode_direct_CXX
14305 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14306 # resulting binary.
14307 hardcode_minus_L=$hardcode_minus_L_CXX
14309 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14310 # the resulting binary.
14311 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14313 # Set to yes if building a shared library automatically hardcodes DIR into the library
14314 # and all subsequent libraries and executables linked against it.
14315 hardcode_automatic=$hardcode_automatic_CXX
14317 # Variables whose values should be saved in libtool wrapper scripts and
14318 # restored at relink time.
14319 variables_saved_for_relink="$variables_saved_for_relink"
14321 # Whether libtool must link a program against all its dependency libraries.
14322 link_all_deplibs=$link_all_deplibs_CXX
14324 # Compile-time system search path for libraries
14325 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14327 # Run-time system search path for libraries
14328 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14330 # Fix the shell variable \$srcfile for the compiler.
14331 fix_srcfile_path=$lt_fix_srcfile_path
14333 # Set to yes if exported symbols are required.
14334 always_export_symbols=$always_export_symbols_CXX
14336 # The commands to list exported symbols.
14337 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14339 # The commands to extract the exported symbol list from a shared archive.
14340 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14342 # Symbols that should not be listed in the preloaded symbols.
14343 exclude_expsyms=$lt_exclude_expsyms_CXX
14345 # Symbols that must always be exported.
14346 include_expsyms=$lt_include_expsyms_CXX
14348 # ### END LIBTOOL TAG CONFIG: $tagname
14354 # If there is no Makefile yet, we rely on a make rule to execute
14355 # `config.status --recheck' to rerun these tests and create the
14356 # libtool script then.
14357 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14358 if test -f "$ltmain_in"; then
14359 test -f Makefile
&& make "$ltmain"
14365 ac_cpp
='$CPP $CPPFLAGS'
14366 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14367 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14368 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14374 with_gnu_ldcxx
=$with_gnu_ld
14375 with_gnu_ld
=$lt_save_with_gnu_ld
14376 lt_cv_path_LDCXX
=$lt_cv_path_LD
14377 lt_cv_path_LD
=$lt_save_path_LD
14378 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14379 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14387 if test -n "$F77" && test "X$F77" != "Xno"; then
14390 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14391 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14392 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14395 archive_cmds_need_lc_F77
=no
14396 allow_undefined_flag_F77
=
14397 always_export_symbols_F77
=no
14398 archive_expsym_cmds_F77
=
14399 export_dynamic_flag_spec_F77
=
14400 hardcode_direct_F77
=no
14401 hardcode_libdir_flag_spec_F77
=
14402 hardcode_libdir_flag_spec_ld_F77
=
14403 hardcode_libdir_separator_F77
=
14404 hardcode_minus_L_F77
=no
14405 hardcode_automatic_F77
=no
14407 module_expsym_cmds_F77
=
14408 link_all_deplibs_F77
=unknown
14409 old_archive_cmds_F77
=$old_archive_cmds
14410 no_undefined_flag_F77
=
14411 whole_archive_flag_spec_F77
=
14412 enable_shared_with_static_runtimes_F77
=no
14414 # Source file extension for f77 test sources.
14417 # Object file extension for compiled f77 test sources.
14421 # Code to be used in simple compile tests
14422 lt_simple_compile_test_code
="\
14428 # Code to be used in simple link tests
14429 lt_simple_link_test_code
="\
14434 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14436 # If no C compiler was specified, use CC.
14439 # If no C compiler flags were specified, use CFLAGS.
14440 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14442 # Allow CC to be a program name with arguments.
14446 # save warnings/boilerplate of simple test code
14447 ac_outfile
=conftest.
$ac_objext
14448 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14449 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14450 _lt_compiler_boilerplate
=`cat conftest.err`
14453 ac_outfile
=conftest.
$ac_objext
14454 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14455 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14456 _lt_linker_boilerplate
=`cat conftest.err`
14460 # Allow CC to be a program name with arguments.
14465 for cc_temp
in $compiler""; do
14467 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14468 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14473 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14476 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14477 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14478 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14479 echo "${ECHO_T}$can_build_shared" >&6; }
14481 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14482 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14483 test "$can_build_shared" = "no" && enable_shared
=no
14485 # On AIX, shared libraries and static libraries use the same namespace, and
14486 # are all built from PIC.
14489 test "$enable_shared" = yes && enable_static
=no
14490 if test -n "$RANLIB"; then
14491 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14492 postinstall_cmds
='$RANLIB $lib'
14496 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14497 test "$enable_shared" = yes && enable_static
=no
14501 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14502 echo "${ECHO_T}$enable_shared" >&6; }
14504 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14505 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14506 # Make sure either enable_shared or enable_static is yes.
14507 test "$enable_shared" = yes || enable_static
=yes
14508 { echo "$as_me:$LINENO: result: $enable_static" >&5
14509 echo "${ECHO_T}$enable_static" >&6; }
14514 lt_prog_compiler_wl_F77
=
14515 lt_prog_compiler_pic_F77
=
14516 lt_prog_compiler_static_F77
=
14518 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14519 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14521 if test "$GCC" = yes; then
14522 lt_prog_compiler_wl_F77
='-Wl,'
14523 lt_prog_compiler_static_F77
='-static'
14527 # All AIX code is PIC.
14528 if test "$host_cpu" = ia64
; then
14529 # AIX 5 now supports IA64 processor
14530 lt_prog_compiler_static_F77
='-Bstatic'
14535 # FIXME: we need at least 68020 code to build shared libraries, but
14536 # adding the `-m68020' flag to GCC prevents building anything better,
14538 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14541 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14542 # PIC is the default for these OSes.
14545 mingw
* | cygwin
* | pw32
* | os2
*)
14546 # This hack is so that the source file can tell whether it is being
14547 # built for inclusion in a dll (and should export symbols for example).
14548 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14549 # (--disable-auto-import) libraries
14550 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14553 darwin
* | rhapsody
*)
14554 # PIC is the default on this platform
14555 # Common symbols not allowed in MH_DYLIB files
14556 lt_prog_compiler_pic_F77
='-fno-common'
14560 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14561 # Instead, we relocate shared libraries at runtime.
14565 # Just because we use GCC doesn't mean we suddenly get shared libraries
14566 # on systems that don't support them.
14567 lt_prog_compiler_can_build_shared_F77
=no
14572 if test -d /usr
/nec
; then
14573 lt_prog_compiler_pic_F77
=-Kconform_pic
14578 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14579 # not for PA HP-UX.
14585 lt_prog_compiler_pic_F77
='-fPIC'
14591 lt_prog_compiler_pic_F77
='-fPIC'
14595 # PORTME Check for flag to pass linker flags through the system compiler.
14598 lt_prog_compiler_wl_F77
='-Wl,'
14599 if test "$host_cpu" = ia64
; then
14600 # AIX 5 now supports IA64 processor
14601 lt_prog_compiler_static_F77
='-Bstatic'
14603 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14607 # PIC is the default on this platform
14608 # Common symbols not allowed in MH_DYLIB files
14609 case $cc_basename in
14611 lt_prog_compiler_pic_F77
='-qnocommon'
14612 lt_prog_compiler_wl_F77
='-Wl,'
14617 mingw
* | cygwin
* | pw32
* | os2
*)
14618 # This hack is so that the source file can tell whether it is being
14619 # built for inclusion in a dll (and should export symbols for example).
14620 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14623 hpux9
* | hpux10
* | hpux11
*)
14624 lt_prog_compiler_wl_F77
='-Wl,'
14625 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14626 # not for PA HP-UX.
14632 lt_prog_compiler_pic_F77
='+Z'
14635 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14636 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14639 irix5
* | irix6
* | nonstopux
*)
14640 lt_prog_compiler_wl_F77
='-Wl,'
14641 # PIC (with -KPIC) is the default.
14642 lt_prog_compiler_static_F77
='-non_shared'
14646 lt_prog_compiler_pic_F77
='-KPIC'
14647 lt_prog_compiler_static_F77
='-Bstatic'
14650 linux
* | k
*bsd
*-gnu)
14651 case $cc_basename in
14653 lt_prog_compiler_wl_F77
='-Wl,'
14654 lt_prog_compiler_pic_F77
='-KPIC'
14655 lt_prog_compiler_static_F77
='-static'
14657 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14658 # Portland Group compilers (*not* the Pentium gcc compiler,
14659 # which looks to be a dead project)
14660 lt_prog_compiler_wl_F77
='-Wl,'
14661 lt_prog_compiler_pic_F77
='-fpic'
14662 lt_prog_compiler_static_F77
='-Bstatic'
14665 lt_prog_compiler_wl_F77
='-Wl,'
14666 # All Alpha code is PIC.
14667 lt_prog_compiler_static_F77
='-non_shared'
14670 case `$CC -V 2>&1 | sed 5q` in
14673 lt_prog_compiler_pic_F77
='-KPIC'
14674 lt_prog_compiler_static_F77
='-Bstatic'
14675 lt_prog_compiler_wl_F77
='-Wl,'
14678 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14679 lt_prog_compiler_pic_F77
='-KPIC'
14680 lt_prog_compiler_static_F77
='-Bstatic'
14681 lt_prog_compiler_wl_F77
=''
14688 osf3
* | osf4
* | osf5
*)
14689 lt_prog_compiler_wl_F77
='-Wl,'
14690 # All OSF/1 code is PIC.
14691 lt_prog_compiler_static_F77
='-non_shared'
14695 lt_prog_compiler_static_F77
='-non_shared'
14699 lt_prog_compiler_pic_F77
='-KPIC'
14700 lt_prog_compiler_static_F77
='-Bstatic'
14701 case $cc_basename in
14702 f77
* | f90
* | f95
*)
14703 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14705 lt_prog_compiler_wl_F77
='-Wl,';;
14710 lt_prog_compiler_wl_F77
='-Qoption ld '
14711 lt_prog_compiler_pic_F77
='-PIC'
14712 lt_prog_compiler_static_F77
='-Bstatic'
14715 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14716 lt_prog_compiler_wl_F77
='-Wl,'
14717 lt_prog_compiler_pic_F77
='-KPIC'
14718 lt_prog_compiler_static_F77
='-Bstatic'
14722 if test -d /usr
/nec
;then
14723 lt_prog_compiler_pic_F77
='-Kconform_pic'
14724 lt_prog_compiler_static_F77
='-Bstatic'
14728 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14729 lt_prog_compiler_wl_F77
='-Wl,'
14730 lt_prog_compiler_pic_F77
='-KPIC'
14731 lt_prog_compiler_static_F77
='-Bstatic'
14735 lt_prog_compiler_wl_F77
='-Wl,'
14736 lt_prog_compiler_can_build_shared_F77
=no
14740 lt_prog_compiler_pic_F77
='-pic'
14741 lt_prog_compiler_static_F77
='-Bstatic'
14745 lt_prog_compiler_can_build_shared_F77
=no
14750 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14751 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14754 # Check to make sure the PIC flag actually works.
14756 if test -n "$lt_prog_compiler_pic_F77"; then
14758 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14759 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14760 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14761 echo $ECHO_N "(cached) $ECHO_C" >&6
14763 lt_cv_prog_compiler_pic_works_F77
=no
14764 ac_outfile
=conftest.
$ac_objext
14765 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14766 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14767 # Insert the option either (1) after the last *FLAGS variable, or
14768 # (2) before a word containing "conftest.", or (3) at the end.
14769 # Note that $ac_compile itself does not contain backslashes and begins
14770 # with a dollar sign (not a hyphen), so the echo should work correctly.
14771 # The option is referenced via a variable to avoid confusing sed.
14772 lt_compile
=`echo "$ac_compile" | $SED \
14773 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14774 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14775 -e 's:$: $lt_compiler_flag:'`
14776 (eval echo "\"\$as_me:14776: $lt_compile\"" >&5)
14777 (eval "$lt_compile" 2>conftest.err
)
14779 cat conftest.err
>&5
14780 echo "$as_me:14780: \$? = $ac_status" >&5
14781 if (exit $ac_status) && test -s "$ac_outfile"; then
14782 # The compiler can only warn and ignore the option if not recognized
14783 # So say no if there are warnings other than the usual output.
14784 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14785 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14786 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14787 lt_cv_prog_compiler_pic_works_F77
=yes
14793 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14794 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14796 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
14797 case $lt_prog_compiler_pic_F77 in
14799 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14802 lt_prog_compiler_pic_F77
=
14803 lt_prog_compiler_can_build_shared_F77
=no
14808 # For platforms which do not support PIC, -DPIC is meaningless:
14810 lt_prog_compiler_pic_F77
=
14813 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14818 # Check to make sure the static flag actually works.
14820 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14821 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14822 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14823 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14824 echo $ECHO_N "(cached) $ECHO_C" >&6
14826 lt_cv_prog_compiler_static_works_F77
=no
14827 save_LDFLAGS
="$LDFLAGS"
14828 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14829 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14830 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14831 # The linker can only warn and ignore the option if not recognized
14832 # So say no if there are warnings
14833 if test -s conftest.err
; then
14834 # Append any errors to the config.log.
14835 cat conftest.err
1>&5
14836 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14837 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14838 if diff conftest.exp conftest.er2
>/dev
/null
; then
14839 lt_cv_prog_compiler_static_works_F77
=yes
14842 lt_cv_prog_compiler_static_works_F77
=yes
14846 LDFLAGS
="$save_LDFLAGS"
14849 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14850 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14852 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
14855 lt_prog_compiler_static_F77
=
14859 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14860 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14861 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14862 echo $ECHO_N "(cached) $ECHO_C" >&6
14864 lt_cv_prog_compiler_c_o_F77
=no
14865 $rm -r conftest
2>/dev
/null
14869 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14871 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14872 # Insert the option either (1) after the last *FLAGS variable, or
14873 # (2) before a word containing "conftest.", or (3) at the end.
14874 # Note that $ac_compile itself does not contain backslashes and begins
14875 # with a dollar sign (not a hyphen), so the echo should work correctly.
14876 lt_compile
=`echo "$ac_compile" | $SED \
14877 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14878 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14879 -e 's:$: $lt_compiler_flag:'`
14880 (eval echo "\"\$as_me:14880: $lt_compile\"" >&5)
14881 (eval "$lt_compile" 2>out
/conftest.err
)
14883 cat out
/conftest.err
>&5
14884 echo "$as_me:14884: \$? = $ac_status" >&5
14885 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14887 # The compiler can only warn and ignore the option if not recognized
14888 # So say no if there are warnings
14889 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14890 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14891 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14892 lt_cv_prog_compiler_c_o_F77
=yes
14897 # SGI C++ compiler will create directory out/ii_files/ for
14898 # template instantiation
14899 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14900 $rm out
/* && rmdir out
14906 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14907 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14910 hard_links
="nottested"
14911 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14912 # do not overwrite the value of need_locks provided by the user
14913 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14914 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14917 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14919 ln conftest.a conftest.b
2>&5 || hard_links
=no
14920 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14921 { echo "$as_me:$LINENO: result: $hard_links" >&5
14922 echo "${ECHO_T}$hard_links" >&6; }
14923 if test "$hard_links" = no
; then
14924 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14925 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14932 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14933 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14936 allow_undefined_flag_F77
=
14937 enable_shared_with_static_runtimes_F77
=no
14939 archive_expsym_cmds_F77
=
14940 old_archive_From_new_cmds_F77
=
14941 old_archive_from_expsyms_cmds_F77
=
14942 export_dynamic_flag_spec_F77
=
14943 whole_archive_flag_spec_F77
=
14944 thread_safe_flag_spec_F77
=
14945 hardcode_libdir_flag_spec_F77
=
14946 hardcode_libdir_flag_spec_ld_F77
=
14947 hardcode_libdir_separator_F77
=
14948 hardcode_direct_F77
=no
14949 hardcode_minus_L_F77
=no
14950 hardcode_shlibpath_var_F77
=unsupported
14951 link_all_deplibs_F77
=unknown
14952 hardcode_automatic_F77
=no
14954 module_expsym_cmds_F77
=
14955 always_export_symbols_F77
=no
14956 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14957 # include_expsyms should be a list of space-separated symbols to be *always*
14958 # included in the symbol list
14959 include_expsyms_F77
=
14960 # exclude_expsyms can be an extended regexp of symbols to exclude
14961 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14962 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14963 # as well as any symbol that contains `d'.
14964 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14965 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14966 # platforms (ab)use it in PIC code, but their linkers get confused if
14967 # the symbol is explicitly referenced. Since portable code cannot
14968 # rely on this symbol name, it's probably fine to never include it in
14969 # preloaded symbol tables.
14970 # Exclude shared library initialization/finalization symbols.
14971 extract_expsyms_cmds
=
14972 # Just being paranoid about ensuring that cc_basename is set.
14973 for cc_temp
in $compiler""; do
14975 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14976 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14981 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14984 cygwin
* | mingw
* | pw32
*)
14985 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14986 # When not using gcc, we currently assume that we are using
14987 # Microsoft Visual C++.
14988 if test "$GCC" != yes; then
14993 # we just hope/assume this is gcc and not c89 (= MSVC++)
15002 if test "$with_gnu_ld" = yes; then
15003 # If archive_cmds runs LD, not CC, wlarc should be empty
15006 # Set some defaults for GNU ld with shared library support. These
15007 # are reset later if shared libraries are not supported. Putting them
15008 # here allows them to be overridden if necessary.
15009 runpath_var
=LD_RUN_PATH
15010 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
15011 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
15012 # ancient GNU ld didn't support --whole-archive et. al.
15013 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15014 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15016 whole_archive_flag_spec_F77
=
15018 supports_anon_versioning
=no
15019 case `$LD -v 2>/dev/null` in
15020 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
15021 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15022 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15023 *\
2.11.
*) ;; # other 2.11 versions
15024 *) supports_anon_versioning
=yes ;;
15027 # See if GNU ld supports shared libraries.
15030 # On AIX/PPC, the GNU linker is very broken
15031 if test "$host_cpu" != ia64
; then
15035 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15036 *** to be unable to reliably create shared libraries on AIX.
15037 *** Therefore, libtool is disabling shared libraries support. If you
15038 *** really care for shared libraries, you may want to modify your PATH
15039 *** so that a non-GNU linker is found, and then restart.
15046 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)'
15047 hardcode_libdir_flag_spec_F77
='-L$libdir'
15048 hardcode_minus_L_F77
=yes
15050 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15051 # that the semantics of dynamic libraries on AmigaOS, at least up
15052 # to version 4, is to share data among multiple programs linked
15053 # with the same dynamic library. Since this doesn't match the
15054 # behavior of shared libraries on other platforms, we can't use
15060 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15061 allow_undefined_flag_F77
=unsupported
15062 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15063 # support --undefined. This deserves some investigation. FIXME
15064 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15070 cygwin
* | mingw
* | pw32
*)
15071 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15072 # as there is no search path for DLLs.
15073 hardcode_libdir_flag_spec_F77
='-L$libdir'
15074 allow_undefined_flag_F77
=unsupported
15075 always_export_symbols_F77
=no
15076 enable_shared_with_static_runtimes_F77
=yes
15077 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15079 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15080 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15081 # If the export-symbols file already is a .def file (1st line
15082 # is EXPORTS), use it as is; otherwise, prepend...
15083 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15084 cp $export_symbols $output_objdir/$soname.def;
15086 echo EXPORTS > $output_objdir/$soname.def;
15087 cat $export_symbols >> $output_objdir/$soname.def;
15089 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15096 hardcode_direct_F77
=no
15097 hardcode_shlibpath_var_F77
=no
15098 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15099 export_dynamic_flag_spec_F77
='${wl}-E'
15100 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15101 # Instead, shared libraries are loaded at an image base (0x10000000 by
15102 # default) and relocated if they conflict, which is a slow very memory
15103 # consuming and fragmenting process. To avoid this, we pick a random,
15104 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15105 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15106 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'
15107 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'
15110 gnu
* | linux
* | k
*bsd
*-gnu)
15111 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15113 case $cc_basename,$host_cpu in
15114 pgcc
*) # Portland Group C compiler
15115 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'
15116 tmp_addflag
=' $pic_flag'
15118 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15119 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'
15120 tmp_addflag
=' $pic_flag -Mnomain' ;;
15121 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15122 tmp_addflag
=' -i_dynamic' ;;
15123 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15124 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15125 ifc
* | ifort
*) # Intel Fortran compiler
15126 tmp_addflag
=' -nofor_main' ;;
15128 case `$CC -V 2>&1 | sed 5q` in
15129 *Sun\ C
*) # Sun C 5.9
15130 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'
15131 tmp_sharedflag
='-G' ;;
15132 *Sun\ F
*) # Sun Fortran 8.3
15133 tmp_sharedflag
='-G' ;;
15135 tmp_sharedflag
='-shared' ;;
15137 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15139 if test $supports_anon_versioning = yes; then
15140 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15141 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15142 $echo "local: *; };" >> $output_objdir/$libname.ver~
15143 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15145 link_all_deplibs_F77
=no
15151 netbsd
* | netbsdelf
*-gnu)
15152 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15153 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15156 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15157 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15162 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15166 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15167 *** create shared libraries on Solaris systems. Therefore, libtool
15168 *** is disabling shared libraries support. We urge you to upgrade GNU
15169 *** binutils to release 2.9.1 or newer. Another option is to modify
15170 *** your PATH or compiler configuration so that the native linker is
15171 *** used, and then restart.
15174 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15175 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15176 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15182 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15183 case `$LD -v 2>&1` in
15184 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15188 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15189 *** reliably create shared libraries on SCO systems. Therefore, libtool
15190 *** is disabling shared libraries support. We urge you to upgrade GNU
15191 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15192 *** your PATH or compiler configuration so that the native linker is
15193 *** used, and then restart.
15198 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15199 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15200 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15201 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15210 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15212 hardcode_direct_F77
=yes
15213 hardcode_shlibpath_var_F77
=no
15217 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15218 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15219 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15226 if test "$ld_shlibs_F77" = no
; then
15228 hardcode_libdir_flag_spec_F77
=
15229 export_dynamic_flag_spec_F77
=
15230 whole_archive_flag_spec_F77
=
15233 # PORTME fill in a description of your system's linker (not GNU ld)
15236 allow_undefined_flag_F77
=unsupported
15237 always_export_symbols_F77
=yes
15238 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'
15239 # Note: this linker hardcodes the directories in LIBPATH if there
15240 # are no directories specified by -L.
15241 hardcode_minus_L_F77
=yes
15242 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15243 # Neither direct hardcoding nor static linking is supported with a
15245 hardcode_direct_F77
=unsupported
15250 if test "$host_cpu" = ia64
; then
15251 # On IA64, the linker does run time linking by default, so we don't
15252 # have to do anything special.
15253 aix_use_runtimelinking
=no
15254 exp_sym_flag
='-Bexport'
15257 # If we're using GNU nm, then we don't want the "-C" option.
15258 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15259 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15260 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'
15262 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'
15264 aix_use_runtimelinking
=no
15266 # Test if we are trying to use run time linking or normal
15267 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15268 # need to do runtime linking.
15269 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15270 for ld_flag
in $LDFLAGS; do
15271 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15272 aix_use_runtimelinking
=yes
15279 exp_sym_flag
='-bexport'
15280 no_entry_flag
='-bnoentry'
15283 # When large executables or shared objects are built, AIX ld can
15284 # have problems creating the table of contents. If linking a library
15285 # or program results in "error TOC overflow" add -mminimal-toc to
15286 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15287 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15289 archive_cmds_F77
=''
15290 hardcode_direct_F77
=yes
15291 hardcode_libdir_separator_F77
=':'
15292 link_all_deplibs_F77
=yes
15294 if test "$GCC" = yes; then
15295 case $host_os in aix4.
[012]|aix4.
[012].
*)
15296 # We only want to do this on AIX 4.2 and lower, the check
15297 # below for broken collect2 doesn't work under 4.3+
15298 collect2name
=`${CC} -print-prog-name=collect2`
15299 if test -f "$collect2name" && \
15300 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15302 # We have reworked collect2
15305 # We have old collect2
15306 hardcode_direct_F77
=unsupported
15307 # It fails to find uninstalled libraries when the uninstalled
15308 # path is not listed in the libpath. Setting hardcode_minus_L
15309 # to unsupported forces relinking
15310 hardcode_minus_L_F77
=yes
15311 hardcode_libdir_flag_spec_F77
='-L$libdir'
15312 hardcode_libdir_separator_F77
=
15316 shared_flag
='-shared'
15317 if test "$aix_use_runtimelinking" = yes; then
15318 shared_flag
="$shared_flag "'${wl}-G'
15322 if test "$host_cpu" = ia64
; then
15323 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15324 # chokes on -Wl,-G. The following line is correct:
15327 if test "$aix_use_runtimelinking" = yes; then
15328 shared_flag
='${wl}-G'
15330 shared_flag
='${wl}-bM:SRE'
15335 # It seems that -bexpall does not export symbols beginning with
15336 # underscore (_), so it is better to generate a list of symbols to export.
15337 always_export_symbols_F77
=yes
15338 if test "$aix_use_runtimelinking" = yes; then
15339 # Warning - without using the other runtime loading flags (-brtl),
15340 # -berok will link without error, but may produce a broken library.
15341 allow_undefined_flag_F77
='-berok'
15342 # Determine the default libpath from the value encoded in an empty executable.
15343 cat >conftest.
$ac_ext <<_ACEOF
15348 rm -f conftest.
$ac_objext conftest
$ac_exeext
15349 if { (ac_try
="$ac_link"
15350 case "(($ac_try" in
15351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_link") 2>conftest.er1
15357 grep -v '^ *+' conftest.er1 >conftest.err
15359 cat conftest.err >&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } && {
15362 test -z "$ac_f77_werror_flag" ||
15363 test ! -s conftest.err
15364 } && test -s conftest$ac_exeext &&
15365 $as_test_x conftest$ac_exeext; then
15367 lt_aix_libpath_sed='
15368 /Import File Strings/,/^$/ {
15374 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15375 # Check for a 64-bit object if we didn't find anything.
15376 if test -z "$aix_libpath"; then
15377 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15380 echo "$as_me: failed program was:" >&5
15381 sed 's/^/| /' conftest.$ac_ext >&5
15386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15387 conftest$ac_exeext conftest.$ac_ext
15388 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15390 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15391 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"
15393 if test "$host_cpu" = ia64; then
15394 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15395 allow_undefined_flag_F77="-z nodefs"
15396 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"
15398 # Determine the default libpath from the value encoded in an empty executable.
15399 cat >conftest.$ac_ext <<_ACEOF
15404 rm -f conftest.$ac_objext conftest$ac_exeext
15405 if { (ac_try="$ac_link"
15406 case "(($ac_try" in
15407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15408 *) ac_try_echo
=$ac_try;;
15410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15411 (eval "$ac_link") 2>conftest.er1
15413 grep -v '^ *+' conftest.er1
>conftest.err
15415 cat conftest.err
>&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } && {
15418 test -z "$ac_f77_werror_flag" ||
15419 test ! -s conftest.err
15420 } && test -s conftest
$ac_exeext &&
15421 $as_test_x conftest
$ac_exeext; then
15423 lt_aix_libpath_sed
='
15424 /Import File Strings/,/^$/ {
15430 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15431 # Check for a 64-bit object if we didn't find anything.
15432 if test -z "$aix_libpath"; then
15433 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15436 echo "$as_me: failed program was:" >&5
15437 sed 's/^/| /' conftest.
$ac_ext >&5
15442 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15443 conftest
$ac_exeext conftest.
$ac_ext
15444 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15446 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15447 # Warning - without using the other run time loading flags,
15448 # -berok will link without error, but may produce a broken library.
15449 no_undefined_flag_F77
=' ${wl}-bernotok'
15450 allow_undefined_flag_F77
=' ${wl}-berok'
15451 # Exported symbols can be pulled into shared objects from archives
15452 whole_archive_flag_spec_F77
='$convenience'
15453 archive_cmds_need_lc_F77
=yes
15454 # This is similar to how AIX traditionally builds its shared libraries.
15455 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'
15461 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)'
15462 hardcode_libdir_flag_spec_F77
='-L$libdir'
15463 hardcode_minus_L_F77
=yes
15464 # see comment about different semantics on the GNU ld section
15469 export_dynamic_flag_spec_F77
=-rdynamic
15472 cygwin
* | mingw
* | pw32
*)
15473 # When not using gcc, we currently assume that we are using
15474 # Microsoft Visual C++.
15475 # hardcode_libdir_flag_spec is actually meaningless, as there is
15476 # no search path for DLLs.
15477 hardcode_libdir_flag_spec_F77
=' '
15478 allow_undefined_flag_F77
=unsupported
15479 # Tell ltmain to make .lib files, not .a files.
15481 # Tell ltmain to make .dll files, not .so files.
15483 # FIXME: Setting linknames here is a bad hack.
15484 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15485 # The linker will automatically build a .lib file if we build a DLL.
15486 old_archive_From_new_cmds_F77
='true'
15487 # FIXME: Should let the user specify the lib program.
15488 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15489 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15490 enable_shared_with_static_runtimes_F77
=yes
15493 darwin
* | rhapsody
*)
15495 rhapsody
* | darwin1.
[012])
15496 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15499 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15500 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15502 case ${MACOSX_DEPLOYMENT_TARGET} in
15504 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15507 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15513 archive_cmds_need_lc_F77
=no
15514 hardcode_direct_F77
=no
15515 hardcode_automatic_F77
=yes
15516 hardcode_shlibpath_var_F77
=unsupported
15517 whole_archive_flag_spec_F77
=''
15518 link_all_deplibs_F77
=yes
15519 if test "$GCC" = yes ; then
15520 output_verbose_link_cmd
='echo'
15521 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}"
15522 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15523 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}"
15524 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}"
15526 case $cc_basename in
15528 output_verbose_link_cmd
='echo'
15529 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15530 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15531 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15532 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}'
15533 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}'
15543 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15544 hardcode_libdir_flag_spec_F77
='-L$libdir'
15545 hardcode_shlibpath_var_F77
=no
15552 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15553 # support. Future versions do this automatically, but an explicit c++rt0.o
15554 # does not break anything, and helps significantly (at the cost of a little
15557 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15558 hardcode_libdir_flag_spec_F77
='-R$libdir'
15559 hardcode_direct_F77
=yes
15560 hardcode_shlibpath_var_F77
=no
15563 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15565 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15566 hardcode_direct_F77
=yes
15567 hardcode_minus_L_F77
=yes
15568 hardcode_shlibpath_var_F77
=no
15571 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15572 freebsd
* | dragonfly
*)
15573 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15574 hardcode_libdir_flag_spec_F77
='-R$libdir'
15575 hardcode_direct_F77
=yes
15576 hardcode_shlibpath_var_F77
=no
15580 if test "$GCC" = yes; then
15581 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'
15583 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'
15585 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15586 hardcode_libdir_separator_F77
=:
15587 hardcode_direct_F77
=yes
15589 # hardcode_minus_L: Not really in the search PATH,
15590 # but as the default location of the library.
15591 hardcode_minus_L_F77
=yes
15592 export_dynamic_flag_spec_F77
='${wl}-E'
15596 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15597 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15599 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15601 if test "$with_gnu_ld" = no
; then
15602 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15603 hardcode_libdir_separator_F77
=:
15605 hardcode_direct_F77
=yes
15606 export_dynamic_flag_spec_F77
='${wl}-E'
15608 # hardcode_minus_L: Not really in the search PATH,
15609 # but as the default location of the library.
15610 hardcode_minus_L_F77
=yes
15615 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15618 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15621 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15624 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15630 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15633 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15636 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15640 if test "$with_gnu_ld" = no
; then
15641 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15642 hardcode_libdir_separator_F77
=:
15646 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15647 hardcode_direct_F77
=no
15648 hardcode_shlibpath_var_F77
=no
15651 hardcode_direct_F77
=yes
15652 export_dynamic_flag_spec_F77
='${wl}-E'
15654 # hardcode_minus_L: Not really in the search PATH,
15655 # but as the default location of the library.
15656 hardcode_minus_L_F77
=yes
15662 irix5
* | irix6
* | nonstopux
*)
15663 if test "$GCC" = yes; then
15664 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'
15666 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'
15667 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15669 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15670 hardcode_libdir_separator_F77
=:
15671 link_all_deplibs_F77
=yes
15674 netbsd
* | netbsdelf
*-gnu)
15675 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15676 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15678 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15680 hardcode_libdir_flag_spec_F77
='-R$libdir'
15681 hardcode_direct_F77
=yes
15682 hardcode_shlibpath_var_F77
=no
15686 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15687 hardcode_direct_F77
=yes
15688 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15689 hardcode_libdir_separator_F77
=:
15690 hardcode_shlibpath_var_F77
=no
15694 if test -f /usr
/libexec
/ld.so
; then
15695 hardcode_direct_F77
=yes
15696 hardcode_shlibpath_var_F77
=no
15697 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15698 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15699 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15700 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15701 export_dynamic_flag_spec_F77
='${wl}-E'
15704 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15705 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15706 hardcode_libdir_flag_spec_F77
='-R$libdir'
15709 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15710 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15720 hardcode_libdir_flag_spec_F77
='-L$libdir'
15721 hardcode_minus_L_F77
=yes
15722 allow_undefined_flag_F77
=unsupported
15723 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'
15724 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15728 if test "$GCC" = yes; then
15729 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15730 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'
15732 allow_undefined_flag_F77
=' -expect_unresolved \*'
15733 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'
15735 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15736 hardcode_libdir_separator_F77
=:
15739 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15740 if test "$GCC" = yes; then
15741 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15742 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'
15743 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15745 allow_undefined_flag_F77
=' -expect_unresolved \*'
15746 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'
15747 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~
15748 $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'
15750 # Both c and cxx compiler support -rpath directly
15751 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15753 hardcode_libdir_separator_F77
=:
15757 no_undefined_flag_F77
=' -z text'
15758 if test "$GCC" = yes; then
15760 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15761 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15762 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15765 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15766 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15767 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15769 hardcode_libdir_flag_spec_F77
='-R$libdir'
15770 hardcode_shlibpath_var_F77
=no
15772 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15774 # The compiler driver will combine and reorder linker options,
15775 # but understands `-z linker_flag'. GCC discards it without `$wl',
15776 # but is careful enough not to reorder.
15777 # Supported since Solaris 2.6 (maybe 2.5.1?)
15778 if test "$GCC" = yes; then
15779 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15781 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15785 link_all_deplibs_F77
=yes
15789 if test "x$host_vendor" = xsequent
; then
15790 # Use $CC to link under sequent, because it throws in some extra .o
15791 # files that make .init and .fini sections work.
15792 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15794 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15796 hardcode_libdir_flag_spec_F77
='-L$libdir'
15797 hardcode_direct_F77
=yes
15798 hardcode_minus_L_F77
=yes
15799 hardcode_shlibpath_var_F77
=no
15803 case $host_vendor in
15805 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15806 hardcode_direct_F77
=yes # is this really true???
15809 ## LD is ld it makes a PLAMLIB
15810 ## CC just makes a GrossModule.
15811 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15812 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15813 hardcode_direct_F77
=no
15816 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15817 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15820 runpath_var
='LD_RUN_PATH'
15821 hardcode_shlibpath_var_F77
=no
15825 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15826 hardcode_shlibpath_var_F77
=no
15827 export_dynamic_flag_spec_F77
='-Bexport'
15831 if test -d /usr
/nec
; then
15832 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15833 hardcode_shlibpath_var_F77
=no
15834 runpath_var
=LD_RUN_PATH
15835 hardcode_runpath_var
=yes
15840 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15841 no_undefined_flag_F77
='${wl}-z,text'
15842 archive_cmds_need_lc_F77
=no
15843 hardcode_shlibpath_var_F77
=no
15844 runpath_var
='LD_RUN_PATH'
15846 if test "$GCC" = yes; then
15847 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15848 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15850 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15851 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15855 sysv5
* | sco3.2v5
* | sco5v6
*)
15856 # Note: We can NOT use -z defs as we might desire, because we do not
15857 # link with -lc, and that would cause any symbols used from libc to
15858 # always be unresolved, which means just about no library would
15859 # ever link correctly. If we're not using GNU ld we use -z text
15860 # though, which does catch some bad symbols but isn't as heavy-handed
15862 no_undefined_flag_F77
='${wl}-z,text'
15863 allow_undefined_flag_F77
='${wl}-z,nodefs'
15864 archive_cmds_need_lc_F77
=no
15865 hardcode_shlibpath_var_F77
=no
15866 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15867 hardcode_libdir_separator_F77
=':'
15868 link_all_deplibs_F77
=yes
15869 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15870 runpath_var
='LD_RUN_PATH'
15872 if test "$GCC" = yes; then
15873 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15874 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15876 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15877 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15882 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15883 hardcode_libdir_flag_spec_F77
='-L$libdir'
15884 hardcode_shlibpath_var_F77
=no
15893 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15894 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15895 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15898 # Do we need to explicitly link libc?
15900 case "x$archive_cmds_need_lc_F77" in
15902 # Assume -lc should be added
15903 archive_cmds_need_lc_F77
=yes
15905 if test "$enable_shared" = yes && test "$GCC" = yes; then
15906 case $archive_cmds_F77 in
15908 # FIXME: we may have to deal with multi-command sequences.
15911 # Test whether the compiler implicitly links with -lc since on some
15912 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15913 # to ld, don't add -lc before -lgcc.
15914 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15915 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15917 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15920 (eval $ac_compile) 2>&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } 2>conftest.err
; then
15926 libobjs
=conftest.
$ac_objext
15928 wl
=$lt_prog_compiler_wl_F77
15929 pic_flag
=$lt_prog_compiler_pic_F77
15935 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15936 allow_undefined_flag_F77
=
15937 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15938 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); }
15943 archive_cmds_need_lc_F77
=no
15945 archive_cmds_need_lc_F77
=yes
15947 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15949 cat conftest.err
1>&5
15952 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15953 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15960 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15961 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15962 library_names_spec
=
15963 libname_spec
='lib$name'
15967 postuninstall_cmds
=
15971 shlibpath_overrides_runpath
=unknown
15973 dynamic_linker
="$host_os ld.so"
15974 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15976 need_lib_prefix
=unknown
15977 hardcode_into_libs
=no
15979 # when you set need_version to no, make sure it does not cause -set_version
15980 # flags to be left without arguments
15981 need_version
=unknown
15986 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15987 shlibpath_var
=LIBPATH
15989 # AIX 3 has no versioning support, so we append a major version to the name.
15990 soname_spec
='${libname}${release}${shared_ext}$major'
15997 hardcode_into_libs
=yes
15998 if test "$host_cpu" = ia64
; then
15999 # AIX 5 supports IA64
16000 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16001 shlibpath_var
=LD_LIBRARY_PATH
16003 # With GCC up to 2.95.x, collect2 would create an import file
16004 # for dependence libraries. The import file would start with
16005 # the line `#! .'. This would cause the generated library to
16006 # depend on `.', always an invalid library. This was fixed in
16007 # development snapshots of GCC prior to 3.0.
16009 aix4 | aix4.
[01] | aix4.
[01].
*)
16010 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16012 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16015 can_build_shared
=no
16019 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16020 # soname into executable. Probably we can add versioning support to
16021 # collect2, so additional links can be useful in future.
16022 if test "$aix_use_runtimelinking" = yes; then
16023 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16024 # instead of lib<name>.a to let people know that these are not
16025 # typical AIX shared libraries.
16026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16028 # We preserve .a as extension for shared libraries through AIX4.2
16029 # and later when we are not doing run time linking.
16030 library_names_spec
='${libname}${release}.a $libname.a'
16031 soname_spec
='${libname}${release}${shared_ext}$major'
16033 shlibpath_var
=LIBPATH
16038 library_names_spec
='$libname.ixlibrary $libname.a'
16039 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16040 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'
16044 library_names_spec
='${libname}${shared_ext}'
16045 dynamic_linker
="$host_os ld.so"
16046 shlibpath_var
=LIBRARY_PATH
16052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16053 soname_spec
='${libname}${release}${shared_ext}$major'
16054 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16055 shlibpath_var
=LD_LIBRARY_PATH
16056 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16057 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16058 # the default ld.so.conf also contains /usr/contrib/lib and
16059 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16060 # libtool to hard-code these into programs
16063 cygwin
* | mingw
* | pw32
*)
16064 version_type
=windows
16069 case $GCC,$host_os in
16070 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16071 library_names_spec
='$libname.dll.a'
16072 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16073 postinstall_cmds
='base_file=`basename \${file}`~
16074 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16075 dldir=$destdir/`dirname \$dlpath`~
16076 test -d \$dldir || mkdir -p \$dldir~
16077 $install_prog $dir/$dlname \$dldir/$dlname~
16078 chmod a+x \$dldir/$dlname'
16079 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16080 dlpath=$dir/\$dldll~
16082 shlibpath_overrides_runpath
=yes
16086 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16087 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16088 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16091 # MinGW DLLs use traditional 'lib' prefix
16092 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16093 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16094 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16095 # It is most probably a Windows format PATH printed by
16096 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16097 # path with ; separators, and with drive letters. We can handle the
16098 # drive letters (cygwin fileutils understands them), so leave them,
16099 # especially as we might pass files found there to a mingw objdump,
16100 # which wouldn't understand a cygwinified path. Ahh.
16101 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16103 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16107 # pw32 DLLs use 'pw' prefix rather than 'lib'
16108 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16114 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16117 dynamic_linker
='Win32 ld.exe'
16118 # FIXME: first we should search . and the directory the executable is in
16122 darwin
* | rhapsody
*)
16123 dynamic_linker
="$host_os dyld"
16124 version_type
=darwin
16127 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16128 soname_spec
='${libname}${release}${major}$shared_ext'
16129 shlibpath_overrides_runpath
=yes
16130 shlibpath_var
=DYLD_LIBRARY_PATH
16131 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16133 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16141 soname_spec
='${libname}${release}${shared_ext}$major'
16142 shlibpath_var
=LD_LIBRARY_PATH
16149 freebsd
* | dragonfly
*)
16150 # DragonFly does not have aout. When/if they implement a new
16151 # versioning mechanism, adjust this.
16152 if test -x /usr
/bin
/objformat
; then
16153 objformat
=`/usr/bin/objformat`
16156 freebsd
[123]*) objformat
=aout
;;
16157 *) objformat
=elf
;;
16160 version_type
=freebsd-
$objformat
16161 case $version_type in
16163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16168 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16172 shlibpath_var
=LD_LIBRARY_PATH
16175 shlibpath_overrides_runpath
=yes
16177 freebsd3.
[01]* | freebsdelf3.
[01]*)
16178 shlibpath_overrides_runpath
=yes
16179 hardcode_into_libs
=yes
16181 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16182 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16183 shlibpath_overrides_runpath
=no
16184 hardcode_into_libs
=yes
16186 *) # from 4.6 on, and DragonFly
16187 shlibpath_overrides_runpath
=yes
16188 hardcode_into_libs
=yes
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
16200 hardcode_into_libs
=yes
16203 hpux9
* | hpux10
* | hpux11
*)
16204 # Give a soname corresponding to the major version so that dld.sl refuses to
16205 # link against other versions.
16212 hardcode_into_libs
=yes
16213 dynamic_linker
="$host_os dld.so"
16214 shlibpath_var
=LD_LIBRARY_PATH
16215 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16217 soname_spec
='${libname}${release}${shared_ext}$major'
16218 if test "X$HPUX_IA64_MODE" = X32
; then
16219 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16221 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16223 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16227 hardcode_into_libs
=yes
16228 dynamic_linker
="$host_os dld.sl"
16229 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16230 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16232 soname_spec
='${libname}${release}${shared_ext}$major'
16233 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16234 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16238 dynamic_linker
="$host_os dld.sl"
16239 shlibpath_var
=SHLIB_PATH
16240 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16242 soname_spec
='${libname}${release}${shared_ext}$major'
16245 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16246 postinstall_cmds
='chmod 555 $lib'
16253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16254 soname_spec
='${libname}${release}${shared_ext}$major'
16255 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16256 shlibpath_var
=LD_LIBRARY_PATH
16257 shlibpath_overrides_runpath
=no
16258 hardcode_into_libs
=yes
16261 irix5
* | irix6
* | nonstopux
*)
16263 nonstopux
*) version_type
=nonstopux
;;
16265 if test "$lt_cv_prog_gnu_ld" = yes; then
16273 soname_spec
='${libname}${release}${shared_ext}$major'
16274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16276 irix5
* | nonstopux
*)
16277 libsuff
= shlibsuff
=
16280 case $LD in # libtool.m4 will add one of these switches to LD
16281 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16282 libsuff
= shlibsuff
= libmagic
=32-bit;;
16283 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16284 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16285 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16286 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16287 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16291 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16292 shlibpath_overrides_runpath
=no
16293 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16294 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16295 hardcode_into_libs
=yes
16298 # No shared lib support for Linux oldld, aout, or coff.
16299 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16303 # This must be Linux ELF.
16304 linux
* | k
*bsd
*-gnu)
16308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16309 soname_spec
='${libname}${release}${shared_ext}$major'
16310 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16311 shlibpath_var
=LD_LIBRARY_PATH
16312 shlibpath_overrides_runpath
=no
16313 # This implies no fast_install, which is unacceptable.
16314 # Some rework will be needed to allow for fast_install
16315 # before this can be enabled.
16316 hardcode_into_libs
=yes
16318 # Append ld.so.conf contents to the search path
16319 if test -f /etc
/ld.so.conf
; then
16320 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' ' '`
16321 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16324 # We used to test for /lib/ld.so.1 and disable shared libraries on
16325 # powerpc, because MkLinux only supported shared libraries with the
16326 # GNU dynamic linker. Since this was broken with cross compilers,
16327 # most powerpc-linux boxes support dynamic linking these days and
16328 # people can always --disable-shared, the test was removed, and we
16329 # assume the GNU/Linux dynamic linker is in use.
16330 dynamic_linker
='GNU/Linux ld.so'
16337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16338 soname_spec
='${libname}${release}${shared_ext}$major'
16339 shlibpath_var
=LD_LIBRARY_PATH
16340 shlibpath_overrides_runpath
=no
16341 hardcode_into_libs
=yes
16342 dynamic_linker
='NetBSD ld.elf_so'
16349 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16351 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16352 dynamic_linker
='NetBSD (a.out) ld.so'
16354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16355 soname_spec
='${libname}${release}${shared_ext}$major'
16356 dynamic_linker
='NetBSD ld.elf_so'
16358 shlibpath_var
=LD_LIBRARY_PATH
16359 shlibpath_overrides_runpath
=yes
16360 hardcode_into_libs
=yes
16365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16366 shlibpath_var
=LD_LIBRARY_PATH
16367 shlibpath_overrides_runpath
=yes
16374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16375 soname_spec
='${libname}${release}${shared_ext}$major'
16376 shlibpath_var
=LD_LIBRARY_PATH
16377 shlibpath_overrides_runpath
=yes
16382 sys_lib_dlsearch_path_spec
="/usr/lib"
16384 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16386 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16387 *) need_version
=no
;;
16389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16390 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16391 shlibpath_var
=LD_LIBRARY_PATH
16392 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16394 openbsd2.
[89] | openbsd2.
[89].
*)
16395 shlibpath_overrides_runpath
=no
16398 shlibpath_overrides_runpath
=yes
16402 shlibpath_overrides_runpath
=yes
16407 libname_spec
='$name'
16410 library_names_spec
='$libname${shared_ext} $libname.a'
16411 dynamic_linker
='OS/2 ld.exe'
16412 shlibpath_var
=LIBPATH
16415 osf3
* | osf4
* | osf5
*)
16419 soname_spec
='${libname}${release}${shared_ext}$major'
16420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16421 shlibpath_var
=LD_LIBRARY_PATH
16422 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16423 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16435 soname_spec
='${libname}${release}${shared_ext}$major'
16436 shlibpath_var
=LD_LIBRARY_PATH
16437 shlibpath_overrides_runpath
=yes
16438 hardcode_into_libs
=yes
16439 # ldd complains unless libraries are executable
16440 postinstall_cmds
='chmod +x $lib'
16445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16446 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16447 shlibpath_var
=LD_LIBRARY_PATH
16448 shlibpath_overrides_runpath
=yes
16449 if test "$with_gnu_ld" = yes; then
16457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16458 soname_spec
='${libname}${release}${shared_ext}$major'
16459 shlibpath_var
=LD_LIBRARY_PATH
16460 case $host_vendor in
16462 shlibpath_overrides_runpath
=no
16464 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16465 runpath_var
=LD_RUN_PATH
16473 shlibpath_overrides_runpath
=no
16474 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16480 if test -d /usr
/nec
;then
16482 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16483 soname_spec
='$libname${shared_ext}.$major'
16484 shlibpath_var
=LD_LIBRARY_PATH
16488 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16489 version_type
=freebsd-elf
16492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16493 soname_spec
='${libname}${release}${shared_ext}$major'
16494 shlibpath_var
=LD_LIBRARY_PATH
16495 hardcode_into_libs
=yes
16496 if test "$with_gnu_ld" = yes; then
16497 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16498 shlibpath_overrides_runpath
=no
16500 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16501 shlibpath_overrides_runpath
=yes
16504 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16508 sys_lib_dlsearch_path_spec
='/usr/lib'
16513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16514 soname_spec
='${libname}${release}${shared_ext}$major'
16515 shlibpath_var
=LD_LIBRARY_PATH
16522 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16523 echo "${ECHO_T}$dynamic_linker" >&6; }
16524 test "$dynamic_linker" = no
&& can_build_shared
=no
16526 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16527 echo $ECHO_N "(cached) $ECHO_C" >&6
16529 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16532 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16533 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16534 echo $ECHO_N "(cached) $ECHO_C" >&6
16536 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16539 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16541 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16542 if test "$GCC" = yes; then
16543 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16546 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16547 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16548 hardcode_action_F77
=
16549 if test -n "$hardcode_libdir_flag_spec_F77" || \
16550 test -n "$runpath_var_F77" || \
16551 test "X$hardcode_automatic_F77" = "Xyes" ; then
16553 # We can hardcode non-existant directories.
16554 if test "$hardcode_direct_F77" != no
&&
16555 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16556 # have to relink, otherwise we might link with an installed library
16557 # when we should be linking with a yet-to-be-installed one
16558 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16559 test "$hardcode_minus_L_F77" != no
; then
16560 # Linking always hardcodes the temporary library directory.
16561 hardcode_action_F77
=relink
16563 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16564 hardcode_action_F77
=immediate
16567 # We cannot hardcode anything, or else we can only hardcode existing
16569 hardcode_action_F77
=unsupported
16571 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16572 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16574 if test "$hardcode_action_F77" = relink
; then
16575 # Fast installation is not supported
16576 enable_fast_install
=no
16577 elif test "$shlibpath_overrides_runpath" = yes ||
16578 test "$enable_shared" = no
; then
16579 # Fast installation is not necessary
16580 enable_fast_install
=needless
16584 # The else clause should only fire when bootstrapping the
16585 # libtool distribution, otherwise you forgot to ship ltmain.sh
16586 # with your package, and you will get complaints that there are
16587 # no rules to generate ltmain.sh.
16588 if test -f "$ltmain"; then
16589 # See if we are running on zsh, and set the options which allow our commands through
16590 # without removal of \ escapes.
16591 if test -n "${ZSH_VERSION+set}" ; then
16592 setopt NO_GLOB_SUBST
16594 # Now quote all the things that may contain metacharacters while being
16595 # careful not to overquote the AC_SUBSTed values. We take copies of the
16596 # variables and quote the copies for generation of the libtool script.
16597 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16599 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16600 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16601 deplibs_check_method reload_flag reload_cmds need_locks \
16602 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16603 lt_cv_sys_global_symbol_to_c_name_address \
16604 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16605 old_postinstall_cmds old_postuninstall_cmds \
16609 lt_prog_compiler_wl_F77 \
16610 lt_prog_compiler_pic_F77 \
16611 lt_prog_compiler_static_F77 \
16612 lt_prog_compiler_no_builtin_flag_F77 \
16613 export_dynamic_flag_spec_F77 \
16614 thread_safe_flag_spec_F77 \
16615 whole_archive_flag_spec_F77 \
16616 enable_shared_with_static_runtimes_F77 \
16617 old_archive_cmds_F77 \
16618 old_archive_from_new_cmds_F77 \
16619 predep_objects_F77 \
16620 postdep_objects_F77 \
16623 compiler_lib_search_path_F77 \
16624 compiler_lib_search_dirs_F77 \
16626 archive_expsym_cmds_F77 \
16627 postinstall_cmds_F77 \
16628 postuninstall_cmds_F77 \
16629 old_archive_from_expsyms_cmds_F77 \
16630 allow_undefined_flag_F77 \
16631 no_undefined_flag_F77 \
16632 export_symbols_cmds_F77 \
16633 hardcode_libdir_flag_spec_F77 \
16634 hardcode_libdir_flag_spec_ld_F77 \
16635 hardcode_libdir_separator_F77 \
16636 hardcode_automatic_F77 \
16638 module_expsym_cmds_F77 \
16639 lt_cv_prog_compiler_c_o_F77 \
16640 fix_srcfile_path_F77 \
16641 exclude_expsyms_F77 \
16642 include_expsyms_F77
; do
16645 old_archive_cmds_F77 | \
16646 old_archive_from_new_cmds_F77 | \
16647 archive_cmds_F77 | \
16648 archive_expsym_cmds_F77 | \
16649 module_cmds_F77 | \
16650 module_expsym_cmds_F77 | \
16651 old_archive_from_expsyms_cmds_F77 | \
16652 export_symbols_cmds_F77 | \
16653 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16654 postinstall_cmds | postuninstall_cmds | \
16655 old_postinstall_cmds | old_postuninstall_cmds | \
16656 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16657 # Double-quote double-evaled strings.
16658 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16661 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16667 *'\$0 --fallback-echo"')
16668 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16674 cat <<__EOF__ >> "$cfgfile"
16675 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16677 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16679 # Shell to use when invoking shell scripts.
16682 # Whether or not to build shared libraries.
16683 build_libtool_libs=$enable_shared
16685 # Whether or not to build static libraries.
16686 build_old_libs=$enable_static
16688 # Whether or not to add -lc for building shared libraries.
16689 build_libtool_need_lc=$archive_cmds_need_lc_F77
16691 # Whether or not to disallow shared libs when runtime libs are static
16692 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16694 # Whether or not to optimize for fast installation.
16695 fast_install=$enable_fast_install
16698 host_alias=$host_alias
16702 # The build system.
16703 build_alias=$build_alias
16707 # An echo program that does not interpret backslashes.
16712 AR_FLAGS=$lt_AR_FLAGS
16717 # LTCC compiler flags.
16718 LTCFLAGS=$lt_LTCFLAGS
16720 # A language-specific compiler.
16721 CC=$lt_compiler_F77
16723 # Is the compiler the GNU C compiler?
16729 # The linker used to build libraries.
16732 # Whether we need hard or soft links.
16735 # A BSD-compatible nm program.
16738 # A symbol stripping program
16741 # Used to examine libraries when file_magic_cmd begins "file"
16742 MAGIC_CMD=$MAGIC_CMD
16744 # Used on cygwin: DLL creation program.
16747 # Used on cygwin: object dumper.
16750 # Used on cygwin: assembler.
16753 # The name of the directory that contains temporary libtool files.
16756 # How to create reloadable object files.
16757 reload_flag=$lt_reload_flag
16758 reload_cmds=$lt_reload_cmds
16760 # How to pass a linker flag through the compiler.
16761 wl=$lt_lt_prog_compiler_wl_F77
16763 # Object file suffix (normally "o").
16764 objext="$ac_objext"
16766 # Old archive suffix (normally "a").
16769 # Shared library suffix (normally ".so").
16770 shrext_cmds='$shrext_cmds'
16772 # Executable file suffix (normally "").
16775 # Additional compiler flags for building library objects.
16776 pic_flag=$lt_lt_prog_compiler_pic_F77
16779 # What is the maximum length of a command?
16780 max_cmd_len=$lt_cv_sys_max_cmd_len
16782 # Does compiler simultaneously support -c and -o options?
16783 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16785 # Must we lock files when doing compilation?
16786 need_locks=$lt_need_locks
16788 # Do we need the lib prefix for modules?
16789 need_lib_prefix=$need_lib_prefix
16791 # Do we need a version for libraries?
16792 need_version=$need_version
16794 # Whether dlopen is supported.
16795 dlopen_support=$enable_dlopen
16797 # Whether dlopen of programs is supported.
16798 dlopen_self=$enable_dlopen_self
16800 # Whether dlopen of statically linked programs is supported.
16801 dlopen_self_static=$enable_dlopen_self_static
16803 # Compiler flag to prevent dynamic linking.
16804 link_static_flag=$lt_lt_prog_compiler_static_F77
16806 # Compiler flag to turn off builtin functions.
16807 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16809 # Compiler flag to allow reflexive dlopens.
16810 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16812 # Compiler flag to generate shared objects directly from archives.
16813 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16815 # Compiler flag to generate thread-safe objects.
16816 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16818 # Library versioning type.
16819 version_type=$version_type
16821 # Format of library name prefix.
16822 libname_spec=$lt_libname_spec
16824 # List of archive names. First name is the real one, the rest are links.
16825 # The last name is the one that the linker finds with -lNAME.
16826 library_names_spec=$lt_library_names_spec
16828 # The coded name of the library, if different from the real name.
16829 soname_spec=$lt_soname_spec
16831 # Commands used to build and install an old-style archive.
16833 old_archive_cmds=$lt_old_archive_cmds_F77
16834 old_postinstall_cmds=$lt_old_postinstall_cmds
16835 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16837 # Create an old-style archive from a shared archive.
16838 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16840 # Create a temporary old-style archive to link instead of a shared archive.
16841 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16843 # Commands used to build and install a shared archive.
16844 archive_cmds=$lt_archive_cmds_F77
16845 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16846 postinstall_cmds=$lt_postinstall_cmds
16847 postuninstall_cmds=$lt_postuninstall_cmds
16849 # Commands used to build a loadable module (assumed same as above if empty)
16850 module_cmds=$lt_module_cmds_F77
16851 module_expsym_cmds=$lt_module_expsym_cmds_F77
16853 # Commands to strip libraries.
16854 old_striplib=$lt_old_striplib
16855 striplib=$lt_striplib
16857 # Dependencies to place before the objects being linked to create a
16859 predep_objects=$lt_predep_objects_F77
16861 # Dependencies to place after the objects being linked to create a
16863 postdep_objects=$lt_postdep_objects_F77
16865 # Dependencies to place before the objects being linked to create a
16867 predeps=$lt_predeps_F77
16869 # Dependencies to place after the objects being linked to create a
16871 postdeps=$lt_postdeps_F77
16873 # The directories searched by this compiler when creating a shared
16875 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16877 # The library search path used internally by the compiler when linking
16878 # a shared library.
16879 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16881 # Method to check whether dependent libraries are shared objects.
16882 deplibs_check_method=$lt_deplibs_check_method
16884 # Command to use when deplibs_check_method == file_magic.
16885 file_magic_cmd=$lt_file_magic_cmd
16887 # Flag that allows shared libraries with undefined symbols to be built.
16888 allow_undefined_flag=$lt_allow_undefined_flag_F77
16890 # Flag that forces no undefined symbols.
16891 no_undefined_flag=$lt_no_undefined_flag_F77
16893 # Commands used to finish a libtool library installation in a directory.
16894 finish_cmds=$lt_finish_cmds
16896 # Same as above, but a single script fragment to be evaled but not shown.
16897 finish_eval=$lt_finish_eval
16899 # Take the output of nm and produce a listing of raw symbols and C names.
16900 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16902 # Transform the output of nm in a proper C declaration
16903 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16905 # Transform the output of nm in a C name address pair
16906 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16908 # This is the shared library runtime path variable.
16909 runpath_var=$runpath_var
16911 # This is the shared library path variable.
16912 shlibpath_var=$shlibpath_var
16914 # Is shlibpath searched before the hard-coded library search path?
16915 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16917 # How to hardcode a shared library path into an executable.
16918 hardcode_action=$hardcode_action_F77
16920 # Whether we should hardcode library paths into libraries.
16921 hardcode_into_libs=$hardcode_into_libs
16923 # Flag to hardcode \$libdir into a binary during linking.
16924 # This must work even if \$libdir does not exist.
16925 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16927 # If ld is used when linking, flag to hardcode \$libdir into
16928 # a binary during linking. This must work even if \$libdir does
16930 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16932 # Whether we need a single -rpath flag with a separated argument.
16933 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16935 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16936 # resulting binary.
16937 hardcode_direct=$hardcode_direct_F77
16939 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16940 # resulting binary.
16941 hardcode_minus_L=$hardcode_minus_L_F77
16943 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16944 # the resulting binary.
16945 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16947 # Set to yes if building a shared library automatically hardcodes DIR into the library
16948 # and all subsequent libraries and executables linked against it.
16949 hardcode_automatic=$hardcode_automatic_F77
16951 # Variables whose values should be saved in libtool wrapper scripts and
16952 # restored at relink time.
16953 variables_saved_for_relink="$variables_saved_for_relink"
16955 # Whether libtool must link a program against all its dependency libraries.
16956 link_all_deplibs=$link_all_deplibs_F77
16958 # Compile-time system search path for libraries
16959 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16961 # Run-time system search path for libraries
16962 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16964 # Fix the shell variable \$srcfile for the compiler.
16965 fix_srcfile_path=$lt_fix_srcfile_path
16967 # Set to yes if exported symbols are required.
16968 always_export_symbols=$always_export_symbols_F77
16970 # The commands to list exported symbols.
16971 export_symbols_cmds=$lt_export_symbols_cmds_F77
16973 # The commands to extract the exported symbol list from a shared archive.
16974 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16976 # Symbols that should not be listed in the preloaded symbols.
16977 exclude_expsyms=$lt_exclude_expsyms_F77
16979 # Symbols that must always be exported.
16980 include_expsyms=$lt_include_expsyms_F77
16982 # ### END LIBTOOL TAG CONFIG: $tagname
16988 # If there is no Makefile yet, we rely on a make rule to execute
16989 # `config.status --recheck' to rerun these tests and create the
16990 # libtool script then.
16991 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16992 if test -f "$ltmain_in"; then
16993 test -f Makefile
&& make "$ltmain"
16999 ac_cpp
='$CPP $CPPFLAGS'
17000 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17001 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17002 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17012 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17015 # Source file extension for Java test sources.
17018 # Object file extension for compiled Java test sources.
17022 # Code to be used in simple compile tests
17023 lt_simple_compile_test_code
="class foo {}"
17025 # Code to be used in simple link tests
17026 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
17028 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17030 # If no C compiler was specified, use CC.
17033 # If no C compiler flags were specified, use CFLAGS.
17034 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17036 # Allow CC to be a program name with arguments.
17040 # save warnings/boilerplate of simple test code
17041 ac_outfile
=conftest.
$ac_objext
17042 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17043 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17044 _lt_compiler_boilerplate
=`cat conftest.err`
17047 ac_outfile
=conftest.
$ac_objext
17048 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17049 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17050 _lt_linker_boilerplate
=`cat conftest.err`
17054 # Allow CC to be a program name with arguments.
17059 for cc_temp
in $compiler""; do
17061 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17062 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17067 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17070 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17071 archive_cmds_need_lc_GCJ
=no
17073 old_archive_cmds_GCJ
=$old_archive_cmds
17076 lt_prog_compiler_no_builtin_flag_GCJ
=
17078 if test "$GCC" = yes; then
17079 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17082 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17083 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17084 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17085 echo $ECHO_N "(cached) $ECHO_C" >&6
17087 lt_cv_prog_compiler_rtti_exceptions
=no
17088 ac_outfile
=conftest.
$ac_objext
17089 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17090 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17091 # Insert the option either (1) after the last *FLAGS variable, or
17092 # (2) before a word containing "conftest.", or (3) at the end.
17093 # Note that $ac_compile itself does not contain backslashes and begins
17094 # with a dollar sign (not a hyphen), so the echo should work correctly.
17095 # The option is referenced via a variable to avoid confusing sed.
17096 lt_compile
=`echo "$ac_compile" | $SED \
17097 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17098 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17099 -e 's:$: $lt_compiler_flag:'`
17100 (eval echo "\"\$as_me:17100: $lt_compile\"" >&5)
17101 (eval "$lt_compile" 2>conftest.err
)
17103 cat conftest.err
>&5
17104 echo "$as_me:17104: \$? = $ac_status" >&5
17105 if (exit $ac_status) && test -s "$ac_outfile"; then
17106 # The compiler can only warn and ignore the option if not recognized
17107 # So say no if there are warnings other than the usual output.
17108 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17109 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17110 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17111 lt_cv_prog_compiler_rtti_exceptions
=yes
17117 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17118 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17120 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17121 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17128 lt_prog_compiler_wl_GCJ
=
17129 lt_prog_compiler_pic_GCJ
=
17130 lt_prog_compiler_static_GCJ
=
17132 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17133 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17135 if test "$GCC" = yes; then
17136 lt_prog_compiler_wl_GCJ
='-Wl,'
17137 lt_prog_compiler_static_GCJ
='-static'
17141 # All AIX code is PIC.
17142 if test "$host_cpu" = ia64
; then
17143 # AIX 5 now supports IA64 processor
17144 lt_prog_compiler_static_GCJ
='-Bstatic'
17149 # FIXME: we need at least 68020 code to build shared libraries, but
17150 # adding the `-m68020' flag to GCC prevents building anything better,
17152 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17155 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17156 # PIC is the default for these OSes.
17159 mingw
* | cygwin
* | pw32
* | os2
*)
17160 # This hack is so that the source file can tell whether it is being
17161 # built for inclusion in a dll (and should export symbols for example).
17162 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17163 # (--disable-auto-import) libraries
17167 darwin
* | rhapsody
*)
17168 # PIC is the default on this platform
17169 # Common symbols not allowed in MH_DYLIB files
17170 lt_prog_compiler_pic_GCJ
='-fno-common'
17174 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17175 # Instead, we relocate shared libraries at runtime.
17179 # Just because we use GCC doesn't mean we suddenly get shared libraries
17180 # on systems that don't support them.
17181 lt_prog_compiler_can_build_shared_GCJ
=no
17186 if test -d /usr
/nec
; then
17187 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17192 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17193 # not for PA HP-UX.
17199 lt_prog_compiler_pic_GCJ
='-fPIC'
17205 lt_prog_compiler_pic_GCJ
='-fPIC'
17209 # PORTME Check for flag to pass linker flags through the system compiler.
17212 lt_prog_compiler_wl_GCJ
='-Wl,'
17213 if test "$host_cpu" = ia64
; then
17214 # AIX 5 now supports IA64 processor
17215 lt_prog_compiler_static_GCJ
='-Bstatic'
17217 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17221 # PIC is the default on this platform
17222 # Common symbols not allowed in MH_DYLIB files
17223 case $cc_basename in
17225 lt_prog_compiler_pic_GCJ
='-qnocommon'
17226 lt_prog_compiler_wl_GCJ
='-Wl,'
17231 mingw
* | cygwin
* | pw32
* | os2
*)
17232 # This hack is so that the source file can tell whether it is being
17233 # built for inclusion in a dll (and should export symbols for example).
17237 hpux9
* | hpux10
* | hpux11
*)
17238 lt_prog_compiler_wl_GCJ
='-Wl,'
17239 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17240 # not for PA HP-UX.
17246 lt_prog_compiler_pic_GCJ
='+Z'
17249 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17250 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17253 irix5
* | irix6
* | nonstopux
*)
17254 lt_prog_compiler_wl_GCJ
='-Wl,'
17255 # PIC (with -KPIC) is the default.
17256 lt_prog_compiler_static_GCJ
='-non_shared'
17260 lt_prog_compiler_pic_GCJ
='-KPIC'
17261 lt_prog_compiler_static_GCJ
='-Bstatic'
17264 linux
* | k
*bsd
*-gnu)
17265 case $cc_basename in
17267 lt_prog_compiler_wl_GCJ
='-Wl,'
17268 lt_prog_compiler_pic_GCJ
='-KPIC'
17269 lt_prog_compiler_static_GCJ
='-static'
17271 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17272 # Portland Group compilers (*not* the Pentium gcc compiler,
17273 # which looks to be a dead project)
17274 lt_prog_compiler_wl_GCJ
='-Wl,'
17275 lt_prog_compiler_pic_GCJ
='-fpic'
17276 lt_prog_compiler_static_GCJ
='-Bstatic'
17279 lt_prog_compiler_wl_GCJ
='-Wl,'
17280 # All Alpha code is PIC.
17281 lt_prog_compiler_static_GCJ
='-non_shared'
17284 case `$CC -V 2>&1 | sed 5q` in
17287 lt_prog_compiler_pic_GCJ
='-KPIC'
17288 lt_prog_compiler_static_GCJ
='-Bstatic'
17289 lt_prog_compiler_wl_GCJ
='-Wl,'
17292 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17293 lt_prog_compiler_pic_GCJ
='-KPIC'
17294 lt_prog_compiler_static_GCJ
='-Bstatic'
17295 lt_prog_compiler_wl_GCJ
=''
17302 osf3
* | osf4
* | osf5
*)
17303 lt_prog_compiler_wl_GCJ
='-Wl,'
17304 # All OSF/1 code is PIC.
17305 lt_prog_compiler_static_GCJ
='-non_shared'
17309 lt_prog_compiler_static_GCJ
='-non_shared'
17313 lt_prog_compiler_pic_GCJ
='-KPIC'
17314 lt_prog_compiler_static_GCJ
='-Bstatic'
17315 case $cc_basename in
17316 f77
* | f90
* | f95
*)
17317 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17319 lt_prog_compiler_wl_GCJ
='-Wl,';;
17324 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17325 lt_prog_compiler_pic_GCJ
='-PIC'
17326 lt_prog_compiler_static_GCJ
='-Bstatic'
17329 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17330 lt_prog_compiler_wl_GCJ
='-Wl,'
17331 lt_prog_compiler_pic_GCJ
='-KPIC'
17332 lt_prog_compiler_static_GCJ
='-Bstatic'
17336 if test -d /usr
/nec
;then
17337 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17338 lt_prog_compiler_static_GCJ
='-Bstatic'
17342 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17343 lt_prog_compiler_wl_GCJ
='-Wl,'
17344 lt_prog_compiler_pic_GCJ
='-KPIC'
17345 lt_prog_compiler_static_GCJ
='-Bstatic'
17349 lt_prog_compiler_wl_GCJ
='-Wl,'
17350 lt_prog_compiler_can_build_shared_GCJ
=no
17354 lt_prog_compiler_pic_GCJ
='-pic'
17355 lt_prog_compiler_static_GCJ
='-Bstatic'
17359 lt_prog_compiler_can_build_shared_GCJ
=no
17364 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17365 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17368 # Check to make sure the PIC flag actually works.
17370 if test -n "$lt_prog_compiler_pic_GCJ"; then
17372 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17373 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17374 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17375 echo $ECHO_N "(cached) $ECHO_C" >&6
17377 lt_cv_prog_compiler_pic_works_GCJ
=no
17378 ac_outfile
=conftest.
$ac_objext
17379 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17380 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17381 # Insert the option either (1) after the last *FLAGS variable, or
17382 # (2) before a word containing "conftest.", or (3) at the end.
17383 # Note that $ac_compile itself does not contain backslashes and begins
17384 # with a dollar sign (not a hyphen), so the echo should work correctly.
17385 # The option is referenced via a variable to avoid confusing sed.
17386 lt_compile
=`echo "$ac_compile" | $SED \
17387 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17388 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17389 -e 's:$: $lt_compiler_flag:'`
17390 (eval echo "\"\$as_me:17390: $lt_compile\"" >&5)
17391 (eval "$lt_compile" 2>conftest.err
)
17393 cat conftest.err
>&5
17394 echo "$as_me:17394: \$? = $ac_status" >&5
17395 if (exit $ac_status) && test -s "$ac_outfile"; then
17396 # The compiler can only warn and ignore the option if not recognized
17397 # So say no if there are warnings other than the usual output.
17398 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17399 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17400 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17401 lt_cv_prog_compiler_pic_works_GCJ
=yes
17407 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17408 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17410 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17411 case $lt_prog_compiler_pic_GCJ in
17413 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17416 lt_prog_compiler_pic_GCJ
=
17417 lt_prog_compiler_can_build_shared_GCJ
=no
17422 # For platforms which do not support PIC, -DPIC is meaningless:
17424 lt_prog_compiler_pic_GCJ
=
17427 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17432 # Check to make sure the static flag actually works.
17434 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17435 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17436 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17437 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17438 echo $ECHO_N "(cached) $ECHO_C" >&6
17440 lt_cv_prog_compiler_static_works_GCJ
=no
17441 save_LDFLAGS
="$LDFLAGS"
17442 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17443 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17444 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17445 # The linker can only warn and ignore the option if not recognized
17446 # So say no if there are warnings
17447 if test -s conftest.err
; then
17448 # Append any errors to the config.log.
17449 cat conftest.err
1>&5
17450 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17451 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17452 if diff conftest.exp conftest.er2
>/dev
/null
; then
17453 lt_cv_prog_compiler_static_works_GCJ
=yes
17456 lt_cv_prog_compiler_static_works_GCJ
=yes
17460 LDFLAGS
="$save_LDFLAGS"
17463 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17464 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17466 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17469 lt_prog_compiler_static_GCJ
=
17473 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17474 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17475 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17478 lt_cv_prog_compiler_c_o_GCJ
=no
17479 $rm -r conftest
2>/dev
/null
17483 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17485 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17486 # Insert the option either (1) after the last *FLAGS variable, or
17487 # (2) before a word containing "conftest.", or (3) at the end.
17488 # Note that $ac_compile itself does not contain backslashes and begins
17489 # with a dollar sign (not a hyphen), so the echo should work correctly.
17490 lt_compile
=`echo "$ac_compile" | $SED \
17491 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17492 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17493 -e 's:$: $lt_compiler_flag:'`
17494 (eval echo "\"\$as_me:17494: $lt_compile\"" >&5)
17495 (eval "$lt_compile" 2>out
/conftest.err
)
17497 cat out
/conftest.err
>&5
17498 echo "$as_me:17498: \$? = $ac_status" >&5
17499 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17501 # The compiler can only warn and ignore the option if not recognized
17502 # So say no if there are warnings
17503 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17504 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17505 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17506 lt_cv_prog_compiler_c_o_GCJ
=yes
17511 # SGI C++ compiler will create directory out/ii_files/ for
17512 # template instantiation
17513 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17514 $rm out
/* && rmdir out
17520 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17521 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17524 hard_links
="nottested"
17525 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17526 # do not overwrite the value of need_locks provided by the user
17527 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17528 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17531 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17533 ln conftest.a conftest.b
2>&5 || hard_links
=no
17534 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17535 { echo "$as_me:$LINENO: result: $hard_links" >&5
17536 echo "${ECHO_T}$hard_links" >&6; }
17537 if test "$hard_links" = no
; then
17538 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17539 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17546 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17547 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17550 allow_undefined_flag_GCJ
=
17551 enable_shared_with_static_runtimes_GCJ
=no
17553 archive_expsym_cmds_GCJ
=
17554 old_archive_From_new_cmds_GCJ
=
17555 old_archive_from_expsyms_cmds_GCJ
=
17556 export_dynamic_flag_spec_GCJ
=
17557 whole_archive_flag_spec_GCJ
=
17558 thread_safe_flag_spec_GCJ
=
17559 hardcode_libdir_flag_spec_GCJ
=
17560 hardcode_libdir_flag_spec_ld_GCJ
=
17561 hardcode_libdir_separator_GCJ
=
17562 hardcode_direct_GCJ
=no
17563 hardcode_minus_L_GCJ
=no
17564 hardcode_shlibpath_var_GCJ
=unsupported
17565 link_all_deplibs_GCJ
=unknown
17566 hardcode_automatic_GCJ
=no
17568 module_expsym_cmds_GCJ
=
17569 always_export_symbols_GCJ
=no
17570 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17571 # include_expsyms should be a list of space-separated symbols to be *always*
17572 # included in the symbol list
17573 include_expsyms_GCJ
=
17574 # exclude_expsyms can be an extended regexp of symbols to exclude
17575 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17576 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17577 # as well as any symbol that contains `d'.
17578 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17579 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17580 # platforms (ab)use it in PIC code, but their linkers get confused if
17581 # the symbol is explicitly referenced. Since portable code cannot
17582 # rely on this symbol name, it's probably fine to never include it in
17583 # preloaded symbol tables.
17584 # Exclude shared library initialization/finalization symbols.
17585 extract_expsyms_cmds
=
17586 # Just being paranoid about ensuring that cc_basename is set.
17587 for cc_temp
in $compiler""; do
17589 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17590 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17595 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17598 cygwin
* | mingw
* | pw32
*)
17599 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17600 # When not using gcc, we currently assume that we are using
17601 # Microsoft Visual C++.
17602 if test "$GCC" != yes; then
17607 # we just hope/assume this is gcc and not c89 (= MSVC++)
17616 if test "$with_gnu_ld" = yes; then
17617 # If archive_cmds runs LD, not CC, wlarc should be empty
17620 # Set some defaults for GNU ld with shared library support. These
17621 # are reset later if shared libraries are not supported. Putting them
17622 # here allows them to be overridden if necessary.
17623 runpath_var
=LD_RUN_PATH
17624 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17625 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17626 # ancient GNU ld didn't support --whole-archive et. al.
17627 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17628 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17630 whole_archive_flag_spec_GCJ
=
17632 supports_anon_versioning
=no
17633 case `$LD -v 2>/dev/null` in
17634 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17635 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17636 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17637 *\
2.11.
*) ;; # other 2.11 versions
17638 *) supports_anon_versioning
=yes ;;
17641 # See if GNU ld supports shared libraries.
17644 # On AIX/PPC, the GNU linker is very broken
17645 if test "$host_cpu" != ia64
; then
17649 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17650 *** to be unable to reliably create shared libraries on AIX.
17651 *** Therefore, libtool is disabling shared libraries support. If you
17652 *** really care for shared libraries, you may want to modify your PATH
17653 *** so that a non-GNU linker is found, and then restart.
17660 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)'
17661 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17662 hardcode_minus_L_GCJ
=yes
17664 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17665 # that the semantics of dynamic libraries on AmigaOS, at least up
17666 # to version 4, is to share data among multiple programs linked
17667 # with the same dynamic library. Since this doesn't match the
17668 # behavior of shared libraries on other platforms, we can't use
17674 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17675 allow_undefined_flag_GCJ
=unsupported
17676 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17677 # support --undefined. This deserves some investigation. FIXME
17678 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17684 cygwin
* | mingw
* | pw32
*)
17685 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17686 # as there is no search path for DLLs.
17687 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17688 allow_undefined_flag_GCJ
=unsupported
17689 always_export_symbols_GCJ
=no
17690 enable_shared_with_static_runtimes_GCJ
=yes
17691 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17693 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17694 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17695 # If the export-symbols file already is a .def file (1st line
17696 # is EXPORTS), use it as is; otherwise, prepend...
17697 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17698 cp $export_symbols $output_objdir/$soname.def;
17700 echo EXPORTS > $output_objdir/$soname.def;
17701 cat $export_symbols >> $output_objdir/$soname.def;
17703 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17710 hardcode_direct_GCJ
=no
17711 hardcode_shlibpath_var_GCJ
=no
17712 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17713 export_dynamic_flag_spec_GCJ
='${wl}-E'
17714 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17715 # Instead, shared libraries are loaded at an image base (0x10000000 by
17716 # default) and relocated if they conflict, which is a slow very memory
17717 # consuming and fragmenting process. To avoid this, we pick a random,
17718 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17719 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17720 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'
17721 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'
17724 gnu
* | linux
* | k
*bsd
*-gnu)
17725 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17727 case $cc_basename,$host_cpu in
17728 pgcc
*) # Portland Group C compiler
17729 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'
17730 tmp_addflag
=' $pic_flag'
17732 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17733 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'
17734 tmp_addflag
=' $pic_flag -Mnomain' ;;
17735 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17736 tmp_addflag
=' -i_dynamic' ;;
17737 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17738 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17739 ifc
* | ifort
*) # Intel Fortran compiler
17740 tmp_addflag
=' -nofor_main' ;;
17742 case `$CC -V 2>&1 | sed 5q` in
17743 *Sun\ C
*) # Sun C 5.9
17744 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'
17745 tmp_sharedflag
='-G' ;;
17746 *Sun\ F
*) # Sun Fortran 8.3
17747 tmp_sharedflag
='-G' ;;
17749 tmp_sharedflag
='-shared' ;;
17751 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17753 if test $supports_anon_versioning = yes; then
17754 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17755 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17756 $echo "local: *; };" >> $output_objdir/$libname.ver~
17757 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17759 link_all_deplibs_GCJ
=no
17765 netbsd
* | netbsdelf
*-gnu)
17766 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17767 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17770 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17771 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17776 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17780 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17781 *** create shared libraries on Solaris systems. Therefore, libtool
17782 *** is disabling shared libraries support. We urge you to upgrade GNU
17783 *** binutils to release 2.9.1 or newer. Another option is to modify
17784 *** your PATH or compiler configuration so that the native linker is
17785 *** used, and then restart.
17788 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17789 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17790 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17796 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17797 case `$LD -v 2>&1` in
17798 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17802 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17803 *** reliably create shared libraries on SCO systems. Therefore, libtool
17804 *** is disabling shared libraries support. We urge you to upgrade GNU
17805 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17806 *** your PATH or compiler configuration so that the native linker is
17807 *** used, and then restart.
17812 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17813 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17814 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17815 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17824 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17826 hardcode_direct_GCJ
=yes
17827 hardcode_shlibpath_var_GCJ
=no
17831 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17832 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17833 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17840 if test "$ld_shlibs_GCJ" = no
; then
17842 hardcode_libdir_flag_spec_GCJ
=
17843 export_dynamic_flag_spec_GCJ
=
17844 whole_archive_flag_spec_GCJ
=
17847 # PORTME fill in a description of your system's linker (not GNU ld)
17850 allow_undefined_flag_GCJ
=unsupported
17851 always_export_symbols_GCJ
=yes
17852 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'
17853 # Note: this linker hardcodes the directories in LIBPATH if there
17854 # are no directories specified by -L.
17855 hardcode_minus_L_GCJ
=yes
17856 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17857 # Neither direct hardcoding nor static linking is supported with a
17859 hardcode_direct_GCJ
=unsupported
17864 if test "$host_cpu" = ia64
; then
17865 # On IA64, the linker does run time linking by default, so we don't
17866 # have to do anything special.
17867 aix_use_runtimelinking
=no
17868 exp_sym_flag
='-Bexport'
17871 # If we're using GNU nm, then we don't want the "-C" option.
17872 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17873 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17874 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'
17876 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'
17878 aix_use_runtimelinking
=no
17880 # Test if we are trying to use run time linking or normal
17881 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17882 # need to do runtime linking.
17883 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17884 for ld_flag
in $LDFLAGS; do
17885 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17886 aix_use_runtimelinking
=yes
17893 exp_sym_flag
='-bexport'
17894 no_entry_flag
='-bnoentry'
17897 # When large executables or shared objects are built, AIX ld can
17898 # have problems creating the table of contents. If linking a library
17899 # or program results in "error TOC overflow" add -mminimal-toc to
17900 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17901 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17903 archive_cmds_GCJ
=''
17904 hardcode_direct_GCJ
=yes
17905 hardcode_libdir_separator_GCJ
=':'
17906 link_all_deplibs_GCJ
=yes
17908 if test "$GCC" = yes; then
17909 case $host_os in aix4.
[012]|aix4.
[012].
*)
17910 # We only want to do this on AIX 4.2 and lower, the check
17911 # below for broken collect2 doesn't work under 4.3+
17912 collect2name
=`${CC} -print-prog-name=collect2`
17913 if test -f "$collect2name" && \
17914 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17916 # We have reworked collect2
17919 # We have old collect2
17920 hardcode_direct_GCJ
=unsupported
17921 # It fails to find uninstalled libraries when the uninstalled
17922 # path is not listed in the libpath. Setting hardcode_minus_L
17923 # to unsupported forces relinking
17924 hardcode_minus_L_GCJ
=yes
17925 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17926 hardcode_libdir_separator_GCJ
=
17930 shared_flag
='-shared'
17931 if test "$aix_use_runtimelinking" = yes; then
17932 shared_flag
="$shared_flag "'${wl}-G'
17936 if test "$host_cpu" = ia64
; then
17937 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17938 # chokes on -Wl,-G. The following line is correct:
17941 if test "$aix_use_runtimelinking" = yes; then
17942 shared_flag
='${wl}-G'
17944 shared_flag
='${wl}-bM:SRE'
17949 # It seems that -bexpall does not export symbols beginning with
17950 # underscore (_), so it is better to generate a list of symbols to export.
17951 always_export_symbols_GCJ
=yes
17952 if test "$aix_use_runtimelinking" = yes; then
17953 # Warning - without using the other runtime loading flags (-brtl),
17954 # -berok will link without error, but may produce a broken library.
17955 allow_undefined_flag_GCJ
='-berok'
17956 # Determine the default libpath from the value encoded in an empty executable.
17957 cat >conftest.
$ac_ext <<_ACEOF
17960 cat confdefs.h
>>conftest.
$ac_ext
17961 cat >>conftest.
$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17972 rm -f conftest.
$ac_objext conftest
$ac_exeext
17973 if { (ac_try
="$ac_link"
17974 case "(($ac_try" in
17975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17976 *) ac_try_echo=$ac_try;;
17978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17979 (eval "$ac_link") 2>conftest.er1
17981 grep -v '^ *+' conftest.er1 >conftest.err
17983 cat conftest.err >&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); } && {
17986 test -z "$ac_c_werror_flag" ||
17987 test ! -s conftest.err
17988 } && test -s conftest$ac_exeext &&
17989 $as_test_x conftest$ac_exeext; then
17991 lt_aix_libpath_sed='
17992 /Import File Strings/,/^$/ {
17998 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17999 # Check for a 64-bit object if we didn't find anything.
18000 if test -z "$aix_libpath"; then
18001 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18011 conftest$ac_exeext conftest.$ac_ext
18012 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18014 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18015 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"
18017 if test "$host_cpu" = ia64; then
18018 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18019 allow_undefined_flag_GCJ="-z nodefs"
18020 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"
18022 # Determine the default libpath from the value encoded in an empty executable.
18023 cat >conftest.$ac_ext <<_ACEOF
18026 cat confdefs.h >>conftest.$ac_ext
18027 cat >>conftest.$ac_ext <<_ACEOF
18028 /* end confdefs.h. */
18038 rm -f conftest.$ac_objext conftest$ac_exeext
18039 if { (ac_try="$ac_link"
18040 case "(($ac_try" in
18041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18042 *) ac_try_echo
=$ac_try;;
18044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18045 (eval "$ac_link") 2>conftest.er1
18047 grep -v '^ *+' conftest.er1
>conftest.err
18049 cat conftest.err
>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } && {
18052 test -z "$ac_c_werror_flag" ||
18053 test ! -s conftest.err
18054 } && test -s conftest
$ac_exeext &&
18055 $as_test_x conftest
$ac_exeext; then
18057 lt_aix_libpath_sed
='
18058 /Import File Strings/,/^$/ {
18064 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18065 # Check for a 64-bit object if we didn't find anything.
18066 if test -z "$aix_libpath"; then
18067 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.
$ac_ext >&5
18076 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18077 conftest
$ac_exeext conftest.
$ac_ext
18078 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18080 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18081 # Warning - without using the other run time loading flags,
18082 # -berok will link without error, but may produce a broken library.
18083 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18084 allow_undefined_flag_GCJ
=' ${wl}-berok'
18085 # Exported symbols can be pulled into shared objects from archives
18086 whole_archive_flag_spec_GCJ
='$convenience'
18087 archive_cmds_need_lc_GCJ
=yes
18088 # This is similar to how AIX traditionally builds its shared libraries.
18089 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'
18095 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)'
18096 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18097 hardcode_minus_L_GCJ
=yes
18098 # see comment about different semantics on the GNU ld section
18103 export_dynamic_flag_spec_GCJ
=-rdynamic
18106 cygwin
* | mingw
* | pw32
*)
18107 # When not using gcc, we currently assume that we are using
18108 # Microsoft Visual C++.
18109 # hardcode_libdir_flag_spec is actually meaningless, as there is
18110 # no search path for DLLs.
18111 hardcode_libdir_flag_spec_GCJ
=' '
18112 allow_undefined_flag_GCJ
=unsupported
18113 # Tell ltmain to make .lib files, not .a files.
18115 # Tell ltmain to make .dll files, not .so files.
18117 # FIXME: Setting linknames here is a bad hack.
18118 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18119 # The linker will automatically build a .lib file if we build a DLL.
18120 old_archive_From_new_cmds_GCJ
='true'
18121 # FIXME: Should let the user specify the lib program.
18122 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18123 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18124 enable_shared_with_static_runtimes_GCJ
=yes
18127 darwin
* | rhapsody
*)
18129 rhapsody
* | darwin1.
[012])
18130 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18133 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18134 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18136 case ${MACOSX_DEPLOYMENT_TARGET} in
18138 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18141 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18147 archive_cmds_need_lc_GCJ
=no
18148 hardcode_direct_GCJ
=no
18149 hardcode_automatic_GCJ
=yes
18150 hardcode_shlibpath_var_GCJ
=unsupported
18151 whole_archive_flag_spec_GCJ
=''
18152 link_all_deplibs_GCJ
=yes
18153 if test "$GCC" = yes ; then
18154 output_verbose_link_cmd
='echo'
18155 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}"
18156 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18157 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}"
18158 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}"
18160 case $cc_basename in
18162 output_verbose_link_cmd
='echo'
18163 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18164 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18165 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18166 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}'
18167 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}'
18177 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18178 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18179 hardcode_shlibpath_var_GCJ
=no
18186 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18187 # support. Future versions do this automatically, but an explicit c++rt0.o
18188 # does not break anything, and helps significantly (at the cost of a little
18191 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18192 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18193 hardcode_direct_GCJ
=yes
18194 hardcode_shlibpath_var_GCJ
=no
18197 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18199 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18200 hardcode_direct_GCJ
=yes
18201 hardcode_minus_L_GCJ
=yes
18202 hardcode_shlibpath_var_GCJ
=no
18205 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18206 freebsd
* | dragonfly
*)
18207 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18208 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18209 hardcode_direct_GCJ
=yes
18210 hardcode_shlibpath_var_GCJ
=no
18214 if test "$GCC" = yes; then
18215 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'
18217 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'
18219 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18220 hardcode_libdir_separator_GCJ
=:
18221 hardcode_direct_GCJ
=yes
18223 # hardcode_minus_L: Not really in the search PATH,
18224 # but as the default location of the library.
18225 hardcode_minus_L_GCJ
=yes
18226 export_dynamic_flag_spec_GCJ
='${wl}-E'
18230 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18231 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18233 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18235 if test "$with_gnu_ld" = no
; then
18236 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18237 hardcode_libdir_separator_GCJ
=:
18239 hardcode_direct_GCJ
=yes
18240 export_dynamic_flag_spec_GCJ
='${wl}-E'
18242 # hardcode_minus_L: Not really in the search PATH,
18243 # but as the default location of the library.
18244 hardcode_minus_L_GCJ
=yes
18249 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18252 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18255 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18258 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18264 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18267 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18270 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18274 if test "$with_gnu_ld" = no
; then
18275 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18276 hardcode_libdir_separator_GCJ
=:
18280 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18281 hardcode_direct_GCJ
=no
18282 hardcode_shlibpath_var_GCJ
=no
18285 hardcode_direct_GCJ
=yes
18286 export_dynamic_flag_spec_GCJ
='${wl}-E'
18288 # hardcode_minus_L: Not really in the search PATH,
18289 # but as the default location of the library.
18290 hardcode_minus_L_GCJ
=yes
18296 irix5
* | irix6
* | nonstopux
*)
18297 if test "$GCC" = yes; then
18298 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'
18300 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'
18301 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18303 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18304 hardcode_libdir_separator_GCJ
=:
18305 link_all_deplibs_GCJ
=yes
18308 netbsd
* | netbsdelf
*-gnu)
18309 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18310 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18312 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18314 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18315 hardcode_direct_GCJ
=yes
18316 hardcode_shlibpath_var_GCJ
=no
18320 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18321 hardcode_direct_GCJ
=yes
18322 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18323 hardcode_libdir_separator_GCJ
=:
18324 hardcode_shlibpath_var_GCJ
=no
18328 if test -f /usr
/libexec
/ld.so
; then
18329 hardcode_direct_GCJ
=yes
18330 hardcode_shlibpath_var_GCJ
=no
18331 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18332 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18333 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18334 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18335 export_dynamic_flag_spec_GCJ
='${wl}-E'
18338 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18339 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18340 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18343 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18344 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18354 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18355 hardcode_minus_L_GCJ
=yes
18356 allow_undefined_flag_GCJ
=unsupported
18357 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'
18358 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18362 if test "$GCC" = yes; then
18363 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18364 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'
18366 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18367 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'
18369 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18370 hardcode_libdir_separator_GCJ
=:
18373 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18374 if test "$GCC" = yes; then
18375 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18376 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'
18377 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18379 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18380 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'
18381 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~
18382 $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'
18384 # Both c and cxx compiler support -rpath directly
18385 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18387 hardcode_libdir_separator_GCJ
=:
18391 no_undefined_flag_GCJ
=' -z text'
18392 if test "$GCC" = yes; then
18394 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18395 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18396 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18399 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18400 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18401 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18403 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18404 hardcode_shlibpath_var_GCJ
=no
18406 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18408 # The compiler driver will combine and reorder linker options,
18409 # but understands `-z linker_flag'. GCC discards it without `$wl',
18410 # but is careful enough not to reorder.
18411 # Supported since Solaris 2.6 (maybe 2.5.1?)
18412 if test "$GCC" = yes; then
18413 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18415 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18419 link_all_deplibs_GCJ
=yes
18423 if test "x$host_vendor" = xsequent
; then
18424 # Use $CC to link under sequent, because it throws in some extra .o
18425 # files that make .init and .fini sections work.
18426 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18428 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18430 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18431 hardcode_direct_GCJ
=yes
18432 hardcode_minus_L_GCJ
=yes
18433 hardcode_shlibpath_var_GCJ
=no
18437 case $host_vendor in
18439 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18440 hardcode_direct_GCJ
=yes # is this really true???
18443 ## LD is ld it makes a PLAMLIB
18444 ## CC just makes a GrossModule.
18445 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18446 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18447 hardcode_direct_GCJ
=no
18450 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18451 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18454 runpath_var
='LD_RUN_PATH'
18455 hardcode_shlibpath_var_GCJ
=no
18459 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18460 hardcode_shlibpath_var_GCJ
=no
18461 export_dynamic_flag_spec_GCJ
='-Bexport'
18465 if test -d /usr
/nec
; then
18466 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18467 hardcode_shlibpath_var_GCJ
=no
18468 runpath_var
=LD_RUN_PATH
18469 hardcode_runpath_var
=yes
18474 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18475 no_undefined_flag_GCJ
='${wl}-z,text'
18476 archive_cmds_need_lc_GCJ
=no
18477 hardcode_shlibpath_var_GCJ
=no
18478 runpath_var
='LD_RUN_PATH'
18480 if test "$GCC" = yes; then
18481 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18482 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18484 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18485 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18489 sysv5
* | sco3.2v5
* | sco5v6
*)
18490 # Note: We can NOT use -z defs as we might desire, because we do not
18491 # link with -lc, and that would cause any symbols used from libc to
18492 # always be unresolved, which means just about no library would
18493 # ever link correctly. If we're not using GNU ld we use -z text
18494 # though, which does catch some bad symbols but isn't as heavy-handed
18496 no_undefined_flag_GCJ
='${wl}-z,text'
18497 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18498 archive_cmds_need_lc_GCJ
=no
18499 hardcode_shlibpath_var_GCJ
=no
18500 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18501 hardcode_libdir_separator_GCJ
=':'
18502 link_all_deplibs_GCJ
=yes
18503 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18504 runpath_var
='LD_RUN_PATH'
18506 if test "$GCC" = yes; then
18507 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18508 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18510 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18511 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18516 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18517 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18518 hardcode_shlibpath_var_GCJ
=no
18527 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18528 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18529 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18532 # Do we need to explicitly link libc?
18534 case "x$archive_cmds_need_lc_GCJ" in
18536 # Assume -lc should be added
18537 archive_cmds_need_lc_GCJ
=yes
18539 if test "$enable_shared" = yes && test "$GCC" = yes; then
18540 case $archive_cmds_GCJ in
18542 # FIXME: we may have to deal with multi-command sequences.
18545 # Test whether the compiler implicitly links with -lc since on some
18546 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18547 # to ld, don't add -lc before -lgcc.
18548 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18549 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18551 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18554 (eval $ac_compile) 2>&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } 2>conftest.err
; then
18560 libobjs
=conftest.
$ac_objext
18562 wl
=$lt_prog_compiler_wl_GCJ
18563 pic_flag
=$lt_prog_compiler_pic_GCJ
18569 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18570 allow_undefined_flag_GCJ
=
18571 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18572 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); }
18577 archive_cmds_need_lc_GCJ
=no
18579 archive_cmds_need_lc_GCJ
=yes
18581 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18583 cat conftest.err
1>&5
18586 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18587 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18594 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18595 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18596 library_names_spec
=
18597 libname_spec
='lib$name'
18601 postuninstall_cmds
=
18605 shlibpath_overrides_runpath
=unknown
18607 dynamic_linker
="$host_os ld.so"
18608 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18610 need_lib_prefix
=unknown
18611 hardcode_into_libs
=no
18613 # when you set need_version to no, make sure it does not cause -set_version
18614 # flags to be left without arguments
18615 need_version
=unknown
18620 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18621 shlibpath_var
=LIBPATH
18623 # AIX 3 has no versioning support, so we append a major version to the name.
18624 soname_spec
='${libname}${release}${shared_ext}$major'
18631 hardcode_into_libs
=yes
18632 if test "$host_cpu" = ia64
; then
18633 # AIX 5 supports IA64
18634 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18635 shlibpath_var
=LD_LIBRARY_PATH
18637 # With GCC up to 2.95.x, collect2 would create an import file
18638 # for dependence libraries. The import file would start with
18639 # the line `#! .'. This would cause the generated library to
18640 # depend on `.', always an invalid library. This was fixed in
18641 # development snapshots of GCC prior to 3.0.
18643 aix4 | aix4.
[01] | aix4.
[01].
*)
18644 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18646 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18649 can_build_shared
=no
18653 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18654 # soname into executable. Probably we can add versioning support to
18655 # collect2, so additional links can be useful in future.
18656 if test "$aix_use_runtimelinking" = yes; then
18657 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18658 # instead of lib<name>.a to let people know that these are not
18659 # typical AIX shared libraries.
18660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18662 # We preserve .a as extension for shared libraries through AIX4.2
18663 # and later when we are not doing run time linking.
18664 library_names_spec
='${libname}${release}.a $libname.a'
18665 soname_spec
='${libname}${release}${shared_ext}$major'
18667 shlibpath_var
=LIBPATH
18672 library_names_spec
='$libname.ixlibrary $libname.a'
18673 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18674 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'
18678 library_names_spec
='${libname}${shared_ext}'
18679 dynamic_linker
="$host_os ld.so"
18680 shlibpath_var
=LIBRARY_PATH
18686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18687 soname_spec
='${libname}${release}${shared_ext}$major'
18688 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18689 shlibpath_var
=LD_LIBRARY_PATH
18690 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18691 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18692 # the default ld.so.conf also contains /usr/contrib/lib and
18693 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18694 # libtool to hard-code these into programs
18697 cygwin
* | mingw
* | pw32
*)
18698 version_type
=windows
18703 case $GCC,$host_os in
18704 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18705 library_names_spec
='$libname.dll.a'
18706 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18707 postinstall_cmds
='base_file=`basename \${file}`~
18708 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18709 dldir=$destdir/`dirname \$dlpath`~
18710 test -d \$dldir || mkdir -p \$dldir~
18711 $install_prog $dir/$dlname \$dldir/$dlname~
18712 chmod a+x \$dldir/$dlname'
18713 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18714 dlpath=$dir/\$dldll~
18716 shlibpath_overrides_runpath
=yes
18720 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18721 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18722 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18725 # MinGW DLLs use traditional 'lib' prefix
18726 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18727 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18728 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18729 # It is most probably a Windows format PATH printed by
18730 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18731 # path with ; separators, and with drive letters. We can handle the
18732 # drive letters (cygwin fileutils understands them), so leave them,
18733 # especially as we might pass files found there to a mingw objdump,
18734 # which wouldn't understand a cygwinified path. Ahh.
18735 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18737 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18741 # pw32 DLLs use 'pw' prefix rather than 'lib'
18742 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18748 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18751 dynamic_linker
='Win32 ld.exe'
18752 # FIXME: first we should search . and the directory the executable is in
18756 darwin
* | rhapsody
*)
18757 dynamic_linker
="$host_os dyld"
18758 version_type
=darwin
18761 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18762 soname_spec
='${libname}${release}${major}$shared_ext'
18763 shlibpath_overrides_runpath
=yes
18764 shlibpath_var
=DYLD_LIBRARY_PATH
18765 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18767 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18775 soname_spec
='${libname}${release}${shared_ext}$major'
18776 shlibpath_var
=LD_LIBRARY_PATH
18783 freebsd
* | dragonfly
*)
18784 # DragonFly does not have aout. When/if they implement a new
18785 # versioning mechanism, adjust this.
18786 if test -x /usr
/bin
/objformat
; then
18787 objformat
=`/usr/bin/objformat`
18790 freebsd
[123]*) objformat
=aout
;;
18791 *) objformat
=elf
;;
18794 version_type
=freebsd-
$objformat
18795 case $version_type in
18797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18802 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18806 shlibpath_var
=LD_LIBRARY_PATH
18809 shlibpath_overrides_runpath
=yes
18811 freebsd3.
[01]* | freebsdelf3.
[01]*)
18812 shlibpath_overrides_runpath
=yes
18813 hardcode_into_libs
=yes
18815 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18816 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18817 shlibpath_overrides_runpath
=no
18818 hardcode_into_libs
=yes
18820 *) # from 4.6 on, and DragonFly
18821 shlibpath_overrides_runpath
=yes
18822 hardcode_into_libs
=yes
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
18834 hardcode_into_libs
=yes
18837 hpux9
* | hpux10
* | hpux11
*)
18838 # Give a soname corresponding to the major version so that dld.sl refuses to
18839 # link against other versions.
18846 hardcode_into_libs
=yes
18847 dynamic_linker
="$host_os dld.so"
18848 shlibpath_var
=LD_LIBRARY_PATH
18849 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18851 soname_spec
='${libname}${release}${shared_ext}$major'
18852 if test "X$HPUX_IA64_MODE" = X32
; then
18853 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18855 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18857 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18861 hardcode_into_libs
=yes
18862 dynamic_linker
="$host_os dld.sl"
18863 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18864 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18866 soname_spec
='${libname}${release}${shared_ext}$major'
18867 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18868 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18872 dynamic_linker
="$host_os dld.sl"
18873 shlibpath_var
=SHLIB_PATH
18874 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18876 soname_spec
='${libname}${release}${shared_ext}$major'
18879 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18880 postinstall_cmds
='chmod 555 $lib'
18887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18888 soname_spec
='${libname}${release}${shared_ext}$major'
18889 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18890 shlibpath_var
=LD_LIBRARY_PATH
18891 shlibpath_overrides_runpath
=no
18892 hardcode_into_libs
=yes
18895 irix5
* | irix6
* | nonstopux
*)
18897 nonstopux
*) version_type
=nonstopux
;;
18899 if test "$lt_cv_prog_gnu_ld" = yes; then
18907 soname_spec
='${libname}${release}${shared_ext}$major'
18908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18910 irix5
* | nonstopux
*)
18911 libsuff
= shlibsuff
=
18914 case $LD in # libtool.m4 will add one of these switches to LD
18915 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18916 libsuff
= shlibsuff
= libmagic
=32-bit;;
18917 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18918 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18919 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18920 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18921 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18925 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18926 shlibpath_overrides_runpath
=no
18927 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18928 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18929 hardcode_into_libs
=yes
18932 # No shared lib support for Linux oldld, aout, or coff.
18933 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18937 # This must be Linux ELF.
18938 linux
* | k
*bsd
*-gnu)
18942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18943 soname_spec
='${libname}${release}${shared_ext}$major'
18944 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18945 shlibpath_var
=LD_LIBRARY_PATH
18946 shlibpath_overrides_runpath
=no
18947 # This implies no fast_install, which is unacceptable.
18948 # Some rework will be needed to allow for fast_install
18949 # before this can be enabled.
18950 hardcode_into_libs
=yes
18952 # Append ld.so.conf contents to the search path
18953 if test -f /etc
/ld.so.conf
; then
18954 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' ' '`
18955 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18958 # We used to test for /lib/ld.so.1 and disable shared libraries on
18959 # powerpc, because MkLinux only supported shared libraries with the
18960 # GNU dynamic linker. Since this was broken with cross compilers,
18961 # most powerpc-linux boxes support dynamic linking these days and
18962 # people can always --disable-shared, the test was removed, and we
18963 # assume the GNU/Linux dynamic linker is in use.
18964 dynamic_linker
='GNU/Linux ld.so'
18971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18972 soname_spec
='${libname}${release}${shared_ext}$major'
18973 shlibpath_var
=LD_LIBRARY_PATH
18974 shlibpath_overrides_runpath
=no
18975 hardcode_into_libs
=yes
18976 dynamic_linker
='NetBSD ld.elf_so'
18983 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18985 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18986 dynamic_linker
='NetBSD (a.out) ld.so'
18988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18989 soname_spec
='${libname}${release}${shared_ext}$major'
18990 dynamic_linker
='NetBSD ld.elf_so'
18992 shlibpath_var
=LD_LIBRARY_PATH
18993 shlibpath_overrides_runpath
=yes
18994 hardcode_into_libs
=yes
18999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19000 shlibpath_var
=LD_LIBRARY_PATH
19001 shlibpath_overrides_runpath
=yes
19008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19009 soname_spec
='${libname}${release}${shared_ext}$major'
19010 shlibpath_var
=LD_LIBRARY_PATH
19011 shlibpath_overrides_runpath
=yes
19016 sys_lib_dlsearch_path_spec
="/usr/lib"
19018 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19020 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
19021 *) need_version
=no
;;
19023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19024 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19025 shlibpath_var
=LD_LIBRARY_PATH
19026 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19028 openbsd2.
[89] | openbsd2.
[89].
*)
19029 shlibpath_overrides_runpath
=no
19032 shlibpath_overrides_runpath
=yes
19036 shlibpath_overrides_runpath
=yes
19041 libname_spec
='$name'
19044 library_names_spec
='$libname${shared_ext} $libname.a'
19045 dynamic_linker
='OS/2 ld.exe'
19046 shlibpath_var
=LIBPATH
19049 osf3
* | osf4
* | osf5
*)
19053 soname_spec
='${libname}${release}${shared_ext}$major'
19054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19055 shlibpath_var
=LD_LIBRARY_PATH
19056 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19057 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19069 soname_spec
='${libname}${release}${shared_ext}$major'
19070 shlibpath_var
=LD_LIBRARY_PATH
19071 shlibpath_overrides_runpath
=yes
19072 hardcode_into_libs
=yes
19073 # ldd complains unless libraries are executable
19074 postinstall_cmds
='chmod +x $lib'
19079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19080 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19081 shlibpath_var
=LD_LIBRARY_PATH
19082 shlibpath_overrides_runpath
=yes
19083 if test "$with_gnu_ld" = yes; then
19091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19092 soname_spec
='${libname}${release}${shared_ext}$major'
19093 shlibpath_var
=LD_LIBRARY_PATH
19094 case $host_vendor in
19096 shlibpath_overrides_runpath
=no
19098 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19099 runpath_var
=LD_RUN_PATH
19107 shlibpath_overrides_runpath
=no
19108 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19114 if test -d /usr
/nec
;then
19116 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19117 soname_spec
='$libname${shared_ext}.$major'
19118 shlibpath_var
=LD_LIBRARY_PATH
19122 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19123 version_type
=freebsd-elf
19126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19127 soname_spec
='${libname}${release}${shared_ext}$major'
19128 shlibpath_var
=LD_LIBRARY_PATH
19129 hardcode_into_libs
=yes
19130 if test "$with_gnu_ld" = yes; then
19131 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19132 shlibpath_overrides_runpath
=no
19134 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19135 shlibpath_overrides_runpath
=yes
19138 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19142 sys_lib_dlsearch_path_spec
='/usr/lib'
19147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19148 soname_spec
='${libname}${release}${shared_ext}$major'
19149 shlibpath_var
=LD_LIBRARY_PATH
19156 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19157 echo "${ECHO_T}$dynamic_linker" >&6; }
19158 test "$dynamic_linker" = no
&& can_build_shared
=no
19160 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19161 echo $ECHO_N "(cached) $ECHO_C" >&6
19163 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
19166 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
19167 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19168 echo $ECHO_N "(cached) $ECHO_C" >&6
19170 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
19173 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
19175 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19176 if test "$GCC" = yes; then
19177 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19180 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19181 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19182 hardcode_action_GCJ
=
19183 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19184 test -n "$runpath_var_GCJ" || \
19185 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19187 # We can hardcode non-existant directories.
19188 if test "$hardcode_direct_GCJ" != no
&&
19189 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19190 # have to relink, otherwise we might link with an installed library
19191 # when we should be linking with a yet-to-be-installed one
19192 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19193 test "$hardcode_minus_L_GCJ" != no
; then
19194 # Linking always hardcodes the temporary library directory.
19195 hardcode_action_GCJ
=relink
19197 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19198 hardcode_action_GCJ
=immediate
19201 # We cannot hardcode anything, or else we can only hardcode existing
19203 hardcode_action_GCJ
=unsupported
19205 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19206 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19208 if test "$hardcode_action_GCJ" = relink
; then
19209 # Fast installation is not supported
19210 enable_fast_install
=no
19211 elif test "$shlibpath_overrides_runpath" = yes ||
19212 test "$enable_shared" = no
; then
19213 # Fast installation is not necessary
19214 enable_fast_install
=needless
19218 # The else clause should only fire when bootstrapping the
19219 # libtool distribution, otherwise you forgot to ship ltmain.sh
19220 # with your package, and you will get complaints that there are
19221 # no rules to generate ltmain.sh.
19222 if test -f "$ltmain"; then
19223 # See if we are running on zsh, and set the options which allow our commands through
19224 # without removal of \ escapes.
19225 if test -n "${ZSH_VERSION+set}" ; then
19226 setopt NO_GLOB_SUBST
19228 # Now quote all the things that may contain metacharacters while being
19229 # careful not to overquote the AC_SUBSTed values. We take copies of the
19230 # variables and quote the copies for generation of the libtool script.
19231 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19233 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19234 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19235 deplibs_check_method reload_flag reload_cmds need_locks \
19236 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19237 lt_cv_sys_global_symbol_to_c_name_address \
19238 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19239 old_postinstall_cmds old_postuninstall_cmds \
19243 lt_prog_compiler_wl_GCJ \
19244 lt_prog_compiler_pic_GCJ \
19245 lt_prog_compiler_static_GCJ \
19246 lt_prog_compiler_no_builtin_flag_GCJ \
19247 export_dynamic_flag_spec_GCJ \
19248 thread_safe_flag_spec_GCJ \
19249 whole_archive_flag_spec_GCJ \
19250 enable_shared_with_static_runtimes_GCJ \
19251 old_archive_cmds_GCJ \
19252 old_archive_from_new_cmds_GCJ \
19253 predep_objects_GCJ \
19254 postdep_objects_GCJ \
19257 compiler_lib_search_path_GCJ \
19258 compiler_lib_search_dirs_GCJ \
19260 archive_expsym_cmds_GCJ \
19261 postinstall_cmds_GCJ \
19262 postuninstall_cmds_GCJ \
19263 old_archive_from_expsyms_cmds_GCJ \
19264 allow_undefined_flag_GCJ \
19265 no_undefined_flag_GCJ \
19266 export_symbols_cmds_GCJ \
19267 hardcode_libdir_flag_spec_GCJ \
19268 hardcode_libdir_flag_spec_ld_GCJ \
19269 hardcode_libdir_separator_GCJ \
19270 hardcode_automatic_GCJ \
19272 module_expsym_cmds_GCJ \
19273 lt_cv_prog_compiler_c_o_GCJ \
19274 fix_srcfile_path_GCJ \
19275 exclude_expsyms_GCJ \
19276 include_expsyms_GCJ
; do
19279 old_archive_cmds_GCJ | \
19280 old_archive_from_new_cmds_GCJ | \
19281 archive_cmds_GCJ | \
19282 archive_expsym_cmds_GCJ | \
19283 module_cmds_GCJ | \
19284 module_expsym_cmds_GCJ | \
19285 old_archive_from_expsyms_cmds_GCJ | \
19286 export_symbols_cmds_GCJ | \
19287 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19288 postinstall_cmds | postuninstall_cmds | \
19289 old_postinstall_cmds | old_postuninstall_cmds | \
19290 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19291 # Double-quote double-evaled strings.
19292 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19295 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19301 *'\$0 --fallback-echo"')
19302 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19308 cat <<__EOF__ >> "$cfgfile"
19309 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19311 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19313 # Shell to use when invoking shell scripts.
19316 # Whether or not to build shared libraries.
19317 build_libtool_libs=$enable_shared
19319 # Whether or not to build static libraries.
19320 build_old_libs=$enable_static
19322 # Whether or not to add -lc for building shared libraries.
19323 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19325 # Whether or not to disallow shared libs when runtime libs are static
19326 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19328 # Whether or not to optimize for fast installation.
19329 fast_install=$enable_fast_install
19332 host_alias=$host_alias
19336 # The build system.
19337 build_alias=$build_alias
19341 # An echo program that does not interpret backslashes.
19346 AR_FLAGS=$lt_AR_FLAGS
19351 # LTCC compiler flags.
19352 LTCFLAGS=$lt_LTCFLAGS
19354 # A language-specific compiler.
19355 CC=$lt_compiler_GCJ
19357 # Is the compiler the GNU C compiler?
19363 # The linker used to build libraries.
19366 # Whether we need hard or soft links.
19369 # A BSD-compatible nm program.
19372 # A symbol stripping program
19375 # Used to examine libraries when file_magic_cmd begins "file"
19376 MAGIC_CMD=$MAGIC_CMD
19378 # Used on cygwin: DLL creation program.
19381 # Used on cygwin: object dumper.
19384 # Used on cygwin: assembler.
19387 # The name of the directory that contains temporary libtool files.
19390 # How to create reloadable object files.
19391 reload_flag=$lt_reload_flag
19392 reload_cmds=$lt_reload_cmds
19394 # How to pass a linker flag through the compiler.
19395 wl=$lt_lt_prog_compiler_wl_GCJ
19397 # Object file suffix (normally "o").
19398 objext="$ac_objext"
19400 # Old archive suffix (normally "a").
19403 # Shared library suffix (normally ".so").
19404 shrext_cmds='$shrext_cmds'
19406 # Executable file suffix (normally "").
19409 # Additional compiler flags for building library objects.
19410 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19413 # What is the maximum length of a command?
19414 max_cmd_len=$lt_cv_sys_max_cmd_len
19416 # Does compiler simultaneously support -c and -o options?
19417 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19419 # Must we lock files when doing compilation?
19420 need_locks=$lt_need_locks
19422 # Do we need the lib prefix for modules?
19423 need_lib_prefix=$need_lib_prefix
19425 # Do we need a version for libraries?
19426 need_version=$need_version
19428 # Whether dlopen is supported.
19429 dlopen_support=$enable_dlopen
19431 # Whether dlopen of programs is supported.
19432 dlopen_self=$enable_dlopen_self
19434 # Whether dlopen of statically linked programs is supported.
19435 dlopen_self_static=$enable_dlopen_self_static
19437 # Compiler flag to prevent dynamic linking.
19438 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19440 # Compiler flag to turn off builtin functions.
19441 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19443 # Compiler flag to allow reflexive dlopens.
19444 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19446 # Compiler flag to generate shared objects directly from archives.
19447 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19449 # Compiler flag to generate thread-safe objects.
19450 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19452 # Library versioning type.
19453 version_type=$version_type
19455 # Format of library name prefix.
19456 libname_spec=$lt_libname_spec
19458 # List of archive names. First name is the real one, the rest are links.
19459 # The last name is the one that the linker finds with -lNAME.
19460 library_names_spec=$lt_library_names_spec
19462 # The coded name of the library, if different from the real name.
19463 soname_spec=$lt_soname_spec
19465 # Commands used to build and install an old-style archive.
19467 old_archive_cmds=$lt_old_archive_cmds_GCJ
19468 old_postinstall_cmds=$lt_old_postinstall_cmds
19469 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19471 # Create an old-style archive from a shared archive.
19472 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19474 # Create a temporary old-style archive to link instead of a shared archive.
19475 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19477 # Commands used to build and install a shared archive.
19478 archive_cmds=$lt_archive_cmds_GCJ
19479 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19480 postinstall_cmds=$lt_postinstall_cmds
19481 postuninstall_cmds=$lt_postuninstall_cmds
19483 # Commands used to build a loadable module (assumed same as above if empty)
19484 module_cmds=$lt_module_cmds_GCJ
19485 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19487 # Commands to strip libraries.
19488 old_striplib=$lt_old_striplib
19489 striplib=$lt_striplib
19491 # Dependencies to place before the objects being linked to create a
19493 predep_objects=$lt_predep_objects_GCJ
19495 # Dependencies to place after the objects being linked to create a
19497 postdep_objects=$lt_postdep_objects_GCJ
19499 # Dependencies to place before the objects being linked to create a
19501 predeps=$lt_predeps_GCJ
19503 # Dependencies to place after the objects being linked to create a
19505 postdeps=$lt_postdeps_GCJ
19507 # The directories searched by this compiler when creating a shared
19509 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19511 # The library search path used internally by the compiler when linking
19512 # a shared library.
19513 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19515 # Method to check whether dependent libraries are shared objects.
19516 deplibs_check_method=$lt_deplibs_check_method
19518 # Command to use when deplibs_check_method == file_magic.
19519 file_magic_cmd=$lt_file_magic_cmd
19521 # Flag that allows shared libraries with undefined symbols to be built.
19522 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19524 # Flag that forces no undefined symbols.
19525 no_undefined_flag=$lt_no_undefined_flag_GCJ
19527 # Commands used to finish a libtool library installation in a directory.
19528 finish_cmds=$lt_finish_cmds
19530 # Same as above, but a single script fragment to be evaled but not shown.
19531 finish_eval=$lt_finish_eval
19533 # Take the output of nm and produce a listing of raw symbols and C names.
19534 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19536 # Transform the output of nm in a proper C declaration
19537 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19539 # Transform the output of nm in a C name address pair
19540 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19542 # This is the shared library runtime path variable.
19543 runpath_var=$runpath_var
19545 # This is the shared library path variable.
19546 shlibpath_var=$shlibpath_var
19548 # Is shlibpath searched before the hard-coded library search path?
19549 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19551 # How to hardcode a shared library path into an executable.
19552 hardcode_action=$hardcode_action_GCJ
19554 # Whether we should hardcode library paths into libraries.
19555 hardcode_into_libs=$hardcode_into_libs
19557 # Flag to hardcode \$libdir into a binary during linking.
19558 # This must work even if \$libdir does not exist.
19559 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19561 # If ld is used when linking, flag to hardcode \$libdir into
19562 # a binary during linking. This must work even if \$libdir does
19564 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19566 # Whether we need a single -rpath flag with a separated argument.
19567 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19569 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19570 # resulting binary.
19571 hardcode_direct=$hardcode_direct_GCJ
19573 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19574 # resulting binary.
19575 hardcode_minus_L=$hardcode_minus_L_GCJ
19577 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19578 # the resulting binary.
19579 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19581 # Set to yes if building a shared library automatically hardcodes DIR into the library
19582 # and all subsequent libraries and executables linked against it.
19583 hardcode_automatic=$hardcode_automatic_GCJ
19585 # Variables whose values should be saved in libtool wrapper scripts and
19586 # restored at relink time.
19587 variables_saved_for_relink="$variables_saved_for_relink"
19589 # Whether libtool must link a program against all its dependency libraries.
19590 link_all_deplibs=$link_all_deplibs_GCJ
19592 # Compile-time system search path for libraries
19593 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19595 # Run-time system search path for libraries
19596 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19598 # Fix the shell variable \$srcfile for the compiler.
19599 fix_srcfile_path=$lt_fix_srcfile_path
19601 # Set to yes if exported symbols are required.
19602 always_export_symbols=$always_export_symbols_GCJ
19604 # The commands to list exported symbols.
19605 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19607 # The commands to extract the exported symbol list from a shared archive.
19608 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19610 # Symbols that should not be listed in the preloaded symbols.
19611 exclude_expsyms=$lt_exclude_expsyms_GCJ
19613 # Symbols that must always be exported.
19614 include_expsyms=$lt_include_expsyms_GCJ
19616 # ### END LIBTOOL TAG CONFIG: $tagname
19622 # If there is no Makefile yet, we rely on a make rule to execute
19623 # `config.status --recheck' to rerun these tests and create the
19624 # libtool script then.
19625 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19626 if test -f "$ltmain_in"; then
19627 test -f Makefile
&& make "$ltmain"
19633 ac_cpp
='$CPP $CPPFLAGS'
19634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19648 # Source file extension for RC test sources.
19651 # Object file extension for compiled RC test sources.
19655 # Code to be used in simple compile tests
19656 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19658 # Code to be used in simple link tests
19659 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19661 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19663 # If no C compiler was specified, use CC.
19666 # If no C compiler flags were specified, use CFLAGS.
19667 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19669 # Allow CC to be a program name with arguments.
19673 # save warnings/boilerplate of simple test code
19674 ac_outfile
=conftest.
$ac_objext
19675 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19676 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19677 _lt_compiler_boilerplate
=`cat conftest.err`
19680 ac_outfile
=conftest.
$ac_objext
19681 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19682 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19683 _lt_linker_boilerplate
=`cat conftest.err`
19687 # Allow CC to be a program name with arguments.
19692 for cc_temp
in $compiler""; do
19694 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19695 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19700 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19702 lt_cv_prog_compiler_c_o_RC
=yes
19704 # The else clause should only fire when bootstrapping the
19705 # libtool distribution, otherwise you forgot to ship ltmain.sh
19706 # with your package, and you will get complaints that there are
19707 # no rules to generate ltmain.sh.
19708 if test -f "$ltmain"; then
19709 # See if we are running on zsh, and set the options which allow our commands through
19710 # without removal of \ escapes.
19711 if test -n "${ZSH_VERSION+set}" ; then
19712 setopt NO_GLOB_SUBST
19714 # Now quote all the things that may contain metacharacters while being
19715 # careful not to overquote the AC_SUBSTed values. We take copies of the
19716 # variables and quote the copies for generation of the libtool script.
19717 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19719 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19720 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19721 deplibs_check_method reload_flag reload_cmds need_locks \
19722 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19723 lt_cv_sys_global_symbol_to_c_name_address \
19724 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19725 old_postinstall_cmds old_postuninstall_cmds \
19729 lt_prog_compiler_wl_RC \
19730 lt_prog_compiler_pic_RC \
19731 lt_prog_compiler_static_RC \
19732 lt_prog_compiler_no_builtin_flag_RC \
19733 export_dynamic_flag_spec_RC \
19734 thread_safe_flag_spec_RC \
19735 whole_archive_flag_spec_RC \
19736 enable_shared_with_static_runtimes_RC \
19737 old_archive_cmds_RC \
19738 old_archive_from_new_cmds_RC \
19739 predep_objects_RC \
19740 postdep_objects_RC \
19743 compiler_lib_search_path_RC \
19744 compiler_lib_search_dirs_RC \
19746 archive_expsym_cmds_RC \
19747 postinstall_cmds_RC \
19748 postuninstall_cmds_RC \
19749 old_archive_from_expsyms_cmds_RC \
19750 allow_undefined_flag_RC \
19751 no_undefined_flag_RC \
19752 export_symbols_cmds_RC \
19753 hardcode_libdir_flag_spec_RC \
19754 hardcode_libdir_flag_spec_ld_RC \
19755 hardcode_libdir_separator_RC \
19756 hardcode_automatic_RC \
19758 module_expsym_cmds_RC \
19759 lt_cv_prog_compiler_c_o_RC \
19760 fix_srcfile_path_RC \
19761 exclude_expsyms_RC \
19762 include_expsyms_RC
; do
19765 old_archive_cmds_RC | \
19766 old_archive_from_new_cmds_RC | \
19767 archive_cmds_RC | \
19768 archive_expsym_cmds_RC | \
19770 module_expsym_cmds_RC | \
19771 old_archive_from_expsyms_cmds_RC | \
19772 export_symbols_cmds_RC | \
19773 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19774 postinstall_cmds | postuninstall_cmds | \
19775 old_postinstall_cmds | old_postuninstall_cmds | \
19776 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19777 # Double-quote double-evaled strings.
19778 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19781 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19787 *'\$0 --fallback-echo"')
19788 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19794 cat <<__EOF__ >> "$cfgfile"
19795 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19797 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19799 # Shell to use when invoking shell scripts.
19802 # Whether or not to build shared libraries.
19803 build_libtool_libs=$enable_shared
19805 # Whether or not to build static libraries.
19806 build_old_libs=$enable_static
19808 # Whether or not to add -lc for building shared libraries.
19809 build_libtool_need_lc=$archive_cmds_need_lc_RC
19811 # Whether or not to disallow shared libs when runtime libs are static
19812 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19814 # Whether or not to optimize for fast installation.
19815 fast_install=$enable_fast_install
19818 host_alias=$host_alias
19822 # The build system.
19823 build_alias=$build_alias
19827 # An echo program that does not interpret backslashes.
19832 AR_FLAGS=$lt_AR_FLAGS
19837 # LTCC compiler flags.
19838 LTCFLAGS=$lt_LTCFLAGS
19840 # A language-specific compiler.
19843 # Is the compiler the GNU C compiler?
19849 # The linker used to build libraries.
19852 # Whether we need hard or soft links.
19855 # A BSD-compatible nm program.
19858 # A symbol stripping program
19861 # Used to examine libraries when file_magic_cmd begins "file"
19862 MAGIC_CMD=$MAGIC_CMD
19864 # Used on cygwin: DLL creation program.
19867 # Used on cygwin: object dumper.
19870 # Used on cygwin: assembler.
19873 # The name of the directory that contains temporary libtool files.
19876 # How to create reloadable object files.
19877 reload_flag=$lt_reload_flag
19878 reload_cmds=$lt_reload_cmds
19880 # How to pass a linker flag through the compiler.
19881 wl=$lt_lt_prog_compiler_wl_RC
19883 # Object file suffix (normally "o").
19884 objext="$ac_objext"
19886 # Old archive suffix (normally "a").
19889 # Shared library suffix (normally ".so").
19890 shrext_cmds='$shrext_cmds'
19892 # Executable file suffix (normally "").
19895 # Additional compiler flags for building library objects.
19896 pic_flag=$lt_lt_prog_compiler_pic_RC
19899 # What is the maximum length of a command?
19900 max_cmd_len=$lt_cv_sys_max_cmd_len
19902 # Does compiler simultaneously support -c and -o options?
19903 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19905 # Must we lock files when doing compilation?
19906 need_locks=$lt_need_locks
19908 # Do we need the lib prefix for modules?
19909 need_lib_prefix=$need_lib_prefix
19911 # Do we need a version for libraries?
19912 need_version=$need_version
19914 # Whether dlopen is supported.
19915 dlopen_support=$enable_dlopen
19917 # Whether dlopen of programs is supported.
19918 dlopen_self=$enable_dlopen_self
19920 # Whether dlopen of statically linked programs is supported.
19921 dlopen_self_static=$enable_dlopen_self_static
19923 # Compiler flag to prevent dynamic linking.
19924 link_static_flag=$lt_lt_prog_compiler_static_RC
19926 # Compiler flag to turn off builtin functions.
19927 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19929 # Compiler flag to allow reflexive dlopens.
19930 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19932 # Compiler flag to generate shared objects directly from archives.
19933 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19935 # Compiler flag to generate thread-safe objects.
19936 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19938 # Library versioning type.
19939 version_type=$version_type
19941 # Format of library name prefix.
19942 libname_spec=$lt_libname_spec
19944 # List of archive names. First name is the real one, the rest are links.
19945 # The last name is the one that the linker finds with -lNAME.
19946 library_names_spec=$lt_library_names_spec
19948 # The coded name of the library, if different from the real name.
19949 soname_spec=$lt_soname_spec
19951 # Commands used to build and install an old-style archive.
19953 old_archive_cmds=$lt_old_archive_cmds_RC
19954 old_postinstall_cmds=$lt_old_postinstall_cmds
19955 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19957 # Create an old-style archive from a shared archive.
19958 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19960 # Create a temporary old-style archive to link instead of a shared archive.
19961 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19963 # Commands used to build and install a shared archive.
19964 archive_cmds=$lt_archive_cmds_RC
19965 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19966 postinstall_cmds=$lt_postinstall_cmds
19967 postuninstall_cmds=$lt_postuninstall_cmds
19969 # Commands used to build a loadable module (assumed same as above if empty)
19970 module_cmds=$lt_module_cmds_RC
19971 module_expsym_cmds=$lt_module_expsym_cmds_RC
19973 # Commands to strip libraries.
19974 old_striplib=$lt_old_striplib
19975 striplib=$lt_striplib
19977 # Dependencies to place before the objects being linked to create a
19979 predep_objects=$lt_predep_objects_RC
19981 # Dependencies to place after the objects being linked to create a
19983 postdep_objects=$lt_postdep_objects_RC
19985 # Dependencies to place before the objects being linked to create a
19987 predeps=$lt_predeps_RC
19989 # Dependencies to place after the objects being linked to create a
19991 postdeps=$lt_postdeps_RC
19993 # The directories searched by this compiler when creating a shared
19995 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19997 # The library search path used internally by the compiler when linking
19998 # a shared library.
19999 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20001 # Method to check whether dependent libraries are shared objects.
20002 deplibs_check_method=$lt_deplibs_check_method
20004 # Command to use when deplibs_check_method == file_magic.
20005 file_magic_cmd=$lt_file_magic_cmd
20007 # Flag that allows shared libraries with undefined symbols to be built.
20008 allow_undefined_flag=$lt_allow_undefined_flag_RC
20010 # Flag that forces no undefined symbols.
20011 no_undefined_flag=$lt_no_undefined_flag_RC
20013 # Commands used to finish a libtool library installation in a directory.
20014 finish_cmds=$lt_finish_cmds
20016 # Same as above, but a single script fragment to be evaled but not shown.
20017 finish_eval=$lt_finish_eval
20019 # Take the output of nm and produce a listing of raw symbols and C names.
20020 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20022 # Transform the output of nm in a proper C declaration
20023 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20025 # Transform the output of nm in a C name address pair
20026 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20028 # This is the shared library runtime path variable.
20029 runpath_var=$runpath_var
20031 # This is the shared library path variable.
20032 shlibpath_var=$shlibpath_var
20034 # Is shlibpath searched before the hard-coded library search path?
20035 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20037 # How to hardcode a shared library path into an executable.
20038 hardcode_action=$hardcode_action_RC
20040 # Whether we should hardcode library paths into libraries.
20041 hardcode_into_libs=$hardcode_into_libs
20043 # Flag to hardcode \$libdir into a binary during linking.
20044 # This must work even if \$libdir does not exist.
20045 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20047 # If ld is used when linking, flag to hardcode \$libdir into
20048 # a binary during linking. This must work even if \$libdir does
20050 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20052 # Whether we need a single -rpath flag with a separated argument.
20053 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20055 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20056 # resulting binary.
20057 hardcode_direct=$hardcode_direct_RC
20059 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20060 # resulting binary.
20061 hardcode_minus_L=$hardcode_minus_L_RC
20063 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20064 # the resulting binary.
20065 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20067 # Set to yes if building a shared library automatically hardcodes DIR into the library
20068 # and all subsequent libraries and executables linked against it.
20069 hardcode_automatic=$hardcode_automatic_RC
20071 # Variables whose values should be saved in libtool wrapper scripts and
20072 # restored at relink time.
20073 variables_saved_for_relink="$variables_saved_for_relink"
20075 # Whether libtool must link a program against all its dependency libraries.
20076 link_all_deplibs=$link_all_deplibs_RC
20078 # Compile-time system search path for libraries
20079 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20081 # Run-time system search path for libraries
20082 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20084 # Fix the shell variable \$srcfile for the compiler.
20085 fix_srcfile_path=$lt_fix_srcfile_path
20087 # Set to yes if exported symbols are required.
20088 always_export_symbols=$always_export_symbols_RC
20090 # The commands to list exported symbols.
20091 export_symbols_cmds=$lt_export_symbols_cmds_RC
20093 # The commands to extract the exported symbol list from a shared archive.
20094 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20096 # Symbols that should not be listed in the preloaded symbols.
20097 exclude_expsyms=$lt_exclude_expsyms_RC
20099 # Symbols that must always be exported.
20100 include_expsyms=$lt_include_expsyms_RC
20102 # ### END LIBTOOL TAG CONFIG: $tagname
20108 # If there is no Makefile yet, we rely on a make rule to execute
20109 # `config.status --recheck' to rerun these tests and create the
20110 # libtool script then.
20111 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20112 if test -f "$ltmain_in"; then
20113 test -f Makefile
&& make "$ltmain"
20119 ac_cpp
='$CPP $CPPFLAGS'
20120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20129 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20130 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20131 { (exit 1); exit 1; }; }
20135 # Append the new tag name to the list of available tags.
20136 if test -n "$tagname" ; then
20137 available_tags
="$available_tags $tagname"
20143 # Now substitute the updated list of available tags.
20144 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20145 mv "${ofile}T" "$ofile"
20149 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20150 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20151 { (exit 1); exit 1; }; }
20157 # This can be used to rebuild libtool when needed
20158 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20160 # Always use our own libtool.
20161 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20163 # Prevent multiple expansion
20185 ac_cpp
='$CPP $CPPFLAGS'
20186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20189 if test -n "$ac_tool_prefix"; then
20190 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
20191 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
20192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20194 if test "${ac_cv_prog_CC+set}" = set; then
20195 echo $ECHO_N "(cached) $ECHO_C" >&6
20197 if test -n "$CC"; then
20198 ac_cv_prog_CC
="$CC" # Let the user override the test.
20200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20201 for as_dir
in $PATH
20204 test -z "$as_dir" && as_dir
=.
20205 for ac_exec_ext
in '' $ac_executable_extensions; do
20206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20207 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
20208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20218 if test -n "$CC"; then
20219 { echo "$as_me:$LINENO: result: $CC" >&5
20220 echo "${ECHO_T}$CC" >&6; }
20222 { echo "$as_me:$LINENO: result: no" >&5
20223 echo "${ECHO_T}no" >&6; }
20228 if test -z "$ac_cv_prog_CC"; then
20230 # Extract the first word of "gcc", so it can be a program name with args.
20231 set dummy gcc
; ac_word
=$2
20232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20234 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20235 echo $ECHO_N "(cached) $ECHO_C" >&6
20237 if test -n "$ac_ct_CC"; then
20238 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
20240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20241 for as_dir
in $PATH
20244 test -z "$as_dir" && as_dir
=.
20245 for ac_exec_ext
in '' $ac_executable_extensions; do
20246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20247 ac_cv_prog_ac_ct_CC
="gcc"
20248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20257 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
20258 if test -n "$ac_ct_CC"; then
20259 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20260 echo "${ECHO_T}$ac_ct_CC" >&6; }
20262 { echo "$as_me:$LINENO: result: no" >&5
20263 echo "${ECHO_T}no" >&6; }
20266 if test "x$ac_ct_CC" = x
; then
20269 case $cross_compiling:$ac_tool_warned in
20271 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20272 whose name does not start with the host triplet. If you think this
20273 configuration is useful to you, please write to autoconf@gnu.org." >&5
20274 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20275 whose name does not start with the host triplet. If you think this
20276 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20277 ac_tool_warned
=yes ;;
20282 CC
="$ac_cv_prog_CC"
20285 if test -z "$CC"; then
20286 if test -n "$ac_tool_prefix"; then
20287 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
20288 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
20289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20291 if test "${ac_cv_prog_CC+set}" = set; then
20292 echo $ECHO_N "(cached) $ECHO_C" >&6
20294 if test -n "$CC"; then
20295 ac_cv_prog_CC
="$CC" # Let the user override the test.
20297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20298 for as_dir
in $PATH
20301 test -z "$as_dir" && as_dir
=.
20302 for ac_exec_ext
in '' $ac_executable_extensions; do
20303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20304 ac_cv_prog_CC
="${ac_tool_prefix}cc"
20305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20315 if test -n "$CC"; then
20316 { echo "$as_me:$LINENO: result: $CC" >&5
20317 echo "${ECHO_T}$CC" >&6; }
20319 { echo "$as_me:$LINENO: result: no" >&5
20320 echo "${ECHO_T}no" >&6; }
20326 if test -z "$CC"; then
20327 # Extract the first word of "cc", so it can be a program name with args.
20328 set dummy cc
; ac_word
=$2
20329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20331 if test "${ac_cv_prog_CC+set}" = set; then
20332 echo $ECHO_N "(cached) $ECHO_C" >&6
20334 if test -n "$CC"; then
20335 ac_cv_prog_CC
="$CC" # Let the user override the test.
20337 ac_prog_rejected
=no
20338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20339 for as_dir
in $PATH
20342 test -z "$as_dir" && as_dir
=.
20343 for ac_exec_ext
in '' $ac_executable_extensions; do
20344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20345 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
20346 ac_prog_rejected
=yes
20350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20357 if test $ac_prog_rejected = yes; then
20358 # We found a bogon in the path, so make sure we never use it.
20359 set dummy
$ac_cv_prog_CC
20361 if test $# != 0; then
20362 # We chose a different compiler from the bogus one.
20363 # However, it has the same basename, so the bogon will be chosen
20364 # first if we set CC to just the basename; use the full file name.
20366 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
20372 if test -n "$CC"; then
20373 { echo "$as_me:$LINENO: result: $CC" >&5
20374 echo "${ECHO_T}$CC" >&6; }
20376 { echo "$as_me:$LINENO: result: no" >&5
20377 echo "${ECHO_T}no" >&6; }
20382 if test -z "$CC"; then
20383 if test -n "$ac_tool_prefix"; then
20384 for ac_prog
in cl.exe
20386 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20387 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20390 if test "${ac_cv_prog_CC+set}" = set; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20393 if test -n "$CC"; then
20394 ac_cv_prog_CC
="$CC" # Let the user override the test.
20396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20397 for as_dir
in $PATH
20400 test -z "$as_dir" && as_dir
=.
20401 for ac_exec_ext
in '' $ac_executable_extensions; do
20402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20403 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
20404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20414 if test -n "$CC"; then
20415 { echo "$as_me:$LINENO: result: $CC" >&5
20416 echo "${ECHO_T}$CC" >&6; }
20418 { echo "$as_me:$LINENO: result: no" >&5
20419 echo "${ECHO_T}no" >&6; }
20423 test -n "$CC" && break
20426 if test -z "$CC"; then
20428 for ac_prog
in cl.exe
20430 # Extract the first word of "$ac_prog", so it can be a program name with args.
20431 set dummy
$ac_prog; ac_word
=$2
20432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20434 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20435 echo $ECHO_N "(cached) $ECHO_C" >&6
20437 if test -n "$ac_ct_CC"; then
20438 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
20440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20441 for as_dir
in $PATH
20444 test -z "$as_dir" && as_dir
=.
20445 for ac_exec_ext
in '' $ac_executable_extensions; do
20446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20447 ac_cv_prog_ac_ct_CC
="$ac_prog"
20448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20457 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
20458 if test -n "$ac_ct_CC"; then
20459 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20460 echo "${ECHO_T}$ac_ct_CC" >&6; }
20462 { echo "$as_me:$LINENO: result: no" >&5
20463 echo "${ECHO_T}no" >&6; }
20467 test -n "$ac_ct_CC" && break
20470 if test "x$ac_ct_CC" = x
; then
20473 case $cross_compiling:$ac_tool_warned in
20475 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20476 whose name does not start with the host triplet. If you think this
20477 configuration is useful to you, please write to autoconf@gnu.org." >&5
20478 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20479 whose name does not start with the host triplet. If you think this
20480 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20481 ac_tool_warned
=yes ;;
20490 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
20491 See \`config.log' for more details." >&5
20492 echo "$as_me: error: no acceptable C compiler found in \$PATH
20493 See \`config.log' for more details." >&2;}
20494 { (exit 1); exit 1; }; }
20496 # Provide some information about the compiler.
20497 echo "$as_me:$LINENO: checking for C compiler version" >&5
20498 ac_compiler
=`set X $ac_compile; echo $2`
20499 { (ac_try
="$ac_compiler --version >&5"
20500 case "(($ac_try" in
20501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20502 *) ac_try_echo=$ac_try;;
20504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20505 (eval "$ac_compiler --version >&5") 2>&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); }
20509 { (ac_try="$ac_compiler -v >&5"
20510 case "(($ac_try" in
20511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20512 *) ac_try_echo
=$ac_try;;
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_compiler -v >&5") 2>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); }
20519 { (ac_try
="$ac_compiler -V >&5"
20520 case "(($ac_try" in
20521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20522 *) ac_try_echo=$ac_try;;
20524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20525 (eval "$ac_compiler -V >&5") 2>&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); }
20530 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
20531 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
20532 if test "${ac_cv_c_compiler_gnu+set}" = set; then
20533 echo $ECHO_N "(cached) $ECHO_C" >&6
20535 cat >conftest.$ac_ext <<_ACEOF
20538 cat confdefs.h >>conftest.$ac_ext
20539 cat >>conftest.$ac_ext <<_ACEOF
20540 /* end confdefs.h. */
20553 rm -f conftest.$ac_objext
20554 if { (ac_try="$ac_compile"
20555 case "(($ac_try" in
20556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20557 *) ac_try_echo
=$ac_try;;
20559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20560 (eval "$ac_compile") 2>conftest.er1
20562 grep -v '^ *+' conftest.er1
>conftest.err
20564 cat conftest.err
>&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); } && {
20567 test -z "$ac_c_werror_flag" ||
20568 test ! -s conftest.err
20569 } && test -s conftest.
$ac_objext; then
20570 ac_compiler_gnu
=yes
20572 echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.
$ac_ext >&5
20578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20579 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
20582 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
20583 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
20584 GCC
=`test $ac_compiler_gnu = yes && echo yes`
20585 ac_test_CFLAGS
=${CFLAGS+set}
20586 ac_save_CFLAGS
=$CFLAGS
20587 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
20588 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
20589 if test "${ac_cv_prog_cc_g+set}" = set; then
20590 echo $ECHO_N "(cached) $ECHO_C" >&6
20592 ac_save_c_werror_flag
=$ac_c_werror_flag
20593 ac_c_werror_flag
=yes
20596 cat >conftest.
$ac_ext <<_ACEOF
20599 cat confdefs.h
>>conftest.
$ac_ext
20600 cat >>conftest.
$ac_ext <<_ACEOF
20601 /* end confdefs.h. */
20611 rm -f conftest.
$ac_objext
20612 if { (ac_try
="$ac_compile"
20613 case "(($ac_try" in
20614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20615 *) ac_try_echo=$ac_try;;
20617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20618 (eval "$ac_compile") 2>conftest.er1
20620 grep -v '^ *+' conftest.er1 >conftest.err
20622 cat conftest.err >&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); } && {
20625 test -z "$ac_c_werror_flag" ||
20626 test ! -s conftest.err
20627 } && test -s conftest.$ac_objext; then
20628 ac_cv_prog_cc_g=yes
20630 echo "$as_me: failed program was:" >&5
20631 sed 's/^/| /' conftest.$ac_ext >&5
20634 cat >conftest.$ac_ext <<_ACEOF
20637 cat confdefs.h >>conftest.$ac_ext
20638 cat >>conftest.$ac_ext <<_ACEOF
20639 /* end confdefs.h. */
20649 rm -f conftest.$ac_objext
20650 if { (ac_try="$ac_compile"
20651 case "(($ac_try" in
20652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20653 *) ac_try_echo
=$ac_try;;
20655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20656 (eval "$ac_compile") 2>conftest.er1
20658 grep -v '^ *+' conftest.er1
>conftest.err
20660 cat conftest.err
>&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } && {
20663 test -z "$ac_c_werror_flag" ||
20664 test ! -s conftest.err
20665 } && test -s conftest.
$ac_objext; then
20668 echo "$as_me: failed program was:" >&5
20669 sed 's/^/| /' conftest.
$ac_ext >&5
20671 ac_c_werror_flag
=$ac_save_c_werror_flag
20673 cat >conftest.
$ac_ext <<_ACEOF
20676 cat confdefs.h
>>conftest.
$ac_ext
20677 cat >>conftest.
$ac_ext <<_ACEOF
20678 /* end confdefs.h. */
20688 rm -f conftest.
$ac_objext
20689 if { (ac_try
="$ac_compile"
20690 case "(($ac_try" in
20691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20692 *) ac_try_echo=$ac_try;;
20694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20695 (eval "$ac_compile") 2>conftest.er1
20697 grep -v '^ *+' conftest.er1 >conftest.err
20699 cat conftest.err >&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); } && {
20702 test -z "$ac_c_werror_flag" ||
20703 test ! -s conftest.err
20704 } && test -s conftest.$ac_objext; then
20705 ac_cv_prog_cc_g=yes
20707 echo "$as_me: failed program was:" >&5
20708 sed 's/^/| /' conftest.$ac_ext >&5
20713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20720 ac_c_werror_flag=$ac_save_c_werror_flag
20722 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
20723 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
20724 if test "$ac_test_CFLAGS" = set; then
20725 CFLAGS=$ac_save_CFLAGS
20726 elif test $ac_cv_prog_cc_g = yes; then
20727 if test "$GCC" = yes; then
20733 if test "$GCC" = yes; then
20739 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
20740 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
20741 if test "${ac_cv_prog_cc_c89+set}" = set; then
20742 echo $ECHO_N "(cached) $ECHO_C" >&6
20744 ac_cv_prog_cc_c89=no
20746 cat >conftest.$ac_ext <<_ACEOF
20749 cat confdefs.h >>conftest.$ac_ext
20750 cat >>conftest.$ac_ext <<_ACEOF
20751 /* end confdefs.h. */
20752 #include <stdarg.h>
20754 #include <sys/types.h>
20755 #include <sys/stat.h>
20756 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
20757 struct buf { int x; };
20758 FILE * (*rcsopen) (struct buf *, struct stat *, int);
20759 static char *e (p, i)
20765 static char *f (char * (*g) (char **, int), char **p, ...)
20770 s = g (p, va_arg (v,int));
20775 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
20776 function prototypes and stuff, but not '\xHH' hex character constants.
20777 These don't provoke an error unfortunately, instead are silently treated
20778 as 'x'. The following induces an error, until -std is added to get
20779 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
20780 array size at least. It's necessary to write '\x00'==0 to get something
20781 that's true only with -std. */
20782 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
20784 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
20785 inside strings and character constants. */
20787 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
20789 int test (int i, double x);
20790 struct s1 {int (*f) (int a);};
20791 struct s2 {int (*f) (double a);};
20792 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
20798 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
20803 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
20804 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20806 CC="$ac_save_CC $ac_arg"
20807 rm -f conftest.$ac_objext
20808 if { (ac_try="$ac_compile"
20809 case "(($ac_try" in
20810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20811 *) ac_try_echo
=$ac_try;;
20813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20814 (eval "$ac_compile") 2>conftest.er1
20816 grep -v '^ *+' conftest.er1
>conftest.err
20818 cat conftest.err
>&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } && {
20821 test -z "$ac_c_werror_flag" ||
20822 test ! -s conftest.err
20823 } && test -s conftest.
$ac_objext; then
20824 ac_cv_prog_cc_c89
=$ac_arg
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.
$ac_ext >&5
20832 rm -f core conftest.err conftest.
$ac_objext
20833 test "x$ac_cv_prog_cc_c89" != "xno" && break
20835 rm -f conftest.
$ac_ext
20840 case "x$ac_cv_prog_cc_c89" in
20842 { echo "$as_me:$LINENO: result: none needed" >&5
20843 echo "${ECHO_T}none needed" >&6; } ;;
20845 { echo "$as_me:$LINENO: result: unsupported" >&5
20846 echo "${ECHO_T}unsupported" >&6; } ;;
20848 CC
="$CC $ac_cv_prog_cc_c89"
20849 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
20850 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
20855 ac_cpp
='$CPP $CPPFLAGS'
20856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20860 depcc
="$CC" am_compiler_list
=
20862 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
20863 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
20864 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20867 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
20868 # We make a subdir and do the tests there. Otherwise we can end up
20869 # making bogus files that we don't know about and never remove. For
20870 # instance it was reported that on HP-UX the gcc test will end up
20871 # making a dummy file named `D' -- because `-MD' means `put the output
20874 # Copy depcomp to subdir because otherwise we won't find it if we're
20875 # using a relative directory.
20876 cp "$am_depcomp" conftest.dir
20878 # We will build objects and dependencies in a subdirectory because
20879 # it helps to detect inapplicable dependency modes. For instance
20880 # both Tru64's cc and ICC support -MD to output dependencies as a
20881 # side effect of compilation, but ICC will put the dependencies in
20882 # the current directory while Tru64 will put them in the object
20886 am_cv_CC_dependencies_compiler_type
=none
20887 if test "$am_compiler_list" = ""; then
20888 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
20890 for depmode
in $am_compiler_list; do
20891 # Setup a source with many dependencies, because some compilers
20892 # like to wrap large dependency lists on column 80 (with \), and
20893 # we should not choose a depcomp mode which is confused by this.
20895 # We need to recreate these files for each test, as the compiler may
20896 # overwrite some of them when testing with obscure command lines.
20897 # This happens at least with the AIX C compiler.
20899 for i
in 1 2 3 4 5 6; do
20900 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
20901 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
20902 # Solaris 8's {/usr,}/bin/sh.
20903 touch sub
/conftst
$i.h
20905 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
20909 # after this tag, mechanisms are not by side-effect, so they'll
20910 # only be used when explicitly requested
20911 if test "x$enable_dependency_tracking" = xyes
; then
20919 # We check with `-c' and `-o' for the sake of the "dashmstdout"
20920 # mode. It turns out that the SunPro C++ compiler does not properly
20921 # handle `-M -o', and we need to detect this.
20922 if depmode
=$depmode \
20923 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
20924 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
20925 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
20926 >/dev
/null
2>conftest.err
&&
20927 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
20928 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
20929 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
20930 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
20931 # icc doesn't choke on unknown options, it will just issue warnings
20932 # or remarks (even with -Werror). So we grep stderr for any message
20933 # that says an option was ignored or not supported.
20934 # When given -MP, icc 7.0 and 7.1 complain thusly:
20935 # icc: Command line warning: ignoring option '-M'; no argument required
20936 # The diagnosis changed in icc 8.0:
20937 # icc: Command line remark: option '-MP' not supported
20938 if (grep 'ignoring option' conftest.err ||
20939 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
20940 am_cv_CC_dependencies_compiler_type
=$depmode
20947 rm -rf conftest.dir
20949 am_cv_CC_dependencies_compiler_type
=none
20953 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
20954 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
20955 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
20958 test "x$enable_dependency_tracking" != xno \
20959 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
20960 am__fastdepCC_TRUE
=
20961 am__fastdepCC_FALSE
='#'
20963 am__fastdepCC_TRUE
='#'
20964 am__fastdepCC_FALSE
=
20968 # Find a good install program. We prefer a C program (faster),
20969 # so one script is as good as another. But avoid the broken or
20970 # incompatible versions:
20971 # SysV /etc/install, /usr/sbin/install
20972 # SunOS /usr/etc/install
20973 # IRIX /sbin/install
20975 # AmigaOS /C/install, which installs bootblocks on floppy discs
20976 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
20977 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
20978 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
20979 # OS/2's system install, which has a completely different semantic
20980 # ./install, which can be erroneously created by make from ./install.sh.
20981 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
20982 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
20983 if test -z "$INSTALL"; then
20984 if test "${ac_cv_path_install+set}" = set; then
20985 echo $ECHO_N "(cached) $ECHO_C" >&6
20987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20988 for as_dir
in $PATH
20991 test -z "$as_dir" && as_dir
=.
20992 # Account for people who put trailing slashes in PATH elements.
20994 .
/ | .
// |
/cC
/* | \
20995 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
20996 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
20999 # OSF1 and SCO ODT 3.0 have their own names for install.
21000 # Don't use installbsd from OSF since it installs stuff as root
21002 for ac_prog
in ginstall scoinst
install; do
21003 for ac_exec_ext
in '' $ac_executable_extensions; do
21004 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
21005 if test $ac_prog = install &&
21006 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
21007 # AIX install. It has an incompatible calling convention.
21009 elif test $ac_prog = install &&
21010 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
21011 # program-specific install script used by HP pwplus--don't use.
21014 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
21027 if test "${ac_cv_path_install+set}" = set; then
21028 INSTALL
=$ac_cv_path_install
21030 # As a last resort, use the slow shell script. Don't cache a
21031 # value for INSTALL within a source directory, because that will
21032 # break other packages using the cache if that directory is
21033 # removed, or if the value is a relative name.
21034 INSTALL
=$ac_install_sh
21037 { echo "$as_me:$LINENO: result: $INSTALL" >&5
21038 echo "${ECHO_T}$INSTALL" >&6; }
21040 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
21041 # It thinks the first close brace ends the variable substitution.
21042 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
21044 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
21046 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
21049 # The alpha architecture needs special flags for binary portability
21052 CFLAGS
="$CFLAGS -mcpu=ev4 -Wa,-mall"
21055 ac_default_prefix
=/boot
/develop
/tools
/gnupro
21057 *-*-cygwin* |
*-*-mingw32*)
21058 if test "$build" != "$target"; then # cross-compiling
21059 ac_default_prefix
=/usr
/local
/cross-tools
/i386-mingw32msvc
21068 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
21069 if test -n "$ac_tool_prefix"; then
21070 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21071 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21072 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21074 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21075 echo $ECHO_N "(cached) $ECHO_C" >&6
21077 case $PKG_CONFIG in
21079 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21083 for as_dir
in $PATH
21086 test -z "$as_dir" && as_dir
=.
21087 for ac_exec_ext
in '' $ac_executable_extensions; do
21088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21089 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21100 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21101 if test -n "$PKG_CONFIG"; then
21102 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21103 echo "${ECHO_T}$PKG_CONFIG" >&6; }
21105 { echo "$as_me:$LINENO: result: no" >&5
21106 echo "${ECHO_T}no" >&6; }
21111 if test -z "$ac_cv_path_PKG_CONFIG"; then
21112 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21113 # Extract the first word of "pkg-config", so it can be a program name with args.
21114 set dummy pkg-config
; ac_word
=$2
21115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21117 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
21118 echo $ECHO_N "(cached) $ECHO_C" >&6
21120 case $ac_pt_PKG_CONFIG in
21122 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21126 for as_dir
in $PATH
21129 test -z "$as_dir" && as_dir
=.
21130 for ac_exec_ext
in '' $ac_executable_extensions; do
21131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21132 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21143 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21144 if test -n "$ac_pt_PKG_CONFIG"; then
21145 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
21146 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
21148 { echo "$as_me:$LINENO: result: no" >&5
21149 echo "${ECHO_T}no" >&6; }
21152 if test "x$ac_pt_PKG_CONFIG" = x
; then
21155 case $cross_compiling:$ac_tool_warned in
21157 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21158 whose name does not start with the host triplet. If you think this
21159 configuration is useful to you, please write to autoconf@gnu.org." >&5
21160 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21161 whose name does not start with the host triplet. If you think this
21162 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21163 ac_tool_warned
=yes ;;
21165 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21168 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21172 if test -n "$PKG_CONFIG"; then
21173 _pkg_min_version
=0.9.0
21174 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
21175 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
21176 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21177 { echo "$as_me:$LINENO: result: yes" >&5
21178 echo "${ECHO_T}yes" >&6; }
21180 { echo "$as_me:$LINENO: result: no" >&5
21181 echo "${ECHO_T}no" >&6; }
21188 { echo "$as_me:$LINENO: checking for PANGO" >&5
21189 echo $ECHO_N "checking for PANGO... $ECHO_C" >&6; }
21191 if test -n "$PKG_CONFIG"; then
21192 if test -n "$PANGO_CFLAGS"; then
21193 pkg_cv_PANGO_CFLAGS
="$PANGO_CFLAGS"
21195 if test -n "$PKG_CONFIG" && \
21196 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.2.0\"") >&5
21197 ($PKG_CONFIG --exists --print-errors "pango >= 1.2.0") 2>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; then
21201 pkg_cv_PANGO_CFLAGS
=`$PKG_CONFIG --cflags "pango >= 1.2.0" 2>/dev/null`
21209 if test -n "$PKG_CONFIG"; then
21210 if test -n "$PANGO_LIBS"; then
21211 pkg_cv_PANGO_LIBS
="$PANGO_LIBS"
21213 if test -n "$PKG_CONFIG" && \
21214 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.2.0\"") >&5
21215 ($PKG_CONFIG --exists --print-errors "pango >= 1.2.0") 2>&5
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); }; then
21219 pkg_cv_PANGO_LIBS
=`$PKG_CONFIG --libs "pango >= 1.2.0" 2>/dev/null`
21230 if test $pkg_failed = yes; then
21232 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21233 _pkg_short_errors_supported
=yes
21235 _pkg_short_errors_supported
=no
21237 if test $_pkg_short_errors_supported = yes; then
21238 PANGO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pango >= 1.2.0"`
21240 PANGO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pango >= 1.2.0"`
21242 # Put the nasty error message in config.log where it belongs
21243 echo "$PANGO_PKG_ERRORS" >&5
21245 { echo "$as_me:$LINENO: result: no" >&5
21246 echo "${ECHO_T}no" >&6; }
21247 { { echo "$as_me:$LINENO: error: *** pango >= 1.2.0 not found!" >&5
21248 echo "$as_me: error: *** pango >= 1.2.0 not found!" >&2;}
21249 { (exit 1); exit 1; }; }
21250 elif test $pkg_failed = untried
; then
21251 { { echo "$as_me:$LINENO: error: *** pango >= 1.2.0 not found!" >&5
21252 echo "$as_me: error: *** pango >= 1.2.0 not found!" >&2;}
21253 { (exit 1); exit 1; }; }
21255 PANGO_CFLAGS
=$pkg_cv_PANGO_CFLAGS
21256 PANGO_LIBS
=$pkg_cv_PANGO_LIBS
21257 { echo "$as_me:$LINENO: result: yes" >&5
21258 echo "${ECHO_T}yes" >&6; }
21261 CFLAGS
="$CFLAGS $PANGO_CFLAGS"
21262 LIBS
="$LIBS $PANGO_LIBS"
21266 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
21267 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
21269 if test -n "$PKG_CONFIG"; then
21270 if test -n "$PANGOFT2_CFLAGS"; then
21271 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
21273 if test -n "$PKG_CONFIG" && \
21274 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2 >= 1.2.0\"") >&5
21275 ($PKG_CONFIG --exists --print-errors "pangoft2 >= 1.2.0") 2>&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; then
21279 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2 >= 1.2.0" 2>/dev/null`
21287 if test -n "$PKG_CONFIG"; then
21288 if test -n "$PANGOFT2_LIBS"; then
21289 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
21291 if test -n "$PKG_CONFIG" && \
21292 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2 >= 1.2.0\"") >&5
21293 ($PKG_CONFIG --exists --print-errors "pangoft2 >= 1.2.0") 2>&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; then
21297 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2 >= 1.2.0" 2>/dev/null`
21308 if test $pkg_failed = yes; then
21310 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21311 _pkg_short_errors_supported
=yes
21313 _pkg_short_errors_supported
=no
21315 if test $_pkg_short_errors_supported = yes; then
21316 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2 >= 1.2.0"`
21318 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2 >= 1.2.0"`
21320 # Put the nasty error message in config.log where it belongs
21321 echo "$PANGOFT2_PKG_ERRORS" >&5
21323 { echo "$as_me:$LINENO: result: no" >&5
21324 echo "${ECHO_T}no" >&6; }
21325 { { echo "$as_me:$LINENO: error: *** pangoft2 >= 1.2.0 not found!" >&5
21326 echo "$as_me: error: *** pangoft2 >= 1.2.0 not found!" >&2;}
21327 { (exit 1); exit 1; }; }
21328 elif test $pkg_failed = untried
; then
21329 { { echo "$as_me:$LINENO: error: *** pangoft2 >= 1.2.0 not found!" >&5
21330 echo "$as_me: error: *** pangoft2 >= 1.2.0 not found!" >&2;}
21331 { (exit 1); exit 1; }; }
21333 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
21334 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
21335 { echo "$as_me:$LINENO: result: yes" >&5
21336 echo "${ECHO_T}yes" >&6; }
21339 CFLAGS
="$CFLAGS $PANGOFT2_CFLAGS"
21340 LIBS
="$LIBS $PANGOFT2_LIBS"
21346 # Check whether --with-sdl-prefix was given.
21347 if test "${with_sdl_prefix+set}" = set; then
21348 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
21354 # Check whether --with-sdl-exec-prefix was given.
21355 if test "${with_sdl_exec_prefix+set}" = set; then
21356 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
21361 # Check whether --enable-sdltest was given.
21362 if test "${enable_sdltest+set}" = set; then
21363 enableval
=$enable_sdltest;
21369 if test x
$sdl_exec_prefix != x
; then
21370 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
21371 if test x
${SDL_CONFIG+set} != xset
; then
21372 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
21375 if test x
$sdl_prefix != x
; then
21376 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
21377 if test x
${SDL_CONFIG+set} != xset
; then
21378 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
21382 if test "x$prefix" != xNONE
; then
21383 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
21385 # Extract the first word of "sdl-config", so it can be a program name with args.
21386 set dummy sdl-config
; ac_word
=$2
21387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21389 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
21390 echo $ECHO_N "(cached) $ECHO_C" >&6
21392 case $SDL_CONFIG in
21394 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
21397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21398 for as_dir
in $PATH
21401 test -z "$as_dir" && as_dir
=.
21402 for ac_exec_ext
in '' $ac_executable_extensions; do
21403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21404 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21412 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
21416 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
21417 if test -n "$SDL_CONFIG"; then
21418 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
21419 echo "${ECHO_T}$SDL_CONFIG" >&6; }
21421 { echo "$as_me:$LINENO: result: no" >&5
21422 echo "${ECHO_T}no" >&6; }
21426 min_sdl_version
=$SDL_VERSION
21427 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
21428 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
21430 if test "$SDL_CONFIG" = "no" ; then
21433 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
21434 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
21436 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
21437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21438 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
21439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21440 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
21441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21442 if test "x$enable_sdltest" = "xyes" ; then
21443 ac_save_CFLAGS
="$CFLAGS"
21444 ac_save_CXXFLAGS
="$CXXFLAGS"
21445 ac_save_LIBS
="$LIBS"
21446 CFLAGS
="$CFLAGS $SDL_CFLAGS"
21447 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
21448 LIBS
="$LIBS $SDL_LIBS"
21450 if test "$cross_compiling" = yes; then
21451 echo $ac_n "cross compiling; assumed OK... $ac_c"
21453 cat >conftest.
$ac_ext <<_ACEOF
21456 cat confdefs.h
>>conftest.
$ac_ext
21457 cat >>conftest.
$ac_ext <<_ACEOF
21458 /* end confdefs.h. */
21461 #include <stdlib.h>
21462 #include <string.h>
21466 my_strdup (char *str)
21472 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
21473 strcpy (new_str, str);
21481 int main (int argc, char *argv[])
21483 int major, minor, micro;
21486 /* This hangs on some systems (?)
21487 system ("touch conf.sdltest");
21489 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
21491 /* HP/UX 9 (%@#!) writes to sscanf strings */
21492 tmp_version = my_strdup("$min_sdl_version");
21493 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21494 printf("%s, bad version string\n", "$min_sdl_version");
21498 if (($sdl_major_version > major) ||
21499 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
21500 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
21506 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
21507 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
21508 printf("*** best to upgrade to the required version.\n");
21509 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
21510 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
21511 printf("*** config.cache before re-running configure\n");
21518 rm -f conftest
$ac_exeext
21519 if { (ac_try
="$ac_link"
21520 case "(($ac_try" in
21521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21522 *) ac_try_echo=$ac_try;;
21524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21525 (eval "$ac_link") 2>&5
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21529 { (case "(($ac_try" in
21530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21531 *) ac_try_echo
=$ac_try;;
21533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21534 (eval "$ac_try") 2>&5
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); }; }; then
21540 echo "$as_me: program exited with status $ac_status" >&5
21541 echo "$as_me: failed program was:" >&5
21542 sed 's/^/| /' conftest.
$ac_ext >&5
21544 ( exit $ac_status )
21547 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21551 CFLAGS
="$ac_save_CFLAGS"
21552 CXXFLAGS
="$ac_save_CXXFLAGS"
21553 LIBS
="$ac_save_LIBS"
21556 if test "x$no_sdl" = x
; then
21557 { echo "$as_me:$LINENO: result: yes" >&5
21558 echo "${ECHO_T}yes" >&6; }
21561 { echo "$as_me:$LINENO: result: no" >&5
21562 echo "${ECHO_T}no" >&6; }
21563 if test "$SDL_CONFIG" = "no" ; then
21564 echo "*** The sdl-config script installed by SDL could not be found"
21565 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
21566 echo "*** your path, or set the SDL_CONFIG environment variable to the"
21567 echo "*** full path to sdl-config."
21569 if test -f conf.sdltest
; then
21572 echo "*** Could not run SDL test program, checking why..."
21573 CFLAGS
="$CFLAGS $SDL_CFLAGS"
21574 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
21575 LIBS
="$LIBS $SDL_LIBS"
21576 cat >conftest.
$ac_ext <<_ACEOF
21579 cat confdefs.h
>>conftest.
$ac_ext
21580 cat >>conftest.
$ac_ext <<_ACEOF
21581 /* end confdefs.h. */
21586 int main(int argc, char *argv[])
21589 #define main K_and_R_C_main
21599 rm -f conftest.
$ac_objext conftest
$ac_exeext
21600 if { (ac_try
="$ac_link"
21601 case "(($ac_try" in
21602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21603 *) ac_try_echo=$ac_try;;
21605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21606 (eval "$ac_link") 2>conftest.er1
21608 grep -v '^ *+' conftest.er1 >conftest.err
21610 cat conftest.err >&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); } && {
21613 test -z "$ac_c_werror_flag" ||
21614 test ! -s conftest.err
21615 } && test -s conftest$ac_exeext &&
21616 $as_test_x conftest$ac_exeext; then
21617 echo "*** The test program compiled, but did not run. This usually means"
21618 echo "*** that the run-time linker is not finding SDL or finding the wrong"
21619 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
21620 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21621 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21622 echo "*** is required on your system"
21624 echo "*** If you have an old version installed, it is best to remove it, although"
21625 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21627 echo "$as_me: failed program was:" >&5
21628 sed 's/^/| /' conftest.$ac_ext >&5
21630 echo "*** The test program failed to compile or link. See the file config.log for the"
21631 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
21632 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
21633 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
21636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21637 conftest$ac_exeext conftest.$ac_ext
21638 CFLAGS="$ac_save_CFLAGS"
21639 CXXFLAGS="$ac_save_CXXFLAGS"
21640 LIBS="$ac_save_LIBS"
21645 { { echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5
21646 echo "$as_me: error: *** SDL version $SDL_VERSION not found!" >&2;}
21647 { (exit 1); exit 1; }; }
21654 CFLAGS="$CFLAGS $SDL_CFLAGS"
21655 LIBS="$LIBS $SDL_LIBS"
21657 ac_config_files="$ac_config_files Makefile src/Makefile SDL_Pango.pc docs/Makefile docs/Doxyfile VisualC2003/Makefile Wix/Makefile Wix/merge_module.xml Wix/dev.xml Wix/testbench.xml"
21660 # Finally create all the generated files
21661 cat >confcache <<\_ACEOF
21662 # This file is a shell script that caches the results of configure
21663 # tests run on this system so they can be shared between configure
21664 # scripts and configure runs, see configure's option --config-cache.
21665 # It is not useful on other systems. If it contains results you don't
21666 # want to keep, you may remove or edit it.
21668 # config.status only pays attention to the cache file if you give it
21669 # the --recheck option to rerun configure.
21671 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21672 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21673 # following values.
21677 # The following way of writing the cache mishandles newlines in values,
21678 # but we know of no workaround that is simple, portable, and efficient.
21679 # So, we kill variables containing newlines.
21680 # Ultrix sh set writes to stderr and can't be redirected directly,
21681 # and sets the high bit in the cache file unless we assign to the vars.
21683 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21684 eval ac_val
=\$
$ac_var
21688 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21689 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21692 _ | IFS | as_nl
) ;; #(
21693 *) $as_unset $ac_var ;;
21699 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21700 *${as_nl}ac_space
=\
*)
21701 # `set' does not quote correctly, so add quotes (double-quote
21702 # substitution turns \\\\ into \\, and sed turns \\ into \).
21705 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21708 # `set' quotes correctly as required by POSIX, so do not add quotes.
21709 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21718 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21720 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21722 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21723 if test -w "$cache_file"; then
21724 test "x$cache_file" != "x/dev/null" &&
21725 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21726 echo "$as_me: updating cache $cache_file" >&6;}
21727 cat confcache
>$cache_file
21729 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21730 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21735 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21736 # Let make expand exec_prefix.
21737 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21739 # Transform confdefs.h into DEFS.
21740 # Protect against shell expansion while executing Makefile rules.
21741 # Protect against Makefile macro expansion.
21743 # If the first sed substitution is executed (which looks for macros that
21744 # take arguments), then branch to the quote section. Otherwise,
21745 # look for a macro that doesn't take arguments.
21749 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
21751 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
21755 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
21768 DEFS
=`sed -n "$ac_script" confdefs.h`
21773 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21774 # 1. Remove the extension, and $U if already installed.
21775 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21776 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21777 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21778 # will be set to the directory where LIBOBJS objects are built.
21779 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21780 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21782 LIBOBJS
=$ac_libobjs
21784 LTLIBOBJS
=$ac_ltlibobjs
21787 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21788 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21789 Usually this means the macro was only invoked conditionally." >&5
21790 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21791 Usually this means the macro was only invoked conditionally." >&2;}
21792 { (exit 1); exit 1; }; }
21794 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21795 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21796 Usually this means the macro was only invoked conditionally." >&5
21797 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21798 Usually this means the macro was only invoked conditionally." >&2;}
21799 { (exit 1); exit 1; }; }
21801 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21802 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21803 Usually this means the macro was only invoked conditionally." >&5
21804 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21805 Usually this means the macro was only invoked conditionally." >&2;}
21806 { (exit 1); exit 1; }; }
21808 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21809 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21810 Usually this means the macro was only invoked conditionally." >&5
21811 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21812 Usually this means the macro was only invoked conditionally." >&2;}
21813 { (exit 1); exit 1; }; }
21815 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21816 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21817 Usually this means the macro was only invoked conditionally." >&5
21818 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21819 Usually this means the macro was only invoked conditionally." >&2;}
21820 { (exit 1); exit 1; }; }
21823 : ${CONFIG_STATUS=./config.status}
21824 ac_clean_files_save
=$ac_clean_files
21825 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21826 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21827 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21828 cat >$CONFIG_STATUS <<_ACEOF
21830 # Generated by $as_me.
21831 # Run this file to recreate the current configuration.
21832 # Compiler output produced by configure, useful for debugging
21833 # configure, is in config.log if it exists.
21836 ac_cs_recheck=false
21838 SHELL=\${CONFIG_SHELL-$SHELL}
21841 cat >>$CONFIG_STATUS <<\_ACEOF
21842 ## --------------------- ##
21843 ## M4sh Initialization. ##
21844 ## --------------------- ##
21846 # Be more Bourne compatible
21847 DUALCASE
=1; export DUALCASE
# for MKS sh
21848 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21851 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21852 # is contrary to our usage. Disable this feature.
21853 alias -g '${1+"$@"}'='"$@"'
21854 setopt NO_GLOB_SUBST
21856 case `(set -o) 2>/dev/null` in
21857 *posix
*) set -o posix
;;
21866 # Avoid depending upon Character Ranges.
21867 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21868 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21869 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21870 as_cr_digits
='0123456789'
21871 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21873 # The user is always right.
21874 if test "${PATH_SEPARATOR+set}" != set; then
21875 echo "#! /bin/sh" >conf$$.sh
21876 echo "exit 0" >>conf$$.sh
21878 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21886 # Support unset when possible.
21887 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21895 # We need space, tab and new line, in precisely that order. Quoting is
21896 # there to prevent editors from complaining about space-tab.
21897 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21898 # splitting by setting IFS to empty value.)
21903 # Find who we are. Look in the path if we contain no directory separator.
21905 *[\\/]* ) as_myself
=$0 ;;
21906 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21907 for as_dir
in $PATH
21910 test -z "$as_dir" && as_dir
=.
21911 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21917 # We did not find ourselves, most probably we were run as `sh COMMAND'
21918 # in which case we are not to be found in the path.
21919 if test "x$as_myself" = x
; then
21922 if test ! -f "$as_myself"; then
21923 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21924 { (exit 1); exit 1; }
21927 # Work around bugs in pre-3.0 UWIN ksh.
21928 for as_var
in ENV MAIL MAILPATH
21929 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21937 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21938 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21939 LC_TELEPHONE LC_TIME
21941 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21942 eval $as_var=C
; export $as_var
21944 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21948 # Required to use basename.
21949 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21950 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21956 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21957 as_basename
=basename
21963 # Name of the executable.
21964 as_me
=`$as_basename -- "$0" ||
21965 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21966 X"$0" : 'X\(//\)$' \| \
21967 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21969 sed '/^.*\/\([^/][^/]*\)\/*$/{
21988 as_lineno_1
=$LINENO
21989 as_lineno_2
=$LINENO
21990 test "x$as_lineno_1" != "x$as_lineno_2" &&
21991 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21993 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21994 # uniformly replaced by the line number. The first 'sed' inserts a
21995 # line-number line after each line using $LINENO; the second 'sed'
21996 # does the real work. The second script uses 'N' to pair each
21997 # line-number line with the line containing $LINENO, and appends
21998 # trailing '-' during substitution so that $LINENO is not a special
21999 # case at line end.
22000 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22001 # scripts with optimization help from Paolo Bonzini. Blame Lee
22002 # E. McMahon (1931-1989) for sed's syntax. :-)
22014 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22017 ' >$as_me.lineno
&&
22018 chmod +x
"$as_me.lineno" ||
22019 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22020 { (exit 1); exit 1; }; }
22022 # Don't try to exec as it changes $[0], causing all sort of problems
22023 # (the dirname of $[0] is not the place where we might find the
22024 # original and so on. Autoconf is especially sensitive to this).
22025 .
"./$as_me.lineno"
22026 # Exit status is that of the last command.
22031 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22037 ECHO_C
= ECHO_N
= ECHO_T
=
22038 case `echo -n x` in
22040 case `echo 'x\c'` in
22041 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22048 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22049 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22055 rm -f conf$$ conf$$.exe conf$$.
file
22056 if test -d conf$$.dir
; then
22057 rm -f conf$$.dir
/conf$$.
file
22063 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22065 # ... but there are two gotchas:
22066 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22067 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22068 # In both cases, we have to default to `cp -p'.
22069 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22071 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22076 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22077 rmdir conf$$.dir
2>/dev
/null
22079 if mkdir
-p .
2>/dev
/null
; then
22082 test -d .
/-p && rmdir .
/-p
22086 if test -x / >/dev
/null
2>&1; then
22087 as_test_x
='test -x'
22089 if ls -dL / >/dev
/null
2>&1; then
22096 if test -d "$1"; then
22102 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22103 ???[sx]*):;;*)false;;esac;fi
22107 as_executable_p
=$as_test_x
22109 # Sed expression to map a string onto a valid CPP name.
22110 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22112 # Sed expression to map a string onto a valid variable name.
22113 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22118 # Save the log message, to keep $[0] and so on meaningful, and to
22119 # report actual input values of CONFIG_FILES etc. instead of their
22120 # values after options handling.
22122 This file was extended by $as_me, which was
22123 generated by GNU Autoconf 2.61. Invocation command line was
22125 CONFIG_FILES = $CONFIG_FILES
22126 CONFIG_HEADERS = $CONFIG_HEADERS
22127 CONFIG_LINKS = $CONFIG_LINKS
22128 CONFIG_COMMANDS = $CONFIG_COMMANDS
22131 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22136 cat >>$CONFIG_STATUS <<_ACEOF
22137 # Files that config.status was made for.
22138 config_files="$ac_config_files"
22139 config_commands="$ac_config_commands"
22143 cat >>$CONFIG_STATUS <<\_ACEOF
22145 \`$as_me' instantiates files from templates according to the
22146 current configuration.
22148 Usage: $0 [OPTIONS] [FILE]...
22150 -h, --help print this help, then exit
22151 -V, --version print version number and configuration settings, then exit
22152 -q, --quiet do not print progress messages
22153 -d, --debug don't remove temporary files
22154 --recheck update $as_me by reconfiguring in the same conditions
22155 --file=FILE[:TEMPLATE]
22156 instantiate the configuration file FILE
22158 Configuration files:
22161 Configuration commands:
22164 Report bugs to <bug-autoconf@gnu.org>."
22167 cat >>$CONFIG_STATUS <<_ACEOF
22170 configured by $0, generated by GNU Autoconf 2.61,
22171 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22173 Copyright (C) 2006 Free Software Foundation, Inc.
22174 This config.status script is free software; the Free Software Foundation
22175 gives unlimited permission to copy, distribute and modify it."
22183 cat >>$CONFIG_STATUS <<\_ACEOF
22184 # If no file are specified by the user, then we need to provide default
22185 # value. By we need to know if files were specified by the user.
22191 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22192 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22203 # Handling of the options.
22204 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22206 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22207 echo "$ac_cs_version"; exit ;;
22208 --debug |
--debu |
--deb |
--de |
--d |
-d )
22210 --file |
--fil |
--fi |
--f )
22212 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22213 ac_need_defaults
=false
;;
22214 --he |
--h |
--help |
--hel |
-h )
22215 echo "$ac_cs_usage"; exit ;;
22216 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22217 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22220 # This is an error.
22221 -*) { echo "$as_me: error: unrecognized option: $1
22222 Try \`$0 --help' for more information." >&2
22223 { (exit 1); exit 1; }; } ;;
22225 *) ac_config_targets
="$ac_config_targets $1"
22226 ac_need_defaults
=false
;;
22232 ac_configure_extra_args
=
22234 if $ac_cs_silent; then
22236 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22240 cat >>$CONFIG_STATUS <<_ACEOF
22241 if \$ac_cs_recheck; then
22242 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22243 CONFIG_SHELL=$SHELL
22244 export CONFIG_SHELL
22245 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22249 cat >>$CONFIG_STATUS <<\_ACEOF
22253 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22254 ## Running $as_me. ##
22260 cat >>$CONFIG_STATUS <<_ACEOF
22264 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22268 cat >>$CONFIG_STATUS <<\_ACEOF
22270 # Handling of arguments.
22271 for ac_config_target
in $ac_config_targets
22273 case $ac_config_target in
22274 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22275 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22276 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
22277 "SDL_Pango.pc") CONFIG_FILES
="$CONFIG_FILES SDL_Pango.pc" ;;
22278 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
22279 "docs/Doxyfile") CONFIG_FILES
="$CONFIG_FILES docs/Doxyfile" ;;
22280 "VisualC2003/Makefile") CONFIG_FILES
="$CONFIG_FILES VisualC2003/Makefile" ;;
22281 "Wix/Makefile") CONFIG_FILES
="$CONFIG_FILES Wix/Makefile" ;;
22282 "Wix/merge_module.xml") CONFIG_FILES
="$CONFIG_FILES Wix/merge_module.xml" ;;
22283 "Wix/dev.xml") CONFIG_FILES
="$CONFIG_FILES Wix/dev.xml" ;;
22284 "Wix/testbench.xml") CONFIG_FILES
="$CONFIG_FILES Wix/testbench.xml" ;;
22286 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22287 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22288 { (exit 1); exit 1; }; };;
22293 # If the user did not use the arguments to specify the items to instantiate,
22294 # then the envvar interface is used. Set only those that are not.
22295 # We use the long form for the default assignment because of an extremely
22296 # bizarre bug on SunOS 4.1.3.
22297 if $ac_need_defaults; then
22298 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22299 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22302 # Have a temporary directory for convenience. Make it in the build tree
22303 # simply because there is no reason against having it here, and in addition,
22304 # creating and moving files from /tmp can sometimes cause problems.
22305 # Hook for its removal unless debugging.
22306 # Note that there is a small window in which the directory will not be cleaned:
22307 # after its creation but before its name has been assigned to `$tmp'.
22311 trap 'exit_status=$?
22312 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22314 trap '{ (exit 1); exit 1; }' 1 2 13 15
22316 # Create a (secure) tmp directory for tmp files.
22319 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22320 test -n "$tmp" && test -d "$tmp"
22323 tmp
=.
/conf$$
-$RANDOM
22324 (umask 077 && mkdir
"$tmp")
22327 echo "$me: cannot create a temporary directory in ." >&2
22328 { (exit 1); exit 1; }
22332 # Set up the sed scripts for CONFIG_FILES section.
22335 # No need to generate the scripts if there are no CONFIG_FILES.
22336 # This happens for instance when ./config.status config.h
22337 if test -n "$CONFIG_FILES"; then
22344 for ac_last_try
in false false false false false
:; do
22345 cat >conf$
$subs.
sed <<_ACEOF
22346 SHELL!$SHELL$ac_delim
22347 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22348 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22349 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22350 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22351 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22352 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22353 exec_prefix!$exec_prefix$ac_delim
22354 prefix!$prefix$ac_delim
22355 program_transform_name!$program_transform_name$ac_delim
22356 bindir!$bindir$ac_delim
22357 sbindir!$sbindir$ac_delim
22358 libexecdir!$libexecdir$ac_delim
22359 datarootdir!$datarootdir$ac_delim
22360 datadir!$datadir$ac_delim
22361 sysconfdir!$sysconfdir$ac_delim
22362 sharedstatedir!$sharedstatedir$ac_delim
22363 localstatedir!$localstatedir$ac_delim
22364 includedir!$includedir$ac_delim
22365 oldincludedir!$oldincludedir$ac_delim
22366 docdir!$docdir$ac_delim
22367 infodir!$infodir$ac_delim
22368 htmldir!$htmldir$ac_delim
22369 dvidir!$dvidir$ac_delim
22370 pdfdir!$pdfdir$ac_delim
22371 psdir!$psdir$ac_delim
22372 libdir!$libdir$ac_delim
22373 localedir!$localedir$ac_delim
22374 mandir!$mandir$ac_delim
22375 DEFS!$DEFS$ac_delim
22376 ECHO_C!$ECHO_C$ac_delim
22377 ECHO_N!$ECHO_N$ac_delim
22378 ECHO_T!$ECHO_T$ac_delim
22379 LIBS!$LIBS$ac_delim
22380 build_alias!$build_alias$ac_delim
22381 host_alias!$host_alias$ac_delim
22382 target_alias!$target_alias$ac_delim
22383 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
22384 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
22385 MAINT!$MAINT$ac_delim
22386 MAJOR_VERSION!$MAJOR_VERSION$ac_delim
22387 MINOR_VERSION!$MINOR_VERSION$ac_delim
22388 MICRO_VERSION!$MICRO_VERSION$ac_delim
22389 INTERFACE_AGE!$INTERFACE_AGE$ac_delim
22390 BINARY_AGE!$BINARY_AGE$ac_delim
22391 VERSION!$VERSION$ac_delim
22392 LT_RELEASE!$LT_RELEASE$ac_delim
22393 LT_CURRENT!$LT_CURRENT$ac_delim
22394 LT_REVISION!$LT_REVISION$ac_delim
22395 LT_AGE!$LT_AGE$ac_delim
22396 build!$build$ac_delim
22397 build_cpu!$build_cpu$ac_delim
22398 build_vendor!$build_vendor$ac_delim
22399 build_os!$build_os$ac_delim
22400 host!$host$ac_delim
22401 host_cpu!$host_cpu$ac_delim
22402 host_vendor!$host_vendor$ac_delim
22403 host_os!$host_os$ac_delim
22404 target!$target$ac_delim
22405 target_cpu!$target_cpu$ac_delim
22406 target_vendor!$target_vendor$ac_delim
22407 target_os!$target_os$ac_delim
22408 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22409 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22410 INSTALL_DATA!$INSTALL_DATA$ac_delim
22411 am__isrc!$am__isrc$ac_delim
22412 CYGPATH_W!$CYGPATH_W$ac_delim
22413 PACKAGE!$PACKAGE$ac_delim
22414 ACLOCAL!$ACLOCAL$ac_delim
22415 AUTOCONF!$AUTOCONF$ac_delim
22416 AUTOMAKE!$AUTOMAKE$ac_delim
22417 AUTOHEADER!$AUTOHEADER$ac_delim
22418 MAKEINFO!$MAKEINFO$ac_delim
22419 install_sh!$install_sh$ac_delim
22420 STRIP!$STRIP$ac_delim
22421 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22422 mkdir_p!$mkdir_p$ac_delim
22424 SET_MAKE!$SET_MAKE$ac_delim
22425 am__leading_dot!$am__leading_dot$ac_delim
22426 AMTAR!$AMTAR$ac_delim
22427 am__tar!$am__tar$ac_delim
22428 am__untar!$am__untar$ac_delim
22430 CFLAGS!$CFLAGS$ac_delim
22431 LDFLAGS!$LDFLAGS$ac_delim
22432 CPPFLAGS!$CPPFLAGS$ac_delim
22433 ac_ct_CC!$ac_ct_CC$ac_delim
22434 EXEEXT!$EXEEXT$ac_delim
22435 OBJEXT!$OBJEXT$ac_delim
22436 DEPDIR!$DEPDIR$ac_delim
22437 am__include!$am__include$ac_delim
22438 am__quote!$am__quote$ac_delim
22439 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22440 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22441 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22442 CCDEPMODE!$CCDEPMODE$ac_delim
22445 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22447 elif $ac_last_try; then
22448 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22449 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22450 { (exit 1); exit 1; }; }
22452 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22456 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22457 if test -n "$ac_eof"; then
22458 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22459 ac_eof
=`expr $ac_eof + 1`
22462 cat >>$CONFIG_STATUS <<_ACEOF
22463 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22464 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22467 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22468 s/^/s,@/; s/!/@,|#_!!_#|/
22471 s/'"$ac_delim"'$/,g/; t
22473 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22474 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22475 rm -f conf$
$subs.
sed
22476 cat >>$CONFIG_STATUS <<_ACEOF
22482 for ac_last_try
in false false false false false
:; do
22483 cat >conf$
$subs.
sed <<_ACEOF
22484 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22485 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22487 GREP!$GREP$ac_delim
22488 EGREP!$EGREP$ac_delim
22489 LN_S!$LN_S$ac_delim
22490 ECHO!$ECHO$ac_delim
22492 RANLIB!$RANLIB$ac_delim
22493 DSYMUTIL!$DSYMUTIL$ac_delim
22494 NMEDIT!$NMEDIT$ac_delim
22495 DLLTOOL!$DLLTOOL$ac_delim
22497 OBJDUMP!$OBJDUMP$ac_delim
22500 CXXFLAGS!$CXXFLAGS$ac_delim
22501 ac_ct_CXX!$ac_ct_CXX$ac_delim
22502 CXXDEPMODE!$CXXDEPMODE$ac_delim
22503 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22504 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22505 CXXCPP!$CXXCPP$ac_delim
22507 FFLAGS!$FFLAGS$ac_delim
22508 ac_ct_F77!$ac_ct_F77$ac_delim
22509 LIBTOOL!$LIBTOOL$ac_delim
22510 PKG_CONFIG!$PKG_CONFIG$ac_delim
22511 PANGO_CFLAGS!$PANGO_CFLAGS$ac_delim
22512 PANGO_LIBS!$PANGO_LIBS$ac_delim
22513 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
22514 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
22515 SDL_CONFIG!$SDL_CONFIG$ac_delim
22516 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
22517 SDL_LIBS!$SDL_LIBS$ac_delim
22518 LIBOBJS!$LIBOBJS$ac_delim
22519 LTLIBOBJS!$LTLIBOBJS$ac_delim
22522 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
22524 elif $ac_last_try; then
22525 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22526 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22527 { (exit 1); exit 1; }; }
22529 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22533 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22534 if test -n "$ac_eof"; then
22535 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22536 ac_eof
=`expr $ac_eof + 1`
22539 cat >>$CONFIG_STATUS <<_ACEOF
22540 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22541 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22544 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22545 s/^/s,@/; s/!/@,|#_!!_#|/
22548 s/'"$ac_delim"'$/,g/; t
22550 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22551 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22552 rm -f conf$
$subs.
sed
22553 cat >>$CONFIG_STATUS <<_ACEOF
22560 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22561 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22562 # trailing colons and then remove the whole line if VPATH becomes empty
22563 # (actually we leave an empty line to preserve line numbers).
22564 if test "x$srcdir" = x.
; then
22565 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22566 s/:*\$(srcdir):*/:/
22567 s/:*\${srcdir}:*/:/
22569 s/^\([^=]*=[ ]*\):*/\1/
22575 cat >>$CONFIG_STATUS <<\_ACEOF
22576 fi # test -n "$CONFIG_FILES"
22579 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
22582 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22584 case $ac_mode$ac_tag in
22586 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22587 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22588 { (exit 1); exit 1; }; };;
22589 :[FH
]-) ac_tag
=-:-;;
22590 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22607 -) ac_f
="$tmp/stdin";;
22608 *) # Look for the file first in the build tree, then in the source tree
22609 # (if the path is not absolute). The absolute path cannot be DOS-style,
22610 # because $ac_f cannot contain `:'.
22614 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22616 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22617 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22618 { (exit 1); exit 1; }; };;
22620 ac_file_inputs
="$ac_file_inputs $ac_f"
22623 # Let's still pretend it is `configure' which instantiates (i.e., don't
22624 # use $as_me), people would be surprised to read:
22625 # /* config.h. Generated by config.status. */
22626 configure_input
="Generated from "`IFS=:
22627 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22628 if test x
"$ac_file" != x-
; then
22629 configure_input
="$ac_file. $configure_input"
22630 { echo "$as_me:$LINENO: creating $ac_file" >&5
22631 echo "$as_me: creating $ac_file" >&6;}
22635 *:-:* |
*:-) cat >"$tmp/stdin";;
22640 ac_dir
=`$as_dirname -- "$ac_file" ||
22641 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22642 X"$ac_file" : 'X\(//\)[^/]' \| \
22643 X"$ac_file" : 'X\(//\)$' \| \
22644 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22650 /^X\(\/\/\)[^/].*/{
22665 -*) as_dir
=.
/$as_dir;;
22667 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22671 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22672 *) as_qdir
=$as_dir;;
22674 as_dirs
="'$as_qdir' $as_dirs"
22675 as_dir
=`$as_dirname -- "$as_dir" ||
22676 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22677 X"$as_dir" : 'X\(//\)[^/]' \| \
22678 X"$as_dir" : 'X\(//\)$' \| \
22679 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22685 /^X\(\/\/\)[^/].*/{
22698 test -d "$as_dir" && break
22700 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22701 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22702 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22703 { (exit 1); exit 1; }; }; }
22707 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22709 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22710 # A ".." for each directory in $ac_dir_suffix.
22711 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22712 case $ac_top_builddir_sub in
22713 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22714 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22717 ac_abs_top_builddir
=$ac_pwd
22718 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22719 # for backward compatibility:
22720 ac_top_builddir
=$ac_top_build_prefix
22723 .
) # We are building in place.
22725 ac_top_srcdir
=$ac_top_builddir_sub
22726 ac_abs_top_srcdir
=$ac_pwd ;;
22727 [\\/]* | ?
:[\\/]* ) # Absolute name.
22728 ac_srcdir
=$srcdir$ac_dir_suffix;
22729 ac_top_srcdir
=$srcdir
22730 ac_abs_top_srcdir
=$srcdir ;;
22731 *) # Relative name.
22732 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22733 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22734 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22736 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22746 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22747 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22749 ac_MKDIR_P
=$MKDIR_P
22751 [\\/$
]* | ?
:[\\/]* ) ;;
22752 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22756 cat >>$CONFIG_STATUS <<\_ACEOF
22757 # If the template does not know about datarootdir, expand it.
22758 # FIXME: This hack should be removed a few years after 2.60.
22759 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22761 case `sed -n '/datarootdir/ {
22770 ' $ac_file_inputs` in
22771 *datarootdir
*) ac_datarootdir_seen
=yes;;
22772 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22773 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22774 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22776 cat >>$CONFIG_STATUS <<_ACEOF
22777 ac_datarootdir_hack='
22778 s&@datadir@&$datadir&g
22779 s&@docdir@&$docdir&g
22780 s&@infodir@&$infodir&g
22781 s&@localedir@&$localedir&g
22782 s&@mandir@&$mandir&g
22783 s&\\\${datarootdir}&$datarootdir&g' ;;
22787 # Neutralize VPATH when `$srcdir' = `.'.
22788 # Shell code in configure.ac might set extrasub.
22789 # FIXME: do we really want to maintain this feature?
22790 cat >>$CONFIG_STATUS <<_ACEOF
22794 cat >>$CONFIG_STATUS <<\_ACEOF
22796 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22797 s
&@configure_input@
&$configure_input&;t t
22798 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22799 s
&@srcdir@
&$ac_srcdir&;t t
22800 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22801 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22802 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22803 s
&@builddir@
&$ac_builddir&;t t
22804 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22805 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22806 s
&@INSTALL@
&$ac_INSTALL&;t t
22807 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22808 $ac_datarootdir_hack
22809 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22811 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22812 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22813 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22814 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22815 which seems to be undefined. Please make sure it is defined." >&5
22816 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22817 which seems to be undefined. Please make sure it is defined." >&2;}
22821 -) cat "$tmp/out"; rm -f "$tmp/out";;
22822 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22827 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22828 echo "$as_me: executing $ac_file commands" >&6;}
22833 case $ac_file$ac_mode in
22834 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22835 # Strip MF so we end up with the name of the file.
22836 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
22837 # Check whether this is an Automake generated Makefile or not.
22838 # We used to match only the files named `Makefile.in', but
22839 # some people rename them; so instead we look at the file content.
22840 # Grep'ing the first line is not enough: some people post-process
22841 # each Makefile.in and add a new line on top of each file to say so.
22842 # Grep'ing the whole file is not good either: AIX grep has a line
22843 # limit of 2048, but all sed's we know have understand at least 4000.
22844 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
22845 dirpart
=`$as_dirname -- "$mf" ||
22846 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22847 X"$mf" : 'X\(//\)[^/]' \| \
22848 X"$mf" : 'X\(//\)$' \| \
22849 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22855 /^X\(\/\/\)[^/].*/{
22871 # Extract the definition of DEPDIR, am__include, and am__quote
22872 # from the Makefile without running `make'.
22873 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22874 test -z "$DEPDIR" && continue
22875 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22876 test -z "am__include" && continue
22877 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22878 # When using ansi2knr, U may be empty or an underscore; expand it
22879 U
=`sed -n 's/^U = //p' < "$mf"`
22880 # Find all dependency output files, they are included files with
22881 # $(DEPDIR) in their names. We invoke sed twice because it is the
22882 # simplest approach to changing $(DEPDIR) to its actual value in the
22884 for file in `sed -n "
22885 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22886 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22887 # Make sure the directory exists.
22888 test -f "$dirpart/$file" && continue
22889 fdir
=`$as_dirname -- "$file" ||
22890 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22891 X"$file" : 'X\(//\)[^/]' \| \
22892 X"$file" : 'X\(//\)$' \| \
22893 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22899 /^X\(\/\/\)[^/].*/{
22912 { as_dir
=$dirpart/$fdir
22914 -*) as_dir
=.
/$as_dir;;
22916 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22920 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22921 *) as_qdir
=$as_dir;;
22923 as_dirs
="'$as_qdir' $as_dirs"
22924 as_dir
=`$as_dirname -- "$as_dir" ||
22925 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22926 X"$as_dir" : 'X\(//\)[^/]' \| \
22927 X"$as_dir" : 'X\(//\)$' \| \
22928 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22934 /^X\(\/\/\)[^/].*/{
22947 test -d "$as_dir" && break
22949 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22950 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22951 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22952 { (exit 1); exit 1; }; }; }
22953 # echo "creating $dirpart/$file"
22954 echo '# dummy' > "$dirpart/$file"
22963 { (exit 0); exit 0; }
22965 chmod +x
$CONFIG_STATUS
22966 ac_clean_files
=$ac_clean_files_save
22969 # configure is writing to config.log, and then calls config.status.
22970 # config.status does its own redirection, appending to config.log.
22971 # Unfortunately, on DOS this fails, as config.log is still kept open
22972 # by configure, so config.status won't be able to write to it; its
22973 # output is simply discarded. So we exec the FD to /dev/null,
22974 # effectively closing config.log, so it can be properly (re)opened and
22975 # appended to by config.status. When coming back to configure, we
22976 # need to make the FD available again.
22977 if test "$no_create" != yes; then
22979 ac_config_status_args
=
22980 test "$silent" = yes &&
22981 ac_config_status_args
="$ac_config_status_args --quiet"
22983 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22985 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22986 # would make configure fail if this is the last instruction.
22987 $ac_cs_success ||
{ (exit 1); exit 1; }