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 # Factoring default headers for most tests.
734 ac_includes_default
="\
736 #ifdef HAVE_SYS_TYPES_H
737 # include <sys/types.h>
739 #ifdef HAVE_SYS_STAT_H
740 # include <sys/stat.h>
746 # ifdef HAVE_STDLIB_H
751 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
756 #ifdef HAVE_STRINGS_H
757 # include <strings.h>
759 #ifdef HAVE_INTTYPES_H
760 # include <inttypes.h>
778 program_transform_name
819 INSTALL_STRIP_PROGRAM
882 ac_precious_vars
='build_alias
902 # Initialize some variables set by options.
904 ac_init_version
=false
905 # The variables have the same names as the options, with
906 # dashes changed to underlines.
914 program_transform_name
=s
,x
,x
,
922 # Installation directory options.
923 # These are left unexpanded so users can "make install exec_prefix=/foo"
924 # and all the variables that are supposed to be based on exec_prefix
925 # by default will actually change.
926 # Use braces instead of parens because sh, perl, etc. also accept them.
927 # (The list follows the same order as the GNU Coding Standards.)
928 bindir
='${exec_prefix}/bin'
929 sbindir
='${exec_prefix}/sbin'
930 libexecdir
='${exec_prefix}/libexec'
931 datarootdir
='${prefix}/share'
932 datadir
='${datarootdir}'
933 sysconfdir
='${prefix}/etc'
934 sharedstatedir
='${prefix}/com'
935 localstatedir
='${prefix}/var'
936 includedir
='${prefix}/include'
937 oldincludedir
='/usr/include'
938 docdir
='${datarootdir}/doc/${PACKAGE}'
939 infodir
='${datarootdir}/info'
944 libdir
='${exec_prefix}/lib'
945 localedir
='${datarootdir}/locale'
946 mandir
='${datarootdir}/man'
952 # If the previous option needs an argument, assign it.
953 if test -n "$ac_prev"; then
954 eval $ac_prev=\
$ac_option
960 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 # Accept the important Cygnus configure options, so we can diagnose typos.
966 case $ac_dashdash$ac_option in
970 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
972 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
975 -build |
--build |
--buil |
--bui |
--bu)
976 ac_prev
=build_alias
;;
977 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
978 build_alias
=$ac_optarg ;;
980 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
981 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
982 ac_prev
=cache_file
;;
983 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
984 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
985 cache_file
=$ac_optarg ;;
988 cache_file
=config.cache
;;
990 -datadir |
--datadir |
--datadi |
--datad)
992 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
993 datadir
=$ac_optarg ;;
995 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
996 |
--dataroo |
--dataro |
--datar)
997 ac_prev
=datarootdir
;;
998 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
999 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1000 datarootdir
=$ac_optarg ;;
1002 -disable-* |
--disable-*)
1003 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1006 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1007 { (exit 1); exit 1; }; }
1008 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1009 eval enable_
$ac_feature=no
;;
1011 -docdir |
--docdir |
--docdi |
--doc |
--do)
1013 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1014 docdir
=$ac_optarg ;;
1016 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1018 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1019 dvidir
=$ac_optarg ;;
1021 -enable-* |
--enable-*)
1022 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1025 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1026 { (exit 1); exit 1; }; }
1027 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1028 eval enable_
$ac_feature=\
$ac_optarg ;;
1030 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1031 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1032 |
--exec |
--exe |
--ex)
1033 ac_prev
=exec_prefix
;;
1034 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1035 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1036 |
--exec=* |
--exe=* |
--ex=*)
1037 exec_prefix
=$ac_optarg ;;
1039 -gas |
--gas |
--ga |
--g)
1040 # Obsolete; use --with-gas.
1043 -help |
--help |
--hel |
--he |
-h)
1044 ac_init_help
=long
;;
1045 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1046 ac_init_help
=recursive
;;
1047 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1048 ac_init_help
=short
;;
1050 -host |
--host |
--hos |
--ho)
1051 ac_prev
=host_alias
;;
1052 -host=* |
--host=* |
--hos=* |
--ho=*)
1053 host_alias
=$ac_optarg ;;
1055 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1057 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1059 htmldir
=$ac_optarg ;;
1061 -includedir |
--includedir |
--includedi |
--included |
--include \
1062 |
--includ |
--inclu |
--incl |
--inc)
1063 ac_prev
=includedir
;;
1064 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1065 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1066 includedir
=$ac_optarg ;;
1068 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1070 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1071 infodir
=$ac_optarg ;;
1073 -libdir |
--libdir |
--libdi |
--libd)
1075 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1076 libdir
=$ac_optarg ;;
1078 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1079 |
--libexe |
--libex |
--libe)
1080 ac_prev
=libexecdir
;;
1081 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1082 |
--libexe=* |
--libex=* |
--libe=*)
1083 libexecdir
=$ac_optarg ;;
1085 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1086 ac_prev
=localedir
;;
1087 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1088 localedir
=$ac_optarg ;;
1090 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1091 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1092 ac_prev
=localstatedir
;;
1093 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1094 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1095 localstatedir
=$ac_optarg ;;
1097 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1099 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1100 mandir
=$ac_optarg ;;
1102 -nfp |
--nfp |
--nf)
1103 # Obsolete; use --without-fp.
1106 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1107 |
--no-cr |
--no-c |
-n)
1110 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1111 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1114 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1115 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1116 |
--oldin |
--oldi |
--old |
--ol |
--o)
1117 ac_prev
=oldincludedir
;;
1118 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1119 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1120 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1121 oldincludedir
=$ac_optarg ;;
1123 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1125 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1126 prefix
=$ac_optarg ;;
1128 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1129 |
--program-pre |
--program-pr |
--program-p)
1130 ac_prev
=program_prefix
;;
1131 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1132 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1133 program_prefix
=$ac_optarg ;;
1135 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1136 |
--program-suf |
--program-su |
--program-s)
1137 ac_prev
=program_suffix
;;
1138 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1139 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1140 program_suffix
=$ac_optarg ;;
1142 -program-transform-name |
--program-transform-name \
1143 |
--program-transform-nam |
--program-transform-na \
1144 |
--program-transform-n |
--program-transform- \
1145 |
--program-transform |
--program-transfor \
1146 |
--program-transfo |
--program-transf \
1147 |
--program-trans |
--program-tran \
1148 |
--progr-tra |
--program-tr |
--program-t)
1149 ac_prev
=program_transform_name
;;
1150 -program-transform-name=* |
--program-transform-name=* \
1151 |
--program-transform-nam=* |
--program-transform-na=* \
1152 |
--program-transform-n=* |
--program-transform-=* \
1153 |
--program-transform=* |
--program-transfor=* \
1154 |
--program-transfo=* |
--program-transf=* \
1155 |
--program-trans=* |
--program-tran=* \
1156 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1157 program_transform_name
=$ac_optarg ;;
1159 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1161 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1162 pdfdir
=$ac_optarg ;;
1164 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1166 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1169 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1170 |
-silent |
--silent |
--silen |
--sile |
--sil)
1173 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1175 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1177 sbindir
=$ac_optarg ;;
1179 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1180 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1181 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1183 ac_prev
=sharedstatedir
;;
1184 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1185 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1186 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1188 sharedstatedir
=$ac_optarg ;;
1190 -site |
--site |
--sit)
1192 -site=* |
--site=* |
--sit=*)
1195 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1197 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1198 srcdir
=$ac_optarg ;;
1200 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1201 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1202 ac_prev
=sysconfdir
;;
1203 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1204 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1205 sysconfdir
=$ac_optarg ;;
1207 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1208 ac_prev
=target_alias
;;
1209 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1210 target_alias
=$ac_optarg ;;
1212 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1215 -version |
--version |
--versio |
--versi |
--vers |
-V)
1216 ac_init_version
=: ;;
1219 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1222 { echo "$as_me: error: invalid package name: $ac_package" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1225 eval with_
$ac_package=\
$ac_optarg ;;
1227 -without-* |
--without-*)
1228 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1231 { echo "$as_me: error: invalid package name: $ac_package" >&2
1232 { (exit 1); exit 1; }; }
1233 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1234 eval with_
$ac_package=no
;;
1237 # Obsolete; use --with-x.
1240 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1241 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1242 ac_prev
=x_includes
;;
1243 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1244 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1245 x_includes
=$ac_optarg ;;
1247 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1248 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1249 ac_prev
=x_libraries
;;
1250 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1251 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1252 x_libraries
=$ac_optarg ;;
1254 -*) { echo "$as_me: error: unrecognized option: $ac_option
1255 Try \`$0 --help' for more information." >&2
1256 { (exit 1); exit 1; }; }
1260 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1261 # Reject names that are not valid shell variable names.
1262 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1263 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1264 { (exit 1); exit 1; }; }
1265 eval $ac_envvar=\
$ac_optarg
1266 export $ac_envvar ;;
1269 # FIXME: should be removed in autoconf 3.0.
1270 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1271 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1272 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1273 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1279 if test -n "$ac_prev"; then
1280 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1281 { echo "$as_me: error: missing argument to $ac_option" >&2
1282 { (exit 1); exit 1; }; }
1285 # Be sure to have absolute directory names.
1286 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1287 datadir sysconfdir sharedstatedir localstatedir includedir \
1288 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1289 libdir localedir mandir
1291 eval ac_val
=\$
$ac_var
1293 [\\/$
]* | ?
:[\\/]* ) continue;;
1294 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1296 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1297 { (exit 1); exit 1; }; }
1300 # There might be people who depend on the old broken behavior: `$host'
1301 # used to hold the argument of --host etc.
1302 # FIXME: To remove some day.
1305 target
=$target_alias
1307 # FIXME: To remove some day.
1308 if test "x$host_alias" != x
; then
1309 if test "x$build_alias" = x
; then
1310 cross_compiling
=maybe
1311 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1312 If a cross compiler is detected then cross compile mode will be used." >&2
1313 elif test "x$build_alias" != "x$host_alias"; then
1319 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1321 test "$silent" = yes && exec 6>/dev
/null
1324 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di
=`ls -di .` &&
1326 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1327 { echo "$as_me: error: Working directory cannot be determined" >&2
1328 { (exit 1); exit 1; }; }
1329 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1330 { echo "$as_me: error: pwd does not report name of working directory" >&2
1331 { (exit 1); exit 1; }; }
1334 # Find the source files, if location was not specified.
1335 if test -z "$srcdir"; then
1336 ac_srcdir_defaulted
=yes
1337 # Try the directory containing this script, then the parent directory.
1338 ac_confdir
=`$as_dirname -- "$0" ||
1339 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1340 X"$0" : 'X\(//\)[^/]' \| \
1341 X"$0" : 'X\(//\)$' \| \
1342 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1366 ac_srcdir_defaulted
=no
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1369 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1370 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1371 { (exit 1); exit 1; }; }
1373 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1375 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1376 { (exit 1); exit 1; }; }
1378 # When building in place, set srcdir=.
1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
1382 # Remove unnecessary trailing slashes from srcdir.
1383 # Double slashes in file names in object file debugging info
1384 # mess up M-x gdb in Emacs.
1386 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 for ac_var
in $ac_precious_vars; do
1389 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1390 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1391 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1392 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1396 # Report the --help message.
1398 if test "$ac_init_help" = "long"; then
1399 # Omit some internal or obsolete options to make the list less imposing.
1400 # This message is too long to be a string in the A/UX 3.1 sh.
1402 \`configure' configures this package to adapt to many kinds of systems.
1404 Usage: $0 [OPTION]... [VAR=VALUE]...
1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407 VAR=VALUE. See below for descriptions of some of the useful variables.
1409 Defaults for the options are specified in brackets.
1412 -h, --help display this help and exit
1413 --help=short display options specific to this package
1414 --help=recursive display the short help of all the included packages
1415 -V, --version display version information and exit
1416 -q, --quiet, --silent do not print \`checking...' messages
1417 --cache-file=FILE cache test results in FILE [disabled]
1418 -C, --config-cache alias for \`--cache-file=config.cache'
1419 -n, --no-create do not create output files
1420 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1422 Installation directories:
1423 --prefix=PREFIX install architecture-independent files in PREFIX
1424 [$ac_default_prefix]
1425 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1428 By default, \`make install' will install all the files in
1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431 for instance \`--prefix=\$HOME'.
1433 For better control, use the options below.
1435 Fine tuning of the installation directories:
1436 --bindir=DIR user executables [EPREFIX/bin]
1437 --sbindir=DIR system admin executables [EPREFIX/sbin]
1438 --libexecdir=DIR program executables [EPREFIX/libexec]
1439 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1440 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1441 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1442 --libdir=DIR object code libraries [EPREFIX/lib]
1443 --includedir=DIR C header files [PREFIX/include]
1444 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1445 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1446 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1447 --infodir=DIR info documentation [DATAROOTDIR/info]
1448 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1449 --mandir=DIR man documentation [DATAROOTDIR/man]
1450 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1451 --htmldir=DIR html documentation [DOCDIR]
1452 --dvidir=DIR dvi documentation [DOCDIR]
1453 --pdfdir=DIR pdf documentation [DOCDIR]
1454 --psdir=DIR ps documentation [DOCDIR]
1460 --program-prefix=PREFIX prepend PREFIX to installed program names
1461 --program-suffix=SUFFIX append SUFFIX to installed program names
1462 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1465 --build=BUILD configure
for building on BUILD
[guessed
]
1466 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1470 if test -n "$ac_init_help"; then
1475 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1476 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1477 --enable-static[=PKGS
] build static libraries
[default
=no
]
1478 --disable-dependency-tracking speeds up one-time build
1479 --enable-dependency-tracking do not reject slow dependency extractors
1480 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1481 --enable-fast-install[=PKGS
]
1482 optimize
for fast installation
[default
=yes]
1483 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1484 --enable-debug compile with debugging support
1485 --enable-static-sipe statically link
in Simple Exchange
1488 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1489 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1490 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1491 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1493 --with-tags[=TAGS
] include additional configurations
[automatic
]
1495 Some influential environment variables
:
1496 CC C compiler
command
1497 CFLAGS C compiler flags
1498 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1499 nonstandard directory
<lib dir
>
1500 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1501 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1502 you have headers
in a nonstandard directory
<include dir
>
1504 CXX C
++ compiler
command
1505 CXXFLAGS C
++ compiler flags
1506 CXXCPP C
++ preprocessor
1507 F77 Fortran
77 compiler
command
1508 FFLAGS Fortran
77 compiler flags
1509 PKG_CONFIG path to pkg-config utility
1511 C compiler flags
for libpurple
, overriding pkg-config
1513 linker flags
for libpurple
, overriding pkg-config
1515 Use these variables to override the choices made by
`configure' or to help
1516 it to find libraries and programs with nonstandard names/locations.
1522 if test "$ac_init_help" = "recursive"; then
1523 # If there are subdirs, report their specific --help.
1524 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1525 test -d "$ac_dir" || continue
1529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1532 # A ".." for each directory in $ac_dir_suffix.
1533 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1534 case $ac_top_builddir_sub in
1535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1539 ac_abs_top_builddir=$ac_pwd
1540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1541 # for backward compatibility:
1542 ac_top_builddir=$ac_top_build_prefix
1545 .) # We are building in place.
1547 ac_top_srcdir=$ac_top_builddir_sub
1548 ac_abs_top_srcdir=$ac_pwd ;;
1549 [\\/]* | ?:[\\/]* ) # Absolute name.
1550 ac_srcdir=$srcdir$ac_dir_suffix;
1551 ac_top_srcdir=$srcdir
1552 ac_abs_top_srcdir=$srcdir ;;
1554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1555 ac_top_srcdir=$ac_top_build_prefix$srcdir
1556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1560 cd "$ac_dir" || { ac_status=$?; continue; }
1561 # Check for guested configure.
1562 if test -f "$ac_srcdir/configure.gnu"; then
1564 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1565 elif test -f "$ac_srcdir/configure"; then
1567 $SHELL "$ac_srcdir/configure" --help=recursive
1569 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1571 cd "$ac_pwd" || { ac_status=$?; break; }
1575 test -n "$ac_init_help" && exit $ac_status
1576 if $ac_init_version; then
1579 generated by GNU Autoconf 2.61
1581 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1582 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1583 This configure script is free software; the Free Software Foundation
1584 gives unlimited permission to copy, distribute and modify it.
1588 cat >config.log <<_ACEOF
1589 This file contains any messages produced by compilers while
1590 running configure, to aid debugging if configure makes a mistake.
1592 It was created by $as_me, which was
1593 generated by GNU Autoconf 2.61. Invocation command line was
1605 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1606 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1607 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1608 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1609 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1611 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1612 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1614 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1615 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1616 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1617 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1618 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1619 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1620 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1628 test -z "$as_dir" && as_dir=.
1629 echo "PATH: $as_dir"
1645 # Keep a trace of the command line.
1646 # Strip out --no-create and --no-recursion so they do not pile up.
1647 # Strip out --silent because we don't want to record it for future runs.
1648 # Also quote any args containing shell meta-characters.
1649 # Make two passes to allow for proper duplicate-argument suppression.
1653 ac_must_keep_next=false
1659 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1660 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1661 | -silent | --silent | --silen | --sile | --sil)
1664 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1667 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1669 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1670 if test $ac_must_keep_next = true; then
1671 ac_must_keep_next=false # Got value, back to normal.
1674 *=* | --config-cache | -C | -disable-* | --disable-* \
1675 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1676 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1677 | -with-* | --with-* | -without-* | --without-* | --x)
1678 case "$ac_configure_args0 " in
1679 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1682 -* ) ac_must_keep_next=true ;;
1685 ac_configure_args="$ac_configure_args '$ac_arg'"
1690 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1691 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1693 # When interrupted or exit'd, cleanup temporary files, and complete
1694 # config.log. We remove comments because anyway the quotes in there
1695 # would cause problems or look ugly.
1696 # WARNING: Use '\'' to represent an apostrophe within the trap.
1697 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1698 trap 'exit_status=$?
1699 # Save into config.log some information that might help in debugging.
1704 ## ---------------- ##
1705 ## Cache variables. ##
1706 ## ---------------- ##
1709 # The following way of writing the cache mishandles newlines in values,
1711 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1712 eval ac_val=\$$ac_var
1716 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1717 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1720 _ | IFS | as_nl) ;; #(
1721 *) $as_unset $ac_var ;;
1726 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1727 *${as_nl}ac_space=\ *)
1729 "s/'\''/'\''\\\\'\'''\''/g;
1730 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1733 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1741 ## ----------------- ##
1742 ## Output variables. ##
1743 ## ----------------- ##
1746 for ac_var in $ac_subst_vars
1748 eval ac_val=\$$ac_var
1750 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1752 echo "$ac_var='\''$ac_val'\''"
1756 if test -n "$ac_subst_files"; then
1758 ## ------------------- ##
1759 ## File substitutions. ##
1760 ## ------------------- ##
1763 for ac_var in $ac_subst_files
1765 eval ac_val=\$$ac_var
1767 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1769 echo "$ac_var='\''$ac_val'\''"
1774 if test -s confdefs.h; then
1784 test "$ac_signal" != 0 &&
1785 echo "$as_me: caught signal $ac_signal"
1786 echo "$as_me: exit $exit_status"
1788 rm -f core *.core core.conftest.* &&
1789 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1792 for ac_signal in 1 2 13 15; do
1793 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1797 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1798 rm -f -r conftest* confdefs.h
1800 # Predefined preprocessor variables.
1802 cat >>confdefs.h <<_ACEOF
1803 #define PACKAGE_NAME "$PACKAGE_NAME"
1807 cat >>confdefs.h <<_ACEOF
1808 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1812 cat >>confdefs.h <<_ACEOF
1813 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1817 cat >>confdefs.h <<_ACEOF
1818 #define PACKAGE_STRING "$PACKAGE_STRING"
1822 cat >>confdefs.h <<_ACEOF
1823 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1827 # Let the site file select an alternate cache file if it wants to.
1828 # Prefer explicitly selected file to automatically selected ones.
1829 if test -n "$CONFIG_SITE"; then
1830 set x "$CONFIG_SITE"
1831 elif test "x$prefix" != xNONE; then
1832 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1834 set x "$ac_default_prefix/share/config.site" \
1835 "$ac_default_prefix/etc/config.site"
1840 if test -r "$ac_site_file"; then
1841 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1842 echo "$as_me: loading site script $ac_site_file" >&6;}
1843 sed 's/^/| /' "$ac_site_file" >&5
1848 if test -r "$cache_file"; then
1849 # Some versions of bash will fail to source /dev/null (special
1850 # files actually), so we avoid doing that.
1851 if test -f "$cache_file"; then
1852 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1853 echo "$as_me: loading cache $cache_file" >&6;}
1855 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1856 *) . "./$cache_file";;
1860 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1861 echo "$as_me: creating cache $cache_file" >&6;}
1865 # Check that the precious variables saved in the cache have kept the same
1867 ac_cache_corrupted=false
1868 for ac_var in $ac_precious_vars; do
1869 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1870 eval ac_new_set=\$ac_env_${ac_var}_set
1871 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1872 eval ac_new_val=\$ac_env_${ac_var}_value
1873 case $ac_old_set,$ac_new_set in
1875 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1876 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1877 ac_cache_corrupted=: ;;
1879 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1880 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1881 ac_cache_corrupted=: ;;
1884 if test "x$ac_old_val" != "x$ac_new_val"; then
1885 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1886 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1887 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1888 echo "$as_me: former value
: $ac_old_val" >&2;}
1889 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1890 echo "$as_me: current value
: $ac_new_val" >&2;}
1891 ac_cache_corrupted=:
1894 # Pass precious variables to config.status.
1895 if test "$ac_new_set" = set; then
1897 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1898 *) ac_arg=$ac_var=$ac_new_val ;;
1900 case " $ac_configure_args " in
1901 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1902 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1906 if $ac_cache_corrupted; then
1907 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1908 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1909 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1910 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1911 { (exit 1); exit 1; }; }
1931 ac_cpp='$CPP $CPPFLAGS'
1932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1937 am__api_version="1.9"
1939 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1940 if test -f "$ac_dir/install-sh"; then
1942 ac_install_sh="$ac_aux_dir/install-sh -c"
1944 elif test -f "$ac_dir/install.sh"; then
1946 ac_install_sh="$ac_aux_dir/install.sh -c"
1948 elif test -f "$ac_dir/shtool"; then
1950 ac_install_sh="$ac_aux_dir/shtool install -c"
1954 if test -z "$ac_aux_dir"; then
1955 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1956 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1957 { (exit 1); exit 1; }; }
1960 # These three variables are undocumented and unsupported,
1961 # and are intended to be withdrawn in a future Autoconf release.
1962 # They can cause serious problems if a builder's source tree is in a directory
1963 # whose full name contains unusual characters.
1964 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1965 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1966 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1969 # Find a good install program. We prefer a C program (faster),
1970 # so one script is as good as another. But avoid the broken or
1971 # incompatible versions:
1972 # SysV /etc/install, /usr/sbin/install
1973 # SunOS /usr/etc/install
1974 # IRIX /sbin/install
1976 # AmigaOS /C/install, which installs bootblocks on floppy discs
1977 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1978 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1979 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1980 # OS/2's system install, which has a completely different semantic
1981 # ./install, which can be erroneously created by make from ./install.sh.
1982 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1983 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1984 if test -z "$INSTALL"; then
1985 if test "${ac_cv_path_install+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1992 test -z "$as_dir" && as_dir=.
1993 # Account for people who put trailing slashes in PATH elements.
1995 ./ | .// | /cC/* | \
1996 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1997 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2000 # OSF1 and SCO ODT 3.0 have their own names for install.
2001 # Don't use installbsd from OSF since it installs stuff as root
2003 for ac_prog in ginstall scoinst install; do
2004 for ac_exec_ext in '' $ac_executable_extensions; do
2005 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2006 if test $ac_prog = install &&
2007 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2008 # AIX install. It has an incompatible calling convention.
2010 elif test $ac_prog = install &&
2011 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2012 # program-specific install script used by HP pwplus--don't use.
2015 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2028 if test "${ac_cv_path_install+set}" = set; then
2029 INSTALL=$ac_cv_path_install
2031 # As a last resort, use the slow shell script. Don't cache a
2032 # value for INSTALL within a source directory, because that will
2033 # break other packages using the cache if that directory is
2034 # removed, or if the value is a relative name.
2035 INSTALL=$ac_install_sh
2038 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2039 echo "${ECHO_T}$INSTALL" >&6; }
2041 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2042 # It thinks the first close brace ends the variable substitution.
2043 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2045 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2047 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2049 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2050 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2053 echo timestamp > conftest.file
2054 # Do `set' in a subshell so we don't clobber the current shell
's
2055 # arguments. Must try -L first in case configure is actually a
2056 # symlink; some systems play weird games with the mod time of symlinks
2057 # (eg FreeBSD returns the mod time of the symlink's containing
2060 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2061 if test "$*" = "X"; then
2063 set X
`ls -t $srcdir/configure conftest.file`
2066 if test "$*" != "X $srcdir/configure conftest.file" \
2067 && test "$*" != "X conftest.file $srcdir/configure"; then
2069 # If neither matched, then we have a broken ls. This can happen
2070 # if, for instance, CONFIG_SHELL is bash and it inherits a
2071 # broken ls alias from the environment. This has actually
2072 # happened. Such a system could not be considered "sane".
2073 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2074 alias in your environment" >&5
2075 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2076 alias in your environment" >&2;}
2077 { (exit 1); exit 1; }; }
2080 test "$2" = conftest.
file
2086 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2087 Check your system clock" >&5
2088 echo "$as_me: error: newly created file is older than distributed files!
2089 Check your system clock" >&2;}
2090 { (exit 1); exit 1; }; }
2092 { echo "$as_me:$LINENO: result: yes" >&5
2093 echo "${ECHO_T}yes" >&6; }
2094 test "$program_prefix" != NONE
&&
2095 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2096 # Use a double $ so make ignores it.
2097 test "$program_suffix" != NONE
&&
2098 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2099 # Double any \ or $. echo might interpret backslashes.
2100 # By default was `s,x,x', remove it if useless.
2101 cat <<\_ACEOF
>conftest.
sed
2102 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2104 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2107 # expand $ac_aux_dir to an absolute path
2108 am_aux_dir
=`cd $ac_aux_dir && pwd`
2110 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2111 # Use eval to expand $SHELL
2112 if eval "$MISSING --run true"; then
2113 am_missing_run
="$MISSING --run "
2116 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2117 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2120 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2121 # We used to keeping the `.' as first argument, in order to
2122 # allow $(mkdir_p) to be used without argument. As in
2123 # $(mkdir_p) $(somedir)
2124 # where $(somedir) is conditionally defined. However this is wrong
2126 # 1. if the package is installed by a user who cannot write `.'
2127 # make install will fail,
2128 # 2. the above comment should most certainly read
2129 # $(mkdir_p) $(DESTDIR)$(somedir)
2130 # so it does not work when $(somedir) is undefined and
2131 # $(DESTDIR) is not.
2132 # To support the latter case, we have to write
2133 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2134 # so the `.' trick is pointless.
2135 mkdir_p
='mkdir -p --'
2137 # On NextStep and OpenStep, the `mkdir' command does not
2138 # recognize any option. It will interpret all options as
2139 # directories to create, and then abort because `.' already
2141 for d
in .
/-p .
/--version;
2143 test -d $d && rmdir $d
2145 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2146 if test -f "$ac_aux_dir/mkinstalldirs"; then
2147 mkdir_p
='$(mkinstalldirs)'
2149 mkdir_p
='$(install_sh) -d'
2153 for ac_prog
in gawk mawk nawk
awk
2155 # Extract the first word of "$ac_prog", so it can be a program name with args.
2156 set dummy
$ac_prog; ac_word
=$2
2157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2159 if test "${ac_cv_prog_AWK+set}" = set; then
2160 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 if test -n "$AWK"; then
2163 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2169 test -z "$as_dir" && as_dir
=.
2170 for ac_exec_ext
in '' $ac_executable_extensions; do
2171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2172 ac_cv_prog_AWK
="$ac_prog"
2173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 if test -n "$AWK"; then
2184 { echo "$as_me:$LINENO: result: $AWK" >&5
2185 echo "${ECHO_T}$AWK" >&6; }
2187 { echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6; }
2192 test -n "$AWK" && break
2195 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2196 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2197 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2198 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2199 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 cat >conftest.
make <<\_ACEOF
2204 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2206 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2207 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2209 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2211 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2215 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2216 { echo "$as_me:$LINENO: result: yes" >&5
2217 echo "${ECHO_T}yes" >&6; }
2220 { echo "$as_me:$LINENO: result: no" >&5
2221 echo "${ECHO_T}no" >&6; }
2222 SET_MAKE
="MAKE=${MAKE-make}"
2225 rm -rf .tst
2>/dev
/null
2226 mkdir .tst
2>/dev
/null
2227 if test -d .tst
; then
2232 rmdir .tst
2>/dev
/null
2234 # test to see if srcdir already configured
2235 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2236 test -f $srcdir/config.status
; then
2237 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2238 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2239 { (exit 1); exit 1; }; }
2242 # test whether we have cygpath
2243 if test -z "$CYGPATH_W"; then
2244 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2245 CYGPATH_W
='cygpath -w'
2252 # Define the identity of the package.
2257 cat >>confdefs.h
<<_ACEOF
2258 #define PACKAGE "$PACKAGE"
2262 cat >>confdefs.h
<<_ACEOF
2263 #define VERSION "$VERSION"
2266 # Some tools Automake needs.
2268 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2271 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2274 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2277 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2280 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2282 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2284 # Installed binaries are usually stripped using `strip' when the user
2285 # run `make install-strip'. However `strip' might not be the right
2286 # tool to use in cross-compilation environments, therefore Automake
2287 # will honor the `STRIP' environment variable to overrule this program.
2288 if test "$cross_compiling" != no
; then
2289 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2291 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2294 if test "${ac_cv_prog_STRIP+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$STRIP"; then
2298 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir
=.
2305 for ac_exec_ext
in '' $ac_executable_extensions; do
2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 STRIP
=$ac_cv_prog_STRIP
2318 if test -n "$STRIP"; then
2319 { echo "$as_me:$LINENO: result: $STRIP" >&5
2320 echo "${ECHO_T}$STRIP" >&6; }
2322 { echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6; }
2328 if test -z "$ac_cv_prog_STRIP"; then
2330 # Extract the first word of "strip", so it can be a program name with args.
2331 set dummy strip
; ac_word
=$2
2332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2334 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2335 echo $ECHO_N "(cached) $ECHO_C" >&6
2337 if test -n "$ac_ct_STRIP"; then
2338 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir
=.
2345 for ac_exec_ext
in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 ac_cv_prog_ac_ct_STRIP
="strip"
2348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2358 if test -n "$ac_ct_STRIP"; then
2359 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2360 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2362 { echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6; }
2366 if test "x$ac_ct_STRIP" = x
; then
2369 case $cross_compiling:$ac_tool_warned in
2371 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2372 whose name does not start with the host triplet. If you think this
2373 configuration is useful to you, please write to autoconf@gnu.org." >&5
2374 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2375 whose name does not start with the host triplet. If you think this
2376 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2377 ac_tool_warned
=yes ;;
2382 STRIP
="$ac_cv_prog_STRIP"
2386 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2388 # We need awk for the "check" target. The system "awk" is bad on
2390 # Always define AMTAR for backward compatibility.
2392 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2394 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2403 # Check whether --enable-static was given.
2404 if test "${enable_static+set}" = set; then
2405 enableval
=$enable_static; p
=${PACKAGE-default}
2407 yes) enable_static
=yes ;;
2408 no
) enable_static
=no
;;
2411 # Look at the argument we got. We use all the common list separators.
2412 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2413 for pkg
in $enableval; do
2415 if test "X$pkg" = "X$p"; then
2430 ac_cpp
='$CPP $CPPFLAGS'
2431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2434 if test -n "$ac_tool_prefix"; then
2435 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2436 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2439 if test "${ac_cv_prog_CC+set}" = set; then
2440 echo $ECHO_N "(cached) $ECHO_C" >&6
2442 if test -n "$CC"; then
2443 ac_cv_prog_CC
="$CC" # Let the user override the test.
2445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2449 test -z "$as_dir" && as_dir
=.
2450 for ac_exec_ext
in '' $ac_executable_extensions; do
2451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2452 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 if test -n "$CC"; then
2464 { echo "$as_me:$LINENO: result: $CC" >&5
2465 echo "${ECHO_T}$CC" >&6; }
2467 { echo "$as_me:$LINENO: result: no" >&5
2468 echo "${ECHO_T}no" >&6; }
2473 if test -z "$ac_cv_prog_CC"; then
2475 # Extract the first word of "gcc", so it can be a program name with args.
2476 set dummy gcc
; ac_word
=$2
2477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2479 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 if test -n "$ac_ct_CC"; then
2483 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir
=.
2490 for ac_exec_ext
in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492 ac_cv_prog_ac_ct_CC
="gcc"
2493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2503 if test -n "$ac_ct_CC"; then
2504 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2505 echo "${ECHO_T}$ac_ct_CC" >&6; }
2507 { echo "$as_me:$LINENO: result: no" >&5
2508 echo "${ECHO_T}no" >&6; }
2511 if test "x$ac_ct_CC" = x
; then
2514 case $cross_compiling:$ac_tool_warned in
2516 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2517 whose name does not start with the host triplet. If you think this
2518 configuration is useful to you, please write to autoconf@gnu.org." >&5
2519 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2520 whose name does not start with the host triplet. If you think this
2521 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2522 ac_tool_warned
=yes ;;
2530 if test -z "$CC"; then
2531 if test -n "$ac_tool_prefix"; then
2532 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2533 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2536 if test "${ac_cv_prog_CC+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2539 if test -n "$CC"; then
2540 ac_cv_prog_CC
="$CC" # Let the user override the test.
2542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir
=.
2547 for ac_exec_ext
in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 if test -n "$CC"; then
2561 { echo "$as_me:$LINENO: result: $CC" >&5
2562 echo "${ECHO_T}$CC" >&6; }
2564 { echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6; }
2571 if test -z "$CC"; then
2572 # Extract the first word of "cc", so it can be a program name with args.
2573 set dummy cc
; ac_word
=$2
2574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2576 if test "${ac_cv_prog_CC+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 if test -n "$CC"; then
2580 ac_cv_prog_CC
="$CC" # Let the user override the test.
2583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir
=.
2588 for ac_exec_ext
in '' $ac_executable_extensions; do
2589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2590 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2591 ac_prog_rejected
=yes
2595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2602 if test $ac_prog_rejected = yes; then
2603 # We found a bogon in the path, so make sure we never use it.
2604 set dummy
$ac_cv_prog_CC
2606 if test $# != 0; then
2607 # We chose a different compiler from the bogus one.
2608 # However, it has the same basename, so the bogon will be chosen
2609 # first if we set CC to just the basename; use the full file name.
2611 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2617 if test -n "$CC"; then
2618 { echo "$as_me:$LINENO: result: $CC" >&5
2619 echo "${ECHO_T}$CC" >&6; }
2621 { echo "$as_me:$LINENO: result: no" >&5
2622 echo "${ECHO_T}no" >&6; }
2627 if test -z "$CC"; then
2628 if test -n "$ac_tool_prefix"; then
2629 for ac_prog
in cl.exe
2631 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2632 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2633 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2635 if test "${ac_cv_prog_CC+set}" = set; then
2636 echo $ECHO_N "(cached) $ECHO_C" >&6
2638 if test -n "$CC"; then
2639 ac_cv_prog_CC
="$CC" # Let the user override the test.
2641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2645 test -z "$as_dir" && as_dir
=.
2646 for ac_exec_ext
in '' $ac_executable_extensions; do
2647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2648 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 if test -n "$CC"; then
2660 { echo "$as_me:$LINENO: result: $CC" >&5
2661 echo "${ECHO_T}$CC" >&6; }
2663 { echo "$as_me:$LINENO: result: no" >&5
2664 echo "${ECHO_T}no" >&6; }
2668 test -n "$CC" && break
2671 if test -z "$CC"; then
2673 for ac_prog
in cl.exe
2675 # Extract the first word of "$ac_prog", so it can be a program name with args.
2676 set dummy
$ac_prog; ac_word
=$2
2677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2679 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 if test -n "$ac_ct_CC"; then
2683 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir
=.
2690 for ac_exec_ext
in '' $ac_executable_extensions; do
2691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2692 ac_cv_prog_ac_ct_CC
="$ac_prog"
2693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2703 if test -n "$ac_ct_CC"; then
2704 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2705 echo "${ECHO_T}$ac_ct_CC" >&6; }
2707 { echo "$as_me:$LINENO: result: no" >&5
2708 echo "${ECHO_T}no" >&6; }
2712 test -n "$ac_ct_CC" && break
2715 if test "x$ac_ct_CC" = x
; then
2718 case $cross_compiling:$ac_tool_warned in
2720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2721 whose name does not start with the host triplet. If you think this
2722 configuration is useful to you, please write to autoconf@gnu.org." >&5
2723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2724 whose name does not start with the host triplet. If you think this
2725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2726 ac_tool_warned
=yes ;;
2735 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2736 See \`config.log' for more details." >&5
2737 echo "$as_me: error: no acceptable C compiler found in \$PATH
2738 See \`config.log' for more details." >&2;}
2739 { (exit 1); exit 1; }; }
2741 # Provide some information about the compiler.
2742 echo "$as_me:$LINENO: checking for C compiler version" >&5
2743 ac_compiler
=`set X $ac_compile; echo $2`
2744 { (ac_try
="$ac_compiler --version >&5"
2746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2750 (eval "$ac_compiler --version >&5") 2>&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }
2754 { (ac_try="$ac_compiler -v >&5"
2756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2757 *) ac_try_echo
=$ac_try;;
2759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2760 (eval "$ac_compiler -v >&5") 2>&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }
2764 { (ac_try
="$ac_compiler -V >&5"
2766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;;
2769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2770 (eval "$ac_compiler -V >&5") 2>&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); }
2775 cat >conftest.$ac_ext <<_ACEOF
2778 cat confdefs.h >>conftest.$ac_ext
2779 cat >>conftest.$ac_ext <<_ACEOF
2780 /* end confdefs.h. */
2790 ac_clean_files_save=$ac_clean_files
2791 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2792 # Try to create an executable without -o first, disregard a.out.
2793 # It will help us diagnose broken compilers, and finding out an intuition
2795 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2796 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2797 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2799 # List of possible output files, starting from the most likely.
2800 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2801 # only as a last resort. b.out is created by i960 compilers.
2802 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2804 # The IRIX 6 linker writes into existing files which may not be
2805 # executable, retaining their permissions. Remove them first so a
2806 # subsequent execution test works.
2808 for ac_file in $ac_files
2811 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2812 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2817 if { (ac_try="$ac_link_default"
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2823 (eval "$ac_link_default") 2>&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }; then
2827 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2828 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2829 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2830 # so that the user can short-circuit this test for compilers unknown to
2832 for ac_file
in $ac_files ''
2834 test -f "$ac_file" ||
continue
2836 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2839 # We found the default executable, but exeext='' is most
2843 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2845 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2847 # We set ac_cv_exeext here because the later test for it is not
2848 # safe: cross compilers may not add the suffix if given an `-o'
2849 # argument, so we may need to know it at that point already.
2850 # Even if this section looks crufty: it has the advantage of
2857 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2863 { echo "$as_me:$LINENO: result: $ac_file" >&5
2864 echo "${ECHO_T}$ac_file" >&6; }
2865 if test -z "$ac_file"; then
2866 echo "$as_me: failed program was:" >&5
2867 sed 's/^/| /' conftest.
$ac_ext >&5
2869 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2870 See \`config.log' for more details." >&5
2871 echo "$as_me: error: C compiler cannot create executables
2872 See \`config.log' for more details." >&2;}
2873 { (exit 77); exit 77; }; }
2876 ac_exeext
=$ac_cv_exeext
2878 # Check that the compiler produces executables we can run. If not, either
2879 # the compiler is broken, or we cross compile.
2880 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2881 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2882 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2883 # If not cross compiling, check that we can run a simple program.
2884 if test "$cross_compiling" != yes; then
2885 if { ac_try
='./$ac_file'
2886 { (case "(($ac_try" in
2887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2891 (eval "$ac_try") 2>&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; }; then
2897 if test "$cross_compiling" = maybe; then
2900 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2901 If you meant to cross compile, use \`--host'.
2902 See \`config.log' for more details.
" >&5
2903 echo "$as_me: error
: cannot run C compiled programs.
2904 If you meant to cross compile
, use \
`--host'.
2905 See \`config.log
' for more details." >&2;}
2906 { (exit 1); exit 1; }; }
2910 { echo "$as_me:$LINENO: result: yes" >&5
2911 echo "${ECHO_T}yes" >&6; }
2913 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2914 ac_clean_files=$ac_clean_files_save
2915 # Check that the compiler produces executables we can run. If not, either
2916 # the compiler is broken, or we cross compile.
2917 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2918 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2919 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2920 echo "${ECHO_T}$cross_compiling" >&6; }
2922 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2923 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2924 if { (ac_try="$ac_link"
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930 (eval "$ac_link") 2>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; then
2934 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2935 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2936 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2938 for ac_file
in conftest.exe conftest conftest.
*; do
2939 test -f "$ac_file" ||
continue
2941 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2942 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2948 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2949 See \`config.log' for more details." >&5
2950 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2951 See \`config.log' for more details." >&2;}
2952 { (exit 1); exit 1; }; }
2955 rm -f conftest
$ac_cv_exeext
2956 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2957 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2959 rm -f conftest.
$ac_ext
2960 EXEEXT
=$ac_cv_exeext
2962 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2963 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2964 if test "${ac_cv_objext+set}" = set; then
2965 echo $ECHO_N "(cached) $ECHO_C" >&6
2967 cat >conftest.
$ac_ext <<_ACEOF
2970 cat confdefs.h
>>conftest.
$ac_ext
2971 cat >>conftest.
$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2982 rm -f conftest.o conftest.obj
2983 if { (ac_try
="$ac_compile"
2985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2989 (eval "$ac_compile") 2>&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; then
2993 for ac_file in conftest.o conftest.obj conftest.*; do
2994 test -f "$ac_file" || continue;
2996 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2997 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3002 echo "$as_me: failed program was:" >&5
3003 sed 's/^/| /' conftest.$ac_ext >&5
3005 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3006 See \`config.log
' for more details." >&5
3007 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3008 See \`config.log' for more details.
" >&2;}
3009 { (exit 1); exit 1; }; }
3012 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3014 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3015 echo "${ECHO_T}$ac_cv_objext" >&6; }
3016 OBJEXT=$ac_cv_objext
3018 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3019 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3020 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3021 echo $ECHO_N "(cached
) $ECHO_C" >&6
3023 cat >conftest.$ac_ext <<_ACEOF
3026 cat confdefs.h >>conftest.$ac_ext
3027 cat >>conftest.$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3041 rm -f conftest.$ac_objext
3042 if { (ac_try="$ac_compile"
3044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3045 *) ac_try_echo=$ac_try;;
3047 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3048 (eval "$ac_compile") 2>conftest.er1
3050 grep -v '^ *+' conftest.er1 >conftest.err
3052 cat conftest.err >&5
3053 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3054 (exit $ac_status); } && {
3055 test -z "$ac_c_werror_flag" ||
3056 test ! -s conftest.err
3057 } && test -s conftest.$ac_objext; then
3060 echo "$as_me: failed program was
:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3067 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3070 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3071 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3072 GCC=`test $ac_compiler_gnu = yes && echo yes`
3073 ac_test_CFLAGS=${CFLAGS+set}
3074 ac_save_CFLAGS=$CFLAGS
3075 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3076 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3077 if test "${ac_cv_prog_cc_g+set}" = set; then
3078 echo $ECHO_N "(cached
) $ECHO_C" >&6
3080 ac_save_c_werror_flag=$ac_c_werror_flag
3081 ac_c_werror_flag=yes
3084 cat >conftest.$ac_ext <<_ACEOF
3087 cat confdefs.h >>conftest.$ac_ext
3088 cat >>conftest.$ac_ext <<_ACEOF
3089 /* end confdefs.h. */
3099 rm -f conftest.$ac_objext
3100 if { (ac_try="$ac_compile"
3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3105 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3106 (eval "$ac_compile") 2>conftest.er1
3108 grep -v '^ *+' conftest.er1 >conftest.err
3110 cat conftest.err >&5
3111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3112 (exit $ac_status); } && {
3113 test -z "$ac_c_werror_flag" ||
3114 test ! -s conftest.err
3115 } && test -s conftest.$ac_objext; then
3118 echo "$as_me: failed program was
:" >&5
3119 sed 's/^/| /' conftest.$ac_ext >&5
3122 cat >conftest.$ac_ext <<_ACEOF
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3137 rm -f conftest.$ac_objext
3138 if { (ac_try="$ac_compile"
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3144 (eval "$ac_compile") 2>conftest.er1
3146 grep -v '^ *+' conftest.er1 >conftest.err
3148 cat conftest.err >&5
3149 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3150 (exit $ac_status); } && {
3151 test -z "$ac_c_werror_flag" ||
3152 test ! -s conftest.err
3153 } && test -s conftest.$ac_objext; then
3156 echo "$as_me: failed program was
:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3159 ac_c_werror_flag=$ac_save_c_werror_flag
3161 cat >conftest.$ac_ext <<_ACEOF
3164 cat confdefs.h >>conftest.$ac_ext
3165 cat >>conftest.$ac_ext <<_ACEOF
3166 /* end confdefs.h. */
3176 rm -f conftest.$ac_objext
3177 if { (ac_try="$ac_compile"
3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3183 (eval "$ac_compile") 2>conftest.er1
3185 grep -v '^ *+' conftest.er1 >conftest.err
3187 cat conftest.err >&5
3188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3189 (exit $ac_status); } && {
3190 test -z "$ac_c_werror_flag" ||
3191 test ! -s conftest.err
3192 } && test -s conftest.$ac_objext; then
3195 echo "$as_me: failed program was
:" >&5
3196 sed 's/^/| /' conftest.$ac_ext >&5
3201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3208 ac_c_werror_flag=$ac_save_c_werror_flag
3210 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3211 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3212 if test "$ac_test_CFLAGS" = set; then
3213 CFLAGS=$ac_save_CFLAGS
3214 elif test $ac_cv_prog_cc_g = yes; then
3215 if test "$GCC" = yes; then
3221 if test "$GCC" = yes; then
3227 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3228 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3229 if test "${ac_cv_prog_cc_c89+set}" = set; then
3230 echo $ECHO_N "(cached
) $ECHO_C" >&6
3232 ac_cv_prog_cc_c89=no
3234 cat >conftest.$ac_ext <<_ACEOF
3237 cat confdefs.h >>conftest.$ac_ext
3238 cat >>conftest.$ac_ext <<_ACEOF
3239 /* end confdefs.h. */
3242 #include <sys/types.h>
3243 #include <sys/stat.h>
3244 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3245 struct buf { int x; };
3246 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3247 static char *e (p, i)
3253 static char *f (char * (*g) (char **, int), char **p, ...)
3258 s = g (p, va_arg (v,int));
3263 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3264 function prototypes and stuff, but not '\xHH' hex character constants.
3265 These don't provoke an error unfortunately, instead are silently treated
3266 as 'x'. The following induces an error, until -std is added to get
3267 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3268 array size at least. It's necessary to write '\x00'==0 to get something
3269 that's true only with -std. */
3270 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3272 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3273 inside strings and character constants. */
3275 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3277 int test (int i, double x);
3278 struct s1 {int (*f) (int a);};
3279 struct s2 {int (*f) (double a);};
3280 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3286 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3291 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3292 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3294 CC="$ac_save_CC $ac_arg"
3295 rm -f conftest.$ac_objext
3296 if { (ac_try="$ac_compile"
3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3299 *) ac_try_echo=$ac_try;;
3301 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3302 (eval "$ac_compile") 2>conftest.er1
3304 grep -v '^ *+' conftest.er1 >conftest.err
3306 cat conftest.err >&5
3307 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3308 (exit $ac_status); } && {
3309 test -z "$ac_c_werror_flag" ||
3310 test ! -s conftest.err
3311 } && test -s conftest.$ac_objext; then
3312 ac_cv_prog_cc_c89=$ac_arg
3314 echo "$as_me: failed program was
:" >&5
3315 sed 's/^/| /' conftest.$ac_ext >&5
3320 rm -f core conftest.err conftest.$ac_objext
3321 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3323 rm -f conftest.$ac_ext
3328 case "x
$ac_cv_prog_cc_c89" in
3330 { echo "$as_me:$LINENO: result
: none needed
" >&5
3331 echo "${ECHO_T}none needed
" >&6; } ;;
3333 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3334 echo "${ECHO_T}unsupported
" >&6; } ;;
3336 CC="$CC $ac_cv_prog_cc_c89"
3337 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3338 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3343 ac_cpp='$CPP $CPPFLAGS'
3344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3347 DEPDIR="${am__leading_dot}deps
"
3349 ac_config_commands="$ac_config_commands depfiles
"
3352 am_make=${MAKE-make}
3353 cat > confinc << 'END'
3358 # If we don't find an include directive, just comment out the code.
3359 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3360 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3364 # First try GNU make style include.
3365 echo "include confinc" > confmf
3366 # We grep out `Entering directory' and `Leaving directory'
3367 # messages which can occur if `w' ends up in MAKEFLAGS.
3368 # In particular we don't look at `^make:' because GNU make might
3369 # be invoked under some other name (usually "gmake"), in which
3370 # case it prints its new name instead of `make'.
3371 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3376 # Now try BSD make style include.
3377 if test "$am__include" = "#"; then
3378 echo '.include "confinc"' > confmf
3379 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3380 am__include
=.include
3387 { echo "$as_me:$LINENO: result: $_am_result" >&5
3388 echo "${ECHO_T}$_am_result" >&6; }
3389 rm -f confinc confmf
3391 # Check whether --enable-dependency-tracking was given.
3392 if test "${enable_dependency_tracking+set}" = set; then
3393 enableval
=$enable_dependency_tracking;
3396 if test "x$enable_dependency_tracking" != xno
; then
3397 am_depcomp
="$ac_aux_dir/depcomp"
3402 if test "x$enable_dependency_tracking" != xno; then
3413 depcc
="$CC" am_compiler_list
=
3415 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3416 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3417 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3418 echo $ECHO_N "(cached) $ECHO_C" >&6
3420 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3421 # We make a subdir and do the tests there. Otherwise we can end up
3422 # making bogus files that we don't know about and never remove. For
3423 # instance it was reported that on HP-UX the gcc test will end up
3424 # making a dummy file named `D' -- because `-MD' means `put the output
3427 # Copy depcomp to subdir because otherwise we won't find it if we're
3428 # using a relative directory.
3429 cp "$am_depcomp" conftest.dir
3431 # We will build objects and dependencies in a subdirectory because
3432 # it helps to detect inapplicable dependency modes. For instance
3433 # both Tru64's cc and ICC support -MD to output dependencies as a
3434 # side effect of compilation, but ICC will put the dependencies in
3435 # the current directory while Tru64 will put them in the object
3439 am_cv_CC_dependencies_compiler_type
=none
3440 if test "$am_compiler_list" = ""; then
3441 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3443 for depmode
in $am_compiler_list; do
3444 # Setup a source with many dependencies, because some compilers
3445 # like to wrap large dependency lists on column 80 (with \), and
3446 # we should not choose a depcomp mode which is confused by this.
3448 # We need to recreate these files for each test, as the compiler may
3449 # overwrite some of them when testing with obscure command lines.
3450 # This happens at least with the AIX C compiler.
3452 for i
in 1 2 3 4 5 6; do
3453 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3454 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3455 # Solaris 8's {/usr,}/bin/sh.
3456 touch sub
/conftst
$i.h
3458 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3462 # after this tag, mechanisms are not by side-effect, so they'll
3463 # only be used when explicitly requested
3464 if test "x$enable_dependency_tracking" = xyes
; then
3472 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3473 # mode. It turns out that the SunPro C++ compiler does not properly
3474 # handle `-M -o', and we need to detect this.
3475 if depmode
=$depmode \
3476 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3477 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3478 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3479 >/dev
/null
2>conftest.err
&&
3480 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3481 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3482 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3483 # icc doesn't choke on unknown options, it will just issue warnings
3484 # or remarks (even with -Werror). So we grep stderr for any message
3485 # that says an option was ignored or not supported.
3486 # When given -MP, icc 7.0 and 7.1 complain thusly:
3487 # icc: Command line warning: ignoring option '-M'; no argument required
3488 # The diagnosis changed in icc 8.0:
3489 # icc: Command line remark: option '-MP' not supported
3490 if (grep 'ignoring option' conftest.err ||
3491 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3492 am_cv_CC_dependencies_compiler_type
=$depmode
3501 am_cv_CC_dependencies_compiler_type
=none
3505 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3506 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3507 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3512 test "x$enable_dependency_tracking" != xno \
3513 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3515 am__fastdepCC_FALSE
='#'
3517 am__fastdepCC_TRUE
='#'
3518 am__fastdepCC_FALSE
=
3522 # Find a good install program. We prefer a C program (faster),
3523 # so one script is as good as another. But avoid the broken or
3524 # incompatible versions:
3525 # SysV /etc/install, /usr/sbin/install
3526 # SunOS /usr/etc/install
3527 # IRIX /sbin/install
3529 # AmigaOS /C/install, which installs bootblocks on floppy discs
3530 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3531 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3532 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3533 # OS/2's system install, which has a completely different semantic
3534 # ./install, which can be erroneously created by make from ./install.sh.
3535 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3536 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3537 if test -z "$INSTALL"; then
3538 if test "${ac_cv_path_install+set}" = set; then
3539 echo $ECHO_N "(cached) $ECHO_C" >&6
3541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3545 test -z "$as_dir" && as_dir
=.
3546 # Account for people who put trailing slashes in PATH elements.
3548 .
/ | .
// |
/cC
/* | \
3549 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3550 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3553 # OSF1 and SCO ODT 3.0 have their own names for install.
3554 # Don't use installbsd from OSF since it installs stuff as root
3556 for ac_prog
in ginstall scoinst
install; do
3557 for ac_exec_ext
in '' $ac_executable_extensions; do
3558 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3559 if test $ac_prog = install &&
3560 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3561 # AIX install. It has an incompatible calling convention.
3563 elif test $ac_prog = install &&
3564 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3565 # program-specific install script used by HP pwplus--don't use.
3568 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3581 if test "${ac_cv_path_install+set}" = set; then
3582 INSTALL
=$ac_cv_path_install
3584 # As a last resort, use the slow shell script. Don't cache a
3585 # value for INSTALL within a source directory, because that will
3586 # break other packages using the cache if that directory is
3587 # removed, or if the value is a relative name.
3588 INSTALL
=$ac_install_sh
3591 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3592 echo "${ECHO_T}$INSTALL" >&6; }
3594 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3595 # It thinks the first close brace ends the variable substitution.
3596 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3598 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3600 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3602 # Check whether --enable-shared was given.
3603 if test "${enable_shared+set}" = set; then
3604 enableval
=$enable_shared; p
=${PACKAGE-default}
3606 yes) enable_shared
=yes ;;
3607 no
) enable_shared
=no
;;
3610 # Look at the argument we got. We use all the common list separators.
3611 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3612 for pkg
in $enableval; do
3614 if test "X$pkg" = "X$p"; then
3626 # Check whether --enable-fast-install was given.
3627 if test "${enable_fast_install+set}" = set; then
3628 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3630 yes) enable_fast_install
=yes ;;
3631 no
) enable_fast_install
=no
;;
3633 enable_fast_install
=no
3634 # Look at the argument we got. We use all the common list separators.
3635 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3636 for pkg
in $enableval; do
3638 if test "X$pkg" = "X$p"; then
3639 enable_fast_install
=yes
3646 enable_fast_install
=yes
3650 # Make sure we can run config.sub.
3651 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3652 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3653 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3654 { (exit 1); exit 1; }; }
3656 { echo "$as_me:$LINENO: checking build system type" >&5
3657 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3658 if test "${ac_cv_build+set}" = set; then
3659 echo $ECHO_N "(cached) $ECHO_C" >&6
3661 ac_build_alias
=$build_alias
3662 test "x$ac_build_alias" = x
&&
3663 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3664 test "x$ac_build_alias" = x
&&
3665 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3666 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3667 { (exit 1); exit 1; }; }
3668 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3669 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3670 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3671 { (exit 1); exit 1; }; }
3674 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3675 echo "${ECHO_T}$ac_cv_build" >&6; }
3676 case $ac_cv_build in
3678 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3679 echo "$as_me: error: invalid value of canonical build" >&2;}
3680 { (exit 1); exit 1; }; };;
3683 ac_save_IFS
=$IFS; IFS
='-'
3689 # Remember, the first character of IFS is used to create $*,
3690 # except with old shells:
3693 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3696 { echo "$as_me:$LINENO: checking host system type" >&5
3697 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3698 if test "${ac_cv_host+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 if test "x$host_alias" = x
; then
3702 ac_cv_host
=$ac_cv_build
3704 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3705 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3706 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3707 { (exit 1); exit 1; }; }
3711 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3712 echo "${ECHO_T}$ac_cv_host" >&6; }
3715 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3716 echo "$as_me: error: invalid value of canonical host" >&2;}
3717 { (exit 1); exit 1; }; };;
3720 ac_save_IFS
=$IFS; IFS
='-'
3726 # Remember, the first character of IFS is used to create $*,
3727 # except with old shells:
3730 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3733 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3734 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3735 if test "${lt_cv_path_SED+set}" = set; then
3736 echo $ECHO_N "(cached) $ECHO_C" >&6
3738 # Loop through the user's path and test for sed and gsed.
3739 # Then use that list of sed's as ones to test for truncation.
3740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir
=.
3745 for lt_ac_prog
in sed gsed
; do
3746 for ac_exec_ext
in '' $ac_executable_extensions; do
3747 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3748 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3755 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3756 # along with /bin/sed that truncates output.
3757 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3758 test ! -f $lt_ac_sed && continue
3759 cat /dev
/null
> conftest.
in
3761 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3762 # Check for GNU sed and select it if it is found.
3763 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3764 lt_cv_path_SED
=$lt_ac_sed
3768 cat conftest.
in conftest.
in >conftest.tmp
3769 mv conftest.tmp conftest.
in
3770 cp conftest.
in conftest.
nl
3772 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3773 cmp -s conftest.out conftest.
nl ||
break
3774 # 10000 chars as input seems more than enough
3775 test $lt_ac_count -gt 10 && break
3776 lt_ac_count
=`expr $lt_ac_count + 1`
3777 if test $lt_ac_count -gt $lt_ac_max; then
3778 lt_ac_max
=$lt_ac_count
3779 lt_cv_path_SED
=$lt_ac_sed
3787 { echo "$as_me:$LINENO: result: $SED" >&5
3788 echo "${ECHO_T}$SED" >&6; }
3790 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3791 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3792 if test "${ac_cv_path_GREP+set}" = set; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 # Extract the first word of "grep ggrep" to use in msg output
3796 if test -z "$GREP"; then
3797 set dummy
grep ggrep
; ac_prog_name
=$2
3798 if test "${ac_cv_path_GREP+set}" = set; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 ac_path_GREP_found
=false
3802 # Loop through the user's path and test for each of PROGNAME-LIST
3803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3804 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3807 test -z "$as_dir" && as_dir
=.
3808 for ac_prog
in grep ggrep
; do
3809 for ac_exec_ext
in '' $ac_executable_extensions; do
3810 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3811 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3812 # Check for GNU ac_path_GREP and select it if it is found.
3813 # Check for GNU $ac_path_GREP
3814 case `"$ac_path_GREP" --version 2>&1` in
3816 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3819 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3822 cat "conftest.in" "conftest.in" >"conftest.tmp"
3823 mv "conftest.tmp" "conftest.in"
3824 cp "conftest.in" "conftest.nl"
3825 echo 'GREP' >> "conftest.nl"
3826 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3827 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3828 ac_count
=`expr $ac_count + 1`
3829 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3830 # Best one so far, save it but keep looking for a better one
3831 ac_cv_path_GREP
="$ac_path_GREP"
3832 ac_path_GREP_max
=$ac_count
3834 # 10*(2^10) chars as input seems more than enough
3835 test $ac_count -gt 10 && break
3837 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3841 $ac_path_GREP_found && break 3
3851 GREP
="$ac_cv_path_GREP"
3852 if test -z "$GREP"; then
3853 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3854 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3855 { (exit 1); exit 1; }; }
3859 ac_cv_path_GREP
=$GREP
3864 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3865 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3866 GREP
="$ac_cv_path_GREP"
3869 { echo "$as_me:$LINENO: checking for egrep" >&5
3870 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3871 if test "${ac_cv_path_EGREP+set}" = set; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3875 then ac_cv_path_EGREP
="$GREP -E"
3877 # Extract the first word of "egrep" to use in msg output
3878 if test -z "$EGREP"; then
3879 set dummy
egrep; ac_prog_name
=$2
3880 if test "${ac_cv_path_EGREP+set}" = set; then
3881 echo $ECHO_N "(cached) $ECHO_C" >&6
3883 ac_path_EGREP_found
=false
3884 # Loop through the user's path and test for each of PROGNAME-LIST
3885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3886 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3889 test -z "$as_dir" && as_dir
=.
3890 for ac_prog
in egrep; do
3891 for ac_exec_ext
in '' $ac_executable_extensions; do
3892 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3893 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3894 # Check for GNU ac_path_EGREP and select it if it is found.
3895 # Check for GNU $ac_path_EGREP
3896 case `"$ac_path_EGREP" --version 2>&1` in
3898 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3901 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3904 cat "conftest.in" "conftest.in" >"conftest.tmp"
3905 mv "conftest.tmp" "conftest.in"
3906 cp "conftest.in" "conftest.nl"
3907 echo 'EGREP' >> "conftest.nl"
3908 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3909 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3910 ac_count
=`expr $ac_count + 1`
3911 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3912 # Best one so far, save it but keep looking for a better one
3913 ac_cv_path_EGREP
="$ac_path_EGREP"
3914 ac_path_EGREP_max
=$ac_count
3916 # 10*(2^10) chars as input seems more than enough
3917 test $ac_count -gt 10 && break
3919 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3923 $ac_path_EGREP_found && break 3
3933 EGREP
="$ac_cv_path_EGREP"
3934 if test -z "$EGREP"; then
3935 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3936 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3937 { (exit 1); exit 1; }; }
3941 ac_cv_path_EGREP
=$EGREP
3947 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3948 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3949 EGREP
="$ac_cv_path_EGREP"
3953 # Check whether --with-gnu-ld was given.
3954 if test "${with_gnu_ld+set}" = set; then
3955 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
3961 if test "$GCC" = yes; then
3962 # Check if gcc -print-prog-name=ld gives a path.
3963 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3964 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3967 # gcc leaves a trailing carriage return which upsets mingw
3968 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3970 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3973 # Accept absolute paths.
3975 re_direlt
='/[^/][^/]*/\.\./'
3976 # Canonicalize the pathname of ld
3977 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3978 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3979 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3981 test -z "$LD" && LD
="$ac_prog"
3984 # If it fails, then pretend we aren't using GCC.
3988 # If it is relative, then search for the first ld in PATH.
3992 elif test "$with_gnu_ld" = yes; then
3993 { echo "$as_me:$LINENO: checking for GNU ld" >&5
3994 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3996 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3997 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3999 if test "${lt_cv_path_LD+set}" = set; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 if test -z "$LD"; then
4003 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4004 for ac_dir
in $PATH; do
4006 test -z "$ac_dir" && ac_dir
=.
4007 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4008 lt_cv_path_LD
="$ac_dir/$ac_prog"
4009 # Check to see if the program is GNU ld. I'd rather use --version,
4010 # but apparently some variants of GNU ld only accept -v.
4011 # Break only if it was the GNU/non-GNU ld that we prefer.
4012 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4013 *GNU
* |
*'with BFD'*)
4014 test "$with_gnu_ld" != no
&& break
4017 test "$with_gnu_ld" != yes && break
4024 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4029 if test -n "$LD"; then
4030 { echo "$as_me:$LINENO: result: $LD" >&5
4031 echo "${ECHO_T}$LD" >&6; }
4033 { echo "$as_me:$LINENO: result: no" >&5
4034 echo "${ECHO_T}no" >&6; }
4036 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4037 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4038 { (exit 1); exit 1; }; }
4039 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4040 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4041 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4042 echo $ECHO_N "(cached) $ECHO_C" >&6
4044 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4045 case `$LD -v 2>&1 </dev/null` in
4046 *GNU
* |
*'with BFD'*)
4047 lt_cv_prog_gnu_ld
=yes
4050 lt_cv_prog_gnu_ld
=no
4054 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4055 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4056 with_gnu_ld
=$lt_cv_prog_gnu_ld
4059 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4060 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4061 if test "${lt_cv_ld_reload_flag+set}" = set; then
4062 echo $ECHO_N "(cached) $ECHO_C" >&6
4064 lt_cv_ld_reload_flag
='-r'
4066 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4067 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4068 reload_flag
=$lt_cv_ld_reload_flag
4069 case $reload_flag in
4071 *) reload_flag
=" $reload_flag" ;;
4073 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4076 if test "$GCC" = yes; then
4077 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
4079 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4084 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4085 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4086 if test "${lt_cv_path_NM+set}" = set; then
4087 echo $ECHO_N "(cached) $ECHO_C" >&6
4089 if test -n "$NM"; then
4090 # Let the user override the test.
4093 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4094 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4096 test -z "$ac_dir" && ac_dir
=.
4097 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
4098 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4099 # Check to see if the nm accepts a BSD-compat flag.
4100 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4101 # nm: unknown option "B" ignored
4102 # Tru64's nm complains that /dev/null is an invalid object file
4103 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4104 */dev
/null
* |
*'Invalid file or object type'*)
4105 lt_cv_path_NM
="$tmp_nm -B"
4109 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4111 lt_cv_path_NM
="$tmp_nm -p"
4115 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4116 continue # so that we can try to find one that supports BSD flags
4123 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4126 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4127 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4130 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4131 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4133 if test "$LN_S" = "ln -s"; then
4134 { echo "$as_me:$LINENO: result: yes" >&5
4135 echo "${ECHO_T}yes" >&6; }
4137 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4138 echo "${ECHO_T}no, using $LN_S" >&6; }
4141 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4142 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4143 if test "${lt_cv_deplibs_check_method+set}" = set; then
4144 echo $ECHO_N "(cached) $ECHO_C" >&6
4146 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4147 lt_cv_file_magic_test_file
=
4148 lt_cv_deplibs_check_method
='unknown'
4149 # Need to set the preceding variable on all platforms that support
4150 # interlibrary dependencies.
4151 # 'none' -- dependencies not supported.
4152 # `unknown' -- same as none, but documents that we really don't know.
4153 # 'pass_all' -- all dependencies passed with no checks.
4154 # 'test_compile' -- check by making test program.
4155 # 'file_magic [[regex]]' -- check by looking for files in library path
4156 # which responds to the $file_magic_cmd with a given extended regex.
4157 # If you have `file' or equivalent on your system and you're not sure
4158 # whether `pass_all' will *always* work, you probably want this one.
4162 lt_cv_deplibs_check_method
=pass_all
4166 lt_cv_deplibs_check_method
=pass_all
4170 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4171 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4172 lt_cv_file_magic_test_file
=/shlib
/libc.so
4176 # func_win32_libid is a shell function defined in ltmain.sh
4177 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4178 lt_cv_file_magic_cmd
='func_win32_libid'
4182 # Base MSYS/MinGW do not provide the 'file' command needed by
4183 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4184 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4185 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4188 darwin
* | rhapsody
*)
4189 lt_cv_deplibs_check_method
=pass_all
4192 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4193 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4196 # Not sure whether the presence of OpenBSD here was a mistake.
4197 # Let's accept both of them until this is cleared up.
4198 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4199 lt_cv_file_magic_cmd
=/usr
/bin
/file
4200 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4204 lt_cv_deplibs_check_method
=pass_all
4209 lt_cv_deplibs_check_method
=pass_all
4212 hpux10.20
* | hpux11
*)
4213 lt_cv_file_magic_cmd
=/usr
/bin
/file
4216 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4217 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4220 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]'
4221 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4224 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4225 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4230 irix5
* | irix6
* | nonstopux
*)
4232 *-32|
*"-32 ") libmagic
=32-bit;;
4233 *-n32|
*"-n32 ") libmagic
=N32
;;
4234 *-64|
*"-64 ") libmagic
=64-bit;;
4235 *) libmagic
=never-match
;;
4237 lt_cv_deplibs_check_method
=pass_all
4240 # This must be Linux ELF.
4242 lt_cv_deplibs_check_method
=pass_all
4245 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
4246 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4247 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4249 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4254 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4255 lt_cv_file_magic_cmd
=/usr
/bin
/file
4256 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4260 lt_cv_deplibs_check_method
=unknown
4264 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4265 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4267 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4271 osf3
* | osf4
* | osf5
*)
4272 lt_cv_deplibs_check_method
=pass_all
4276 lt_cv_deplibs_check_method
=pass_all
4280 lt_cv_deplibs_check_method
=pass_all
4283 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4284 case $host_vendor in
4286 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]'
4287 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4290 lt_cv_deplibs_check_method
=pass_all
4293 lt_cv_file_magic_cmd
='/bin/file'
4294 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4297 lt_cv_file_magic_cmd
='/bin/file'
4298 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4299 lt_cv_file_magic_test_file
=/lib
/libc.so
4302 lt_cv_deplibs_check_method
=pass_all
4307 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
4308 lt_cv_deplibs_check_method
=pass_all
4313 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4314 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4315 file_magic_cmd
=$lt_cv_file_magic_cmd
4316 deplibs_check_method
=$lt_cv_deplibs_check_method
4317 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4322 # If no C compiler was specified, use CC.
4325 # Allow CC to be a program name with arguments.
4329 # Check whether --enable-libtool-lock was given.
4330 if test "${enable_libtool_lock+set}" = set; then
4331 enableval
=$enable_libtool_lock;
4334 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4336 # Some flags need to be propagated to the compiler or linker for good
4340 # Find out which ABI we are using.
4341 echo 'int i;' > conftest.
$ac_ext
4342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4343 (eval $ac_compile) 2>&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; then
4347 case `/usr/bin/file conftest.$ac_objext` in
4359 # Find out which ABI we are using.
4360 echo '#line 4360 "configure"' > conftest.
$ac_ext
4361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4362 (eval $ac_compile) 2>&5
4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); }; then
4366 if test "$lt_cv_prog_gnu_ld" = yes; then
4367 case `/usr/bin/file conftest.$ac_objext` in
4369 LD
="${LD-ld} -melf32bsmip"
4372 LD
="${LD-ld} -melf32bmipn32"
4375 LD
="${LD-ld} -melf64bmip"
4379 case `/usr/bin/file conftest.$ac_objext` in
4395 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4396 # Find out which ABI we are using.
4397 echo 'int i;' > conftest.
$ac_ext
4398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4399 (eval $ac_compile) 2>&5
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); }; then
4403 case `/usr/bin/file conftest.o` in
4407 LD
="${LD-ld} -m elf_i386"
4409 ppc64-
*linux
*|powerpc64-
*linux
*)
4410 LD
="${LD-ld} -m elf32ppclinux"
4413 LD
="${LD-ld} -m elf_s390"
4416 LD
="${LD-ld} -m elf32_sparc"
4423 LD
="${LD-ld} -m elf_x86_64"
4425 ppc
*-*linux
*|powerpc
*-*linux
*)
4426 LD
="${LD-ld} -m elf64ppc"
4429 LD
="${LD-ld} -m elf64_s390"
4432 LD
="${LD-ld} -m elf64_sparc"
4442 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4443 SAVE_CFLAGS
="$CFLAGS"
4444 CFLAGS
="$CFLAGS -belf"
4445 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4446 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4447 if test "${lt_cv_cc_needs_belf+set}" = set; then
4448 echo $ECHO_N "(cached) $ECHO_C" >&6
4451 ac_cpp
='$CPP $CPPFLAGS'
4452 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4453 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4454 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4456 cat >conftest.
$ac_ext <<_ACEOF
4459 cat confdefs.h
>>conftest.
$ac_ext
4460 cat >>conftest.
$ac_ext <<_ACEOF
4461 /* end confdefs.h. */
4471 rm -f conftest.
$ac_objext conftest
$ac_exeext
4472 if { (ac_try
="$ac_link"
4474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4475 *) ac_try_echo=$ac_try;;
4477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4478 (eval "$ac_link") 2>conftest.er1
4480 grep -v '^ *+' conftest.er1 >conftest.err
4482 cat conftest.err >&5
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); } && {
4485 test -z "$ac_c_werror_flag" ||
4486 test ! -s conftest.err
4487 } && test -s conftest$ac_exeext &&
4488 $as_test_x conftest$ac_exeext; then
4489 lt_cv_cc_needs_belf=yes
4491 echo "$as_me: failed program was:" >&5
4492 sed 's/^/| /' conftest.$ac_ext >&5
4494 lt_cv_cc_needs_belf=no
4497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4498 conftest$ac_exeext conftest.$ac_ext
4500 ac_cpp='$CPP $CPPFLAGS'
4501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4506 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4507 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4508 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4509 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4510 CFLAGS="$SAVE_CFLAGS"
4516 need_locks="$enable_libtool_lock"
4520 ac_cpp='$CPP $CPPFLAGS'
4521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4524 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4525 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4526 # On Suns, sometimes $CPP names a directory.
4527 if test -n "$CPP" && test -d "$CPP"; then
4530 if test -z "$CPP"; then
4531 if test "${ac_cv_prog_CPP+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 # Double quotes because CPP needs to be expanded
4535 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4538 for ac_c_preproc_warn_flag in '' yes
4540 # Use a header file that comes with gcc, so configuring glibc
4541 # with a fresh cross-compiler works.
4542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4543 # <limits.h> exists even on freestanding compilers.
4544 # On the NeXT, cc -E runs the code through the compiler's parser,
4545 # not just through cpp. "Syntax error" is here to catch this case.
4546 cat >conftest.$ac_ext <<_ACEOF
4549 cat confdefs.h >>conftest.$ac_ext
4550 cat >>conftest.$ac_ext <<_ACEOF
4551 /* end confdefs.h. */
4553 # include <limits.h>
4555 # include <assert.h>
4559 if { (ac_try="$ac_cpp conftest.$ac_ext"
4561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4562 *) ac_try_echo
=$ac_try;;
4564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4567 grep -v '^ *+' conftest.er1
>conftest.err
4569 cat conftest.err
>&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } >/dev
/null
&& {
4572 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4573 test ! -s conftest.err
4577 echo "$as_me: failed program was:" >&5
4578 sed 's/^/| /' conftest.
$ac_ext >&5
4580 # Broken: fails on valid input.
4584 rm -f conftest.err conftest.
$ac_ext
4586 # OK, works on sane cases. Now check whether nonexistent headers
4587 # can be detected and how.
4588 cat >conftest.
$ac_ext <<_ACEOF
4591 cat confdefs.h
>>conftest.
$ac_ext
4592 cat >>conftest.
$ac_ext <<_ACEOF
4593 /* end confdefs.h. */
4594 #include <ac_nonexistent.h>
4596 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4604 grep -v '^ *+' conftest.er1 >conftest.err
4606 cat conftest.err >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } >/dev/null && {
4609 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4610 test ! -s conftest.err
4612 # Broken: success on invalid input.
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.$ac_ext >&5
4618 # Passes both tests.
4623 rm -f conftest.err conftest.$ac_ext
4626 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4627 rm -f conftest.err conftest.
$ac_ext
4628 if $ac_preproc_ok; then
4640 { echo "$as_me:$LINENO: result: $CPP" >&5
4641 echo "${ECHO_T}$CPP" >&6; }
4643 for ac_c_preproc_warn_flag
in '' yes
4645 # Use a header file that comes with gcc, so configuring glibc
4646 # with a fresh cross-compiler works.
4647 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4648 # <limits.h> exists even on freestanding compilers.
4649 # On the NeXT, cc -E runs the code through the compiler's parser,
4650 # not just through cpp. "Syntax error" is here to catch this case.
4651 cat >conftest.
$ac_ext <<_ACEOF
4654 cat confdefs.h
>>conftest.
$ac_ext
4655 cat >>conftest.
$ac_ext <<_ACEOF
4656 /* end confdefs.h. */
4658 # include <limits.h>
4660 # include <assert.h>
4664 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4672 grep -v '^ *+' conftest.er1 >conftest.err
4674 cat conftest.err >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } >/dev/null && {
4677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4678 test ! -s conftest.err
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4685 # Broken: fails on valid input.
4689 rm -f conftest.err conftest.$ac_ext
4691 # OK, works on sane cases. Now check whether nonexistent headers
4692 # can be detected and how.
4693 cat >conftest.$ac_ext <<_ACEOF
4696 cat confdefs.h >>conftest.$ac_ext
4697 cat >>conftest.$ac_ext <<_ACEOF
4698 /* end confdefs.h. */
4699 #include <ac_nonexistent.h>
4701 if { (ac_try="$ac_cpp conftest.$ac_ext"
4703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4704 *) ac_try_echo
=$ac_try;;
4706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4709 grep -v '^ *+' conftest.er1
>conftest.err
4711 cat conftest.err
>&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); } >/dev
/null
&& {
4714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4715 test ! -s conftest.err
4717 # Broken: success on invalid input.
4720 echo "$as_me: failed program was:" >&5
4721 sed 's/^/| /' conftest.
$ac_ext >&5
4723 # Passes both tests.
4728 rm -f conftest.err conftest.
$ac_ext
4731 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4732 rm -f conftest.err conftest.
$ac_ext
4733 if $ac_preproc_ok; then
4736 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4737 See \`config.log' for more details." >&5
4738 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4739 See \`config.log' for more details." >&2;}
4740 { (exit 1); exit 1; }; }
4744 ac_cpp
='$CPP $CPPFLAGS'
4745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4750 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4751 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4752 if test "${ac_cv_header_stdc+set}" = set; then
4753 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 cat >conftest.
$ac_ext <<_ACEOF
4758 cat confdefs.h
>>conftest.
$ac_ext
4759 cat >>conftest.
$ac_ext <<_ACEOF
4760 /* end confdefs.h. */
4774 rm -f conftest.
$ac_objext
4775 if { (ac_try
="$ac_compile"
4777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4778 *) ac_try_echo=$ac_try;;
4780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4781 (eval "$ac_compile") 2>conftest.er1
4783 grep -v '^ *+' conftest.er1 >conftest.err
4785 cat conftest.err >&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); } && {
4788 test -z "$ac_c_werror_flag" ||
4789 test ! -s conftest.err
4790 } && test -s conftest.$ac_objext; then
4791 ac_cv_header_stdc=yes
4793 echo "$as_me: failed program was:" >&5
4794 sed 's/^/| /' conftest.$ac_ext >&5
4796 ac_cv_header_stdc=no
4799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4801 if test $ac_cv_header_stdc = yes; then
4802 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4803 cat >conftest.$ac_ext <<_ACEOF
4806 cat confdefs.h >>conftest.$ac_ext
4807 cat >>conftest.$ac_ext <<_ACEOF
4808 /* end confdefs.h. */
4812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4813 $EGREP "memchr" >/dev/null 2>&1; then
4816 ac_cv_header_stdc=no
4822 if test $ac_cv_header_stdc = yes; then
4823 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4824 cat >conftest.$ac_ext <<_ACEOF
4827 cat confdefs.h >>conftest.$ac_ext
4828 cat >>conftest.$ac_ext <<_ACEOF
4829 /* end confdefs.h. */
4833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4834 $EGREP "free" >/dev/null 2>&1; then
4837 ac_cv_header_stdc=no
4843 if test $ac_cv_header_stdc = yes; then
4844 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4845 if test "$cross_compiling" = yes; then
4848 cat >conftest.$ac_ext <<_ACEOF
4851 cat confdefs.h >>conftest.$ac_ext
4852 cat >>conftest.$ac_ext <<_ACEOF
4853 /* end confdefs.h. */
4856 #if ((' ' & 0x0FF) == 0x020)
4857 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4858 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4860 # define ISLOWER(c) \
4861 (('a' <= (c) && (c) <= 'i') \
4862 || ('j' <= (c) && (c) <= 'r') \
4863 || ('s' <= (c) && (c) <= 'z'))
4864 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4867 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4872 for (i = 0; i < 256; i++)
4873 if (XOR (islower (i), ISLOWER (i))
4874 || toupper (i) != TOUPPER (i))
4879 rm -f conftest$ac_exeext
4880 if { (ac_try="$ac_link"
4882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4883 *) ac_try_echo
=$ac_try;;
4885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4886 (eval "$ac_link") 2>&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4890 { (case "(($ac_try" in
4891 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4892 *) ac_try_echo=$ac_try;;
4894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4895 (eval "$ac_try") 2>&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; }; then
4901 echo "$as_me: program exited with status $ac_status" >&5
4902 echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.$ac_ext >&5
4906 ac_cv_header_stdc=no
4908 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4914 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4915 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4916 if test $ac_cv_header_stdc = yes; then
4918 cat >>confdefs.h <<\_ACEOF
4919 #define STDC_HEADERS 1
4924 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4934 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4935 inttypes.h stdint.h unistd.h
4937 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4938 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4940 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4941 echo $ECHO_N "(cached) $ECHO_C" >&6
4943 cat >conftest.$ac_ext <<_ACEOF
4946 cat confdefs.h >>conftest.$ac_ext
4947 cat >>conftest.$ac_ext <<_ACEOF
4948 /* end confdefs.h. */
4949 $ac_includes_default
4951 #include <$ac_header>
4953 rm -f conftest.$ac_objext
4954 if { (ac_try="$ac_compile"
4956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4957 *) ac_try_echo
=$ac_try;;
4959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4960 (eval "$ac_compile") 2>conftest.er1
4962 grep -v '^ *+' conftest.er1
>conftest.err
4964 cat conftest.err
>&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } && {
4967 test -z "$ac_c_werror_flag" ||
4968 test ! -s conftest.err
4969 } && test -s conftest.
$ac_objext; then
4970 eval "$as_ac_Header=yes"
4972 echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.
$ac_ext >&5
4975 eval "$as_ac_Header=no"
4978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4980 ac_res
=`eval echo '${'$as_ac_Header'}'`
4981 { echo "$as_me:$LINENO: result: $ac_res" >&5
4982 echo "${ECHO_T}$ac_res" >&6; }
4983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4984 cat >>confdefs.h
<<_ACEOF
4985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4994 for ac_header
in dlfcn.h
4996 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4997 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4998 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5000 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 ac_res
=`eval echo '${'$as_ac_Header'}'`
5004 { echo "$as_me:$LINENO: result: $ac_res" >&5
5005 echo "${ECHO_T}$ac_res" >&6; }
5007 # Is the header compilable?
5008 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5009 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5010 cat >conftest.
$ac_ext <<_ACEOF
5013 cat confdefs.h
>>conftest.
$ac_ext
5014 cat >>conftest.
$ac_ext <<_ACEOF
5015 /* end confdefs.h. */
5016 $ac_includes_default
5017 #include <$ac_header>
5019 rm -f conftest.
$ac_objext
5020 if { (ac_try
="$ac_compile"
5022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5023 *) ac_try_echo=$ac_try;;
5025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5026 (eval "$ac_compile") 2>conftest.er1
5028 grep -v '^ *+' conftest.er1 >conftest.err
5030 cat conftest.err >&5
5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 (exit $ac_status); } && {
5033 test -z "$ac_c_werror_flag" ||
5034 test ! -s conftest.err
5035 } && test -s conftest.$ac_objext; then
5036 ac_header_compiler=yes
5038 echo "$as_me: failed program was:" >&5
5039 sed 's/^/| /' conftest.$ac_ext >&5
5041 ac_header_compiler=no
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5046 echo "${ECHO_T}$ac_header_compiler" >&6; }
5048 # Is the header present?
5049 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5050 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5051 cat >conftest.$ac_ext <<_ACEOF
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5057 #include <$ac_header>
5059 if { (ac_try="$ac_cpp conftest.$ac_ext"
5061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5062 *) ac_try_echo
=$ac_try;;
5064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5065 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5067 grep -v '^ *+' conftest.er1
>conftest.err
5069 cat conftest.err
>&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); } >/dev
/null
&& {
5072 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5073 test ! -s conftest.err
5075 ac_header_preproc
=yes
5077 echo "$as_me: failed program was:" >&5
5078 sed 's/^/| /' conftest.
$ac_ext >&5
5080 ac_header_preproc
=no
5083 rm -f conftest.err conftest.
$ac_ext
5084 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5085 echo "${ECHO_T}$ac_header_preproc" >&6; }
5087 # So? What about this header?
5088 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5090 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5091 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5093 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5094 ac_header_preproc
=yes
5097 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5098 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5099 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5100 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5101 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5102 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5103 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5104 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5107 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5108 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5112 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5114 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5115 echo $ECHO_N "(cached) $ECHO_C" >&6
5117 eval "$as_ac_Header=\$ac_header_preproc"
5119 ac_res
=`eval echo '${'$as_ac_Header'}'`
5120 { echo "$as_me:$LINENO: result: $ac_res" >&5
5121 echo "${ECHO_T}$ac_res" >&6; }
5124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5125 cat >>confdefs.h
<<_ACEOF
5126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5134 ac_cpp
='$CXXCPP $CPPFLAGS'
5135 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5136 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5137 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5138 if test -z "$CXX"; then
5139 if test -n "$CCC"; then
5142 if test -n "$ac_tool_prefix"; then
5143 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5146 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5149 if test "${ac_cv_prog_CXX+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5152 if test -n "$CXX"; then
5153 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 if test -n "$CXX"; then
5174 { echo "$as_me:$LINENO: result: $CXX" >&5
5175 echo "${ECHO_T}$CXX" >&6; }
5177 { echo "$as_me:$LINENO: result: no" >&5
5178 echo "${ECHO_T}no" >&6; }
5182 test -n "$CXX" && break
5185 if test -z "$CXX"; then
5187 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5189 # Extract the first word of "$ac_prog", so it can be a program name with args.
5190 set dummy
$ac_prog; ac_word
=$2
5191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5193 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5196 if test -n "$ac_ct_CXX"; then
5197 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5203 test -z "$as_dir" && as_dir
=.
5204 for ac_exec_ext
in '' $ac_executable_extensions; do
5205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5206 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5217 if test -n "$ac_ct_CXX"; then
5218 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5219 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5221 { echo "$as_me:$LINENO: result: no" >&5
5222 echo "${ECHO_T}no" >&6; }
5226 test -n "$ac_ct_CXX" && break
5229 if test "x$ac_ct_CXX" = x
; then
5232 case $cross_compiling:$ac_tool_warned in
5234 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5235 whose name does not start with the host triplet. If you think this
5236 configuration is useful to you, please write to autoconf@gnu.org." >&5
5237 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5238 whose name does not start with the host triplet. If you think this
5239 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5240 ac_tool_warned
=yes ;;
5248 # Provide some information about the compiler.
5249 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5250 ac_compiler
=`set X $ac_compile; echo $2`
5251 { (ac_try
="$ac_compiler --version >&5"
5253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5254 *) ac_try_echo=$ac_try;;
5256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5257 (eval "$ac_compiler --version >&5") 2>&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); }
5261 { (ac_try="$ac_compiler -v >&5"
5263 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5264 *) ac_try_echo
=$ac_try;;
5266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5267 (eval "$ac_compiler -v >&5") 2>&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 (exit $ac_status); }
5271 { (ac_try
="$ac_compiler -V >&5"
5273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5274 *) ac_try_echo=$ac_try;;
5276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5277 (eval "$ac_compiler -V >&5") 2>&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); }
5282 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5283 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5284 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5285 echo $ECHO_N "(cached) $ECHO_C" >&6
5287 cat >conftest.$ac_ext <<_ACEOF
5290 cat confdefs.h >>conftest.$ac_ext
5291 cat >>conftest.$ac_ext <<_ACEOF
5292 /* end confdefs.h. */
5305 rm -f conftest.$ac_objext
5306 if { (ac_try="$ac_compile"
5308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5309 *) ac_try_echo
=$ac_try;;
5311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5312 (eval "$ac_compile") 2>conftest.er1
5314 grep -v '^ *+' conftest.er1
>conftest.err
5316 cat conftest.err
>&5
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); } && {
5319 test -z "$ac_cxx_werror_flag" ||
5320 test ! -s conftest.err
5321 } && test -s conftest.
$ac_objext; then
5324 echo "$as_me: failed program was:" >&5
5325 sed 's/^/| /' conftest.
$ac_ext >&5
5330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5331 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5334 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5335 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5336 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5337 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5338 ac_save_CXXFLAGS
=$CXXFLAGS
5339 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5340 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5341 if test "${ac_cv_prog_cxx_g+set}" = set; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5345 ac_cxx_werror_flag
=yes
5348 cat >conftest.
$ac_ext <<_ACEOF
5351 cat confdefs.h
>>conftest.
$ac_ext
5352 cat >>conftest.
$ac_ext <<_ACEOF
5353 /* end confdefs.h. */
5363 rm -f conftest.
$ac_objext
5364 if { (ac_try
="$ac_compile"
5366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5367 *) ac_try_echo=$ac_try;;
5369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5370 (eval "$ac_compile") 2>conftest.er1
5372 grep -v '^ *+' conftest.er1 >conftest.err
5374 cat conftest.err >&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); } && {
5377 test -z "$ac_cxx_werror_flag" ||
5378 test ! -s conftest.err
5379 } && test -s conftest.$ac_objext; then
5380 ac_cv_prog_cxx_g=yes
5382 echo "$as_me: failed program was:" >&5
5383 sed 's/^/| /' conftest.$ac_ext >&5
5386 cat >conftest.$ac_ext <<_ACEOF
5389 cat confdefs.h >>conftest.$ac_ext
5390 cat >>conftest.$ac_ext <<_ACEOF
5391 /* end confdefs.h. */
5401 rm -f conftest.$ac_objext
5402 if { (ac_try="$ac_compile"
5404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5405 *) ac_try_echo
=$ac_try;;
5407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5408 (eval "$ac_compile") 2>conftest.er1
5410 grep -v '^ *+' conftest.er1
>conftest.err
5412 cat conftest.err
>&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); } && {
5415 test -z "$ac_cxx_werror_flag" ||
5416 test ! -s conftest.err
5417 } && test -s conftest.
$ac_objext; then
5420 echo "$as_me: failed program was:" >&5
5421 sed 's/^/| /' conftest.
$ac_ext >&5
5423 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5425 cat >conftest.
$ac_ext <<_ACEOF
5428 cat confdefs.h
>>conftest.
$ac_ext
5429 cat >>conftest.
$ac_ext <<_ACEOF
5430 /* end confdefs.h. */
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_cxx_werror_flag" ||
5455 test ! -s conftest.err
5456 } && test -s conftest.$ac_objext; then
5457 ac_cv_prog_cxx_g=yes
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5472 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5474 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5475 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5476 if test "$ac_test_CXXFLAGS" = set; then
5477 CXXFLAGS=$ac_save_CXXFLAGS
5478 elif test $ac_cv_prog_cxx_g = yes; then
5479 if test "$GXX" = yes; then
5485 if test "$GXX" = yes; then
5492 ac_cpp='$CXXCPP $CPPFLAGS'
5493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5497 depcc="$CXX" am_compiler_list=
5499 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5500 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5501 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5502 echo $ECHO_N "(cached) $ECHO_C" >&6
5504 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5505 # We make a subdir and do the tests there. Otherwise we can end up
5506 # making bogus files that we don't know about and never remove. For
5507 # instance it was reported that on HP-UX the gcc test will end up
5508 # making a dummy file named `D
' -- because `-MD' means
`put the output
5511 # Copy depcomp to subdir because otherwise we won't find it if we're
5512 # using a relative directory.
5513 cp "$am_depcomp" conftest.dir
5515 # We will build objects and dependencies in a subdirectory because
5516 # it helps to detect inapplicable dependency modes. For instance
5517 # both Tru64's cc and ICC support -MD to output dependencies as a
5518 # side effect of compilation, but ICC will put the dependencies in
5519 # the current directory while Tru64 will put them in the object
5523 am_cv_CXX_dependencies_compiler_type=none
5524 if test "$am_compiler_list" = ""; then
5525 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5527 for depmode in $am_compiler_list; do
5528 # Setup a source with many dependencies, because some compilers
5529 # like to wrap large dependency lists on column 80 (with \), and
5530 # we should not choose a depcomp mode which is confused by this.
5532 # We need to recreate these files for each test, as the compiler may
5533 # overwrite some of them when testing with obscure command lines.
5534 # This happens at least with the AIX C compiler.
5536 for i in 1 2 3 4 5 6; do
5537 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5538 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5539 # Solaris 8's
{/usr
,}/bin
/sh.
5540 touch sub
/conftst
$i.h
5542 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5546 # after this tag, mechanisms are not by side-effect, so they'll
5547 # only be used when explicitly requested
5548 if test "x$enable_dependency_tracking" = xyes
; then
5556 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5557 # mode. It turns out that the SunPro C++ compiler does not properly
5558 # handle `-M -o', and we need to detect this.
5559 if depmode
=$depmode \
5560 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5561 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5562 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5563 >/dev
/null
2>conftest.err
&&
5564 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5565 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5566 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5567 # icc doesn't choke on unknown options, it will just issue warnings
5568 # or remarks (even with -Werror). So we grep stderr for any message
5569 # that says an option was ignored or not supported.
5570 # When given -MP, icc 7.0 and 7.1 complain thusly:
5571 # icc: Command line warning: ignoring option '-M'; no argument required
5572 # The diagnosis changed in icc 8.0:
5573 # icc: Command line remark: option '-MP' not supported
5574 if (grep 'ignoring option' conftest.err ||
5575 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5576 am_cv_CXX_dependencies_compiler_type
=$depmode
5585 am_cv_CXX_dependencies_compiler_type
=none
5589 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5590 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5591 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5596 test "x$enable_dependency_tracking" != xno \
5597 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5598 am__fastdepCXX_TRUE
=
5599 am__fastdepCXX_FALSE
='#'
5601 am__fastdepCXX_TRUE
='#'
5602 am__fastdepCXX_FALSE
=
5608 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5609 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5610 (test "X$CXX" != "Xg++"))) ; then
5612 ac_cpp
='$CXXCPP $CPPFLAGS'
5613 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5614 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5615 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5616 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5617 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5618 if test -z "$CXXCPP"; then
5619 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5620 echo $ECHO_N "(cached) $ECHO_C" >&6
5622 # Double quotes because CXXCPP needs to be expanded
5623 for CXXCPP
in "$CXX -E" "/lib/cpp"
5626 for ac_cxx_preproc_warn_flag
in '' yes
5628 # Use a header file that comes with gcc, so configuring glibc
5629 # with a fresh cross-compiler works.
5630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5631 # <limits.h> exists even on freestanding compilers.
5632 # On the NeXT, cc -E runs the code through the compiler's parser,
5633 # not just through cpp. "Syntax error" is here to catch this case.
5634 cat >conftest.
$ac_ext <<_ACEOF
5637 cat confdefs.h
>>conftest.
$ac_ext
5638 cat >>conftest.
$ac_ext <<_ACEOF
5639 /* end confdefs.h. */
5641 # include <limits.h>
5643 # include <assert.h>
5647 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5650 *) ac_try_echo=$ac_try;;
5652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5655 grep -v '^ *+' conftest.er1 >conftest.err
5657 cat conftest.err >&5
5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659 (exit $ac_status); } >/dev/null && {
5660 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5661 test ! -s conftest.err
5665 echo "$as_me: failed program was:" >&5
5666 sed 's/^/| /' conftest.$ac_ext >&5
5668 # Broken: fails on valid input.
5672 rm -f conftest.err conftest.$ac_ext
5674 # OK, works on sane cases. Now check whether nonexistent headers
5675 # can be detected and how.
5676 cat >conftest.$ac_ext <<_ACEOF
5679 cat confdefs.h >>conftest.$ac_ext
5680 cat >>conftest.$ac_ext <<_ACEOF
5681 /* end confdefs.h. */
5682 #include <ac_nonexistent.h>
5684 if { (ac_try="$ac_cpp conftest.$ac_ext"
5686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5687 *) ac_try_echo
=$ac_try;;
5689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5692 grep -v '^ *+' conftest.er1
>conftest.err
5694 cat conftest.err
>&5
5695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); } >/dev
/null
&& {
5697 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5698 test ! -s conftest.err
5700 # Broken: success on invalid input.
5703 echo "$as_me: failed program was:" >&5
5704 sed 's/^/| /' conftest.
$ac_ext >&5
5706 # Passes both tests.
5711 rm -f conftest.err conftest.
$ac_ext
5714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5715 rm -f conftest.err conftest.
$ac_ext
5716 if $ac_preproc_ok; then
5721 ac_cv_prog_CXXCPP
=$CXXCPP
5724 CXXCPP
=$ac_cv_prog_CXXCPP
5726 ac_cv_prog_CXXCPP
=$CXXCPP
5728 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5729 echo "${ECHO_T}$CXXCPP" >&6; }
5731 for ac_cxx_preproc_warn_flag
in '' yes
5733 # Use a header file that comes with gcc, so configuring glibc
5734 # with a fresh cross-compiler works.
5735 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5736 # <limits.h> exists even on freestanding compilers.
5737 # On the NeXT, cc -E runs the code through the compiler's parser,
5738 # not just through cpp. "Syntax error" is here to catch this case.
5739 cat >conftest.
$ac_ext <<_ACEOF
5742 cat confdefs.h
>>conftest.
$ac_ext
5743 cat >>conftest.
$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5746 # include <limits.h>
5748 # include <assert.h>
5752 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5755 *) ac_try_echo=$ac_try;;
5757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5760 grep -v '^ *+' conftest.er1 >conftest.err
5762 cat conftest.err >&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); } >/dev/null && {
5765 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5766 test ! -s conftest.err
5770 echo "$as_me: failed program was:" >&5
5771 sed 's/^/| /' conftest.$ac_ext >&5
5773 # Broken: fails on valid input.
5777 rm -f conftest.err conftest.$ac_ext
5779 # OK, works on sane cases. Now check whether nonexistent headers
5780 # can be detected and how.
5781 cat >conftest.$ac_ext <<_ACEOF
5784 cat confdefs.h >>conftest.$ac_ext
5785 cat >>conftest.$ac_ext <<_ACEOF
5786 /* end confdefs.h. */
5787 #include <ac_nonexistent.h>
5789 if { (ac_try="$ac_cpp conftest.$ac_ext"
5791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5792 *) ac_try_echo
=$ac_try;;
5794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5797 grep -v '^ *+' conftest.er1
>conftest.err
5799 cat conftest.err
>&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); } >/dev
/null
&& {
5802 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5803 test ! -s conftest.err
5805 # Broken: success on invalid input.
5808 echo "$as_me: failed program was:" >&5
5809 sed 's/^/| /' conftest.
$ac_ext >&5
5811 # Passes both tests.
5816 rm -f conftest.err conftest.
$ac_ext
5819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5820 rm -f conftest.err conftest.
$ac_ext
5821 if $ac_preproc_ok; then
5824 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5825 See \`config.log' for more details." >&5
5826 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5827 See \`config.log' for more details." >&2;}
5828 { (exit 1); exit 1; }; }
5832 ac_cpp
='$CXXCPP $CPPFLAGS'
5833 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5834 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5835 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5841 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5842 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5843 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5844 if test -n "$ac_tool_prefix"; then
5845 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
5847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5848 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5851 if test "${ac_cv_prog_F77+set}" = set; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5854 if test -n "$F77"; then
5855 ac_cv_prog_F77
="$F77" # Let the user override the test.
5857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5861 test -z "$as_dir" && as_dir
=.
5862 for ac_exec_ext
in '' $ac_executable_extensions; do
5863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5864 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 if test -n "$F77"; then
5876 { echo "$as_me:$LINENO: result: $F77" >&5
5877 echo "${ECHO_T}$F77" >&6; }
5879 { echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6; }
5884 test -n "$F77" && break
5887 if test -z "$F77"; then
5889 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
5891 # Extract the first word of "$ac_prog", so it can be a program name with args.
5892 set dummy
$ac_prog; ac_word
=$2
5893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5895 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 if test -n "$ac_ct_F77"; then
5899 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5905 test -z "$as_dir" && as_dir
=.
5906 for ac_exec_ext
in '' $ac_executable_extensions; do
5907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5908 ac_cv_prog_ac_ct_F77
="$ac_prog"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5919 if test -n "$ac_ct_F77"; then
5920 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5921 echo "${ECHO_T}$ac_ct_F77" >&6; }
5923 { echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6; }
5928 test -n "$ac_ct_F77" && break
5931 if test "x$ac_ct_F77" = x
; then
5934 case $cross_compiling:$ac_tool_warned in
5936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5937 whose name does not start with the host triplet. If you think this
5938 configuration is useful to you, please write to autoconf@gnu.org." >&5
5939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5940 whose name does not start with the host triplet. If you think this
5941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5942 ac_tool_warned
=yes ;;
5949 # Provide some information about the compiler.
5950 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5951 ac_compiler
=`set X $ac_compile; echo $2`
5952 { (ac_try
="$ac_compiler --version >&5"
5954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5955 *) ac_try_echo=$ac_try;;
5957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5958 (eval "$ac_compiler --version >&5") 2>&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }
5962 { (ac_try="$ac_compiler -v >&5"
5964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5965 *) ac_try_echo
=$ac_try;;
5967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5968 (eval "$ac_compiler -v >&5") 2>&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }
5972 { (ac_try
="$ac_compiler -V >&5"
5974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5975 *) ac_try_echo=$ac_try;;
5977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5978 (eval "$ac_compiler -V >&5") 2>&5
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); }
5984 # If we don't use `.F
' as extension, the preprocessor is not run on the
5985 # input file. (Note that this only needs to work for GNU compilers.)
5988 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5989 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5990 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5991 echo $ECHO_N "(cached) $ECHO_C" >&6
5993 cat >conftest.$ac_ext <<_ACEOF
6001 rm -f conftest.$ac_objext
6002 if { (ac_try="$ac_compile"
6004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6005 *) ac_try_echo=$ac_try;;
6007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6008 (eval "$ac_compile") 2>conftest.er1
6010 grep -v '^
*+' conftest.er1 >conftest.err
6012 cat conftest.err >&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); } && {
6015 test -z "$ac_f77_werror_flag" ||
6016 test ! -s conftest.err
6017 } && test -s conftest.$ac_objext; then
6020 echo "$as_me: failed program was:" >&5
6021 sed 's
/^
/|
/' conftest.$ac_ext >&5
6026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6027 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6030 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6031 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6033 ac_test_FFLAGS=${FFLAGS+set}
6034 ac_save_FFLAGS=$FFLAGS
6036 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6037 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6038 if test "${ac_cv_prog_f77_g+set}" = set; then
6039 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 cat >conftest.$ac_ext <<_ACEOF
6047 rm -f conftest.$ac_objext
6048 if { (ac_try="$ac_compile"
6050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6051 *) ac_try_echo=$ac_try;;
6053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6054 (eval "$ac_compile") 2>conftest.er1
6056 grep -v '^
*+' conftest.er1 >conftest.err
6058 cat conftest.err >&5
6059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6060 (exit $ac_status); } && {
6061 test -z "$ac_f77_werror_flag" ||
6062 test ! -s conftest.err
6063 } && test -s conftest.$ac_objext; then
6064 ac_cv_prog_f77_g=yes
6066 echo "$as_me: failed program was:" >&5
6067 sed 's
/^
/|
/' conftest.$ac_ext >&5
6072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6075 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6076 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6077 if test "$ac_test_FFLAGS" = set; then
6078 FFLAGS=$ac_save_FFLAGS
6079 elif test $ac_cv_prog_f77_g = yes; then
6080 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6086 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6093 G77=`test $ac_compiler_gnu = yes && echo yes`
6095 ac_cpp='$CPP $CPPFLAGS'
6096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6097 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6102 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6104 # find the maximum length of command line arguments
6105 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6106 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6107 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6108 echo $ECHO_N "(cached) $ECHO_C" >&6
6115 # On DJGPP, this test can blow up pretty badly due to problems in libc
6116 # (any single argument exceeding 2000 bytes causes a buffer overrun
6117 # during glob expansion). Even if it were fixed, the result of this
6118 # check would be larger than it should be.
6119 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6123 # Under GNU Hurd, this test is not required because there is
6124 # no limit to the length of command line arguments.
6125 # Libtool will interpret -1 as no limit whatsoever
6126 lt_cv_sys_max_cmd_len
=-1;
6130 # On Win9x/ME, this test blows up -- it succeeds, but takes
6131 # about 5 minutes as the teststring grows exponentially.
6132 # Worse, since 9x/ME are not pre-emptively multitasking,
6133 # you end up with a "frozen" computer, even though with patience
6134 # the test eventually succeeds (with a max line length of 256k).
6135 # Instead, let's just punt: use the minimum linelength reported by
6136 # all of the supported platforms: 8192 (on NT/2K/XP).
6137 lt_cv_sys_max_cmd_len
=8192;
6141 # On AmigaOS with pdksh, this test takes hours, literally.
6142 # So we just punt and use a minimum line length of 8192.
6143 lt_cv_sys_max_cmd_len
=8192;
6146 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6147 # This has been around since 386BSD, at least. Likely further.
6148 if test -x /sbin
/sysctl
; then
6149 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6150 elif test -x /usr
/sbin
/sysctl
; then
6151 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6153 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6155 # And add a safety zone
6156 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6157 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6160 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6161 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6162 # nice to cause kernel panics so lets avoid the loop below.
6163 # First set a reasonable default.
6164 lt_cv_sys_max_cmd_len
=16384
6166 if test -x /sbin
/sysconfig
; then
6167 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6168 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6173 # If test is not a shell built-in, we'll probably end up computing a
6174 # maximum length that is only half of the actual maximum length, but
6176 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6177 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6178 = "XX$teststring") >/dev
/null
2>&1 &&
6179 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6180 lt_cv_sys_max_cmd_len
=$new_result &&
6181 test $i != 17 # 1/2 MB should be enough
6184 teststring
=$teststring$teststring
6187 # Add a significant safety factor because C++ compilers can tack on massive
6188 # amounts of additional arguments before passing them to the linker.
6189 # It appears as though 1/2 is a usable value.
6190 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6196 if test -n $lt_cv_sys_max_cmd_len ; then
6197 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6198 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6200 { echo "$as_me:$LINENO: result: none" >&5
6201 echo "${ECHO_T}none" >&6; }
6207 # Check for command to grab the raw symbol name followed by C symbol from nm.
6208 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6209 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6210 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6211 echo $ECHO_N "(cached) $ECHO_C" >&6
6214 # These are sane defaults that work on at least a few old systems.
6215 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6217 # Character class describing NM global symbol codes.
6218 symcode
='[BCDEGRST]'
6220 # Regexp to match symbols that can be accessed directly from C.
6221 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6223 # Transform an extracted symbol line into a proper C declaration
6224 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6226 # Transform an extracted symbol line into symbol name and symbol address
6227 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'"
6229 # Define system-specific variables.
6234 cygwin
* | mingw
* | pw32
*)
6235 symcode
='[ABCDGISTW]'
6237 hpux
*) # Its linker distinguishes data from code symbols
6238 if test "$host_cpu" = ia64
; then
6239 symcode
='[ABCDEGRST]'
6241 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6242 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'"
6245 if test "$host_cpu" = ia64
; then
6246 symcode
='[ABCDGIRSTW]'
6247 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6248 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'"
6252 symcode
='[BCDEGRST]'
6255 symcode
='[BCDEGQRST]'
6265 # Handle CRLF in mingw tool chain
6269 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6273 # If we're using GNU nm, then use its standard symbol codes.
6274 case `$NM -V 2>&1` in
6275 *GNU
* |
*'with BFD'*)
6276 symcode
='[ABCDGIRSTW]' ;;
6279 # Try without a prefix undercore, then with it.
6280 for ac_symprfx
in "" "_"; do
6282 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6283 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6285 # Write the raw and C identifiers.
6286 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6288 # Check to see that the pipe works correctly.
6292 cat > conftest.
$ac_ext <<EOF
6297 void nm_test_func(){}
6301 int main(){nm_test_var='a';nm_test_func();return(0);}
6304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6305 (eval $ac_compile) 2>&5
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); }; then
6309 # Now try to grab the symbols.
6311 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6312 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315 (exit $ac_status); } && test -s "$nlist"; then
6316 # Try sorting and uniquifying the output.
6317 if sort "$nlist" |
uniq > "$nlist"T
; then
6318 mv -f "$nlist"T
"$nlist"
6323 # Make sure that we snagged all the symbols we need.
6324 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6325 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6326 cat <<EOF > conftest.$ac_ext
6332 # Now generate the symbol file.
6333 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6335 cat <<EOF >> conftest.$ac_ext
6336 #if defined (__STDC__) && __STDC__
6337 # define lt_ptr_t void *
6339 # define lt_ptr_t char *
6343 /* The mapping between symbol names and symbols. */
6348 lt_preloaded_symbols[] =
6351 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6352 cat <<\EOF
>> conftest.
$ac_ext
6360 # Now try linking the two files.
6361 mv conftest.
$ac_objext conftstm.
$ac_objext
6362 lt_save_LIBS
="$LIBS"
6363 lt_save_CFLAGS
="$CFLAGS"
6364 LIBS
="conftstm.$ac_objext"
6365 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6367 (eval $ac_link) 2>&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6373 LIBS
="$lt_save_LIBS"
6374 CFLAGS
="$lt_save_CFLAGS"
6376 echo "cannot find nm_test_func in $nlist" >&5
6379 echo "cannot find nm_test_var in $nlist" >&5
6382 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6385 echo "$progname: failed program was:" >&5
6386 cat conftest.
$ac_ext >&5
6388 rm -f conftest
* conftst
*
6390 # Do not use the global_symbol_pipe unless it works.
6391 if test "$pipe_works" = yes; then
6394 lt_cv_sys_global_symbol_pipe
=
6400 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6401 lt_cv_sys_global_symbol_to_cdecl
=
6403 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6404 { echo "$as_me:$LINENO: result: failed" >&5
6405 echo "${ECHO_T}failed" >&6; }
6407 { echo "$as_me:$LINENO: result: ok" >&5
6408 echo "${ECHO_T}ok" >&6; }
6411 { echo "$as_me:$LINENO: checking for objdir" >&5
6412 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6413 if test "${lt_cv_objdir+set}" = set; then
6414 echo $ECHO_N "(cached) $ECHO_C" >&6
6416 rm -f .libs
2>/dev
/null
6417 mkdir .libs
2>/dev
/null
6418 if test -d .libs
; then
6421 # MS-DOS does not allow filenames that begin with a dot.
6424 rmdir .libs
2>/dev
/null
6426 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6427 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6428 objdir
=$lt_cv_objdir
6436 # AIX sometimes has problems with the GCC collect2 program. For some
6437 # reason, if we set the COLLECT_NAMES environment variable, the problems
6438 # vanish in a puff of smoke.
6439 if test "X${COLLECT_NAMES+set}" != Xset
; then
6441 export COLLECT_NAMES
6446 # Sed substitution that helps us do robust quoting. It backslashifies
6447 # metacharacters that are still active within double-quoted strings.
6448 Xsed
='sed -e 1s/^X//'
6449 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6451 # Same as above, but do not quote variable references.
6452 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6454 # Sed substitution to delay expansion of an escaped shell variable in a
6455 # double_quote_subst'ed string.
6456 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6458 # Sed substitution to avoid accidental globbing in evaled expressions
6459 no_glob_subst
='s/\*/\\\*/g'
6465 default_ofile
=libtool
6466 can_build_shared
=yes
6468 # All known linkers require a `.a' archive for static linking (except MSVC,
6469 # which needs '.lib').
6471 ltmain
="$ac_aux_dir/ltmain.sh"
6472 ofile
="$default_ofile"
6473 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6475 if test -n "$ac_tool_prefix"; then
6476 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6477 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6480 if test "${ac_cv_prog_AR+set}" = set; then
6481 echo $ECHO_N "(cached) $ECHO_C" >&6
6483 if test -n "$AR"; then
6484 ac_cv_prog_AR
="$AR" # Let the user override the test.
6486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6490 test -z "$as_dir" && as_dir
=.
6491 for ac_exec_ext
in '' $ac_executable_extensions; do
6492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6493 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6504 if test -n "$AR"; then
6505 { echo "$as_me:$LINENO: result: $AR" >&5
6506 echo "${ECHO_T}$AR" >&6; }
6508 { echo "$as_me:$LINENO: result: no" >&5
6509 echo "${ECHO_T}no" >&6; }
6514 if test -z "$ac_cv_prog_AR"; then
6516 # Extract the first word of "ar", so it can be a program name with args.
6517 set dummy
ar; ac_word
=$2
6518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6520 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6521 echo $ECHO_N "(cached) $ECHO_C" >&6
6523 if test -n "$ac_ct_AR"; then
6524 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6530 test -z "$as_dir" && as_dir
=.
6531 for ac_exec_ext
in '' $ac_executable_extensions; do
6532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6533 ac_cv_prog_ac_ct_AR
="ar"
6534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6543 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6544 if test -n "$ac_ct_AR"; then
6545 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6546 echo "${ECHO_T}$ac_ct_AR" >&6; }
6548 { echo "$as_me:$LINENO: result: no" >&5
6549 echo "${ECHO_T}no" >&6; }
6552 if test "x$ac_ct_AR" = x
; then
6555 case $cross_compiling:$ac_tool_warned in
6557 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6558 whose name does not start with the host triplet. If you think this
6559 configuration is useful to you, please write to autoconf@gnu.org." >&5
6560 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6561 whose name does not start with the host triplet. If you think this
6562 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6563 ac_tool_warned
=yes ;;
6571 if test -n "$ac_tool_prefix"; then
6572 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6573 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6576 if test "${ac_cv_prog_RANLIB+set}" = set; then
6577 echo $ECHO_N "(cached) $ECHO_C" >&6
6579 if test -n "$RANLIB"; then
6580 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6586 test -z "$as_dir" && as_dir
=.
6587 for ac_exec_ext
in '' $ac_executable_extensions; do
6588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6589 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6599 RANLIB
=$ac_cv_prog_RANLIB
6600 if test -n "$RANLIB"; then
6601 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6602 echo "${ECHO_T}$RANLIB" >&6; }
6604 { echo "$as_me:$LINENO: result: no" >&5
6605 echo "${ECHO_T}no" >&6; }
6610 if test -z "$ac_cv_prog_RANLIB"; then
6611 ac_ct_RANLIB
=$RANLIB
6612 # Extract the first word of "ranlib", so it can be a program name with args.
6613 set dummy ranlib
; ac_word
=$2
6614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6616 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6619 if test -n "$ac_ct_RANLIB"; then
6620 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6626 test -z "$as_dir" && as_dir
=.
6627 for ac_exec_ext
in '' $ac_executable_extensions; do
6628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6629 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6640 if test -n "$ac_ct_RANLIB"; then
6641 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6642 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6644 { echo "$as_me:$LINENO: result: no" >&5
6645 echo "${ECHO_T}no" >&6; }
6648 if test "x$ac_ct_RANLIB" = x
; then
6651 case $cross_compiling:$ac_tool_warned in
6653 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6654 whose name does not start with the host triplet. If you think this
6655 configuration is useful to you, please write to autoconf@gnu.org." >&5
6656 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6657 whose name does not start with the host triplet. If you think this
6658 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6659 ac_tool_warned
=yes ;;
6661 RANLIB
=$ac_ct_RANLIB
6664 RANLIB
="$ac_cv_prog_RANLIB"
6667 if test -n "$ac_tool_prefix"; then
6668 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6669 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6672 if test "${ac_cv_prog_STRIP+set}" = set; then
6673 echo $ECHO_N "(cached) $ECHO_C" >&6
6675 if test -n "$STRIP"; then
6676 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6682 test -z "$as_dir" && as_dir
=.
6683 for ac_exec_ext
in '' $ac_executable_extensions; do
6684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6685 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 STRIP
=$ac_cv_prog_STRIP
6696 if test -n "$STRIP"; then
6697 { echo "$as_me:$LINENO: result: $STRIP" >&5
6698 echo "${ECHO_T}$STRIP" >&6; }
6700 { echo "$as_me:$LINENO: result: no" >&5
6701 echo "${ECHO_T}no" >&6; }
6706 if test -z "$ac_cv_prog_STRIP"; then
6708 # Extract the first word of "strip", so it can be a program name with args.
6709 set dummy strip
; ac_word
=$2
6710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6712 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6713 echo $ECHO_N "(cached) $ECHO_C" >&6
6715 if test -n "$ac_ct_STRIP"; then
6716 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir
=.
6723 for ac_exec_ext
in '' $ac_executable_extensions; do
6724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6725 ac_cv_prog_ac_ct_STRIP
="strip"
6726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6735 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6736 if test -n "$ac_ct_STRIP"; then
6737 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6738 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6740 { echo "$as_me:$LINENO: result: no" >&5
6741 echo "${ECHO_T}no" >&6; }
6744 if test "x$ac_ct_STRIP" = x
; then
6747 case $cross_compiling:$ac_tool_warned in
6749 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6750 whose name does not start with the host triplet. If you think this
6751 configuration is useful to you, please write to autoconf@gnu.org." >&5
6752 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6753 whose name does not start with the host triplet. If you think this
6754 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6755 ac_tool_warned
=yes ;;
6760 STRIP
="$ac_cv_prog_STRIP"
6765 old_CFLAGS
="$CFLAGS"
6767 # Set sane defaults for various variables
6768 test -z "$AR" && AR
=ar
6769 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6770 test -z "$AS" && AS
=as
6771 test -z "$CC" && CC
=cc
6772 test -z "$LTCC" && LTCC
=$CC
6773 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6774 test -z "$LD" && LD
=ld
6775 test -z "$LN_S" && LN_S
="ln -s"
6776 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6777 test -z "$NM" && NM
=nm
6778 test -z "$SED" && SED
=sed
6779 test -z "$OBJDUMP" && OBJDUMP
=objdump
6780 test -z "$RANLIB" && RANLIB
=:
6781 test -z "$STRIP" && STRIP
=:
6782 test -z "$ac_objext" && ac_objext
=o
6784 # Determine commands to create old-style static archives.
6785 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6786 old_postinstall_cmds
='chmod 644 $oldlib'
6787 old_postuninstall_cmds
=
6789 if test -n "$RANLIB"; then
6792 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6795 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6798 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6801 for cc_temp
in $compiler""; do
6803 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6804 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6809 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6812 # Only perform the check for file, if the check method requires it
6813 case $deplibs_check_method in
6815 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6816 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6817 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6818 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6819 echo $ECHO_N "(cached) $ECHO_C" >&6
6823 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6826 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6827 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6828 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6829 for ac_dir
in $ac_dummy; do
6831 test -z "$ac_dir" && ac_dir
=.
6832 if test -f $ac_dir/${ac_tool_prefix}file; then
6833 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6834 if test -n "$file_magic_test_file"; then
6835 case $deplibs_check_method in
6837 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6838 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6839 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6840 $EGREP "$file_magic_regex" > /dev
/null
; then
6845 *** Warning: the command libtool uses to detect shared libraries,
6846 *** $file_magic_cmd, produces output that libtool cannot recognize.
6847 *** The result is that libtool may fail to recognize shared libraries
6848 *** as such. This will affect the creation of libtool libraries that
6849 *** depend on shared libraries, but programs linked with such libtool
6850 *** libraries will work regardless of this problem. Nevertheless, you
6851 *** may want to report the problem to your system manager and/or to
6852 *** bug-libtool@gnu.org
6862 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6867 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6868 if test -n "$MAGIC_CMD"; then
6869 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6870 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6872 { echo "$as_me:$LINENO: result: no" >&5
6873 echo "${ECHO_T}no" >&6; }
6876 if test -z "$lt_cv_path_MAGIC_CMD"; then
6877 if test -n "$ac_tool_prefix"; then
6878 { echo "$as_me:$LINENO: checking for file" >&5
6879 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6880 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6881 echo $ECHO_N "(cached) $ECHO_C" >&6
6885 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6888 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6889 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6890 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6891 for ac_dir
in $ac_dummy; do
6893 test -z "$ac_dir" && ac_dir
=.
6894 if test -f $ac_dir/file; then
6895 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6896 if test -n "$file_magic_test_file"; then
6897 case $deplibs_check_method in
6899 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6900 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6901 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6902 $EGREP "$file_magic_regex" > /dev
/null
; then
6907 *** Warning: the command libtool uses to detect shared libraries,
6908 *** $file_magic_cmd, produces output that libtool cannot recognize.
6909 *** The result is that libtool may fail to recognize shared libraries
6910 *** as such. This will affect the creation of libtool libraries that
6911 *** depend on shared libraries, but programs linked with such libtool
6912 *** libraries will work regardless of this problem. Nevertheless, you
6913 *** may want to report the problem to your system manager and/or to
6914 *** bug-libtool@gnu.org
6924 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6929 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6930 if test -n "$MAGIC_CMD"; then
6931 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6932 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6934 { echo "$as_me:$LINENO: result: no" >&5
6935 echo "${ECHO_T}no" >&6; }
6950 # Check whether --enable-libtool-lock was given.
6951 if test "${enable_libtool_lock+set}" = set; then
6952 enableval
=$enable_libtool_lock;
6955 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6958 # Check whether --with-pic was given.
6959 if test "${with_pic+set}" = set; then
6960 withval
=$with_pic; pic_mode
="$withval"
6965 test -z "$pic_mode" && pic_mode
=default
6967 # Use C for the default configuration in the libtool script
6971 ac_cpp
='$CPP $CPPFLAGS'
6972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6977 # Source file extension for C test sources.
6980 # Object file extension for compiled C test sources.
6984 # Code to be used in simple compile tests
6985 lt_simple_compile_test_code
="int some_variable = 0;\n"
6987 # Code to be used in simple link tests
6988 lt_simple_link_test_code
='int main(){return(0);}\n'
6991 # If no C compiler was specified, use CC.
6994 # Allow CC to be a program name with arguments.
6998 # save warnings/boilerplate of simple test code
6999 ac_outfile
=conftest.
$ac_objext
7000 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7001 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
7002 _lt_compiler_boilerplate
=`cat conftest.err`
7005 ac_outfile
=conftest.
$ac_objext
7006 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7007 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
7008 _lt_linker_boilerplate
=`cat conftest.err`
7013 # Check for any special shared library compilation flags.
7016 if test "$GCC" = no
; then
7019 lt_prog_cc_shlib
='-belf'
7023 if test -n "$lt_prog_cc_shlib"; then
7024 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
7025 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
7026 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
7028 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
7029 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
7030 lt_cv_prog_cc_can_build_shared
=no
7036 # Check to make sure the static flag actually works.
7038 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
7039 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
7040 if test "${lt_prog_compiler_static_works+set}" = set; then
7041 echo $ECHO_N "(cached) $ECHO_C" >&6
7043 lt_prog_compiler_static_works
=no
7044 save_LDFLAGS
="$LDFLAGS"
7045 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
7046 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7047 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7048 # The linker can only warn and ignore the option if not recognized
7049 # So say no if there are warnings
7050 if test -s conftest.err
; then
7051 # Append any errors to the config.log.
7052 cat conftest.err
1>&5
7053 $echo "X$_lt_linker_boilerplate" |
$Xsed > conftest.exp
7054 $SED '/^$/d' conftest.err
>conftest.er2
7055 if diff conftest.exp conftest.er2
>/dev
/null
; then
7056 lt_prog_compiler_static_works
=yes
7059 lt_prog_compiler_static_works
=yes
7063 LDFLAGS
="$save_LDFLAGS"
7066 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7067 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7069 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7072 lt_prog_compiler_static
=
7078 lt_prog_compiler_no_builtin_flag
=
7080 if test "$GCC" = yes; then
7081 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7084 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7085 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7086 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7087 echo $ECHO_N "(cached) $ECHO_C" >&6
7089 lt_cv_prog_compiler_rtti_exceptions
=no
7090 ac_outfile
=conftest.
$ac_objext
7091 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7092 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7093 # Insert the option either (1) after the last *FLAGS variable, or
7094 # (2) before a word containing "conftest.", or (3) at the end.
7095 # Note that $ac_compile itself does not contain backslashes and begins
7096 # with a dollar sign (not a hyphen), so the echo should work correctly.
7097 # The option is referenced via a variable to avoid confusing sed.
7098 lt_compile
=`echo "$ac_compile" | $SED \
7099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7101 -e 's:$: $lt_compiler_flag:'`
7102 (eval echo "\"\$as_me:7102: $lt_compile\"" >&5)
7103 (eval "$lt_compile" 2>conftest.err
)
7105 cat conftest.err
>&5
7106 echo "$as_me:7106: \$? = $ac_status" >&5
7107 if (exit $ac_status) && test -s "$ac_outfile"; then
7108 # The compiler can only warn and ignore the option if not recognized
7109 # So say no if there are warnings other than the usual output.
7110 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
7111 $SED '/^$/d' conftest.err
>conftest.er2
7112 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7113 lt_cv_prog_compiler_rtti_exceptions
=yes
7119 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7120 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7122 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7123 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7130 lt_prog_compiler_wl
=
7131 lt_prog_compiler_pic
=
7132 lt_prog_compiler_static
=
7134 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7135 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7137 if test "$GCC" = yes; then
7138 lt_prog_compiler_wl
='-Wl,'
7139 lt_prog_compiler_static
='-static'
7143 # All AIX code is PIC.
7144 if test "$host_cpu" = ia64
; then
7145 # AIX 5 now supports IA64 processor
7146 lt_prog_compiler_static
='-Bstatic'
7151 # FIXME: we need at least 68020 code to build shared libraries, but
7152 # adding the `-m68020' flag to GCC prevents building anything better,
7154 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7157 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7158 # PIC is the default for these OSes.
7161 mingw
* | pw32
* | os2
*)
7162 # This hack is so that the source file can tell whether it is being
7163 # built for inclusion in a dll (and should export symbols for example).
7164 lt_prog_compiler_pic
='-DDLL_EXPORT'
7167 darwin
* | rhapsody
*)
7168 # PIC is the default on this platform
7169 # Common symbols not allowed in MH_DYLIB files
7170 lt_prog_compiler_pic
='-fno-common'
7174 # Just because we use GCC doesn't mean we suddenly get shared libraries
7175 # on systems that don't support them.
7176 lt_prog_compiler_can_build_shared
=no
7181 if test -d /usr
/nec
; then
7182 lt_prog_compiler_pic
=-Kconform_pic
7187 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7194 lt_prog_compiler_pic
='-fPIC'
7200 lt_prog_compiler_pic
='-fPIC'
7204 # PORTME Check for flag to pass linker flags through the system compiler.
7207 lt_prog_compiler_wl
='-Wl,'
7208 if test "$host_cpu" = ia64
; then
7209 # AIX 5 now supports IA64 processor
7210 lt_prog_compiler_static
='-Bstatic'
7212 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7216 # PIC is the default on this platform
7217 # Common symbols not allowed in MH_DYLIB files
7218 case $cc_basename in
7220 lt_prog_compiler_pic
='-qnocommon'
7221 lt_prog_compiler_wl
='-Wl,'
7226 mingw
* | pw32
* | os2
*)
7227 # This hack is so that the source file can tell whether it is being
7228 # built for inclusion in a dll (and should export symbols for example).
7229 lt_prog_compiler_pic
='-DDLL_EXPORT'
7232 hpux9
* | hpux10
* | hpux11
*)
7233 lt_prog_compiler_wl
='-Wl,'
7234 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7241 lt_prog_compiler_pic
='+Z'
7244 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7245 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7248 irix5
* | irix6
* | nonstopux
*)
7249 lt_prog_compiler_wl
='-Wl,'
7250 # PIC (with -KPIC) is the default.
7251 lt_prog_compiler_static
='-non_shared'
7255 lt_prog_compiler_pic
='-KPIC'
7256 lt_prog_compiler_static
='-Bstatic'
7260 case $cc_basename in
7262 lt_prog_compiler_wl
='-Wl,'
7263 lt_prog_compiler_pic
='-KPIC'
7264 lt_prog_compiler_static
='-static'
7266 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7267 # Portland Group compilers (*not* the Pentium gcc compiler,
7268 # which looks to be a dead project)
7269 lt_prog_compiler_wl
='-Wl,'
7270 lt_prog_compiler_pic
='-fpic'
7271 lt_prog_compiler_static
='-Bstatic'
7274 lt_prog_compiler_wl
='-Wl,'
7275 # All Alpha code is PIC.
7276 lt_prog_compiler_static
='-non_shared'
7281 osf3
* | osf4
* | osf5
*)
7282 lt_prog_compiler_wl
='-Wl,'
7283 # All OSF/1 code is PIC.
7284 lt_prog_compiler_static
='-non_shared'
7288 lt_prog_compiler_pic
='-Kpic'
7289 lt_prog_compiler_static
='-dn'
7293 lt_prog_compiler_pic
='-KPIC'
7294 lt_prog_compiler_static
='-Bstatic'
7295 case $cc_basename in
7297 lt_prog_compiler_wl
='-Qoption ld ';;
7299 lt_prog_compiler_wl
='-Wl,';;
7304 lt_prog_compiler_wl
='-Qoption ld '
7305 lt_prog_compiler_pic
='-PIC'
7306 lt_prog_compiler_static
='-Bstatic'
7309 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7310 lt_prog_compiler_wl
='-Wl,'
7311 lt_prog_compiler_pic
='-KPIC'
7312 lt_prog_compiler_static
='-Bstatic'
7316 if test -d /usr
/nec
;then
7317 lt_prog_compiler_pic
='-Kconform_pic'
7318 lt_prog_compiler_static
='-Bstatic'
7323 lt_prog_compiler_wl
='-Wl,'
7324 lt_prog_compiler_can_build_shared
=no
7328 lt_prog_compiler_pic
='-pic'
7329 lt_prog_compiler_static
='-Bstatic'
7333 lt_prog_compiler_can_build_shared
=no
7338 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7339 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7342 # Check to make sure the PIC flag actually works.
7344 if test -n "$lt_prog_compiler_pic"; then
7346 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7347 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7348 if test "${lt_prog_compiler_pic_works+set}" = set; then
7349 echo $ECHO_N "(cached) $ECHO_C" >&6
7351 lt_prog_compiler_pic_works
=no
7352 ac_outfile
=conftest.
$ac_objext
7353 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7354 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7355 # Insert the option either (1) after the last *FLAGS variable, or
7356 # (2) before a word containing "conftest.", or (3) at the end.
7357 # Note that $ac_compile itself does not contain backslashes and begins
7358 # with a dollar sign (not a hyphen), so the echo should work correctly.
7359 # The option is referenced via a variable to avoid confusing sed.
7360 lt_compile
=`echo "$ac_compile" | $SED \
7361 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7362 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7363 -e 's:$: $lt_compiler_flag:'`
7364 (eval echo "\"\$as_me:7364: $lt_compile\"" >&5)
7365 (eval "$lt_compile" 2>conftest.err
)
7367 cat conftest.err
>&5
7368 echo "$as_me:7368: \$? = $ac_status" >&5
7369 if (exit $ac_status) && test -s "$ac_outfile"; then
7370 # The compiler can only warn and ignore the option if not recognized
7371 # So say no if there are warnings other than the usual output.
7372 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
7373 $SED '/^$/d' conftest.err
>conftest.er2
7374 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7375 lt_prog_compiler_pic_works
=yes
7381 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7382 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7384 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7385 case $lt_prog_compiler_pic in
7387 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7390 lt_prog_compiler_pic
=
7391 lt_prog_compiler_can_build_shared
=no
7396 # For platforms which do not support PIC, -DPIC is meaningless:
7398 lt_prog_compiler_pic
=
7401 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7405 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7406 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7407 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7408 echo $ECHO_N "(cached) $ECHO_C" >&6
7410 lt_cv_prog_compiler_c_o
=no
7411 $rm -r conftest
2>/dev
/null
7415 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7417 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7418 # Insert the option either (1) after the last *FLAGS variable, or
7419 # (2) before a word containing "conftest.", or (3) at the end.
7420 # Note that $ac_compile itself does not contain backslashes and begins
7421 # with a dollar sign (not a hyphen), so the echo should work correctly.
7422 lt_compile
=`echo "$ac_compile" | $SED \
7423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7425 -e 's:$: $lt_compiler_flag:'`
7426 (eval echo "\"\$as_me:7426: $lt_compile\"" >&5)
7427 (eval "$lt_compile" 2>out
/conftest.err
)
7429 cat out
/conftest.err
>&5
7430 echo "$as_me:7430: \$? = $ac_status" >&5
7431 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7433 # The compiler can only warn and ignore the option if not recognized
7434 # So say no if there are warnings
7435 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
7436 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
7437 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7438 lt_cv_prog_compiler_c_o
=yes
7443 # SGI C++ compiler will create directory out/ii_files/ for
7444 # template instantiation
7445 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7446 $rm out
/* && rmdir out
7452 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7453 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7456 hard_links
="nottested"
7457 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7458 # do not overwrite the value of need_locks provided by the user
7459 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7460 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7463 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7465 ln conftest.a conftest.b
2>&5 || hard_links
=no
7466 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7467 { echo "$as_me:$LINENO: result: $hard_links" >&5
7468 echo "${ECHO_T}$hard_links" >&6; }
7469 if test "$hard_links" = no
; then
7470 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7471 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7478 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7479 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7482 allow_undefined_flag
=
7483 enable_shared_with_static_runtimes
=no
7485 archive_expsym_cmds
=
7486 old_archive_From_new_cmds
=
7487 old_archive_from_expsyms_cmds
=
7488 export_dynamic_flag_spec
=
7489 whole_archive_flag_spec
=
7490 thread_safe_flag_spec
=
7491 hardcode_libdir_flag_spec
=
7492 hardcode_libdir_flag_spec_ld
=
7493 hardcode_libdir_separator
=
7496 hardcode_shlibpath_var
=unsupported
7497 link_all_deplibs
=unknown
7498 hardcode_automatic
=no
7501 always_export_symbols
=no
7502 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7503 # include_expsyms should be a list of space-separated symbols to be *always*
7504 # included in the symbol list
7506 # exclude_expsyms can be an extended regexp of symbols to exclude
7507 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7508 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7509 # as well as any symbol that contains `d'.
7510 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7511 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7512 # platforms (ab)use it in PIC code, but their linkers get confused if
7513 # the symbol is explicitly referenced. Since portable code cannot
7514 # rely on this symbol name, it's probably fine to never include it in
7515 # preloaded symbol tables.
7516 extract_expsyms_cmds
=
7517 # Just being paranoid about ensuring that cc_basename is set.
7518 for cc_temp
in $compiler""; do
7520 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7521 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7526 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7529 cygwin
* | mingw
* | pw32
*)
7530 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7531 # When not using gcc, we currently assume that we are using
7532 # Microsoft Visual C++.
7533 if test "$GCC" != yes; then
7543 if test "$with_gnu_ld" = yes; then
7544 # If archive_cmds runs LD, not CC, wlarc should be empty
7547 # Set some defaults for GNU ld with shared library support. These
7548 # are reset later if shared libraries are not supported. Putting them
7549 # here allows them to be overridden if necessary.
7550 runpath_var
=LD_RUN_PATH
7551 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7552 export_dynamic_flag_spec
='${wl}--export-dynamic'
7553 # ancient GNU ld didn't support --whole-archive et. al.
7554 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7555 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7557 whole_archive_flag_spec
=
7559 supports_anon_versioning
=no
7560 case `$LD -v 2>/dev/null` in
7561 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7562 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7563 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7564 *\
2.11.
*) ;; # other 2.11 versions
7565 *) supports_anon_versioning
=yes ;;
7568 # See if GNU ld supports shared libraries.
7570 aix3
* | aix4
* | aix5
*)
7571 # On AIX/PPC, the GNU linker is very broken
7572 if test "$host_cpu" != ia64
; then
7576 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7577 *** to be unable to reliably create shared libraries on AIX.
7578 *** Therefore, libtool is disabling shared libraries support. If you
7579 *** really care for shared libraries, you may want to modify your PATH
7580 *** so that a non-GNU linker is found, and then restart.
7587 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)'
7588 hardcode_libdir_flag_spec
='-L$libdir'
7589 hardcode_minus_L
=yes
7591 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7592 # that the semantics of dynamic libraries on AmigaOS, at least up
7593 # to version 4, is to share data among multiple programs linked
7594 # with the same dynamic library. Since this doesn't match the
7595 # behavior of shared libraries on other platforms, we can't use
7601 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7602 allow_undefined_flag
=unsupported
7603 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7604 # support --undefined. This deserves some investigation. FIXME
7605 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7611 cygwin
* | mingw
* | pw32
*)
7612 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7613 # as there is no search path for DLLs.
7614 hardcode_libdir_flag_spec
='-L$libdir'
7615 allow_undefined_flag
=unsupported
7616 always_export_symbols
=no
7617 enable_shared_with_static_runtimes
=yes
7618 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7620 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7621 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7622 # If the export-symbols file already is a .def file (1st line
7623 # is EXPORTS), use it as is; otherwise, prepend...
7624 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7625 cp $export_symbols $output_objdir/$soname.def;
7627 echo EXPORTS > $output_objdir/$soname.def;
7628 cat $export_symbols >> $output_objdir/$soname.def;
7630 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7637 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7639 case $cc_basename,$host_cpu in
7640 pgcc
*) # Portland Group C compiler
7641 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'
7642 tmp_addflag
=' $pic_flag'
7644 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7645 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'
7646 tmp_addflag
=' $pic_flag -Mnomain' ;;
7647 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7648 tmp_addflag
=' -i_dynamic' ;;
7649 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7650 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7651 ifc
* | ifort
*) # Intel Fortran compiler
7652 tmp_addflag
=' -nofor_main' ;;
7654 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7656 if test $supports_anon_versioning = yes; then
7657 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7658 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7659 $echo "local: *; };" >> $output_objdir/$libname.ver~
7660 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7668 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
7669 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7670 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7673 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7674 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7679 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7683 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7684 *** create shared libraries on Solaris systems. Therefore, libtool
7685 *** is disabling shared libraries support. We urge you to upgrade GNU
7686 *** binutils to release 2.9.1 or newer. Another option is to modify
7687 *** your PATH or compiler configuration so that the native linker is
7688 *** used, and then restart.
7691 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7692 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7693 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7700 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7703 hardcode_shlibpath_var
=no
7707 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7708 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7709 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7716 if test "$ld_shlibs" = no
; then
7718 hardcode_libdir_flag_spec
=
7719 export_dynamic_flag_spec
=
7720 whole_archive_flag_spec
=
7723 # PORTME fill in a description of your system's linker (not GNU ld)
7726 allow_undefined_flag
=unsupported
7727 always_export_symbols
=yes
7728 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'
7729 # Note: this linker hardcodes the directories in LIBPATH if there
7730 # are no directories specified by -L.
7731 hardcode_minus_L
=yes
7732 if test "$GCC" = yes && test -z "$link_static_flag"; then
7733 # Neither direct hardcoding nor static linking is supported with a
7735 hardcode_direct
=unsupported
7740 if test "$host_cpu" = ia64
; then
7741 # On IA64, the linker does run time linking by default, so we don't
7742 # have to do anything special.
7743 aix_use_runtimelinking
=no
7744 exp_sym_flag
='-Bexport'
7747 # If we're using GNU nm, then we don't want the "-C" option.
7748 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7749 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7750 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'
7752 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'
7754 aix_use_runtimelinking
=no
7756 # Test if we are trying to use run time linking or normal
7757 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7758 # need to do runtime linking.
7759 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7760 for ld_flag
in $LDFLAGS; do
7761 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7762 aix_use_runtimelinking
=yes
7768 exp_sym_flag
='-bexport'
7769 no_entry_flag
='-bnoentry'
7772 # When large executables or shared objects are built, AIX ld can
7773 # have problems creating the table of contents. If linking a library
7774 # or program results in "error TOC overflow" add -mminimal-toc to
7775 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7776 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7780 hardcode_libdir_separator
=':'
7781 link_all_deplibs
=yes
7783 if test "$GCC" = yes; then
7784 case $host_os in aix4.
[012]|aix4.
[012].
*)
7785 # We only want to do this on AIX 4.2 and lower, the check
7786 # below for broken collect2 doesn't work under 4.3+
7787 collect2name
=`${CC} -print-prog-name=collect2`
7788 if test -f "$collect2name" && \
7789 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7791 # We have reworked collect2
7794 # We have old collect2
7795 hardcode_direct
=unsupported
7796 # It fails to find uninstalled libraries when the uninstalled
7797 # path is not listed in the libpath. Setting hardcode_minus_L
7798 # to unsupported forces relinking
7799 hardcode_minus_L
=yes
7800 hardcode_libdir_flag_spec
='-L$libdir'
7801 hardcode_libdir_separator
=
7804 shared_flag
='-shared'
7805 if test "$aix_use_runtimelinking" = yes; then
7806 shared_flag
="$shared_flag "'${wl}-G'
7810 if test "$host_cpu" = ia64
; then
7811 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7812 # chokes on -Wl,-G. The following line is correct:
7815 if test "$aix_use_runtimelinking" = yes; then
7816 shared_flag
='${wl}-G'
7818 shared_flag
='${wl}-bM:SRE'
7823 # It seems that -bexpall does not export symbols beginning with
7824 # underscore (_), so it is better to generate a list of symbols to export.
7825 always_export_symbols
=yes
7826 if test "$aix_use_runtimelinking" = yes; then
7827 # Warning - without using the other runtime loading flags (-brtl),
7828 # -berok will link without error, but may produce a broken library.
7829 allow_undefined_flag
='-berok'
7830 # Determine the default libpath from the value encoded in an empty executable.
7831 cat >conftest.
$ac_ext <<_ACEOF
7834 cat confdefs.h
>>conftest.
$ac_ext
7835 cat >>conftest.
$ac_ext <<_ACEOF
7836 /* end confdefs.h. */
7846 rm -f conftest.
$ac_objext conftest
$ac_exeext
7847 if { (ac_try
="$ac_link"
7849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7850 *) ac_try_echo=$ac_try;;
7852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7853 (eval "$ac_link") 2>conftest.er1
7855 grep -v '^ *+' conftest.er1 >conftest.err
7857 cat conftest.err >&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); } && {
7860 test -z "$ac_c_werror_flag" ||
7861 test ! -s conftest.err
7862 } && test -s conftest$ac_exeext &&
7863 $as_test_x conftest$ac_exeext; then
7865 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7867 # Check for a 64-bit object if we didn't find anything.
7868 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7871 echo "$as_me: failed program was:" >&5
7872 sed 's/^/| /' conftest.$ac_ext >&5
7877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7878 conftest$ac_exeext conftest.$ac_ext
7879 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7881 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7882 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7884 if test "$host_cpu" = ia64
; then
7885 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7886 allow_undefined_flag
="-z nodefs"
7887 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
7889 # Determine the default libpath from the value encoded in an empty executable.
7890 cat >conftest.$ac_ext <<_ACEOF
7893 cat confdefs.h >>conftest.$ac_ext
7894 cat >>conftest.$ac_ext <<_ACEOF
7895 /* end confdefs.h. */
7905 rm -f conftest.$ac_objext conftest$ac_exeext
7906 if { (ac_try="$ac_link"
7908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7909 *) ac_try_echo=$ac_try;;
7911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7912 (eval "$ac_link") 2>conftest.er1
7914 grep -v '^
*+' conftest.er1 >conftest.err
7916 cat conftest.err >&5
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); } && {
7919 test -z "$ac_c_werror_flag" ||
7920 test ! -s conftest.err
7921 } && test -s conftest$ac_exeext &&
7922 $as_test_x conftest$ac_exeext; then
7924 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
7926 # Check for a 64-bit object if we didn't
find anything.
7927 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7930 echo "$as_me: failed program was:" >&5
7931 sed 's/^/| /' conftest.
$ac_ext >&5
7936 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7937 conftest
$ac_exeext conftest.
$ac_ext
7938 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7940 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7941 # Warning - without using the other run time loading flags,
7942 # -berok will link without error, but may produce a broken library.
7943 no_undefined_flag
=' ${wl}-bernotok'
7944 allow_undefined_flag
=' ${wl}-berok'
7945 # -bexpall does not export symbols beginning with underscore (_)
7946 always_export_symbols
=yes
7947 # Exported symbols can be pulled into shared objects from archives
7948 whole_archive_flag_spec
=' '
7949 archive_cmds_need_lc
=yes
7950 # This is similar to how AIX traditionally builds its shared libraries.
7951 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7957 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)'
7958 hardcode_libdir_flag_spec
='-L$libdir'
7959 hardcode_minus_L
=yes
7960 # see comment about different semantics on the GNU ld section
7965 export_dynamic_flag_spec
=-rdynamic
7968 cygwin
* | mingw
* | pw32
*)
7969 # When not using gcc, we currently assume that we are using
7970 # Microsoft Visual C++.
7971 # hardcode_libdir_flag_spec is actually meaningless, as there is
7972 # no search path for DLLs.
7973 hardcode_libdir_flag_spec
=' '
7974 allow_undefined_flag
=unsupported
7975 # Tell ltmain to make .lib files, not .a files.
7977 # Tell ltmain to make .dll files, not .so files.
7979 # FIXME: Setting linknames here is a bad hack.
7980 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7981 # The linker will automatically build a .lib file if we build a DLL.
7982 old_archive_From_new_cmds
='true'
7983 # FIXME: Should let the user specify the lib program.
7984 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7985 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7986 enable_shared_with_static_runtimes
=yes
7989 darwin
* | rhapsody
*)
7991 rhapsody
* | darwin1.
[012])
7992 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7995 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7996 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7998 case ${MACOSX_DEPLOYMENT_TARGET} in
8000 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8003 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8009 archive_cmds_need_lc
=no
8011 hardcode_automatic
=yes
8012 hardcode_shlibpath_var
=unsupported
8013 whole_archive_flag_spec
=''
8014 link_all_deplibs
=yes
8015 if test "$GCC" = yes ; then
8016 output_verbose_link_cmd
='echo'
8017 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8018 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8019 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8020 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8021 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}'
8023 case $cc_basename in
8025 output_verbose_link_cmd
='echo'
8026 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8027 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8028 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8029 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8030 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}'
8040 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8041 hardcode_libdir_flag_spec
='-L$libdir'
8042 hardcode_shlibpath_var
=no
8049 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8050 # support. Future versions do this automatically, but an explicit c++rt0.o
8051 # does not break anything, and helps significantly (at the cost of a little
8054 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8055 hardcode_libdir_flag_spec
='-R$libdir'
8057 hardcode_shlibpath_var
=no
8060 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8062 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8064 hardcode_minus_L
=yes
8065 hardcode_shlibpath_var
=no
8068 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8069 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8070 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8071 hardcode_libdir_flag_spec
='-R$libdir'
8073 hardcode_shlibpath_var
=no
8077 if test "$GCC" = yes; then
8078 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'
8080 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'
8082 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8083 hardcode_libdir_separator
=:
8086 # hardcode_minus_L: Not really in the search PATH,
8087 # but as the default location of the library.
8088 hardcode_minus_L
=yes
8089 export_dynamic_flag_spec
='${wl}-E'
8093 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8096 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8099 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8105 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
8108 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8112 if test "$with_gnu_ld" = no
; then
8115 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8116 hardcode_libdir_flag_spec_ld
='+b $libdir'
8117 hardcode_libdir_separator
=:
8119 hardcode_shlibpath_var
=no
8122 hardcode_libdir_flag_spec
='-L$libdir'
8124 hardcode_shlibpath_var
=no
8126 # hardcode_minus_L: Not really in the search PATH,
8127 # but as the default location of the library.
8128 hardcode_minus_L
=yes
8131 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8132 hardcode_libdir_separator
=:
8134 export_dynamic_flag_spec
='${wl}-E'
8136 # hardcode_minus_L: Not really in the search PATH,
8137 # but as the default location of the library.
8138 hardcode_minus_L
=yes
8144 irix5
* | irix6
* | nonstopux
*)
8145 if test "$GCC" = yes; then
8146 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'
8148 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'
8149 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8151 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8152 hardcode_libdir_separator
=:
8153 link_all_deplibs
=yes
8156 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
8157 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8158 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8160 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8162 hardcode_libdir_flag_spec
='-R$libdir'
8164 hardcode_shlibpath_var
=no
8168 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8170 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8171 hardcode_libdir_separator
=:
8172 hardcode_shlibpath_var
=no
8177 hardcode_shlibpath_var
=no
8178 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8179 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8180 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8181 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8182 export_dynamic_flag_spec
='${wl}-E'
8185 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8186 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8187 hardcode_libdir_flag_spec
='-R$libdir'
8190 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8191 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8198 hardcode_libdir_flag_spec
='-L$libdir'
8199 hardcode_minus_L
=yes
8200 allow_undefined_flag
=unsupported
8201 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'
8202 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8206 if test "$GCC" = yes; then
8207 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8208 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'
8210 allow_undefined_flag
=' -expect_unresolved \*'
8211 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'
8213 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8214 hardcode_libdir_separator
=:
8217 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8218 if test "$GCC" = yes; then
8219 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8220 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'
8221 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8223 allow_undefined_flag
=' -expect_unresolved \*'
8224 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'
8225 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8226 $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'
8228 # Both c and cxx compiler support -rpath directly
8229 hardcode_libdir_flag_spec
='-rpath $libdir'
8231 hardcode_libdir_separator
=:
8235 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8236 hardcode_shlibpath_var
=no
8237 export_dynamic_flag_spec
='${wl}-Bexport'
8238 runpath_var
=LD_RUN_PATH
8239 hardcode_runpath_var
=yes
8243 no_undefined_flag
=' -z text'
8244 if test "$GCC" = yes; then
8246 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8247 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8248 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8251 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8252 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8253 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8255 hardcode_libdir_flag_spec
='-R$libdir'
8256 hardcode_shlibpath_var
=no
8258 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8260 # The compiler driver will combine linker options so we
8261 # cannot just pass the convience library names through
8262 # without $wl, iff we do not link with $LD.
8263 # Luckily, gcc supports the same syntax we need for Sun Studio.
8264 # Supported since Solaris 2.6 (maybe 2.5.1?)
8267 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8269 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8272 link_all_deplibs
=yes
8276 if test "x$host_vendor" = xsequent
; then
8277 # Use $CC to link under sequent, because it throws in some extra .o
8278 # files that make .init and .fini sections work.
8279 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8281 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8283 hardcode_libdir_flag_spec
='-L$libdir'
8285 hardcode_minus_L
=yes
8286 hardcode_shlibpath_var
=no
8290 case $host_vendor in
8292 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8293 hardcode_direct
=yes # is this really true???
8296 ## LD is ld it makes a PLAMLIB
8297 ## CC just makes a GrossModule.
8298 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8299 reload_cmds
='$CC -r -o $output$reload_objs'
8303 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8304 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8307 runpath_var
='LD_RUN_PATH'
8308 hardcode_shlibpath_var
=no
8312 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8313 hardcode_shlibpath_var
=no
8314 export_dynamic_flag_spec
='-Bexport'
8318 if test -d /usr
/nec
; then
8319 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8320 hardcode_shlibpath_var
=no
8321 runpath_var
=LD_RUN_PATH
8322 hardcode_runpath_var
=yes
8328 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8331 hardcode_shlibpath_var
=no
8332 hardcode_runpath_var
=yes
8333 runpath_var
=LD_RUN_PATH
8336 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
8337 no_undefined_flag
='${wl}-z ${wl}text'
8338 if test "$GCC" = yes; then
8339 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8341 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8343 runpath_var
='LD_RUN_PATH'
8344 hardcode_shlibpath_var
=no
8348 no_undefined_flag
=' -z text'
8349 # $CC -shared without GNU ld will not create a library from C++
8350 # object files and a static libstdc++, better avoid it by now
8351 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8352 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8353 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8354 hardcode_libdir_flag_spec
=
8355 hardcode_shlibpath_var
=no
8356 runpath_var
='LD_RUN_PATH'
8360 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8361 hardcode_libdir_flag_spec
='-L$libdir'
8362 hardcode_shlibpath_var
=no
8371 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8372 echo "${ECHO_T}$ld_shlibs" >&6; }
8373 test "$ld_shlibs" = no
&& can_build_shared
=no
8375 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8376 if test "$GCC" = yes; then
8377 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8381 # Do we need to explicitly link libc?
8383 case "x$archive_cmds_need_lc" in
8385 # Assume -lc should be added
8386 archive_cmds_need_lc
=yes
8388 if test "$enable_shared" = yes && test "$GCC" = yes; then
8389 case $archive_cmds in
8391 # FIXME: we may have to deal with multi-command sequences.
8394 # Test whether the compiler implicitly links with -lc since on some
8395 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8396 # to ld, don't add -lc before -lgcc.
8397 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8398 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8400 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8403 (eval $ac_compile) 2>&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } 2>conftest.err
; then
8409 libobjs
=conftest.
$ac_objext
8411 wl
=$lt_prog_compiler_wl
8417 lt_save_allow_undefined_flag
=$allow_undefined_flag
8418 allow_undefined_flag
=
8419 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8420 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); }
8425 archive_cmds_need_lc
=no
8427 archive_cmds_need_lc
=yes
8429 allow_undefined_flag
=$lt_save_allow_undefined_flag
8431 cat conftest.err
1>&5
8434 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8435 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8442 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8443 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8445 libname_spec
='lib$name'
8453 shlibpath_overrides_runpath
=unknown
8455 dynamic_linker
="$host_os ld.so"
8456 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8457 if test "$GCC" = yes; then
8458 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8459 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8460 # if the path contains ";" then we assume it to be the separator
8461 # otherwise default to the standard path separator (i.e. ":") - it is
8462 # assumed that no part of a normal pathname contains ";" but that should
8463 # okay in the real world where ";" in dirpaths is itself problematic.
8464 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8466 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8469 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8471 need_lib_prefix
=unknown
8472 hardcode_into_libs
=no
8474 # when you set need_version to no, make sure it does not cause -set_version
8475 # flags to be left without arguments
8476 need_version
=unknown
8481 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8482 shlibpath_var
=LIBPATH
8484 # AIX 3 has no versioning support, so we append a major version to the name.
8485 soname_spec
='${libname}${release}${shared_ext}$major'
8492 hardcode_into_libs
=yes
8493 if test "$host_cpu" = ia64
; then
8494 # AIX 5 supports IA64
8495 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8496 shlibpath_var
=LD_LIBRARY_PATH
8498 # With GCC up to 2.95.x, collect2 would create an import file
8499 # for dependence libraries. The import file would start with
8500 # the line `#! .'. This would cause the generated library to
8501 # depend on `.', always an invalid library. This was fixed in
8502 # development snapshots of GCC prior to 3.0.
8504 aix4 | aix4.
[01] | aix4.
[01].
*)
8505 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8507 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8514 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8515 # soname into executable. Probably we can add versioning support to
8516 # collect2, so additional links can be useful in future.
8517 if test "$aix_use_runtimelinking" = yes; then
8518 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8519 # instead of lib<name>.a to let people know that these are not
8520 # typical AIX shared libraries.
8521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8523 # We preserve .a as extension for shared libraries through AIX4.2
8524 # and later when we are not doing run time linking.
8525 library_names_spec
='${libname}${release}.a $libname.a'
8526 soname_spec
='${libname}${release}${shared_ext}$major'
8528 shlibpath_var
=LIBPATH
8533 library_names_spec
='$libname.ixlibrary $libname.a'
8534 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8535 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'
8539 library_names_spec
='${libname}${shared_ext}'
8540 dynamic_linker
="$host_os ld.so"
8541 shlibpath_var
=LIBRARY_PATH
8547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8548 soname_spec
='${libname}${release}${shared_ext}$major'
8549 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8550 shlibpath_var
=LD_LIBRARY_PATH
8551 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8552 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8553 # the default ld.so.conf also contains /usr/contrib/lib and
8554 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8555 # libtool to hard-code these into programs
8558 cygwin
* | mingw
* | pw32
*)
8559 version_type
=windows
8564 case $GCC,$host_os in
8565 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8566 library_names_spec
='$libname.dll.a'
8567 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8568 postinstall_cmds
='base_file=`basename \${file}`~
8569 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8570 dldir=$destdir/`dirname \$dlpath`~
8571 test -d \$dldir || mkdir -p \$dldir~
8572 $install_prog $dir/$dlname \$dldir/$dlname~
8573 chmod a+x \$dldir/$dlname'
8574 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8575 dlpath=$dir/\$dldll~
8577 shlibpath_overrides_runpath
=yes
8581 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8582 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8583 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8586 # MinGW DLLs use traditional 'lib' prefix
8587 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8588 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8589 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8590 # It is most probably a Windows format PATH printed by
8591 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8592 # path with ; separators, and with drive letters. We can handle the
8593 # drive letters (cygwin fileutils understands them), so leave them,
8594 # especially as we might pass files found there to a mingw objdump,
8595 # which wouldn't understand a cygwinified path. Ahh.
8596 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8598 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8602 # pw32 DLLs use 'pw' prefix rather than 'lib'
8603 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8609 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8612 dynamic_linker
='Win32 ld.exe'
8613 # FIXME: first we should search . and the directory the executable is in
8617 darwin
* | rhapsody
*)
8618 dynamic_linker
="$host_os dyld"
8622 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8623 soname_spec
='${libname}${release}${major}$shared_ext'
8624 shlibpath_overrides_runpath
=yes
8625 shlibpath_var
=DYLD_LIBRARY_PATH
8626 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8627 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8628 if test "$GCC" = yes; then
8629 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8631 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8633 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8641 soname_spec
='${libname}${release}${shared_ext}$major'
8642 shlibpath_var
=LD_LIBRARY_PATH
8653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8654 soname_spec
='${libname}${release}${shared_ext}$major'
8655 shlibpath_var
=LD_LIBRARY_PATH
8656 shlibpath_overrides_runpath
=no
8657 hardcode_into_libs
=yes
8658 dynamic_linker
='GNU ld.so'
8661 freebsd
* | dragonfly
*)
8662 # DragonFly does not have aout. When/if they implement a new
8663 # versioning mechanism, adjust this.
8664 if test -x /usr
/bin
/objformat
; then
8665 objformat
=`/usr/bin/objformat`
8668 freebsd
[123]*) objformat
=aout
;;
8672 version_type
=freebsd-
$objformat
8673 case $version_type in
8675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8680 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8684 shlibpath_var
=LD_LIBRARY_PATH
8687 shlibpath_overrides_runpath
=yes
8689 freebsd3.
[01]* | freebsdelf3.
[01]*)
8690 shlibpath_overrides_runpath
=yes
8691 hardcode_into_libs
=yes
8694 shlibpath_overrides_runpath
=no
8695 hardcode_into_libs
=yes
8704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8705 soname_spec
='${libname}${release}${shared_ext}$major'
8706 shlibpath_var
=LD_LIBRARY_PATH
8707 hardcode_into_libs
=yes
8710 hpux9
* | hpux10
* | hpux11
*)
8711 # Give a soname corresponding to the major version so that dld.sl refuses to
8712 # link against other versions.
8719 hardcode_into_libs
=yes
8720 dynamic_linker
="$host_os dld.so"
8721 shlibpath_var
=LD_LIBRARY_PATH
8722 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8724 soname_spec
='${libname}${release}${shared_ext}$major'
8725 if test "X$HPUX_IA64_MODE" = X32
; then
8726 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8728 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8730 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8734 hardcode_into_libs
=yes
8735 dynamic_linker
="$host_os dld.sl"
8736 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8737 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8739 soname_spec
='${libname}${release}${shared_ext}$major'
8740 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8741 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8745 dynamic_linker
="$host_os dld.sl"
8746 shlibpath_var
=SHLIB_PATH
8747 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8749 soname_spec
='${libname}${release}${shared_ext}$major'
8752 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8753 postinstall_cmds
='chmod 555 $lib'
8756 irix5
* | irix6
* | nonstopux
*)
8758 nonstopux
*) version_type
=nonstopux
;;
8760 if test "$lt_cv_prog_gnu_ld" = yes; then
8768 soname_spec
='${libname}${release}${shared_ext}$major'
8769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8771 irix5
* | nonstopux
*)
8775 case $LD in # libtool.m4 will add one of these switches to LD
8776 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8777 libsuff
= shlibsuff
= libmagic
=32-bit;;
8778 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8779 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8780 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8781 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8782 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8786 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8787 shlibpath_overrides_runpath
=no
8788 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8789 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8790 hardcode_into_libs
=yes
8793 # No shared lib support for Linux oldld, aout, or coff.
8794 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8798 # This must be Linux ELF.
8803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8804 soname_spec
='${libname}${release}${shared_ext}$major'
8805 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8806 shlibpath_var
=LD_LIBRARY_PATH
8807 shlibpath_overrides_runpath
=no
8808 # This implies no fast_install, which is unacceptable.
8809 # Some rework will be needed to allow for fast_install
8810 # before this can be enabled.
8811 hardcode_into_libs
=yes
8813 # Append ld.so.conf contents to the search path
8814 if test -f /etc
/ld.so.conf
; then
8815 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8816 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8819 # We used to test for /lib/ld.so.1 and disable shared libraries on
8820 # powerpc, because MkLinux only supported shared libraries with the
8821 # GNU dynamic linker. Since this was broken with cross compilers,
8822 # most powerpc-linux boxes support dynamic linking these days and
8823 # people can always --disable-shared, the test was removed, and we
8824 # assume the GNU/Linux dynamic linker is in use.
8825 dynamic_linker
='GNU/Linux ld.so'
8832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8833 soname_spec
='${libname}${release}${shared_ext}$major'
8834 shlibpath_var
=LD_LIBRARY_PATH
8835 shlibpath_overrides_runpath
=no
8836 hardcode_into_libs
=yes
8837 dynamic_linker
='NetBSD ld.elf_so'
8844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8845 soname_spec
='${libname}${release}${shared_ext}$major'
8846 shlibpath_var
=LD_LIBRARY_PATH
8847 shlibpath_overrides_runpath
=no
8848 hardcode_into_libs
=yes
8849 dynamic_linker
='GNU ld.so'
8856 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8858 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8859 dynamic_linker
='NetBSD (a.out) ld.so'
8861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8862 soname_spec
='${libname}${release}${shared_ext}$major'
8863 dynamic_linker
='NetBSD ld.elf_so'
8865 shlibpath_var
=LD_LIBRARY_PATH
8866 shlibpath_overrides_runpath
=yes
8867 hardcode_into_libs
=yes
8872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8873 shlibpath_var
=LD_LIBRARY_PATH
8874 shlibpath_overrides_runpath
=yes
8881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8882 soname_spec
='${libname}${release}${shared_ext}$major'
8883 shlibpath_var
=LD_LIBRARY_PATH
8884 shlibpath_overrides_runpath
=yes
8890 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8892 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8893 *) need_version
=no
;;
8895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8896 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8897 shlibpath_var
=LD_LIBRARY_PATH
8898 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8900 openbsd2.
[89] | openbsd2.
[89].
*)
8901 shlibpath_overrides_runpath
=no
8904 shlibpath_overrides_runpath
=yes
8908 shlibpath_overrides_runpath
=yes
8913 libname_spec
='$name'
8916 library_names_spec
='$libname${shared_ext} $libname.a'
8917 dynamic_linker
='OS/2 ld.exe'
8918 shlibpath_var
=LIBPATH
8921 osf3
* | osf4
* | osf5
*)
8925 soname_spec
='${libname}${release}${shared_ext}$major'
8926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8927 shlibpath_var
=LD_LIBRARY_PATH
8928 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8929 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8934 soname_spec
='${libname}${release}${shared_ext}$major'
8935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8936 shlibpath_var
=LD_LIBRARY_PATH
8943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8944 soname_spec
='${libname}${release}${shared_ext}$major'
8945 shlibpath_var
=LD_LIBRARY_PATH
8946 shlibpath_overrides_runpath
=yes
8947 hardcode_into_libs
=yes
8948 # ldd complains unless libraries are executable
8949 postinstall_cmds
='chmod +x $lib'
8954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8955 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8956 shlibpath_var
=LD_LIBRARY_PATH
8957 shlibpath_overrides_runpath
=yes
8958 if test "$with_gnu_ld" = yes; then
8964 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8967 soname_spec
='${libname}${release}${shared_ext}$major'
8968 shlibpath_var
=LD_LIBRARY_PATH
8969 case $host_vendor in
8971 shlibpath_overrides_runpath
=no
8973 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8974 runpath_var
=LD_RUN_PATH
8982 shlibpath_overrides_runpath
=no
8983 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8989 if test -d /usr
/nec
;then
8991 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8992 soname_spec
='$libname${shared_ext}.$major'
8993 shlibpath_var
=LD_LIBRARY_PATH
8999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9000 soname_spec
='${libname}${release}${shared_ext}$major'
9001 shlibpath_var
=LD_LIBRARY_PATH
9008 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9009 echo "${ECHO_T}$dynamic_linker" >&6; }
9010 test "$dynamic_linker" = no
&& can_build_shared
=no
9012 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9013 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9015 if test -n "$hardcode_libdir_flag_spec" || \
9016 test -n "$runpath_var" || \
9017 test "X$hardcode_automatic" = "Xyes" ; then
9019 # We can hardcode non-existant directories.
9020 if test "$hardcode_direct" != no
&&
9021 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9022 # have to relink, otherwise we might link with an installed library
9023 # when we should be linking with a yet-to-be-installed one
9024 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9025 test "$hardcode_minus_L" != no
; then
9026 # Linking always hardcodes the temporary library directory.
9027 hardcode_action
=relink
9029 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9030 hardcode_action
=immediate
9033 # We cannot hardcode anything, or else we can only hardcode existing
9035 hardcode_action
=unsupported
9037 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9038 echo "${ECHO_T}$hardcode_action" >&6; }
9040 if test "$hardcode_action" = relink
; then
9041 # Fast installation is not supported
9042 enable_fast_install
=no
9043 elif test "$shlibpath_overrides_runpath" = yes ||
9044 test "$enable_shared" = no
; then
9045 # Fast installation is not necessary
9046 enable_fast_install
=needless
9051 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9052 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9053 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9054 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9055 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9056 { echo "$as_me:$LINENO: result: yes" >&5
9057 echo "${ECHO_T}yes" >&6; }
9059 # FIXME - insert some real tests, host_os isn't really good enough
9062 if test -n "$STRIP" ; then
9063 striplib
="$STRIP -x"
9064 { echo "$as_me:$LINENO: result: yes" >&5
9065 echo "${ECHO_T}yes" >&6; }
9067 { echo "$as_me:$LINENO: result: no" >&5
9068 echo "${ECHO_T}no" >&6; }
9072 { echo "$as_me:$LINENO: result: no" >&5
9073 echo "${ECHO_T}no" >&6; }
9078 if test "x$enable_dlopen" != xyes
; then
9079 enable_dlopen
=unknown
9080 enable_dlopen_self
=unknown
9081 enable_dlopen_self_static
=unknown
9088 lt_cv_dlopen
="load_add_on"
9090 lt_cv_dlopen_self
=yes
9094 lt_cv_dlopen
="LoadLibrary"
9099 lt_cv_dlopen
="dlopen"
9104 # if libdl is installed we need to link against it
9105 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9106 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9107 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9108 echo $ECHO_N "(cached) $ECHO_C" >&6
9110 ac_check_lib_save_LIBS
=$LIBS
9112 cat >conftest.
$ac_ext <<_ACEOF
9115 cat confdefs.h
>>conftest.
$ac_ext
9116 cat >>conftest.
$ac_ext <<_ACEOF
9117 /* end confdefs.h. */
9119 /* Override any GCC internal prototype to avoid an error.
9120 Use char because int might match the return type of a GCC
9121 builtin and then its argument prototype would still apply. */
9134 rm -f conftest.
$ac_objext conftest
$ac_exeext
9135 if { (ac_try
="$ac_link"
9137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9138 *) ac_try_echo=$ac_try;;
9140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9141 (eval "$ac_link") 2>conftest.er1
9143 grep -v '^ *+' conftest.er1 >conftest.err
9145 cat conftest.err >&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); } && {
9148 test -z "$ac_c_werror_flag" ||
9149 test ! -s conftest.err
9150 } && test -s conftest$ac_exeext &&
9151 $as_test_x conftest$ac_exeext; then
9152 ac_cv_lib_dl_dlopen=yes
9154 echo "$as_me: failed program was:" >&5
9155 sed 's/^/| /' conftest.$ac_ext >&5
9157 ac_cv_lib_dl_dlopen=no
9160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9161 conftest$ac_exeext conftest.$ac_ext
9162 LIBS=$ac_check_lib_save_LIBS
9164 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9165 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9166 if test $ac_cv_lib_dl_dlopen = yes; then
9167 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9172 lt_cv_dlopen_self=yes
9179 { echo "$as_me:$LINENO: checking for shl_load" >&5
9180 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9181 if test "${ac_cv_func_shl_load+set}" = set; then
9182 echo $ECHO_N "(cached) $ECHO_C" >&6
9184 cat >conftest.$ac_ext <<_ACEOF
9187 cat confdefs.h >>conftest.$ac_ext
9188 cat >>conftest.$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9190 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9192 #define shl_load innocuous_shl_load
9194 /* System header to define __stub macros and hopefully few prototypes,
9195 which can conflict with char shl_load (); below.
9196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9197 <limits.h> exists even on freestanding compilers. */
9200 # include <limits.h>
9202 # include <assert.h>
9207 /* Override any GCC internal prototype to avoid an error.
9208 Use char because int might match the return type of a GCC
9209 builtin and then its argument prototype would still apply. */
9214 /* The GNU C library defines this for functions which it implements
9215 to always fail with ENOSYS. Some functions are actually named
9216 something starting with __ and the normal name is an alias. */
9217 #if defined __stub_shl_load || defined __stub___shl_load
9229 rm -f conftest.$ac_objext conftest$ac_exeext
9230 if { (ac_try="$ac_link"
9232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9233 *) ac_try_echo
=$ac_try;;
9235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9236 (eval "$ac_link") 2>conftest.er1
9238 grep -v '^ *+' conftest.er1
>conftest.err
9240 cat conftest.err
>&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); } && {
9243 test -z "$ac_c_werror_flag" ||
9244 test ! -s conftest.err
9245 } && test -s conftest
$ac_exeext &&
9246 $as_test_x conftest
$ac_exeext; then
9247 ac_cv_func_shl_load
=yes
9249 echo "$as_me: failed program was:" >&5
9250 sed 's/^/| /' conftest.
$ac_ext >&5
9252 ac_cv_func_shl_load
=no
9255 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9256 conftest
$ac_exeext conftest.
$ac_ext
9258 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9259 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9260 if test $ac_cv_func_shl_load = yes; then
9261 lt_cv_dlopen
="shl_load"
9263 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9264 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9265 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9266 echo $ECHO_N "(cached) $ECHO_C" >&6
9268 ac_check_lib_save_LIBS
=$LIBS
9270 cat >conftest.
$ac_ext <<_ACEOF
9273 cat confdefs.h
>>conftest.
$ac_ext
9274 cat >>conftest.
$ac_ext <<_ACEOF
9275 /* end confdefs.h. */
9277 /* Override any GCC internal prototype to avoid an error.
9278 Use char because int might match the return type of a GCC
9279 builtin and then its argument prototype would still apply. */
9292 rm -f conftest.
$ac_objext conftest
$ac_exeext
9293 if { (ac_try
="$ac_link"
9295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9296 *) ac_try_echo=$ac_try;;
9298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9299 (eval "$ac_link") 2>conftest.er1
9301 grep -v '^ *+' conftest.er1 >conftest.err
9303 cat conftest.err >&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); } && {
9306 test -z "$ac_c_werror_flag" ||
9307 test ! -s conftest.err
9308 } && test -s conftest$ac_exeext &&
9309 $as_test_x conftest$ac_exeext; then
9310 ac_cv_lib_dld_shl_load=yes
9312 echo "$as_me: failed program was:" >&5
9313 sed 's/^/| /' conftest.$ac_ext >&5
9315 ac_cv_lib_dld_shl_load=no
9318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9319 conftest$ac_exeext conftest.$ac_ext
9320 LIBS=$ac_check_lib_save_LIBS
9322 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9323 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9324 if test $ac_cv_lib_dld_shl_load = yes; then
9325 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9327 { echo "$as_me:$LINENO: checking for dlopen" >&5
9328 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9329 if test "${ac_cv_func_dlopen+set}" = set; then
9330 echo $ECHO_N "(cached) $ECHO_C" >&6
9332 cat >conftest.$ac_ext <<_ACEOF
9335 cat confdefs.h >>conftest.$ac_ext
9336 cat >>conftest.$ac_ext <<_ACEOF
9337 /* end confdefs.h. */
9338 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9340 #define dlopen innocuous_dlopen
9342 /* System header to define __stub macros and hopefully few prototypes,
9343 which can conflict with char dlopen (); below.
9344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9345 <limits.h> exists even on freestanding compilers. */
9348 # include <limits.h>
9350 # include <assert.h>
9355 /* Override any GCC internal prototype to avoid an error.
9356 Use char because int might match the return type of a GCC
9357 builtin and then its argument prototype would still apply. */
9362 /* The GNU C library defines this for functions which it implements
9363 to always fail with ENOSYS. Some functions are actually named
9364 something starting with __ and the normal name is an alias. */
9365 #if defined __stub_dlopen || defined __stub___dlopen
9377 rm -f conftest.$ac_objext conftest$ac_exeext
9378 if { (ac_try="$ac_link"
9380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9381 *) ac_try_echo
=$ac_try;;
9383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9384 (eval "$ac_link") 2>conftest.er1
9386 grep -v '^ *+' conftest.er1
>conftest.err
9388 cat conftest.err
>&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); } && {
9391 test -z "$ac_c_werror_flag" ||
9392 test ! -s conftest.err
9393 } && test -s conftest
$ac_exeext &&
9394 $as_test_x conftest
$ac_exeext; then
9395 ac_cv_func_dlopen
=yes
9397 echo "$as_me: failed program was:" >&5
9398 sed 's/^/| /' conftest.
$ac_ext >&5
9400 ac_cv_func_dlopen
=no
9403 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9404 conftest
$ac_exeext conftest.
$ac_ext
9406 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9407 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9408 if test $ac_cv_func_dlopen = yes; then
9409 lt_cv_dlopen
="dlopen"
9411 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9412 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9413 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9414 echo $ECHO_N "(cached) $ECHO_C" >&6
9416 ac_check_lib_save_LIBS
=$LIBS
9418 cat >conftest.
$ac_ext <<_ACEOF
9421 cat confdefs.h
>>conftest.
$ac_ext
9422 cat >>conftest.
$ac_ext <<_ACEOF
9423 /* end confdefs.h. */
9425 /* Override any GCC internal prototype to avoid an error.
9426 Use char because int might match the return type of a GCC
9427 builtin and then its argument prototype would still apply. */
9440 rm -f conftest.
$ac_objext conftest
$ac_exeext
9441 if { (ac_try
="$ac_link"
9443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9444 *) ac_try_echo=$ac_try;;
9446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9447 (eval "$ac_link") 2>conftest.er1
9449 grep -v '^ *+' conftest.er1 >conftest.err
9451 cat conftest.err >&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); } && {
9454 test -z "$ac_c_werror_flag" ||
9455 test ! -s conftest.err
9456 } && test -s conftest$ac_exeext &&
9457 $as_test_x conftest$ac_exeext; then
9458 ac_cv_lib_dl_dlopen=yes
9460 echo "$as_me: failed program was:" >&5
9461 sed 's/^/| /' conftest.$ac_ext >&5
9463 ac_cv_lib_dl_dlopen=no
9466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9467 conftest$ac_exeext conftest.$ac_ext
9468 LIBS=$ac_check_lib_save_LIBS
9470 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9471 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9472 if test $ac_cv_lib_dl_dlopen = yes; then
9473 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9475 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9476 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9477 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9478 echo $ECHO_N "(cached) $ECHO_C" >&6
9480 ac_check_lib_save_LIBS=$LIBS
9482 cat >conftest.$ac_ext <<_ACEOF
9485 cat confdefs.h >>conftest.$ac_ext
9486 cat >>conftest.$ac_ext <<_ACEOF
9487 /* end confdefs.h. */
9489 /* Override any GCC internal prototype to avoid an error.
9490 Use char because int might match the return type of a GCC
9491 builtin and then its argument prototype would still apply. */
9504 rm -f conftest.$ac_objext conftest$ac_exeext
9505 if { (ac_try="$ac_link"
9507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9508 *) ac_try_echo
=$ac_try;;
9510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9511 (eval "$ac_link") 2>conftest.er1
9513 grep -v '^ *+' conftest.er1
>conftest.err
9515 cat conftest.err
>&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); } && {
9518 test -z "$ac_c_werror_flag" ||
9519 test ! -s conftest.err
9520 } && test -s conftest
$ac_exeext &&
9521 $as_test_x conftest
$ac_exeext; then
9522 ac_cv_lib_svld_dlopen
=yes
9524 echo "$as_me: failed program was:" >&5
9525 sed 's/^/| /' conftest.
$ac_ext >&5
9527 ac_cv_lib_svld_dlopen
=no
9530 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9531 conftest
$ac_exeext conftest.
$ac_ext
9532 LIBS
=$ac_check_lib_save_LIBS
9534 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9535 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9536 if test $ac_cv_lib_svld_dlopen = yes; then
9537 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9539 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9540 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9541 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9542 echo $ECHO_N "(cached) $ECHO_C" >&6
9544 ac_check_lib_save_LIBS
=$LIBS
9546 cat >conftest.
$ac_ext <<_ACEOF
9549 cat confdefs.h
>>conftest.
$ac_ext
9550 cat >>conftest.
$ac_ext <<_ACEOF
9551 /* end confdefs.h. */
9553 /* Override any GCC internal prototype to avoid an error.
9554 Use char because int might match the return type of a GCC
9555 builtin and then its argument prototype would still apply. */
9568 rm -f conftest.
$ac_objext conftest
$ac_exeext
9569 if { (ac_try
="$ac_link"
9571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9572 *) ac_try_echo=$ac_try;;
9574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9575 (eval "$ac_link") 2>conftest.er1
9577 grep -v '^ *+' conftest.er1 >conftest.err
9579 cat conftest.err >&5
9580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9581 (exit $ac_status); } && {
9582 test -z "$ac_c_werror_flag" ||
9583 test ! -s conftest.err
9584 } && test -s conftest$ac_exeext &&
9585 $as_test_x conftest$ac_exeext; then
9586 ac_cv_lib_dld_dld_link=yes
9588 echo "$as_me: failed program was:" >&5
9589 sed 's/^/| /' conftest.$ac_ext >&5
9591 ac_cv_lib_dld_dld_link=no
9594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9595 conftest$ac_exeext conftest.$ac_ext
9596 LIBS=$ac_check_lib_save_LIBS
9598 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9599 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9600 if test $ac_cv_lib_dld_dld_link = yes; then
9601 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9622 if test "x$lt_cv_dlopen" != xno; then
9628 case $lt_cv_dlopen in
9630 save_CPPFLAGS="$CPPFLAGS"
9631 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9633 save_LDFLAGS="$LDFLAGS"
9634 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9637 LIBS="$lt_cv_dlopen_libs $LIBS"
9639 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9640 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9641 if test "${lt_cv_dlopen_self+set}" = set; then
9642 echo $ECHO_N "(cached) $ECHO_C" >&6
9644 if test "$cross_compiling" = yes; then :
9645 lt_cv_dlopen_self=cross
9647 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9648 lt_status=$lt_dlunknown
9649 cat > conftest.$ac_ext <<EOF
9650 #line 9650 "configure"
9651 #include "confdefs.h"
9660 # define LT_DLGLOBAL RTLD_GLOBAL
9663 # define LT_DLGLOBAL DL_GLOBAL
9665 # define LT_DLGLOBAL 0
9669 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9670 find out it does not work in some platform. */
9671 #ifndef LT_DLLAZY_OR_NOW
9673 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9676 # define LT_DLLAZY_OR_NOW DL_LAZY
9679 # define LT_DLLAZY_OR_NOW RTLD_NOW
9682 # define LT_DLLAZY_OR_NOW DL_NOW
9684 # define LT_DLLAZY_OR_NOW 0
9692 extern "C" void exit (int);
9695 void fnord() { int i=42;}
9698 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9699 int status = $lt_dlunknown;
9703 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9704 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9705 /* dlclose (self); */
9711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9712 (eval $ac_link) 2>&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9716 (./conftest; exit; ) >&5 2>/dev/null
9719 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9720 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9721 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
9724 # compilation failed
9725 lt_cv_dlopen_self=no
9732 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9733 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9735 if test "x$lt_cv_dlopen_self" = xyes; then
9736 LDFLAGS="$LDFLAGS $link_static_flag"
9737 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9738 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9739 if test "${lt_cv_dlopen_self_static+set}" = set; then
9740 echo $ECHO_N "(cached) $ECHO_C" >&6
9742 if test "$cross_compiling" = yes; then :
9743 lt_cv_dlopen_self_static=cross
9745 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9746 lt_status=$lt_dlunknown
9747 cat > conftest.$ac_ext <<EOF
9748 #line 9748 "configure"
9749 #include "confdefs.h"
9758 # define LT_DLGLOBAL RTLD_GLOBAL
9761 # define LT_DLGLOBAL DL_GLOBAL
9763 # define LT_DLGLOBAL 0
9767 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9768 find out it does not work in some platform. */
9769 #ifndef LT_DLLAZY_OR_NOW
9771 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9774 # define LT_DLLAZY_OR_NOW DL_LAZY
9777 # define LT_DLLAZY_OR_NOW RTLD_NOW
9780 # define LT_DLLAZY_OR_NOW DL_NOW
9782 # define LT_DLLAZY_OR_NOW 0
9790 extern "C" void exit (int);
9793 void fnord() { int i=42;}
9796 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9797 int status = $lt_dlunknown;
9801 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9802 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9803 /* dlclose (self); */
9809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9810 (eval $ac_link) 2>&5
9812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9814 (./conftest; exit; ) >&5 2>/dev/null
9817 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9818 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9819 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
9822 # compilation failed
9823 lt_cv_dlopen_self_static=no
9830 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9831 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9834 CPPFLAGS="$save_CPPFLAGS"
9835 LDFLAGS="$save_LDFLAGS"
9840 case $lt_cv_dlopen_self in
9841 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9842 *) enable_dlopen_self=unknown ;;
9845 case $lt_cv_dlopen_self_static in
9846 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9847 *) enable_dlopen_self_static=unknown ;;
9852 # Report which librarie types wil actually be built
9853 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9854 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9855 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
9856 echo "${ECHO_T}$can_build_shared" >&6; }
9858 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9859 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9860 test "$can_build_shared" = "no" && enable_shared=no
9862 # On AIX, shared libraries and static libraries use the same namespace, and
9863 # are all built from PIC.
9866 test "$enable_shared" = yes && enable_static=no
9867 if test -n "$RANLIB"; then
9868 archive_cmds="$archive_cmds~\$RANLIB \$lib"
9869 postinstall_cmds='$RANLIB $lib'
9874 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9875 test "$enable_shared" = yes && enable_static=no
9879 { echo "$as_me:$LINENO: result: $enable_shared" >&5
9880 echo "${ECHO_T}$enable_shared" >&6; }
9882 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9883 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9884 # Make sure either enable_shared or enable_static is yes.
9885 test "$enable_shared" = yes || enable_static=yes
9886 { echo "$as_me:$LINENO: result: $enable_static" >&5
9887 echo "${ECHO_T}$enable_static" >&6; }
9889 # The else clause should only fire when bootstrapping the
9890 # libtool distribution, otherwise you forgot to ship ltmain.sh
9891 # with your package, and you will get complaints that there are
9892 # no rules to generate ltmain.sh.
9893 if test -f "$ltmain"; then
9894 # See if we are running on zsh, and set the options which allow our commands through
9895 # without removal of \ escapes.
9896 if test -n "${ZSH_VERSION+set}" ; then
9897 setopt NO_GLOB_SUBST
9899 # Now quote all the things that may contain metacharacters while being
9900 # careful not to overquote the AC_SUBSTed values. We take copies of the
9901 # variables and quote the copies for generation of the libtool script.
9902 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9904 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9905 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9906 deplibs_check_method reload_flag reload_cmds need_locks \
9907 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9908 lt_cv_sys_global_symbol_to_c_name_address \
9909 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9910 old_postinstall_cmds old_postuninstall_cmds \
9914 lt_prog_compiler_wl \
9915 lt_prog_compiler_pic \
9916 lt_prog_compiler_static \
9917 lt_prog_compiler_no_builtin_flag \
9918 export_dynamic_flag_spec \
9919 thread_safe_flag_spec \
9920 whole_archive_flag_spec \
9921 enable_shared_with_static_runtimes \
9923 old_archive_from_new_cmds \
9928 compiler_lib_search_path \
9930 archive_expsym_cmds \
9932 postuninstall_cmds \
9933 old_archive_from_expsyms_cmds \
9934 allow_undefined_flag \
9936 export_symbols_cmds \
9937 hardcode_libdir_flag_spec \
9938 hardcode_libdir_flag_spec_ld \
9939 hardcode_libdir_separator \
9940 hardcode_automatic \
9942 module_expsym_cmds \
9943 lt_cv_prog_compiler_c_o \
9948 old_archive_cmds | \
9949 old_archive_from_new_cmds | \
9951 archive_expsym_cmds | \
9953 module_expsym_cmds | \
9954 old_archive_from_expsyms_cmds | \
9955 export_symbols_cmds | \
9956 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9957 postinstall_cmds | postuninstall_cmds | \
9958 old_postinstall_cmds | old_postuninstall_cmds | \
9959 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9960 # Double-quote double-evaled strings.
9961 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
9964 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
9970 *'\$0 --fallback-echo"')
9971 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9976 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9978 { echo "$as_me:$LINENO: creating $ofile" >&5
9979 echo "$as_me: creating $ofile" >&6;}
9981 cat <<__EOF__ >> "$cfgfile"
9984 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
9985 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9986 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9988 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9989 # Free Software Foundation, Inc.
9991 # This file is part of GNU Libtool:
9992 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9994 # This program is free software; you can redistribute it and/or modify
9995 # it under the terms of the GNU General Public License as published by
9996 # the Free Software Foundation; either version 2 of the License, or
9997 # (at your option) any later version.
9999 # This program is distributed in the hope that it will be useful, but
10000 # WITHOUT ANY WARRANTY; without even the implied warranty of
10001 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10002 # General Public License for more details.
10004 # You should have received a copy of the GNU General Public License
10005 # along with this program; if not, write to the Free Software
10006 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10008 # As a special exception to the GNU General Public License, if you
10009 # distribute this file as part of a program that contains a
10010 # configuration script generated by Autoconf, you may include it under
10011 # the same distribution terms that you use for the rest of that program.
10013 # A sed program that does not truncate output.
10016 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10017 Xsed="$SED -e 1s/^X//"
10019 # The HP-UX ksh and POSIX shell print the target directory to stdout
10020 # if CDPATH is set.
10021 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10023 # The names of the tagged configurations supported by this script.
10026 # ### BEGIN LIBTOOL CONFIG
10028 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10030 # Shell to use when invoking shell scripts.
10033 # Whether or not to build shared libraries.
10034 build_libtool_libs=$enable_shared
10036 # Whether or not to build static libraries.
10037 build_old_libs=$enable_static
10039 # Whether or not to add -lc for building shared libraries.
10040 build_libtool_need_lc=$archive_cmds_need_lc
10042 # Whether or not to disallow shared libs when runtime libs are static
10043 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10045 # Whether or not to optimize for fast installation.
10046 fast_install=$enable_fast_install
10049 host_alias=$host_alias
10053 # The build system.
10054 build_alias=$build_alias
10058 # An echo program that does not interpret backslashes.
10063 AR_FLAGS=$lt_AR_FLAGS
10068 # A language-specific compiler.
10071 # Is the compiler the GNU C compiler?
10077 # The linker used to build libraries.
10080 # Whether we need hard or soft links.
10083 # A BSD-compatible nm program.
10086 # A symbol stripping program
10089 # Used to examine libraries when file_magic_cmd begins "file"
10090 MAGIC_CMD=$MAGIC_CMD
10092 # Used on cygwin: DLL creation program.
10095 # Used on cygwin: object dumper.
10098 # Used on cygwin: assembler.
10101 # The name of the directory that contains temporary libtool files.
10104 # How to create reloadable object files.
10105 reload_flag=$lt_reload_flag
10106 reload_cmds=$lt_reload_cmds
10108 # How to pass a linker flag through the compiler.
10109 wl=$lt_lt_prog_compiler_wl
10111 # Object file suffix (normally "o").
10112 objext="$ac_objext"
10114 # Old archive suffix (normally "a").
10117 # Shared library suffix (normally ".so").
10118 shrext_cmds='$shrext_cmds'
10120 # Executable file suffix (normally "").
10123 # Additional compiler flags for building library objects.
10124 pic_flag=$lt_lt_prog_compiler_pic
10127 # What is the maximum length of a command?
10128 max_cmd_len=$lt_cv_sys_max_cmd_len
10130 # Does compiler simultaneously support -c and -o options?
10131 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10133 # Must we lock files when doing compilation?
10134 need_locks=$lt_need_locks
10136 # Do we need the lib prefix for modules?
10137 need_lib_prefix=$need_lib_prefix
10139 # Do we need a version for libraries?
10140 need_version=$need_version
10142 # Whether dlopen is supported.
10143 dlopen_support=$enable_dlopen
10145 # Whether dlopen of programs is supported.
10146 dlopen_self=$enable_dlopen_self
10148 # Whether dlopen of statically linked programs is supported.
10149 dlopen_self_static=$enable_dlopen_self_static
10151 # Compiler flag to prevent dynamic linking.
10152 link_static_flag=$lt_lt_prog_compiler_static
10154 # Compiler flag to turn off builtin functions.
10155 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10157 # Compiler flag to allow reflexive dlopens.
10158 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10160 # Compiler flag to generate shared objects directly from archives.
10161 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10163 # Compiler flag to generate thread-safe objects.
10164 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10166 # Library versioning type.
10167 version_type=$version_type
10169 # Format of library name prefix.
10170 libname_spec=$lt_libname_spec
10172 # List of archive names. First name is the real one, the rest are links.
10173 # The last name is the one that the linker finds with -lNAME.
10174 library_names_spec=$lt_library_names_spec
10176 # The coded name of the library, if different from the real name.
10177 soname_spec=$lt_soname_spec
10179 # Commands used to build and install an old-style archive.
10181 old_archive_cmds=$lt_old_archive_cmds
10182 old_postinstall_cmds=$lt_old_postinstall_cmds
10183 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10185 # Create an old-style archive from a shared archive.
10186 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10188 # Create a temporary old-style archive to link instead of a shared archive.
10189 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10191 # Commands used to build and install a shared archive.
10192 archive_cmds=$lt_archive_cmds
10193 archive_expsym_cmds=$lt_archive_expsym_cmds
10194 postinstall_cmds=$lt_postinstall_cmds
10195 postuninstall_cmds=$lt_postuninstall_cmds
10197 # Commands used to build a loadable module (assumed same as above if empty)
10198 module_cmds=$lt_module_cmds
10199 module_expsym_cmds=$lt_module_expsym_cmds
10201 # Commands to strip libraries.
10202 old_striplib=$lt_old_striplib
10203 striplib=$lt_striplib
10205 # Dependencies to place before the objects being linked to create a
10207 predep_objects=$lt_predep_objects
10209 # Dependencies to place after the objects being linked to create a
10211 postdep_objects=$lt_postdep_objects
10213 # Dependencies to place before the objects being linked to create a
10215 predeps=$lt_predeps
10217 # Dependencies to place after the objects being linked to create a
10219 postdeps=$lt_postdeps
10221 # The library search path used internally by the compiler when linking
10222 # a shared library.
10223 compiler_lib_search_path=$lt_compiler_lib_search_path
10225 # Method to check whether dependent libraries are shared objects.
10226 deplibs_check_method=$lt_deplibs_check_method
10228 # Command to use when deplibs_check_method == file_magic.
10229 file_magic_cmd=$lt_file_magic_cmd
10231 # Flag that allows shared libraries with undefined symbols to be built.
10232 allow_undefined_flag=$lt_allow_undefined_flag
10234 # Flag that forces no undefined symbols.
10235 no_undefined_flag=$lt_no_undefined_flag
10237 # Commands used to finish a libtool library installation in a directory.
10238 finish_cmds=$lt_finish_cmds
10240 # Same as above, but a single script fragment to be evaled but not shown.
10241 finish_eval=$lt_finish_eval
10243 # Take the output of nm and produce a listing of raw symbols and C names.
10244 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10246 # Transform the output of nm in a proper C declaration
10247 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10249 # Transform the output of nm in a C name address pair
10250 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10252 # This is the shared library runtime path variable.
10253 runpath_var=$runpath_var
10255 # This is the shared library path variable.
10256 shlibpath_var=$shlibpath_var
10258 # Is shlibpath searched before the hard-coded library search path?
10259 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10261 # How to hardcode a shared library path into an executable.
10262 hardcode_action=$hardcode_action
10264 # Whether we should hardcode library paths into libraries.
10265 hardcode_into_libs=$hardcode_into_libs
10267 # Flag to hardcode \$libdir into a binary during linking.
10268 # This must work even if \$libdir does not exist.
10269 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10271 # If ld is used when linking, flag to hardcode \$libdir into
10272 # a binary during linking. This must work even if \$libdir does
10274 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10276 # Whether we need a single -rpath flag with a separated argument.
10277 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10279 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10280 # resulting binary.
10281 hardcode_direct=$hardcode_direct
10283 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10284 # resulting binary.
10285 hardcode_minus_L=$hardcode_minus_L
10287 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10288 # the resulting binary.
10289 hardcode_shlibpath_var=$hardcode_shlibpath_var
10291 # Set to yes if building a shared library automatically hardcodes DIR into the library
10292 # and all subsequent libraries and executables linked against it.
10293 hardcode_automatic=$hardcode_automatic
10295 # Variables whose values should be saved in libtool wrapper scripts and
10296 # restored at relink time.
10297 variables_saved_for_relink="$variables_saved_for_relink"
10299 # Whether libtool must link a program against all its dependency libraries.
10300 link_all_deplibs=$link_all_deplibs
10302 # Compile-time system search path for libraries
10303 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10305 # Run-time system search path for libraries
10306 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10308 # Fix the shell variable \$srcfile for the compiler.
10309 fix_srcfile_path="$fix_srcfile_path"
10311 # Set to yes if exported symbols are required.
10312 always_export_symbols=$always_export_symbols
10314 # The commands to list exported symbols.
10315 export_symbols_cmds=$lt_export_symbols_cmds
10317 # The commands to extract the exported symbol list from a shared archive.
10318 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10320 # Symbols that should not be listed in the preloaded symbols.
10321 exclude_expsyms=$lt_exclude_expsyms
10323 # Symbols that must always be exported.
10324 include_expsyms=$lt_include_expsyms
10326 # ### END LIBTOOL CONFIG
10333 cat <<\EOF >> "$cfgfile"
10335 # AIX sometimes has problems with the GCC collect2 program. For some
10336 # reason, if we set the COLLECT_NAMES environment variable, the problems
10337 # vanish in a puff of smoke.
10338 if test "X${COLLECT_NAMES+set}" != Xset; then
10340 export COLLECT_NAMES
10346 # We use sed instead of cat because bash on DJGPP gets confused if
10347 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10348 # text mode, it properly converts lines to CR/LF. This bash problem
10349 # is reportedly fixed, but why not run on old versions too?
10350 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10352 mv -f "$cfgfile" "$ofile" || \
10353 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10357 # If there is no Makefile yet, we rely on a make rule to execute
10358 # `config.status
--recheck' to rerun these tests and create the
10359 # libtool script then.
10360 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10361 if test -f "$ltmain_in"; then
10362 test -f Makefile && make "$ltmain"
10368 ac_cpp='$CPP $CPPFLAGS'
10369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10370 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10376 # Check whether --with-tags was given.
10377 if test "${with_tags+set}" = set; then
10378 withval=$with_tags; tagnames="$withval"
10382 if test -f "$ltmain" && test -n "$tagnames"; then
10383 if test ! -f "${ofile}"; then
10384 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10385 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10388 if test -z "$LTCC"; then
10389 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10390 if test -z "$LTCC"; then
10391 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10392 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10394 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10395 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10399 # Extract list of available tagged configurations in $ofile.
10400 # Note that this assumes the entire list is on one line.
10401 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10403 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10404 for tagname in $tagnames; do
10406 # Check whether tagname contains only valid characters
10407 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10409 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10410 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10411 { (exit 1); exit 1; }; }
10415 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10417 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10418 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10419 { (exit 1); exit 1; }; }
10422 # Update the list of available tags.
10423 if test -n "$tagname"; then
10424 echo appending configuration tag \"$tagname\" to $ofile
10428 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10429 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10430 (test "X$CXX" != "Xg++"))) ; then
10432 ac_cpp='$CXXCPP $CPPFLAGS'
10433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10440 archive_cmds_need_lc_CXX=no
10441 allow_undefined_flag_CXX=
10442 always_export_symbols_CXX=no
10443 archive_expsym_cmds_CXX=
10444 export_dynamic_flag_spec_CXX=
10445 hardcode_direct_CXX=no
10446 hardcode_libdir_flag_spec_CXX=
10447 hardcode_libdir_flag_spec_ld_CXX=
10448 hardcode_libdir_separator_CXX=
10449 hardcode_minus_L_CXX=no
10450 hardcode_automatic_CXX=no
10452 module_expsym_cmds_CXX=
10453 link_all_deplibs_CXX=unknown
10454 old_archive_cmds_CXX=$old_archive_cmds
10455 no_undefined_flag_CXX=
10456 whole_archive_flag_spec_CXX=
10457 enable_shared_with_static_runtimes_CXX=no
10459 # Dependencies to place before and after the object being linked:
10460 predep_objects_CXX=
10461 postdep_objects_CXX=
10464 compiler_lib_search_path_CXX=
10466 # Source file extension for C++ test sources.
10469 # Object file extension for compiled C++ test sources.
10473 # Code to be used in simple compile tests
10474 lt_simple_compile_test_code="int some_variable = 0;\n"
10476 # Code to be used in simple link tests
10477 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
10479 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10481 # If no C compiler was specified, use CC.
10484 # Allow CC to be a program name with arguments.
10488 # save warnings/boilerplate of simple test code
10489 ac_outfile=conftest.$ac_objext
10490 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10491 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
10492 _lt_compiler_boilerplate=`cat conftest.err
`
10495 ac_outfile=conftest.$ac_objext
10496 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10497 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
10498 _lt_linker_boilerplate=`cat conftest.err
`
10502 # Allow CC to be a program name with arguments.
10507 lt_save_with_gnu_ld=$with_gnu_ld
10508 lt_save_path_LD=$lt_cv_path_LD
10509 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10510 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10512 unset lt_cv_prog_gnu_ld
10514 if test -n "${lt_cv_path_LDCXX+set}"; then
10515 lt_cv_path_LD=$lt_cv_path_LDCXX
10517 unset lt_cv_path_LD
10519 test -z "${LDCXX+set}" || LD=$LDCXX
10523 for cc_temp in $compiler""; do
10525 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10526 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10531 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10534 # We don't want -fno-exception wen compiling C++ code, so set the
10535 # no_builtin_flag separately
10536 if test "$GXX" = yes; then
10537 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10539 lt_prog_compiler_no_builtin_flag_CXX=
10542 if test "$GXX" = yes; then
10543 # Set up default GNU C++ configuration
10546 # Check whether --with-gnu-ld was given.
10547 if test "${with_gnu_ld+set}" = set; then
10548 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10554 if test "$GCC" = yes; then
10555 # Check if gcc -print-prog-name=ld gives a path.
10556 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10557 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10560 # gcc leaves a trailing carriage return which upsets mingw
10561 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10563 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10566 # Accept absolute paths.
10568 re_direlt='/[^/][^/]*/\.\./'
10569 # Canonicalize the pathname of ld
10570 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10571 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10572 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10574 test -z "$LD" && LD="$ac_prog"
10577 # If it fails, then pretend we aren't using GCC.
10581 # If it is relative, then search for the first ld in PATH.
10582 with_gnu_ld=unknown
10585 elif test "$with_gnu_ld" = yes; then
10586 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10587 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10589 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10590 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10592 if test "${lt_cv_path_LD+set}" = set; then
10593 echo $ECHO_N "(cached) $ECHO_C" >&6
10595 if test -z "$LD"; then
10596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10597 for ac_dir in $PATH; do
10599 test -z "$ac_dir" && ac_dir=.
10600 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10601 lt_cv_path_LD="$ac_dir/$ac_prog"
10602 # Check to see if the program is GNU ld. I'd rather use --version,
10603 # but apparently some variants of GNU ld only accept -v.
10604 # Break only if it was the GNU/non-GNU ld that we prefer.
10605 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10606 *GNU* | *'with BFD'*)
10607 test "$with_gnu_ld" != no && break
10610 test "$with_gnu_ld" != yes && break
10617 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10621 LD="$lt_cv_path_LD"
10622 if test -n "$LD"; then
10623 { echo "$as_me:$LINENO: result: $LD" >&5
10624 echo "${ECHO_T}$LD" >&6; }
10626 { echo "$as_me:$LINENO: result: no" >&5
10627 echo "${ECHO_T}no" >&6; }
10629 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10630 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10631 { (exit 1); exit 1; }; }
10632 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10633 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10634 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10635 echo $ECHO_N "(cached) $ECHO_C" >&6
10637 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10638 case `$LD -v 2>&1 </dev
/null
` in
10639 *GNU* | *'with BFD'*)
10640 lt_cv_prog_gnu_ld=yes
10643 lt_cv_prog_gnu_ld=no
10647 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10648 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10649 with_gnu_ld=$lt_cv_prog_gnu_ld
10653 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10654 # archiving commands below assume that GNU ld is being used.
10655 if test "$with_gnu_ld" = yes; then
10656 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10657 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'
10659 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10660 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10662 # If archive_cmds runs LD, not CC, wlarc should be empty
10663 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10664 # investigate it a little bit more. (MM)
10667 # ancient GNU ld didn't support --whole-archive et. al.
10668 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10669 grep 'no-whole-archive' > /dev/null; then
10670 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10672 whole_archive_flag_spec_CXX=
10678 # A generic and very simple default shared library creation
10679 # command for GNU C++ for the case where it uses the native
10680 # linker, instead of GNU ld. If possible, this setting should
10681 # overridden to take advantage of the native linker features on
10682 # the platform it is being used on.
10683 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10686 # Commands to make compiler produce verbose output that lists
10687 # what "hidden" libraries, object files and flags are used when
10688 # linking a shared library.
10689 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10697 # PORTME: fill in a description of your system's C++ link characteristics
10698 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10699 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10703 # FIXME: insert proper C++ library support
10707 if test "$host_cpu" = ia64; then
10708 # On IA64, the linker does run time linking by default, so we don't
10709 # have to do anything special.
10710 aix_use_runtimelinking=no
10711 exp_sym_flag='-Bexport'
10714 aix_use_runtimelinking=no
10716 # Test if we are trying to use run time linking or normal
10717 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10718 # need to do runtime linking.
10719 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10720 for ld_flag in $LDFLAGS; do
10723 aix_use_runtimelinking=yes
10730 exp_sym_flag='-bexport'
10731 no_entry_flag='-bnoentry'
10734 # When large executables or shared objects are built, AIX ld can
10735 # have problems creating the table of contents. If linking a library
10736 # or program results in "error TOC overflow" add -mminimal-toc to
10737 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10738 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10740 archive_cmds_CXX=''
10741 hardcode_direct_CXX=yes
10742 hardcode_libdir_separator_CXX=':'
10743 link_all_deplibs_CXX=yes
10745 if test "$GXX" = yes; then
10746 case $host_os in aix4.[012]|aix4.[012].*)
10747 # We only want to do this on AIX 4.2 and lower, the check
10748 # below for broken collect2 doesn't work under 4.3+
10749 collect2name=`${CC} -print-prog-name=collect2
`
10750 if test -f "$collect2name" && \
10751 strings "$collect2name" | grep resolve_lib_name >/dev/null
10753 # We have reworked collect2
10754 hardcode_direct_CXX=yes
10756 # We have old collect2
10757 hardcode_direct_CXX=unsupported
10758 # It fails to find uninstalled libraries when the uninstalled
10759 # path is not listed in the libpath. Setting hardcode_minus_L
10760 # to unsupported forces relinking
10761 hardcode_minus_L_CXX=yes
10762 hardcode_libdir_flag_spec_CXX='-L$libdir'
10763 hardcode_libdir_separator_CXX=
10766 shared_flag='-shared'
10767 if test "$aix_use_runtimelinking" = yes; then
10768 shared_flag="$shared_flag "'${wl}-G'
10772 if test "$host_cpu" = ia64; then
10773 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10774 # chokes on -Wl,-G. The following line is correct:
10777 if test "$aix_use_runtimelinking" = yes; then
10778 shared_flag='${wl}-G'
10780 shared_flag='${wl}-bM:SRE'
10785 # It seems that -bexpall does not export symbols beginning with
10786 # underscore (_), so it is better to generate a list of symbols to export.
10787 always_export_symbols_CXX=yes
10788 if test "$aix_use_runtimelinking" = yes; then
10789 # Warning - without using the other runtime loading flags (-brtl),
10790 # -berok will link without error, but may produce a broken library.
10791 allow_undefined_flag_CXX='-berok'
10792 # Determine the default libpath from the value encoded in an empty executable.
10793 cat >conftest.$ac_ext <<_ACEOF
10796 cat confdefs.h >>conftest.$ac_ext
10797 cat >>conftest.$ac_ext <<_ACEOF
10798 /* end confdefs.h. */
10808 rm -f conftest.$ac_objext conftest$ac_exeext
10809 if { (ac_try="$ac_link"
10810 case "(($ac_try" in
10811 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10812 *) ac_try_echo
=$ac_try;;
10814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10815 (eval "$ac_link") 2>conftest.er1
10817 grep -v '^ *+' conftest.er1
>conftest.err
10819 cat conftest.err
>&5
10820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10821 (exit $ac_status); } && {
10822 test -z "$ac_cxx_werror_flag" ||
10823 test ! -s conftest.err
10824 } && test -s conftest
$ac_exeext &&
10825 $as_test_x conftest
$ac_exeext; then
10827 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10829 # Check for a 64-bit object if we didn't find anything.
10830 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10833 echo "$as_me: failed program was:" >&5
10834 sed 's/^/| /' conftest.
$ac_ext >&5
10839 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10840 conftest
$ac_exeext conftest.
$ac_ext
10841 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10843 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10845 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10847 if test "$host_cpu" = ia64; then
10848 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10849 allow_undefined_flag_CXX="-z nodefs"
10850 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
10852 # Determine the default libpath from the value encoded in an empty executable.
10853 cat >conftest.$ac_ext <<_ACEOF
10856 cat confdefs.h >>conftest.$ac_ext
10857 cat >>conftest.$ac_ext <<_ACEOF
10858 /* end confdefs.h. */
10868 rm -f conftest.$ac_objext conftest$ac_exeext
10869 if { (ac_try="$ac_link"
10870 case "(($ac_try" in
10871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10872 *) ac_try_echo=$ac_try;;
10874 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10875 (eval "$ac_link") 2>conftest.er1
10877 grep -v '^ *+' conftest.er1 >conftest.err
10879 cat conftest.err >&5
10880 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10881 (exit $ac_status); } && {
10882 test -z "$ac_cxx_werror_flag" ||
10883 test ! -s conftest.err
10884 } && test -s conftest$ac_exeext &&
10885 $as_test_x conftest$ac_exeext; then
10887 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10889 # Check for a 64-bit object if we didn't find anything.
10890 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10893 echo "$as_me: failed program was
:" >&5
10894 sed 's/^/| /' conftest.$ac_ext >&5
10899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10900 conftest$ac_exeext conftest.$ac_ext
10901 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10903 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10904 # Warning - without using the other run time loading flags,
10905 # -berok will link without error, but may produce a broken library.
10906 no_undefined_flag_CXX=' ${wl}-bernotok'
10907 allow_undefined_flag_CXX=' ${wl}-berok'
10908 # -bexpall does not export symbols beginning with underscore (_)
10909 always_export_symbols_CXX=yes
10910 # Exported symbols can be pulled into shared objects from archives
10911 whole_archive_flag_spec_CXX=' '
10912 archive_cmds_need_lc_CXX=yes
10913 # This is similar to how AIX traditionally builds its shared libraries.
10914 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10919 case $cc_basename in
10921 # FIXME: insert proper C++ library support
10928 cygwin* | mingw* | pw32*)
10929 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10930 # as there is no search path for DLLs.
10931 hardcode_libdir_flag_spec_CXX='-L$libdir'
10932 allow_undefined_flag_CXX=unsupported
10933 always_export_symbols_CXX=no
10934 enable_shared_with_static_runtimes_CXX=yes
10936 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10937 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10938 # If the export-symbols file already is a .def file (1st line
10939 # is EXPORTS), use it as is; otherwise, prepend...
10940 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10941 cp $export_symbols $output_objdir/$soname.def;
10943 echo EXPORTS > $output_objdir/$soname.def;
10944 cat $export_symbols >> $output_objdir/$soname.def;
10946 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10951 darwin* | rhapsody*)
10953 rhapsody* | darwin1.[012])
10954 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10957 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10958 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10960 case ${MACOSX_DEPLOYMENT_TARGET} in
10962 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10965 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10971 archive_cmds_need_lc_CXX=no
10972 hardcode_direct_CXX=no
10973 hardcode_automatic_CXX=yes
10974 hardcode_shlibpath_var_CXX=unsupported
10975 whole_archive_flag_spec_CXX=''
10976 link_all_deplibs_CXX=yes
10978 if test "$GXX" = yes ; then
10979 lt_int_apple_cc_single_mod=no
10980 output_verbose_link_cmd='echo'
10981 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10982 lt_int_apple_cc_single_mod=yes
10984 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10985 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10987 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'
10989 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10990 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10991 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10992 archive_expsym_cmds_CXX='sed -e "s
,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10994 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10996 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}'
10998 case $cc_basename in
11000 output_verbose_link_cmd
='echo'
11001 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11002 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11003 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11004 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11005 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}'
11015 case $cc_basename in
11017 # FIXME: insert proper C++ library support
11021 # Green Hills C++ Compiler
11022 # FIXME: insert proper C++ library support
11026 # FIXME: insert proper C++ library support
11032 # C++ shared libraries reported to be fairly broken before switch to ELF
11036 archive_cmds_need_lc_CXX
=no
11038 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11039 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11046 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11047 hardcode_libdir_separator_CXX
=:
11048 export_dynamic_flag_spec_CXX
='${wl}-E'
11049 hardcode_direct_CXX
=yes
11050 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11051 # but as the default
11052 # location of the library.
11054 case $cc_basename in
11056 # FIXME: insert proper C++ library support
11060 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'
11061 # Commands to make compiler produce verbose output that lists
11062 # what "hidden" libraries, object files and flags are used when
11063 # linking a shared library.
11065 # There doesn't appear to be a way to prevent this compiler from
11066 # explicitly linking system object files so we need to strip them
11067 # from the output so that they don't get included in the library
11069 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'
11072 if test "$GXX" = yes; then
11073 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'
11075 # FIXME: insert proper C++ library support
11082 if test $with_gnu_ld = no
; then
11085 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11086 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
11087 hardcode_libdir_separator_CXX
=:
11090 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11093 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11094 hardcode_libdir_separator_CXX
=:
11095 export_dynamic_flag_spec_CXX
='${wl}-E'
11101 hardcode_direct_CXX
=no
11102 hardcode_shlibpath_var_CXX
=no
11105 hardcode_direct_CXX
=no
11106 hardcode_shlibpath_var_CXX
=no
11107 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11108 # but as the default
11109 # location of the library.
11112 hardcode_direct_CXX
=yes
11113 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11114 # but as the default
11115 # location of the library.
11119 case $cc_basename in
11121 # FIXME: insert proper C++ library support
11127 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11130 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11133 # Commands to make compiler produce verbose output that lists
11134 # what "hidden" libraries, object files and flags are used when
11135 # linking a shared library.
11137 # There doesn't appear to be a way to prevent this compiler from
11138 # explicitly linking system object files so we need to strip them
11139 # from the output so that they don't get included in the library
11141 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'
11144 if test "$GXX" = yes; then
11145 if test $with_gnu_ld = no
; then
11148 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11151 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'
11156 # FIXME: insert proper C++ library support
11163 case $cc_basename in
11166 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'
11168 # Archives containing C++ object files must be created using
11169 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11170 # necessary to make sure instantiated templates are included
11172 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11175 if test "$GXX" = yes; then
11176 if test "$with_gnu_ld" = no
; then
11177 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'
11179 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'
11182 link_all_deplibs_CXX
=yes
11185 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11186 hardcode_libdir_separator_CXX
=:
11189 case $cc_basename in
11191 # Kuck and Associates, Inc. (KAI) C++ Compiler
11193 # KCC will only create a shared library if the output file
11194 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11195 # to its proper name (with version) after linking.
11196 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'
11197 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'
11198 # Commands to make compiler produce verbose output that lists
11199 # what "hidden" libraries, object files and flags are used when
11200 # linking a shared library.
11202 # There doesn't appear to be a way to prevent this compiler from
11203 # explicitly linking system object files so we need to strip them
11204 # from the output so that they don't get included in the library
11206 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'
11208 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11209 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11211 # Archives containing C++ object files must be created using
11212 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11213 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11218 # version 8.0 and above of icpc choke on multiply defined symbols
11219 # if we add $predep_objects and $postdep_objects, however 7.1 and
11220 # earlier do not add the objects themselves.
11221 case `$CC -V 2>&1` in
11223 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11224 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'
11226 *) # Version 8.0 or newer
11229 ia64
*) tmp_idyn
=' -i_dynamic';;
11231 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11232 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'
11235 archive_cmds_need_lc_CXX
=no
11236 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11237 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11238 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11241 # Portland Group C++ compiler
11242 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11243 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'
11245 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11246 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11247 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'
11251 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11252 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'
11254 runpath_var
=LD_RUN_PATH
11255 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11256 hardcode_libdir_separator_CXX
=:
11258 # Commands to make compiler produce verbose output that lists
11259 # what "hidden" libraries, object files and flags are used when
11260 # linking a shared library.
11262 # There doesn't appear to be a way to prevent this compiler from
11263 # explicitly linking system object files so we need to strip them
11264 # from the output so that they don't get included in the library
11266 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'
11271 # FIXME: insert proper C++ library support
11275 # FIXME: insert proper C++ library support
11279 case $cc_basename in
11281 # FIXME: insert proper C++ library support
11285 # FIXME: insert proper C++ library support
11290 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
11291 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11292 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11294 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11295 hardcode_direct_CXX
=yes
11296 hardcode_shlibpath_var_CXX
=no
11298 # Workaround some broken pre-1.5 toolchains
11299 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11302 # C++ shared libraries are fairly broken
11306 hardcode_direct_CXX
=yes
11307 hardcode_shlibpath_var_CXX
=no
11308 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11309 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11310 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11311 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11312 export_dynamic_flag_spec_CXX
='${wl}-E'
11313 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11315 output_verbose_link_cmd
='echo'
11318 case $cc_basename in
11320 # Kuck and Associates, Inc. (KAI) C++ Compiler
11322 # KCC will only create a shared library if the output file
11323 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11324 # to its proper name (with version) after linking.
11325 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'
11327 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11328 hardcode_libdir_separator_CXX
=:
11330 # Archives containing C++ object files must be created using
11331 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11332 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11336 # Rational C++ 2.4.1
11337 # FIXME: insert proper C++ library support
11341 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11342 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'
11344 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11345 hardcode_libdir_separator_CXX
=:
11347 # Commands to make compiler produce verbose output that lists
11348 # what "hidden" libraries, object files and flags are used when
11349 # linking a shared library.
11351 # There doesn't appear to be a way to prevent this compiler from
11352 # explicitly linking system object files so we need to strip them
11353 # from the output so that they don't get included in the library
11355 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'
11358 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11359 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11360 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'
11362 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11363 hardcode_libdir_separator_CXX
=:
11365 # Commands to make compiler produce verbose output that lists
11366 # what "hidden" libraries, object files and flags are used when
11367 # linking a shared library.
11368 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11371 # FIXME: insert proper C++ library support
11378 case $cc_basename in
11380 # Kuck and Associates, Inc. (KAI) C++ Compiler
11382 # KCC will only create a shared library if the output file
11383 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11384 # to its proper name (with version) after linking.
11385 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'
11387 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11388 hardcode_libdir_separator_CXX
=:
11390 # Archives containing C++ object files must be created using
11391 # the KAI C++ compiler.
11392 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11395 # Rational C++ 2.4.1
11396 # FIXME: insert proper C++ library support
11400 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11401 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'
11402 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11403 echo "-hidden">> $lib.exp~
11404 $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~
11407 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11408 hardcode_libdir_separator_CXX
=:
11410 # Commands to make compiler produce verbose output that lists
11411 # what "hidden" libraries, object files and flags are used when
11412 # linking a shared library.
11414 # There doesn't appear to be a way to prevent this compiler from
11415 # explicitly linking system object files so we need to strip them
11416 # from the output so that they don't get included in the library
11418 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'
11421 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11422 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11423 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'
11425 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11426 hardcode_libdir_separator_CXX
=:
11428 # Commands to make compiler produce verbose output that lists
11429 # what "hidden" libraries, object files and flags are used when
11430 # linking a shared library.
11431 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11434 # FIXME: insert proper C++ library support
11441 # FIXME: insert proper C++ library support
11445 archive_cmds_need_lc_CXX
=no
11446 case $cc_basename in
11448 # FIXME: insert proper C++ library support
11452 # FIXME: insert proper C++ library support
11458 case $cc_basename in
11461 # FIXME: insert proper C++ library support
11466 # FIXME: insert proper C++ library support
11470 # FIXME: insert proper C++ library support
11476 case $cc_basename in
11478 # Sun C++ 4.2, 5.x and Centerline C++
11479 archive_cmds_need_lc_CXX
=yes
11480 no_undefined_flag_CXX
=' -zdefs'
11481 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11482 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11483 $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'
11485 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11486 hardcode_shlibpath_var_CXX
=no
11488 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11490 # The C++ compiler is used as linker so we must use $wl
11491 # flag to pass the commands to the underlying system
11492 # linker. We must also pass each convience library through
11493 # to the system linker between allextract/defaultextract.
11494 # The C++ compiler will combine linker options so we
11495 # cannot just pass the convience library names through
11497 # Supported since Solaris 2.6 (maybe 2.5.1?)
11498 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11501 link_all_deplibs_CXX
=yes
11503 output_verbose_link_cmd
='echo'
11505 # Archives containing C++ object files must be created using
11506 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11507 # necessary to make sure instantiated templates are included
11509 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11512 # Green Hills C++ Compiler
11513 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11515 # The C++ compiler must be used to create the archive.
11516 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11519 # GNU C++ compiler with Solaris linker
11520 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11521 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11522 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11523 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11524 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11525 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11527 # Commands to make compiler produce verbose output that lists
11528 # what "hidden" libraries, object files and flags are used when
11529 # linking a shared library.
11530 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11532 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11534 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11535 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11536 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11538 # Commands to make compiler produce verbose output that lists
11539 # what "hidden" libraries, object files and flags are used when
11540 # linking a shared library.
11541 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11544 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11549 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
11550 archive_cmds_need_lc_CXX
=no
11553 case $cc_basename in
11555 # NonStop-UX NCC 3.20
11556 # FIXME: insert proper C++ library support
11560 # FIXME: insert proper C++ library support
11566 # FIXME: insert proper C++ library support
11570 # FIXME: insert proper C++ library support
11574 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11575 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11576 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11582 cat > conftest.
$ac_ext <<EOF
11586 Foo (void) { a = 0; }
11592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11593 (eval $ac_compile) 2>&5
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); }; then
11597 # Parse the compiler output and extract the necessary
11598 # objects, libraries and library flags.
11600 # Sentinel used to keep track of whether or not we are before
11601 # the conftest object file.
11602 pre_test_object_deps_done
=no
11604 # The `*' in the case matches for architectures that use `case' in
11605 # $output_verbose_cmd can trigger glob expansion during the loop
11606 # eval without this substitution.
11607 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11609 for p
in `eval $output_verbose_link_cmd`; do
11613 # Some compilers place space between "-{L,R}" and the path.
11614 # Remove the space.
11615 if test $p = "-L" \
11616 ||
test $p = "-R"; then
11623 if test "$pre_test_object_deps_done" = no
; then
11626 # Internal compiler library paths should come after those
11627 # provided the user. The postdeps already come after the
11628 # user supplied libs so there is no need to process them.
11629 if test -z "$compiler_lib_search_path_CXX"; then
11630 compiler_lib_search_path_CXX
="${prev}${p}"
11632 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11635 # The "-l" case would never come before the object being
11636 # linked, so don't bother handling this case.
11639 if test -z "$postdeps_CXX"; then
11640 postdeps_CXX
="${prev}${p}"
11642 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11648 # This assumes that the test object file only shows up
11649 # once in the compiler output.
11650 if test "$p" = "conftest.$objext"; then
11651 pre_test_object_deps_done
=yes
11655 if test "$pre_test_object_deps_done" = no
; then
11656 if test -z "$predep_objects_CXX"; then
11657 predep_objects_CXX
="$p"
11659 predep_objects_CXX
="$predep_objects_CXX $p"
11662 if test -z "$postdep_objects_CXX"; then
11663 postdep_objects_CXX
="$p"
11665 postdep_objects_CXX
="$postdep_objects_CXX $p"
11670 *) ;; # Ignore the rest.
11678 echo "libtool.m4: error: problem compiling CXX test program"
11681 $rm -f confest.
$objext
11683 # PORTME: override above test on systems where it is broken
11686 case $cc_basename in
11688 # Adding this requires a known-good setup of shared libraries for
11689 # Sun compiler versions before 5.6, else PIC objects from an old
11690 # archive will be linked into the output, leading to subtle bugs.
11691 postdeps_CXX
='-lCstd -lCrun'
11697 case " $postdeps_CXX " in
11698 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11701 lt_prog_compiler_wl_CXX
=
11702 lt_prog_compiler_pic_CXX
=
11703 lt_prog_compiler_static_CXX
=
11705 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11706 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11708 # C++ specific cases for pic, static, wl, etc.
11709 if test "$GXX" = yes; then
11710 lt_prog_compiler_wl_CXX
='-Wl,'
11711 lt_prog_compiler_static_CXX
='-static'
11715 # All AIX code is PIC.
11716 if test "$host_cpu" = ia64
; then
11717 # AIX 5 now supports IA64 processor
11718 lt_prog_compiler_static_CXX
='-Bstatic'
11722 # FIXME: we need at least 68020 code to build shared libraries, but
11723 # adding the `-m68020' flag to GCC prevents building anything better,
11725 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11727 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11728 # PIC is the default for these OSes.
11730 mingw
* | os2
* | pw32
*)
11731 # This hack is so that the source file can tell whether it is being
11732 # built for inclusion in a dll (and should export symbols for example).
11733 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11735 darwin
* | rhapsody
*)
11736 # PIC is the default on this platform
11737 # Common symbols not allowed in MH_DYLIB files
11738 lt_prog_compiler_pic_CXX
='-fno-common'
11741 # DJGPP does not support shared libraries at all
11742 lt_prog_compiler_pic_CXX
=
11745 if test -d /usr
/nec
; then
11746 lt_prog_compiler_pic_CXX
=-Kconform_pic
11750 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11751 # not for PA HP-UX.
11756 lt_prog_compiler_pic_CXX
='-fPIC'
11761 lt_prog_compiler_pic_CXX
='-fPIC'
11767 # All AIX code is PIC.
11768 if test "$host_cpu" = ia64
; then
11769 # AIX 5 now supports IA64 processor
11770 lt_prog_compiler_static_CXX
='-Bstatic'
11772 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11776 case $cc_basename in
11778 # Green Hills C++ Compiler
11779 # _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"
11784 # PIC is the default on this platform
11785 # Common symbols not allowed in MH_DYLIB files
11786 case $cc_basename in
11788 lt_prog_compiler_pic_CXX
='-qnocommon'
11789 lt_prog_compiler_wl_CXX
='-Wl,'
11794 case $cc_basename in
11796 lt_prog_compiler_pic_CXX
='-KPIC'
11799 # Green Hills C++ Compiler
11800 lt_prog_compiler_pic_CXX
='-pic'
11806 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11807 # FreeBSD uses GNU C++
11809 hpux9
* | hpux10
* | hpux11
*)
11810 case $cc_basename in
11812 lt_prog_compiler_wl_CXX
='-Wl,'
11813 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11814 if test "$host_cpu" != ia64
; then
11815 lt_prog_compiler_pic_CXX
='+Z'
11819 lt_prog_compiler_wl_CXX
='-Wl,'
11820 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11826 lt_prog_compiler_pic_CXX
='+Z'
11834 irix5
* | irix6
* | nonstopux
*)
11835 case $cc_basename in
11837 lt_prog_compiler_wl_CXX
='-Wl,'
11838 lt_prog_compiler_static_CXX
='-non_shared'
11839 # CC pic flag -KPIC is the default.
11846 case $cc_basename in
11849 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11850 lt_prog_compiler_pic_CXX
='-fPIC'
11854 lt_prog_compiler_wl_CXX
='-Wl,'
11855 lt_prog_compiler_pic_CXX
='-KPIC'
11856 lt_prog_compiler_static_CXX
='-static'
11859 # Portland Group C++ compiler.
11860 lt_prog_compiler_wl_CXX
='-Wl,'
11861 lt_prog_compiler_pic_CXX
='-fpic'
11862 lt_prog_compiler_static_CXX
='-Bstatic'
11866 # Make sure the PIC flag is empty. It appears that all Alpha
11867 # Linux and Compaq Tru64 Unix objects are PIC.
11868 lt_prog_compiler_pic_CXX
=
11869 lt_prog_compiler_static_CXX
='-non_shared'
11880 case $cc_basename in
11882 lt_prog_compiler_pic_CXX
='-W c,exportall'
11888 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
11890 osf3
* | osf4
* | osf5
*)
11891 case $cc_basename in
11893 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11896 # Rational C++ 2.4.1
11897 lt_prog_compiler_pic_CXX
='-pic'
11900 # Digital/Compaq C++
11901 lt_prog_compiler_wl_CXX
='-Wl,'
11902 # Make sure the PIC flag is empty. It appears that all Alpha
11903 # Linux and Compaq Tru64 Unix objects are PIC.
11904 lt_prog_compiler_pic_CXX
=
11905 lt_prog_compiler_static_CXX
='-non_shared'
11914 case $cc_basename in
11916 lt_prog_compiler_pic_CXX
='-fPIC'
11923 case $cc_basename in
11925 # Sun C++ 4.2, 5.x and Centerline C++
11926 lt_prog_compiler_pic_CXX
='-KPIC'
11927 lt_prog_compiler_static_CXX
='-Bstatic'
11928 lt_prog_compiler_wl_CXX
='-Qoption ld '
11931 # Green Hills C++ Compiler
11932 lt_prog_compiler_pic_CXX
='-PIC'
11939 case $cc_basename in
11942 lt_prog_compiler_pic_CXX
='-pic'
11943 lt_prog_compiler_static_CXX
='-Bstatic'
11947 lt_prog_compiler_pic_CXX
='-pic'
11954 case $cc_basename in
11956 # NonStop-UX NCC 3.20
11957 lt_prog_compiler_pic_CXX
='-KPIC'
11968 lt_prog_compiler_can_build_shared_CXX
=no
11973 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11974 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11977 # Check to make sure the PIC flag actually works.
11979 if test -n "$lt_prog_compiler_pic_CXX"; then
11981 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11982 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11983 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11984 echo $ECHO_N "(cached) $ECHO_C" >&6
11986 lt_prog_compiler_pic_works_CXX
=no
11987 ac_outfile
=conftest.
$ac_objext
11988 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11989 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11990 # Insert the option either (1) after the last *FLAGS variable, or
11991 # (2) before a word containing "conftest.", or (3) at the end.
11992 # Note that $ac_compile itself does not contain backslashes and begins
11993 # with a dollar sign (not a hyphen), so the echo should work correctly.
11994 # The option is referenced via a variable to avoid confusing sed.
11995 lt_compile
=`echo "$ac_compile" | $SED \
11996 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11997 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11998 -e 's:$: $lt_compiler_flag:'`
11999 (eval echo "\"\$as_me:11999: $lt_compile\"" >&5)
12000 (eval "$lt_compile" 2>conftest.err
)
12002 cat conftest.err
>&5
12003 echo "$as_me:12003: \$? = $ac_status" >&5
12004 if (exit $ac_status) && test -s "$ac_outfile"; then
12005 # The compiler can only warn and ignore the option if not recognized
12006 # So say no if there are warnings other than the usual output.
12007 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
12008 $SED '/^$/d' conftest.err
>conftest.er2
12009 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12010 lt_prog_compiler_pic_works_CXX
=yes
12016 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12017 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12019 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12020 case $lt_prog_compiler_pic_CXX in
12022 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12025 lt_prog_compiler_pic_CXX
=
12026 lt_prog_compiler_can_build_shared_CXX
=no
12031 # For platforms which do not support PIC, -DPIC is meaningless:
12033 lt_prog_compiler_pic_CXX
=
12036 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12040 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12041 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12042 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12043 echo $ECHO_N "(cached) $ECHO_C" >&6
12045 lt_cv_prog_compiler_c_o_CXX
=no
12046 $rm -r conftest
2>/dev
/null
12050 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12052 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12053 # Insert the option either (1) after the last *FLAGS variable, or
12054 # (2) before a word containing "conftest.", or (3) at the end.
12055 # Note that $ac_compile itself does not contain backslashes and begins
12056 # with a dollar sign (not a hyphen), so the echo should work correctly.
12057 lt_compile
=`echo "$ac_compile" | $SED \
12058 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12059 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12060 -e 's:$: $lt_compiler_flag:'`
12061 (eval echo "\"\$as_me:12061: $lt_compile\"" >&5)
12062 (eval "$lt_compile" 2>out
/conftest.err
)
12064 cat out
/conftest.err
>&5
12065 echo "$as_me:12065: \$? = $ac_status" >&5
12066 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12068 # The compiler can only warn and ignore the option if not recognized
12069 # So say no if there are warnings
12070 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
12071 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
12072 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12073 lt_cv_prog_compiler_c_o_CXX
=yes
12078 # SGI C++ compiler will create directory out/ii_files/ for
12079 # template instantiation
12080 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12081 $rm out
/* && rmdir out
12087 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12088 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12091 hard_links
="nottested"
12092 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12093 # do not overwrite the value of need_locks provided by the user
12094 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12095 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12098 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12100 ln conftest.a conftest.b
2>&5 || hard_links
=no
12101 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12102 { echo "$as_me:$LINENO: result: $hard_links" >&5
12103 echo "${ECHO_T}$hard_links" >&6; }
12104 if test "$hard_links" = no
; then
12105 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12106 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12113 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12114 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12116 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12119 # If we're using GNU nm, then we don't want the "-C" option.
12120 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12121 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12122 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'
12124 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'
12128 export_symbols_cmds_CXX
="$ltdll_cmds"
12131 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'
12134 link_all_deplibs_CXX
=no
12137 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12141 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12142 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12143 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12145 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12146 if test "$GCC" = yes; then
12147 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12151 # Do we need to explicitly link libc?
12153 case "x$archive_cmds_need_lc_CXX" in
12155 # Assume -lc should be added
12156 archive_cmds_need_lc_CXX
=yes
12158 if test "$enable_shared" = yes && test "$GCC" = yes; then
12159 case $archive_cmds_CXX in
12161 # FIXME: we may have to deal with multi-command sequences.
12164 # Test whether the compiler implicitly links with -lc since on some
12165 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12166 # to ld, don't add -lc before -lgcc.
12167 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12168 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12170 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12173 (eval $ac_compile) 2>&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } 2>conftest.err
; then
12179 libobjs
=conftest.
$ac_objext
12181 wl
=$lt_prog_compiler_wl_CXX
12187 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12188 allow_undefined_flag_CXX
=
12189 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12190 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }
12195 archive_cmds_need_lc_CXX
=no
12197 archive_cmds_need_lc_CXX
=yes
12199 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12201 cat conftest.err
1>&5
12204 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12205 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12212 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12213 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12214 library_names_spec
=
12215 libname_spec
='lib$name'
12219 postuninstall_cmds
=
12223 shlibpath_overrides_runpath
=unknown
12225 dynamic_linker
="$host_os ld.so"
12226 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12227 if test "$GCC" = yes; then
12228 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12229 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12230 # if the path contains ";" then we assume it to be the separator
12231 # otherwise default to the standard path separator (i.e. ":") - it is
12232 # assumed that no part of a normal pathname contains ";" but that should
12233 # okay in the real world where ";" in dirpaths is itself problematic.
12234 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12236 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12239 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12241 need_lib_prefix
=unknown
12242 hardcode_into_libs
=no
12244 # when you set need_version to no, make sure it does not cause -set_version
12245 # flags to be left without arguments
12246 need_version
=unknown
12251 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12252 shlibpath_var
=LIBPATH
12254 # AIX 3 has no versioning support, so we append a major version to the name.
12255 soname_spec
='${libname}${release}${shared_ext}$major'
12262 hardcode_into_libs
=yes
12263 if test "$host_cpu" = ia64
; then
12264 # AIX 5 supports IA64
12265 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12266 shlibpath_var
=LD_LIBRARY_PATH
12268 # With GCC up to 2.95.x, collect2 would create an import file
12269 # for dependence libraries. The import file would start with
12270 # the line `#! .'. This would cause the generated library to
12271 # depend on `.', always an invalid library. This was fixed in
12272 # development snapshots of GCC prior to 3.0.
12274 aix4 | aix4.
[01] | aix4.
[01].
*)
12275 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12277 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12280 can_build_shared
=no
12284 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12285 # soname into executable. Probably we can add versioning support to
12286 # collect2, so additional links can be useful in future.
12287 if test "$aix_use_runtimelinking" = yes; then
12288 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12289 # instead of lib<name>.a to let people know that these are not
12290 # typical AIX shared libraries.
12291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12293 # We preserve .a as extension for shared libraries through AIX4.2
12294 # and later when we are not doing run time linking.
12295 library_names_spec
='${libname}${release}.a $libname.a'
12296 soname_spec
='${libname}${release}${shared_ext}$major'
12298 shlibpath_var
=LIBPATH
12303 library_names_spec
='$libname.ixlibrary $libname.a'
12304 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12305 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'
12309 library_names_spec
='${libname}${shared_ext}'
12310 dynamic_linker
="$host_os ld.so"
12311 shlibpath_var
=LIBRARY_PATH
12317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12318 soname_spec
='${libname}${release}${shared_ext}$major'
12319 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12320 shlibpath_var
=LD_LIBRARY_PATH
12321 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12322 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12323 # the default ld.so.conf also contains /usr/contrib/lib and
12324 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12325 # libtool to hard-code these into programs
12328 cygwin
* | mingw
* | pw32
*)
12329 version_type
=windows
12334 case $GCC,$host_os in
12335 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12336 library_names_spec
='$libname.dll.a'
12337 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12338 postinstall_cmds
='base_file=`basename \${file}`~
12339 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12340 dldir=$destdir/`dirname \$dlpath`~
12341 test -d \$dldir || mkdir -p \$dldir~
12342 $install_prog $dir/$dlname \$dldir/$dlname~
12343 chmod a+x \$dldir/$dlname'
12344 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12345 dlpath=$dir/\$dldll~
12347 shlibpath_overrides_runpath
=yes
12351 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12352 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12353 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12356 # MinGW DLLs use traditional 'lib' prefix
12357 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12358 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12359 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12360 # It is most probably a Windows format PATH printed by
12361 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12362 # path with ; separators, and with drive letters. We can handle the
12363 # drive letters (cygwin fileutils understands them), so leave them,
12364 # especially as we might pass files found there to a mingw objdump,
12365 # which wouldn't understand a cygwinified path. Ahh.
12366 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12368 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12372 # pw32 DLLs use 'pw' prefix rather than 'lib'
12373 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12379 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12382 dynamic_linker
='Win32 ld.exe'
12383 # FIXME: first we should search . and the directory the executable is in
12387 darwin
* | rhapsody
*)
12388 dynamic_linker
="$host_os dyld"
12389 version_type
=darwin
12392 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12393 soname_spec
='${libname}${release}${major}$shared_ext'
12394 shlibpath_overrides_runpath
=yes
12395 shlibpath_var
=DYLD_LIBRARY_PATH
12396 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12397 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12398 if test "$GCC" = yes; then
12399 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12401 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12403 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12411 soname_spec
='${libname}${release}${shared_ext}$major'
12412 shlibpath_var
=LD_LIBRARY_PATH
12423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12424 soname_spec
='${libname}${release}${shared_ext}$major'
12425 shlibpath_var
=LD_LIBRARY_PATH
12426 shlibpath_overrides_runpath
=no
12427 hardcode_into_libs
=yes
12428 dynamic_linker
='GNU ld.so'
12431 freebsd
* | dragonfly
*)
12432 # DragonFly does not have aout. When/if they implement a new
12433 # versioning mechanism, adjust this.
12434 if test -x /usr
/bin
/objformat
; then
12435 objformat
=`/usr/bin/objformat`
12438 freebsd
[123]*) objformat
=aout
;;
12439 *) objformat
=elf
;;
12442 version_type
=freebsd-
$objformat
12443 case $version_type in
12445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12450 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12454 shlibpath_var
=LD_LIBRARY_PATH
12457 shlibpath_overrides_runpath
=yes
12459 freebsd3.
[01]* | freebsdelf3.
[01]*)
12460 shlibpath_overrides_runpath
=yes
12461 hardcode_into_libs
=yes
12464 shlibpath_overrides_runpath
=no
12465 hardcode_into_libs
=yes
12474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12475 soname_spec
='${libname}${release}${shared_ext}$major'
12476 shlibpath_var
=LD_LIBRARY_PATH
12477 hardcode_into_libs
=yes
12480 hpux9
* | hpux10
* | hpux11
*)
12481 # Give a soname corresponding to the major version so that dld.sl refuses to
12482 # link against other versions.
12489 hardcode_into_libs
=yes
12490 dynamic_linker
="$host_os dld.so"
12491 shlibpath_var
=LD_LIBRARY_PATH
12492 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12494 soname_spec
='${libname}${release}${shared_ext}$major'
12495 if test "X$HPUX_IA64_MODE" = X32
; then
12496 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12498 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12500 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12504 hardcode_into_libs
=yes
12505 dynamic_linker
="$host_os dld.sl"
12506 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12507 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12509 soname_spec
='${libname}${release}${shared_ext}$major'
12510 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12511 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12515 dynamic_linker
="$host_os dld.sl"
12516 shlibpath_var
=SHLIB_PATH
12517 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12519 soname_spec
='${libname}${release}${shared_ext}$major'
12522 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12523 postinstall_cmds
='chmod 555 $lib'
12526 irix5
* | irix6
* | nonstopux
*)
12528 nonstopux
*) version_type
=nonstopux
;;
12530 if test "$lt_cv_prog_gnu_ld" = yes; then
12538 soname_spec
='${libname}${release}${shared_ext}$major'
12539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12541 irix5
* | nonstopux
*)
12542 libsuff
= shlibsuff
=
12545 case $LD in # libtool.m4 will add one of these switches to LD
12546 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12547 libsuff
= shlibsuff
= libmagic
=32-bit;;
12548 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12549 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12550 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12551 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12552 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12556 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12557 shlibpath_overrides_runpath
=no
12558 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12559 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12560 hardcode_into_libs
=yes
12563 # No shared lib support for Linux oldld, aout, or coff.
12564 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12568 # This must be Linux ELF.
12573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12574 soname_spec
='${libname}${release}${shared_ext}$major'
12575 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12576 shlibpath_var
=LD_LIBRARY_PATH
12577 shlibpath_overrides_runpath
=no
12578 # This implies no fast_install, which is unacceptable.
12579 # Some rework will be needed to allow for fast_install
12580 # before this can be enabled.
12581 hardcode_into_libs
=yes
12583 # Append ld.so.conf contents to the search path
12584 if test -f /etc
/ld.so.conf
; then
12585 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12586 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12589 # We used to test for /lib/ld.so.1 and disable shared libraries on
12590 # powerpc, because MkLinux only supported shared libraries with the
12591 # GNU dynamic linker. Since this was broken with cross compilers,
12592 # most powerpc-linux boxes support dynamic linking these days and
12593 # people can always --disable-shared, the test was removed, and we
12594 # assume the GNU/Linux dynamic linker is in use.
12595 dynamic_linker
='GNU/Linux ld.so'
12602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12603 soname_spec
='${libname}${release}${shared_ext}$major'
12604 shlibpath_var
=LD_LIBRARY_PATH
12605 shlibpath_overrides_runpath
=no
12606 hardcode_into_libs
=yes
12607 dynamic_linker
='NetBSD ld.elf_so'
12614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12615 soname_spec
='${libname}${release}${shared_ext}$major'
12616 shlibpath_var
=LD_LIBRARY_PATH
12617 shlibpath_overrides_runpath
=no
12618 hardcode_into_libs
=yes
12619 dynamic_linker
='GNU ld.so'
12626 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12628 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12629 dynamic_linker
='NetBSD (a.out) ld.so'
12631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12632 soname_spec
='${libname}${release}${shared_ext}$major'
12633 dynamic_linker
='NetBSD ld.elf_so'
12635 shlibpath_var
=LD_LIBRARY_PATH
12636 shlibpath_overrides_runpath
=yes
12637 hardcode_into_libs
=yes
12642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12643 shlibpath_var
=LD_LIBRARY_PATH
12644 shlibpath_overrides_runpath
=yes
12651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12652 soname_spec
='${libname}${release}${shared_ext}$major'
12653 shlibpath_var
=LD_LIBRARY_PATH
12654 shlibpath_overrides_runpath
=yes
12660 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12662 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12663 *) need_version
=no
;;
12665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12666 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12667 shlibpath_var
=LD_LIBRARY_PATH
12668 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12670 openbsd2.
[89] | openbsd2.
[89].
*)
12671 shlibpath_overrides_runpath
=no
12674 shlibpath_overrides_runpath
=yes
12678 shlibpath_overrides_runpath
=yes
12683 libname_spec
='$name'
12686 library_names_spec
='$libname${shared_ext} $libname.a'
12687 dynamic_linker
='OS/2 ld.exe'
12688 shlibpath_var
=LIBPATH
12691 osf3
* | osf4
* | osf5
*)
12695 soname_spec
='${libname}${release}${shared_ext}$major'
12696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12697 shlibpath_var
=LD_LIBRARY_PATH
12698 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12699 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12704 soname_spec
='${libname}${release}${shared_ext}$major'
12705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12706 shlibpath_var
=LD_LIBRARY_PATH
12713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12714 soname_spec
='${libname}${release}${shared_ext}$major'
12715 shlibpath_var
=LD_LIBRARY_PATH
12716 shlibpath_overrides_runpath
=yes
12717 hardcode_into_libs
=yes
12718 # ldd complains unless libraries are executable
12719 postinstall_cmds
='chmod +x $lib'
12724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12725 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12726 shlibpath_var
=LD_LIBRARY_PATH
12727 shlibpath_overrides_runpath
=yes
12728 if test "$with_gnu_ld" = yes; then
12734 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12737 soname_spec
='${libname}${release}${shared_ext}$major'
12738 shlibpath_var
=LD_LIBRARY_PATH
12739 case $host_vendor in
12741 shlibpath_overrides_runpath
=no
12743 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12744 runpath_var
=LD_RUN_PATH
12752 shlibpath_overrides_runpath
=no
12753 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12759 if test -d /usr
/nec
;then
12761 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12762 soname_spec
='$libname${shared_ext}.$major'
12763 shlibpath_var
=LD_LIBRARY_PATH
12769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12770 soname_spec
='${libname}${release}${shared_ext}$major'
12771 shlibpath_var
=LD_LIBRARY_PATH
12778 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12779 echo "${ECHO_T}$dynamic_linker" >&6; }
12780 test "$dynamic_linker" = no
&& can_build_shared
=no
12782 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12783 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12784 hardcode_action_CXX
=
12785 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12786 test -n "$runpath_var_CXX" || \
12787 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12789 # We can hardcode non-existant directories.
12790 if test "$hardcode_direct_CXX" != no
&&
12791 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12792 # have to relink, otherwise we might link with an installed library
12793 # when we should be linking with a yet-to-be-installed one
12794 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12795 test "$hardcode_minus_L_CXX" != no
; then
12796 # Linking always hardcodes the temporary library directory.
12797 hardcode_action_CXX
=relink
12799 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12800 hardcode_action_CXX
=immediate
12803 # We cannot hardcode anything, or else we can only hardcode existing
12805 hardcode_action_CXX
=unsupported
12807 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12808 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12810 if test "$hardcode_action_CXX" = relink
; then
12811 # Fast installation is not supported
12812 enable_fast_install
=no
12813 elif test "$shlibpath_overrides_runpath" = yes ||
12814 test "$enable_shared" = no
; then
12815 # Fast installation is not necessary
12816 enable_fast_install
=needless
12821 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12822 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12823 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12824 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12825 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12826 { echo "$as_me:$LINENO: result: yes" >&5
12827 echo "${ECHO_T}yes" >&6; }
12829 # FIXME - insert some real tests, host_os isn't really good enough
12832 if test -n "$STRIP" ; then
12833 striplib
="$STRIP -x"
12834 { echo "$as_me:$LINENO: result: yes" >&5
12835 echo "${ECHO_T}yes" >&6; }
12837 { echo "$as_me:$LINENO: result: no" >&5
12838 echo "${ECHO_T}no" >&6; }
12842 { echo "$as_me:$LINENO: result: no" >&5
12843 echo "${ECHO_T}no" >&6; }
12848 if test "x$enable_dlopen" != xyes
; then
12849 enable_dlopen
=unknown
12850 enable_dlopen_self
=unknown
12851 enable_dlopen_self_static
=unknown
12858 lt_cv_dlopen
="load_add_on"
12860 lt_cv_dlopen_self
=yes
12864 lt_cv_dlopen
="LoadLibrary"
12869 lt_cv_dlopen
="dlopen"
12874 # if libdl is installed we need to link against it
12875 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12876 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12877 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12878 echo $ECHO_N "(cached) $ECHO_C" >&6
12880 ac_check_lib_save_LIBS
=$LIBS
12882 cat >conftest.
$ac_ext <<_ACEOF
12885 cat confdefs.h
>>conftest.
$ac_ext
12886 cat >>conftest.
$ac_ext <<_ACEOF
12887 /* end confdefs.h. */
12889 /* Override any GCC internal prototype to avoid an error.
12890 Use char because int might match the return type of a GCC
12891 builtin and then its argument prototype would still apply. */
12904 rm -f conftest.
$ac_objext conftest
$ac_exeext
12905 if { (ac_try
="$ac_link"
12906 case "(($ac_try" in
12907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12908 *) ac_try_echo=$ac_try;;
12910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12911 (eval "$ac_link") 2>conftest.er1
12913 grep -v '^ *+' conftest.er1 >conftest.err
12915 cat conftest.err >&5
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); } && {
12918 test -z "$ac_cxx_werror_flag" ||
12919 test ! -s conftest.err
12920 } && test -s conftest$ac_exeext &&
12921 $as_test_x conftest$ac_exeext; then
12922 ac_cv_lib_dl_dlopen=yes
12924 echo "$as_me: failed program was:" >&5
12925 sed 's/^/| /' conftest.$ac_ext >&5
12927 ac_cv_lib_dl_dlopen=no
12930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12931 conftest$ac_exeext conftest.$ac_ext
12932 LIBS=$ac_check_lib_save_LIBS
12934 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12935 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12936 if test $ac_cv_lib_dl_dlopen = yes; then
12937 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12940 lt_cv_dlopen="dyld"
12942 lt_cv_dlopen_self=yes
12949 { echo "$as_me:$LINENO: checking for shl_load" >&5
12950 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12951 if test "${ac_cv_func_shl_load+set}" = set; then
12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12954 cat >conftest.$ac_ext <<_ACEOF
12957 cat confdefs.h >>conftest.$ac_ext
12958 cat >>conftest.$ac_ext <<_ACEOF
12959 /* end confdefs.h. */
12960 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12962 #define shl_load innocuous_shl_load
12964 /* System header to define __stub macros and hopefully few prototypes,
12965 which can conflict with char shl_load (); below.
12966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12967 <limits.h> exists even on freestanding compilers. */
12970 # include <limits.h>
12972 # include <assert.h>
12977 /* Override any GCC internal prototype to avoid an error.
12978 Use char because int might match the return type of a GCC
12979 builtin and then its argument prototype would still apply. */
12984 /* The GNU C library defines this for functions which it implements
12985 to always fail with ENOSYS. Some functions are actually named
12986 something starting with __ and the normal name is an alias. */
12987 #if defined __stub_shl_load || defined __stub___shl_load
12994 return shl_load ();
12999 rm -f conftest.$ac_objext conftest$ac_exeext
13000 if { (ac_try="$ac_link"
13001 case "(($ac_try" in
13002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13003 *) ac_try_echo
=$ac_try;;
13005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13006 (eval "$ac_link") 2>conftest.er1
13008 grep -v '^ *+' conftest.er1
>conftest.err
13010 cat conftest.err
>&5
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); } && {
13013 test -z "$ac_cxx_werror_flag" ||
13014 test ! -s conftest.err
13015 } && test -s conftest
$ac_exeext &&
13016 $as_test_x conftest
$ac_exeext; then
13017 ac_cv_func_shl_load
=yes
13019 echo "$as_me: failed program was:" >&5
13020 sed 's/^/| /' conftest.
$ac_ext >&5
13022 ac_cv_func_shl_load
=no
13025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13026 conftest
$ac_exeext conftest.
$ac_ext
13028 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13029 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
13030 if test $ac_cv_func_shl_load = yes; then
13031 lt_cv_dlopen
="shl_load"
13033 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13034 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
13035 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13036 echo $ECHO_N "(cached) $ECHO_C" >&6
13038 ac_check_lib_save_LIBS
=$LIBS
13040 cat >conftest.
$ac_ext <<_ACEOF
13043 cat confdefs.h
>>conftest.
$ac_ext
13044 cat >>conftest.
$ac_ext <<_ACEOF
13045 /* end confdefs.h. */
13047 /* Override any GCC internal prototype to avoid an error.
13048 Use char because int might match the return type of a GCC
13049 builtin and then its argument prototype would still apply. */
13057 return shl_load ();
13062 rm -f conftest.
$ac_objext conftest
$ac_exeext
13063 if { (ac_try
="$ac_link"
13064 case "(($ac_try" in
13065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13066 *) ac_try_echo=$ac_try;;
13068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13069 (eval "$ac_link") 2>conftest.er1
13071 grep -v '^ *+' conftest.er1 >conftest.err
13073 cat conftest.err >&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); } && {
13076 test -z "$ac_cxx_werror_flag" ||
13077 test ! -s conftest.err
13078 } && test -s conftest$ac_exeext &&
13079 $as_test_x conftest$ac_exeext; then
13080 ac_cv_lib_dld_shl_load=yes
13082 echo "$as_me: failed program was:" >&5
13083 sed 's/^/| /' conftest.$ac_ext >&5
13085 ac_cv_lib_dld_shl_load=no
13088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13089 conftest$ac_exeext conftest.$ac_ext
13090 LIBS=$ac_check_lib_save_LIBS
13092 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13093 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
13094 if test $ac_cv_lib_dld_shl_load = yes; then
13095 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
13097 { echo "$as_me:$LINENO: checking for dlopen" >&5
13098 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
13099 if test "${ac_cv_func_dlopen+set}" = set; then
13100 echo $ECHO_N "(cached) $ECHO_C" >&6
13102 cat >conftest.$ac_ext <<_ACEOF
13105 cat confdefs.h >>conftest.$ac_ext
13106 cat >>conftest.$ac_ext <<_ACEOF
13107 /* end confdefs.h. */
13108 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13110 #define dlopen innocuous_dlopen
13112 /* System header to define __stub macros and hopefully few prototypes,
13113 which can conflict with char dlopen (); below.
13114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13115 <limits.h> exists even on freestanding compilers. */
13118 # include <limits.h>
13120 # include <assert.h>
13125 /* Override any GCC internal prototype to avoid an error.
13126 Use char because int might match the return type of a GCC
13127 builtin and then its argument prototype would still apply. */
13132 /* The GNU C library defines this for functions which it implements
13133 to always fail with ENOSYS. Some functions are actually named
13134 something starting with __ and the normal name is an alias. */
13135 #if defined __stub_dlopen || defined __stub___dlopen
13147 rm -f conftest.$ac_objext conftest$ac_exeext
13148 if { (ac_try="$ac_link"
13149 case "(($ac_try" in
13150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13151 *) ac_try_echo
=$ac_try;;
13153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13154 (eval "$ac_link") 2>conftest.er1
13156 grep -v '^ *+' conftest.er1
>conftest.err
13158 cat conftest.err
>&5
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); } && {
13161 test -z "$ac_cxx_werror_flag" ||
13162 test ! -s conftest.err
13163 } && test -s conftest
$ac_exeext &&
13164 $as_test_x conftest
$ac_exeext; then
13165 ac_cv_func_dlopen
=yes
13167 echo "$as_me: failed program was:" >&5
13168 sed 's/^/| /' conftest.
$ac_ext >&5
13170 ac_cv_func_dlopen
=no
13173 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13174 conftest
$ac_exeext conftest.
$ac_ext
13176 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13177 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
13178 if test $ac_cv_func_dlopen = yes; then
13179 lt_cv_dlopen
="dlopen"
13181 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13182 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
13183 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13184 echo $ECHO_N "(cached) $ECHO_C" >&6
13186 ac_check_lib_save_LIBS
=$LIBS
13188 cat >conftest.
$ac_ext <<_ACEOF
13191 cat confdefs.h
>>conftest.
$ac_ext
13192 cat >>conftest.
$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13195 /* Override any GCC internal prototype to avoid an error.
13196 Use char because int might match the return type of a GCC
13197 builtin and then its argument prototype would still apply. */
13210 rm -f conftest.
$ac_objext conftest
$ac_exeext
13211 if { (ac_try
="$ac_link"
13212 case "(($ac_try" in
13213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13214 *) ac_try_echo=$ac_try;;
13216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13217 (eval "$ac_link") 2>conftest.er1
13219 grep -v '^ *+' conftest.er1 >conftest.err
13221 cat conftest.err >&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); } && {
13224 test -z "$ac_cxx_werror_flag" ||
13225 test ! -s conftest.err
13226 } && test -s conftest$ac_exeext &&
13227 $as_test_x conftest$ac_exeext; then
13228 ac_cv_lib_dl_dlopen=yes
13230 echo "$as_me: failed program was:" >&5
13231 sed 's/^/| /' conftest.$ac_ext >&5
13233 ac_cv_lib_dl_dlopen=no
13236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13237 conftest$ac_exeext conftest.$ac_ext
13238 LIBS=$ac_check_lib_save_LIBS
13240 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13241 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
13242 if test $ac_cv_lib_dl_dlopen = yes; then
13243 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13245 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13246 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
13247 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13248 echo $ECHO_N "(cached) $ECHO_C" >&6
13250 ac_check_lib_save_LIBS=$LIBS
13251 LIBS="-lsvld $LIBS"
13252 cat >conftest.$ac_ext <<_ACEOF
13255 cat confdefs.h >>conftest.$ac_ext
13256 cat >>conftest.$ac_ext <<_ACEOF
13257 /* end confdefs.h. */
13259 /* Override any GCC internal prototype to avoid an error.
13260 Use char because int might match the return type of a GCC
13261 builtin and then its argument prototype would still apply. */
13274 rm -f conftest.$ac_objext conftest$ac_exeext
13275 if { (ac_try="$ac_link"
13276 case "(($ac_try" in
13277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13278 *) ac_try_echo
=$ac_try;;
13280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13281 (eval "$ac_link") 2>conftest.er1
13283 grep -v '^ *+' conftest.er1
>conftest.err
13285 cat conftest.err
>&5
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); } && {
13288 test -z "$ac_cxx_werror_flag" ||
13289 test ! -s conftest.err
13290 } && test -s conftest
$ac_exeext &&
13291 $as_test_x conftest
$ac_exeext; then
13292 ac_cv_lib_svld_dlopen
=yes
13294 echo "$as_me: failed program was:" >&5
13295 sed 's/^/| /' conftest.
$ac_ext >&5
13297 ac_cv_lib_svld_dlopen
=no
13300 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13301 conftest
$ac_exeext conftest.
$ac_ext
13302 LIBS
=$ac_check_lib_save_LIBS
13304 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13305 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
13306 if test $ac_cv_lib_svld_dlopen = yes; then
13307 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13309 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13310 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
13311 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 ac_check_lib_save_LIBS
=$LIBS
13316 cat >conftest.
$ac_ext <<_ACEOF
13319 cat confdefs.h
>>conftest.
$ac_ext
13320 cat >>conftest.
$ac_ext <<_ACEOF
13321 /* end confdefs.h. */
13323 /* Override any GCC internal prototype to avoid an error.
13324 Use char because int might match the return type of a GCC
13325 builtin and then its argument prototype would still apply. */
13333 return dld_link ();
13338 rm -f conftest.
$ac_objext conftest
$ac_exeext
13339 if { (ac_try
="$ac_link"
13340 case "(($ac_try" in
13341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13342 *) ac_try_echo=$ac_try;;
13344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13345 (eval "$ac_link") 2>conftest.er1
13347 grep -v '^ *+' conftest.er1 >conftest.err
13349 cat conftest.err >&5
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); } && {
13352 test -z "$ac_cxx_werror_flag" ||
13353 test ! -s conftest.err
13354 } && test -s conftest$ac_exeext &&
13355 $as_test_x conftest$ac_exeext; then
13356 ac_cv_lib_dld_dld_link=yes
13358 echo "$as_me: failed program was:" >&5
13359 sed 's/^/| /' conftest.$ac_ext >&5
13361 ac_cv_lib_dld_dld_link=no
13364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13365 conftest$ac_exeext conftest.$ac_ext
13366 LIBS=$ac_check_lib_save_LIBS
13368 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13369 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13370 if test $ac_cv_lib_dld_dld_link = yes; then
13371 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13392 if test "x$lt_cv_dlopen" != xno; then
13398 case $lt_cv_dlopen in
13400 save_CPPFLAGS="$CPPFLAGS"
13401 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13403 save_LDFLAGS="$LDFLAGS"
13404 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13407 LIBS="$lt_cv_dlopen_libs $LIBS"
13409 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13410 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
13411 if test "${lt_cv_dlopen_self+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13414 if test "$cross_compiling" = yes; then :
13415 lt_cv_dlopen_self=cross
13417 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13418 lt_status=$lt_dlunknown
13419 cat > conftest.$ac_ext <<EOF
13420 #line 13420 "configure"
13421 #include "confdefs.h"
13430 # define LT_DLGLOBAL RTLD_GLOBAL
13433 # define LT_DLGLOBAL DL_GLOBAL
13435 # define LT_DLGLOBAL 0
13439 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13440 find out it does not work in some platform. */
13441 #ifndef LT_DLLAZY_OR_NOW
13443 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13446 # define LT_DLLAZY_OR_NOW DL_LAZY
13449 # define LT_DLLAZY_OR_NOW RTLD_NOW
13452 # define LT_DLLAZY_OR_NOW DL_NOW
13454 # define LT_DLLAZY_OR_NOW 0
13462 extern "C" void exit (int);
13465 void fnord() { int i=42;}
13468 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13469 int status = $lt_dlunknown;
13473 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13474 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13475 /* dlclose (self); */
13481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13482 (eval $ac_link) 2>&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13486 (./conftest; exit; ) >&5 2>/dev/null
13488 case x$lt_status in
13489 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13490 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13491 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13494 # compilation failed
13495 lt_cv_dlopen_self=no
13502 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13503 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
13505 if test "x$lt_cv_dlopen_self" = xyes; then
13506 LDFLAGS="$LDFLAGS $link_static_flag"
13507 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13508 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
13509 if test "${lt_cv_dlopen_self_static+set}" = set; then
13510 echo $ECHO_N "(cached) $ECHO_C" >&6
13512 if test "$cross_compiling" = yes; then :
13513 lt_cv_dlopen_self_static=cross
13515 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13516 lt_status=$lt_dlunknown
13517 cat > conftest.$ac_ext <<EOF
13518 #line 13518 "configure"
13519 #include "confdefs.h"
13528 # define LT_DLGLOBAL RTLD_GLOBAL
13531 # define LT_DLGLOBAL DL_GLOBAL
13533 # define LT_DLGLOBAL 0
13537 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13538 find out it does not work in some platform. */
13539 #ifndef LT_DLLAZY_OR_NOW
13541 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13544 # define LT_DLLAZY_OR_NOW DL_LAZY
13547 # define LT_DLLAZY_OR_NOW RTLD_NOW
13550 # define LT_DLLAZY_OR_NOW DL_NOW
13552 # define LT_DLLAZY_OR_NOW 0
13560 extern "C" void exit (int);
13563 void fnord() { int i=42;}
13566 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13567 int status = $lt_dlunknown;
13571 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13572 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13573 /* dlclose (self); */
13579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13580 (eval $ac_link) 2>&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13584 (./conftest; exit; ) >&5 2>/dev/null
13586 case x$lt_status in
13587 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13588 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13589 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13592 # compilation failed
13593 lt_cv_dlopen_self_static=no
13600 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13601 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
13604 CPPFLAGS="$save_CPPFLAGS"
13605 LDFLAGS="$save_LDFLAGS"
13610 case $lt_cv_dlopen_self in
13611 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13612 *) enable_dlopen_self=unknown ;;
13615 case $lt_cv_dlopen_self_static in
13616 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13617 *) enable_dlopen_self_static=unknown ;;
13622 # The else clause should only fire when bootstrapping the
13623 # libtool distribution, otherwise you forgot to ship ltmain.sh
13624 # with your package, and you will get complaints that there are
13625 # no rules to generate ltmain.sh.
13626 if test -f "$ltmain"; then
13627 # See if we are running on zsh, and set the options which allow our commands through
13628 # without removal of \ escapes.
13629 if test -n "${ZSH_VERSION+set}" ; then
13630 setopt NO_GLOB_SUBST
13632 # Now quote all the things that may contain metacharacters while being
13633 # careful not to overquote the AC_SUBSTed values. We take copies of the
13634 # variables and quote the copies for generation of the libtool script.
13635 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13637 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13638 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13639 deplibs_check_method reload_flag reload_cmds need_locks \
13640 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13641 lt_cv_sys_global_symbol_to_c_name_address \
13642 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13643 old_postinstall_cmds old_postuninstall_cmds \
13647 lt_prog_compiler_wl_CXX \
13648 lt_prog_compiler_pic_CXX \
13649 lt_prog_compiler_static_CXX \
13650 lt_prog_compiler_no_builtin_flag_CXX \
13651 export_dynamic_flag_spec_CXX \
13652 thread_safe_flag_spec_CXX \
13653 whole_archive_flag_spec_CXX \
13654 enable_shared_with_static_runtimes_CXX \
13655 old_archive_cmds_CXX \
13656 old_archive_from_new_cmds_CXX \
13657 predep_objects_CXX \
13658 postdep_objects_CXX \
13661 compiler_lib_search_path_CXX \
13663 archive_expsym_cmds_CXX \
13664 postinstall_cmds_CXX \
13665 postuninstall_cmds_CXX \
13666 old_archive_from_expsyms_cmds_CXX \
13667 allow_undefined_flag_CXX \
13668 no_undefined_flag_CXX \
13669 export_symbols_cmds_CXX \
13670 hardcode_libdir_flag_spec_CXX \
13671 hardcode_libdir_flag_spec_ld_CXX \
13672 hardcode_libdir_separator_CXX \
13673 hardcode_automatic_CXX \
13675 module_expsym_cmds_CXX \
13676 lt_cv_prog_compiler_c_o_CXX \
13677 exclude_expsyms_CXX \
13678 include_expsyms_CXX; do
13681 old_archive_cmds_CXX | \
13682 old_archive_from_new_cmds_CXX | \
13683 archive_cmds_CXX | \
13684 archive_expsym_cmds_CXX | \
13685 module_cmds_CXX | \
13686 module_expsym_cmds_CXX | \
13687 old_archive_from_expsyms_cmds_CXX | \
13688 export_symbols_cmds_CXX | \
13689 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13690 postinstall_cmds | postuninstall_cmds | \
13691 old_postinstall_cmds | old_postuninstall_cmds | \
13692 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13693 # Double-quote double-evaled strings.
13694 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
13697 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
13703 *'\$0 --fallback-echo"')
13704 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13710 cat <<__EOF__ >> "$cfgfile"
13711 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13713 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
13715 # Shell to use when invoking shell scripts.
13718 # Whether or not to build shared libraries.
13719 build_libtool_libs=$enable_shared
13721 # Whether or not to build static libraries.
13722 build_old_libs=$enable_static
13724 # Whether or not to add -lc for building shared libraries.
13725 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13727 # Whether or not to disallow shared libs when runtime libs are static
13728 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13730 # Whether or not to optimize for fast installation.
13731 fast_install=$enable_fast_install
13734 host_alias=$host_alias
13738 # The build system.
13739 build_alias=$build_alias
13743 # An echo program that does not interpret backslashes.
13748 AR_FLAGS=$lt_AR_FLAGS
13753 # A language-specific compiler.
13754 CC=$lt_compiler_CXX
13756 # Is the compiler the GNU C compiler?
13762 # The linker used to build libraries.
13765 # Whether we need hard or soft links.
13768 # A BSD-compatible nm program.
13771 # A symbol stripping program
13774 # Used to examine libraries when file_magic_cmd begins "file"
13775 MAGIC_CMD=$MAGIC_CMD
13777 # Used on cygwin: DLL creation program.
13780 # Used on cygwin: object dumper.
13783 # Used on cygwin: assembler.
13786 # The name of the directory that contains temporary libtool files.
13789 # How to create reloadable object files.
13790 reload_flag=$lt_reload_flag
13791 reload_cmds=$lt_reload_cmds
13793 # How to pass a linker flag through the compiler.
13794 wl=$lt_lt_prog_compiler_wl_CXX
13796 # Object file suffix (normally "o").
13797 objext="$ac_objext"
13799 # Old archive suffix (normally "a").
13802 # Shared library suffix (normally ".so").
13803 shrext_cmds='$shrext_cmds'
13805 # Executable file suffix (normally "").
13808 # Additional compiler flags for building library objects.
13809 pic_flag=$lt_lt_prog_compiler_pic_CXX
13812 # What is the maximum length of a command?
13813 max_cmd_len=$lt_cv_sys_max_cmd_len
13815 # Does compiler simultaneously support -c and -o options?
13816 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13818 # Must we lock files when doing compilation?
13819 need_locks=$lt_need_locks
13821 # Do we need the lib prefix for modules?
13822 need_lib_prefix=$need_lib_prefix
13824 # Do we need a version for libraries?
13825 need_version=$need_version
13827 # Whether dlopen is supported.
13828 dlopen_support=$enable_dlopen
13830 # Whether dlopen of programs is supported.
13831 dlopen_self=$enable_dlopen_self
13833 # Whether dlopen of statically linked programs is supported.
13834 dlopen_self_static=$enable_dlopen_self_static
13836 # Compiler flag to prevent dynamic linking.
13837 link_static_flag=$lt_lt_prog_compiler_static_CXX
13839 # Compiler flag to turn off builtin functions.
13840 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13842 # Compiler flag to allow reflexive dlopens.
13843 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13845 # Compiler flag to generate shared objects directly from archives.
13846 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13848 # Compiler flag to generate thread-safe objects.
13849 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13851 # Library versioning type.
13852 version_type=$version_type
13854 # Format of library name prefix.
13855 libname_spec=$lt_libname_spec
13857 # List of archive names. First name is the real one, the rest are links.
13858 # The last name is the one that the linker finds with -lNAME.
13859 library_names_spec=$lt_library_names_spec
13861 # The coded name of the library, if different from the real name.
13862 soname_spec=$lt_soname_spec
13864 # Commands used to build and install an old-style archive.
13866 old_archive_cmds=$lt_old_archive_cmds_CXX
13867 old_postinstall_cmds=$lt_old_postinstall_cmds
13868 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13870 # Create an old-style archive from a shared archive.
13871 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13873 # Create a temporary old-style archive to link instead of a shared archive.
13874 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13876 # Commands used to build and install a shared archive.
13877 archive_cmds=$lt_archive_cmds_CXX
13878 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13879 postinstall_cmds=$lt_postinstall_cmds
13880 postuninstall_cmds=$lt_postuninstall_cmds
13882 # Commands used to build a loadable module (assumed same as above if empty)
13883 module_cmds=$lt_module_cmds_CXX
13884 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13886 # Commands to strip libraries.
13887 old_striplib=$lt_old_striplib
13888 striplib=$lt_striplib
13890 # Dependencies to place before the objects being linked to create a
13892 predep_objects=$lt_predep_objects_CXX
13894 # Dependencies to place after the objects being linked to create a
13896 postdep_objects=$lt_postdep_objects_CXX
13898 # Dependencies to place before the objects being linked to create a
13900 predeps=$lt_predeps_CXX
13902 # Dependencies to place after the objects being linked to create a
13904 postdeps=$lt_postdeps_CXX
13906 # The library search path used internally by the compiler when linking
13907 # a shared library.
13908 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13910 # Method to check whether dependent libraries are shared objects.
13911 deplibs_check_method=$lt_deplibs_check_method
13913 # Command to use when deplibs_check_method == file_magic.
13914 file_magic_cmd=$lt_file_magic_cmd
13916 # Flag that allows shared libraries with undefined symbols to be built.
13917 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13919 # Flag that forces no undefined symbols.
13920 no_undefined_flag=$lt_no_undefined_flag_CXX
13922 # Commands used to finish a libtool library installation in a directory.
13923 finish_cmds=$lt_finish_cmds
13925 # Same as above, but a single script fragment to be evaled but not shown.
13926 finish_eval=$lt_finish_eval
13928 # Take the output of nm and produce a listing of raw symbols and C names.
13929 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13931 # Transform the output of nm in a proper C declaration
13932 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13934 # Transform the output of nm in a C name address pair
13935 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13937 # This is the shared library runtime path variable.
13938 runpath_var=$runpath_var
13940 # This is the shared library path variable.
13941 shlibpath_var=$shlibpath_var
13943 # Is shlibpath searched before the hard-coded library search path?
13944 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13946 # How to hardcode a shared library path into an executable.
13947 hardcode_action=$hardcode_action_CXX
13949 # Whether we should hardcode library paths into libraries.
13950 hardcode_into_libs=$hardcode_into_libs
13952 # Flag to hardcode \$libdir into a binary during linking.
13953 # This must work even if \$libdir does not exist.
13954 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13956 # If ld is used when linking, flag to hardcode \$libdir into
13957 # a binary during linking. This must work even if \$libdir does
13959 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13961 # Whether we need a single -rpath flag with a separated argument.
13962 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13964 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13965 # resulting binary.
13966 hardcode_direct=$hardcode_direct_CXX
13968 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13969 # resulting binary.
13970 hardcode_minus_L=$hardcode_minus_L_CXX
13972 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13973 # the resulting binary.
13974 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13976 # Set to yes if building a shared library automatically hardcodes DIR into the library
13977 # and all subsequent libraries and executables linked against it.
13978 hardcode_automatic=$hardcode_automatic_CXX
13980 # Variables whose values should be saved in libtool wrapper scripts and
13981 # restored at relink time.
13982 variables_saved_for_relink="$variables_saved_for_relink"
13984 # Whether libtool must link a program against all its dependency libraries.
13985 link_all_deplibs=$link_all_deplibs_CXX
13987 # Compile-time system search path for libraries
13988 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13990 # Run-time system search path for libraries
13991 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13993 # Fix the shell variable \$srcfile for the compiler.
13994 fix_srcfile_path="$fix_srcfile_path_CXX"
13996 # Set to yes if exported symbols are required.
13997 always_export_symbols=$always_export_symbols_CXX
13999 # The commands to list exported symbols.
14000 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14002 # The commands to extract the exported symbol list from a shared archive.
14003 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14005 # Symbols that should not be listed in the preloaded symbols.
14006 exclude_expsyms=$lt_exclude_expsyms_CXX
14008 # Symbols that must always be exported.
14009 include_expsyms=$lt_include_expsyms_CXX
14011 # ### END LIBTOOL TAG CONFIG: $tagname
14017 # If there is no Makefile yet, we rely on a make rule to execute
14018 # `config.status
--recheck' to rerun these tests and create the
14019 # libtool script then.
14020 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
14021 if test -f "$ltmain_in"; then
14022 test -f Makefile && make "$ltmain"
14028 ac_cpp='$CPP $CPPFLAGS'
14029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14030 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14037 with_gnu_ldcxx=$with_gnu_ld
14038 with_gnu_ld=$lt_save_with_gnu_ld
14039 lt_cv_path_LDCXX=$lt_cv_path_LD
14040 lt_cv_path_LD=$lt_save_path_LD
14041 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14042 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14050 if test -n "$F77" && test "X$F77" != "Xno"; then
14053 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
14054 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14055 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14058 archive_cmds_need_lc_F77=no
14059 allow_undefined_flag_F77=
14060 always_export_symbols_F77=no
14061 archive_expsym_cmds_F77=
14062 export_dynamic_flag_spec_F77=
14063 hardcode_direct_F77=no
14064 hardcode_libdir_flag_spec_F77=
14065 hardcode_libdir_flag_spec_ld_F77=
14066 hardcode_libdir_separator_F77=
14067 hardcode_minus_L_F77=no
14068 hardcode_automatic_F77=no
14070 module_expsym_cmds_F77=
14071 link_all_deplibs_F77=unknown
14072 old_archive_cmds_F77=$old_archive_cmds
14073 no_undefined_flag_F77=
14074 whole_archive_flag_spec_F77=
14075 enable_shared_with_static_runtimes_F77=no
14077 # Source file extension for f77 test sources.
14080 # Object file extension for compiled f77 test sources.
14084 # Code to be used in simple compile tests
14085 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
14087 # Code to be used in simple link tests
14088 lt_simple_link_test_code=" program t\n end\n"
14090 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14092 # If no C compiler was specified, use CC.
14095 # Allow CC to be a program name with arguments.
14099 # save warnings/boilerplate of simple test code
14100 ac_outfile=conftest.$ac_objext
14101 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14102 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
' >conftest.err
14103 _lt_compiler_boilerplate=`cat conftest.err`
14106 ac_outfile=conftest.$ac_objext
14107 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14108 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
' >conftest.err
14109 _lt_linker_boilerplate=`cat conftest.err`
14113 # Allow CC to be a program name with arguments.
14118 for cc_temp in $compiler""; do
14120 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14121 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14126 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
14129 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14130 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14131 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14132 echo "${ECHO_T}$can_build_shared" >&6; }
14134 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14135 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14136 test "$can_build_shared" = "no" && enable_shared=no
14138 # On AIX, shared libraries and static libraries use the same namespace, and
14139 # are all built from PIC.
14142 test "$enable_shared" = yes && enable_static=no
14143 if test -n "$RANLIB"; then
14144 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14145 postinstall_cmds='$RANLIB $lib'
14149 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14150 test "$enable_shared" = yes && enable_static=no
14154 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14155 echo "${ECHO_T}$enable_shared" >&6; }
14157 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14158 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14159 # Make sure either enable_shared or enable_static is yes.
14160 test "$enable_shared" = yes || enable_static=yes
14161 { echo "$as_me:$LINENO: result: $enable_static" >&5
14162 echo "${ECHO_T}$enable_static" >&6; }
14164 test "$ld_shlibs_F77" = no && can_build_shared=no
14169 lt_prog_compiler_wl_F77=
14170 lt_prog_compiler_pic_F77=
14171 lt_prog_compiler_static_F77=
14173 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14174 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14176 if test "$GCC" = yes; then
14177 lt_prog_compiler_wl_F77='-Wl,'
14178 lt_prog_compiler_static_F77='-static'
14182 # All AIX code is PIC.
14183 if test "$host_cpu" = ia64; then
14184 # AIX 5 now supports IA64 processor
14185 lt_prog_compiler_static_F77='-Bstatic'
14190 # FIXME: we need at least 68020 code to build shared libraries, but
14191 # adding the `-m68020' flag to GCC prevents building anything better
,
14193 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14196 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14197 # PIC is the default for these OSes.
14200 mingw
* | pw32
* | os2
*)
14201 # This hack is so that the source file can tell whether it is being
14202 # built for inclusion in a dll (and should export symbols for example).
14203 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14206 darwin
* | rhapsody
*)
14207 # PIC is the default on this platform
14208 # Common symbols not allowed in MH_DYLIB files
14209 lt_prog_compiler_pic_F77
='-fno-common'
14213 # Just because we use GCC doesn't mean we suddenly get shared libraries
14214 # on systems that don't support them.
14215 lt_prog_compiler_can_build_shared_F77
=no
14220 if test -d /usr
/nec
; then
14221 lt_prog_compiler_pic_F77
=-Kconform_pic
14226 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14227 # not for PA HP-UX.
14233 lt_prog_compiler_pic_F77
='-fPIC'
14239 lt_prog_compiler_pic_F77
='-fPIC'
14243 # PORTME Check for flag to pass linker flags through the system compiler.
14246 lt_prog_compiler_wl_F77
='-Wl,'
14247 if test "$host_cpu" = ia64
; then
14248 # AIX 5 now supports IA64 processor
14249 lt_prog_compiler_static_F77
='-Bstatic'
14251 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14255 # PIC is the default on this platform
14256 # Common symbols not allowed in MH_DYLIB files
14257 case $cc_basename in
14259 lt_prog_compiler_pic_F77
='-qnocommon'
14260 lt_prog_compiler_wl_F77
='-Wl,'
14265 mingw
* | pw32
* | os2
*)
14266 # This hack is so that the source file can tell whether it is being
14267 # built for inclusion in a dll (and should export symbols for example).
14268 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14271 hpux9
* | hpux10
* | hpux11
*)
14272 lt_prog_compiler_wl_F77
='-Wl,'
14273 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14274 # not for PA HP-UX.
14280 lt_prog_compiler_pic_F77
='+Z'
14283 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14284 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14287 irix5
* | irix6
* | nonstopux
*)
14288 lt_prog_compiler_wl_F77
='-Wl,'
14289 # PIC (with -KPIC) is the default.
14290 lt_prog_compiler_static_F77
='-non_shared'
14294 lt_prog_compiler_pic_F77
='-KPIC'
14295 lt_prog_compiler_static_F77
='-Bstatic'
14299 case $cc_basename in
14301 lt_prog_compiler_wl_F77
='-Wl,'
14302 lt_prog_compiler_pic_F77
='-KPIC'
14303 lt_prog_compiler_static_F77
='-static'
14305 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14306 # Portland Group compilers (*not* the Pentium gcc compiler,
14307 # which looks to be a dead project)
14308 lt_prog_compiler_wl_F77
='-Wl,'
14309 lt_prog_compiler_pic_F77
='-fpic'
14310 lt_prog_compiler_static_F77
='-Bstatic'
14313 lt_prog_compiler_wl_F77
='-Wl,'
14314 # All Alpha code is PIC.
14315 lt_prog_compiler_static_F77
='-non_shared'
14320 osf3
* | osf4
* | osf5
*)
14321 lt_prog_compiler_wl_F77
='-Wl,'
14322 # All OSF/1 code is PIC.
14323 lt_prog_compiler_static_F77
='-non_shared'
14327 lt_prog_compiler_pic_F77
='-Kpic'
14328 lt_prog_compiler_static_F77
='-dn'
14332 lt_prog_compiler_pic_F77
='-KPIC'
14333 lt_prog_compiler_static_F77
='-Bstatic'
14334 case $cc_basename in
14335 f77
* | f90
* | f95
*)
14336 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14338 lt_prog_compiler_wl_F77
='-Wl,';;
14343 lt_prog_compiler_wl_F77
='-Qoption ld '
14344 lt_prog_compiler_pic_F77
='-PIC'
14345 lt_prog_compiler_static_F77
='-Bstatic'
14348 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14349 lt_prog_compiler_wl_F77
='-Wl,'
14350 lt_prog_compiler_pic_F77
='-KPIC'
14351 lt_prog_compiler_static_F77
='-Bstatic'
14355 if test -d /usr
/nec
;then
14356 lt_prog_compiler_pic_F77
='-Kconform_pic'
14357 lt_prog_compiler_static_F77
='-Bstatic'
14362 lt_prog_compiler_wl_F77
='-Wl,'
14363 lt_prog_compiler_can_build_shared_F77
=no
14367 lt_prog_compiler_pic_F77
='-pic'
14368 lt_prog_compiler_static_F77
='-Bstatic'
14372 lt_prog_compiler_can_build_shared_F77
=no
14377 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14378 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14381 # Check to make sure the PIC flag actually works.
14383 if test -n "$lt_prog_compiler_pic_F77"; then
14385 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14386 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14387 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14388 echo $ECHO_N "(cached) $ECHO_C" >&6
14390 lt_prog_compiler_pic_works_F77
=no
14391 ac_outfile
=conftest.
$ac_objext
14392 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14393 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14394 # Insert the option either (1) after the last *FLAGS variable, or
14395 # (2) before a word containing "conftest.", or (3) at the end.
14396 # Note that $ac_compile itself does not contain backslashes and begins
14397 # with a dollar sign (not a hyphen), so the echo should work correctly.
14398 # The option is referenced via a variable to avoid confusing sed.
14399 lt_compile
=`echo "$ac_compile" | $SED \
14400 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14401 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14402 -e 's:$: $lt_compiler_flag:'`
14403 (eval echo "\"\$as_me:14403: $lt_compile\"" >&5)
14404 (eval "$lt_compile" 2>conftest.err
)
14406 cat conftest.err
>&5
14407 echo "$as_me:14407: \$? = $ac_status" >&5
14408 if (exit $ac_status) && test -s "$ac_outfile"; then
14409 # The compiler can only warn and ignore the option if not recognized
14410 # So say no if there are warnings other than the usual output.
14411 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
14412 $SED '/^$/d' conftest.err
>conftest.er2
14413 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14414 lt_prog_compiler_pic_works_F77
=yes
14420 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14421 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14423 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14424 case $lt_prog_compiler_pic_F77 in
14426 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14429 lt_prog_compiler_pic_F77
=
14430 lt_prog_compiler_can_build_shared_F77
=no
14435 # For platforms which do not support PIC, -DPIC is meaningless:
14437 lt_prog_compiler_pic_F77
=
14440 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14444 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14445 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14446 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14447 echo $ECHO_N "(cached) $ECHO_C" >&6
14449 lt_cv_prog_compiler_c_o_F77
=no
14450 $rm -r conftest
2>/dev
/null
14454 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14456 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14457 # Insert the option either (1) after the last *FLAGS variable, or
14458 # (2) before a word containing "conftest.", or (3) at the end.
14459 # Note that $ac_compile itself does not contain backslashes and begins
14460 # with a dollar sign (not a hyphen), so the echo should work correctly.
14461 lt_compile
=`echo "$ac_compile" | $SED \
14462 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14463 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14464 -e 's:$: $lt_compiler_flag:'`
14465 (eval echo "\"\$as_me:14465: $lt_compile\"" >&5)
14466 (eval "$lt_compile" 2>out
/conftest.err
)
14468 cat out
/conftest.err
>&5
14469 echo "$as_me:14469: \$? = $ac_status" >&5
14470 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14472 # The compiler can only warn and ignore the option if not recognized
14473 # So say no if there are warnings
14474 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
14475 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
14476 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14477 lt_cv_prog_compiler_c_o_F77
=yes
14482 # SGI C++ compiler will create directory out/ii_files/ for
14483 # template instantiation
14484 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14485 $rm out
/* && rmdir out
14491 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14492 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14495 hard_links
="nottested"
14496 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14497 # do not overwrite the value of need_locks provided by the user
14498 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14499 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14502 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14504 ln conftest.a conftest.b
2>&5 || hard_links
=no
14505 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14506 { echo "$as_me:$LINENO: result: $hard_links" >&5
14507 echo "${ECHO_T}$hard_links" >&6; }
14508 if test "$hard_links" = no
; then
14509 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14510 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14517 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14518 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14521 allow_undefined_flag_F77
=
14522 enable_shared_with_static_runtimes_F77
=no
14524 archive_expsym_cmds_F77
=
14525 old_archive_From_new_cmds_F77
=
14526 old_archive_from_expsyms_cmds_F77
=
14527 export_dynamic_flag_spec_F77
=
14528 whole_archive_flag_spec_F77
=
14529 thread_safe_flag_spec_F77
=
14530 hardcode_libdir_flag_spec_F77
=
14531 hardcode_libdir_flag_spec_ld_F77
=
14532 hardcode_libdir_separator_F77
=
14533 hardcode_direct_F77
=no
14534 hardcode_minus_L_F77
=no
14535 hardcode_shlibpath_var_F77
=unsupported
14536 link_all_deplibs_F77
=unknown
14537 hardcode_automatic_F77
=no
14539 module_expsym_cmds_F77
=
14540 always_export_symbols_F77
=no
14541 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14542 # include_expsyms should be a list of space-separated symbols to be *always*
14543 # included in the symbol list
14544 include_expsyms_F77
=
14545 # exclude_expsyms can be an extended regexp of symbols to exclude
14546 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14547 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14548 # as well as any symbol that contains `d'.
14549 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14550 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14551 # platforms (ab)use it in PIC code, but their linkers get confused if
14552 # the symbol is explicitly referenced. Since portable code cannot
14553 # rely on this symbol name, it's probably fine to never include it in
14554 # preloaded symbol tables.
14555 extract_expsyms_cmds
=
14556 # Just being paranoid about ensuring that cc_basename is set.
14557 for cc_temp
in $compiler""; do
14559 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14560 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14565 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14568 cygwin
* | mingw
* | pw32
*)
14569 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14570 # When not using gcc, we currently assume that we are using
14571 # Microsoft Visual C++.
14572 if test "$GCC" != yes; then
14582 if test "$with_gnu_ld" = yes; then
14583 # If archive_cmds runs LD, not CC, wlarc should be empty
14586 # Set some defaults for GNU ld with shared library support. These
14587 # are reset later if shared libraries are not supported. Putting them
14588 # here allows them to be overridden if necessary.
14589 runpath_var
=LD_RUN_PATH
14590 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14591 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14592 # ancient GNU ld didn't support --whole-archive et. al.
14593 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14594 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14596 whole_archive_flag_spec_F77
=
14598 supports_anon_versioning
=no
14599 case `$LD -v 2>/dev/null` in
14600 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14601 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14602 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14603 *\
2.11.
*) ;; # other 2.11 versions
14604 *) supports_anon_versioning
=yes ;;
14607 # See if GNU ld supports shared libraries.
14609 aix3
* | aix4
* | aix5
*)
14610 # On AIX/PPC, the GNU linker is very broken
14611 if test "$host_cpu" != ia64
; then
14615 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14616 *** to be unable to reliably create shared libraries on AIX.
14617 *** Therefore, libtool is disabling shared libraries support. If you
14618 *** really care for shared libraries, you may want to modify your PATH
14619 *** so that a non-GNU linker is found, and then restart.
14626 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)'
14627 hardcode_libdir_flag_spec_F77
='-L$libdir'
14628 hardcode_minus_L_F77
=yes
14630 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14631 # that the semantics of dynamic libraries on AmigaOS, at least up
14632 # to version 4, is to share data among multiple programs linked
14633 # with the same dynamic library. Since this doesn't match the
14634 # behavior of shared libraries on other platforms, we can't use
14640 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14641 allow_undefined_flag_F77
=unsupported
14642 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14643 # support --undefined. This deserves some investigation. FIXME
14644 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14650 cygwin
* | mingw
* | pw32
*)
14651 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14652 # as there is no search path for DLLs.
14653 hardcode_libdir_flag_spec_F77
='-L$libdir'
14654 allow_undefined_flag_F77
=unsupported
14655 always_export_symbols_F77
=no
14656 enable_shared_with_static_runtimes_F77
=yes
14657 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14659 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14660 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14661 # If the export-symbols file already is a .def file (1st line
14662 # is EXPORTS), use it as is; otherwise, prepend...
14663 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14664 cp $export_symbols $output_objdir/$soname.def;
14666 echo EXPORTS > $output_objdir/$soname.def;
14667 cat $export_symbols >> $output_objdir/$soname.def;
14669 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14676 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14678 case $cc_basename,$host_cpu in
14679 pgcc
*) # Portland Group C compiler
14680 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'
14681 tmp_addflag
=' $pic_flag'
14683 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14684 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'
14685 tmp_addflag
=' $pic_flag -Mnomain' ;;
14686 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14687 tmp_addflag
=' -i_dynamic' ;;
14688 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14689 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14690 ifc
* | ifort
*) # Intel Fortran compiler
14691 tmp_addflag
=' -nofor_main' ;;
14693 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14695 if test $supports_anon_versioning = yes; then
14696 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14697 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14698 $echo "local: *; };" >> $output_objdir/$libname.ver~
14699 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14701 link_all_deplibs_F77
=no
14707 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
14708 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14709 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14712 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14713 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14718 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14722 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14723 *** create shared libraries on Solaris systems. Therefore, libtool
14724 *** is disabling shared libraries support. We urge you to upgrade GNU
14725 *** binutils to release 2.9.1 or newer. Another option is to modify
14726 *** your PATH or compiler configuration so that the native linker is
14727 *** used, and then restart.
14730 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14731 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14732 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14739 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14741 hardcode_direct_F77
=yes
14742 hardcode_shlibpath_var_F77
=no
14746 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14747 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14748 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14755 if test "$ld_shlibs_F77" = no
; then
14757 hardcode_libdir_flag_spec_F77
=
14758 export_dynamic_flag_spec_F77
=
14759 whole_archive_flag_spec_F77
=
14762 # PORTME fill in a description of your system's linker (not GNU ld)
14765 allow_undefined_flag_F77
=unsupported
14766 always_export_symbols_F77
=yes
14767 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'
14768 # Note: this linker hardcodes the directories in LIBPATH if there
14769 # are no directories specified by -L.
14770 hardcode_minus_L_F77
=yes
14771 if test "$GCC" = yes && test -z "$link_static_flag"; then
14772 # Neither direct hardcoding nor static linking is supported with a
14774 hardcode_direct_F77
=unsupported
14779 if test "$host_cpu" = ia64
; then
14780 # On IA64, the linker does run time linking by default, so we don't
14781 # have to do anything special.
14782 aix_use_runtimelinking
=no
14783 exp_sym_flag
='-Bexport'
14786 # If we're using GNU nm, then we don't want the "-C" option.
14787 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14788 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14789 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'
14791 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'
14793 aix_use_runtimelinking
=no
14795 # Test if we are trying to use run time linking or normal
14796 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14797 # need to do runtime linking.
14798 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14799 for ld_flag
in $LDFLAGS; do
14800 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14801 aix_use_runtimelinking
=yes
14807 exp_sym_flag
='-bexport'
14808 no_entry_flag
='-bnoentry'
14811 # When large executables or shared objects are built, AIX ld can
14812 # have problems creating the table of contents. If linking a library
14813 # or program results in "error TOC overflow" add -mminimal-toc to
14814 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14815 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14817 archive_cmds_F77
=''
14818 hardcode_direct_F77
=yes
14819 hardcode_libdir_separator_F77
=':'
14820 link_all_deplibs_F77
=yes
14822 if test "$GCC" = yes; then
14823 case $host_os in aix4.
[012]|aix4.
[012].
*)
14824 # We only want to do this on AIX 4.2 and lower, the check
14825 # below for broken collect2 doesn't work under 4.3+
14826 collect2name
=`${CC} -print-prog-name=collect2`
14827 if test -f "$collect2name" && \
14828 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14830 # We have reworked collect2
14831 hardcode_direct_F77
=yes
14833 # We have old collect2
14834 hardcode_direct_F77
=unsupported
14835 # It fails to find uninstalled libraries when the uninstalled
14836 # path is not listed in the libpath. Setting hardcode_minus_L
14837 # to unsupported forces relinking
14838 hardcode_minus_L_F77
=yes
14839 hardcode_libdir_flag_spec_F77
='-L$libdir'
14840 hardcode_libdir_separator_F77
=
14843 shared_flag
='-shared'
14844 if test "$aix_use_runtimelinking" = yes; then
14845 shared_flag
="$shared_flag "'${wl}-G'
14849 if test "$host_cpu" = ia64
; then
14850 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14851 # chokes on -Wl,-G. The following line is correct:
14854 if test "$aix_use_runtimelinking" = yes; then
14855 shared_flag
='${wl}-G'
14857 shared_flag
='${wl}-bM:SRE'
14862 # It seems that -bexpall does not export symbols beginning with
14863 # underscore (_), so it is better to generate a list of symbols to export.
14864 always_export_symbols_F77
=yes
14865 if test "$aix_use_runtimelinking" = yes; then
14866 # Warning - without using the other runtime loading flags (-brtl),
14867 # -berok will link without error, but may produce a broken library.
14868 allow_undefined_flag_F77
='-berok'
14869 # Determine the default libpath from the value encoded in an empty executable.
14870 cat >conftest.
$ac_ext <<_ACEOF
14875 rm -f conftest.
$ac_objext conftest
$ac_exeext
14876 if { (ac_try
="$ac_link"
14877 case "(($ac_try" in
14878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14879 *) ac_try_echo=$ac_try;;
14881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14882 (eval "$ac_link") 2>conftest.er1
14884 grep -v '^ *+' conftest.er1 >conftest.err
14886 cat conftest.err >&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); } && {
14889 test -z "$ac_f77_werror_flag" ||
14890 test ! -s conftest.err
14891 } && test -s conftest$ac_exeext &&
14892 $as_test_x conftest$ac_exeext; then
14894 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14896 # Check for a 64-bit object if we didn't find anything.
14897 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14900 echo "$as_me: failed program was:" >&5
14901 sed 's/^/| /' conftest.$ac_ext >&5
14906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14907 conftest$ac_exeext conftest.$ac_ext
14908 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14910 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14911 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14913 if test "$host_cpu" = ia64
; then
14914 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
14915 allow_undefined_flag_F77
="-z nodefs"
14916 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
14918 # Determine the default libpath from the value encoded in an empty executable.
14919 cat >conftest.$ac_ext <<_ACEOF
14924 rm -f conftest.$ac_objext conftest$ac_exeext
14925 if { (ac_try="$ac_link"
14926 case "(($ac_try" in
14927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14928 *) ac_try_echo=$ac_try;;
14930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14931 (eval "$ac_link") 2>conftest.er1
14933 grep -v '^
*+' conftest.er1 >conftest.err
14935 cat conftest.err >&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); } && {
14938 test -z "$ac_f77_werror_flag" ||
14939 test ! -s conftest.err
14940 } && test -s conftest$ac_exeext &&
14941 $as_test_x conftest$ac_exeext; then
14943 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
14945 # Check for a 64-bit object if we didn't
find anything.
14946 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14949 echo "$as_me: failed program was:" >&5
14950 sed 's/^/| /' conftest.
$ac_ext >&5
14955 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14956 conftest
$ac_exeext conftest.
$ac_ext
14957 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14959 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14960 # Warning - without using the other run time loading flags,
14961 # -berok will link without error, but may produce a broken library.
14962 no_undefined_flag_F77
=' ${wl}-bernotok'
14963 allow_undefined_flag_F77
=' ${wl}-berok'
14964 # -bexpall does not export symbols beginning with underscore (_)
14965 always_export_symbols_F77
=yes
14966 # Exported symbols can be pulled into shared objects from archives
14967 whole_archive_flag_spec_F77
=' '
14968 archive_cmds_need_lc_F77
=yes
14969 # This is similar to how AIX traditionally builds its shared libraries.
14970 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14976 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)'
14977 hardcode_libdir_flag_spec_F77
='-L$libdir'
14978 hardcode_minus_L_F77
=yes
14979 # see comment about different semantics on the GNU ld section
14984 export_dynamic_flag_spec_F77
=-rdynamic
14987 cygwin
* | mingw
* | pw32
*)
14988 # When not using gcc, we currently assume that we are using
14989 # Microsoft Visual C++.
14990 # hardcode_libdir_flag_spec is actually meaningless, as there is
14991 # no search path for DLLs.
14992 hardcode_libdir_flag_spec_F77
=' '
14993 allow_undefined_flag_F77
=unsupported
14994 # Tell ltmain to make .lib files, not .a files.
14996 # Tell ltmain to make .dll files, not .so files.
14998 # FIXME: Setting linknames here is a bad hack.
14999 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15000 # The linker will automatically build a .lib file if we build a DLL.
15001 old_archive_From_new_cmds_F77
='true'
15002 # FIXME: Should let the user specify the lib program.
15003 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15004 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15005 enable_shared_with_static_runtimes_F77
=yes
15008 darwin
* | rhapsody
*)
15010 rhapsody
* | darwin1.
[012])
15011 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15014 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15015 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15017 case ${MACOSX_DEPLOYMENT_TARGET} in
15019 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15022 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15028 archive_cmds_need_lc_F77
=no
15029 hardcode_direct_F77
=no
15030 hardcode_automatic_F77
=yes
15031 hardcode_shlibpath_var_F77
=unsupported
15032 whole_archive_flag_spec_F77
=''
15033 link_all_deplibs_F77
=yes
15034 if test "$GCC" = yes ; then
15035 output_verbose_link_cmd
='echo'
15036 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15037 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15038 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15039 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15040 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}'
15042 case $cc_basename in
15044 output_verbose_link_cmd
='echo'
15045 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15046 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15047 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15048 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15049 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}'
15059 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15060 hardcode_libdir_flag_spec_F77
='-L$libdir'
15061 hardcode_shlibpath_var_F77
=no
15068 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15069 # support. Future versions do this automatically, but an explicit c++rt0.o
15070 # does not break anything, and helps significantly (at the cost of a little
15073 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15074 hardcode_libdir_flag_spec_F77
='-R$libdir'
15075 hardcode_direct_F77
=yes
15076 hardcode_shlibpath_var_F77
=no
15079 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15081 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15082 hardcode_direct_F77
=yes
15083 hardcode_minus_L_F77
=yes
15084 hardcode_shlibpath_var_F77
=no
15087 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15088 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15089 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15090 hardcode_libdir_flag_spec_F77
='-R$libdir'
15091 hardcode_direct_F77
=yes
15092 hardcode_shlibpath_var_F77
=no
15096 if test "$GCC" = yes; then
15097 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'
15099 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'
15101 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15102 hardcode_libdir_separator_F77
=:
15103 hardcode_direct_F77
=yes
15105 # hardcode_minus_L: Not really in the search PATH,
15106 # but as the default location of the library.
15107 hardcode_minus_L_F77
=yes
15108 export_dynamic_flag_spec_F77
='${wl}-E'
15112 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15115 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15118 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15124 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15127 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15131 if test "$with_gnu_ld" = no
; then
15134 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15135 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15136 hardcode_libdir_separator_F77
=:
15137 hardcode_direct_F77
=no
15138 hardcode_shlibpath_var_F77
=no
15141 hardcode_libdir_flag_spec_F77
='-L$libdir'
15142 hardcode_direct_F77
=no
15143 hardcode_shlibpath_var_F77
=no
15145 # hardcode_minus_L: Not really in the search PATH,
15146 # but as the default location of the library.
15147 hardcode_minus_L_F77
=yes
15150 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15151 hardcode_libdir_separator_F77
=:
15152 hardcode_direct_F77
=yes
15153 export_dynamic_flag_spec_F77
='${wl}-E'
15155 # hardcode_minus_L: Not really in the search PATH,
15156 # but as the default location of the library.
15157 hardcode_minus_L_F77
=yes
15163 irix5
* | irix6
* | nonstopux
*)
15164 if test "$GCC" = yes; then
15165 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'
15167 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'
15168 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15170 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15171 hardcode_libdir_separator_F77
=:
15172 link_all_deplibs_F77
=yes
15175 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
15176 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15177 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15179 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15181 hardcode_libdir_flag_spec_F77
='-R$libdir'
15182 hardcode_direct_F77
=yes
15183 hardcode_shlibpath_var_F77
=no
15187 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15188 hardcode_direct_F77
=yes
15189 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15190 hardcode_libdir_separator_F77
=:
15191 hardcode_shlibpath_var_F77
=no
15195 hardcode_direct_F77
=yes
15196 hardcode_shlibpath_var_F77
=no
15197 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15198 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15199 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15200 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15201 export_dynamic_flag_spec_F77
='${wl}-E'
15204 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15205 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15206 hardcode_libdir_flag_spec_F77
='-R$libdir'
15209 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15210 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15217 hardcode_libdir_flag_spec_F77
='-L$libdir'
15218 hardcode_minus_L_F77
=yes
15219 allow_undefined_flag_F77
=unsupported
15220 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'
15221 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15225 if test "$GCC" = yes; then
15226 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15227 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'
15229 allow_undefined_flag_F77
=' -expect_unresolved \*'
15230 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'
15232 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15233 hardcode_libdir_separator_F77
=:
15236 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15237 if test "$GCC" = yes; then
15238 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15239 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'
15240 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15242 allow_undefined_flag_F77
=' -expect_unresolved \*'
15243 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'
15244 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~
15245 $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'
15247 # Both c and cxx compiler support -rpath directly
15248 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15250 hardcode_libdir_separator_F77
=:
15254 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15255 hardcode_shlibpath_var_F77
=no
15256 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15257 runpath_var
=LD_RUN_PATH
15258 hardcode_runpath_var
=yes
15262 no_undefined_flag_F77
=' -z text'
15263 if test "$GCC" = yes; then
15265 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15266 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15267 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15270 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15271 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15272 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15274 hardcode_libdir_flag_spec_F77
='-R$libdir'
15275 hardcode_shlibpath_var_F77
=no
15277 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15279 # The compiler driver will combine linker options so we
15280 # cannot just pass the convience library names through
15281 # without $wl, iff we do not link with $LD.
15282 # Luckily, gcc supports the same syntax we need for Sun Studio.
15283 # Supported since Solaris 2.6 (maybe 2.5.1?)
15286 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15288 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15291 link_all_deplibs_F77
=yes
15295 if test "x$host_vendor" = xsequent
; then
15296 # Use $CC to link under sequent, because it throws in some extra .o
15297 # files that make .init and .fini sections work.
15298 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15300 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15302 hardcode_libdir_flag_spec_F77
='-L$libdir'
15303 hardcode_direct_F77
=yes
15304 hardcode_minus_L_F77
=yes
15305 hardcode_shlibpath_var_F77
=no
15309 case $host_vendor in
15311 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15312 hardcode_direct_F77
=yes # is this really true???
15315 ## LD is ld it makes a PLAMLIB
15316 ## CC just makes a GrossModule.
15317 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15318 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15319 hardcode_direct_F77
=no
15322 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15323 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15326 runpath_var
='LD_RUN_PATH'
15327 hardcode_shlibpath_var_F77
=no
15331 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15332 hardcode_shlibpath_var_F77
=no
15333 export_dynamic_flag_spec_F77
='-Bexport'
15337 if test -d /usr
/nec
; then
15338 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15339 hardcode_shlibpath_var_F77
=no
15340 runpath_var
=LD_RUN_PATH
15341 hardcode_runpath_var
=yes
15347 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15348 hardcode_direct_F77
=yes
15349 hardcode_minus_L_F77
=no
15350 hardcode_shlibpath_var_F77
=no
15351 hardcode_runpath_var
=yes
15352 runpath_var
=LD_RUN_PATH
15355 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
15356 no_undefined_flag_F77
='${wl}-z ${wl}text'
15357 if test "$GCC" = yes; then
15358 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15360 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15362 runpath_var
='LD_RUN_PATH'
15363 hardcode_shlibpath_var_F77
=no
15367 no_undefined_flag_F77
=' -z text'
15368 # $CC -shared without GNU ld will not create a library from C++
15369 # object files and a static libstdc++, better avoid it by now
15370 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15371 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15372 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15373 hardcode_libdir_flag_spec_F77
=
15374 hardcode_shlibpath_var_F77
=no
15375 runpath_var
='LD_RUN_PATH'
15379 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15380 hardcode_libdir_flag_spec_F77
='-L$libdir'
15381 hardcode_shlibpath_var_F77
=no
15390 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15391 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15392 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15394 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15395 if test "$GCC" = yes; then
15396 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15400 # Do we need to explicitly link libc?
15402 case "x$archive_cmds_need_lc_F77" in
15404 # Assume -lc should be added
15405 archive_cmds_need_lc_F77
=yes
15407 if test "$enable_shared" = yes && test "$GCC" = yes; then
15408 case $archive_cmds_F77 in
15410 # FIXME: we may have to deal with multi-command sequences.
15413 # Test whether the compiler implicitly links with -lc since on some
15414 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15415 # to ld, don't add -lc before -lgcc.
15416 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15417 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15419 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15422 (eval $ac_compile) 2>&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); } 2>conftest.err
; then
15428 libobjs
=conftest.
$ac_objext
15430 wl
=$lt_prog_compiler_wl_F77
15436 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15437 allow_undefined_flag_F77
=
15438 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15439 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); }
15444 archive_cmds_need_lc_F77
=no
15446 archive_cmds_need_lc_F77
=yes
15448 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15450 cat conftest.err
1>&5
15453 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15454 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15461 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15462 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15463 library_names_spec
=
15464 libname_spec
='lib$name'
15468 postuninstall_cmds
=
15472 shlibpath_overrides_runpath
=unknown
15474 dynamic_linker
="$host_os ld.so"
15475 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15476 if test "$GCC" = yes; then
15477 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15478 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15479 # if the path contains ";" then we assume it to be the separator
15480 # otherwise default to the standard path separator (i.e. ":") - it is
15481 # assumed that no part of a normal pathname contains ";" but that should
15482 # okay in the real world where ";" in dirpaths is itself problematic.
15483 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15485 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15488 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15490 need_lib_prefix
=unknown
15491 hardcode_into_libs
=no
15493 # when you set need_version to no, make sure it does not cause -set_version
15494 # flags to be left without arguments
15495 need_version
=unknown
15500 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15501 shlibpath_var
=LIBPATH
15503 # AIX 3 has no versioning support, so we append a major version to the name.
15504 soname_spec
='${libname}${release}${shared_ext}$major'
15511 hardcode_into_libs
=yes
15512 if test "$host_cpu" = ia64
; then
15513 # AIX 5 supports IA64
15514 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15515 shlibpath_var
=LD_LIBRARY_PATH
15517 # With GCC up to 2.95.x, collect2 would create an import file
15518 # for dependence libraries. The import file would start with
15519 # the line `#! .'. This would cause the generated library to
15520 # depend on `.', always an invalid library. This was fixed in
15521 # development snapshots of GCC prior to 3.0.
15523 aix4 | aix4.
[01] | aix4.
[01].
*)
15524 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15526 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15529 can_build_shared
=no
15533 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15534 # soname into executable. Probably we can add versioning support to
15535 # collect2, so additional links can be useful in future.
15536 if test "$aix_use_runtimelinking" = yes; then
15537 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15538 # instead of lib<name>.a to let people know that these are not
15539 # typical AIX shared libraries.
15540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15542 # We preserve .a as extension for shared libraries through AIX4.2
15543 # and later when we are not doing run time linking.
15544 library_names_spec
='${libname}${release}.a $libname.a'
15545 soname_spec
='${libname}${release}${shared_ext}$major'
15547 shlibpath_var
=LIBPATH
15552 library_names_spec
='$libname.ixlibrary $libname.a'
15553 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15554 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'
15558 library_names_spec
='${libname}${shared_ext}'
15559 dynamic_linker
="$host_os ld.so"
15560 shlibpath_var
=LIBRARY_PATH
15566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15567 soname_spec
='${libname}${release}${shared_ext}$major'
15568 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15569 shlibpath_var
=LD_LIBRARY_PATH
15570 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15571 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15572 # the default ld.so.conf also contains /usr/contrib/lib and
15573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15574 # libtool to hard-code these into programs
15577 cygwin
* | mingw
* | pw32
*)
15578 version_type
=windows
15583 case $GCC,$host_os in
15584 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15585 library_names_spec
='$libname.dll.a'
15586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15587 postinstall_cmds
='base_file=`basename \${file}`~
15588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15589 dldir=$destdir/`dirname \$dlpath`~
15590 test -d \$dldir || mkdir -p \$dldir~
15591 $install_prog $dir/$dlname \$dldir/$dlname~
15592 chmod a+x \$dldir/$dlname'
15593 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15594 dlpath=$dir/\$dldll~
15596 shlibpath_overrides_runpath
=yes
15600 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15601 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15602 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15605 # MinGW DLLs use traditional 'lib' prefix
15606 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15607 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15608 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15609 # It is most probably a Windows format PATH printed by
15610 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15611 # path with ; separators, and with drive letters. We can handle the
15612 # drive letters (cygwin fileutils understands them), so leave them,
15613 # especially as we might pass files found there to a mingw objdump,
15614 # which wouldn't understand a cygwinified path. Ahh.
15615 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15617 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15621 # pw32 DLLs use 'pw' prefix rather than 'lib'
15622 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15628 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15631 dynamic_linker
='Win32 ld.exe'
15632 # FIXME: first we should search . and the directory the executable is in
15636 darwin
* | rhapsody
*)
15637 dynamic_linker
="$host_os dyld"
15638 version_type
=darwin
15641 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15642 soname_spec
='${libname}${release}${major}$shared_ext'
15643 shlibpath_overrides_runpath
=yes
15644 shlibpath_var
=DYLD_LIBRARY_PATH
15645 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15646 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15647 if test "$GCC" = yes; then
15648 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15650 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15652 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15660 soname_spec
='${libname}${release}${shared_ext}$major'
15661 shlibpath_var
=LD_LIBRARY_PATH
15672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15673 soname_spec
='${libname}${release}${shared_ext}$major'
15674 shlibpath_var
=LD_LIBRARY_PATH
15675 shlibpath_overrides_runpath
=no
15676 hardcode_into_libs
=yes
15677 dynamic_linker
='GNU ld.so'
15680 freebsd
* | dragonfly
*)
15681 # DragonFly does not have aout. When/if they implement a new
15682 # versioning mechanism, adjust this.
15683 if test -x /usr
/bin
/objformat
; then
15684 objformat
=`/usr/bin/objformat`
15687 freebsd
[123]*) objformat
=aout
;;
15688 *) objformat
=elf
;;
15691 version_type
=freebsd-
$objformat
15692 case $version_type in
15694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15699 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15703 shlibpath_var
=LD_LIBRARY_PATH
15706 shlibpath_overrides_runpath
=yes
15708 freebsd3.
[01]* | freebsdelf3.
[01]*)
15709 shlibpath_overrides_runpath
=yes
15710 hardcode_into_libs
=yes
15713 shlibpath_overrides_runpath
=no
15714 hardcode_into_libs
=yes
15723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15724 soname_spec
='${libname}${release}${shared_ext}$major'
15725 shlibpath_var
=LD_LIBRARY_PATH
15726 hardcode_into_libs
=yes
15729 hpux9
* | hpux10
* | hpux11
*)
15730 # Give a soname corresponding to the major version so that dld.sl refuses to
15731 # link against other versions.
15738 hardcode_into_libs
=yes
15739 dynamic_linker
="$host_os dld.so"
15740 shlibpath_var
=LD_LIBRARY_PATH
15741 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15743 soname_spec
='${libname}${release}${shared_ext}$major'
15744 if test "X$HPUX_IA64_MODE" = X32
; then
15745 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15747 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15749 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15753 hardcode_into_libs
=yes
15754 dynamic_linker
="$host_os dld.sl"
15755 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15756 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15758 soname_spec
='${libname}${release}${shared_ext}$major'
15759 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15760 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15764 dynamic_linker
="$host_os dld.sl"
15765 shlibpath_var
=SHLIB_PATH
15766 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15768 soname_spec
='${libname}${release}${shared_ext}$major'
15771 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15772 postinstall_cmds
='chmod 555 $lib'
15775 irix5
* | irix6
* | nonstopux
*)
15777 nonstopux
*) version_type
=nonstopux
;;
15779 if test "$lt_cv_prog_gnu_ld" = yes; then
15787 soname_spec
='${libname}${release}${shared_ext}$major'
15788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15790 irix5
* | nonstopux
*)
15791 libsuff
= shlibsuff
=
15794 case $LD in # libtool.m4 will add one of these switches to LD
15795 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15796 libsuff
= shlibsuff
= libmagic
=32-bit;;
15797 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15798 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15799 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15800 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15801 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15805 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15806 shlibpath_overrides_runpath
=no
15807 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15808 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15809 hardcode_into_libs
=yes
15812 # No shared lib support for Linux oldld, aout, or coff.
15813 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15817 # This must be Linux ELF.
15822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15823 soname_spec
='${libname}${release}${shared_ext}$major'
15824 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15825 shlibpath_var
=LD_LIBRARY_PATH
15826 shlibpath_overrides_runpath
=no
15827 # This implies no fast_install, which is unacceptable.
15828 # Some rework will be needed to allow for fast_install
15829 # before this can be enabled.
15830 hardcode_into_libs
=yes
15832 # Append ld.so.conf contents to the search path
15833 if test -f /etc
/ld.so.conf
; then
15834 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15835 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15838 # We used to test for /lib/ld.so.1 and disable shared libraries on
15839 # powerpc, because MkLinux only supported shared libraries with the
15840 # GNU dynamic linker. Since this was broken with cross compilers,
15841 # most powerpc-linux boxes support dynamic linking these days and
15842 # people can always --disable-shared, the test was removed, and we
15843 # assume the GNU/Linux dynamic linker is in use.
15844 dynamic_linker
='GNU/Linux ld.so'
15851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15852 soname_spec
='${libname}${release}${shared_ext}$major'
15853 shlibpath_var
=LD_LIBRARY_PATH
15854 shlibpath_overrides_runpath
=no
15855 hardcode_into_libs
=yes
15856 dynamic_linker
='NetBSD ld.elf_so'
15863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15864 soname_spec
='${libname}${release}${shared_ext}$major'
15865 shlibpath_var
=LD_LIBRARY_PATH
15866 shlibpath_overrides_runpath
=no
15867 hardcode_into_libs
=yes
15868 dynamic_linker
='GNU ld.so'
15875 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15877 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15878 dynamic_linker
='NetBSD (a.out) ld.so'
15880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15881 soname_spec
='${libname}${release}${shared_ext}$major'
15882 dynamic_linker
='NetBSD ld.elf_so'
15884 shlibpath_var
=LD_LIBRARY_PATH
15885 shlibpath_overrides_runpath
=yes
15886 hardcode_into_libs
=yes
15891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15892 shlibpath_var
=LD_LIBRARY_PATH
15893 shlibpath_overrides_runpath
=yes
15900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15901 soname_spec
='${libname}${release}${shared_ext}$major'
15902 shlibpath_var
=LD_LIBRARY_PATH
15903 shlibpath_overrides_runpath
=yes
15909 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15911 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15912 *) need_version
=no
;;
15914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15915 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15916 shlibpath_var
=LD_LIBRARY_PATH
15917 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15919 openbsd2.
[89] | openbsd2.
[89].
*)
15920 shlibpath_overrides_runpath
=no
15923 shlibpath_overrides_runpath
=yes
15927 shlibpath_overrides_runpath
=yes
15932 libname_spec
='$name'
15935 library_names_spec
='$libname${shared_ext} $libname.a'
15936 dynamic_linker
='OS/2 ld.exe'
15937 shlibpath_var
=LIBPATH
15940 osf3
* | osf4
* | osf5
*)
15944 soname_spec
='${libname}${release}${shared_ext}$major'
15945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15946 shlibpath_var
=LD_LIBRARY_PATH
15947 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15948 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15953 soname_spec
='${libname}${release}${shared_ext}$major'
15954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15955 shlibpath_var
=LD_LIBRARY_PATH
15962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15963 soname_spec
='${libname}${release}${shared_ext}$major'
15964 shlibpath_var
=LD_LIBRARY_PATH
15965 shlibpath_overrides_runpath
=yes
15966 hardcode_into_libs
=yes
15967 # ldd complains unless libraries are executable
15968 postinstall_cmds
='chmod +x $lib'
15973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15974 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15975 shlibpath_var
=LD_LIBRARY_PATH
15976 shlibpath_overrides_runpath
=yes
15977 if test "$with_gnu_ld" = yes; then
15983 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15986 soname_spec
='${libname}${release}${shared_ext}$major'
15987 shlibpath_var
=LD_LIBRARY_PATH
15988 case $host_vendor in
15990 shlibpath_overrides_runpath
=no
15992 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15993 runpath_var
=LD_RUN_PATH
16001 shlibpath_overrides_runpath
=no
16002 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16008 if test -d /usr
/nec
;then
16010 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16011 soname_spec
='$libname${shared_ext}.$major'
16012 shlibpath_var
=LD_LIBRARY_PATH
16018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16019 soname_spec
='${libname}${release}${shared_ext}$major'
16020 shlibpath_var
=LD_LIBRARY_PATH
16027 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16028 echo "${ECHO_T}$dynamic_linker" >&6; }
16029 test "$dynamic_linker" = no
&& can_build_shared
=no
16031 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16032 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16033 hardcode_action_F77
=
16034 if test -n "$hardcode_libdir_flag_spec_F77" || \
16035 test -n "$runpath_var_F77" || \
16036 test "X$hardcode_automatic_F77" = "Xyes" ; then
16038 # We can hardcode non-existant directories.
16039 if test "$hardcode_direct_F77" != no
&&
16040 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16041 # have to relink, otherwise we might link with an installed library
16042 # when we should be linking with a yet-to-be-installed one
16043 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16044 test "$hardcode_minus_L_F77" != no
; then
16045 # Linking always hardcodes the temporary library directory.
16046 hardcode_action_F77
=relink
16048 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16049 hardcode_action_F77
=immediate
16052 # We cannot hardcode anything, or else we can only hardcode existing
16054 hardcode_action_F77
=unsupported
16056 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16057 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16059 if test "$hardcode_action_F77" = relink
; then
16060 # Fast installation is not supported
16061 enable_fast_install
=no
16062 elif test "$shlibpath_overrides_runpath" = yes ||
16063 test "$enable_shared" = no
; then
16064 # Fast installation is not necessary
16065 enable_fast_install
=needless
16070 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16071 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16072 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16073 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16074 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16075 { echo "$as_me:$LINENO: result: yes" >&5
16076 echo "${ECHO_T}yes" >&6; }
16078 # FIXME - insert some real tests, host_os isn't really good enough
16081 if test -n "$STRIP" ; then
16082 striplib
="$STRIP -x"
16083 { echo "$as_me:$LINENO: result: yes" >&5
16084 echo "${ECHO_T}yes" >&6; }
16086 { echo "$as_me:$LINENO: result: no" >&5
16087 echo "${ECHO_T}no" >&6; }
16091 { echo "$as_me:$LINENO: result: no" >&5
16092 echo "${ECHO_T}no" >&6; }
16099 # The else clause should only fire when bootstrapping the
16100 # libtool distribution, otherwise you forgot to ship ltmain.sh
16101 # with your package, and you will get complaints that there are
16102 # no rules to generate ltmain.sh.
16103 if test -f "$ltmain"; then
16104 # See if we are running on zsh, and set the options which allow our commands through
16105 # without removal of \ escapes.
16106 if test -n "${ZSH_VERSION+set}" ; then
16107 setopt NO_GLOB_SUBST
16109 # Now quote all the things that may contain metacharacters while being
16110 # careful not to overquote the AC_SUBSTed values. We take copies of the
16111 # variables and quote the copies for generation of the libtool script.
16112 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
16114 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16115 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16116 deplibs_check_method reload_flag reload_cmds need_locks \
16117 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16118 lt_cv_sys_global_symbol_to_c_name_address \
16119 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16120 old_postinstall_cmds old_postuninstall_cmds \
16124 lt_prog_compiler_wl_F77 \
16125 lt_prog_compiler_pic_F77 \
16126 lt_prog_compiler_static_F77 \
16127 lt_prog_compiler_no_builtin_flag_F77 \
16128 export_dynamic_flag_spec_F77 \
16129 thread_safe_flag_spec_F77 \
16130 whole_archive_flag_spec_F77 \
16131 enable_shared_with_static_runtimes_F77 \
16132 old_archive_cmds_F77 \
16133 old_archive_from_new_cmds_F77 \
16134 predep_objects_F77 \
16135 postdep_objects_F77 \
16138 compiler_lib_search_path_F77 \
16140 archive_expsym_cmds_F77 \
16141 postinstall_cmds_F77 \
16142 postuninstall_cmds_F77 \
16143 old_archive_from_expsyms_cmds_F77 \
16144 allow_undefined_flag_F77 \
16145 no_undefined_flag_F77 \
16146 export_symbols_cmds_F77 \
16147 hardcode_libdir_flag_spec_F77 \
16148 hardcode_libdir_flag_spec_ld_F77 \
16149 hardcode_libdir_separator_F77 \
16150 hardcode_automatic_F77 \
16152 module_expsym_cmds_F77 \
16153 lt_cv_prog_compiler_c_o_F77 \
16154 exclude_expsyms_F77 \
16155 include_expsyms_F77
; do
16158 old_archive_cmds_F77 | \
16159 old_archive_from_new_cmds_F77 | \
16160 archive_cmds_F77 | \
16161 archive_expsym_cmds_F77 | \
16162 module_cmds_F77 | \
16163 module_expsym_cmds_F77 | \
16164 old_archive_from_expsyms_cmds_F77 | \
16165 export_symbols_cmds_F77 | \
16166 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16167 postinstall_cmds | postuninstall_cmds | \
16168 old_postinstall_cmds | old_postuninstall_cmds | \
16169 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16170 # Double-quote double-evaled strings.
16171 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16174 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16180 *'\$0 --fallback-echo"')
16181 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16187 cat <<__EOF__ >> "$cfgfile"
16188 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16190 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16192 # Shell to use when invoking shell scripts.
16195 # Whether or not to build shared libraries.
16196 build_libtool_libs=$enable_shared
16198 # Whether or not to build static libraries.
16199 build_old_libs=$enable_static
16201 # Whether or not to add -lc for building shared libraries.
16202 build_libtool_need_lc=$archive_cmds_need_lc_F77
16204 # Whether or not to disallow shared libs when runtime libs are static
16205 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16207 # Whether or not to optimize for fast installation.
16208 fast_install=$enable_fast_install
16211 host_alias=$host_alias
16215 # The build system.
16216 build_alias=$build_alias
16220 # An echo program that does not interpret backslashes.
16225 AR_FLAGS=$lt_AR_FLAGS
16230 # A language-specific compiler.
16231 CC=$lt_compiler_F77
16233 # Is the compiler the GNU C compiler?
16239 # The linker used to build libraries.
16242 # Whether we need hard or soft links.
16245 # A BSD-compatible nm program.
16248 # A symbol stripping program
16251 # Used to examine libraries when file_magic_cmd begins "file"
16252 MAGIC_CMD=$MAGIC_CMD
16254 # Used on cygwin: DLL creation program.
16257 # Used on cygwin: object dumper.
16260 # Used on cygwin: assembler.
16263 # The name of the directory that contains temporary libtool files.
16266 # How to create reloadable object files.
16267 reload_flag=$lt_reload_flag
16268 reload_cmds=$lt_reload_cmds
16270 # How to pass a linker flag through the compiler.
16271 wl=$lt_lt_prog_compiler_wl_F77
16273 # Object file suffix (normally "o").
16274 objext="$ac_objext"
16276 # Old archive suffix (normally "a").
16279 # Shared library suffix (normally ".so").
16280 shrext_cmds='$shrext_cmds'
16282 # Executable file suffix (normally "").
16285 # Additional compiler flags for building library objects.
16286 pic_flag=$lt_lt_prog_compiler_pic_F77
16289 # What is the maximum length of a command?
16290 max_cmd_len=$lt_cv_sys_max_cmd_len
16292 # Does compiler simultaneously support -c and -o options?
16293 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16295 # Must we lock files when doing compilation?
16296 need_locks=$lt_need_locks
16298 # Do we need the lib prefix for modules?
16299 need_lib_prefix=$need_lib_prefix
16301 # Do we need a version for libraries?
16302 need_version=$need_version
16304 # Whether dlopen is supported.
16305 dlopen_support=$enable_dlopen
16307 # Whether dlopen of programs is supported.
16308 dlopen_self=$enable_dlopen_self
16310 # Whether dlopen of statically linked programs is supported.
16311 dlopen_self_static=$enable_dlopen_self_static
16313 # Compiler flag to prevent dynamic linking.
16314 link_static_flag=$lt_lt_prog_compiler_static_F77
16316 # Compiler flag to turn off builtin functions.
16317 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16319 # Compiler flag to allow reflexive dlopens.
16320 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16322 # Compiler flag to generate shared objects directly from archives.
16323 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16325 # Compiler flag to generate thread-safe objects.
16326 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16328 # Library versioning type.
16329 version_type=$version_type
16331 # Format of library name prefix.
16332 libname_spec=$lt_libname_spec
16334 # List of archive names. First name is the real one, the rest are links.
16335 # The last name is the one that the linker finds with -lNAME.
16336 library_names_spec=$lt_library_names_spec
16338 # The coded name of the library, if different from the real name.
16339 soname_spec=$lt_soname_spec
16341 # Commands used to build and install an old-style archive.
16343 old_archive_cmds=$lt_old_archive_cmds_F77
16344 old_postinstall_cmds=$lt_old_postinstall_cmds
16345 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16347 # Create an old-style archive from a shared archive.
16348 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16350 # Create a temporary old-style archive to link instead of a shared archive.
16351 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16353 # Commands used to build and install a shared archive.
16354 archive_cmds=$lt_archive_cmds_F77
16355 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16356 postinstall_cmds=$lt_postinstall_cmds
16357 postuninstall_cmds=$lt_postuninstall_cmds
16359 # Commands used to build a loadable module (assumed same as above if empty)
16360 module_cmds=$lt_module_cmds_F77
16361 module_expsym_cmds=$lt_module_expsym_cmds_F77
16363 # Commands to strip libraries.
16364 old_striplib=$lt_old_striplib
16365 striplib=$lt_striplib
16367 # Dependencies to place before the objects being linked to create a
16369 predep_objects=$lt_predep_objects_F77
16371 # Dependencies to place after the objects being linked to create a
16373 postdep_objects=$lt_postdep_objects_F77
16375 # Dependencies to place before the objects being linked to create a
16377 predeps=$lt_predeps_F77
16379 # Dependencies to place after the objects being linked to create a
16381 postdeps=$lt_postdeps_F77
16383 # The library search path used internally by the compiler when linking
16384 # a shared library.
16385 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16387 # Method to check whether dependent libraries are shared objects.
16388 deplibs_check_method=$lt_deplibs_check_method
16390 # Command to use when deplibs_check_method == file_magic.
16391 file_magic_cmd=$lt_file_magic_cmd
16393 # Flag that allows shared libraries with undefined symbols to be built.
16394 allow_undefined_flag=$lt_allow_undefined_flag_F77
16396 # Flag that forces no undefined symbols.
16397 no_undefined_flag=$lt_no_undefined_flag_F77
16399 # Commands used to finish a libtool library installation in a directory.
16400 finish_cmds=$lt_finish_cmds
16402 # Same as above, but a single script fragment to be evaled but not shown.
16403 finish_eval=$lt_finish_eval
16405 # Take the output of nm and produce a listing of raw symbols and C names.
16406 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16408 # Transform the output of nm in a proper C declaration
16409 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16411 # Transform the output of nm in a C name address pair
16412 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16414 # This is the shared library runtime path variable.
16415 runpath_var=$runpath_var
16417 # This is the shared library path variable.
16418 shlibpath_var=$shlibpath_var
16420 # Is shlibpath searched before the hard-coded library search path?
16421 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16423 # How to hardcode a shared library path into an executable.
16424 hardcode_action=$hardcode_action_F77
16426 # Whether we should hardcode library paths into libraries.
16427 hardcode_into_libs=$hardcode_into_libs
16429 # Flag to hardcode \$libdir into a binary during linking.
16430 # This must work even if \$libdir does not exist.
16431 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16433 # If ld is used when linking, flag to hardcode \$libdir into
16434 # a binary during linking. This must work even if \$libdir does
16436 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16438 # Whether we need a single -rpath flag with a separated argument.
16439 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16441 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16442 # resulting binary.
16443 hardcode_direct=$hardcode_direct_F77
16445 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16446 # resulting binary.
16447 hardcode_minus_L=$hardcode_minus_L_F77
16449 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16450 # the resulting binary.
16451 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16453 # Set to yes if building a shared library automatically hardcodes DIR into the library
16454 # and all subsequent libraries and executables linked against it.
16455 hardcode_automatic=$hardcode_automatic_F77
16457 # Variables whose values should be saved in libtool wrapper scripts and
16458 # restored at relink time.
16459 variables_saved_for_relink="$variables_saved_for_relink"
16461 # Whether libtool must link a program against all its dependency libraries.
16462 link_all_deplibs=$link_all_deplibs_F77
16464 # Compile-time system search path for libraries
16465 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16467 # Run-time system search path for libraries
16468 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16470 # Fix the shell variable \$srcfile for the compiler.
16471 fix_srcfile_path="$fix_srcfile_path_F77"
16473 # Set to yes if exported symbols are required.
16474 always_export_symbols=$always_export_symbols_F77
16476 # The commands to list exported symbols.
16477 export_symbols_cmds=$lt_export_symbols_cmds_F77
16479 # The commands to extract the exported symbol list from a shared archive.
16480 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16482 # Symbols that should not be listed in the preloaded symbols.
16483 exclude_expsyms=$lt_exclude_expsyms_F77
16485 # Symbols that must always be exported.
16486 include_expsyms=$lt_include_expsyms_F77
16488 # ### END LIBTOOL TAG CONFIG: $tagname
16494 # If there is no Makefile yet, we rely on a make rule to execute
16495 # `config.status --recheck' to rerun these tests and create the
16496 # libtool script then.
16497 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16498 if test -f "$ltmain_in"; then
16499 test -f Makefile
&& make "$ltmain"
16505 ac_cpp
='$CPP $CPPFLAGS'
16506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16518 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16521 # Source file extension for Java test sources.
16524 # Object file extension for compiled Java test sources.
16528 # Code to be used in simple compile tests
16529 lt_simple_compile_test_code
="class foo {}\n"
16531 # Code to be used in simple link tests
16532 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16534 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16536 # If no C compiler was specified, use CC.
16539 # Allow CC to be a program name with arguments.
16543 # save warnings/boilerplate of simple test code
16544 ac_outfile
=conftest.
$ac_objext
16545 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16546 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
16547 _lt_compiler_boilerplate
=`cat conftest.err`
16550 ac_outfile
=conftest.
$ac_objext
16551 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16552 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
16553 _lt_linker_boilerplate
=`cat conftest.err`
16557 # Allow CC to be a program name with arguments.
16562 for cc_temp
in $compiler""; do
16564 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16565 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16570 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16573 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16574 archive_cmds_need_lc_GCJ
=no
16576 old_archive_cmds_GCJ
=$old_archive_cmds
16579 lt_prog_compiler_no_builtin_flag_GCJ
=
16581 if test "$GCC" = yes; then
16582 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16585 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16586 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16587 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 lt_cv_prog_compiler_rtti_exceptions
=no
16591 ac_outfile
=conftest.
$ac_objext
16592 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16593 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16594 # Insert the option either (1) after the last *FLAGS variable, or
16595 # (2) before a word containing "conftest.", or (3) at the end.
16596 # Note that $ac_compile itself does not contain backslashes and begins
16597 # with a dollar sign (not a hyphen), so the echo should work correctly.
16598 # The option is referenced via a variable to avoid confusing sed.
16599 lt_compile
=`echo "$ac_compile" | $SED \
16600 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16602 -e 's:$: $lt_compiler_flag:'`
16603 (eval echo "\"\$as_me:16603: $lt_compile\"" >&5)
16604 (eval "$lt_compile" 2>conftest.err
)
16606 cat conftest.err
>&5
16607 echo "$as_me:16607: \$? = $ac_status" >&5
16608 if (exit $ac_status) && test -s "$ac_outfile"; then
16609 # The compiler can only warn and ignore the option if not recognized
16610 # So say no if there are warnings other than the usual output.
16611 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
16612 $SED '/^$/d' conftest.err
>conftest.er2
16613 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16614 lt_cv_prog_compiler_rtti_exceptions
=yes
16620 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16621 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16623 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16624 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16631 lt_prog_compiler_wl_GCJ
=
16632 lt_prog_compiler_pic_GCJ
=
16633 lt_prog_compiler_static_GCJ
=
16635 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16636 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16638 if test "$GCC" = yes; then
16639 lt_prog_compiler_wl_GCJ
='-Wl,'
16640 lt_prog_compiler_static_GCJ
='-static'
16644 # All AIX code is PIC.
16645 if test "$host_cpu" = ia64
; then
16646 # AIX 5 now supports IA64 processor
16647 lt_prog_compiler_static_GCJ
='-Bstatic'
16652 # FIXME: we need at least 68020 code to build shared libraries, but
16653 # adding the `-m68020' flag to GCC prevents building anything better,
16655 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16658 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16659 # PIC is the default for these OSes.
16662 mingw
* | pw32
* | os2
*)
16663 # This hack is so that the source file can tell whether it is being
16664 # built for inclusion in a dll (and should export symbols for example).
16665 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16668 darwin
* | rhapsody
*)
16669 # PIC is the default on this platform
16670 # Common symbols not allowed in MH_DYLIB files
16671 lt_prog_compiler_pic_GCJ
='-fno-common'
16675 # Just because we use GCC doesn't mean we suddenly get shared libraries
16676 # on systems that don't support them.
16677 lt_prog_compiler_can_build_shared_GCJ
=no
16682 if test -d /usr
/nec
; then
16683 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16688 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16689 # not for PA HP-UX.
16695 lt_prog_compiler_pic_GCJ
='-fPIC'
16701 lt_prog_compiler_pic_GCJ
='-fPIC'
16705 # PORTME Check for flag to pass linker flags through the system compiler.
16708 lt_prog_compiler_wl_GCJ
='-Wl,'
16709 if test "$host_cpu" = ia64
; then
16710 # AIX 5 now supports IA64 processor
16711 lt_prog_compiler_static_GCJ
='-Bstatic'
16713 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16717 # PIC is the default on this platform
16718 # Common symbols not allowed in MH_DYLIB files
16719 case $cc_basename in
16721 lt_prog_compiler_pic_GCJ
='-qnocommon'
16722 lt_prog_compiler_wl_GCJ
='-Wl,'
16727 mingw
* | pw32
* | os2
*)
16728 # This hack is so that the source file can tell whether it is being
16729 # built for inclusion in a dll (and should export symbols for example).
16730 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16733 hpux9
* | hpux10
* | hpux11
*)
16734 lt_prog_compiler_wl_GCJ
='-Wl,'
16735 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16736 # not for PA HP-UX.
16742 lt_prog_compiler_pic_GCJ
='+Z'
16745 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16746 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16749 irix5
* | irix6
* | nonstopux
*)
16750 lt_prog_compiler_wl_GCJ
='-Wl,'
16751 # PIC (with -KPIC) is the default.
16752 lt_prog_compiler_static_GCJ
='-non_shared'
16756 lt_prog_compiler_pic_GCJ
='-KPIC'
16757 lt_prog_compiler_static_GCJ
='-Bstatic'
16761 case $cc_basename in
16763 lt_prog_compiler_wl_GCJ
='-Wl,'
16764 lt_prog_compiler_pic_GCJ
='-KPIC'
16765 lt_prog_compiler_static_GCJ
='-static'
16767 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16768 # Portland Group compilers (*not* the Pentium gcc compiler,
16769 # which looks to be a dead project)
16770 lt_prog_compiler_wl_GCJ
='-Wl,'
16771 lt_prog_compiler_pic_GCJ
='-fpic'
16772 lt_prog_compiler_static_GCJ
='-Bstatic'
16775 lt_prog_compiler_wl_GCJ
='-Wl,'
16776 # All Alpha code is PIC.
16777 lt_prog_compiler_static_GCJ
='-non_shared'
16782 osf3
* | osf4
* | osf5
*)
16783 lt_prog_compiler_wl_GCJ
='-Wl,'
16784 # All OSF/1 code is PIC.
16785 lt_prog_compiler_static_GCJ
='-non_shared'
16789 lt_prog_compiler_pic_GCJ
='-Kpic'
16790 lt_prog_compiler_static_GCJ
='-dn'
16794 lt_prog_compiler_pic_GCJ
='-KPIC'
16795 lt_prog_compiler_static_GCJ
='-Bstatic'
16796 case $cc_basename in
16797 f77
* | f90
* | f95
*)
16798 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16800 lt_prog_compiler_wl_GCJ
='-Wl,';;
16805 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16806 lt_prog_compiler_pic_GCJ
='-PIC'
16807 lt_prog_compiler_static_GCJ
='-Bstatic'
16810 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16811 lt_prog_compiler_wl_GCJ
='-Wl,'
16812 lt_prog_compiler_pic_GCJ
='-KPIC'
16813 lt_prog_compiler_static_GCJ
='-Bstatic'
16817 if test -d /usr
/nec
;then
16818 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16819 lt_prog_compiler_static_GCJ
='-Bstatic'
16824 lt_prog_compiler_wl_GCJ
='-Wl,'
16825 lt_prog_compiler_can_build_shared_GCJ
=no
16829 lt_prog_compiler_pic_GCJ
='-pic'
16830 lt_prog_compiler_static_GCJ
='-Bstatic'
16834 lt_prog_compiler_can_build_shared_GCJ
=no
16839 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16840 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16843 # Check to make sure the PIC flag actually works.
16845 if test -n "$lt_prog_compiler_pic_GCJ"; then
16847 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16848 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16849 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16852 lt_prog_compiler_pic_works_GCJ
=no
16853 ac_outfile
=conftest.
$ac_objext
16854 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16855 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16856 # Insert the option either (1) after the last *FLAGS variable, or
16857 # (2) before a word containing "conftest.", or (3) at the end.
16858 # Note that $ac_compile itself does not contain backslashes and begins
16859 # with a dollar sign (not a hyphen), so the echo should work correctly.
16860 # The option is referenced via a variable to avoid confusing sed.
16861 lt_compile
=`echo "$ac_compile" | $SED \
16862 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16863 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16864 -e 's:$: $lt_compiler_flag:'`
16865 (eval echo "\"\$as_me:16865: $lt_compile\"" >&5)
16866 (eval "$lt_compile" 2>conftest.err
)
16868 cat conftest.err
>&5
16869 echo "$as_me:16869: \$? = $ac_status" >&5
16870 if (exit $ac_status) && test -s "$ac_outfile"; then
16871 # The compiler can only warn and ignore the option if not recognized
16872 # So say no if there are warnings other than the usual output.
16873 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
16874 $SED '/^$/d' conftest.err
>conftest.er2
16875 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16876 lt_prog_compiler_pic_works_GCJ
=yes
16882 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16883 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16885 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16886 case $lt_prog_compiler_pic_GCJ in
16888 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16891 lt_prog_compiler_pic_GCJ
=
16892 lt_prog_compiler_can_build_shared_GCJ
=no
16897 # For platforms which do not support PIC, -DPIC is meaningless:
16899 lt_prog_compiler_pic_GCJ
=
16902 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16906 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16907 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16908 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16909 echo $ECHO_N "(cached) $ECHO_C" >&6
16911 lt_cv_prog_compiler_c_o_GCJ
=no
16912 $rm -r conftest
2>/dev
/null
16916 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16918 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16919 # Insert the option either (1) after the last *FLAGS variable, or
16920 # (2) before a word containing "conftest.", or (3) at the end.
16921 # Note that $ac_compile itself does not contain backslashes and begins
16922 # with a dollar sign (not a hyphen), so the echo should work correctly.
16923 lt_compile
=`echo "$ac_compile" | $SED \
16924 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16926 -e 's:$: $lt_compiler_flag:'`
16927 (eval echo "\"\$as_me:16927: $lt_compile\"" >&5)
16928 (eval "$lt_compile" 2>out
/conftest.err
)
16930 cat out
/conftest.err
>&5
16931 echo "$as_me:16931: \$? = $ac_status" >&5
16932 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16934 # The compiler can only warn and ignore the option if not recognized
16935 # So say no if there are warnings
16936 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
16937 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
16938 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16939 lt_cv_prog_compiler_c_o_GCJ
=yes
16944 # SGI C++ compiler will create directory out/ii_files/ for
16945 # template instantiation
16946 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16947 $rm out
/* && rmdir out
16953 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16954 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16957 hard_links
="nottested"
16958 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16959 # do not overwrite the value of need_locks provided by the user
16960 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16961 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16964 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16966 ln conftest.a conftest.b
2>&5 || hard_links
=no
16967 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16968 { echo "$as_me:$LINENO: result: $hard_links" >&5
16969 echo "${ECHO_T}$hard_links" >&6; }
16970 if test "$hard_links" = no
; then
16971 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16972 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16979 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16980 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16983 allow_undefined_flag_GCJ
=
16984 enable_shared_with_static_runtimes_GCJ
=no
16986 archive_expsym_cmds_GCJ
=
16987 old_archive_From_new_cmds_GCJ
=
16988 old_archive_from_expsyms_cmds_GCJ
=
16989 export_dynamic_flag_spec_GCJ
=
16990 whole_archive_flag_spec_GCJ
=
16991 thread_safe_flag_spec_GCJ
=
16992 hardcode_libdir_flag_spec_GCJ
=
16993 hardcode_libdir_flag_spec_ld_GCJ
=
16994 hardcode_libdir_separator_GCJ
=
16995 hardcode_direct_GCJ
=no
16996 hardcode_minus_L_GCJ
=no
16997 hardcode_shlibpath_var_GCJ
=unsupported
16998 link_all_deplibs_GCJ
=unknown
16999 hardcode_automatic_GCJ
=no
17001 module_expsym_cmds_GCJ
=
17002 always_export_symbols_GCJ
=no
17003 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17004 # include_expsyms should be a list of space-separated symbols to be *always*
17005 # included in the symbol list
17006 include_expsyms_GCJ
=
17007 # exclude_expsyms can be an extended regexp of symbols to exclude
17008 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17009 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17010 # as well as any symbol that contains `d'.
17011 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17012 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17013 # platforms (ab)use it in PIC code, but their linkers get confused if
17014 # the symbol is explicitly referenced. Since portable code cannot
17015 # rely on this symbol name, it's probably fine to never include it in
17016 # preloaded symbol tables.
17017 extract_expsyms_cmds
=
17018 # Just being paranoid about ensuring that cc_basename is set.
17019 for cc_temp
in $compiler""; do
17021 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17022 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17027 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17030 cygwin
* | mingw
* | pw32
*)
17031 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17032 # When not using gcc, we currently assume that we are using
17033 # Microsoft Visual C++.
17034 if test "$GCC" != yes; then
17044 if test "$with_gnu_ld" = yes; then
17045 # If archive_cmds runs LD, not CC, wlarc should be empty
17048 # Set some defaults for GNU ld with shared library support. These
17049 # are reset later if shared libraries are not supported. Putting them
17050 # here allows them to be overridden if necessary.
17051 runpath_var
=LD_RUN_PATH
17052 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17053 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17054 # ancient GNU ld didn't support --whole-archive et. al.
17055 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17056 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17058 whole_archive_flag_spec_GCJ
=
17060 supports_anon_versioning
=no
17061 case `$LD -v 2>/dev/null` in
17062 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17063 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17064 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17065 *\
2.11.
*) ;; # other 2.11 versions
17066 *) supports_anon_versioning
=yes ;;
17069 # See if GNU ld supports shared libraries.
17071 aix3
* | aix4
* | aix5
*)
17072 # On AIX/PPC, the GNU linker is very broken
17073 if test "$host_cpu" != ia64
; then
17077 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17078 *** to be unable to reliably create shared libraries on AIX.
17079 *** Therefore, libtool is disabling shared libraries support. If you
17080 *** really care for shared libraries, you may want to modify your PATH
17081 *** so that a non-GNU linker is found, and then restart.
17088 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)'
17089 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17090 hardcode_minus_L_GCJ
=yes
17092 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17093 # that the semantics of dynamic libraries on AmigaOS, at least up
17094 # to version 4, is to share data among multiple programs linked
17095 # with the same dynamic library. Since this doesn't match the
17096 # behavior of shared libraries on other platforms, we can't use
17102 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17103 allow_undefined_flag_GCJ
=unsupported
17104 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17105 # support --undefined. This deserves some investigation. FIXME
17106 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17112 cygwin
* | mingw
* | pw32
*)
17113 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17114 # as there is no search path for DLLs.
17115 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17116 allow_undefined_flag_GCJ
=unsupported
17117 always_export_symbols_GCJ
=no
17118 enable_shared_with_static_runtimes_GCJ
=yes
17119 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17121 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17122 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17123 # If the export-symbols file already is a .def file (1st line
17124 # is EXPORTS), use it as is; otherwise, prepend...
17125 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17126 cp $export_symbols $output_objdir/$soname.def;
17128 echo EXPORTS > $output_objdir/$soname.def;
17129 cat $export_symbols >> $output_objdir/$soname.def;
17131 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17138 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17140 case $cc_basename,$host_cpu in
17141 pgcc
*) # Portland Group C compiler
17142 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'
17143 tmp_addflag
=' $pic_flag'
17145 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17146 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'
17147 tmp_addflag
=' $pic_flag -Mnomain' ;;
17148 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17149 tmp_addflag
=' -i_dynamic' ;;
17150 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17151 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17152 ifc
* | ifort
*) # Intel Fortran compiler
17153 tmp_addflag
=' -nofor_main' ;;
17155 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17157 if test $supports_anon_versioning = yes; then
17158 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17159 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17160 $echo "local: *; };" >> $output_objdir/$libname.ver~
17161 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17163 link_all_deplibs_GCJ
=no
17169 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
17170 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17171 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17174 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17175 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17180 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17184 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17185 *** create shared libraries on Solaris systems. Therefore, libtool
17186 *** is disabling shared libraries support. We urge you to upgrade GNU
17187 *** binutils to release 2.9.1 or newer. Another option is to modify
17188 *** your PATH or compiler configuration so that the native linker is
17189 *** used, and then restart.
17192 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17193 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17194 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17201 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17203 hardcode_direct_GCJ
=yes
17204 hardcode_shlibpath_var_GCJ
=no
17208 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17209 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17210 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17217 if test "$ld_shlibs_GCJ" = no
; then
17219 hardcode_libdir_flag_spec_GCJ
=
17220 export_dynamic_flag_spec_GCJ
=
17221 whole_archive_flag_spec_GCJ
=
17224 # PORTME fill in a description of your system's linker (not GNU ld)
17227 allow_undefined_flag_GCJ
=unsupported
17228 always_export_symbols_GCJ
=yes
17229 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'
17230 # Note: this linker hardcodes the directories in LIBPATH if there
17231 # are no directories specified by -L.
17232 hardcode_minus_L_GCJ
=yes
17233 if test "$GCC" = yes && test -z "$link_static_flag"; then
17234 # Neither direct hardcoding nor static linking is supported with a
17236 hardcode_direct_GCJ
=unsupported
17241 if test "$host_cpu" = ia64
; then
17242 # On IA64, the linker does run time linking by default, so we don't
17243 # have to do anything special.
17244 aix_use_runtimelinking
=no
17245 exp_sym_flag
='-Bexport'
17248 # If we're using GNU nm, then we don't want the "-C" option.
17249 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17250 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17251 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'
17253 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'
17255 aix_use_runtimelinking
=no
17257 # Test if we are trying to use run time linking or normal
17258 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17259 # need to do runtime linking.
17260 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17261 for ld_flag
in $LDFLAGS; do
17262 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17263 aix_use_runtimelinking
=yes
17269 exp_sym_flag
='-bexport'
17270 no_entry_flag
='-bnoentry'
17273 # When large executables or shared objects are built, AIX ld can
17274 # have problems creating the table of contents. If linking a library
17275 # or program results in "error TOC overflow" add -mminimal-toc to
17276 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17277 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17279 archive_cmds_GCJ
=''
17280 hardcode_direct_GCJ
=yes
17281 hardcode_libdir_separator_GCJ
=':'
17282 link_all_deplibs_GCJ
=yes
17284 if test "$GCC" = yes; then
17285 case $host_os in aix4.
[012]|aix4.
[012].
*)
17286 # We only want to do this on AIX 4.2 and lower, the check
17287 # below for broken collect2 doesn't work under 4.3+
17288 collect2name
=`${CC} -print-prog-name=collect2`
17289 if test -f "$collect2name" && \
17290 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17292 # We have reworked collect2
17293 hardcode_direct_GCJ
=yes
17295 # We have old collect2
17296 hardcode_direct_GCJ
=unsupported
17297 # It fails to find uninstalled libraries when the uninstalled
17298 # path is not listed in the libpath. Setting hardcode_minus_L
17299 # to unsupported forces relinking
17300 hardcode_minus_L_GCJ
=yes
17301 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17302 hardcode_libdir_separator_GCJ
=
17305 shared_flag
='-shared'
17306 if test "$aix_use_runtimelinking" = yes; then
17307 shared_flag
="$shared_flag "'${wl}-G'
17311 if test "$host_cpu" = ia64
; then
17312 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17313 # chokes on -Wl,-G. The following line is correct:
17316 if test "$aix_use_runtimelinking" = yes; then
17317 shared_flag
='${wl}-G'
17319 shared_flag
='${wl}-bM:SRE'
17324 # It seems that -bexpall does not export symbols beginning with
17325 # underscore (_), so it is better to generate a list of symbols to export.
17326 always_export_symbols_GCJ
=yes
17327 if test "$aix_use_runtimelinking" = yes; then
17328 # Warning - without using the other runtime loading flags (-brtl),
17329 # -berok will link without error, but may produce a broken library.
17330 allow_undefined_flag_GCJ
='-berok'
17331 # Determine the default libpath from the value encoded in an empty executable.
17332 cat >conftest.
$ac_ext <<_ACEOF
17335 cat confdefs.h
>>conftest.
$ac_ext
17336 cat >>conftest.
$ac_ext <<_ACEOF
17337 /* end confdefs.h. */
17347 rm -f conftest.
$ac_objext conftest
$ac_exeext
17348 if { (ac_try
="$ac_link"
17349 case "(($ac_try" in
17350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17351 *) ac_try_echo=$ac_try;;
17353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17354 (eval "$ac_link") 2>conftest.er1
17356 grep -v '^ *+' conftest.er1 >conftest.err
17358 cat conftest.err >&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } && {
17361 test -z "$ac_c_werror_flag" ||
17362 test ! -s conftest.err
17363 } && test -s conftest$ac_exeext &&
17364 $as_test_x conftest$ac_exeext; then
17366 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17368 # Check for a 64-bit object if we didn't find anything.
17369 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17372 echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.$ac_ext >&5
17378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17379 conftest$ac_exeext conftest.$ac_ext
17380 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17382 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17383 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17385 if test "$host_cpu" = ia64
; then
17386 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
17387 allow_undefined_flag_GCJ
="-z nodefs"
17388 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
17390 # Determine the default libpath from the value encoded in an empty executable.
17391 cat >conftest.$ac_ext <<_ACEOF
17394 cat confdefs.h >>conftest.$ac_ext
17395 cat >>conftest.$ac_ext <<_ACEOF
17396 /* end confdefs.h. */
17406 rm -f conftest.$ac_objext conftest$ac_exeext
17407 if { (ac_try="$ac_link"
17408 case "(($ac_try" in
17409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17410 *) ac_try_echo=$ac_try;;
17412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17413 (eval "$ac_link") 2>conftest.er1
17415 grep -v '^
*+' conftest.er1 >conftest.err
17417 cat conftest.err >&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); } && {
17420 test -z "$ac_c_werror_flag" ||
17421 test ! -s conftest.err
17422 } && test -s conftest$ac_exeext &&
17423 $as_test_x conftest$ac_exeext; then
17425 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
17427 # Check for a 64-bit object if we didn't
find anything.
17428 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17431 echo "$as_me: failed program was:" >&5
17432 sed 's/^/| /' conftest.
$ac_ext >&5
17437 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17438 conftest
$ac_exeext conftest.
$ac_ext
17439 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17441 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17442 # Warning - without using the other run time loading flags,
17443 # -berok will link without error, but may produce a broken library.
17444 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17445 allow_undefined_flag_GCJ
=' ${wl}-berok'
17446 # -bexpall does not export symbols beginning with underscore (_)
17447 always_export_symbols_GCJ
=yes
17448 # Exported symbols can be pulled into shared objects from archives
17449 whole_archive_flag_spec_GCJ
=' '
17450 archive_cmds_need_lc_GCJ
=yes
17451 # This is similar to how AIX traditionally builds its shared libraries.
17452 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17458 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)'
17459 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17460 hardcode_minus_L_GCJ
=yes
17461 # see comment about different semantics on the GNU ld section
17466 export_dynamic_flag_spec_GCJ
=-rdynamic
17469 cygwin
* | mingw
* | pw32
*)
17470 # When not using gcc, we currently assume that we are using
17471 # Microsoft Visual C++.
17472 # hardcode_libdir_flag_spec is actually meaningless, as there is
17473 # no search path for DLLs.
17474 hardcode_libdir_flag_spec_GCJ
=' '
17475 allow_undefined_flag_GCJ
=unsupported
17476 # Tell ltmain to make .lib files, not .a files.
17478 # Tell ltmain to make .dll files, not .so files.
17480 # FIXME: Setting linknames here is a bad hack.
17481 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17482 # The linker will automatically build a .lib file if we build a DLL.
17483 old_archive_From_new_cmds_GCJ
='true'
17484 # FIXME: Should let the user specify the lib program.
17485 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17486 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17487 enable_shared_with_static_runtimes_GCJ
=yes
17490 darwin
* | rhapsody
*)
17492 rhapsody
* | darwin1.
[012])
17493 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17496 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17497 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17499 case ${MACOSX_DEPLOYMENT_TARGET} in
17501 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17504 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17510 archive_cmds_need_lc_GCJ
=no
17511 hardcode_direct_GCJ
=no
17512 hardcode_automatic_GCJ
=yes
17513 hardcode_shlibpath_var_GCJ
=unsupported
17514 whole_archive_flag_spec_GCJ
=''
17515 link_all_deplibs_GCJ
=yes
17516 if test "$GCC" = yes ; then
17517 output_verbose_link_cmd
='echo'
17518 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17519 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17520 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17521 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17522 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}'
17524 case $cc_basename in
17526 output_verbose_link_cmd
='echo'
17527 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17528 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17529 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17530 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17531 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}'
17541 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17542 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17543 hardcode_shlibpath_var_GCJ
=no
17550 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17551 # support. Future versions do this automatically, but an explicit c++rt0.o
17552 # does not break anything, and helps significantly (at the cost of a little
17555 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17556 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17557 hardcode_direct_GCJ
=yes
17558 hardcode_shlibpath_var_GCJ
=no
17561 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17563 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17564 hardcode_direct_GCJ
=yes
17565 hardcode_minus_L_GCJ
=yes
17566 hardcode_shlibpath_var_GCJ
=no
17569 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17570 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17571 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17572 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17573 hardcode_direct_GCJ
=yes
17574 hardcode_shlibpath_var_GCJ
=no
17578 if test "$GCC" = yes; then
17579 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'
17581 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'
17583 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17584 hardcode_libdir_separator_GCJ
=:
17585 hardcode_direct_GCJ
=yes
17587 # hardcode_minus_L: Not really in the search PATH,
17588 # but as the default location of the library.
17589 hardcode_minus_L_GCJ
=yes
17590 export_dynamic_flag_spec_GCJ
='${wl}-E'
17594 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17597 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17600 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17606 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17609 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17613 if test "$with_gnu_ld" = no
; then
17616 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17617 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17618 hardcode_libdir_separator_GCJ
=:
17619 hardcode_direct_GCJ
=no
17620 hardcode_shlibpath_var_GCJ
=no
17623 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17624 hardcode_direct_GCJ
=no
17625 hardcode_shlibpath_var_GCJ
=no
17627 # hardcode_minus_L: Not really in the search PATH,
17628 # but as the default location of the library.
17629 hardcode_minus_L_GCJ
=yes
17632 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17633 hardcode_libdir_separator_GCJ
=:
17634 hardcode_direct_GCJ
=yes
17635 export_dynamic_flag_spec_GCJ
='${wl}-E'
17637 # hardcode_minus_L: Not really in the search PATH,
17638 # but as the default location of the library.
17639 hardcode_minus_L_GCJ
=yes
17645 irix5
* | irix6
* | nonstopux
*)
17646 if test "$GCC" = yes; then
17647 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'
17649 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'
17650 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17652 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17653 hardcode_libdir_separator_GCJ
=:
17654 link_all_deplibs_GCJ
=yes
17657 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
17658 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17659 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17661 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17663 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17664 hardcode_direct_GCJ
=yes
17665 hardcode_shlibpath_var_GCJ
=no
17669 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17670 hardcode_direct_GCJ
=yes
17671 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17672 hardcode_libdir_separator_GCJ
=:
17673 hardcode_shlibpath_var_GCJ
=no
17677 hardcode_direct_GCJ
=yes
17678 hardcode_shlibpath_var_GCJ
=no
17679 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17680 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17681 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17682 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17683 export_dynamic_flag_spec_GCJ
='${wl}-E'
17686 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17687 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17688 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17691 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17692 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17699 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17700 hardcode_minus_L_GCJ
=yes
17701 allow_undefined_flag_GCJ
=unsupported
17702 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'
17703 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17707 if test "$GCC" = yes; then
17708 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17709 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'
17711 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17712 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'
17714 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17715 hardcode_libdir_separator_GCJ
=:
17718 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17719 if test "$GCC" = yes; then
17720 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17721 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'
17722 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17724 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17725 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'
17726 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~
17727 $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'
17729 # Both c and cxx compiler support -rpath directly
17730 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17732 hardcode_libdir_separator_GCJ
=:
17736 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17737 hardcode_shlibpath_var_GCJ
=no
17738 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17739 runpath_var
=LD_RUN_PATH
17740 hardcode_runpath_var
=yes
17744 no_undefined_flag_GCJ
=' -z text'
17745 if test "$GCC" = yes; then
17747 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17748 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17749 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17752 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17753 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17754 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17756 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17757 hardcode_shlibpath_var_GCJ
=no
17759 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17761 # The compiler driver will combine linker options so we
17762 # cannot just pass the convience library names through
17763 # without $wl, iff we do not link with $LD.
17764 # Luckily, gcc supports the same syntax we need for Sun Studio.
17765 # Supported since Solaris 2.6 (maybe 2.5.1?)
17768 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17770 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17773 link_all_deplibs_GCJ
=yes
17777 if test "x$host_vendor" = xsequent
; then
17778 # Use $CC to link under sequent, because it throws in some extra .o
17779 # files that make .init and .fini sections work.
17780 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17782 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17784 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17785 hardcode_direct_GCJ
=yes
17786 hardcode_minus_L_GCJ
=yes
17787 hardcode_shlibpath_var_GCJ
=no
17791 case $host_vendor in
17793 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17794 hardcode_direct_GCJ
=yes # is this really true???
17797 ## LD is ld it makes a PLAMLIB
17798 ## CC just makes a GrossModule.
17799 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17800 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17801 hardcode_direct_GCJ
=no
17804 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17805 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17808 runpath_var
='LD_RUN_PATH'
17809 hardcode_shlibpath_var_GCJ
=no
17813 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17814 hardcode_shlibpath_var_GCJ
=no
17815 export_dynamic_flag_spec_GCJ
='-Bexport'
17819 if test -d /usr
/nec
; then
17820 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17821 hardcode_shlibpath_var_GCJ
=no
17822 runpath_var
=LD_RUN_PATH
17823 hardcode_runpath_var
=yes
17829 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17830 hardcode_direct_GCJ
=yes
17831 hardcode_minus_L_GCJ
=no
17832 hardcode_shlibpath_var_GCJ
=no
17833 hardcode_runpath_var
=yes
17834 runpath_var
=LD_RUN_PATH
17837 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
17838 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
17839 if test "$GCC" = yes; then
17840 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17842 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17844 runpath_var
='LD_RUN_PATH'
17845 hardcode_shlibpath_var_GCJ
=no
17849 no_undefined_flag_GCJ
=' -z text'
17850 # $CC -shared without GNU ld will not create a library from C++
17851 # object files and a static libstdc++, better avoid it by now
17852 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17853 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17854 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17855 hardcode_libdir_flag_spec_GCJ
=
17856 hardcode_shlibpath_var_GCJ
=no
17857 runpath_var
='LD_RUN_PATH'
17861 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17862 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17863 hardcode_shlibpath_var_GCJ
=no
17872 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17873 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17874 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17876 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17877 if test "$GCC" = yes; then
17878 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17882 # Do we need to explicitly link libc?
17884 case "x$archive_cmds_need_lc_GCJ" in
17886 # Assume -lc should be added
17887 archive_cmds_need_lc_GCJ
=yes
17889 if test "$enable_shared" = yes && test "$GCC" = yes; then
17890 case $archive_cmds_GCJ in
17892 # FIXME: we may have to deal with multi-command sequences.
17895 # Test whether the compiler implicitly links with -lc since on some
17896 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17897 # to ld, don't add -lc before -lgcc.
17898 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17899 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17901 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17904 (eval $ac_compile) 2>&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } 2>conftest.err
; then
17910 libobjs
=conftest.
$ac_objext
17912 wl
=$lt_prog_compiler_wl_GCJ
17918 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17919 allow_undefined_flag_GCJ
=
17920 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17921 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); }
17926 archive_cmds_need_lc_GCJ
=no
17928 archive_cmds_need_lc_GCJ
=yes
17930 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17932 cat conftest.err
1>&5
17935 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17936 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17943 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17944 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17945 library_names_spec
=
17946 libname_spec
='lib$name'
17950 postuninstall_cmds
=
17954 shlibpath_overrides_runpath
=unknown
17956 dynamic_linker
="$host_os ld.so"
17957 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17958 if test "$GCC" = yes; then
17959 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17960 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17961 # if the path contains ";" then we assume it to be the separator
17962 # otherwise default to the standard path separator (i.e. ":") - it is
17963 # assumed that no part of a normal pathname contains ";" but that should
17964 # okay in the real world where ";" in dirpaths is itself problematic.
17965 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17967 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17970 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17972 need_lib_prefix
=unknown
17973 hardcode_into_libs
=no
17975 # when you set need_version to no, make sure it does not cause -set_version
17976 # flags to be left without arguments
17977 need_version
=unknown
17982 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17983 shlibpath_var
=LIBPATH
17985 # AIX 3 has no versioning support, so we append a major version to the name.
17986 soname_spec
='${libname}${release}${shared_ext}$major'
17993 hardcode_into_libs
=yes
17994 if test "$host_cpu" = ia64
; then
17995 # AIX 5 supports IA64
17996 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17997 shlibpath_var
=LD_LIBRARY_PATH
17999 # With GCC up to 2.95.x, collect2 would create an import file
18000 # for dependence libraries. The import file would start with
18001 # the line `#! .'. This would cause the generated library to
18002 # depend on `.', always an invalid library. This was fixed in
18003 # development snapshots of GCC prior to 3.0.
18005 aix4 | aix4.
[01] | aix4.
[01].
*)
18006 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18008 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18011 can_build_shared
=no
18015 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18016 # soname into executable. Probably we can add versioning support to
18017 # collect2, so additional links can be useful in future.
18018 if test "$aix_use_runtimelinking" = yes; then
18019 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18020 # instead of lib<name>.a to let people know that these are not
18021 # typical AIX shared libraries.
18022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18024 # We preserve .a as extension for shared libraries through AIX4.2
18025 # and later when we are not doing run time linking.
18026 library_names_spec
='${libname}${release}.a $libname.a'
18027 soname_spec
='${libname}${release}${shared_ext}$major'
18029 shlibpath_var
=LIBPATH
18034 library_names_spec
='$libname.ixlibrary $libname.a'
18035 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18036 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'
18040 library_names_spec
='${libname}${shared_ext}'
18041 dynamic_linker
="$host_os ld.so"
18042 shlibpath_var
=LIBRARY_PATH
18048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18049 soname_spec
='${libname}${release}${shared_ext}$major'
18050 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18051 shlibpath_var
=LD_LIBRARY_PATH
18052 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18053 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18054 # the default ld.so.conf also contains /usr/contrib/lib and
18055 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18056 # libtool to hard-code these into programs
18059 cygwin
* | mingw
* | pw32
*)
18060 version_type
=windows
18065 case $GCC,$host_os in
18066 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18067 library_names_spec
='$libname.dll.a'
18068 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18069 postinstall_cmds
='base_file=`basename \${file}`~
18070 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18071 dldir=$destdir/`dirname \$dlpath`~
18072 test -d \$dldir || mkdir -p \$dldir~
18073 $install_prog $dir/$dlname \$dldir/$dlname~
18074 chmod a+x \$dldir/$dlname'
18075 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18076 dlpath=$dir/\$dldll~
18078 shlibpath_overrides_runpath
=yes
18082 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18083 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18084 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18087 # MinGW DLLs use traditional 'lib' prefix
18088 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18089 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18090 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18091 # It is most probably a Windows format PATH printed by
18092 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18093 # path with ; separators, and with drive letters. We can handle the
18094 # drive letters (cygwin fileutils understands them), so leave them,
18095 # especially as we might pass files found there to a mingw objdump,
18096 # which wouldn't understand a cygwinified path. Ahh.
18097 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18099 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18103 # pw32 DLLs use 'pw' prefix rather than 'lib'
18104 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18110 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18113 dynamic_linker
='Win32 ld.exe'
18114 # FIXME: first we should search . and the directory the executable is in
18118 darwin
* | rhapsody
*)
18119 dynamic_linker
="$host_os dyld"
18120 version_type
=darwin
18123 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18124 soname_spec
='${libname}${release}${major}$shared_ext'
18125 shlibpath_overrides_runpath
=yes
18126 shlibpath_var
=DYLD_LIBRARY_PATH
18127 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18128 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18129 if test "$GCC" = yes; then
18130 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18132 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18134 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18142 soname_spec
='${libname}${release}${shared_ext}$major'
18143 shlibpath_var
=LD_LIBRARY_PATH
18154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18155 soname_spec
='${libname}${release}${shared_ext}$major'
18156 shlibpath_var
=LD_LIBRARY_PATH
18157 shlibpath_overrides_runpath
=no
18158 hardcode_into_libs
=yes
18159 dynamic_linker
='GNU ld.so'
18162 freebsd
* | dragonfly
*)
18163 # DragonFly does not have aout. When/if they implement a new
18164 # versioning mechanism, adjust this.
18165 if test -x /usr
/bin
/objformat
; then
18166 objformat
=`/usr/bin/objformat`
18169 freebsd
[123]*) objformat
=aout
;;
18170 *) objformat
=elf
;;
18173 version_type
=freebsd-
$objformat
18174 case $version_type in
18176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18181 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18185 shlibpath_var
=LD_LIBRARY_PATH
18188 shlibpath_overrides_runpath
=yes
18190 freebsd3.
[01]* | freebsdelf3.
[01]*)
18191 shlibpath_overrides_runpath
=yes
18192 hardcode_into_libs
=yes
18195 shlibpath_overrides_runpath
=no
18196 hardcode_into_libs
=yes
18205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18206 soname_spec
='${libname}${release}${shared_ext}$major'
18207 shlibpath_var
=LD_LIBRARY_PATH
18208 hardcode_into_libs
=yes
18211 hpux9
* | hpux10
* | hpux11
*)
18212 # Give a soname corresponding to the major version so that dld.sl refuses to
18213 # link against other versions.
18220 hardcode_into_libs
=yes
18221 dynamic_linker
="$host_os dld.so"
18222 shlibpath_var
=LD_LIBRARY_PATH
18223 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18225 soname_spec
='${libname}${release}${shared_ext}$major'
18226 if test "X$HPUX_IA64_MODE" = X32
; then
18227 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18229 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18231 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18235 hardcode_into_libs
=yes
18236 dynamic_linker
="$host_os dld.sl"
18237 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18238 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18240 soname_spec
='${libname}${release}${shared_ext}$major'
18241 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18242 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18246 dynamic_linker
="$host_os dld.sl"
18247 shlibpath_var
=SHLIB_PATH
18248 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18250 soname_spec
='${libname}${release}${shared_ext}$major'
18253 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18254 postinstall_cmds
='chmod 555 $lib'
18257 irix5
* | irix6
* | nonstopux
*)
18259 nonstopux
*) version_type
=nonstopux
;;
18261 if test "$lt_cv_prog_gnu_ld" = yes; then
18269 soname_spec
='${libname}${release}${shared_ext}$major'
18270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18272 irix5
* | nonstopux
*)
18273 libsuff
= shlibsuff
=
18276 case $LD in # libtool.m4 will add one of these switches to LD
18277 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18278 libsuff
= shlibsuff
= libmagic
=32-bit;;
18279 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18280 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18281 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18282 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18283 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18287 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18288 shlibpath_overrides_runpath
=no
18289 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18290 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18291 hardcode_into_libs
=yes
18294 # No shared lib support for Linux oldld, aout, or coff.
18295 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18299 # This must be Linux ELF.
18304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18305 soname_spec
='${libname}${release}${shared_ext}$major'
18306 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18307 shlibpath_var
=LD_LIBRARY_PATH
18308 shlibpath_overrides_runpath
=no
18309 # This implies no fast_install, which is unacceptable.
18310 # Some rework will be needed to allow for fast_install
18311 # before this can be enabled.
18312 hardcode_into_libs
=yes
18314 # Append ld.so.conf contents to the search path
18315 if test -f /etc
/ld.so.conf
; then
18316 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18317 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18320 # We used to test for /lib/ld.so.1 and disable shared libraries on
18321 # powerpc, because MkLinux only supported shared libraries with the
18322 # GNU dynamic linker. Since this was broken with cross compilers,
18323 # most powerpc-linux boxes support dynamic linking these days and
18324 # people can always --disable-shared, the test was removed, and we
18325 # assume the GNU/Linux dynamic linker is in use.
18326 dynamic_linker
='GNU/Linux ld.so'
18333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18334 soname_spec
='${libname}${release}${shared_ext}$major'
18335 shlibpath_var
=LD_LIBRARY_PATH
18336 shlibpath_overrides_runpath
=no
18337 hardcode_into_libs
=yes
18338 dynamic_linker
='NetBSD ld.elf_so'
18345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18346 soname_spec
='${libname}${release}${shared_ext}$major'
18347 shlibpath_var
=LD_LIBRARY_PATH
18348 shlibpath_overrides_runpath
=no
18349 hardcode_into_libs
=yes
18350 dynamic_linker
='GNU ld.so'
18357 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18359 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18360 dynamic_linker
='NetBSD (a.out) ld.so'
18362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18363 soname_spec
='${libname}${release}${shared_ext}$major'
18364 dynamic_linker
='NetBSD ld.elf_so'
18366 shlibpath_var
=LD_LIBRARY_PATH
18367 shlibpath_overrides_runpath
=yes
18368 hardcode_into_libs
=yes
18373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18374 shlibpath_var
=LD_LIBRARY_PATH
18375 shlibpath_overrides_runpath
=yes
18382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18383 soname_spec
='${libname}${release}${shared_ext}$major'
18384 shlibpath_var
=LD_LIBRARY_PATH
18385 shlibpath_overrides_runpath
=yes
18391 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18393 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18394 *) need_version
=no
;;
18396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18397 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18398 shlibpath_var
=LD_LIBRARY_PATH
18399 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18401 openbsd2.
[89] | openbsd2.
[89].
*)
18402 shlibpath_overrides_runpath
=no
18405 shlibpath_overrides_runpath
=yes
18409 shlibpath_overrides_runpath
=yes
18414 libname_spec
='$name'
18417 library_names_spec
='$libname${shared_ext} $libname.a'
18418 dynamic_linker
='OS/2 ld.exe'
18419 shlibpath_var
=LIBPATH
18422 osf3
* | osf4
* | osf5
*)
18426 soname_spec
='${libname}${release}${shared_ext}$major'
18427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18428 shlibpath_var
=LD_LIBRARY_PATH
18429 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18430 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18435 soname_spec
='${libname}${release}${shared_ext}$major'
18436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18437 shlibpath_var
=LD_LIBRARY_PATH
18444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18445 soname_spec
='${libname}${release}${shared_ext}$major'
18446 shlibpath_var
=LD_LIBRARY_PATH
18447 shlibpath_overrides_runpath
=yes
18448 hardcode_into_libs
=yes
18449 # ldd complains unless libraries are executable
18450 postinstall_cmds
='chmod +x $lib'
18455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18456 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18457 shlibpath_var
=LD_LIBRARY_PATH
18458 shlibpath_overrides_runpath
=yes
18459 if test "$with_gnu_ld" = yes; then
18465 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18468 soname_spec
='${libname}${release}${shared_ext}$major'
18469 shlibpath_var
=LD_LIBRARY_PATH
18470 case $host_vendor in
18472 shlibpath_overrides_runpath
=no
18474 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18475 runpath_var
=LD_RUN_PATH
18483 shlibpath_overrides_runpath
=no
18484 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18490 if test -d /usr
/nec
;then
18492 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18493 soname_spec
='$libname${shared_ext}.$major'
18494 shlibpath_var
=LD_LIBRARY_PATH
18500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18501 soname_spec
='${libname}${release}${shared_ext}$major'
18502 shlibpath_var
=LD_LIBRARY_PATH
18509 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18510 echo "${ECHO_T}$dynamic_linker" >&6; }
18511 test "$dynamic_linker" = no
&& can_build_shared
=no
18513 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18514 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18515 hardcode_action_GCJ
=
18516 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18517 test -n "$runpath_var_GCJ" || \
18518 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18520 # We can hardcode non-existant directories.
18521 if test "$hardcode_direct_GCJ" != no
&&
18522 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18523 # have to relink, otherwise we might link with an installed library
18524 # when we should be linking with a yet-to-be-installed one
18525 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18526 test "$hardcode_minus_L_GCJ" != no
; then
18527 # Linking always hardcodes the temporary library directory.
18528 hardcode_action_GCJ
=relink
18530 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18531 hardcode_action_GCJ
=immediate
18534 # We cannot hardcode anything, or else we can only hardcode existing
18536 hardcode_action_GCJ
=unsupported
18538 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18539 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18541 if test "$hardcode_action_GCJ" = relink
; then
18542 # Fast installation is not supported
18543 enable_fast_install
=no
18544 elif test "$shlibpath_overrides_runpath" = yes ||
18545 test "$enable_shared" = no
; then
18546 # Fast installation is not necessary
18547 enable_fast_install
=needless
18552 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18553 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
18554 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
18555 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
18556 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
18557 { echo "$as_me:$LINENO: result: yes" >&5
18558 echo "${ECHO_T}yes" >&6; }
18560 # FIXME - insert some real tests, host_os isn't really good enough
18563 if test -n "$STRIP" ; then
18564 striplib
="$STRIP -x"
18565 { echo "$as_me:$LINENO: result: yes" >&5
18566 echo "${ECHO_T}yes" >&6; }
18568 { echo "$as_me:$LINENO: result: no" >&5
18569 echo "${ECHO_T}no" >&6; }
18573 { echo "$as_me:$LINENO: result: no" >&5
18574 echo "${ECHO_T}no" >&6; }
18579 if test "x$enable_dlopen" != xyes
; then
18580 enable_dlopen
=unknown
18581 enable_dlopen_self
=unknown
18582 enable_dlopen_self_static
=unknown
18589 lt_cv_dlopen
="load_add_on"
18591 lt_cv_dlopen_self
=yes
18595 lt_cv_dlopen
="LoadLibrary"
18600 lt_cv_dlopen
="dlopen"
18605 # if libdl is installed we need to link against it
18606 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18607 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18608 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18609 echo $ECHO_N "(cached) $ECHO_C" >&6
18611 ac_check_lib_save_LIBS
=$LIBS
18613 cat >conftest.
$ac_ext <<_ACEOF
18616 cat confdefs.h
>>conftest.
$ac_ext
18617 cat >>conftest.
$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18620 /* Override any GCC internal prototype to avoid an error.
18621 Use char because int might match the return type of a GCC
18622 builtin and then its argument prototype would still apply. */
18635 rm -f conftest.
$ac_objext conftest
$ac_exeext
18636 if { (ac_try
="$ac_link"
18637 case "(($ac_try" in
18638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18639 *) ac_try_echo=$ac_try;;
18641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18642 (eval "$ac_link") 2>conftest.er1
18644 grep -v '^ *+' conftest.er1 >conftest.err
18646 cat conftest.err >&5
18647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18648 (exit $ac_status); } && {
18649 test -z "$ac_c_werror_flag" ||
18650 test ! -s conftest.err
18651 } && test -s conftest$ac_exeext &&
18652 $as_test_x conftest$ac_exeext; then
18653 ac_cv_lib_dl_dlopen=yes
18655 echo "$as_me: failed program was:" >&5
18656 sed 's/^/| /' conftest.$ac_ext >&5
18658 ac_cv_lib_dl_dlopen=no
18661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18662 conftest$ac_exeext conftest.$ac_ext
18663 LIBS=$ac_check_lib_save_LIBS
18665 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18666 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18667 if test $ac_cv_lib_dl_dlopen = yes; then
18668 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18671 lt_cv_dlopen="dyld"
18673 lt_cv_dlopen_self=yes
18680 { echo "$as_me:$LINENO: checking for shl_load" >&5
18681 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
18682 if test "${ac_cv_func_shl_load+set}" = set; then
18683 echo $ECHO_N "(cached) $ECHO_C" >&6
18685 cat >conftest.$ac_ext <<_ACEOF
18688 cat confdefs.h >>conftest.$ac_ext
18689 cat >>conftest.$ac_ext <<_ACEOF
18690 /* end confdefs.h. */
18691 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18693 #define shl_load innocuous_shl_load
18695 /* System header to define __stub macros and hopefully few prototypes,
18696 which can conflict with char shl_load (); below.
18697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18698 <limits.h> exists even on freestanding compilers. */
18701 # include <limits.h>
18703 # include <assert.h>
18708 /* Override any GCC internal prototype to avoid an error.
18709 Use char because int might match the return type of a GCC
18710 builtin and then its argument prototype would still apply. */
18715 /* The GNU C library defines this for functions which it implements
18716 to always fail with ENOSYS. Some functions are actually named
18717 something starting with __ and the normal name is an alias. */
18718 #if defined __stub_shl_load || defined __stub___shl_load
18725 return shl_load ();
18730 rm -f conftest.$ac_objext conftest$ac_exeext
18731 if { (ac_try="$ac_link"
18732 case "(($ac_try" in
18733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18734 *) ac_try_echo
=$ac_try;;
18736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18737 (eval "$ac_link") 2>conftest.er1
18739 grep -v '^ *+' conftest.er1
>conftest.err
18741 cat conftest.err
>&5
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); } && {
18744 test -z "$ac_c_werror_flag" ||
18745 test ! -s conftest.err
18746 } && test -s conftest
$ac_exeext &&
18747 $as_test_x conftest
$ac_exeext; then
18748 ac_cv_func_shl_load
=yes
18750 echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.
$ac_ext >&5
18753 ac_cv_func_shl_load
=no
18756 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18757 conftest
$ac_exeext conftest.
$ac_ext
18759 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18760 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
18761 if test $ac_cv_func_shl_load = yes; then
18762 lt_cv_dlopen
="shl_load"
18764 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18765 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
18766 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18767 echo $ECHO_N "(cached) $ECHO_C" >&6
18769 ac_check_lib_save_LIBS
=$LIBS
18771 cat >conftest.
$ac_ext <<_ACEOF
18774 cat confdefs.h
>>conftest.
$ac_ext
18775 cat >>conftest.
$ac_ext <<_ACEOF
18776 /* end confdefs.h. */
18778 /* Override any GCC internal prototype to avoid an error.
18779 Use char because int might match the return type of a GCC
18780 builtin and then its argument prototype would still apply. */
18788 return shl_load ();
18793 rm -f conftest.
$ac_objext conftest
$ac_exeext
18794 if { (ac_try
="$ac_link"
18795 case "(($ac_try" in
18796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18797 *) ac_try_echo=$ac_try;;
18799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18800 (eval "$ac_link") 2>conftest.er1
18802 grep -v '^ *+' conftest.er1 >conftest.err
18804 cat conftest.err >&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); } && {
18807 test -z "$ac_c_werror_flag" ||
18808 test ! -s conftest.err
18809 } && test -s conftest$ac_exeext &&
18810 $as_test_x conftest$ac_exeext; then
18811 ac_cv_lib_dld_shl_load=yes
18813 echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.$ac_ext >&5
18816 ac_cv_lib_dld_shl_load=no
18819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18820 conftest$ac_exeext conftest.$ac_ext
18821 LIBS=$ac_check_lib_save_LIBS
18823 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18824 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
18825 if test $ac_cv_lib_dld_shl_load = yes; then
18826 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18828 { echo "$as_me:$LINENO: checking for dlopen" >&5
18829 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
18830 if test "${ac_cv_func_dlopen+set}" = set; then
18831 echo $ECHO_N "(cached) $ECHO_C" >&6
18833 cat >conftest.$ac_ext <<_ACEOF
18836 cat confdefs.h >>conftest.$ac_ext
18837 cat >>conftest.$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18839 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18841 #define dlopen innocuous_dlopen
18843 /* System header to define __stub macros and hopefully few prototypes,
18844 which can conflict with char dlopen (); below.
18845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18846 <limits.h> exists even on freestanding compilers. */
18849 # include <limits.h>
18851 # include <assert.h>
18856 /* Override any GCC internal prototype to avoid an error.
18857 Use char because int might match the return type of a GCC
18858 builtin and then its argument prototype would still apply. */
18863 /* The GNU C library defines this for functions which it implements
18864 to always fail with ENOSYS. Some functions are actually named
18865 something starting with __ and the normal name is an alias. */
18866 #if defined __stub_dlopen || defined __stub___dlopen
18878 rm -f conftest.$ac_objext conftest$ac_exeext
18879 if { (ac_try="$ac_link"
18880 case "(($ac_try" in
18881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18882 *) ac_try_echo
=$ac_try;;
18884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18885 (eval "$ac_link") 2>conftest.er1
18887 grep -v '^ *+' conftest.er1
>conftest.err
18889 cat conftest.err
>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } && {
18892 test -z "$ac_c_werror_flag" ||
18893 test ! -s conftest.err
18894 } && test -s conftest
$ac_exeext &&
18895 $as_test_x conftest
$ac_exeext; then
18896 ac_cv_func_dlopen
=yes
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.
$ac_ext >&5
18901 ac_cv_func_dlopen
=no
18904 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18905 conftest
$ac_exeext conftest.
$ac_ext
18907 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18908 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
18909 if test $ac_cv_func_dlopen = yes; then
18910 lt_cv_dlopen
="dlopen"
18912 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18913 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18914 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18915 echo $ECHO_N "(cached) $ECHO_C" >&6
18917 ac_check_lib_save_LIBS
=$LIBS
18919 cat >conftest.
$ac_ext <<_ACEOF
18922 cat confdefs.h
>>conftest.
$ac_ext
18923 cat >>conftest.
$ac_ext <<_ACEOF
18924 /* end confdefs.h. */
18926 /* Override any GCC internal prototype to avoid an error.
18927 Use char because int might match the return type of a GCC
18928 builtin and then its argument prototype would still apply. */
18941 rm -f conftest.
$ac_objext conftest
$ac_exeext
18942 if { (ac_try
="$ac_link"
18943 case "(($ac_try" in
18944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18945 *) ac_try_echo=$ac_try;;
18947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18948 (eval "$ac_link") 2>conftest.er1
18950 grep -v '^ *+' conftest.er1 >conftest.err
18952 cat conftest.err >&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); } && {
18955 test -z "$ac_c_werror_flag" ||
18956 test ! -s conftest.err
18957 } && test -s conftest$ac_exeext &&
18958 $as_test_x conftest$ac_exeext; then
18959 ac_cv_lib_dl_dlopen=yes
18961 echo "$as_me: failed program was:" >&5
18962 sed 's/^/| /' conftest.$ac_ext >&5
18964 ac_cv_lib_dl_dlopen=no
18967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18968 conftest$ac_exeext conftest.$ac_ext
18969 LIBS=$ac_check_lib_save_LIBS
18971 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18972 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18973 if test $ac_cv_lib_dl_dlopen = yes; then
18974 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18976 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18977 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
18978 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18979 echo $ECHO_N "(cached) $ECHO_C" >&6
18981 ac_check_lib_save_LIBS=$LIBS
18982 LIBS="-lsvld $LIBS"
18983 cat >conftest.$ac_ext <<_ACEOF
18986 cat confdefs.h >>conftest.$ac_ext
18987 cat >>conftest.$ac_ext <<_ACEOF
18988 /* end confdefs.h. */
18990 /* Override any GCC internal prototype to avoid an error.
18991 Use char because int might match the return type of a GCC
18992 builtin and then its argument prototype would still apply. */
19005 rm -f conftest.$ac_objext conftest$ac_exeext
19006 if { (ac_try="$ac_link"
19007 case "(($ac_try" in
19008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19009 *) ac_try_echo
=$ac_try;;
19011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19012 (eval "$ac_link") 2>conftest.er1
19014 grep -v '^ *+' conftest.er1
>conftest.err
19016 cat conftest.err
>&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); } && {
19019 test -z "$ac_c_werror_flag" ||
19020 test ! -s conftest.err
19021 } && test -s conftest
$ac_exeext &&
19022 $as_test_x conftest
$ac_exeext; then
19023 ac_cv_lib_svld_dlopen
=yes
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.
$ac_ext >&5
19028 ac_cv_lib_svld_dlopen
=no
19031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19032 conftest
$ac_exeext conftest.
$ac_ext
19033 LIBS
=$ac_check_lib_save_LIBS
19035 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19036 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
19037 if test $ac_cv_lib_svld_dlopen = yes; then
19038 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
19040 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19041 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
19042 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19043 echo $ECHO_N "(cached) $ECHO_C" >&6
19045 ac_check_lib_save_LIBS
=$LIBS
19047 cat >conftest.
$ac_ext <<_ACEOF
19050 cat confdefs.h
>>conftest.
$ac_ext
19051 cat >>conftest.
$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19054 /* Override any GCC internal prototype to avoid an error.
19055 Use char because int might match the return type of a GCC
19056 builtin and then its argument prototype would still apply. */
19064 return dld_link ();
19069 rm -f conftest.
$ac_objext conftest
$ac_exeext
19070 if { (ac_try
="$ac_link"
19071 case "(($ac_try" in
19072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19073 *) ac_try_echo=$ac_try;;
19075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19076 (eval "$ac_link") 2>conftest.er1
19078 grep -v '^ *+' conftest.er1 >conftest.err
19080 cat conftest.err >&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); } && {
19083 test -z "$ac_c_werror_flag" ||
19084 test ! -s conftest.err
19085 } && test -s conftest$ac_exeext &&
19086 $as_test_x conftest$ac_exeext; then
19087 ac_cv_lib_dld_dld_link=yes
19089 echo "$as_me: failed program was:" >&5
19090 sed 's/^/| /' conftest.$ac_ext >&5
19092 ac_cv_lib_dld_dld_link=no
19095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19096 conftest$ac_exeext conftest.$ac_ext
19097 LIBS=$ac_check_lib_save_LIBS
19099 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19100 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
19101 if test $ac_cv_lib_dld_dld_link = yes; then
19102 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19123 if test "x$lt_cv_dlopen" != xno; then
19129 case $lt_cv_dlopen in
19131 save_CPPFLAGS="$CPPFLAGS"
19132 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19134 save_LDFLAGS="$LDFLAGS"
19135 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19138 LIBS="$lt_cv_dlopen_libs $LIBS"
19140 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19141 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
19142 if test "${lt_cv_dlopen_self+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19145 if test "$cross_compiling" = yes; then :
19146 lt_cv_dlopen_self=cross
19148 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19149 lt_status=$lt_dlunknown
19150 cat > conftest.$ac_ext <<EOF
19151 #line 19151 "configure"
19152 #include "confdefs.h"
19161 # define LT_DLGLOBAL RTLD_GLOBAL
19164 # define LT_DLGLOBAL DL_GLOBAL
19166 # define LT_DLGLOBAL 0
19170 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19171 find out it does not work in some platform. */
19172 #ifndef LT_DLLAZY_OR_NOW
19174 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19177 # define LT_DLLAZY_OR_NOW DL_LAZY
19180 # define LT_DLLAZY_OR_NOW RTLD_NOW
19183 # define LT_DLLAZY_OR_NOW DL_NOW
19185 # define LT_DLLAZY_OR_NOW 0
19193 extern "C" void exit (int);
19196 void fnord() { int i=42;}
19199 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19200 int status = $lt_dlunknown;
19204 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19205 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19206 /* dlclose (self); */
19212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19213 (eval $ac_link) 2>&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19217 (./conftest; exit; ) >&5 2>/dev/null
19219 case x$lt_status in
19220 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19221 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19222 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
19225 # compilation failed
19226 lt_cv_dlopen_self=no
19233 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19234 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
19236 if test "x$lt_cv_dlopen_self" = xyes; then
19237 LDFLAGS="$LDFLAGS $link_static_flag"
19238 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19239 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
19240 if test "${lt_cv_dlopen_self_static+set}" = set; then
19241 echo $ECHO_N "(cached) $ECHO_C" >&6
19243 if test "$cross_compiling" = yes; then :
19244 lt_cv_dlopen_self_static=cross
19246 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19247 lt_status=$lt_dlunknown
19248 cat > conftest.$ac_ext <<EOF
19249 #line 19249 "configure"
19250 #include "confdefs.h"
19259 # define LT_DLGLOBAL RTLD_GLOBAL
19262 # define LT_DLGLOBAL DL_GLOBAL
19264 # define LT_DLGLOBAL 0
19268 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19269 find out it does not work in some platform. */
19270 #ifndef LT_DLLAZY_OR_NOW
19272 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19275 # define LT_DLLAZY_OR_NOW DL_LAZY
19278 # define LT_DLLAZY_OR_NOW RTLD_NOW
19281 # define LT_DLLAZY_OR_NOW DL_NOW
19283 # define LT_DLLAZY_OR_NOW 0
19291 extern "C" void exit (int);
19294 void fnord() { int i=42;}
19297 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19298 int status = $lt_dlunknown;
19302 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19303 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19304 /* dlclose (self); */
19310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19311 (eval $ac_link) 2>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19315 (./conftest; exit; ) >&5 2>/dev/null
19317 case x$lt_status in
19318 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19319 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19320 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19323 # compilation failed
19324 lt_cv_dlopen_self_static=no
19331 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19332 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
19335 CPPFLAGS="$save_CPPFLAGS"
19336 LDFLAGS="$save_LDFLAGS"
19341 case $lt_cv_dlopen_self in
19342 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19343 *) enable_dlopen_self=unknown ;;
19346 case $lt_cv_dlopen_self_static in
19347 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19348 *) enable_dlopen_self_static=unknown ;;
19353 # The else clause should only fire when bootstrapping the
19354 # libtool distribution, otherwise you forgot to ship ltmain.sh
19355 # with your package, and you will get complaints that there are
19356 # no rules to generate ltmain.sh.
19357 if test -f "$ltmain"; then
19358 # See if we are running on zsh, and set the options which allow our commands through
19359 # without removal of \ escapes.
19360 if test -n "${ZSH_VERSION+set}" ; then
19361 setopt NO_GLOB_SUBST
19363 # Now quote all the things that may contain metacharacters while being
19364 # careful not to overquote the AC_SUBSTed values. We take copies of the
19365 # variables and quote the copies for generation of the libtool script.
19366 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19368 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19369 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19370 deplibs_check_method reload_flag reload_cmds need_locks \
19371 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19372 lt_cv_sys_global_symbol_to_c_name_address \
19373 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19374 old_postinstall_cmds old_postuninstall_cmds \
19378 lt_prog_compiler_wl_GCJ \
19379 lt_prog_compiler_pic_GCJ \
19380 lt_prog_compiler_static_GCJ \
19381 lt_prog_compiler_no_builtin_flag_GCJ \
19382 export_dynamic_flag_spec_GCJ \
19383 thread_safe_flag_spec_GCJ \
19384 whole_archive_flag_spec_GCJ \
19385 enable_shared_with_static_runtimes_GCJ \
19386 old_archive_cmds_GCJ \
19387 old_archive_from_new_cmds_GCJ \
19388 predep_objects_GCJ \
19389 postdep_objects_GCJ \
19392 compiler_lib_search_path_GCJ \
19394 archive_expsym_cmds_GCJ \
19395 postinstall_cmds_GCJ \
19396 postuninstall_cmds_GCJ \
19397 old_archive_from_expsyms_cmds_GCJ \
19398 allow_undefined_flag_GCJ \
19399 no_undefined_flag_GCJ \
19400 export_symbols_cmds_GCJ \
19401 hardcode_libdir_flag_spec_GCJ \
19402 hardcode_libdir_flag_spec_ld_GCJ \
19403 hardcode_libdir_separator_GCJ \
19404 hardcode_automatic_GCJ \
19406 module_expsym_cmds_GCJ \
19407 lt_cv_prog_compiler_c_o_GCJ \
19408 exclude_expsyms_GCJ \
19409 include_expsyms_GCJ; do
19412 old_archive_cmds_GCJ | \
19413 old_archive_from_new_cmds_GCJ | \
19414 archive_cmds_GCJ | \
19415 archive_expsym_cmds_GCJ | \
19416 module_cmds_GCJ | \
19417 module_expsym_cmds_GCJ | \
19418 old_archive_from_expsyms_cmds_GCJ | \
19419 export_symbols_cmds_GCJ | \
19420 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19421 postinstall_cmds | postuninstall_cmds | \
19422 old_postinstall_cmds | old_postuninstall_cmds | \
19423 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19424 # Double-quote double-evaled strings.
19425 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
19428 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
19434 *'\$0 --fallback-echo"')
19435 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19441 cat <<__EOF__ >> "$cfgfile"
19442 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19444 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
19446 # Shell to use when invoking shell scripts.
19449 # Whether or not to build shared libraries.
19450 build_libtool_libs=$enable_shared
19452 # Whether or not to build static libraries.
19453 build_old_libs=$enable_static
19455 # Whether or not to add -lc for building shared libraries.
19456 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19458 # Whether or not to disallow shared libs when runtime libs are static
19459 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19461 # Whether or not to optimize for fast installation.
19462 fast_install=$enable_fast_install
19465 host_alias=$host_alias
19469 # The build system.
19470 build_alias=$build_alias
19474 # An echo program that does not interpret backslashes.
19479 AR_FLAGS=$lt_AR_FLAGS
19484 # A language-specific compiler.
19485 CC=$lt_compiler_GCJ
19487 # Is the compiler the GNU C compiler?
19493 # The linker used to build libraries.
19496 # Whether we need hard or soft links.
19499 # A BSD-compatible nm program.
19502 # A symbol stripping program
19505 # Used to examine libraries when file_magic_cmd begins "file"
19506 MAGIC_CMD=$MAGIC_CMD
19508 # Used on cygwin: DLL creation program.
19511 # Used on cygwin: object dumper.
19514 # Used on cygwin: assembler.
19517 # The name of the directory that contains temporary libtool files.
19520 # How to create reloadable object files.
19521 reload_flag=$lt_reload_flag
19522 reload_cmds=$lt_reload_cmds
19524 # How to pass a linker flag through the compiler.
19525 wl=$lt_lt_prog_compiler_wl_GCJ
19527 # Object file suffix (normally "o").
19528 objext="$ac_objext"
19530 # Old archive suffix (normally "a").
19533 # Shared library suffix (normally ".so").
19534 shrext_cmds='$shrext_cmds'
19536 # Executable file suffix (normally "").
19539 # Additional compiler flags for building library objects.
19540 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19543 # What is the maximum length of a command?
19544 max_cmd_len=$lt_cv_sys_max_cmd_len
19546 # Does compiler simultaneously support -c and -o options?
19547 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19549 # Must we lock files when doing compilation?
19550 need_locks=$lt_need_locks
19552 # Do we need the lib prefix for modules?
19553 need_lib_prefix=$need_lib_prefix
19555 # Do we need a version for libraries?
19556 need_version=$need_version
19558 # Whether dlopen is supported.
19559 dlopen_support=$enable_dlopen
19561 # Whether dlopen of programs is supported.
19562 dlopen_self=$enable_dlopen_self
19564 # Whether dlopen of statically linked programs is supported.
19565 dlopen_self_static=$enable_dlopen_self_static
19567 # Compiler flag to prevent dynamic linking.
19568 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19570 # Compiler flag to turn off builtin functions.
19571 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19573 # Compiler flag to allow reflexive dlopens.
19574 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19576 # Compiler flag to generate shared objects directly from archives.
19577 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19579 # Compiler flag to generate thread-safe objects.
19580 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19582 # Library versioning type.
19583 version_type=$version_type
19585 # Format of library name prefix.
19586 libname_spec=$lt_libname_spec
19588 # List of archive names. First name is the real one, the rest are links.
19589 # The last name is the one that the linker finds with -lNAME.
19590 library_names_spec=$lt_library_names_spec
19592 # The coded name of the library, if different from the real name.
19593 soname_spec=$lt_soname_spec
19595 # Commands used to build and install an old-style archive.
19597 old_archive_cmds=$lt_old_archive_cmds_GCJ
19598 old_postinstall_cmds=$lt_old_postinstall_cmds
19599 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19601 # Create an old-style archive from a shared archive.
19602 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19604 # Create a temporary old-style archive to link instead of a shared archive.
19605 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19607 # Commands used to build and install a shared archive.
19608 archive_cmds=$lt_archive_cmds_GCJ
19609 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19610 postinstall_cmds=$lt_postinstall_cmds
19611 postuninstall_cmds=$lt_postuninstall_cmds
19613 # Commands used to build a loadable module (assumed same as above if empty)
19614 module_cmds=$lt_module_cmds_GCJ
19615 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19617 # Commands to strip libraries.
19618 old_striplib=$lt_old_striplib
19619 striplib=$lt_striplib
19621 # Dependencies to place before the objects being linked to create a
19623 predep_objects=$lt_predep_objects_GCJ
19625 # Dependencies to place after the objects being linked to create a
19627 postdep_objects=$lt_postdep_objects_GCJ
19629 # Dependencies to place before the objects being linked to create a
19631 predeps=$lt_predeps_GCJ
19633 # Dependencies to place after the objects being linked to create a
19635 postdeps=$lt_postdeps_GCJ
19637 # The library search path used internally by the compiler when linking
19638 # a shared library.
19639 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19641 # Method to check whether dependent libraries are shared objects.
19642 deplibs_check_method=$lt_deplibs_check_method
19644 # Command to use when deplibs_check_method == file_magic.
19645 file_magic_cmd=$lt_file_magic_cmd
19647 # Flag that allows shared libraries with undefined symbols to be built.
19648 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19650 # Flag that forces no undefined symbols.
19651 no_undefined_flag=$lt_no_undefined_flag_GCJ
19653 # Commands used to finish a libtool library installation in a directory.
19654 finish_cmds=$lt_finish_cmds
19656 # Same as above, but a single script fragment to be evaled but not shown.
19657 finish_eval=$lt_finish_eval
19659 # Take the output of nm and produce a listing of raw symbols and C names.
19660 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19662 # Transform the output of nm in a proper C declaration
19663 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19665 # Transform the output of nm in a C name address pair
19666 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19668 # This is the shared library runtime path variable.
19669 runpath_var=$runpath_var
19671 # This is the shared library path variable.
19672 shlibpath_var=$shlibpath_var
19674 # Is shlibpath searched before the hard-coded library search path?
19675 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19677 # How to hardcode a shared library path into an executable.
19678 hardcode_action=$hardcode_action_GCJ
19680 # Whether we should hardcode library paths into libraries.
19681 hardcode_into_libs=$hardcode_into_libs
19683 # Flag to hardcode \$libdir into a binary during linking.
19684 # This must work even if \$libdir does not exist.
19685 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19687 # If ld is used when linking, flag to hardcode \$libdir into
19688 # a binary during linking. This must work even if \$libdir does
19690 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19692 # Whether we need a single -rpath flag with a separated argument.
19693 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19695 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19696 # resulting binary.
19697 hardcode_direct=$hardcode_direct_GCJ
19699 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19700 # resulting binary.
19701 hardcode_minus_L=$hardcode_minus_L_GCJ
19703 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19704 # the resulting binary.
19705 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19707 # Set to yes if building a shared library automatically hardcodes DIR into the library
19708 # and all subsequent libraries and executables linked against it.
19709 hardcode_automatic=$hardcode_automatic_GCJ
19711 # Variables whose values should be saved in libtool wrapper scripts and
19712 # restored at relink time.
19713 variables_saved_for_relink="$variables_saved_for_relink"
19715 # Whether libtool must link a program against all its dependency libraries.
19716 link_all_deplibs=$link_all_deplibs_GCJ
19718 # Compile-time system search path for libraries
19719 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19721 # Run-time system search path for libraries
19722 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19724 # Fix the shell variable \$srcfile for the compiler.
19725 fix_srcfile_path="$fix_srcfile_path_GCJ"
19727 # Set to yes if exported symbols are required.
19728 always_export_symbols=$always_export_symbols_GCJ
19730 # The commands to list exported symbols.
19731 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19733 # The commands to extract the exported symbol list from a shared archive.
19734 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19736 # Symbols that should not be listed in the preloaded symbols.
19737 exclude_expsyms=$lt_exclude_expsyms_GCJ
19739 # Symbols that must always be exported.
19740 include_expsyms=$lt_include_expsyms_GCJ
19742 # ### END LIBTOOL TAG CONFIG: $tagname
19748 # If there is no Makefile yet, we rely on a make rule to execute
19749 # `config.status
--recheck' to rerun these tests and create the
19750 # libtool script then.
19751 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
19752 if test -f "$ltmain_in"; then
19753 test -f Makefile && make "$ltmain"
19759 ac_cpp='$CPP $CPPFLAGS'
19760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19761 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19774 # Source file extension for RC test sources.
19777 # Object file extension for compiled RC test sources.
19781 # Code to be used in simple compile tests
19782 lt_simple_compile_test_code='sample MENU
{ MENUITEM
"&Soup", 100, CHECKED
}\n'
19784 # Code to be used in simple link tests
19785 lt_simple_link_test_code="$lt_simple_compile_test_code"
19787 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19789 # If no C compiler was specified, use CC.
19792 # Allow CC to be a program name with arguments.
19796 # save warnings/boilerplate of simple test code
19797 ac_outfile=conftest.$ac_objext
19798 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19799 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
' >conftest.err
19800 _lt_compiler_boilerplate=`cat conftest.err`
19803 ac_outfile=conftest.$ac_objext
19804 printf "$lt_simple_link_test_code" >conftest.$ac_ext
19805 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
' >conftest.err
19806 _lt_linker_boilerplate=`cat conftest.err`
19810 # Allow CC to be a program name with arguments.
19815 for cc_temp in $compiler""; do
19817 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19818 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19823 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
19825 lt_cv_prog_compiler_c_o_RC=yes
19827 # The else clause should only fire when bootstrapping the
19828 # libtool distribution, otherwise you forgot to ship ltmain.sh
19829 # with your package, and you will get complaints that there are
19830 # no rules to generate ltmain.sh.
19831 if test -f "$ltmain"; then
19832 # See if we are running on zsh, and set the options which allow our commands through
19833 # without removal of \ escapes.
19834 if test -n "${ZSH_VERSION+set}" ; then
19835 setopt NO_GLOB_SUBST
19837 # Now quote all the things that may contain metacharacters while being
19838 # careful not to overquote the AC_SUBSTed values. We take copies of the
19839 # variables and quote the copies for generation of the libtool script.
19840 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19842 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19843 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19844 deplibs_check_method reload_flag reload_cmds need_locks \
19845 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19846 lt_cv_sys_global_symbol_to_c_name_address \
19847 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19848 old_postinstall_cmds old_postuninstall_cmds \
19852 lt_prog_compiler_wl_RC \
19853 lt_prog_compiler_pic_RC \
19854 lt_prog_compiler_static_RC \
19855 lt_prog_compiler_no_builtin_flag_RC \
19856 export_dynamic_flag_spec_RC \
19857 thread_safe_flag_spec_RC \
19858 whole_archive_flag_spec_RC \
19859 enable_shared_with_static_runtimes_RC \
19860 old_archive_cmds_RC \
19861 old_archive_from_new_cmds_RC \
19862 predep_objects_RC \
19863 postdep_objects_RC \
19866 compiler_lib_search_path_RC \
19868 archive_expsym_cmds_RC \
19869 postinstall_cmds_RC \
19870 postuninstall_cmds_RC \
19871 old_archive_from_expsyms_cmds_RC \
19872 allow_undefined_flag_RC \
19873 no_undefined_flag_RC \
19874 export_symbols_cmds_RC \
19875 hardcode_libdir_flag_spec_RC \
19876 hardcode_libdir_flag_spec_ld_RC \
19877 hardcode_libdir_separator_RC \
19878 hardcode_automatic_RC \
19880 module_expsym_cmds_RC \
19881 lt_cv_prog_compiler_c_o_RC \
19882 exclude_expsyms_RC \
19883 include_expsyms_RC; do
19886 old_archive_cmds_RC | \
19887 old_archive_from_new_cmds_RC | \
19888 archive_cmds_RC | \
19889 archive_expsym_cmds_RC | \
19891 module_expsym_cmds_RC | \
19892 old_archive_from_expsyms_cmds_RC | \
19893 export_symbols_cmds_RC | \
19894 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19895 postinstall_cmds | postuninstall_cmds | \
19896 old_postinstall_cmds | old_postuninstall_cmds | \
19897 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19898 # Double-quote double-evaled strings.
19899 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19902 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19908 *'\
$0 --fallback-echo"')
19909 lt_echo=`$echo "X
$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$
/$0 --fallback-echo"/'`
19915 cat <<__EOF__ >> "$cfgfile"
19916 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19918 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19920 # Shell to use when invoking shell scripts.
19923 # Whether or not to build shared libraries.
19924 build_libtool_libs=$enable_shared
19926 # Whether or not to build static libraries.
19927 build_old_libs=$enable_static
19929 # Whether or not to add -lc for building shared libraries.
19930 build_libtool_need_lc=$archive_cmds_need_lc_RC
19932 # Whether or not to disallow shared libs when runtime libs are static
19933 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19935 # Whether or not to optimize for fast installation.
19936 fast_install=$enable_fast_install
19939 host_alias=$host_alias
19943 # The build system.
19944 build_alias=$build_alias
19948 # An echo program that does not interpret backslashes.
19953 AR_FLAGS=$lt_AR_FLAGS
19958 # A language-specific compiler.
19961 # Is the compiler the GNU C compiler?
19967 # The linker used to build libraries.
19970 # Whether we need hard or soft links.
19973 # A BSD-compatible nm program.
19976 # A symbol stripping program
19979 # Used to examine libraries when file_magic_cmd begins "file"
19980 MAGIC_CMD=$MAGIC_CMD
19982 # Used on cygwin: DLL creation program.
19985 # Used on cygwin: object dumper.
19988 # Used on cygwin: assembler.
19991 # The name of the directory that contains temporary libtool files.
19994 # How to create reloadable object files.
19995 reload_flag=$lt_reload_flag
19996 reload_cmds=$lt_reload_cmds
19998 # How to pass a linker flag through the compiler.
19999 wl=$lt_lt_prog_compiler_wl_RC
20001 # Object file suffix (normally "o
").
20002 objext="$ac_objext"
20004 # Old archive suffix (normally "a
").
20007 # Shared library suffix (normally ".so
").
20008 shrext_cmds='$shrext_cmds'
20010 # Executable file suffix (normally "").
20013 # Additional compiler flags for building library objects.
20014 pic_flag=$lt_lt_prog_compiler_pic_RC
20017 # What is the maximum length of a command?
20018 max_cmd_len=$lt_cv_sys_max_cmd_len
20020 # Does compiler simultaneously support -c and -o options?
20021 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20023 # Must we lock files when doing compilation?
20024 need_locks=$lt_need_locks
20026 # Do we need the lib prefix for modules?
20027 need_lib_prefix=$need_lib_prefix
20029 # Do we need a version for libraries?
20030 need_version=$need_version
20032 # Whether dlopen is supported.
20033 dlopen_support=$enable_dlopen
20035 # Whether dlopen of programs is supported.
20036 dlopen_self=$enable_dlopen_self
20038 # Whether dlopen of statically linked programs is supported.
20039 dlopen_self_static=$enable_dlopen_self_static
20041 # Compiler flag to prevent dynamic linking.
20042 link_static_flag=$lt_lt_prog_compiler_static_RC
20044 # Compiler flag to turn off builtin functions.
20045 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20047 # Compiler flag to allow reflexive dlopens.
20048 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20050 # Compiler flag to generate shared objects directly from archives.
20051 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20053 # Compiler flag to generate thread-safe objects.
20054 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20056 # Library versioning type.
20057 version_type=$version_type
20059 # Format of library name prefix.
20060 libname_spec=$lt_libname_spec
20062 # List of archive names. First name is the real one, the rest are links.
20063 # The last name is the one that the linker finds with -lNAME.
20064 library_names_spec=$lt_library_names_spec
20066 # The coded name of the library, if different from the real name.
20067 soname_spec=$lt_soname_spec
20069 # Commands used to build and install an old-style archive.
20071 old_archive_cmds=$lt_old_archive_cmds_RC
20072 old_postinstall_cmds=$lt_old_postinstall_cmds
20073 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20075 # Create an old-style archive from a shared archive.
20076 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20078 # Create a temporary old-style archive to link instead of a shared archive.
20079 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20081 # Commands used to build and install a shared archive.
20082 archive_cmds=$lt_archive_cmds_RC
20083 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20084 postinstall_cmds=$lt_postinstall_cmds
20085 postuninstall_cmds=$lt_postuninstall_cmds
20087 # Commands used to build a loadable module (assumed same as above if empty)
20088 module_cmds=$lt_module_cmds_RC
20089 module_expsym_cmds=$lt_module_expsym_cmds_RC
20091 # Commands to strip libraries.
20092 old_striplib=$lt_old_striplib
20093 striplib=$lt_striplib
20095 # Dependencies to place before the objects being linked to create a
20097 predep_objects=$lt_predep_objects_RC
20099 # Dependencies to place after the objects being linked to create a
20101 postdep_objects=$lt_postdep_objects_RC
20103 # Dependencies to place before the objects being linked to create a
20105 predeps=$lt_predeps_RC
20107 # Dependencies to place after the objects being linked to create a
20109 postdeps=$lt_postdeps_RC
20111 # The library search path used internally by the compiler when linking
20112 # a shared library.
20113 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20115 # Method to check whether dependent libraries are shared objects.
20116 deplibs_check_method=$lt_deplibs_check_method
20118 # Command to use when deplibs_check_method == file_magic.
20119 file_magic_cmd=$lt_file_magic_cmd
20121 # Flag that allows shared libraries with undefined symbols to be built.
20122 allow_undefined_flag=$lt_allow_undefined_flag_RC
20124 # Flag that forces no undefined symbols.
20125 no_undefined_flag=$lt_no_undefined_flag_RC
20127 # Commands used to finish a libtool library installation in a directory.
20128 finish_cmds=$lt_finish_cmds
20130 # Same as above, but a single script fragment to be evaled but not shown.
20131 finish_eval=$lt_finish_eval
20133 # Take the output of nm and produce a listing of raw symbols and C names.
20134 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20136 # Transform the output of nm in a proper C declaration
20137 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20139 # Transform the output of nm in a C name address pair
20140 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20142 # This is the shared library runtime path variable.
20143 runpath_var=$runpath_var
20145 # This is the shared library path variable.
20146 shlibpath_var=$shlibpath_var
20148 # Is shlibpath searched before the hard-coded library search path?
20149 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20151 # How to hardcode a shared library path into an executable.
20152 hardcode_action=$hardcode_action_RC
20154 # Whether we should hardcode library paths into libraries.
20155 hardcode_into_libs=$hardcode_into_libs
20157 # Flag to hardcode \$libdir into a binary during linking.
20158 # This must work even if \$libdir does not exist.
20159 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20161 # If ld is used when linking, flag to hardcode \$libdir into
20162 # a binary during linking. This must work even if \$libdir does
20164 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20166 # Whether we need a single -rpath flag with a separated argument.
20167 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20169 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20170 # resulting binary.
20171 hardcode_direct=$hardcode_direct_RC
20173 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20174 # resulting binary.
20175 hardcode_minus_L=$hardcode_minus_L_RC
20177 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20178 # the resulting binary.
20179 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20181 # Set to yes if building a shared library automatically hardcodes DIR into the library
20182 # and all subsequent libraries and executables linked against it.
20183 hardcode_automatic=$hardcode_automatic_RC
20185 # Variables whose values should be saved in libtool wrapper scripts and
20186 # restored at relink time.
20187 variables_saved_for_relink="$variables_saved_for_relink"
20189 # Whether libtool must link a program against all its dependency libraries.
20190 link_all_deplibs=$link_all_deplibs_RC
20192 # Compile-time system search path for libraries
20193 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20195 # Run-time system search path for libraries
20196 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20198 # Fix the shell variable \$srcfile for the compiler.
20199 fix_srcfile_path="$fix_srcfile_path_RC"
20201 # Set to yes if exported symbols are required.
20202 always_export_symbols=$always_export_symbols_RC
20204 # The commands to list exported symbols.
20205 export_symbols_cmds=$lt_export_symbols_cmds_RC
20207 # The commands to extract the exported symbol list from a shared archive.
20208 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20210 # Symbols that should not be listed in the preloaded symbols.
20211 exclude_expsyms=$lt_exclude_expsyms_RC
20213 # Symbols that must always be exported.
20214 include_expsyms=$lt_include_expsyms_RC
20216 # ### END LIBTOOL TAG CONFIG: $tagname
20222 # If there is no Makefile yet, we rely on a make rule to execute
20223 # `config.status --recheck' to rerun these tests and create the
20224 # libtool script then.
20225 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20226 if test -f "$ltmain_in"; then
20227 test -f Makefile && make "$ltmain"
20233 ac_cpp='$CPP $CPPFLAGS'
20234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20243 { { echo "$as_me:$LINENO: error
: Unsupported tag name
: $tagname" >&5
20244 echo "$as_me: error
: Unsupported tag name
: $tagname" >&2;}
20245 { (exit 1); exit 1; }; }
20249 # Append the new tag name to the list of available tags.
20250 if test -n "$tagname" ; then
20251 available_tags="$available_tags $tagname"
20257 # Now substitute the updated list of available tags.
20258 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T
\""; then
20259 mv "${ofile}T
" "$ofile"
20263 { { echo "$as_me:$LINENO: error
: unable to update list of available tagged configurations.
" >&5
20264 echo "$as_me: error
: unable to update list of available tagged configurations.
" >&2;}
20265 { (exit 1); exit 1; }; }
20271 # This can be used to rebuild libtool when needed
20272 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh
"
20274 # Always use our own libtool.
20275 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20277 # Prevent multiple expansion
20298 LIBTOOL="$LIBTOOL --silent"
20300 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
20301 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
20302 if test "${ac_cv_header_stdc+set}" = set; then
20303 echo $ECHO_N "(cached
) $ECHO_C" >&6
20305 cat >conftest.$ac_ext <<_ACEOF
20308 cat confdefs.h >>conftest.$ac_ext
20309 cat >>conftest.$ac_ext <<_ACEOF
20310 /* end confdefs.h. */
20311 #include <stdlib.h>
20312 #include <stdarg.h>
20313 #include <string.h>
20324 rm -f conftest.$ac_objext
20325 if { (ac_try="$ac_compile"
20326 case "(($ac_try" in
20327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20328 *) ac_try_echo=$ac_try;;
20330 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20331 (eval "$ac_compile") 2>conftest.er1
20333 grep -v '^ *+' conftest.er1 >conftest.err
20335 cat conftest.err >&5
20336 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20337 (exit $ac_status); } && {
20338 test -z "$ac_c_werror_flag" ||
20339 test ! -s conftest.err
20340 } && test -s conftest.$ac_objext; then
20341 ac_cv_header_stdc=yes
20343 echo "$as_me: failed program was
:" >&5
20344 sed 's/^/| /' conftest.$ac_ext >&5
20346 ac_cv_header_stdc=no
20349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20351 if test $ac_cv_header_stdc = yes; then
20352 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20353 cat >conftest.$ac_ext <<_ACEOF
20356 cat confdefs.h >>conftest.$ac_ext
20357 cat >>conftest.$ac_ext <<_ACEOF
20358 /* end confdefs.h. */
20359 #include <string.h>
20362 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20363 $EGREP "memchr
" >/dev/null 2>&1; then
20366 ac_cv_header_stdc=no
20372 if test $ac_cv_header_stdc = yes; then
20373 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20374 cat >conftest.$ac_ext <<_ACEOF
20377 cat confdefs.h >>conftest.$ac_ext
20378 cat >>conftest.$ac_ext <<_ACEOF
20379 /* end confdefs.h. */
20380 #include <stdlib.h>
20383 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20384 $EGREP "free
" >/dev/null 2>&1; then
20387 ac_cv_header_stdc=no
20393 if test $ac_cv_header_stdc = yes; then
20394 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20395 if test "$cross_compiling" = yes; then
20398 cat >conftest.$ac_ext <<_ACEOF
20401 cat confdefs.h >>conftest.$ac_ext
20402 cat >>conftest.$ac_ext <<_ACEOF
20403 /* end confdefs.h. */
20405 #include <stdlib.h>
20406 #if ((' ' & 0x0FF) == 0x020)
20407 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20408 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20410 # define ISLOWER(c) \
20411 (('a' <= (c) && (c) <= 'i') \
20412 || ('j' <= (c) && (c) <= 'r') \
20413 || ('s' <= (c) && (c) <= 'z'))
20414 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20417 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20422 for (i = 0; i < 256; i++)
20423 if (XOR (islower (i), ISLOWER (i))
20424 || toupper (i) != TOUPPER (i))
20429 rm -f conftest$ac_exeext
20430 if { (ac_try="$ac_link"
20431 case "(($ac_try" in
20432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20433 *) ac_try_echo=$ac_try;;
20435 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20436 (eval "$ac_link") 2>&5
20438 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20439 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20440 { (case "(($ac_try" in
20441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20442 *) ac_try_echo=$ac_try;;
20444 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20445 (eval "$ac_try") 2>&5
20447 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20448 (exit $ac_status); }; }; then
20451 echo "$as_me: program exited with status
$ac_status" >&5
20452 echo "$as_me: failed program was
:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20455 ( exit $ac_status )
20456 ac_cv_header_stdc=no
20458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20464 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
20465 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20466 if test $ac_cv_header_stdc = yes; then
20468 cat >>confdefs.h <<\_ACEOF
20469 #define STDC_HEADERS 1
20475 GAIM_MIN=pidgin_version_min
20480 # tell pkgconfig to look in the same prefix we're installing this to,
20481 # as that's likely where gaim will be found if it's not in the default
20483 PREFIX=$ac_default_prefix
20484 if test "$prefix" != "NONE
"; then
20488 PKG_CONFIG_PATH="$PKG_CONFIG_PATH":"$PREFIX/lib
/pkgconfig
"
20489 export PKG_CONFIG_PATH
20492 # Check whether --enable-debug was given.
20493 if test "${enable_debug+set}" = set; then
20494 enableval=$enable_debug;
20500 if test "$enable_debug" = yes; then
20502 cat >>confdefs.h <<\_ACEOF
20511 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
20512 if test -n "$ac_tool_prefix"; then
20513 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
20514 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20515 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20516 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20517 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20518 echo $ECHO_N "(cached
) $ECHO_C" >&6
20520 case $PKG_CONFIG in
20522 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20526 for as_dir in $PATH
20529 test -z "$as_dir" && as_dir=.
20530 for ac_exec_ext in '' $ac_executable_extensions; do
20531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20532 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20533 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20543 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20544 if test -n "$PKG_CONFIG"; then
20545 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
20546 echo "${ECHO_T}$PKG_CONFIG" >&6; }
20548 { echo "$as_me:$LINENO: result
: no
" >&5
20549 echo "${ECHO_T}no
" >&6; }
20554 if test -z "$ac_cv_path_PKG_CONFIG"; then
20555 ac_pt_PKG_CONFIG=$PKG_CONFIG
20556 # Extract the first word of "pkg-config
", so it can be a program name with args.
20557 set dummy pkg-config; ac_word=$2
20558 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20559 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20560 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20561 echo $ECHO_N "(cached
) $ECHO_C" >&6
20563 case $ac_pt_PKG_CONFIG in
20565 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20569 for as_dir in $PATH
20572 test -z "$as_dir" && as_dir=.
20573 for ac_exec_ext in '' $ac_executable_extensions; do
20574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20575 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20576 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20586 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20587 if test -n "$ac_pt_PKG_CONFIG"; then
20588 { echo "$as_me:$LINENO: result
: $ac_pt_PKG_CONFIG" >&5
20589 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
20591 { echo "$as_me:$LINENO: result
: no
" >&5
20592 echo "${ECHO_T}no
" >&6; }
20595 if test "x
$ac_pt_PKG_CONFIG" = x; then
20598 case $cross_compiling:$ac_tool_warned in
20600 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
20601 whose name does not start with the
host triplet. If you think this
20602 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
20603 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
20604 whose name does not start with the
host triplet. If you think this
20605 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
20606 ac_tool_warned=yes ;;
20608 PKG_CONFIG=$ac_pt_PKG_CONFIG
20611 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20615 if test -n "$PKG_CONFIG"; then
20616 _pkg_min_version=0.9.0
20617 { echo "$as_me:$LINENO: checking pkg-config is
at least version
$_pkg_min_version" >&5
20618 echo $ECHO_N "checking pkg-config is
at least version
$_pkg_min_version...
$ECHO_C" >&6; }
20619 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20620 { echo "$as_me:$LINENO: result
: yes" >&5
20621 echo "${ECHO_T}yes" >&6; }
20623 { echo "$as_me:$LINENO: result
: no
" >&5
20624 echo "${ECHO_T}no
" >&6; }
20631 { echo "$as_me:$LINENO: checking
for libpurple
" >&5
20632 echo $ECHO_N "checking
for libpurple...
$ECHO_C" >&6; }
20634 if test -n "$PKG_CONFIG"; then
20635 if test -n "$libpurple_CFLAGS"; then
20636 pkg_cv_libpurple_CFLAGS="$libpurple_CFLAGS"
20638 if test -n "$PKG_CONFIG" && \
20639 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pidgin
>= 2.0.0\"") >&5
20640 ($PKG_CONFIG --exists --print-errors "pidgin
>= 2.0.0") 2>&5
20642 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20643 (exit $ac_status); }; then
20644 pkg_cv_libpurple_CFLAGS=`$PKG_CONFIG --cflags "pidgin
>= 2.0.0" 2>/dev/null`
20652 if test -n "$PKG_CONFIG"; then
20653 if test -n "$libpurple_LIBS"; then
20654 pkg_cv_libpurple_LIBS="$libpurple_LIBS"
20656 if test -n "$PKG_CONFIG" && \
20657 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pidgin
>= 2.0.0\"") >&5
20658 ($PKG_CONFIG --exists --print-errors "pidgin
>= 2.0.0") 2>&5
20660 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20661 (exit $ac_status); }; then
20662 pkg_cv_libpurple_LIBS=`$PKG_CONFIG --libs "pidgin
>= 2.0.0" 2>/dev/null`
20673 if test $pkg_failed = yes; then
20675 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20676 _pkg_short_errors_supported=yes
20678 _pkg_short_errors_supported=no
20680 if test $_pkg_short_errors_supported = yes; then
20681 libpurple_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pidgin
>= 2.0.0"`
20683 libpurple_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pidgin
>= 2.0.0"`
20685 # Put the nasty error message in config.log where it belongs
20686 echo "$libpurple_PKG_ERRORS" >&5
20688 { { echo "$as_me:$LINENO: error
: Package requirements
(pidgin
>= 2.0.0) were not met
:
20690 $libpurple_PKG_ERRORS
20692 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
20693 installed software
in a non-standard prefix.
20695 Alternatively
, you may
set the environment variables libpurple_CFLAGS
20696 and libpurple_LIBS to avoid the need to call pkg-config.
20697 See the pkg-config man page
for more details.
20699 echo "$as_me: error
: Package requirements
(pidgin
>= 2.0.0) were not met
:
20701 $libpurple_PKG_ERRORS
20703 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
20704 installed software
in a non-standard prefix.
20706 Alternatively
, you may
set the environment variables libpurple_CFLAGS
20707 and libpurple_LIBS to avoid the need to call pkg-config.
20708 See the pkg-config man page
for more details.
20710 { (exit 1); exit 1; }; }
20711 elif test $pkg_failed = untried; then
20712 { { echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
20713 is
in your PATH or
set the PKG_CONFIG environment variable to the full
20714 path to pkg-config.
20716 Alternatively
, you may
set the environment variables libpurple_CFLAGS
20717 and libpurple_LIBS to avoid the need to call pkg-config.
20718 See the pkg-config man page
for more details.
20720 To get pkg-config
, see
<http
://www.freedesktop.org
/software
/pkgconfig
>.
20721 See \
`config.log' for more details." >&5
20722 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20723 is in your PATH or set the PKG_CONFIG environment variable to the full
20724 path to pkg-config.
20726 Alternatively, you may set the environment variables libpurple_CFLAGS
20727 and libpurple_LIBS to avoid the need to call pkg-config.
20728 See the pkg-config man page for more details.
20730 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20731 See \`config.log
' for more details." >&2;}
20732 { (exit 1); exit 1; }; }
20734 libpurple_CFLAGS=$pkg_cv_libpurple_CFLAGS
20735 libpurple_LIBS=$pkg_cv_libpurple_LIBS
20736 { echo "$as_me:$LINENO: result: yes" >&5
20737 echo "${ECHO_T}yes" >&6; }
20740 cat >>confdefs.h <<\_ACEOF
20741 #define HAVE_PIDGIN 1
20747 PIDGIN_CFLAGS=`$PKG_CONFIG --cflags purple`
20748 PIDGIN_LIBS=`$PKG_CONFIG --libs purple`
20753 { echo "$as_me:$LINENO: checking for inet_aton" >&5
20754 echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6; }
20755 if test "${ac_cv_func_inet_aton+set}" = set; then
20756 echo $ECHO_N "(cached) $ECHO_C" >&6
20758 cat >conftest.$ac_ext <<_ACEOF
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20764 /* Define inet_aton to an innocuous variant, in case <limits.h> declares inet_aton.
20765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20766 #define inet_aton innocuous_inet_aton
20768 /* System header to define __stub macros and hopefully few prototypes,
20769 which can conflict with char inet_aton (); below.
20770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20771 <limits.h> exists even on freestanding compilers. */
20774 # include <limits.h>
20776 # include <assert.h>
20781 /* Override any GCC internal prototype to avoid an error.
20782 Use char because int might match the return type of a GCC
20783 builtin and then its argument prototype would still apply. */
20788 /* The GNU C library defines this for functions which it implements
20789 to always fail with ENOSYS. Some functions are actually named
20790 something starting with __ and the normal name is an alias. */
20791 #if defined __stub_inet_aton || defined __stub___inet_aton
20798 return inet_aton ();
20803 rm -f conftest.$ac_objext conftest$ac_exeext
20804 if { (ac_try="$ac_link"
20805 case "(($ac_try" in
20806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20807 *) ac_try_echo=$ac_try;;
20809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20810 (eval "$ac_link") 2>conftest.er1
20812 grep -v '^
*+' conftest.er1 >conftest.err
20814 cat conftest.err >&5
20815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20816 (exit $ac_status); } && {
20817 test -z "$ac_c_werror_flag" ||
20818 test ! -s conftest.err
20819 } && test -s conftest$ac_exeext &&
20820 $as_test_x conftest$ac_exeext; then
20821 ac_cv_func_inet_aton=yes
20823 echo "$as_me: failed program was:" >&5
20824 sed 's
/^
/|
/' conftest.$ac_ext >&5
20826 ac_cv_func_inet_aton=no
20829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20830 conftest$ac_exeext conftest.$ac_ext
20832 { echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton" >&5
20833 echo "${ECHO_T}$ac_cv_func_inet_aton" >&6; }
20834 if test $ac_cv_func_inet_aton = yes; then
20838 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
20839 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
20840 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
20841 echo $ECHO_N "(cached) $ECHO_C" >&6
20843 ac_check_lib_save_LIBS=$LIBS
20844 LIBS="-lresolv $LIBS"
20845 cat >conftest.$ac_ext <<_ACEOF
20848 cat confdefs.h >>conftest.$ac_ext
20849 cat >>conftest.$ac_ext <<_ACEOF
20850 /* end confdefs.h. */
20852 /* Override any GCC internal prototype to avoid an error.
20853 Use char because int might match the return type of a GCC
20854 builtin and then its argument prototype would still apply. */
20862 return inet_aton ();
20867 rm -f conftest.$ac_objext conftest$ac_exeext
20868 if { (ac_try="$ac_link"
20869 case "(($ac_try" in
20870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20871 *) ac_try_echo=$ac_try;;
20873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20874 (eval "$ac_link") 2>conftest.er1
20876 grep -v '^
*+' conftest.er1 >conftest.err
20878 cat conftest.err >&5
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); } && {
20881 test -z "$ac_c_werror_flag" ||
20882 test ! -s conftest.err
20883 } && test -s conftest$ac_exeext &&
20884 $as_test_x conftest$ac_exeext; then
20885 ac_cv_lib_resolv_inet_aton=yes
20887 echo "$as_me: failed program was:" >&5
20888 sed 's
/^
/|
/' conftest.$ac_ext >&5
20890 ac_cv_lib_resolv_inet_aton=no
20893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20894 conftest$ac_exeext conftest.$ac_ext
20895 LIBS=$ac_check_lib_save_LIBS
20897 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
20898 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
20899 if test $ac_cv_lib_resolv_inet_aton = yes; then
20900 cat >>confdefs.h <<_ACEOF
20901 #define HAVE_LIBRESOLV 1
20904 LIBS="-lresolv $LIBS"
20907 { { echo "$as_me:$LINENO: error: inet_aton not found" >&5
20908 echo "$as_me: error: inet_aton not found" >&2;}
20909 { (exit 1); exit 1; }; }
20915 SIPE_LIBA=`$PKG_CONFIG sipe --variable=libarchive`
20918 # Check whether --enable-static-sipe was given.
20919 if test "${enable_static_sipe+set}" = set; then
20920 enableval=$enable_static_sipe; sipe_static="yes"
20928 if test $sipe_static = yes; then
20930 SIPE_STATIC_FALSE='#'
20932 SIPE_STATIC_TRUE
='#'
20937 # substitutions and generated files
20938 ac_config_files
="$ac_config_files src/config.h Makefile pixmaps/Makefile pixmaps/16/Makefile pixmaps/22/Makefile pixmaps/48/Makefile src/Makefile"
20941 cat >confcache
<<\_ACEOF
20942 # This file is a shell script that caches the results of configure
20943 # tests run on this system so they can be shared between configure
20944 # scripts and configure runs, see configure's option --config-cache.
20945 # It is not useful on other systems. If it contains results you don't
20946 # want to keep, you may remove or edit it.
20948 # config.status only pays attention to the cache file if you give it
20949 # the --recheck option to rerun configure.
20951 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20952 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20953 # following values.
20957 # The following way of writing the cache mishandles newlines in values,
20958 # but we know of no workaround that is simple, portable, and efficient.
20959 # So, we kill variables containing newlines.
20960 # Ultrix sh set writes to stderr and can't be redirected directly,
20961 # and sets the high bit in the cache file unless we assign to the vars.
20963 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20964 eval ac_val
=\$
$ac_var
20968 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20969 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20972 _ | IFS | as_nl
) ;; #(
20973 *) $as_unset $ac_var ;;
20979 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20980 *${as_nl}ac_space
=\
*)
20981 # `set' does not quote correctly, so add quotes (double-quote
20982 # substitution turns \\\\ into \\, and sed turns \\ into \).
20985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20988 # `set' quotes correctly as required by POSIX, so do not add quotes.
20989 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21000 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21002 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21003 if test -w "$cache_file"; then
21004 test "x$cache_file" != "x/dev/null" &&
21005 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21006 echo "$as_me: updating cache $cache_file" >&6;}
21007 cat confcache
>$cache_file
21009 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21010 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21015 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21016 # Let make expand exec_prefix.
21017 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21019 # Transform confdefs.h into DEFS.
21020 # Protect against shell expansion while executing Makefile rules.
21021 # Protect against Makefile macro expansion.
21023 # If the first sed substitution is executed (which looks for macros that
21024 # take arguments), then branch to the quote section. Otherwise,
21025 # look for a macro that doesn't take arguments.
21029 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
21031 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
21035 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
21048 DEFS
=`sed -n "$ac_script" confdefs.h`
21053 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21054 # 1. Remove the extension, and $U if already installed.
21055 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21056 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21057 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21058 # will be set to the directory where LIBOBJS objects are built.
21059 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21060 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21062 LIBOBJS
=$ac_libobjs
21064 LTLIBOBJS
=$ac_ltlibobjs
21067 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21068 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21069 Usually this means the macro was only invoked conditionally." >&5
21070 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21071 Usually this means the macro was only invoked conditionally." >&2;}
21072 { (exit 1); exit 1; }; }
21074 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21075 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21076 Usually this means the macro was only invoked conditionally." >&5
21077 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21078 Usually this means the macro was only invoked conditionally." >&2;}
21079 { (exit 1); exit 1; }; }
21081 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21082 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21083 Usually this means the macro was only invoked conditionally." >&5
21084 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21085 Usually this means the macro was only invoked conditionally." >&2;}
21086 { (exit 1); exit 1; }; }
21088 if test -z "${SIPE_STATIC_TRUE}" && test -z "${SIPE_STATIC_FALSE}"; then
21089 { { echo "$as_me:$LINENO: error: conditional \"SIPE_STATIC\" was never defined.
21090 Usually this means the macro was only invoked conditionally." >&5
21091 echo "$as_me: error: conditional \"SIPE_STATIC\" was never defined.
21092 Usually this means the macro was only invoked conditionally." >&2;}
21093 { (exit 1); exit 1; }; }
21096 : ${CONFIG_STATUS=./config.status}
21097 ac_clean_files_save
=$ac_clean_files
21098 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21099 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21100 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21101 cat >$CONFIG_STATUS <<_ACEOF
21103 # Generated by $as_me.
21104 # Run this file to recreate the current configuration.
21105 # Compiler output produced by configure, useful for debugging
21106 # configure, is in config.log if it exists.
21109 ac_cs_recheck=false
21111 SHELL=\${CONFIG_SHELL-$SHELL}
21114 cat >>$CONFIG_STATUS <<\_ACEOF
21115 ## --------------------- ##
21116 ## M4sh Initialization. ##
21117 ## --------------------- ##
21119 # Be more Bourne compatible
21120 DUALCASE
=1; export DUALCASE
# for MKS sh
21121 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21124 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21125 # is contrary to our usage. Disable this feature.
21126 alias -g '${1+"$@"}'='"$@"'
21127 setopt NO_GLOB_SUBST
21129 case `(set -o) 2>/dev/null` in
21130 *posix
*) set -o posix
;;
21139 # Avoid depending upon Character Ranges.
21140 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21141 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21142 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21143 as_cr_digits
='0123456789'
21144 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21146 # The user is always right.
21147 if test "${PATH_SEPARATOR+set}" != set; then
21148 echo "#! /bin/sh" >conf$$.sh
21149 echo "exit 0" >>conf$$.sh
21151 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21159 # Support unset when possible.
21160 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21168 # We need space, tab and new line, in precisely that order. Quoting is
21169 # there to prevent editors from complaining about space-tab.
21170 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21171 # splitting by setting IFS to empty value.)
21176 # Find who we are. Look in the path if we contain no directory separator.
21178 *[\\/]* ) as_myself
=$0 ;;
21179 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21180 for as_dir
in $PATH
21183 test -z "$as_dir" && as_dir
=.
21184 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21190 # We did not find ourselves, most probably we were run as `sh COMMAND'
21191 # in which case we are not to be found in the path.
21192 if test "x$as_myself" = x
; then
21195 if test ! -f "$as_myself"; then
21196 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21197 { (exit 1); exit 1; }
21200 # Work around bugs in pre-3.0 UWIN ksh.
21201 for as_var
in ENV MAIL MAILPATH
21202 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21210 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21211 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21212 LC_TELEPHONE LC_TIME
21214 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21215 eval $as_var=C
; export $as_var
21217 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21221 # Required to use basename.
21222 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21223 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21229 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21230 as_basename
=basename
21236 # Name of the executable.
21237 as_me
=`$as_basename -- "$0" ||
21238 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21239 X"$0" : 'X\(//\)$' \| \
21240 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21242 sed '/^.*\/\([^/][^/]*\)\/*$/{
21261 as_lineno_1
=$LINENO
21262 as_lineno_2
=$LINENO
21263 test "x$as_lineno_1" != "x$as_lineno_2" &&
21264 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21266 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21267 # uniformly replaced by the line number. The first 'sed' inserts a
21268 # line-number line after each line using $LINENO; the second 'sed'
21269 # does the real work. The second script uses 'N' to pair each
21270 # line-number line with the line containing $LINENO, and appends
21271 # trailing '-' during substitution so that $LINENO is not a special
21272 # case at line end.
21273 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21274 # scripts with optimization help from Paolo Bonzini. Blame Lee
21275 # E. McMahon (1931-1989) for sed's syntax. :-)
21287 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21290 ' >$as_me.lineno
&&
21291 chmod +x
"$as_me.lineno" ||
21292 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21293 { (exit 1); exit 1; }; }
21295 # Don't try to exec as it changes $[0], causing all sort of problems
21296 # (the dirname of $[0] is not the place where we might find the
21297 # original and so on. Autoconf is especially sensitive to this).
21298 .
"./$as_me.lineno"
21299 # Exit status is that of the last command.
21304 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21310 ECHO_C
= ECHO_N
= ECHO_T
=
21311 case `echo -n x` in
21313 case `echo 'x\c'` in
21314 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21321 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21322 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21328 rm -f conf$$ conf$$.exe conf$$.
file
21329 if test -d conf$$.dir
; then
21330 rm -f conf$$.dir
/conf$$.
file
21336 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21338 # ... but there are two gotchas:
21339 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21340 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21341 # In both cases, we have to default to `cp -p'.
21342 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21344 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21349 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21350 rmdir conf$$.dir
2>/dev
/null
21352 if mkdir
-p .
2>/dev
/null
; then
21355 test -d .
/-p && rmdir .
/-p
21359 if test -x / >/dev
/null
2>&1; then
21360 as_test_x
='test -x'
21362 if ls -dL / >/dev
/null
2>&1; then
21369 if test -d "$1"; then
21375 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21376 ???[sx]*):;;*)false;;esac;fi
21380 as_executable_p
=$as_test_x
21382 # Sed expression to map a string onto a valid CPP name.
21383 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21385 # Sed expression to map a string onto a valid variable name.
21386 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21391 # Save the log message, to keep $[0] and so on meaningful, and to
21392 # report actual input values of CONFIG_FILES etc. instead of their
21393 # values after options handling.
21395 This file was extended by $as_me, which was
21396 generated by GNU Autoconf 2.61. Invocation command line was
21398 CONFIG_FILES = $CONFIG_FILES
21399 CONFIG_HEADERS = $CONFIG_HEADERS
21400 CONFIG_LINKS = $CONFIG_LINKS
21401 CONFIG_COMMANDS = $CONFIG_COMMANDS
21404 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21409 cat >>$CONFIG_STATUS <<_ACEOF
21410 # Files that config.status was made for.
21411 config_files="$ac_config_files"
21412 config_commands="$ac_config_commands"
21416 cat >>$CONFIG_STATUS <<\_ACEOF
21418 \`$as_me' instantiates files from templates according to the
21419 current configuration.
21421 Usage: $0 [OPTIONS] [FILE]...
21423 -h, --help print this help, then exit
21424 -V, --version print version number and configuration settings, then exit
21425 -q, --quiet do not print progress messages
21426 -d, --debug don't remove temporary files
21427 --recheck update $as_me by reconfiguring in the same conditions
21428 --file=FILE[:TEMPLATE]
21429 instantiate the configuration file FILE
21431 Configuration files:
21434 Configuration commands:
21437 Report bugs to <bug-autoconf@gnu.org>."
21440 cat >>$CONFIG_STATUS <<_ACEOF
21443 configured by $0, generated by GNU Autoconf 2.61,
21444 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21446 Copyright (C) 2006 Free Software Foundation, Inc.
21447 This config.status script is free software; the Free Software Foundation
21448 gives unlimited permission to copy, distribute and modify it."
21455 cat >>$CONFIG_STATUS <<\_ACEOF
21456 # If no file are specified by the user, then we need to provide default
21457 # value. By we need to know if files were specified by the user.
21463 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21464 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21475 # Handling of the options.
21476 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21478 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21479 echo "$ac_cs_version"; exit ;;
21480 --debug |
--debu |
--deb |
--de |
--d |
-d )
21482 --file |
--fil |
--fi |
--f )
21484 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21485 ac_need_defaults
=false
;;
21486 --he |
--h |
--help |
--hel |
-h )
21487 echo "$ac_cs_usage"; exit ;;
21488 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21489 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21492 # This is an error.
21493 -*) { echo "$as_me: error: unrecognized option: $1
21494 Try \`$0 --help' for more information." >&2
21495 { (exit 1); exit 1; }; } ;;
21497 *) ac_config_targets
="$ac_config_targets $1"
21498 ac_need_defaults
=false
;;
21504 ac_configure_extra_args
=
21506 if $ac_cs_silent; then
21508 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21512 cat >>$CONFIG_STATUS <<_ACEOF
21513 if \$ac_cs_recheck; then
21514 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21515 CONFIG_SHELL=$SHELL
21516 export CONFIG_SHELL
21517 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21521 cat >>$CONFIG_STATUS <<\_ACEOF
21525 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21526 ## Running $as_me. ##
21532 cat >>$CONFIG_STATUS <<_ACEOF
21536 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21540 cat >>$CONFIG_STATUS <<\_ACEOF
21542 # Handling of arguments.
21543 for ac_config_target
in $ac_config_targets
21545 case $ac_config_target in
21546 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21547 "src/config.h") CONFIG_FILES
="$CONFIG_FILES src/config.h" ;;
21548 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21549 "pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES pixmaps/Makefile" ;;
21550 "pixmaps/16/Makefile") CONFIG_FILES
="$CONFIG_FILES pixmaps/16/Makefile" ;;
21551 "pixmaps/22/Makefile") CONFIG_FILES
="$CONFIG_FILES pixmaps/22/Makefile" ;;
21552 "pixmaps/48/Makefile") CONFIG_FILES
="$CONFIG_FILES pixmaps/48/Makefile" ;;
21553 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
21555 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21556 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21557 { (exit 1); exit 1; }; };;
21562 # If the user did not use the arguments to specify the items to instantiate,
21563 # then the envvar interface is used. Set only those that are not.
21564 # We use the long form for the default assignment because of an extremely
21565 # bizarre bug on SunOS 4.1.3.
21566 if $ac_need_defaults; then
21567 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21568 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21571 # Have a temporary directory for convenience. Make it in the build tree
21572 # simply because there is no reason against having it here, and in addition,
21573 # creating and moving files from /tmp can sometimes cause problems.
21574 # Hook for its removal unless debugging.
21575 # Note that there is a small window in which the directory will not be cleaned:
21576 # after its creation but before its name has been assigned to `$tmp'.
21580 trap 'exit_status=$?
21581 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21583 trap '{ (exit 1); exit 1; }' 1 2 13 15
21585 # Create a (secure) tmp directory for tmp files.
21588 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21589 test -n "$tmp" && test -d "$tmp"
21592 tmp
=.
/conf$$
-$RANDOM
21593 (umask 077 && mkdir
"$tmp")
21596 echo "$me: cannot create a temporary directory in ." >&2
21597 { (exit 1); exit 1; }
21601 # Set up the sed scripts for CONFIG_FILES section.
21604 # No need to generate the scripts if there are no CONFIG_FILES.
21605 # This happens for instance when ./config.status config.h
21606 if test -n "$CONFIG_FILES"; then
21613 for ac_last_try
in false false false false false
:; do
21614 cat >conf$
$subs.
sed <<_ACEOF
21615 SHELL!$SHELL$ac_delim
21616 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21617 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21618 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21619 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21620 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21621 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21622 exec_prefix!$exec_prefix$ac_delim
21623 prefix!$prefix$ac_delim
21624 program_transform_name!$program_transform_name$ac_delim
21625 bindir!$bindir$ac_delim
21626 sbindir!$sbindir$ac_delim
21627 libexecdir!$libexecdir$ac_delim
21628 datarootdir!$datarootdir$ac_delim
21629 datadir!$datadir$ac_delim
21630 sysconfdir!$sysconfdir$ac_delim
21631 sharedstatedir!$sharedstatedir$ac_delim
21632 localstatedir!$localstatedir$ac_delim
21633 includedir!$includedir$ac_delim
21634 oldincludedir!$oldincludedir$ac_delim
21635 docdir!$docdir$ac_delim
21636 infodir!$infodir$ac_delim
21637 htmldir!$htmldir$ac_delim
21638 dvidir!$dvidir$ac_delim
21639 pdfdir!$pdfdir$ac_delim
21640 psdir!$psdir$ac_delim
21641 libdir!$libdir$ac_delim
21642 localedir!$localedir$ac_delim
21643 mandir!$mandir$ac_delim
21644 DEFS!$DEFS$ac_delim
21645 ECHO_C!$ECHO_C$ac_delim
21646 ECHO_N!$ECHO_N$ac_delim
21647 ECHO_T!$ECHO_T$ac_delim
21648 LIBS!$LIBS$ac_delim
21649 build_alias!$build_alias$ac_delim
21650 host_alias!$host_alias$ac_delim
21651 target_alias!$target_alias$ac_delim
21652 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21653 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21654 INSTALL_DATA!$INSTALL_DATA$ac_delim
21655 CYGPATH_W!$CYGPATH_W$ac_delim
21656 PACKAGE!$PACKAGE$ac_delim
21657 VERSION!$VERSION$ac_delim
21658 ACLOCAL!$ACLOCAL$ac_delim
21659 AUTOCONF!$AUTOCONF$ac_delim
21660 AUTOMAKE!$AUTOMAKE$ac_delim
21661 AUTOHEADER!$AUTOHEADER$ac_delim
21662 MAKEINFO!$MAKEINFO$ac_delim
21663 install_sh!$install_sh$ac_delim
21664 STRIP!$STRIP$ac_delim
21665 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21666 mkdir_p!$mkdir_p$ac_delim
21668 SET_MAKE!$SET_MAKE$ac_delim
21669 am__leading_dot!$am__leading_dot$ac_delim
21670 AMTAR!$AMTAR$ac_delim
21671 am__tar!$am__tar$ac_delim
21672 am__untar!$am__untar$ac_delim
21674 CFLAGS!$CFLAGS$ac_delim
21675 LDFLAGS!$LDFLAGS$ac_delim
21676 CPPFLAGS!$CPPFLAGS$ac_delim
21677 ac_ct_CC!$ac_ct_CC$ac_delim
21678 EXEEXT!$EXEEXT$ac_delim
21679 OBJEXT!$OBJEXT$ac_delim
21680 DEPDIR!$DEPDIR$ac_delim
21681 am__include!$am__include$ac_delim
21682 am__quote!$am__quote$ac_delim
21683 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21684 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21685 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21686 CCDEPMODE!$CCDEPMODE$ac_delim
21687 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21688 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21689 build!$build$ac_delim
21690 build_cpu!$build_cpu$ac_delim
21691 build_vendor!$build_vendor$ac_delim
21692 build_os!$build_os$ac_delim
21693 host!$host$ac_delim
21694 host_cpu!$host_cpu$ac_delim
21695 host_vendor!$host_vendor$ac_delim
21696 host_os!$host_os$ac_delim
21697 GREP!$GREP$ac_delim
21698 EGREP!$EGREP$ac_delim
21699 LN_S!$LN_S$ac_delim
21700 ECHO!$ECHO$ac_delim
21702 RANLIB!$RANLIB$ac_delim
21705 CXXFLAGS!$CXXFLAGS$ac_delim
21706 ac_ct_CXX!$ac_ct_CXX$ac_delim
21707 CXXDEPMODE!$CXXDEPMODE$ac_delim
21708 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21709 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21710 CXXCPP!$CXXCPP$ac_delim
21714 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21716 elif $ac_last_try; then
21717 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21718 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21719 { (exit 1); exit 1; }; }
21721 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21725 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21726 if test -n "$ac_eof"; then
21727 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21728 ac_eof
=`expr $ac_eof + 1`
21731 cat >>$CONFIG_STATUS <<_ACEOF
21732 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21733 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21736 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21737 s/^/s,@/; s/!/@,|#_!!_#|/
21740 s/'"$ac_delim"'$/,g/; t
21742 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21743 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21744 rm -f conf$
$subs.
sed
21745 cat >>$CONFIG_STATUS <<_ACEOF
21751 for ac_last_try
in false false false false false
:; do
21752 cat >conf$
$subs.
sed <<_ACEOF
21753 FFLAGS!$FFLAGS$ac_delim
21754 ac_ct_F77!$ac_ct_F77$ac_delim
21755 LIBTOOL!$LIBTOOL$ac_delim
21756 PIDGIN_MIN!$PIDGIN_MIN$ac_delim
21757 PIDGIN_MAX!$PIDGIN_MAX$ac_delim
21758 PKG_CONFIG!$PKG_CONFIG$ac_delim
21759 libpurple_CFLAGS!$libpurple_CFLAGS$ac_delim
21760 libpurple_LIBS!$libpurple_LIBS$ac_delim
21761 PIDGIN_CFLAGS!$PIDGIN_CFLAGS$ac_delim
21762 PIDGIN_LIBS!$PIDGIN_LIBS$ac_delim
21763 SIPE_LIBA!$SIPE_LIBA$ac_delim
21764 SIPE_STATIC_TRUE!$SIPE_STATIC_TRUE$ac_delim
21765 SIPE_STATIC_FALSE!$SIPE_STATIC_FALSE$ac_delim
21766 LIBOBJS!$LIBOBJS$ac_delim
21767 LTLIBOBJS!$LTLIBOBJS$ac_delim
21770 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 15; then
21772 elif $ac_last_try; then
21773 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21774 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21775 { (exit 1); exit 1; }; }
21777 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21781 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21782 if test -n "$ac_eof"; then
21783 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21784 ac_eof
=`expr $ac_eof + 1`
21787 cat >>$CONFIG_STATUS <<_ACEOF
21788 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21792 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21793 s/^/s,@/; s/!/@,|#_!!_#|/
21796 s/'"$ac_delim"'$/,g/; t
21798 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21799 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21800 rm -f conf$
$subs.
sed
21801 cat >>$CONFIG_STATUS <<_ACEOF
21808 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21809 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21810 # trailing colons and then remove the whole line if VPATH becomes empty
21811 # (actually we leave an empty line to preserve line numbers).
21812 if test "x$srcdir" = x.
; then
21813 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21814 s/:*\$(srcdir):*/:/
21815 s/:*\${srcdir}:*/:/
21817 s/^\([^=]*=[ ]*\):*/\1/
21823 cat >>$CONFIG_STATUS <<\_ACEOF
21824 fi # test -n "$CONFIG_FILES"
21827 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
21830 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21832 case $ac_mode$ac_tag in
21834 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21835 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21836 { (exit 1); exit 1; }; };;
21837 :[FH
]-) ac_tag
=-:-;;
21838 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21855 -) ac_f
="$tmp/stdin";;
21856 *) # Look for the file first in the build tree, then in the source tree
21857 # (if the path is not absolute). The absolute path cannot be DOS-style,
21858 # because $ac_f cannot contain `:'.
21862 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21864 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21865 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21866 { (exit 1); exit 1; }; };;
21868 ac_file_inputs
="$ac_file_inputs $ac_f"
21871 # Let's still pretend it is `configure' which instantiates (i.e., don't
21872 # use $as_me), people would be surprised to read:
21873 # /* config.h. Generated by config.status. */
21874 configure_input
="Generated from "`IFS=:
21875 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21876 if test x
"$ac_file" != x-
; then
21877 configure_input
="$ac_file. $configure_input"
21878 { echo "$as_me:$LINENO: creating $ac_file" >&5
21879 echo "$as_me: creating $ac_file" >&6;}
21883 *:-:* |
*:-) cat >"$tmp/stdin";;
21888 ac_dir
=`$as_dirname -- "$ac_file" ||
21889 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21890 X"$ac_file" : 'X\(//\)[^/]' \| \
21891 X"$ac_file" : 'X\(//\)$' \| \
21892 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21898 /^X\(\/\/\)[^/].*/{
21913 -*) as_dir
=.
/$as_dir;;
21915 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21919 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21920 *) as_qdir
=$as_dir;;
21922 as_dirs
="'$as_qdir' $as_dirs"
21923 as_dir
=`$as_dirname -- "$as_dir" ||
21924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21925 X"$as_dir" : 'X\(//\)[^/]' \| \
21926 X"$as_dir" : 'X\(//\)$' \| \
21927 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21933 /^X\(\/\/\)[^/].*/{
21946 test -d "$as_dir" && break
21948 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21949 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21950 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21951 { (exit 1); exit 1; }; }; }
21955 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21957 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21958 # A ".." for each directory in $ac_dir_suffix.
21959 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21960 case $ac_top_builddir_sub in
21961 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21962 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21965 ac_abs_top_builddir
=$ac_pwd
21966 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21967 # for backward compatibility:
21968 ac_top_builddir
=$ac_top_build_prefix
21971 .
) # We are building in place.
21973 ac_top_srcdir
=$ac_top_builddir_sub
21974 ac_abs_top_srcdir
=$ac_pwd ;;
21975 [\\/]* | ?
:[\\/]* ) # Absolute name.
21976 ac_srcdir
=$srcdir$ac_dir_suffix;
21977 ac_top_srcdir
=$srcdir
21978 ac_abs_top_srcdir
=$srcdir ;;
21979 *) # Relative name.
21980 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21981 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21982 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21984 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21994 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21995 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21999 cat >>$CONFIG_STATUS <<\_ACEOF
22000 # If the template does not know about datarootdir, expand it.
22001 # FIXME: This hack should be removed a few years after 2.60.
22002 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22004 case `sed -n '/datarootdir/ {
22013 ' $ac_file_inputs` in
22014 *datarootdir
*) ac_datarootdir_seen
=yes;;
22015 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22016 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22017 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22019 cat >>$CONFIG_STATUS <<_ACEOF
22020 ac_datarootdir_hack='
22021 s&@datadir@&$datadir&g
22022 s&@docdir@&$docdir&g
22023 s&@infodir@&$infodir&g
22024 s&@localedir@&$localedir&g
22025 s&@mandir@&$mandir&g
22026 s&\\\${datarootdir}&$datarootdir&g' ;;
22030 # Neutralize VPATH when `$srcdir' = `.'.
22031 # Shell code in configure.ac might set extrasub.
22032 # FIXME: do we really want to maintain this feature?
22033 cat >>$CONFIG_STATUS <<_ACEOF
22037 cat >>$CONFIG_STATUS <<\_ACEOF
22039 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22040 s
&@configure_input@
&$configure_input&;t t
22041 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22042 s
&@srcdir@
&$ac_srcdir&;t t
22043 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22044 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22045 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22046 s
&@builddir@
&$ac_builddir&;t t
22047 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22048 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22049 s
&@INSTALL@
&$ac_INSTALL&;t t
22050 $ac_datarootdir_hack
22051 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22053 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22054 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22055 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22056 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22057 which seems to be undefined. Please make sure it is defined." >&5
22058 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22059 which seems to be undefined. Please make sure it is defined." >&2;}
22063 -) cat "$tmp/out"; rm -f "$tmp/out";;
22064 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22069 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22070 echo "$as_me: executing $ac_file commands" >&6;}
22075 case $ac_file$ac_mode in
22076 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22077 # Strip MF so we end up with the name of the file.
22078 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
22079 # Check whether this is an Automake generated Makefile or not.
22080 # We used to match only the files named `Makefile.in', but
22081 # some people rename them; so instead we look at the file content.
22082 # Grep'ing the first line is not enough: some people post-process
22083 # each Makefile.in and add a new line on top of each file to say so.
22084 # So let's grep whole file.
22085 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
22086 dirpart
=`$as_dirname -- "$mf" ||
22087 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22088 X"$mf" : 'X\(//\)[^/]' \| \
22089 X"$mf" : 'X\(//\)$' \| \
22090 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22096 /^X\(\/\/\)[^/].*/{
22112 # Extract the definition of DEPDIR, am__include, and am__quote
22113 # from the Makefile without running `make'.
22114 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22115 test -z "$DEPDIR" && continue
22116 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22117 test -z "am__include" && continue
22118 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22119 # When using ansi2knr, U may be empty or an underscore; expand it
22120 U
=`sed -n 's/^U = //p' < "$mf"`
22121 # Find all dependency output files, they are included files with
22122 # $(DEPDIR) in their names. We invoke sed twice because it is the
22123 # simplest approach to changing $(DEPDIR) to its actual value in the
22125 for file in `sed -n "
22126 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22127 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22128 # Make sure the directory exists.
22129 test -f "$dirpart/$file" && continue
22130 fdir
=`$as_dirname -- "$file" ||
22131 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22132 X"$file" : 'X\(//\)[^/]' \| \
22133 X"$file" : 'X\(//\)$' \| \
22134 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22140 /^X\(\/\/\)[^/].*/{
22153 { as_dir
=$dirpart/$fdir
22155 -*) as_dir
=.
/$as_dir;;
22157 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22161 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22162 *) as_qdir
=$as_dir;;
22164 as_dirs
="'$as_qdir' $as_dirs"
22165 as_dir
=`$as_dirname -- "$as_dir" ||
22166 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22167 X"$as_dir" : 'X\(//\)[^/]' \| \
22168 X"$as_dir" : 'X\(//\)$' \| \
22169 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22175 /^X\(\/\/\)[^/].*/{
22188 test -d "$as_dir" && break
22190 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22191 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22192 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22193 { (exit 1); exit 1; }; }; }
22194 # echo "creating $dirpart/$file"
22195 echo '# dummy' > "$dirpart/$file"
22204 { (exit 0); exit 0; }
22206 chmod +x
$CONFIG_STATUS
22207 ac_clean_files
=$ac_clean_files_save
22210 # configure is writing to config.log, and then calls config.status.
22211 # config.status does its own redirection, appending to config.log.
22212 # Unfortunately, on DOS this fails, as config.log is still kept open
22213 # by configure, so config.status won't be able to write to it; its
22214 # output is simply discarded. So we exec the FD to /dev/null,
22215 # effectively closing config.log, so it can be properly (re)opened and
22216 # appended to by config.status. When coming back to configure, we
22217 # need to make the FD available again.
22218 if test "$no_create" != yes; then
22220 ac_config_status_args
=
22221 test "$silent" = yes &&
22222 ac_config_status_args
="$ac_config_status_args --quiet"
22224 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22226 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22227 # would make configure fail if this is the last instruction.
22228 $ac_cs_success ||
{ (exit 1); exit 1; }
22234 echo -n "Simple Exchange linking mode... : "
22235 if test "$sipe_static" = "yes" ; then
22237 echo "Simple Exchange library... : $SIPE_LIBA"
22243 echo configure complete
, now run \
`make\`