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 if test "X${CDPATH+set}" = Xset
; then CDPATH
=:; export CDPATH
; fi
591 if test -z "$ECHO"; then
592 if test "X${echo_test_string+set}" != Xset
; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
597 echo_test_string
="`eval $cmd`" &&
598 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # The Solaris, AIX, and Digital Unix default echo programs unquote
611 # backslashes. This makes it impossible to quote backslashes using
612 # echo "$something" | sed 's/\\/\\\\/g'
614 # So, first we look for a working echo in the user's PATH.
616 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
617 for dir
in $PATH /usr
/ucb
; do
619 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
620 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622 test "X$echo_testing_string" = "X$echo_test_string"; then
629 if test "X$echo" = Xecho
; then
630 # We didn't find a better echo, so look for alternatives.
631 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # This shell has a builtin print -r that does the trick.
636 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
637 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
638 # If we have ksh, try running configure again with it.
639 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
640 export ORIGINAL_CONFIG_SHELL
641 CONFIG_SHELL
=/bin
/ksh
643 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
652 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653 test "X$echo_testing_string" = 'X\t' &&
654 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
658 SHELL
="$CONFIG_SHELL"
660 echo="$CONFIG_SHELL $0 --fallback-echo"
661 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662 test "X$echo_testing_string" = 'X\t' &&
663 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664 test "X$echo_testing_string" = "X$echo_test_string"; then
665 echo="$CONFIG_SHELL $0 --fallback-echo"
667 # maybe with a smaller string...
670 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
678 if test "$prev" != 'sed 50q "$0"'; then
679 echo_test_string
=`eval $prev`
680 export echo_test_string
681 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683 # Oops. We lost completely, so just stick with echo.
692 # Copy echo and quote the copy suitably for passing to libtool from
693 # the Makefile, instead of quoting the original, which is used later.
695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702 tagnames
=${tagnames+${tagnames},}CXX
704 tagnames
=${tagnames+${tagnames},}F77
706 exec 7<&0 </dev
/null
6>&1
709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
716 ac_default_prefix
=/usr
/local
718 ac_config_libobj_dir
=.
724 SHELL
=${CONFIG_SHELL-/bin/sh}
726 # Identity of this package.
733 ac_unique_file
="configure.in"
734 # Factoring default headers for most tests.
735 ac_includes_default
="\
737 #ifdef HAVE_SYS_TYPES_H
738 # include <sys/types.h>
740 #ifdef HAVE_SYS_STAT_H
741 # include <sys/stat.h>
747 # ifdef HAVE_STDLIB_H
752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
757 #ifdef HAVE_STRINGS_H
758 # include <strings.h>
760 #ifdef HAVE_INTTYPES_H
761 # include <inttypes.h>
779 program_transform_name
820 INSTALL_STRIP_PROGRAM
878 ac_precious_vars
='build_alias
897 # Initialize some variables set by options.
899 ac_init_version
=false
900 # The variables have the same names as the options, with
901 # dashes changed to underlines.
909 program_transform_name
=s
,x
,x
,
917 # Installation directory options.
918 # These are left unexpanded so users can "make install exec_prefix=/foo"
919 # and all the variables that are supposed to be based on exec_prefix
920 # by default will actually change.
921 # Use braces instead of parens because sh, perl, etc. also accept them.
922 # (The list follows the same order as the GNU Coding Standards.)
923 bindir
='${exec_prefix}/bin'
924 sbindir
='${exec_prefix}/sbin'
925 libexecdir
='${exec_prefix}/libexec'
926 datarootdir
='${prefix}/share'
927 datadir
='${datarootdir}'
928 sysconfdir
='${prefix}/etc'
929 sharedstatedir
='${prefix}/com'
930 localstatedir
='${prefix}/var'
931 includedir
='${prefix}/include'
932 oldincludedir
='/usr/include'
933 docdir
='${datarootdir}/doc/${PACKAGE}'
934 infodir
='${datarootdir}/info'
939 libdir
='${exec_prefix}/lib'
940 localedir
='${datarootdir}/locale'
941 mandir
='${datarootdir}/man'
947 # If the previous option needs an argument, assign it.
948 if test -n "$ac_prev"; then
949 eval $ac_prev=\
$ac_option
955 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
959 # Accept the important Cygnus configure options, so we can diagnose typos.
961 case $ac_dashdash$ac_option in
965 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
967 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
970 -build |
--build |
--buil |
--bui |
--bu)
971 ac_prev
=build_alias
;;
972 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
973 build_alias
=$ac_optarg ;;
975 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
976 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
977 ac_prev
=cache_file
;;
978 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
979 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
980 cache_file
=$ac_optarg ;;
983 cache_file
=config.cache
;;
985 -datadir |
--datadir |
--datadi |
--datad)
987 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
988 datadir
=$ac_optarg ;;
990 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
991 |
--dataroo |
--dataro |
--datar)
992 ac_prev
=datarootdir
;;
993 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
994 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
995 datarootdir
=$ac_optarg ;;
997 -disable-* |
--disable-*)
998 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1001 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1002 { (exit 1); exit 1; }; }
1003 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1004 eval enable_
$ac_feature=no
;;
1006 -docdir |
--docdir |
--docdi |
--doc |
--do)
1008 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1009 docdir
=$ac_optarg ;;
1011 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1013 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1014 dvidir
=$ac_optarg ;;
1016 -enable-* |
--enable-*)
1017 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1020 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1021 { (exit 1); exit 1; }; }
1022 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1023 eval enable_
$ac_feature=\
$ac_optarg ;;
1025 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1026 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1027 |
--exec |
--exe |
--ex)
1028 ac_prev
=exec_prefix
;;
1029 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1030 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1031 |
--exec=* |
--exe=* |
--ex=*)
1032 exec_prefix
=$ac_optarg ;;
1034 -gas |
--gas |
--ga |
--g)
1035 # Obsolete; use --with-gas.
1038 -help |
--help |
--hel |
--he |
-h)
1039 ac_init_help
=long
;;
1040 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1041 ac_init_help
=recursive
;;
1042 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1043 ac_init_help
=short
;;
1045 -host |
--host |
--hos |
--ho)
1046 ac_prev
=host_alias
;;
1047 -host=* |
--host=* |
--hos=* |
--ho=*)
1048 host_alias
=$ac_optarg ;;
1050 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1052 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1054 htmldir
=$ac_optarg ;;
1056 -includedir |
--includedir |
--includedi |
--included |
--include \
1057 |
--includ |
--inclu |
--incl |
--inc)
1058 ac_prev
=includedir
;;
1059 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1060 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1061 includedir
=$ac_optarg ;;
1063 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1065 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1066 infodir
=$ac_optarg ;;
1068 -libdir |
--libdir |
--libdi |
--libd)
1070 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1071 libdir
=$ac_optarg ;;
1073 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1074 |
--libexe |
--libex |
--libe)
1075 ac_prev
=libexecdir
;;
1076 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1077 |
--libexe=* |
--libex=* |
--libe=*)
1078 libexecdir
=$ac_optarg ;;
1080 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1081 ac_prev
=localedir
;;
1082 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1083 localedir
=$ac_optarg ;;
1085 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1086 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1087 ac_prev
=localstatedir
;;
1088 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1089 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1090 localstatedir
=$ac_optarg ;;
1092 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1094 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1095 mandir
=$ac_optarg ;;
1097 -nfp |
--nfp |
--nf)
1098 # Obsolete; use --without-fp.
1101 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1102 |
--no-cr |
--no-c |
-n)
1105 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1106 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1109 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1110 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1111 |
--oldin |
--oldi |
--old |
--ol |
--o)
1112 ac_prev
=oldincludedir
;;
1113 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1114 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1115 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1116 oldincludedir
=$ac_optarg ;;
1118 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1120 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1121 prefix
=$ac_optarg ;;
1123 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1124 |
--program-pre |
--program-pr |
--program-p)
1125 ac_prev
=program_prefix
;;
1126 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1127 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1128 program_prefix
=$ac_optarg ;;
1130 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1131 |
--program-suf |
--program-su |
--program-s)
1132 ac_prev
=program_suffix
;;
1133 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1134 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1135 program_suffix
=$ac_optarg ;;
1137 -program-transform-name |
--program-transform-name \
1138 |
--program-transform-nam |
--program-transform-na \
1139 |
--program-transform-n |
--program-transform- \
1140 |
--program-transform |
--program-transfor \
1141 |
--program-transfo |
--program-transf \
1142 |
--program-trans |
--program-tran \
1143 |
--progr-tra |
--program-tr |
--program-t)
1144 ac_prev
=program_transform_name
;;
1145 -program-transform-name=* |
--program-transform-name=* \
1146 |
--program-transform-nam=* |
--program-transform-na=* \
1147 |
--program-transform-n=* |
--program-transform-=* \
1148 |
--program-transform=* |
--program-transfor=* \
1149 |
--program-transfo=* |
--program-transf=* \
1150 |
--program-trans=* |
--program-tran=* \
1151 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1152 program_transform_name
=$ac_optarg ;;
1154 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1156 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1157 pdfdir
=$ac_optarg ;;
1159 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1161 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1164 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1165 |
-silent |
--silent |
--silen |
--sile |
--sil)
1168 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1170 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1172 sbindir
=$ac_optarg ;;
1174 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1175 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1176 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1178 ac_prev
=sharedstatedir
;;
1179 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1180 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1181 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1183 sharedstatedir
=$ac_optarg ;;
1185 -site |
--site |
--sit)
1187 -site=* |
--site=* |
--sit=*)
1190 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1192 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1193 srcdir
=$ac_optarg ;;
1195 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1196 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1197 ac_prev
=sysconfdir
;;
1198 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1199 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1200 sysconfdir
=$ac_optarg ;;
1202 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1203 ac_prev
=target_alias
;;
1204 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1205 target_alias
=$ac_optarg ;;
1207 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1210 -version |
--version |
--versio |
--versi |
--vers |
-V)
1211 ac_init_version
=: ;;
1214 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1217 { echo "$as_me: error: invalid package name: $ac_package" >&2
1218 { (exit 1); exit 1; }; }
1219 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1220 eval with_
$ac_package=\
$ac_optarg ;;
1222 -without-* |
--without-*)
1223 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1226 { echo "$as_me: error: invalid package name: $ac_package" >&2
1227 { (exit 1); exit 1; }; }
1228 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1229 eval with_
$ac_package=no
;;
1232 # Obsolete; use --with-x.
1235 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1236 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1237 ac_prev
=x_includes
;;
1238 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1239 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1240 x_includes
=$ac_optarg ;;
1242 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1243 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1244 ac_prev
=x_libraries
;;
1245 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1246 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1247 x_libraries
=$ac_optarg ;;
1249 -*) { echo "$as_me: error: unrecognized option: $ac_option
1250 Try \`$0 --help' for more information." >&2
1251 { (exit 1); exit 1; }; }
1255 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1258 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1259 { (exit 1); exit 1; }; }
1260 eval $ac_envvar=\
$ac_optarg
1261 export $ac_envvar ;;
1264 # FIXME: should be removed in autoconf 3.0.
1265 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1266 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1267 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1268 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1274 if test -n "$ac_prev"; then
1275 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1276 { echo "$as_me: error: missing argument to $ac_option" >&2
1277 { (exit 1); exit 1; }; }
1280 # Be sure to have absolute directory names.
1281 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1282 datadir sysconfdir sharedstatedir localstatedir includedir \
1283 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1284 libdir localedir mandir
1286 eval ac_val
=\$
$ac_var
1288 [\\/$
]* | ?
:[\\/]* ) continue;;
1289 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1291 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1292 { (exit 1); exit 1; }; }
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1300 target
=$target_alias
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x
; then
1304 if test "x$build_alias" = x
; then
1305 cross_compiling
=maybe
1306 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1307 If a cross compiler is detected then cross compile mode will be used." >&2
1308 elif test "x$build_alias" != "x$host_alias"; then
1314 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1316 test "$silent" = yes && exec 6>/dev
/null
1319 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1320 ac_ls_di
=`ls -di .` &&
1321 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1322 { echo "$as_me: error: Working directory cannot be determined" >&2
1323 { (exit 1); exit 1; }; }
1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1325 { echo "$as_me: error: pwd does not report name of working directory" >&2
1326 { (exit 1); exit 1; }; }
1329 # Find the source files, if location was not specified.
1330 if test -z "$srcdir"; then
1331 ac_srcdir_defaulted
=yes
1332 # Try the directory containing this script, then the parent directory.
1333 ac_confdir
=`$as_dirname -- "$0" ||
1334 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1335 X"$0" : 'X\(//\)[^/]' \| \
1336 X"$0" : 'X\(//\)$' \| \
1337 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1361 ac_srcdir_defaulted
=no
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1364 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1365 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1366 { (exit 1); exit 1; }; }
1368 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1371 { (exit 1); exit 1; }; }
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1381 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 for ac_var
in $ac_precious_vars; do
1384 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1386 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1397 \`configure' configures this package to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --program-prefix=PREFIX prepend PREFIX to installed program names
1456 --program-suffix=SUFFIX append SUFFIX to installed program names
1457 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1460 --build=BUILD configure
for building on BUILD
[guessed
]
1461 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1465 if test -n "$ac_init_help"; then
1470 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1471 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1472 --disable-dependency-tracking speeds up one-time build
1473 --enable-dependency-tracking do not reject slow dependency extractors
1474 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1475 --enable-static[=PKGS
] build static libraries
[default
=yes]
1476 --enable-fast-install[=PKGS
]
1477 optimize
for fast installation
[default
=yes]
1478 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1481 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1482 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1483 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1484 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1486 --with-tags[=TAGS
] include additional configurations
[automatic
]
1488 Some influential environment variables
:
1489 CXX C
++ compiler
command
1490 CXXFLAGS C
++ compiler flags
1491 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1492 nonstandard directory
<lib dir
>
1493 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1494 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1495 you have headers
in a nonstandard directory
<include dir
>
1496 CC C compiler
command
1497 CFLAGS C compiler flags
1499 CXXCPP C
++ preprocessor
1500 F77 Fortran
77 compiler
command
1501 FFLAGS Fortran
77 compiler flags
1502 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1503 the first program found out of: `bison
-y', `byacc', `yacc'.
1504 YFLAGS The list of arguments that will be passed by default to $YACC.
1505 This script will default YFLAGS to the empty string to avoid a
1506 default value of `-d' given by some make applications.
1508 Use these variables to override the choices made by `configure' or to
help
1509 it to
find libraries and programs with nonstandard names
/locations.
1515 if test "$ac_init_help" = "recursive"; then
1516 # If there are subdirs, report their specific --help.
1517 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1518 test -d "$ac_dir" ||
continue
1522 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1524 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1525 # A ".." for each directory in $ac_dir_suffix.
1526 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1527 case $ac_top_builddir_sub in
1528 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1529 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1532 ac_abs_top_builddir
=$ac_pwd
1533 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1534 # for backward compatibility:
1535 ac_top_builddir
=$ac_top_build_prefix
1538 .
) # We are building in place.
1540 ac_top_srcdir
=$ac_top_builddir_sub
1541 ac_abs_top_srcdir
=$ac_pwd ;;
1542 [\\/]* | ?
:[\\/]* ) # Absolute name.
1543 ac_srcdir
=$srcdir$ac_dir_suffix;
1544 ac_top_srcdir
=$srcdir
1545 ac_abs_top_srcdir
=$srcdir ;;
1547 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1548 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1549 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1551 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1553 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1554 # Check for guested configure.
1555 if test -f "$ac_srcdir/configure.gnu"; then
1557 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1558 elif test -f "$ac_srcdir/configure"; then
1560 $SHELL "$ac_srcdir/configure" --help=recursive
1562 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1564 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1568 test -n "$ac_init_help" && exit $ac_status
1569 if $ac_init_version; then
1572 generated by GNU Autoconf
2.61
1574 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1575 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1576 This configure
script is free software
; the Free Software Foundation
1577 gives unlimited permission to copy
, distribute and modify it.
1581 cat >config.log
<<_ACEOF
1582 This file contains any messages produced by compilers while
1583 running configure, to aid debugging if configure makes a mistake.
1585 It was created by $as_me, which was
1586 generated by GNU Autoconf 2.61. Invocation command line was
1598 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1599 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1600 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1601 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1602 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1604 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1605 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1607 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1608 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1609 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1610 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1611 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1612 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1613 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1621 test -z "$as_dir" && as_dir
=.
1622 echo "PATH: $as_dir"
1638 # Keep a trace of the command line.
1639 # Strip out --no-create and --no-recursion so they do not pile up.
1640 # Strip out --silent because we don't want to record it for future runs.
1641 # Also quote any args containing shell meta-characters.
1642 # Make two passes to allow for proper duplicate-argument suppression.
1646 ac_must_keep_next
=false
1652 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1653 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1654 |
-silent |
--silent |
--silen |
--sile |
--sil)
1657 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1660 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1662 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1663 if test $ac_must_keep_next = true
; then
1664 ac_must_keep_next
=false
# Got value, back to normal.
1667 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1668 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1669 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1670 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1671 case "$ac_configure_args0 " in
1672 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1675 -* ) ac_must_keep_next
=true
;;
1678 ac_configure_args
="$ac_configure_args '$ac_arg'"
1683 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1684 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1686 # When interrupted or exit'd, cleanup temporary files, and complete
1687 # config.log. We remove comments because anyway the quotes in there
1688 # would cause problems or look ugly.
1689 # WARNING: Use '\'' to represent an apostrophe within the trap.
1690 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1691 trap 'exit_status=$?
1692 # Save into config.log some information that might help in debugging.
1697 ## ---------------- ##
1698 ## Cache variables. ##
1699 ## ---------------- ##
1702 # The following way of writing the cache mishandles newlines in values,
1704 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1705 eval ac_val=\$$ac_var
1709 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1710 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1713 _ | IFS | as_nl) ;; #(
1714 *) $as_unset $ac_var ;;
1719 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1720 *${as_nl}ac_space=\ *)
1722 "s/'\''/'\''\\\\'\'''\''/g;
1723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1726 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1734 ## ----------------- ##
1735 ## Output variables. ##
1736 ## ----------------- ##
1739 for ac_var in $ac_subst_vars
1741 eval ac_val=\$$ac_var
1743 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1745 echo "$ac_var='\''$ac_val'\''"
1749 if test -n "$ac_subst_files"; then
1751 ## ------------------- ##
1752 ## File substitutions. ##
1753 ## ------------------- ##
1756 for ac_var
in $ac_subst_files
1758 eval ac_val
=\$
$ac_var
1760 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1762 echo "$ac_var='\''$ac_val'\''"
1767 if test -s confdefs.h; then
1777 test "$ac_signal" != 0 &&
1778 echo "$as_me: caught signal $ac_signal"
1779 echo "$as_me: exit $exit_status"
1781 rm -f core *.core core.conftest.* &&
1782 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1785 for ac_signal
in 1 2 13 15; do
1786 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1790 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1791 rm -f -r conftest
* confdefs.h
1793 # Predefined preprocessor variables.
1795 cat >>confdefs.h
<<_ACEOF
1796 #define PACKAGE_NAME "$PACKAGE_NAME"
1800 cat >>confdefs.h
<<_ACEOF
1801 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1805 cat >>confdefs.h
<<_ACEOF
1806 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1810 cat >>confdefs.h
<<_ACEOF
1811 #define PACKAGE_STRING "$PACKAGE_STRING"
1815 cat >>confdefs.h
<<_ACEOF
1816 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1820 # Let the site file select an alternate cache file if it wants to.
1821 # Prefer explicitly selected file to automatically selected ones.
1822 if test -n "$CONFIG_SITE"; then
1823 set x
"$CONFIG_SITE"
1824 elif test "x$prefix" != xNONE
; then
1825 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1827 set x
"$ac_default_prefix/share/config.site" \
1828 "$ac_default_prefix/etc/config.site"
1833 if test -r "$ac_site_file"; then
1834 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1835 echo "$as_me: loading site script $ac_site_file" >&6;}
1836 sed 's/^/| /' "$ac_site_file" >&5
1841 if test -r "$cache_file"; then
1842 # Some versions of bash will fail to source /dev/null (special
1843 # files actually), so we avoid doing that.
1844 if test -f "$cache_file"; then
1845 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1846 echo "$as_me: loading cache $cache_file" >&6;}
1848 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1849 *) .
"./$cache_file";;
1853 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1854 echo "$as_me: creating cache $cache_file" >&6;}
1858 # Check that the precious variables saved in the cache have kept the same
1860 ac_cache_corrupted
=false
1861 for ac_var
in $ac_precious_vars; do
1862 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1863 eval ac_new_set
=\
$ac_env_${ac_var}_set
1864 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1865 eval ac_new_val
=\
$ac_env_${ac_var}_value
1866 case $ac_old_set,$ac_new_set in
1868 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1869 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1870 ac_cache_corrupted
=: ;;
1872 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1873 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1874 ac_cache_corrupted
=: ;;
1877 if test "x$ac_old_val" != "x$ac_new_val"; then
1878 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1879 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1880 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1881 echo "$as_me: former value: $ac_old_val" >&2;}
1882 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1883 echo "$as_me: current value: $ac_new_val" >&2;}
1884 ac_cache_corrupted
=:
1887 # Pass precious variables to config.status.
1888 if test "$ac_new_set" = set; then
1890 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1891 *) ac_arg
=$ac_var=$ac_new_val ;;
1893 case " $ac_configure_args " in
1894 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1895 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1899 if $ac_cache_corrupted; then
1900 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1901 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1902 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1903 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1904 { (exit 1); exit 1; }; }
1924 ac_cpp
='$CPP $CPPFLAGS'
1925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1931 ac_config_headers
="$ac_config_headers config.h"
1933 am__api_version
="1.9"
1935 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1936 if test -f "$ac_dir/install-sh"; then
1938 ac_install_sh
="$ac_aux_dir/install-sh -c"
1940 elif test -f "$ac_dir/install.sh"; then
1942 ac_install_sh
="$ac_aux_dir/install.sh -c"
1944 elif test -f "$ac_dir/shtool"; then
1946 ac_install_sh
="$ac_aux_dir/shtool install -c"
1950 if test -z "$ac_aux_dir"; then
1951 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1952 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1953 { (exit 1); exit 1; }; }
1956 # These three variables are undocumented and unsupported,
1957 # and are intended to be withdrawn in a future Autoconf release.
1958 # They can cause serious problems if a builder's source tree is in a directory
1959 # whose full name contains unusual characters.
1960 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1961 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1962 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1965 # Find a good install program. We prefer a C program (faster),
1966 # so one script is as good as another. But avoid the broken or
1967 # incompatible versions:
1968 # SysV /etc/install, /usr/sbin/install
1969 # SunOS /usr/etc/install
1970 # IRIX /sbin/install
1972 # AmigaOS /C/install, which installs bootblocks on floppy discs
1973 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1974 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1975 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1976 # OS/2's system install, which has a completely different semantic
1977 # ./install, which can be erroneously created by make from ./install.sh.
1978 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1979 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1980 if test -z "$INSTALL"; then
1981 if test "${ac_cv_path_install+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1988 test -z "$as_dir" && as_dir
=.
1989 # Account for people who put trailing slashes in PATH elements.
1991 .
/ | .
// |
/cC
/* | \
1992 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1993 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1996 # OSF1 and SCO ODT 3.0 have their own names for install.
1997 # Don't use installbsd from OSF since it installs stuff as root
1999 for ac_prog
in ginstall scoinst
install; do
2000 for ac_exec_ext
in '' $ac_executable_extensions; do
2001 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2002 if test $ac_prog = install &&
2003 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2004 # AIX install. It has an incompatible calling convention.
2006 elif test $ac_prog = install &&
2007 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2008 # program-specific install script used by HP pwplus--don't use.
2011 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2024 if test "${ac_cv_path_install+set}" = set; then
2025 INSTALL
=$ac_cv_path_install
2027 # As a last resort, use the slow shell script. Don't cache a
2028 # value for INSTALL within a source directory, because that will
2029 # break other packages using the cache if that directory is
2030 # removed, or if the value is a relative name.
2031 INSTALL
=$ac_install_sh
2034 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2035 echo "${ECHO_T}$INSTALL" >&6; }
2037 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2038 # It thinks the first close brace ends the variable substitution.
2039 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2041 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2043 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2045 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2046 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2049 echo timestamp
> conftest.
file
2050 # Do `set' in a subshell so we don't clobber the current shell's
2051 # arguments. Must try -L first in case configure is actually a
2052 # symlink; some systems play weird games with the mod time of symlinks
2053 # (eg FreeBSD returns the mod time of the symlink's containing
2056 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2057 if test "$*" = "X"; then
2059 set X
`ls -t $srcdir/configure conftest.file`
2062 if test "$*" != "X $srcdir/configure conftest.file" \
2063 && test "$*" != "X conftest.file $srcdir/configure"; then
2065 # If neither matched, then we have a broken ls. This can happen
2066 # if, for instance, CONFIG_SHELL is bash and it inherits a
2067 # broken ls alias from the environment. This has actually
2068 # happened. Such a system could not be considered "sane".
2069 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2070 alias in your environment" >&5
2071 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2072 alias in your environment" >&2;}
2073 { (exit 1); exit 1; }; }
2076 test "$2" = conftest.
file
2082 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2083 Check your system clock" >&5
2084 echo "$as_me: error: newly created file is older than distributed files!
2085 Check your system clock" >&2;}
2086 { (exit 1); exit 1; }; }
2088 { echo "$as_me:$LINENO: result: yes" >&5
2089 echo "${ECHO_T}yes" >&6; }
2090 test "$program_prefix" != NONE
&&
2091 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2092 # Use a double $ so make ignores it.
2093 test "$program_suffix" != NONE
&&
2094 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2095 # Double any \ or $. echo might interpret backslashes.
2096 # By default was `s,x,x', remove it if useless.
2097 cat <<\_ACEOF
>conftest.
sed
2098 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2100 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2103 # expand $ac_aux_dir to an absolute path
2104 am_aux_dir
=`cd $ac_aux_dir && pwd`
2106 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2107 # Use eval to expand $SHELL
2108 if eval "$MISSING --run true"; then
2109 am_missing_run
="$MISSING --run "
2112 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2113 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2116 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2117 # We used to keeping the `.' as first argument, in order to
2118 # allow $(mkdir_p) to be used without argument. As in
2119 # $(mkdir_p) $(somedir)
2120 # where $(somedir) is conditionally defined. However this is wrong
2122 # 1. if the package is installed by a user who cannot write `.'
2123 # make install will fail,
2124 # 2. the above comment should most certainly read
2125 # $(mkdir_p) $(DESTDIR)$(somedir)
2126 # so it does not work when $(somedir) is undefined and
2127 # $(DESTDIR) is not.
2128 # To support the latter case, we have to write
2129 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2130 # so the `.' trick is pointless.
2131 mkdir_p
='mkdir -p --'
2133 # On NextStep and OpenStep, the `mkdir' command does not
2134 # recognize any option. It will interpret all options as
2135 # directories to create, and then abort because `.' already
2137 for d
in .
/-p .
/--version;
2139 test -d $d && rmdir $d
2141 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2142 if test -f "$ac_aux_dir/mkinstalldirs"; then
2143 mkdir_p
='$(mkinstalldirs)'
2145 mkdir_p
='$(install_sh) -d'
2149 for ac_prog
in gawk mawk nawk
awk
2151 # Extract the first word of "$ac_prog", so it can be a program name with args.
2152 set dummy
$ac_prog; ac_word
=$2
2153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2155 if test "${ac_cv_prog_AWK+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 if test -n "$AWK"; then
2159 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir
=.
2166 for ac_exec_ext
in '' $ac_executable_extensions; do
2167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2168 ac_cv_prog_AWK
="$ac_prog"
2169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 if test -n "$AWK"; then
2180 { echo "$as_me:$LINENO: result: $AWK" >&5
2181 echo "${ECHO_T}$AWK" >&6; }
2183 { echo "$as_me:$LINENO: result: no" >&5
2184 echo "${ECHO_T}no" >&6; }
2188 test -n "$AWK" && break
2191 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2192 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2193 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2194 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2195 echo $ECHO_N "(cached) $ECHO_C" >&6
2197 cat >conftest.
make <<\_ACEOF
2200 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2202 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2203 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2205 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2207 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2211 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2212 { echo "$as_me:$LINENO: result: yes" >&5
2213 echo "${ECHO_T}yes" >&6; }
2216 { echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6; }
2218 SET_MAKE
="MAKE=${MAKE-make}"
2221 rm -rf .tst
2>/dev
/null
2222 mkdir .tst
2>/dev
/null
2223 if test -d .tst
; then
2228 rmdir .tst
2>/dev
/null
2230 # test to see if srcdir already configured
2231 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2232 test -f $srcdir/config.status
; then
2233 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2234 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2235 { (exit 1); exit 1; }; }
2238 # test whether we have cygpath
2239 if test -z "$CYGPATH_W"; then
2240 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2241 CYGPATH_W
='cygpath -w'
2248 # Define the identity of the package.
2253 cat >>confdefs.h
<<_ACEOF
2254 #define PACKAGE "$PACKAGE"
2258 cat >>confdefs.h
<<_ACEOF
2259 #define VERSION "$VERSION"
2262 # Some tools Automake needs.
2264 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2267 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2270 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2273 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2276 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2278 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2280 # Installed binaries are usually stripped using `strip' when the user
2281 # run `make install-strip'. However `strip' might not be the right
2282 # tool to use in cross-compilation environments, therefore Automake
2283 # will honor the `STRIP' environment variable to overrule this program.
2284 if test "$cross_compiling" != no
; then
2285 if test -n "$ac_tool_prefix"; then
2286 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2287 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2290 if test "${ac_cv_prog_STRIP+set}" = set; then
2291 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 if test -n "$STRIP"; then
2294 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2300 test -z "$as_dir" && as_dir
=.
2301 for ac_exec_ext
in '' $ac_executable_extensions; do
2302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2303 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 STRIP
=$ac_cv_prog_STRIP
2314 if test -n "$STRIP"; then
2315 { echo "$as_me:$LINENO: result: $STRIP" >&5
2316 echo "${ECHO_T}$STRIP" >&6; }
2318 { echo "$as_me:$LINENO: result: no" >&5
2319 echo "${ECHO_T}no" >&6; }
2324 if test -z "$ac_cv_prog_STRIP"; then
2326 # Extract the first word of "strip", so it can be a program name with args.
2327 set dummy strip
; ac_word
=$2
2328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2330 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2331 echo $ECHO_N "(cached) $ECHO_C" >&6
2333 if test -n "$ac_ct_STRIP"; then
2334 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2340 test -z "$as_dir" && as_dir
=.
2341 for ac_exec_ext
in '' $ac_executable_extensions; do
2342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2343 ac_cv_prog_ac_ct_STRIP
="strip"
2344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2353 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2354 if test -n "$ac_ct_STRIP"; then
2355 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2356 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2358 { echo "$as_me:$LINENO: result: no" >&5
2359 echo "${ECHO_T}no" >&6; }
2362 if test "x$ac_ct_STRIP" = x
; then
2365 case $cross_compiling:$ac_tool_warned in
2367 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2368 whose name does not start with the host triplet. If you think this
2369 configuration is useful to you, please write to autoconf@gnu.org." >&5
2370 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2371 whose name does not start with the host triplet. If you think this
2372 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2373 ac_tool_warned
=yes ;;
2378 STRIP
="$ac_cv_prog_STRIP"
2382 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2384 # We need awk for the "check" target. The system "awk" is bad on
2386 # Always define AMTAR for backward compatibility.
2388 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2390 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2398 ac_cpp
='$CXXCPP $CPPFLAGS'
2399 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2400 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2401 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2404 ac_cpp
='$CXXCPP $CPPFLAGS'
2405 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2406 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2407 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2408 if test -z "$CXX"; then
2409 if test -n "$CCC"; then
2412 if test -n "$ac_tool_prefix"; then
2413 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2415 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2416 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2419 if test "${ac_cv_prog_CXX+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 if test -n "$CXX"; then
2423 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir
=.
2430 for ac_exec_ext
in '' $ac_executable_extensions; do
2431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2432 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 if test -n "$CXX"; then
2444 { echo "$as_me:$LINENO: result: $CXX" >&5
2445 echo "${ECHO_T}$CXX" >&6; }
2447 { echo "$as_me:$LINENO: result: no" >&5
2448 echo "${ECHO_T}no" >&6; }
2452 test -n "$CXX" && break
2455 if test -z "$CXX"; then
2457 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2459 # Extract the first word of "$ac_prog", so it can be a program name with args.
2460 set dummy
$ac_prog; ac_word
=$2
2461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2463 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 if test -n "$ac_ct_CXX"; then
2467 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2473 test -z "$as_dir" && as_dir
=.
2474 for ac_exec_ext
in '' $ac_executable_extensions; do
2475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2476 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2487 if test -n "$ac_ct_CXX"; then
2488 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2489 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2491 { echo "$as_me:$LINENO: result: no" >&5
2492 echo "${ECHO_T}no" >&6; }
2496 test -n "$ac_ct_CXX" && break
2499 if test "x$ac_ct_CXX" = x
; then
2502 case $cross_compiling:$ac_tool_warned in
2504 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2505 whose name does not start with the host triplet. If you think this
2506 configuration is useful to you, please write to autoconf@gnu.org." >&5
2507 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2508 whose name does not start with the host triplet. If you think this
2509 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2510 ac_tool_warned
=yes ;;
2518 # Provide some information about the compiler.
2519 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2520 ac_compiler
=`set X $ac_compile; echo $2`
2521 { (ac_try
="$ac_compiler --version >&5"
2523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2527 (eval "$ac_compiler --version >&5") 2>&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); }
2531 { (ac_try="$ac_compiler -v >&5"
2533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2534 *) ac_try_echo
=$ac_try;;
2536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2537 (eval "$ac_compiler -v >&5") 2>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }
2541 { (ac_try
="$ac_compiler -V >&5"
2543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2544 *) ac_try_echo=$ac_try;;
2546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2547 (eval "$ac_compiler -V >&5") 2>&5
2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); }
2552 cat >conftest.$ac_ext <<_ACEOF
2555 cat confdefs.h >>conftest.$ac_ext
2556 cat >>conftest.$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2567 ac_clean_files_save=$ac_clean_files
2568 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2569 # Try to create an executable without -o first, disregard a.out.
2570 # It will help us diagnose broken compilers, and finding out an intuition
2572 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2573 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2574 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2576 # List of possible output files, starting from the most likely.
2577 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2578 # only as a last resort. b.out is created by i960 compilers.
2579 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2581 # The IRIX 6 linker writes into existing files which may not be
2582 # executable, retaining their permissions. Remove them first so a
2583 # subsequent execution test works.
2585 for ac_file in $ac_files
2588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2589 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2594 if { (ac_try="$ac_link_default"
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2600 (eval "$ac_link_default") 2>&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; then
2604 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2605 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2606 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2607 # so that the user can short-circuit this test for compilers unknown to
2609 for ac_file
in $ac_files ''
2611 test -f "$ac_file" ||
continue
2613 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2616 # We found the default executable, but exeext='' is most
2620 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2622 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2624 # We set ac_cv_exeext here because the later test for it is not
2625 # safe: cross compilers may not add the suffix if given an `-o'
2626 # argument, so we may need to know it at that point already.
2627 # Even if this section looks crufty: it has the advantage of
2634 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2640 { echo "$as_me:$LINENO: result: $ac_file" >&5
2641 echo "${ECHO_T}$ac_file" >&6; }
2642 if test -z "$ac_file"; then
2643 echo "$as_me: failed program was:" >&5
2644 sed 's/^/| /' conftest.
$ac_ext >&5
2646 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2647 See \`config.log' for more details." >&5
2648 echo "$as_me: error: C++ compiler cannot create executables
2649 See \`config.log' for more details." >&2;}
2650 { (exit 77); exit 77; }; }
2653 ac_exeext
=$ac_cv_exeext
2655 # Check that the compiler produces executables we can run. If not, either
2656 # the compiler is broken, or we cross compile.
2657 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2658 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2659 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2660 # If not cross compiling, check that we can run a simple program.
2661 if test "$cross_compiling" != yes; then
2662 if { ac_try
='./$ac_file'
2663 { (case "(($ac_try" in
2664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2665 *) ac_try_echo=$ac_try;;
2667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2668 (eval "$ac_try") 2>&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; }; then
2674 if test "$cross_compiling" = maybe; then
2677 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2678 If you meant to cross compile, use \`--host'.
2679 See \`config.log' for more details.
" >&5
2680 echo "$as_me: error
: cannot run C
++ compiled programs.
2681 If you meant to cross compile
, use \
`--host'.
2682 See \`config.log
' for more details." >&2;}
2683 { (exit 1); exit 1; }; }
2687 { echo "$as_me:$LINENO: result: yes" >&5
2688 echo "${ECHO_T}yes" >&6; }
2690 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2691 ac_clean_files=$ac_clean_files_save
2692 # Check that the compiler produces executables we can run. If not, either
2693 # the compiler is broken, or we cross compile.
2694 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2695 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2696 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2697 echo "${ECHO_T}$cross_compiling" >&6; }
2699 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2700 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2701 if { (ac_try="$ac_link"
2703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2704 *) ac_try_echo=$ac_try;;
2706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2707 (eval "$ac_link") 2>&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); }; then
2711 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2712 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2713 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2715 for ac_file
in conftest.exe conftest conftest.
*; do
2716 test -f "$ac_file" ||
continue
2718 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2719 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2725 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2726 See \`config.log' for more details." >&5
2727 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2728 See \`config.log' for more details." >&2;}
2729 { (exit 1); exit 1; }; }
2732 rm -f conftest
$ac_cv_exeext
2733 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2734 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2736 rm -f conftest.
$ac_ext
2737 EXEEXT
=$ac_cv_exeext
2739 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2740 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2741 if test "${ac_cv_objext+set}" = set; then
2742 echo $ECHO_N "(cached) $ECHO_C" >&6
2744 cat >conftest.
$ac_ext <<_ACEOF
2747 cat confdefs.h
>>conftest.
$ac_ext
2748 cat >>conftest.
$ac_ext <<_ACEOF
2749 /* end confdefs.h. */
2759 rm -f conftest.o conftest.obj
2760 if { (ac_try
="$ac_compile"
2762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766 (eval "$ac_compile") 2>&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; then
2770 for ac_file in conftest.o conftest.obj conftest.*; do
2771 test -f "$ac_file" || continue;
2773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2774 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.$ac_ext >&5
2782 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2783 See \`config.log
' for more details." >&5
2784 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2785 See \`config.log' for more details.
" >&2;}
2786 { (exit 1); exit 1; }; }
2789 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2791 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2792 echo "${ECHO_T}$ac_cv_objext" >&6; }
2793 OBJEXT=$ac_cv_objext
2795 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
2796 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
2797 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2798 echo $ECHO_N "(cached
) $ECHO_C" >&6
2800 cat >conftest.$ac_ext <<_ACEOF
2803 cat confdefs.h >>conftest.$ac_ext
2804 cat >>conftest.$ac_ext <<_ACEOF
2805 /* end confdefs.h. */
2818 rm -f conftest.$ac_objext
2819 if { (ac_try="$ac_compile"
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2824 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2825 (eval "$ac_compile") 2>conftest.er1
2827 grep -v '^ *+' conftest.er1 >conftest.err
2829 cat conftest.err >&5
2830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2831 (exit $ac_status); } && {
2832 test -z "$ac_cxx_werror_flag" ||
2833 test ! -s conftest.err
2834 } && test -s conftest.$ac_objext; then
2837 echo "$as_me: failed program was
:" >&5
2838 sed 's/^/| /' conftest.$ac_ext >&5
2843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2844 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2847 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
2848 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2849 GXX=`test $ac_compiler_gnu = yes && echo yes`
2850 ac_test_CXXFLAGS=${CXXFLAGS+set}
2851 ac_save_CXXFLAGS=$CXXFLAGS
2852 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
2853 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
2854 if test "${ac_cv_prog_cxx_g+set}" = set; then
2855 echo $ECHO_N "(cached
) $ECHO_C" >&6
2857 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2858 ac_cxx_werror_flag=yes
2861 cat >conftest.$ac_ext <<_ACEOF
2864 cat confdefs.h >>conftest.$ac_ext
2865 cat >>conftest.$ac_ext <<_ACEOF
2866 /* end confdefs.h. */
2876 rm -f conftest.$ac_objext
2877 if { (ac_try="$ac_compile"
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2882 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2883 (eval "$ac_compile") 2>conftest.er1
2885 grep -v '^ *+' conftest.er1 >conftest.err
2887 cat conftest.err >&5
2888 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2889 (exit $ac_status); } && {
2890 test -z "$ac_cxx_werror_flag" ||
2891 test ! -s conftest.err
2892 } && test -s conftest.$ac_objext; then
2893 ac_cv_prog_cxx_g=yes
2895 echo "$as_me: failed program was
:" >&5
2896 sed 's/^/| /' conftest.$ac_ext >&5
2899 cat >conftest.$ac_ext <<_ACEOF
2902 cat confdefs.h >>conftest.$ac_ext
2903 cat >>conftest.$ac_ext <<_ACEOF
2904 /* end confdefs.h. */
2914 rm -f conftest.$ac_objext
2915 if { (ac_try="$ac_compile"
2917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2921 (eval "$ac_compile") 2>conftest.er1
2923 grep -v '^ *+' conftest.er1 >conftest.err
2925 cat conftest.err >&5
2926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2927 (exit $ac_status); } && {
2928 test -z "$ac_cxx_werror_flag" ||
2929 test ! -s conftest.err
2930 } && test -s conftest.$ac_objext; then
2933 echo "$as_me: failed program was
:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2938 cat >conftest.$ac_ext <<_ACEOF
2941 cat confdefs.h >>conftest.$ac_ext
2942 cat >>conftest.$ac_ext <<_ACEOF
2943 /* end confdefs.h. */
2953 rm -f conftest.$ac_objext
2954 if { (ac_try="$ac_compile"
2956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957 *) ac_try_echo=$ac_try;;
2959 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2960 (eval "$ac_compile") 2>conftest.er1
2962 grep -v '^ *+' conftest.er1 >conftest.err
2964 cat conftest.err >&5
2965 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2966 (exit $ac_status); } && {
2967 test -z "$ac_cxx_werror_flag" ||
2968 test ! -s conftest.err
2969 } && test -s conftest.$ac_objext; then
2970 ac_cv_prog_cxx_g=yes
2972 echo "$as_me: failed program was
:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2985 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2987 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
2988 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2989 if test "$ac_test_CXXFLAGS" = set; then
2990 CXXFLAGS=$ac_save_CXXFLAGS
2991 elif test $ac_cv_prog_cxx_g = yes; then
2992 if test "$GXX" = yes; then
2998 if test "$GXX" = yes; then
3005 ac_cpp='$CXXCPP $CPPFLAGS'
3006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3009 DEPDIR="${am__leading_dot}deps
"
3011 ac_config_commands="$ac_config_commands depfiles
"
3014 am_make=${MAKE-make}
3015 cat > confinc << 'END'
3020 # If we don't find an include directive, just comment out the code.
3021 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3022 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3026 # First try GNU make style include.
3027 echo "include confinc" > confmf
3028 # We grep out `Entering directory' and `Leaving directory'
3029 # messages which can occur if `w' ends up in MAKEFLAGS.
3030 # In particular we don't look at `^make:' because GNU make might
3031 # be invoked under some other name (usually "gmake"), in which
3032 # case it prints its new name instead of `make'.
3033 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3038 # Now try BSD make style include.
3039 if test "$am__include" = "#"; then
3040 echo '.include "confinc"' > confmf
3041 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3042 am__include
=.include
3049 { echo "$as_me:$LINENO: result: $_am_result" >&5
3050 echo "${ECHO_T}$_am_result" >&6; }
3051 rm -f confinc confmf
3053 # Check whether --enable-dependency-tracking was given.
3054 if test "${enable_dependency_tracking+set}" = set; then
3055 enableval
=$enable_dependency_tracking;
3058 if test "x$enable_dependency_tracking" != xno
; then
3059 am_depcomp
="$ac_aux_dir/depcomp"
3064 if test "x$enable_dependency_tracking" != xno; then
3075 depcc
="$CXX" am_compiler_list
=
3077 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3078 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3079 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3082 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3083 # We make a subdir and do the tests there. Otherwise we can end up
3084 # making bogus files that we don't know about and never remove. For
3085 # instance it was reported that on HP-UX the gcc test will end up
3086 # making a dummy file named `D' -- because `-MD' means `put the output
3089 # Copy depcomp to subdir because otherwise we won't find it if we're
3090 # using a relative directory.
3091 cp "$am_depcomp" conftest.dir
3093 # We will build objects and dependencies in a subdirectory because
3094 # it helps to detect inapplicable dependency modes. For instance
3095 # both Tru64's cc and ICC support -MD to output dependencies as a
3096 # side effect of compilation, but ICC will put the dependencies in
3097 # the current directory while Tru64 will put them in the object
3101 am_cv_CXX_dependencies_compiler_type
=none
3102 if test "$am_compiler_list" = ""; then
3103 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3105 for depmode
in $am_compiler_list; do
3106 # Setup a source with many dependencies, because some compilers
3107 # like to wrap large dependency lists on column 80 (with \), and
3108 # we should not choose a depcomp mode which is confused by this.
3110 # We need to recreate these files for each test, as the compiler may
3111 # overwrite some of them when testing with obscure command lines.
3112 # This happens at least with the AIX C compiler.
3114 for i
in 1 2 3 4 5 6; do
3115 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3116 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3117 # Solaris 8's {/usr,}/bin/sh.
3118 touch sub
/conftst
$i.h
3120 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3124 # after this tag, mechanisms are not by side-effect, so they'll
3125 # only be used when explicitly requested
3126 if test "x$enable_dependency_tracking" = xyes
; then
3134 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3135 # mode. It turns out that the SunPro C++ compiler does not properly
3136 # handle `-M -o', and we need to detect this.
3137 if depmode
=$depmode \
3138 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3139 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3140 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3141 >/dev
/null
2>conftest.err
&&
3142 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3143 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3144 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3145 # icc doesn't choke on unknown options, it will just issue warnings
3146 # or remarks (even with -Werror). So we grep stderr for any message
3147 # that says an option was ignored or not supported.
3148 # When given -MP, icc 7.0 and 7.1 complain thusly:
3149 # icc: Command line warning: ignoring option '-M'; no argument required
3150 # The diagnosis changed in icc 8.0:
3151 # icc: Command line remark: option '-MP' not supported
3152 if (grep 'ignoring option' conftest.err ||
3153 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3154 am_cv_CXX_dependencies_compiler_type
=$depmode
3163 am_cv_CXX_dependencies_compiler_type
=none
3167 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3168 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3169 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3174 test "x$enable_dependency_tracking" != xno \
3175 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3176 am__fastdepCXX_TRUE
=
3177 am__fastdepCXX_FALSE
='#'
3179 am__fastdepCXX_TRUE
='#'
3180 am__fastdepCXX_FALSE
=
3185 # Check whether --enable-shared was given.
3186 if test "${enable_shared+set}" = set; then
3187 enableval
=$enable_shared; p
=${PACKAGE-default}
3189 yes) enable_shared
=yes ;;
3190 no
) enable_shared
=no
;;
3193 # Look at the argument we got. We use all the common list separators.
3194 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3195 for pkg
in $enableval; do
3197 if test "X$pkg" = "X$p"; then
3209 # Check whether --enable-static was given.
3210 if test "${enable_static+set}" = set; then
3211 enableval
=$enable_static; p
=${PACKAGE-default}
3213 yes) enable_static
=yes ;;
3214 no
) enable_static
=no
;;
3217 # Look at the argument we got. We use all the common list separators.
3218 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3219 for pkg
in $enableval; do
3221 if test "X$pkg" = "X$p"; then
3233 # Check whether --enable-fast-install was given.
3234 if test "${enable_fast_install+set}" = set; then
3235 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3237 yes) enable_fast_install
=yes ;;
3238 no
) enable_fast_install
=no
;;
3240 enable_fast_install
=no
3241 # Look at the argument we got. We use all the common list separators.
3242 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3243 for pkg
in $enableval; do
3245 if test "X$pkg" = "X$p"; then
3246 enable_fast_install
=yes
3253 enable_fast_install
=yes
3257 # Make sure we can run config.sub.
3258 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3259 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3260 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3261 { (exit 1); exit 1; }; }
3263 { echo "$as_me:$LINENO: checking build system type" >&5
3264 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3265 if test "${ac_cv_build+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 ac_build_alias
=$build_alias
3269 test "x$ac_build_alias" = x
&&
3270 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3271 test "x$ac_build_alias" = x
&&
3272 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3273 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3274 { (exit 1); exit 1; }; }
3275 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3276 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3277 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3278 { (exit 1); exit 1; }; }
3281 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3282 echo "${ECHO_T}$ac_cv_build" >&6; }
3283 case $ac_cv_build in
3285 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3286 echo "$as_me: error: invalid value of canonical build" >&2;}
3287 { (exit 1); exit 1; }; };;
3290 ac_save_IFS
=$IFS; IFS
='-'
3296 # Remember, the first character of IFS is used to create $*,
3297 # except with old shells:
3300 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3303 { echo "$as_me:$LINENO: checking host system type" >&5
3304 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3305 if test "${ac_cv_host+set}" = set; then
3306 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 if test "x$host_alias" = x
; then
3309 ac_cv_host
=$ac_cv_build
3311 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3312 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3313 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3314 { (exit 1); exit 1; }; }
3318 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3319 echo "${ECHO_T}$ac_cv_host" >&6; }
3322 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3323 echo "$as_me: error: invalid value of canonical host" >&2;}
3324 { (exit 1); exit 1; }; };;
3327 ac_save_IFS
=$IFS; IFS
='-'
3333 # Remember, the first character of IFS is used to create $*,
3334 # except with old shells:
3337 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3341 ac_cpp
='$CPP $CPPFLAGS'
3342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3345 if test -n "$ac_tool_prefix"; then
3346 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3347 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3350 if test "${ac_cv_prog_CC+set}" = set; then
3351 echo $ECHO_N "(cached) $ECHO_C" >&6
3353 if test -n "$CC"; then
3354 ac_cv_prog_CC
="$CC" # Let the user override the test.
3356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3360 test -z "$as_dir" && as_dir
=.
3361 for ac_exec_ext
in '' $ac_executable_extensions; do
3362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3363 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3374 if test -n "$CC"; then
3375 { echo "$as_me:$LINENO: result: $CC" >&5
3376 echo "${ECHO_T}$CC" >&6; }
3378 { echo "$as_me:$LINENO: result: no" >&5
3379 echo "${ECHO_T}no" >&6; }
3384 if test -z "$ac_cv_prog_CC"; then
3386 # Extract the first word of "gcc", so it can be a program name with args.
3387 set dummy gcc
; ac_word
=$2
3388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3390 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3391 echo $ECHO_N "(cached) $ECHO_C" >&6
3393 if test -n "$ac_ct_CC"; then
3394 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3400 test -z "$as_dir" && as_dir
=.
3401 for ac_exec_ext
in '' $ac_executable_extensions; do
3402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3403 ac_cv_prog_ac_ct_CC
="gcc"
3404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3414 if test -n "$ac_ct_CC"; then
3415 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3416 echo "${ECHO_T}$ac_ct_CC" >&6; }
3418 { echo "$as_me:$LINENO: result: no" >&5
3419 echo "${ECHO_T}no" >&6; }
3422 if test "x$ac_ct_CC" = x
; then
3425 case $cross_compiling:$ac_tool_warned in
3427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3428 whose name does not start with the host triplet. If you think this
3429 configuration is useful to you, please write to autoconf@gnu.org." >&5
3430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3431 whose name does not start with the host triplet. If you think this
3432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3433 ac_tool_warned
=yes ;;
3441 if test -z "$CC"; then
3442 if test -n "$ac_tool_prefix"; then
3443 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3444 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3447 if test "${ac_cv_prog_CC+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3450 if test -n "$CC"; then
3451 ac_cv_prog_CC
="$CC" # Let the user override the test.
3453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3457 test -z "$as_dir" && as_dir
=.
3458 for ac_exec_ext
in '' $ac_executable_extensions; do
3459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3460 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3471 if test -n "$CC"; then
3472 { echo "$as_me:$LINENO: result: $CC" >&5
3473 echo "${ECHO_T}$CC" >&6; }
3475 { echo "$as_me:$LINENO: result: no" >&5
3476 echo "${ECHO_T}no" >&6; }
3482 if test -z "$CC"; then
3483 # Extract the first word of "cc", so it can be a program name with args.
3484 set dummy cc
; ac_word
=$2
3485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3487 if test "${ac_cv_prog_CC+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3490 if test -n "$CC"; then
3491 ac_cv_prog_CC
="$CC" # Let the user override the test.
3494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3498 test -z "$as_dir" && as_dir
=.
3499 for ac_exec_ext
in '' $ac_executable_extensions; do
3500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3501 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3502 ac_prog_rejected
=yes
3506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3513 if test $ac_prog_rejected = yes; then
3514 # We found a bogon in the path, so make sure we never use it.
3515 set dummy
$ac_cv_prog_CC
3517 if test $# != 0; then
3518 # We chose a different compiler from the bogus one.
3519 # However, it has the same basename, so the bogon will be chosen
3520 # first if we set CC to just the basename; use the full file name.
3522 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3528 if test -n "$CC"; then
3529 { echo "$as_me:$LINENO: result: $CC" >&5
3530 echo "${ECHO_T}$CC" >&6; }
3532 { echo "$as_me:$LINENO: result: no" >&5
3533 echo "${ECHO_T}no" >&6; }
3538 if test -z "$CC"; then
3539 if test -n "$ac_tool_prefix"; then
3540 for ac_prog
in cl.exe
3542 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3543 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3546 if test "${ac_cv_prog_CC+set}" = set; then
3547 echo $ECHO_N "(cached) $ECHO_C" >&6
3549 if test -n "$CC"; then
3550 ac_cv_prog_CC
="$CC" # Let the user override the test.
3552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3556 test -z "$as_dir" && as_dir
=.
3557 for ac_exec_ext
in '' $ac_executable_extensions; do
3558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3559 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 if test -n "$CC"; then
3571 { echo "$as_me:$LINENO: result: $CC" >&5
3572 echo "${ECHO_T}$CC" >&6; }
3574 { echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6; }
3579 test -n "$CC" && break
3582 if test -z "$CC"; then
3584 for ac_prog
in cl.exe
3586 # Extract the first word of "$ac_prog", so it can be a program name with args.
3587 set dummy
$ac_prog; ac_word
=$2
3588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3590 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3591 echo $ECHO_N "(cached) $ECHO_C" >&6
3593 if test -n "$ac_ct_CC"; then
3594 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3600 test -z "$as_dir" && as_dir
=.
3601 for ac_exec_ext
in '' $ac_executable_extensions; do
3602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3603 ac_cv_prog_ac_ct_CC
="$ac_prog"
3604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3613 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3614 if test -n "$ac_ct_CC"; then
3615 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3616 echo "${ECHO_T}$ac_ct_CC" >&6; }
3618 { echo "$as_me:$LINENO: result: no" >&5
3619 echo "${ECHO_T}no" >&6; }
3623 test -n "$ac_ct_CC" && break
3626 if test "x$ac_ct_CC" = x
; then
3629 case $cross_compiling:$ac_tool_warned in
3631 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3632 whose name does not start with the host triplet. If you think this
3633 configuration is useful to you, please write to autoconf@gnu.org." >&5
3634 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3635 whose name does not start with the host triplet. If you think this
3636 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3637 ac_tool_warned
=yes ;;
3646 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3647 See \`config.log' for more details." >&5
3648 echo "$as_me: error: no acceptable C compiler found in \$PATH
3649 See \`config.log' for more details." >&2;}
3650 { (exit 1); exit 1; }; }
3652 # Provide some information about the compiler.
3653 echo "$as_me:$LINENO: checking for C compiler version" >&5
3654 ac_compiler
=`set X $ac_compile; echo $2`
3655 { (ac_try
="$ac_compiler --version >&5"
3657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3658 *) ac_try_echo=$ac_try;;
3660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3661 (eval "$ac_compiler --version >&5") 2>&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }
3665 { (ac_try="$ac_compiler -v >&5"
3667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3668 *) ac_try_echo
=$ac_try;;
3670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3671 (eval "$ac_compiler -v >&5") 2>&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); }
3675 { (ac_try
="$ac_compiler -V >&5"
3677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3678 *) ac_try_echo=$ac_try;;
3680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3681 (eval "$ac_compiler -V >&5") 2>&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }
3686 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3687 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3688 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3689 echo $ECHO_N "(cached) $ECHO_C" >&6
3691 cat >conftest.$ac_ext <<_ACEOF
3694 cat confdefs.h >>conftest.$ac_ext
3695 cat >>conftest.$ac_ext <<_ACEOF
3696 /* end confdefs.h. */
3709 rm -f conftest.$ac_objext
3710 if { (ac_try="$ac_compile"
3712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3713 *) ac_try_echo
=$ac_try;;
3715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3716 (eval "$ac_compile") 2>conftest.er1
3718 grep -v '^ *+' conftest.er1
>conftest.err
3720 cat conftest.err
>&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); } && {
3723 test -z "$ac_c_werror_flag" ||
3724 test ! -s conftest.err
3725 } && test -s conftest.
$ac_objext; then
3728 echo "$as_me: failed program was:" >&5
3729 sed 's/^/| /' conftest.
$ac_ext >&5
3734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3735 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3738 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3739 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3740 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3741 ac_test_CFLAGS
=${CFLAGS+set}
3742 ac_save_CFLAGS
=$CFLAGS
3743 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3744 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3745 if test "${ac_cv_prog_cc_g+set}" = set; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3748 ac_save_c_werror_flag
=$ac_c_werror_flag
3749 ac_c_werror_flag
=yes
3752 cat >conftest.
$ac_ext <<_ACEOF
3755 cat confdefs.h
>>conftest.
$ac_ext
3756 cat >>conftest.
$ac_ext <<_ACEOF
3757 /* end confdefs.h. */
3767 rm -f conftest.
$ac_objext
3768 if { (ac_try
="$ac_compile"
3770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3771 *) ac_try_echo=$ac_try;;
3773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3774 (eval "$ac_compile") 2>conftest.er1
3776 grep -v '^ *+' conftest.er1 >conftest.err
3778 cat conftest.err >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); } && {
3781 test -z "$ac_c_werror_flag" ||
3782 test ! -s conftest.err
3783 } && test -s conftest.$ac_objext; then
3786 echo "$as_me: failed program was:" >&5
3787 sed 's/^/| /' conftest.$ac_ext >&5
3790 cat >conftest.$ac_ext <<_ACEOF
3793 cat confdefs.h >>conftest.$ac_ext
3794 cat >>conftest.$ac_ext <<_ACEOF
3795 /* end confdefs.h. */
3805 rm -f conftest.$ac_objext
3806 if { (ac_try="$ac_compile"
3808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3809 *) ac_try_echo
=$ac_try;;
3811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3812 (eval "$ac_compile") 2>conftest.er1
3814 grep -v '^ *+' conftest.er1
>conftest.err
3816 cat conftest.err
>&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); } && {
3819 test -z "$ac_c_werror_flag" ||
3820 test ! -s conftest.err
3821 } && test -s conftest.
$ac_objext; then
3824 echo "$as_me: failed program was:" >&5
3825 sed 's/^/| /' conftest.
$ac_ext >&5
3827 ac_c_werror_flag
=$ac_save_c_werror_flag
3829 cat >conftest.
$ac_ext <<_ACEOF
3832 cat confdefs.h
>>conftest.
$ac_ext
3833 cat >>conftest.
$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3844 rm -f conftest.
$ac_objext
3845 if { (ac_try
="$ac_compile"
3847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3851 (eval "$ac_compile") 2>conftest.er1
3853 grep -v '^ *+' conftest.er1 >conftest.err
3855 cat conftest.err >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } && {
3858 test -z "$ac_c_werror_flag" ||
3859 test ! -s conftest.err
3860 } && test -s conftest.$ac_objext; then
3863 echo "$as_me: failed program was:" >&5
3864 sed 's/^/| /' conftest.$ac_ext >&5
3869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3876 ac_c_werror_flag=$ac_save_c_werror_flag
3878 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3879 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3880 if test "$ac_test_CFLAGS" = set; then
3881 CFLAGS=$ac_save_CFLAGS
3882 elif test $ac_cv_prog_cc_g = yes; then
3883 if test "$GCC" = yes; then
3889 if test "$GCC" = yes; then
3895 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3896 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3897 if test "${ac_cv_prog_cc_c89+set}" = set; then
3898 echo $ECHO_N "(cached) $ECHO_C" >&6
3900 ac_cv_prog_cc_c89=no
3902 cat >conftest.$ac_ext <<_ACEOF
3905 cat confdefs.h >>conftest.$ac_ext
3906 cat >>conftest.$ac_ext <<_ACEOF
3907 /* end confdefs.h. */
3910 #include <sys/types.h>
3911 #include <sys/stat.h>
3912 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3913 struct buf { int x; };
3914 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3915 static char *e (p, i)
3921 static char *f (char * (*g) (char **, int), char **p, ...)
3926 s = g (p, va_arg (v,int));
3931 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3932 function prototypes and stuff, but not '\xHH' hex character constants.
3933 These don't provoke an error unfortunately, instead are silently treated
3934 as 'x'. The following induces an error, until -std is added to get
3935 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3936 array size at least. It's necessary to write '\x00'==0 to get something
3937 that's true only with -std. */
3938 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3940 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3941 inside strings and character constants. */
3943 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3945 int test (int i, double x);
3946 struct s1 {int (*f) (int a);};
3947 struct s2 {int (*f) (double a);};
3948 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3954 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3959 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3960 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3962 CC="$ac_save_CC $ac_arg"
3963 rm -f conftest.$ac_objext
3964 if { (ac_try="$ac_compile"
3966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3967 *) ac_try_echo
=$ac_try;;
3969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3970 (eval "$ac_compile") 2>conftest.er1
3972 grep -v '^ *+' conftest.er1
>conftest.err
3974 cat conftest.err
>&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } && {
3977 test -z "$ac_c_werror_flag" ||
3978 test ! -s conftest.err
3979 } && test -s conftest.
$ac_objext; then
3980 ac_cv_prog_cc_c89
=$ac_arg
3982 echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.
$ac_ext >&5
3988 rm -f core conftest.err conftest.
$ac_objext
3989 test "x$ac_cv_prog_cc_c89" != "xno" && break
3991 rm -f conftest.
$ac_ext
3996 case "x$ac_cv_prog_cc_c89" in
3998 { echo "$as_me:$LINENO: result: none needed" >&5
3999 echo "${ECHO_T}none needed" >&6; } ;;
4001 { echo "$as_me:$LINENO: result: unsupported" >&5
4002 echo "${ECHO_T}unsupported" >&6; } ;;
4004 CC
="$CC $ac_cv_prog_cc_c89"
4005 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4006 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4011 ac_cpp
='$CXXCPP $CPPFLAGS'
4012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4016 depcc
="$CC" am_compiler_list
=
4018 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4019 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4020 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4021 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4024 # We make a subdir and do the tests there. Otherwise we can end up
4025 # making bogus files that we don't know about and never remove. For
4026 # instance it was reported that on HP-UX the gcc test will end up
4027 # making a dummy file named `D' -- because `-MD' means `put the output
4030 # Copy depcomp to subdir because otherwise we won't find it if we're
4031 # using a relative directory.
4032 cp "$am_depcomp" conftest.dir
4034 # We will build objects and dependencies in a subdirectory because
4035 # it helps to detect inapplicable dependency modes. For instance
4036 # both Tru64's cc and ICC support -MD to output dependencies as a
4037 # side effect of compilation, but ICC will put the dependencies in
4038 # the current directory while Tru64 will put them in the object
4042 am_cv_CC_dependencies_compiler_type
=none
4043 if test "$am_compiler_list" = ""; then
4044 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4046 for depmode
in $am_compiler_list; do
4047 # Setup a source with many dependencies, because some compilers
4048 # like to wrap large dependency lists on column 80 (with \), and
4049 # we should not choose a depcomp mode which is confused by this.
4051 # We need to recreate these files for each test, as the compiler may
4052 # overwrite some of them when testing with obscure command lines.
4053 # This happens at least with the AIX C compiler.
4055 for i
in 1 2 3 4 5 6; do
4056 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4057 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4058 # Solaris 8's {/usr,}/bin/sh.
4059 touch sub
/conftst
$i.h
4061 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4065 # after this tag, mechanisms are not by side-effect, so they'll
4066 # only be used when explicitly requested
4067 if test "x$enable_dependency_tracking" = xyes
; then
4075 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4076 # mode. It turns out that the SunPro C++ compiler does not properly
4077 # handle `-M -o', and we need to detect this.
4078 if depmode
=$depmode \
4079 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4080 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4081 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4082 >/dev
/null
2>conftest.err
&&
4083 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4084 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4085 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4086 # icc doesn't choke on unknown options, it will just issue warnings
4087 # or remarks (even with -Werror). So we grep stderr for any message
4088 # that says an option was ignored or not supported.
4089 # When given -MP, icc 7.0 and 7.1 complain thusly:
4090 # icc: Command line warning: ignoring option '-M'; no argument required
4091 # The diagnosis changed in icc 8.0:
4092 # icc: Command line remark: option '-MP' not supported
4093 if (grep 'ignoring option' conftest.err ||
4094 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4095 am_cv_CC_dependencies_compiler_type
=$depmode
4104 am_cv_CC_dependencies_compiler_type
=none
4108 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4109 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4110 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4115 test "x$enable_dependency_tracking" != xno \
4116 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4118 am__fastdepCC_FALSE
='#'
4120 am__fastdepCC_TRUE
='#'
4121 am__fastdepCC_FALSE
=
4125 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4126 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4127 if test "${lt_cv_path_SED+set}" = set; then
4128 echo $ECHO_N "(cached) $ECHO_C" >&6
4130 # Loop through the user's path and test for sed and gsed.
4131 # Then use that list of sed's as ones to test for truncation.
4132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4136 test -z "$as_dir" && as_dir
=.
4137 for lt_ac_prog
in sed gsed
; do
4138 for ac_exec_ext
in '' $ac_executable_extensions; do
4139 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4140 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4147 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4148 # along with /bin/sed that truncates output.
4149 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4150 test ! -f $lt_ac_sed && break
4151 cat /dev
/null
> conftest.
in
4153 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4154 # Check for GNU sed and select it if it is found.
4155 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4156 lt_cv_path_SED
=$lt_ac_sed
4160 cat conftest.
in conftest.
in >conftest.tmp
4161 mv conftest.tmp conftest.
in
4162 cp conftest.
in conftest.
nl
4164 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4165 cmp -s conftest.out conftest.
nl ||
break
4166 # 10000 chars as input seems more than enough
4167 test $lt_ac_count -gt 10 && break
4168 lt_ac_count
=`expr $lt_ac_count + 1`
4169 if test $lt_ac_count -gt $lt_ac_max; then
4170 lt_ac_max
=$lt_ac_count
4171 lt_cv_path_SED
=$lt_ac_sed
4179 { echo "$as_me:$LINENO: result: $SED" >&5
4180 echo "${ECHO_T}$SED" >&6; }
4182 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4183 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4184 if test "${ac_cv_path_GREP+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 # Extract the first word of "grep ggrep" to use in msg output
4188 if test -z "$GREP"; then
4189 set dummy
grep ggrep
; ac_prog_name
=$2
4190 if test "${ac_cv_path_GREP+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 ac_path_GREP_found
=false
4194 # Loop through the user's path and test for each of PROGNAME-LIST
4195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4196 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4199 test -z "$as_dir" && as_dir
=.
4200 for ac_prog
in grep ggrep
; do
4201 for ac_exec_ext
in '' $ac_executable_extensions; do
4202 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4203 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4204 # Check for GNU ac_path_GREP and select it if it is found.
4205 # Check for GNU $ac_path_GREP
4206 case `"$ac_path_GREP" --version 2>&1` in
4208 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4211 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4214 cat "conftest.in" "conftest.in" >"conftest.tmp"
4215 mv "conftest.tmp" "conftest.in"
4216 cp "conftest.in" "conftest.nl"
4217 echo 'GREP' >> "conftest.nl"
4218 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4219 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4220 ac_count
=`expr $ac_count + 1`
4221 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4222 # Best one so far, save it but keep looking for a better one
4223 ac_cv_path_GREP
="$ac_path_GREP"
4224 ac_path_GREP_max
=$ac_count
4226 # 10*(2^10) chars as input seems more than enough
4227 test $ac_count -gt 10 && break
4229 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4233 $ac_path_GREP_found && break 3
4243 GREP
="$ac_cv_path_GREP"
4244 if test -z "$GREP"; then
4245 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4246 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4247 { (exit 1); exit 1; }; }
4251 ac_cv_path_GREP
=$GREP
4256 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4257 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4258 GREP
="$ac_cv_path_GREP"
4261 { echo "$as_me:$LINENO: checking for egrep" >&5
4262 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4263 if test "${ac_cv_path_EGREP+set}" = set; then
4264 echo $ECHO_N "(cached) $ECHO_C" >&6
4266 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4267 then ac_cv_path_EGREP
="$GREP -E"
4269 # Extract the first word of "egrep" to use in msg output
4270 if test -z "$EGREP"; then
4271 set dummy
egrep; ac_prog_name
=$2
4272 if test "${ac_cv_path_EGREP+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 ac_path_EGREP_found
=false
4276 # Loop through the user's path and test for each of PROGNAME-LIST
4277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4278 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4281 test -z "$as_dir" && as_dir
=.
4282 for ac_prog
in egrep; do
4283 for ac_exec_ext
in '' $ac_executable_extensions; do
4284 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4285 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4286 # Check for GNU ac_path_EGREP and select it if it is found.
4287 # Check for GNU $ac_path_EGREP
4288 case `"$ac_path_EGREP" --version 2>&1` in
4290 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4293 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4296 cat "conftest.in" "conftest.in" >"conftest.tmp"
4297 mv "conftest.tmp" "conftest.in"
4298 cp "conftest.in" "conftest.nl"
4299 echo 'EGREP' >> "conftest.nl"
4300 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4301 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4302 ac_count
=`expr $ac_count + 1`
4303 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4304 # Best one so far, save it but keep looking for a better one
4305 ac_cv_path_EGREP
="$ac_path_EGREP"
4306 ac_path_EGREP_max
=$ac_count
4308 # 10*(2^10) chars as input seems more than enough
4309 test $ac_count -gt 10 && break
4311 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4315 $ac_path_EGREP_found && break 3
4325 EGREP
="$ac_cv_path_EGREP"
4326 if test -z "$EGREP"; then
4327 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4328 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4329 { (exit 1); exit 1; }; }
4333 ac_cv_path_EGREP
=$EGREP
4339 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4340 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4341 EGREP
="$ac_cv_path_EGREP"
4345 # Check whether --with-gnu-ld was given.
4346 if test "${with_gnu_ld+set}" = set; then
4347 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4353 if test "$GCC" = yes; then
4354 # Check if gcc -print-prog-name=ld gives a path.
4355 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4356 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4359 # gcc leaves a trailing carriage return which upsets mingw
4360 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4362 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4365 # Accept absolute paths.
4367 re_direlt
='/[^/][^/]*/\.\./'
4368 # Canonicalize the pathname of ld
4369 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4370 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4371 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4373 test -z "$LD" && LD
="$ac_prog"
4376 # If it fails, then pretend we aren't using GCC.
4380 # If it is relative, then search for the first ld in PATH.
4384 elif test "$with_gnu_ld" = yes; then
4385 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4386 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4388 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4389 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4391 if test "${lt_cv_path_LD+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 if test -z "$LD"; then
4395 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4396 for ac_dir
in $PATH; do
4398 test -z "$ac_dir" && ac_dir
=.
4399 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4400 lt_cv_path_LD
="$ac_dir/$ac_prog"
4401 # Check to see if the program is GNU ld. I'd rather use --version,
4402 # but apparently some GNU ld's only accept -v.
4403 # Break only if it was the GNU/non-GNU ld that we prefer.
4404 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4405 *GNU
* |
*'with BFD'*)
4406 test "$with_gnu_ld" != no
&& break
4409 test "$with_gnu_ld" != yes && break
4416 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4421 if test -n "$LD"; then
4422 { echo "$as_me:$LINENO: result: $LD" >&5
4423 echo "${ECHO_T}$LD" >&6; }
4425 { echo "$as_me:$LINENO: result: no" >&5
4426 echo "${ECHO_T}no" >&6; }
4428 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4429 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4430 { (exit 1); exit 1; }; }
4431 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4432 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4433 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4434 echo $ECHO_N "(cached) $ECHO_C" >&6
4436 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4437 case `$LD -v 2>&1 </dev/null` in
4438 *GNU
* |
*'with BFD'*)
4439 lt_cv_prog_gnu_ld
=yes
4442 lt_cv_prog_gnu_ld
=no
4446 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4447 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4448 with_gnu_ld
=$lt_cv_prog_gnu_ld
4451 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4452 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4453 if test "${lt_cv_ld_reload_flag+set}" = set; then
4454 echo $ECHO_N "(cached) $ECHO_C" >&6
4456 lt_cv_ld_reload_flag
='-r'
4458 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4459 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4460 reload_flag
=$lt_cv_ld_reload_flag
4461 case $reload_flag in
4463 *) reload_flag
=" $reload_flag" ;;
4465 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4467 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4468 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4469 if test "${lt_cv_path_NM+set}" = set; then
4470 echo $ECHO_N "(cached) $ECHO_C" >&6
4472 if test -n "$NM"; then
4473 # Let the user override the test.
4476 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4477 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4479 test -z "$ac_dir" && ac_dir
=.
4480 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
4481 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4482 # Check to see if the nm accepts a BSD-compat flag.
4483 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4484 # nm: unknown option "B" ignored
4485 # Tru64's nm complains that /dev/null is an invalid object file
4486 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4487 */dev
/null
* |
*'Invalid file or object type'*)
4488 lt_cv_path_NM
="$tmp_nm -B"
4492 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4494 lt_cv_path_NM
="$tmp_nm -p"
4498 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4499 continue # so that we can try to find one that supports BSD flags
4506 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4509 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4510 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4513 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4514 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4516 if test "$LN_S" = "ln -s"; then
4517 { echo "$as_me:$LINENO: result: yes" >&5
4518 echo "${ECHO_T}yes" >&6; }
4520 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4521 echo "${ECHO_T}no, using $LN_S" >&6; }
4524 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4525 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4526 if test "${lt_cv_deplibs_check_method+set}" = set; then
4527 echo $ECHO_N "(cached) $ECHO_C" >&6
4529 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4530 lt_cv_file_magic_test_file
=
4531 lt_cv_deplibs_check_method
='unknown'
4532 # Need to set the preceding variable on all platforms that support
4533 # interlibrary dependencies.
4534 # 'none' -- dependencies not supported.
4535 # `unknown' -- same as none, but documents that we really don't know.
4536 # 'pass_all' -- all dependencies passed with no checks.
4537 # 'test_compile' -- check by making test program.
4538 # 'file_magic [[regex]]' -- check by looking for files in library path
4539 # which responds to the $file_magic_cmd with a given extended regex.
4540 # If you have `file' or equivalent on your system and you're not sure
4541 # whether `pass_all' will *always* work, you probably want this one.
4545 lt_cv_deplibs_check_method
=pass_all
4549 lt_cv_deplibs_check_method
=pass_all
4553 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4554 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4555 lt_cv_file_magic_test_file
=/shlib
/libc.so
4559 # func_win32_libid is a shell function defined in ltmain.sh
4560 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4561 lt_cv_file_magic_cmd
='func_win32_libid'
4565 # Base MSYS/MinGW do not provide the 'file' command needed by
4566 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4567 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4568 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4571 darwin
* | rhapsody
*)
4572 lt_cv_deplibs_check_method
=pass_all
4575 freebsd
* | kfreebsd
*-gnu)
4576 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4579 # Not sure whether the presence of OpenBSD here was a mistake.
4580 # Let's accept both of them until this is cleared up.
4581 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4582 lt_cv_file_magic_cmd
=/usr
/bin
/file
4583 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4587 lt_cv_deplibs_check_method
=pass_all
4592 lt_cv_deplibs_check_method
=pass_all
4595 hpux10.20
* | hpux11
*)
4596 lt_cv_file_magic_cmd
=/usr
/bin
/file
4599 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4600 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4603 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]'
4604 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4607 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4608 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4613 irix5
* | irix6
* | nonstopux
*)
4615 *-32|
*"-32 ") libmagic
=32-bit;;
4616 *-n32|
*"-n32 ") libmagic
=N32
;;
4617 *-64|
*"-64 ") libmagic
=64-bit;;
4618 *) libmagic
=never-match
;;
4620 lt_cv_deplibs_check_method
=pass_all
4623 # This must be Linux ELF.
4626 alpha
*|hppa
*|i
*86|ia64
*|m68
*|mips
*|powerpc
*|sparc
*|s390
*|sh
*|x86_64
*)
4627 lt_cv_deplibs_check_method
=pass_all
;;
4629 # glibc up to 2.1.1 does not perform some relocations on ARM
4630 # this will be overridden with pass_all, but let us keep it just in case
4631 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4633 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
4634 lt_cv_deplibs_check_method
=pass_all
4638 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4639 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4641 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4646 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4647 lt_cv_file_magic_cmd
=/usr
/bin
/file
4648 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4652 lt_cv_deplibs_check_method
=unknown
4656 lt_cv_file_magic_cmd
=/usr
/bin
/file
4657 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4658 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4659 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4661 lt_cv_deplibs_check_method
='file_magic OpenBSD.* shared library'
4665 osf3
* | osf4
* | osf5
*)
4666 lt_cv_deplibs_check_method
=pass_all
4670 lt_cv_deplibs_check_method
=pass_all
4674 lt_cv_deplibs_check_method
=pass_all
4677 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4678 case $host_vendor in
4680 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]'
4681 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4684 lt_cv_deplibs_check_method
=pass_all
4687 lt_cv_file_magic_cmd
='/bin/file'
4688 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4691 lt_cv_file_magic_cmd
='/bin/file'
4692 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4693 lt_cv_file_magic_test_file
=/lib
/libc.so
4696 lt_cv_deplibs_check_method
=pass_all
4701 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
4702 lt_cv_deplibs_check_method
=pass_all
4707 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4708 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4709 file_magic_cmd
=$lt_cv_file_magic_cmd
4710 deplibs_check_method
=$lt_cv_deplibs_check_method
4711 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4716 # If no C compiler was specified, use CC.
4719 # Allow CC to be a program name with arguments.
4723 # Check whether --enable-libtool-lock was given.
4724 if test "${enable_libtool_lock+set}" = set; then
4725 enableval
=$enable_libtool_lock;
4728 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4730 # Some flags need to be propagated to the compiler or linker for good
4734 # Find out which ABI we are using.
4735 echo 'int i;' > conftest.
$ac_ext
4736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4737 (eval $ac_compile) 2>&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; then
4741 case `/usr/bin/file conftest.$ac_objext` in
4753 # Find out which ABI we are using.
4754 echo '#line 4754 "configure"' > conftest.
$ac_ext
4755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4756 (eval $ac_compile) 2>&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); }; then
4760 if test "$lt_cv_prog_gnu_ld" = yes; then
4761 case `/usr/bin/file conftest.$ac_objext` in
4763 LD
="${LD-ld} -melf32bsmip"
4766 LD
="${LD-ld} -melf32bmipn32"
4769 LD
="${LD-ld} -melf64bmip"
4773 case `/usr/bin/file conftest.$ac_objext` in
4789 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4790 # Find out which ABI we are using.
4791 echo 'int i;' > conftest.
$ac_ext
4792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4793 (eval $ac_compile) 2>&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); }; then
4797 case "`/usr/bin/file conftest.o`" in
4801 LD
="${LD-ld} -m elf_i386"
4803 ppc64-
*linux
*|powerpc64-
*linux
*)
4804 LD
="${LD-ld} -m elf32ppclinux"
4807 LD
="${LD-ld} -m elf_s390"
4810 LD
="${LD-ld} -m elf32_sparc"
4817 LD
="${LD-ld} -m elf_x86_64"
4819 ppc
*-*linux
*|powerpc
*-*linux
*)
4820 LD
="${LD-ld} -m elf64ppc"
4823 LD
="${LD-ld} -m elf64_s390"
4826 LD
="${LD-ld} -m elf64_sparc"
4836 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4837 SAVE_CFLAGS
="$CFLAGS"
4838 CFLAGS
="$CFLAGS -belf"
4839 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4840 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4841 if test "${lt_cv_cc_needs_belf+set}" = set; then
4842 echo $ECHO_N "(cached) $ECHO_C" >&6
4845 ac_cpp
='$CPP $CPPFLAGS'
4846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4850 cat >conftest.
$ac_ext <<_ACEOF
4853 cat confdefs.h
>>conftest.
$ac_ext
4854 cat >>conftest.
$ac_ext <<_ACEOF
4855 /* end confdefs.h. */
4865 rm -f conftest.
$ac_objext conftest
$ac_exeext
4866 if { (ac_try
="$ac_link"
4868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4869 *) ac_try_echo=$ac_try;;
4871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4872 (eval "$ac_link") 2>conftest.er1
4874 grep -v '^ *+' conftest.er1 >conftest.err
4876 cat conftest.err >&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); } && {
4879 test -z "$ac_c_werror_flag" ||
4880 test ! -s conftest.err
4881 } && test -s conftest$ac_exeext &&
4882 $as_test_x conftest$ac_exeext; then
4883 lt_cv_cc_needs_belf=yes
4885 echo "$as_me: failed program was:" >&5
4886 sed 's/^/| /' conftest.$ac_ext >&5
4888 lt_cv_cc_needs_belf=no
4891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4892 conftest$ac_exeext conftest.$ac_ext
4894 ac_cpp='$CPP $CPPFLAGS'
4895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4900 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4901 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4902 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4903 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4904 CFLAGS="$SAVE_CFLAGS"
4910 need_locks="$enable_libtool_lock"
4914 ac_cpp='$CPP $CPPFLAGS'
4915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4918 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4919 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4920 # On Suns, sometimes $CPP names a directory.
4921 if test -n "$CPP" && test -d "$CPP"; then
4924 if test -z "$CPP"; then
4925 if test "${ac_cv_prog_CPP+set}" = set; then
4926 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 # Double quotes because CPP needs to be expanded
4929 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4932 for ac_c_preproc_warn_flag in '' yes
4934 # Use a header file that comes with gcc, so configuring glibc
4935 # with a fresh cross-compiler works.
4936 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4937 # <limits.h> exists even on freestanding compilers.
4938 # On the NeXT, cc -E runs the code through the compiler's parser,
4939 # not just through cpp. "Syntax error" is here to catch this case.
4940 cat >conftest.$ac_ext <<_ACEOF
4943 cat confdefs.h >>conftest.$ac_ext
4944 cat >>conftest.$ac_ext <<_ACEOF
4945 /* end confdefs.h. */
4947 # include <limits.h>
4949 # include <assert.h>
4953 if { (ac_try="$ac_cpp conftest.$ac_ext"
4955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4956 *) ac_try_echo
=$ac_try;;
4958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4961 grep -v '^ *+' conftest.er1
>conftest.err
4963 cat conftest.err
>&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); } >/dev
/null
&& {
4966 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4967 test ! -s conftest.err
4971 echo "$as_me: failed program was:" >&5
4972 sed 's/^/| /' conftest.
$ac_ext >&5
4974 # Broken: fails on valid input.
4978 rm -f conftest.err conftest.
$ac_ext
4980 # OK, works on sane cases. Now check whether nonexistent headers
4981 # can be detected and how.
4982 cat >conftest.
$ac_ext <<_ACEOF
4985 cat confdefs.h
>>conftest.
$ac_ext
4986 cat >>conftest.
$ac_ext <<_ACEOF
4987 /* end confdefs.h. */
4988 #include <ac_nonexistent.h>
4990 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4993 *) ac_try_echo=$ac_try;;
4995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4996 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4998 grep -v '^ *+' conftest.er1 >conftest.err
5000 cat conftest.err >&5
5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 (exit $ac_status); } >/dev/null && {
5003 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5004 test ! -s conftest.err
5006 # Broken: success on invalid input.
5009 echo "$as_me: failed program was:" >&5
5010 sed 's/^/| /' conftest.$ac_ext >&5
5012 # Passes both tests.
5017 rm -f conftest.err conftest.$ac_ext
5020 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5021 rm -f conftest.err conftest.
$ac_ext
5022 if $ac_preproc_ok; then
5034 { echo "$as_me:$LINENO: result: $CPP" >&5
5035 echo "${ECHO_T}$CPP" >&6; }
5037 for ac_c_preproc_warn_flag
in '' yes
5039 # Use a header file that comes with gcc, so configuring glibc
5040 # with a fresh cross-compiler works.
5041 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5042 # <limits.h> exists even on freestanding compilers.
5043 # On the NeXT, cc -E runs the code through the compiler's parser,
5044 # not just through cpp. "Syntax error" is here to catch this case.
5045 cat >conftest.
$ac_ext <<_ACEOF
5048 cat confdefs.h
>>conftest.
$ac_ext
5049 cat >>conftest.
$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5052 # include <limits.h>
5054 # include <assert.h>
5058 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5061 *) ac_try_echo=$ac_try;;
5063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5064 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5066 grep -v '^ *+' conftest.er1 >conftest.err
5068 cat conftest.err >&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); } >/dev/null && {
5071 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5072 test ! -s conftest.err
5076 echo "$as_me: failed program was:" >&5
5077 sed 's/^/| /' conftest.$ac_ext >&5
5079 # Broken: fails on valid input.
5083 rm -f conftest.err conftest.$ac_ext
5085 # OK, works on sane cases. Now check whether nonexistent headers
5086 # can be detected and how.
5087 cat >conftest.$ac_ext <<_ACEOF
5090 cat confdefs.h >>conftest.$ac_ext
5091 cat >>conftest.$ac_ext <<_ACEOF
5092 /* end confdefs.h. */
5093 #include <ac_nonexistent.h>
5095 if { (ac_try="$ac_cpp conftest.$ac_ext"
5097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5098 *) ac_try_echo
=$ac_try;;
5100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5101 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5103 grep -v '^ *+' conftest.er1
>conftest.err
5105 cat conftest.err
>&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); } >/dev
/null
&& {
5108 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5109 test ! -s conftest.err
5111 # Broken: success on invalid input.
5114 echo "$as_me: failed program was:" >&5
5115 sed 's/^/| /' conftest.
$ac_ext >&5
5117 # Passes both tests.
5122 rm -f conftest.err conftest.
$ac_ext
5125 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5126 rm -f conftest.err conftest.
$ac_ext
5127 if $ac_preproc_ok; then
5130 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5131 See \`config.log' for more details." >&5
5132 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5133 See \`config.log' for more details." >&2;}
5134 { (exit 1); exit 1; }; }
5138 ac_cpp
='$CPP $CPPFLAGS'
5139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5144 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5145 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5146 if test "${ac_cv_header_stdc+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 cat >conftest.
$ac_ext <<_ACEOF
5152 cat confdefs.h
>>conftest.
$ac_ext
5153 cat >>conftest.
$ac_ext <<_ACEOF
5154 /* end confdefs.h. */
5168 rm -f conftest.
$ac_objext
5169 if { (ac_try
="$ac_compile"
5171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5172 *) ac_try_echo=$ac_try;;
5174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5175 (eval "$ac_compile") 2>conftest.er1
5177 grep -v '^ *+' conftest.er1 >conftest.err
5179 cat conftest.err >&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); } && {
5182 test -z "$ac_c_werror_flag" ||
5183 test ! -s conftest.err
5184 } && test -s conftest.$ac_objext; then
5185 ac_cv_header_stdc=yes
5187 echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.$ac_ext >&5
5190 ac_cv_header_stdc=no
5193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5195 if test $ac_cv_header_stdc = yes; then
5196 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5197 cat >conftest.$ac_ext <<_ACEOF
5200 cat confdefs.h >>conftest.$ac_ext
5201 cat >>conftest.$ac_ext <<_ACEOF
5202 /* end confdefs.h. */
5206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5207 $EGREP "memchr" >/dev/null 2>&1; then
5210 ac_cv_header_stdc=no
5216 if test $ac_cv_header_stdc = yes; then
5217 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5218 cat >conftest.$ac_ext <<_ACEOF
5221 cat confdefs.h >>conftest.$ac_ext
5222 cat >>conftest.$ac_ext <<_ACEOF
5223 /* end confdefs.h. */
5227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5228 $EGREP "free" >/dev/null 2>&1; then
5231 ac_cv_header_stdc=no
5237 if test $ac_cv_header_stdc = yes; then
5238 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5239 if test "$cross_compiling" = yes; then
5242 cat >conftest.$ac_ext <<_ACEOF
5245 cat confdefs.h >>conftest.$ac_ext
5246 cat >>conftest.$ac_ext <<_ACEOF
5247 /* end confdefs.h. */
5250 #if ((' ' & 0x0FF) == 0x020)
5251 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5252 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5254 # define ISLOWER(c) \
5255 (('a' <= (c) && (c) <= 'i') \
5256 || ('j' <= (c) && (c) <= 'r') \
5257 || ('s' <= (c) && (c) <= 'z'))
5258 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5261 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5266 for (i = 0; i < 256; i++)
5267 if (XOR (islower (i), ISLOWER (i))
5268 || toupper (i) != TOUPPER (i))
5273 rm -f conftest$ac_exeext
5274 if { (ac_try="$ac_link"
5276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5277 *) ac_try_echo
=$ac_try;;
5279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5280 (eval "$ac_link") 2>&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5284 { (case "(($ac_try" in
5285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5286 *) ac_try_echo=$ac_try;;
5288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5289 (eval "$ac_try") 2>&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); }; }; then
5295 echo "$as_me: program exited with status $ac_status" >&5
5296 echo "$as_me: failed program was:" >&5
5297 sed 's/^/| /' conftest.$ac_ext >&5
5300 ac_cv_header_stdc=no
5302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5308 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5309 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5310 if test $ac_cv_header_stdc = yes; then
5312 cat >>confdefs.h <<\_ACEOF
5313 #define STDC_HEADERS 1
5318 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5328 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5329 inttypes.h stdint.h unistd.h
5331 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5332 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5334 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5335 echo $ECHO_N "(cached) $ECHO_C" >&6
5337 cat >conftest.$ac_ext <<_ACEOF
5340 cat confdefs.h >>conftest.$ac_ext
5341 cat >>conftest.$ac_ext <<_ACEOF
5342 /* end confdefs.h. */
5343 $ac_includes_default
5345 #include <$ac_header>
5347 rm -f conftest.$ac_objext
5348 if { (ac_try="$ac_compile"
5350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5351 *) ac_try_echo
=$ac_try;;
5353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5354 (eval "$ac_compile") 2>conftest.er1
5356 grep -v '^ *+' conftest.er1
>conftest.err
5358 cat conftest.err
>&5
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); } && {
5361 test -z "$ac_c_werror_flag" ||
5362 test ! -s conftest.err
5363 } && test -s conftest.
$ac_objext; then
5364 eval "$as_ac_Header=yes"
5366 echo "$as_me: failed program was:" >&5
5367 sed 's/^/| /' conftest.
$ac_ext >&5
5369 eval "$as_ac_Header=no"
5372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5374 ac_res
=`eval echo '${'$as_ac_Header'}'`
5375 { echo "$as_me:$LINENO: result: $ac_res" >&5
5376 echo "${ECHO_T}$ac_res" >&6; }
5377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5378 cat >>confdefs.h
<<_ACEOF
5379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5388 for ac_header
in dlfcn.h
5390 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5391 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5392 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5394 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5395 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 ac_res
=`eval echo '${'$as_ac_Header'}'`
5398 { echo "$as_me:$LINENO: result: $ac_res" >&5
5399 echo "${ECHO_T}$ac_res" >&6; }
5401 # Is the header compilable?
5402 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5403 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5404 cat >conftest.
$ac_ext <<_ACEOF
5407 cat confdefs.h
>>conftest.
$ac_ext
5408 cat >>conftest.
$ac_ext <<_ACEOF
5409 /* end confdefs.h. */
5410 $ac_includes_default
5411 #include <$ac_header>
5413 rm -f conftest.
$ac_objext
5414 if { (ac_try
="$ac_compile"
5416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5417 *) ac_try_echo=$ac_try;;
5419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5420 (eval "$ac_compile") 2>conftest.er1
5422 grep -v '^ *+' conftest.er1 >conftest.err
5424 cat conftest.err >&5
5425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426 (exit $ac_status); } && {
5427 test -z "$ac_c_werror_flag" ||
5428 test ! -s conftest.err
5429 } && test -s conftest.$ac_objext; then
5430 ac_header_compiler=yes
5432 echo "$as_me: failed program was:" >&5
5433 sed 's/^/| /' conftest.$ac_ext >&5
5435 ac_header_compiler=no
5438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5439 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5440 echo "${ECHO_T}$ac_header_compiler" >&6; }
5442 # Is the header present?
5443 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5444 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5445 cat >conftest.$ac_ext <<_ACEOF
5448 cat confdefs.h >>conftest.$ac_ext
5449 cat >>conftest.$ac_ext <<_ACEOF
5450 /* end confdefs.h. */
5451 #include <$ac_header>
5453 if { (ac_try="$ac_cpp conftest.$ac_ext"
5455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5456 *) ac_try_echo
=$ac_try;;
5458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5461 grep -v '^ *+' conftest.er1
>conftest.err
5463 cat conftest.err
>&5
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); } >/dev
/null
&& {
5466 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5467 test ! -s conftest.err
5469 ac_header_preproc
=yes
5471 echo "$as_me: failed program was:" >&5
5472 sed 's/^/| /' conftest.
$ac_ext >&5
5474 ac_header_preproc
=no
5477 rm -f conftest.err conftest.
$ac_ext
5478 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5479 echo "${ECHO_T}$ac_header_preproc" >&6; }
5481 # So? What about this header?
5482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5484 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5485 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5486 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5487 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5488 ac_header_preproc
=yes
5491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5492 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5494 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5495 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5496 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5497 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5498 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5501 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5502 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5508 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5509 echo $ECHO_N "(cached) $ECHO_C" >&6
5511 eval "$as_ac_Header=\$ac_header_preproc"
5513 ac_res
=`eval echo '${'$as_ac_Header'}'`
5514 { echo "$as_me:$LINENO: result: $ac_res" >&5
5515 echo "${ECHO_T}$ac_res" >&6; }
5518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5519 cat >>confdefs.h
<<_ACEOF
5520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5528 ac_cpp
='$CXXCPP $CPPFLAGS'
5529 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5530 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5531 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5532 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5533 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5534 if test -z "$CXXCPP"; then
5535 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5536 echo $ECHO_N "(cached) $ECHO_C" >&6
5538 # Double quotes because CXXCPP needs to be expanded
5539 for CXXCPP
in "$CXX -E" "/lib/cpp"
5542 for ac_cxx_preproc_warn_flag
in '' yes
5544 # Use a header file that comes with gcc, so configuring glibc
5545 # with a fresh cross-compiler works.
5546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5547 # <limits.h> exists even on freestanding compilers.
5548 # On the NeXT, cc -E runs the code through the compiler's parser,
5549 # not just through cpp. "Syntax error" is here to catch this case.
5550 cat >conftest.
$ac_ext <<_ACEOF
5553 cat confdefs.h
>>conftest.
$ac_ext
5554 cat >>conftest.
$ac_ext <<_ACEOF
5555 /* end confdefs.h. */
5557 # include <limits.h>
5559 # include <assert.h>
5563 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5566 *) ac_try_echo=$ac_try;;
5568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5571 grep -v '^ *+' conftest.er1 >conftest.err
5573 cat conftest.err >&5
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); } >/dev/null && {
5576 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5577 test ! -s conftest.err
5581 echo "$as_me: failed program was:" >&5
5582 sed 's/^/| /' conftest.$ac_ext >&5
5584 # Broken: fails on valid input.
5588 rm -f conftest.err conftest.$ac_ext
5590 # OK, works on sane cases. Now check whether nonexistent headers
5591 # can be detected and how.
5592 cat >conftest.$ac_ext <<_ACEOF
5595 cat confdefs.h >>conftest.$ac_ext
5596 cat >>conftest.$ac_ext <<_ACEOF
5597 /* end confdefs.h. */
5598 #include <ac_nonexistent.h>
5600 if { (ac_try="$ac_cpp conftest.$ac_ext"
5602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5603 *) ac_try_echo
=$ac_try;;
5605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5608 grep -v '^ *+' conftest.er1
>conftest.err
5610 cat conftest.err
>&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); } >/dev
/null
&& {
5613 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5614 test ! -s conftest.err
5616 # Broken: success on invalid input.
5619 echo "$as_me: failed program was:" >&5
5620 sed 's/^/| /' conftest.
$ac_ext >&5
5622 # Passes both tests.
5627 rm -f conftest.err conftest.
$ac_ext
5630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5631 rm -f conftest.err conftest.
$ac_ext
5632 if $ac_preproc_ok; then
5637 ac_cv_prog_CXXCPP
=$CXXCPP
5640 CXXCPP
=$ac_cv_prog_CXXCPP
5642 ac_cv_prog_CXXCPP
=$CXXCPP
5644 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5645 echo "${ECHO_T}$CXXCPP" >&6; }
5647 for ac_cxx_preproc_warn_flag
in '' yes
5649 # Use a header file that comes with gcc, so configuring glibc
5650 # with a fresh cross-compiler works.
5651 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5652 # <limits.h> exists even on freestanding compilers.
5653 # On the NeXT, cc -E runs the code through the compiler's parser,
5654 # not just through cpp. "Syntax error" is here to catch this case.
5655 cat >conftest.
$ac_ext <<_ACEOF
5658 cat confdefs.h
>>conftest.
$ac_ext
5659 cat >>conftest.
$ac_ext <<_ACEOF
5660 /* end confdefs.h. */
5662 # include <limits.h>
5664 # include <assert.h>
5668 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5671 *) ac_try_echo=$ac_try;;
5673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5676 grep -v '^ *+' conftest.er1 >conftest.err
5678 cat conftest.err >&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); } >/dev/null && {
5681 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5682 test ! -s conftest.err
5686 echo "$as_me: failed program was:" >&5
5687 sed 's/^/| /' conftest.$ac_ext >&5
5689 # Broken: fails on valid input.
5693 rm -f conftest.err conftest.$ac_ext
5695 # OK, works on sane cases. Now check whether nonexistent headers
5696 # can be detected and how.
5697 cat >conftest.$ac_ext <<_ACEOF
5700 cat confdefs.h >>conftest.$ac_ext
5701 cat >>conftest.$ac_ext <<_ACEOF
5702 /* end confdefs.h. */
5703 #include <ac_nonexistent.h>
5705 if { (ac_try="$ac_cpp conftest.$ac_ext"
5707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5708 *) ac_try_echo
=$ac_try;;
5710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5713 grep -v '^ *+' conftest.er1
>conftest.err
5715 cat conftest.err
>&5
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717 (exit $ac_status); } >/dev
/null
&& {
5718 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5719 test ! -s conftest.err
5721 # Broken: success on invalid input.
5724 echo "$as_me: failed program was:" >&5
5725 sed 's/^/| /' conftest.
$ac_ext >&5
5727 # Passes both tests.
5732 rm -f conftest.err conftest.
$ac_ext
5735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5736 rm -f conftest.err conftest.
$ac_ext
5737 if $ac_preproc_ok; then
5740 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5741 See \`config.log' for more details." >&5
5742 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5743 See \`config.log' for more details." >&2;}
5744 { (exit 1); exit 1; }; }
5748 ac_cpp
='$CXXCPP $CPPFLAGS'
5749 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5750 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5751 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5755 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5756 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5757 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5758 if test -n "$ac_tool_prefix"; then
5759 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
5761 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5762 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5765 if test "${ac_cv_prog_F77+set}" = set; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5768 if test -n "$F77"; then
5769 ac_cv_prog_F77
="$F77" # Let the user override the test.
5771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5775 test -z "$as_dir" && as_dir
=.
5776 for ac_exec_ext
in '' $ac_executable_extensions; do
5777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 if test -n "$F77"; then
5790 { echo "$as_me:$LINENO: result: $F77" >&5
5791 echo "${ECHO_T}$F77" >&6; }
5793 { echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6; }
5798 test -n "$F77" && break
5801 if test -z "$F77"; then
5803 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
5805 # Extract the first word of "$ac_prog", so it can be a program name with args.
5806 set dummy
$ac_prog; ac_word
=$2
5807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5809 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5812 if test -n "$ac_ct_F77"; then
5813 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5819 test -z "$as_dir" && as_dir
=.
5820 for ac_exec_ext
in '' $ac_executable_extensions; do
5821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5822 ac_cv_prog_ac_ct_F77
="$ac_prog"
5823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5833 if test -n "$ac_ct_F77"; then
5834 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5835 echo "${ECHO_T}$ac_ct_F77" >&6; }
5837 { echo "$as_me:$LINENO: result: no" >&5
5838 echo "${ECHO_T}no" >&6; }
5842 test -n "$ac_ct_F77" && break
5845 if test "x$ac_ct_F77" = x
; then
5848 case $cross_compiling:$ac_tool_warned in
5850 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5851 whose name does not start with the host triplet. If you think this
5852 configuration is useful to you, please write to autoconf@gnu.org." >&5
5853 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5854 whose name does not start with the host triplet. If you think this
5855 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5856 ac_tool_warned
=yes ;;
5863 # Provide some information about the compiler.
5864 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5865 ac_compiler
=`set X $ac_compile; echo $2`
5866 { (ac_try
="$ac_compiler --version >&5"
5868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5869 *) ac_try_echo=$ac_try;;
5871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5872 (eval "$ac_compiler --version >&5") 2>&5
5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875 (exit $ac_status); }
5876 { (ac_try="$ac_compiler -v >&5"
5878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5879 *) ac_try_echo
=$ac_try;;
5881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5882 (eval "$ac_compiler -v >&5") 2>&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); }
5886 { (ac_try
="$ac_compiler -V >&5"
5888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5889 *) ac_try_echo=$ac_try;;
5891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5892 (eval "$ac_compiler -V >&5") 2>&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); }
5898 # If we don't use `.F
' as extension, the preprocessor is not run on the
5899 # input file. (Note that this only needs to work for GNU compilers.)
5902 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5903 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5904 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5905 echo $ECHO_N "(cached) $ECHO_C" >&6
5907 cat >conftest.$ac_ext <<_ACEOF
5915 rm -f conftest.$ac_objext
5916 if { (ac_try="$ac_compile"
5918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5919 *) ac_try_echo=$ac_try;;
5921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5922 (eval "$ac_compile") 2>conftest.er1
5924 grep -v '^
*+' conftest.er1 >conftest.err
5926 cat conftest.err >&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); } && {
5929 test -z "$ac_f77_werror_flag" ||
5930 test ! -s conftest.err
5931 } && test -s conftest.$ac_objext; then
5934 echo "$as_me: failed program was:" >&5
5935 sed 's
/^
/|
/' conftest.$ac_ext >&5
5940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5941 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5944 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5945 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5947 ac_test_FFLAGS=${FFLAGS+set}
5948 ac_save_FFLAGS=$FFLAGS
5950 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5951 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5952 if test "${ac_cv_prog_f77_g+set}" = set; then
5953 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 cat >conftest.$ac_ext <<_ACEOF
5961 rm -f conftest.$ac_objext
5962 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
5970 grep -v '^
*+' conftest.er1 >conftest.err
5972 cat conftest.err >&5
5973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974 (exit $ac_status); } && {
5975 test -z "$ac_f77_werror_flag" ||
5976 test ! -s conftest.err
5977 } && test -s conftest.$ac_objext; then
5978 ac_cv_prog_f77_g=yes
5980 echo "$as_me: failed program was:" >&5
5981 sed 's
/^
/|
/' conftest.$ac_ext >&5
5986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5989 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5990 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5991 if test "$ac_test_FFLAGS" = set; then
5992 FFLAGS=$ac_save_FFLAGS
5993 elif test $ac_cv_prog_f77_g = yes; then
5994 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6000 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6007 G77=`test $ac_compiler_gnu = yes && echo yes`
6009 ac_cpp='$CXXCPP $CPPFLAGS'
6010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6011 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6016 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6018 # find the maximum length of command line arguments
6019 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6020 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6021 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6
6029 # On DJGPP, this test can blow up pretty badly due to problems in libc
6030 # (any single argument exceeding 2000 bytes causes a buffer overrun
6031 # during glob expansion). Even if it were fixed, the result of this
6032 # check would be larger than it should be.
6033 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6037 # Under GNU Hurd, this test is not required because there is
6038 # no limit to the length of command line arguments.
6039 # Libtool will interpret -1 as no limit whatsoever
6040 lt_cv_sys_max_cmd_len
=-1;
6044 # On Win9x/ME, this test blows up -- it succeeds, but takes
6045 # about 5 minutes as the teststring grows exponentially.
6046 # Worse, since 9x/ME are not pre-emptively multitasking,
6047 # you end up with a "frozen" computer, even though with patience
6048 # the test eventually succeeds (with a max line length of 256k).
6049 # Instead, let's just punt: use the minimum linelength reported by
6050 # all of the supported platforms: 8192 (on NT/2K/XP).
6051 lt_cv_sys_max_cmd_len
=8192;
6055 # On AmigaOS with pdksh, this test takes hours, literally.
6056 # So we just punt and use a minimum line length of 8192.
6057 lt_cv_sys_max_cmd_len
=8192;
6061 # If test is not a shell built-in, we'll probably end up computing a
6062 # maximum length that is only half of the actual maximum length, but
6064 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6065 = "XX$teststring") >/dev
/null
2>&1 &&
6066 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6067 lt_cv_sys_max_cmd_len
=$new_result &&
6068 test $i != 17 # 1/2 MB should be enough
6071 teststring
=$teststring$teststring
6074 # Add a significant safety factor because C++ compilers can tack on massive
6075 # amounts of additional arguments before passing them to the linker.
6076 # It appears as though 1/2 is a usable value.
6077 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6083 if test -n $lt_cv_sys_max_cmd_len ; then
6084 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6085 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6087 { echo "$as_me:$LINENO: result: none" >&5
6088 echo "${ECHO_T}none" >&6; }
6094 # Check for command to grab the raw symbol name followed by C symbol from nm.
6095 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6096 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6097 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6098 echo $ECHO_N "(cached) $ECHO_C" >&6
6101 # These are sane defaults that work on at least a few old systems.
6102 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6104 # Character class describing NM global symbol codes.
6105 symcode
='[BCDEGRST]'
6107 # Regexp to match symbols that can be accessed directly from C.
6108 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6110 # Transform the above into a raw symbol and a C symbol.
6111 symxfrm
='\1 \2\3 \3'
6113 # Transform an extracted symbol line into a proper C declaration
6114 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6116 # Transform an extracted symbol line into symbol name and symbol address
6117 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'"
6119 # Define system-specific variables.
6124 cygwin
* | mingw
* | pw32
*)
6125 symcode
='[ABCDGISTW]'
6127 hpux
*) # Its linker distinguishes data from code symbols
6128 if test "$host_cpu" = ia64
; then
6129 symcode
='[ABCDEGRST]'
6131 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6132 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'"
6135 symcode
='[BCDEGRST]'
6138 symcode
='[BCDEGQRST]'
6148 # Handle CRLF in mingw tool chain
6152 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6156 # If we're using GNU nm, then use its standard symbol codes.
6157 case `$NM -V 2>&1` in
6158 *GNU
* |
*'with BFD'*)
6159 symcode
='[ABCDGIRSTW]' ;;
6162 # Try without a prefix undercore, then with it.
6163 for ac_symprfx
in "" "_"; do
6165 # Write the raw and C identifiers.
6166 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
6168 # Check to see that the pipe works correctly.
6172 cat > conftest.
$ac_ext <<EOF
6177 void nm_test_func(){}
6181 int main(){nm_test_var='a';nm_test_func();return(0);}
6184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6185 (eval $ac_compile) 2>&5
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); }; then
6189 # Now try to grab the symbols.
6191 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6192 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); } && test -s "$nlist"; then
6196 # Try sorting and uniquifying the output.
6197 if sort "$nlist" |
uniq > "$nlist"T
; then
6198 mv -f "$nlist"T
"$nlist"
6203 # Make sure that we snagged all the symbols we need.
6204 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6205 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6206 cat <<EOF > conftest.$ac_ext
6212 # Now generate the symbol file.
6213 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6215 cat <<EOF >> conftest.$ac_ext
6216 #if defined (__STDC__) && __STDC__
6217 # define lt_ptr_t void *
6219 # define lt_ptr_t char *
6223 /* The mapping between symbol names and symbols. */
6228 lt_preloaded_symbols[] =
6231 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6232 cat <<\EOF
>> conftest.
$ac_ext
6240 # Now try linking the two files.
6241 mv conftest.
$ac_objext conftstm.
$ac_objext
6242 lt_save_LIBS
="$LIBS"
6243 lt_save_CFLAGS
="$CFLAGS"
6244 LIBS
="conftstm.$ac_objext"
6245 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6247 (eval $ac_link) 2>&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6253 LIBS
="$lt_save_LIBS"
6254 CFLAGS
="$lt_save_CFLAGS"
6256 echo "cannot find nm_test_func in $nlist" >&5
6259 echo "cannot find nm_test_var in $nlist" >&5
6262 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6265 echo "$progname: failed program was:" >&5
6266 cat conftest.
$ac_ext >&5
6268 rm -f conftest
* conftst
*
6270 # Do not use the global_symbol_pipe unless it works.
6271 if test "$pipe_works" = yes; then
6274 lt_cv_sys_global_symbol_pipe
=
6280 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6281 lt_cv_sys_global_symbol_to_cdecl
=
6283 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6284 { echo "$as_me:$LINENO: result: failed" >&5
6285 echo "${ECHO_T}failed" >&6; }
6287 { echo "$as_me:$LINENO: result: ok" >&5
6288 echo "${ECHO_T}ok" >&6; }
6291 { echo "$as_me:$LINENO: checking for objdir" >&5
6292 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6293 if test "${lt_cv_objdir+set}" = set; then
6294 echo $ECHO_N "(cached) $ECHO_C" >&6
6296 rm -f .libs
2>/dev
/null
6297 mkdir .libs
2>/dev
/null
6298 if test -d .libs
; then
6301 # MS-DOS does not allow filenames that begin with a dot.
6304 rmdir .libs
2>/dev
/null
6306 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6307 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6308 objdir
=$lt_cv_objdir
6316 # AIX sometimes has problems with the GCC collect2 program. For some
6317 # reason, if we set the COLLECT_NAMES environment variable, the problems
6318 # vanish in a puff of smoke.
6319 if test "X${COLLECT_NAMES+set}" != Xset
; then
6321 export COLLECT_NAMES
6326 # Sed substitution that helps us do robust quoting. It backslashifies
6327 # metacharacters that are still active within double-quoted strings.
6328 Xsed
='sed -e s/^X//'
6329 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6331 # Same as above, but do not quote variable references.
6332 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6334 # Sed substitution to delay expansion of an escaped shell variable in a
6335 # double_quote_subst'ed string.
6336 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6338 # Sed substitution to avoid accidental globbing in evaled expressions
6339 no_glob_subst
='s/\*/\\\*/g'
6345 default_ofile
=libtool
6346 can_build_shared
=yes
6348 # All known linkers require a `.a' archive for static linking (except M$VC,
6349 # which needs '.lib').
6351 ltmain
="$ac_aux_dir/ltmain.sh"
6352 ofile
="$default_ofile"
6353 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6355 if test -n "$ac_tool_prefix"; then
6356 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6357 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6360 if test "${ac_cv_prog_AR+set}" = set; then
6361 echo $ECHO_N "(cached) $ECHO_C" >&6
6363 if test -n "$AR"; then
6364 ac_cv_prog_AR
="$AR" # Let the user override the test.
6366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6370 test -z "$as_dir" && as_dir
=.
6371 for ac_exec_ext
in '' $ac_executable_extensions; do
6372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6373 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6384 if test -n "$AR"; then
6385 { echo "$as_me:$LINENO: result: $AR" >&5
6386 echo "${ECHO_T}$AR" >&6; }
6388 { echo "$as_me:$LINENO: result: no" >&5
6389 echo "${ECHO_T}no" >&6; }
6394 if test -z "$ac_cv_prog_AR"; then
6396 # Extract the first word of "ar", so it can be a program name with args.
6397 set dummy
ar; ac_word
=$2
6398 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6400 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6401 echo $ECHO_N "(cached) $ECHO_C" >&6
6403 if test -n "$ac_ct_AR"; then
6404 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6410 test -z "$as_dir" && as_dir
=.
6411 for ac_exec_ext
in '' $ac_executable_extensions; do
6412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6413 ac_cv_prog_ac_ct_AR
="ar"
6414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6423 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6424 if test -n "$ac_ct_AR"; then
6425 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6426 echo "${ECHO_T}$ac_ct_AR" >&6; }
6428 { echo "$as_me:$LINENO: result: no" >&5
6429 echo "${ECHO_T}no" >&6; }
6432 if test "x$ac_ct_AR" = x
; then
6435 case $cross_compiling:$ac_tool_warned in
6437 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6438 whose name does not start with the host triplet. If you think this
6439 configuration is useful to you, please write to autoconf@gnu.org." >&5
6440 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6441 whose name does not start with the host triplet. If you think this
6442 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6443 ac_tool_warned
=yes ;;
6451 if test -n "$ac_tool_prefix"; then
6452 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6453 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6456 if test "${ac_cv_prog_RANLIB+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6
6459 if test -n "$RANLIB"; then
6460 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir
=.
6467 for ac_exec_ext
in '' $ac_executable_extensions; do
6468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6469 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 RANLIB
=$ac_cv_prog_RANLIB
6480 if test -n "$RANLIB"; then
6481 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6482 echo "${ECHO_T}$RANLIB" >&6; }
6484 { echo "$as_me:$LINENO: result: no" >&5
6485 echo "${ECHO_T}no" >&6; }
6490 if test -z "$ac_cv_prog_RANLIB"; then
6491 ac_ct_RANLIB
=$RANLIB
6492 # Extract the first word of "ranlib", so it can be a program name with args.
6493 set dummy ranlib
; ac_word
=$2
6494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6496 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6497 echo $ECHO_N "(cached) $ECHO_C" >&6
6499 if test -n "$ac_ct_RANLIB"; then
6500 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6506 test -z "$as_dir" && as_dir
=.
6507 for ac_exec_ext
in '' $ac_executable_extensions; do
6508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6509 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6520 if test -n "$ac_ct_RANLIB"; then
6521 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6522 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6524 { echo "$as_me:$LINENO: result: no" >&5
6525 echo "${ECHO_T}no" >&6; }
6528 if test "x$ac_ct_RANLIB" = x
; then
6531 case $cross_compiling:$ac_tool_warned in
6533 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6534 whose name does not start with the host triplet. If you think this
6535 configuration is useful to you, please write to autoconf@gnu.org." >&5
6536 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6537 whose name does not start with the host triplet. If you think this
6538 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6539 ac_tool_warned
=yes ;;
6541 RANLIB
=$ac_ct_RANLIB
6544 RANLIB
="$ac_cv_prog_RANLIB"
6547 if test -n "$ac_tool_prefix"; then
6548 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6549 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6552 if test "${ac_cv_prog_STRIP+set}" = set; then
6553 echo $ECHO_N "(cached) $ECHO_C" >&6
6555 if test -n "$STRIP"; then
6556 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6562 test -z "$as_dir" && as_dir
=.
6563 for ac_exec_ext
in '' $ac_executable_extensions; do
6564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6565 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6575 STRIP
=$ac_cv_prog_STRIP
6576 if test -n "$STRIP"; then
6577 { echo "$as_me:$LINENO: result: $STRIP" >&5
6578 echo "${ECHO_T}$STRIP" >&6; }
6580 { echo "$as_me:$LINENO: result: no" >&5
6581 echo "${ECHO_T}no" >&6; }
6586 if test -z "$ac_cv_prog_STRIP"; then
6588 # Extract the first word of "strip", so it can be a program name with args.
6589 set dummy strip
; ac_word
=$2
6590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6592 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6593 echo $ECHO_N "(cached) $ECHO_C" >&6
6595 if test -n "$ac_ct_STRIP"; then
6596 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6602 test -z "$as_dir" && as_dir
=.
6603 for ac_exec_ext
in '' $ac_executable_extensions; do
6604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6605 ac_cv_prog_ac_ct_STRIP
="strip"
6606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6615 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6616 if test -n "$ac_ct_STRIP"; then
6617 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6618 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6620 { echo "$as_me:$LINENO: result: no" >&5
6621 echo "${ECHO_T}no" >&6; }
6624 if test "x$ac_ct_STRIP" = x
; then
6627 case $cross_compiling:$ac_tool_warned in
6629 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6630 whose name does not start with the host triplet. If you think this
6631 configuration is useful to you, please write to autoconf@gnu.org." >&5
6632 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6633 whose name does not start with the host triplet. If you think this
6634 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6635 ac_tool_warned
=yes ;;
6640 STRIP
="$ac_cv_prog_STRIP"
6645 old_CFLAGS
="$CFLAGS"
6647 # Set sane defaults for various variables
6648 test -z "$AR" && AR
=ar
6649 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6650 test -z "$AS" && AS
=as
6651 test -z "$CC" && CC
=cc
6652 test -z "$LTCC" && LTCC
=$CC
6653 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6654 test -z "$LD" && LD
=ld
6655 test -z "$LN_S" && LN_S
="ln -s"
6656 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6657 test -z "$NM" && NM
=nm
6658 test -z "$SED" && SED
=sed
6659 test -z "$OBJDUMP" && OBJDUMP
=objdump
6660 test -z "$RANLIB" && RANLIB
=:
6661 test -z "$STRIP" && STRIP
=:
6662 test -z "$ac_objext" && ac_objext
=o
6664 # Determine commands to create old-style static archives.
6665 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6666 old_postinstall_cmds
='chmod 644 $oldlib'
6667 old_postuninstall_cmds
=
6669 if test -n "$RANLIB"; then
6672 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6675 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6678 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6681 # Only perform the check for file, if the check method requires it
6682 case $deplibs_check_method in
6684 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6685 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6686 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6687 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6688 echo $ECHO_N "(cached) $ECHO_C" >&6
6692 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6695 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6696 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6697 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6698 for ac_dir
in $ac_dummy; do
6700 test -z "$ac_dir" && ac_dir
=.
6701 if test -f $ac_dir/${ac_tool_prefix}file; then
6702 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6703 if test -n "$file_magic_test_file"; then
6704 case $deplibs_check_method in
6706 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6707 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6708 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6709 $EGREP "$file_magic_regex" > /dev
/null
; then
6714 *** Warning: the command libtool uses to detect shared libraries,
6715 *** $file_magic_cmd, produces output that libtool cannot recognize.
6716 *** The result is that libtool may fail to recognize shared libraries
6717 *** as such. This will affect the creation of libtool libraries that
6718 *** depend on shared libraries, but programs linked with such libtool
6719 *** libraries will work regardless of this problem. Nevertheless, you
6720 *** may want to report the problem to your system manager and/or to
6721 *** bug-libtool@gnu.org
6731 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6736 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6737 if test -n "$MAGIC_CMD"; then
6738 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6739 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6741 { echo "$as_me:$LINENO: result: no" >&5
6742 echo "${ECHO_T}no" >&6; }
6745 if test -z "$lt_cv_path_MAGIC_CMD"; then
6746 if test -n "$ac_tool_prefix"; then
6747 { echo "$as_me:$LINENO: checking for file" >&5
6748 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6749 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6750 echo $ECHO_N "(cached) $ECHO_C" >&6
6754 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6757 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6758 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6759 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6760 for ac_dir
in $ac_dummy; do
6762 test -z "$ac_dir" && ac_dir
=.
6763 if test -f $ac_dir/file; then
6764 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6765 if test -n "$file_magic_test_file"; then
6766 case $deplibs_check_method in
6768 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6769 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6770 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6771 $EGREP "$file_magic_regex" > /dev
/null
; then
6776 *** Warning: the command libtool uses to detect shared libraries,
6777 *** $file_magic_cmd, produces output that libtool cannot recognize.
6778 *** The result is that libtool may fail to recognize shared libraries
6779 *** as such. This will affect the creation of libtool libraries that
6780 *** depend on shared libraries, but programs linked with such libtool
6781 *** libraries will work regardless of this problem. Nevertheless, you
6782 *** may want to report the problem to your system manager and/or to
6783 *** bug-libtool@gnu.org
6793 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6798 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6799 if test -n "$MAGIC_CMD"; then
6800 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6801 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6803 { echo "$as_me:$LINENO: result: no" >&5
6804 echo "${ECHO_T}no" >&6; }
6819 # Check whether --enable-libtool-lock was given.
6820 if test "${enable_libtool_lock+set}" = set; then
6821 enableval
=$enable_libtool_lock;
6824 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6827 # Check whether --with-pic was given.
6828 if test "${with_pic+set}" = set; then
6829 withval
=$with_pic; pic_mode
="$withval"
6834 test -z "$pic_mode" && pic_mode
=default
6836 # Use C for the default configuration in the libtool script
6840 ac_cpp
='$CPP $CPPFLAGS'
6841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6846 # Source file extension for C test sources.
6849 # Object file extension for compiled C test sources.
6853 # Code to be used in simple compile tests
6854 lt_simple_compile_test_code
="int some_variable = 0;\n"
6856 # Code to be used in simple link tests
6857 lt_simple_link_test_code
='int main(){return(0);}\n'
6860 # If no C compiler was specified, use CC.
6863 # Allow CC to be a program name with arguments.
6868 # Check for any special shared library compilation flags.
6871 if test "$GCC" = no
; then
6874 lt_prog_cc_shlib
='-belf'
6878 if test -n "$lt_prog_cc_shlib"; then
6879 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6880 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6881 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6883 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6884 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6885 lt_cv_prog_cc_can_build_shared
=no
6891 # Check to make sure the static flag actually works.
6893 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6894 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
6895 if test "${lt_prog_compiler_static_works+set}" = set; then
6896 echo $ECHO_N "(cached) $ECHO_C" >&6
6898 lt_prog_compiler_static_works
=no
6899 save_LDFLAGS
="$LDFLAGS"
6900 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6901 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6902 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6903 # The compiler can only warn and ignore the option if not recognized
6904 # So say no if there are warnings
6905 if test -s conftest.err
; then
6906 # Append any errors to the config.log.
6907 cat conftest.err
1>&5
6909 lt_prog_compiler_static_works
=yes
6913 LDFLAGS
="$save_LDFLAGS"
6916 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6917 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6919 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6922 lt_prog_compiler_static
=
6928 lt_prog_compiler_no_builtin_flag
=
6930 if test "$GCC" = yes; then
6931 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6934 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6935 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6936 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6937 echo $ECHO_N "(cached) $ECHO_C" >&6
6939 lt_cv_prog_compiler_rtti_exceptions
=no
6940 ac_outfile
=conftest.
$ac_objext
6941 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6942 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6943 # Insert the option either (1) after the last *FLAGS variable, or
6944 # (2) before a word containing "conftest.", or (3) at the end.
6945 # Note that $ac_compile itself does not contain backslashes and begins
6946 # with a dollar sign (not a hyphen), so the echo should work correctly.
6947 # The option is referenced via a variable to avoid confusing sed.
6948 lt_compile
=`echo "$ac_compile" | $SED \
6949 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6950 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6951 -e 's:$: $lt_compiler_flag:'`
6952 (eval echo "\"\$as_me:6952: $lt_compile\"" >&5)
6953 (eval "$lt_compile" 2>conftest.err
)
6955 cat conftest.err
>&5
6956 echo "$as_me:6956: \$? = $ac_status" >&5
6957 if (exit $ac_status) && test -s "$ac_outfile"; then
6958 # The compiler can only warn and ignore the option if not recognized
6959 # So say no if there are warnings
6960 if test ! -s conftest.err
; then
6961 lt_cv_prog_compiler_rtti_exceptions
=yes
6967 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6968 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6970 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6971 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6978 lt_prog_compiler_wl
=
6979 lt_prog_compiler_pic
=
6980 lt_prog_compiler_static
=
6982 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6983 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6985 if test "$GCC" = yes; then
6986 lt_prog_compiler_wl
='-Wl,'
6987 lt_prog_compiler_static
='-static'
6991 # All AIX code is PIC.
6992 if test "$host_cpu" = ia64
; then
6993 # AIX 5 now supports IA64 processor
6994 lt_prog_compiler_static
='-Bstatic'
6999 # FIXME: we need at least 68020 code to build shared libraries, but
7000 # adding the `-m68020' flag to GCC prevents building anything better,
7002 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7005 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7006 # PIC is the default for these OSes.
7009 mingw
* | pw32
* | os2
*)
7010 # This hack is so that the source file can tell whether it is being
7011 # built for inclusion in a dll (and should export symbols for example).
7012 lt_prog_compiler_pic
='-DDLL_EXPORT'
7015 darwin
* | rhapsody
*)
7016 # PIC is the default on this platform
7017 # Common symbols not allowed in MH_DYLIB files
7018 lt_prog_compiler_pic
='-fno-common'
7022 # Just because we use GCC doesn't mean we suddenly get shared libraries
7023 # on systems that don't support them.
7024 lt_prog_compiler_can_build_shared
=no
7029 if test -d /usr
/nec
; then
7030 lt_prog_compiler_pic
=-Kconform_pic
7035 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7042 lt_prog_compiler_pic
='-fPIC'
7048 lt_prog_compiler_pic
='-fPIC'
7052 # PORTME Check for flag to pass linker flags through the system compiler.
7055 lt_prog_compiler_wl
='-Wl,'
7056 if test "$host_cpu" = ia64
; then
7057 # AIX 5 now supports IA64 processor
7058 lt_prog_compiler_static
='-Bstatic'
7060 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7064 mingw
* | pw32
* | os2
*)
7065 # This hack is so that the source file can tell whether it is being
7066 # built for inclusion in a dll (and should export symbols for example).
7067 lt_prog_compiler_pic
='-DDLL_EXPORT'
7070 hpux9
* | hpux10
* | hpux11
*)
7071 lt_prog_compiler_wl
='-Wl,'
7072 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7079 lt_prog_compiler_pic
='+Z'
7082 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7083 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7086 irix5
* | irix6
* | nonstopux
*)
7087 lt_prog_compiler_wl
='-Wl,'
7088 # PIC (with -KPIC) is the default.
7089 lt_prog_compiler_static
='-non_shared'
7093 lt_prog_compiler_pic
='-KPIC'
7094 lt_prog_compiler_static
='-Bstatic'
7100 lt_prog_compiler_wl
='-Wl,'
7101 lt_prog_compiler_pic
='-KPIC'
7102 lt_prog_compiler_static
='-static'
7105 lt_prog_compiler_wl
='-Wl,'
7106 # All Alpha code is PIC.
7107 lt_prog_compiler_static
='-non_shared'
7112 osf3
* | osf4
* | osf5
*)
7113 lt_prog_compiler_wl
='-Wl,'
7114 # All OSF/1 code is PIC.
7115 lt_prog_compiler_static
='-non_shared'
7119 lt_prog_compiler_pic
='-Kpic'
7120 lt_prog_compiler_static
='-dn'
7124 lt_prog_compiler_wl
='-Wl,'
7125 lt_prog_compiler_pic
='-KPIC'
7126 lt_prog_compiler_static
='-Bstatic'
7130 lt_prog_compiler_wl
='-Qoption ld '
7131 lt_prog_compiler_pic
='-PIC'
7132 lt_prog_compiler_static
='-Bstatic'
7135 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7136 lt_prog_compiler_wl
='-Wl,'
7137 lt_prog_compiler_pic
='-KPIC'
7138 lt_prog_compiler_static
='-Bstatic'
7142 if test -d /usr
/nec
;then
7143 lt_prog_compiler_pic
='-Kconform_pic'
7144 lt_prog_compiler_static
='-Bstatic'
7149 lt_prog_compiler_pic
='-pic'
7150 lt_prog_compiler_static
='-Bstatic'
7154 lt_prog_compiler_can_build_shared
=no
7159 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7160 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7163 # Check to make sure the PIC flag actually works.
7165 if test -n "$lt_prog_compiler_pic"; then
7167 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7168 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7169 if test "${lt_prog_compiler_pic_works+set}" = set; then
7170 echo $ECHO_N "(cached) $ECHO_C" >&6
7172 lt_prog_compiler_pic_works
=no
7173 ac_outfile
=conftest.
$ac_objext
7174 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7175 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7176 # Insert the option either (1) after the last *FLAGS variable, or
7177 # (2) before a word containing "conftest.", or (3) at the end.
7178 # Note that $ac_compile itself does not contain backslashes and begins
7179 # with a dollar sign (not a hyphen), so the echo should work correctly.
7180 # The option is referenced via a variable to avoid confusing sed.
7181 lt_compile
=`echo "$ac_compile" | $SED \
7182 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7183 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7184 -e 's:$: $lt_compiler_flag:'`
7185 (eval echo "\"\$as_me:7185: $lt_compile\"" >&5)
7186 (eval "$lt_compile" 2>conftest.err
)
7188 cat conftest.err
>&5
7189 echo "$as_me:7189: \$? = $ac_status" >&5
7190 if (exit $ac_status) && test -s "$ac_outfile"; then
7191 # The compiler can only warn and ignore the option if not recognized
7192 # So say no if there are warnings
7193 if test ! -s conftest.err
; then
7194 lt_prog_compiler_pic_works
=yes
7200 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7201 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7203 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7204 case $lt_prog_compiler_pic in
7206 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7209 lt_prog_compiler_pic
=
7210 lt_prog_compiler_can_build_shared
=no
7215 # For platforms which do not support PIC, -DPIC is meaningless:
7217 lt_prog_compiler_pic
=
7220 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7224 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7225 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7226 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7227 echo $ECHO_N "(cached) $ECHO_C" >&6
7229 lt_cv_prog_compiler_c_o
=no
7230 $rm -r conftest
2>/dev
/null
7234 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7236 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7237 # Insert the option either (1) after the last *FLAGS variable, or
7238 # (2) before a word containing "conftest.", or (3) at the end.
7239 # Note that $ac_compile itself does not contain backslashes and begins
7240 # with a dollar sign (not a hyphen), so the echo should work correctly.
7241 lt_compile
=`echo "$ac_compile" | $SED \
7242 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7243 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7244 -e 's:$: $lt_compiler_flag:'`
7245 (eval echo "\"\$as_me:7245: $lt_compile\"" >&5)
7246 (eval "$lt_compile" 2>out
/conftest.err
)
7248 cat out
/conftest.err
>&5
7249 echo "$as_me:7249: \$? = $ac_status" >&5
7250 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7252 # The compiler can only warn and ignore the option if not recognized
7253 # So say no if there are warnings
7254 if test ! -s out
/conftest.err
; then
7255 lt_cv_prog_compiler_c_o
=yes
7260 # SGI C++ compiler will create directory out/ii_files/ for
7261 # template instantiation
7262 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7263 $rm out
/* && rmdir out
7269 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7270 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7273 hard_links
="nottested"
7274 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7275 # do not overwrite the value of need_locks provided by the user
7276 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7277 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7280 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7282 ln conftest.a conftest.b
2>&5 || hard_links
=no
7283 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7284 { echo "$as_me:$LINENO: result: $hard_links" >&5
7285 echo "${ECHO_T}$hard_links" >&6; }
7286 if test "$hard_links" = no
; then
7287 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7288 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7295 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7296 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7299 allow_undefined_flag
=
7300 enable_shared_with_static_runtimes
=no
7302 archive_expsym_cmds
=
7303 old_archive_From_new_cmds
=
7304 old_archive_from_expsyms_cmds
=
7305 export_dynamic_flag_spec
=
7306 whole_archive_flag_spec
=
7307 thread_safe_flag_spec
=
7308 hardcode_libdir_flag_spec
=
7309 hardcode_libdir_flag_spec_ld
=
7310 hardcode_libdir_separator
=
7313 hardcode_shlibpath_var
=unsupported
7314 link_all_deplibs
=unknown
7315 hardcode_automatic
=no
7318 always_export_symbols
=no
7319 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7320 # include_expsyms should be a list of space-separated symbols to be *always*
7321 # included in the symbol list
7323 # exclude_expsyms can be an extended regexp of symbols to exclude
7324 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7325 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7326 # as well as any symbol that contains `d'.
7327 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7328 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7329 # platforms (ab)use it in PIC code, but their linkers get confused if
7330 # the symbol is explicitly referenced. Since portable code cannot
7331 # rely on this symbol name, it's probably fine to never include it in
7332 # preloaded symbol tables.
7333 extract_expsyms_cmds
=
7336 cygwin
* | mingw
* | pw32
*)
7337 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7338 # When not using gcc, we currently assume that we are using
7339 # Microsoft Visual C++.
7340 if test "$GCC" != yes; then
7350 if test "$with_gnu_ld" = yes; then
7351 # If archive_cmds runs LD, not CC, wlarc should be empty
7354 # See if GNU ld supports shared libraries.
7356 aix3
* | aix4
* | aix5
*)
7357 # On AIX/PPC, the GNU linker is very broken
7358 if test "$host_cpu" != ia64
; then
7362 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7363 *** to be unable to reliably create shared libraries on AIX.
7364 *** Therefore, libtool is disabling shared libraries support. If you
7365 *** really care for shared libraries, you may want to modify your PATH
7366 *** so that a non-GNU linker is found, and then restart.
7373 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)'
7374 hardcode_libdir_flag_spec
='-L$libdir'
7375 hardcode_minus_L
=yes
7377 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7378 # that the semantics of dynamic libraries on AmigaOS, at least up
7379 # to version 4, is to share data among multiple programs linked
7380 # with the same dynamic library. Since this doesn't match the
7381 # behavior of shared libraries on other platforms, we can't use
7387 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7388 allow_undefined_flag
=unsupported
7389 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7390 # support --undefined. This deserves some investigation. FIXME
7391 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7397 cygwin
* | mingw
* | pw32
*)
7398 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7399 # as there is no search path for DLLs.
7400 hardcode_libdir_flag_spec
='-L$libdir'
7401 allow_undefined_flag
=unsupported
7402 always_export_symbols
=no
7403 enable_shared_with_static_runtimes
=yes
7404 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7406 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7407 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7408 # If the export-symbols file already is a .def file (1st line
7409 # is EXPORTS), use it as is; otherwise, prepend...
7410 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7411 cp $export_symbols $output_objdir/$soname.def;
7413 echo EXPORTS > $output_objdir/$soname.def;
7414 cat $export_symbols >> $output_objdir/$soname.def;
7416 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7423 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7424 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7427 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7428 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7433 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7437 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7438 *** create shared libraries on Solaris systems. Therefore, libtool
7439 *** is disabling shared libraries support. We urge you to upgrade GNU
7440 *** binutils to release 2.9.1 or newer. Another option is to modify
7441 *** your PATH or compiler configuration so that the native linker is
7442 *** used, and then restart.
7445 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7446 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7447 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7454 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7457 hardcode_shlibpath_var
=no
7461 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7462 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7463 archive_cmds
="$tmp_archive_cmds"
7464 supports_anon_versioning
=no
7465 case `$LD -v 2>/dev/null` in
7466 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7467 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7468 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7469 *\
2.11.
*) ;; # other 2.11 versions
7470 *) supports_anon_versioning
=yes ;;
7472 if test $supports_anon_versioning = yes; then
7473 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7474 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7475 $echo "local: *; };" >> $output_objdir/$libname.ver~
7476 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7478 archive_expsym_cmds
="$tmp_archive_cmds"
7486 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7487 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7488 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7495 if test "$ld_shlibs" = yes; then
7496 runpath_var
=LD_RUN_PATH
7497 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7498 export_dynamic_flag_spec
='${wl}--export-dynamic'
7499 # ancient GNU ld didn't support --whole-archive et. al.
7500 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7501 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7503 whole_archive_flag_spec
=
7507 # PORTME fill in a description of your system's linker (not GNU ld)
7510 allow_undefined_flag
=unsupported
7511 always_export_symbols
=yes
7512 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'
7513 # Note: this linker hardcodes the directories in LIBPATH if there
7514 # are no directories specified by -L.
7515 hardcode_minus_L
=yes
7516 if test "$GCC" = yes && test -z "$link_static_flag"; then
7517 # Neither direct hardcoding nor static linking is supported with a
7519 hardcode_direct
=unsupported
7524 if test "$host_cpu" = ia64
; then
7525 # On IA64, the linker does run time linking by default, so we don't
7526 # have to do anything special.
7527 aix_use_runtimelinking
=no
7528 exp_sym_flag
='-Bexport'
7531 # If we're using GNU nm, then we don't want the "-C" option.
7532 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7533 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7534 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'
7536 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'
7538 aix_use_runtimelinking
=no
7540 # Test if we are trying to use run time linking or normal
7541 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7542 # need to do runtime linking.
7543 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7544 for ld_flag
in $LDFLAGS; do
7545 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7546 aix_use_runtimelinking
=yes
7552 exp_sym_flag
='-bexport'
7553 no_entry_flag
='-bnoentry'
7556 # When large executables or shared objects are built, AIX ld can
7557 # have problems creating the table of contents. If linking a library
7558 # or program results in "error TOC overflow" add -mminimal-toc to
7559 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7560 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7564 hardcode_libdir_separator
=':'
7565 link_all_deplibs
=yes
7567 if test "$GCC" = yes; then
7568 case $host_os in aix4.012|aix4.012.
*)
7569 # We only want to do this on AIX 4.2 and lower, the check
7570 # below for broken collect2 doesn't work under 4.3+
7571 collect2name
=`${CC} -print-prog-name=collect2`
7572 if test -f "$collect2name" && \
7573 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7575 # We have reworked collect2
7578 # We have old collect2
7579 hardcode_direct
=unsupported
7580 # It fails to find uninstalled libraries when the uninstalled
7581 # path is not listed in the libpath. Setting hardcode_minus_L
7582 # to unsupported forces relinking
7583 hardcode_minus_L
=yes
7584 hardcode_libdir_flag_spec
='-L$libdir'
7585 hardcode_libdir_separator
=
7588 shared_flag
='-shared'
7591 if test "$host_cpu" = ia64
; then
7592 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7593 # chokes on -Wl,-G. The following line is correct:
7596 if test "$aix_use_runtimelinking" = yes; then
7597 shared_flag
='${wl}-G'
7599 shared_flag
='${wl}-bM:SRE'
7604 # It seems that -bexpall does not export symbols beginning with
7605 # underscore (_), so it is better to generate a list of symbols to export.
7606 always_export_symbols
=yes
7607 if test "$aix_use_runtimelinking" = yes; then
7608 # Warning - without using the other runtime loading flags (-brtl),
7609 # -berok will link without error, but may produce a broken library.
7610 allow_undefined_flag
='-berok'
7611 # Determine the default libpath from the value encoded in an empty executable.
7612 cat >conftest.
$ac_ext <<_ACEOF
7615 cat confdefs.h
>>conftest.
$ac_ext
7616 cat >>conftest.
$ac_ext <<_ACEOF
7617 /* end confdefs.h. */
7627 rm -f conftest.
$ac_objext conftest
$ac_exeext
7628 if { (ac_try
="$ac_link"
7630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7631 *) ac_try_echo=$ac_try;;
7633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7634 (eval "$ac_link") 2>conftest.er1
7636 grep -v '^ *+' conftest.er1 >conftest.err
7638 cat conftest.err >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); } && {
7641 test -z "$ac_c_werror_flag" ||
7642 test ! -s conftest.err
7643 } && test -s conftest$ac_exeext &&
7644 $as_test_x conftest$ac_exeext; then
7646 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7648 # Check for a 64-bit object if we didn't find anything.
7649 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; }
7652 echo "$as_me: failed program was:" >&5
7653 sed 's/^/| /' conftest.$ac_ext >&5
7658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7659 conftest$ac_exeext conftest.$ac_ext
7660 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7662 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7663 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"
7665 if test "$host_cpu" = ia64
; then
7666 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7667 allow_undefined_flag
="-z nodefs"
7668 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"
7670 # Determine the default libpath from the value encoded in an empty executable.
7671 cat >conftest.$ac_ext <<_ACEOF
7674 cat confdefs.h >>conftest.$ac_ext
7675 cat >>conftest.$ac_ext <<_ACEOF
7676 /* end confdefs.h. */
7686 rm -f conftest.$ac_objext conftest$ac_exeext
7687 if { (ac_try="$ac_link"
7689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7690 *) ac_try_echo=$ac_try;;
7692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7693 (eval "$ac_link") 2>conftest.er1
7695 grep -v '^
*+' conftest.er1 >conftest.err
7697 cat conftest.err >&5
7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699 (exit $ac_status); } && {
7700 test -z "$ac_c_werror_flag" ||
7701 test ! -s conftest.err
7702 } && test -s conftest$ac_exeext &&
7703 $as_test_x conftest$ac_exeext; then
7705 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
7707 # Check for a 64-bit object if we didn't
find anything.
7708 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; }
7711 echo "$as_me: failed program was:" >&5
7712 sed 's/^/| /' conftest.
$ac_ext >&5
7717 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7718 conftest
$ac_exeext conftest.
$ac_ext
7719 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7721 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7722 # Warning - without using the other run time loading flags,
7723 # -berok will link without error, but may produce a broken library.
7724 no_undefined_flag
=' ${wl}-bernotok'
7725 allow_undefined_flag
=' ${wl}-berok'
7726 # -bexpall does not export symbols beginning with underscore (_)
7727 always_export_symbols
=yes
7728 # Exported symbols can be pulled into shared objects from archives
7729 whole_archive_flag_spec
=' '
7730 archive_cmds_need_lc
=yes
7731 # This is similar to how AIX traditionally builds it's shared libraries.
7732 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'
7738 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)'
7739 hardcode_libdir_flag_spec
='-L$libdir'
7740 hardcode_minus_L
=yes
7741 # see comment about different semantics on the GNU ld section
7746 export_dynamic_flag_spec
=-rdynamic
7749 cygwin
* | mingw
* | pw32
*)
7750 # When not using gcc, we currently assume that we are using
7751 # Microsoft Visual C++.
7752 # hardcode_libdir_flag_spec is actually meaningless, as there is
7753 # no search path for DLLs.
7754 hardcode_libdir_flag_spec
=' '
7755 allow_undefined_flag
=unsupported
7756 # Tell ltmain to make .lib files, not .a files.
7758 # Tell ltmain to make .dll files, not .so files.
7760 # FIXME: Setting linknames here is a bad hack.
7761 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7762 # The linker will automatically build a .lib file if we build a DLL.
7763 old_archive_From_new_cmds
='true'
7764 # FIXME: Should let the user specify the lib program.
7765 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7766 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7767 enable_shared_with_static_runtimes
=yes
7770 darwin
* | rhapsody
*)
7771 if test "$GXX" = yes ; then
7772 archive_cmds_need_lc
=no
7774 rhapsody
* | darwin1.
[012])
7775 allow_undefined_flag
='-undefined suppress'
7778 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7779 allow_undefined_flag
='-flat_namespace -undefined suppress'
7781 case ${MACOSX_DEPLOYMENT_TARGET} in
7783 allow_undefined_flag
='-flat_namespace -undefined suppress'
7786 allow_undefined_flag
='-undefined dynamic_lookup'
7792 lt_int_apple_cc_single_mod
=no
7793 output_verbose_link_cmd
='echo'
7794 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
7795 lt_int_apple_cc_single_mod
=yes
7797 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7798 archive_cmds
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7800 archive_cmds
='$CC -r ${wl}-bind_at_load -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'
7802 module_cmds
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7803 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7804 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7805 archive_expsym_cmds
='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}'
7807 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
7809 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}'
7811 hardcode_automatic
=yes
7812 hardcode_shlibpath_var
=unsupported
7813 whole_archive_flag_spec
='-all_load $convenience'
7814 link_all_deplibs
=yes
7821 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7822 hardcode_libdir_flag_spec
='-L$libdir'
7823 hardcode_shlibpath_var
=no
7830 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7831 # support. Future versions do this automatically, but an explicit c++rt0.o
7832 # does not break anything, and helps significantly (at the cost of a little
7835 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7836 hardcode_libdir_flag_spec
='-R$libdir'
7838 hardcode_shlibpath_var
=no
7841 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7843 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7845 hardcode_minus_L
=yes
7846 hardcode_shlibpath_var
=no
7849 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7850 freebsd
* | kfreebsd
*-gnu)
7851 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7852 hardcode_libdir_flag_spec
='-R$libdir'
7854 hardcode_shlibpath_var
=no
7858 if test "$GCC" = yes; then
7859 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'
7861 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'
7863 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7864 hardcode_libdir_separator
=:
7867 # hardcode_minus_L: Not really in the search PATH,
7868 # but as the default location of the library.
7869 hardcode_minus_L
=yes
7870 export_dynamic_flag_spec
='${wl}-E'
7874 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7877 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7880 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7886 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7889 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7893 if test "$with_gnu_ld" = no
; then
7896 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7897 hardcode_libdir_flag_spec_ld
='+b $libdir'
7898 hardcode_libdir_separator
=:
7900 hardcode_shlibpath_var
=no
7903 hardcode_libdir_flag_spec
='-L$libdir'
7905 hardcode_shlibpath_var
=no
7907 # hardcode_minus_L: Not really in the search PATH,
7908 # but as the default location of the library.
7909 hardcode_minus_L
=yes
7912 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7913 hardcode_libdir_separator
=:
7915 export_dynamic_flag_spec
='${wl}-E'
7917 # hardcode_minus_L: Not really in the search PATH,
7918 # but as the default location of the library.
7919 hardcode_minus_L
=yes
7925 irix5
* | irix6
* | nonstopux
*)
7926 if test "$GCC" = yes; then
7927 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'
7929 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'
7930 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7932 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7933 hardcode_libdir_separator
=:
7934 link_all_deplibs
=yes
7938 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7939 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7941 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7943 hardcode_libdir_flag_spec
='-R$libdir'
7945 hardcode_shlibpath_var
=no
7949 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7951 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7952 hardcode_libdir_separator
=:
7953 hardcode_shlibpath_var
=no
7958 hardcode_shlibpath_var
=no
7959 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7960 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7961 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7962 export_dynamic_flag_spec
='${wl}-E'
7965 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7966 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7967 hardcode_libdir_flag_spec
='-R$libdir'
7970 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7971 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7978 hardcode_libdir_flag_spec
='-L$libdir'
7979 hardcode_minus_L
=yes
7980 allow_undefined_flag
=unsupported
7981 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'
7982 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7986 if test "$GCC" = yes; then
7987 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7988 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'
7990 allow_undefined_flag
=' -expect_unresolved \*'
7991 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'
7993 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7994 hardcode_libdir_separator
=:
7997 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7998 if test "$GCC" = yes; then
7999 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8000 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'
8001 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8003 allow_undefined_flag
=' -expect_unresolved \*'
8004 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'
8005 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8006 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
8008 # Both c and cxx compiler support -rpath directly
8009 hardcode_libdir_flag_spec
='-rpath $libdir'
8011 hardcode_libdir_separator
=:
8015 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8016 hardcode_shlibpath_var
=no
8017 export_dynamic_flag_spec
='${wl}-Bexport'
8018 runpath_var
=LD_RUN_PATH
8019 hardcode_runpath_var
=yes
8023 no_undefined_flag
=' -z text'
8024 if test "$GCC" = yes; then
8025 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8026 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8027 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8029 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8030 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8031 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8033 hardcode_libdir_flag_spec
='-R$libdir'
8034 hardcode_shlibpath_var
=no
8036 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8037 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
8038 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8040 link_all_deplibs
=yes
8044 if test "x$host_vendor" = xsequent
; then
8045 # Use $CC to link under sequent, because it throws in some extra .o
8046 # files that make .init and .fini sections work.
8047 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8049 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8051 hardcode_libdir_flag_spec
='-L$libdir'
8053 hardcode_minus_L
=yes
8054 hardcode_shlibpath_var
=no
8058 case $host_vendor in
8060 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8061 hardcode_direct
=yes # is this really true???
8064 ## LD is ld it makes a PLAMLIB
8065 ## CC just makes a GrossModule.
8066 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8067 reload_cmds
='$CC -r -o $output$reload_objs'
8071 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8072 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8075 runpath_var
='LD_RUN_PATH'
8076 hardcode_shlibpath_var
=no
8080 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8081 hardcode_shlibpath_var
=no
8082 export_dynamic_flag_spec
='-Bexport'
8086 if test -d /usr
/nec
; then
8087 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8088 hardcode_shlibpath_var
=no
8089 runpath_var
=LD_RUN_PATH
8090 hardcode_runpath_var
=yes
8096 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8099 hardcode_shlibpath_var
=no
8100 hardcode_runpath_var
=yes
8101 runpath_var
=LD_RUN_PATH
8104 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
8105 no_undefined_flag
='${wl}-z ${wl}text'
8106 if test "$GCC" = yes; then
8107 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8109 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8111 runpath_var
='LD_RUN_PATH'
8112 hardcode_shlibpath_var
=no
8116 no_undefined_flag
=' -z text'
8117 # $CC -shared without GNU ld will not create a library from C++
8118 # object files and a static libstdc++, better avoid it by now
8119 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8120 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8121 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8122 hardcode_libdir_flag_spec
=
8123 hardcode_shlibpath_var
=no
8124 runpath_var
='LD_RUN_PATH'
8128 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8129 hardcode_libdir_flag_spec
='-L$libdir'
8130 hardcode_shlibpath_var
=no
8139 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8140 echo "${ECHO_T}$ld_shlibs" >&6; }
8141 test "$ld_shlibs" = no
&& can_build_shared
=no
8143 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8144 if test "$GCC" = yes; then
8145 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8149 # Do we need to explicitly link libc?
8151 case "x$archive_cmds_need_lc" in
8153 # Assume -lc should be added
8154 archive_cmds_need_lc
=yes
8156 if test "$enable_shared" = yes && test "$GCC" = yes; then
8157 case $archive_cmds in
8159 # FIXME: we may have to deal with multi-command sequences.
8162 # Test whether the compiler implicitly links with -lc since on some
8163 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8164 # to ld, don't add -lc before -lgcc.
8165 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8166 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8168 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8171 (eval $ac_compile) 2>&5
8173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 (exit $ac_status); } 2>conftest.err
; then
8177 libobjs
=conftest.
$ac_objext
8179 wl
=$lt_prog_compiler_wl
8185 lt_save_allow_undefined_flag
=$allow_undefined_flag
8186 allow_undefined_flag
=
8187 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8188 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); }
8193 archive_cmds_need_lc
=no
8195 archive_cmds_need_lc
=yes
8197 allow_undefined_flag
=$lt_save_allow_undefined_flag
8199 cat conftest.err
1>&5
8202 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8203 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8210 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8211 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8213 libname_spec
='lib$name'
8221 shlibpath_overrides_runpath
=unknown
8223 dynamic_linker
="$host_os ld.so"
8224 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8225 if test "$GCC" = yes; then
8226 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8227 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8228 # if the path contains ";" then we assume it to be the separator
8229 # otherwise default to the standard path separator (i.e. ":") - it is
8230 # assumed that no part of a normal pathname contains ";" but that should
8231 # okay in the real world where ";" in dirpaths is itself problematic.
8232 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8234 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8237 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8239 need_lib_prefix
=unknown
8240 hardcode_into_libs
=no
8242 # when you set need_version to no, make sure it does not cause -set_version
8243 # flags to be left without arguments
8244 need_version
=unknown
8249 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8250 shlibpath_var
=LIBPATH
8252 # AIX 3 has no versioning support, so we append a major version to the name.
8253 soname_spec
='${libname}${release}${shared_ext}$major'
8260 hardcode_into_libs
=yes
8261 if test "$host_cpu" = ia64
; then
8262 # AIX 5 supports IA64
8263 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8264 shlibpath_var
=LD_LIBRARY_PATH
8266 # With GCC up to 2.95.x, collect2 would create an import file
8267 # for dependence libraries. The import file would start with
8268 # the line `#! .'. This would cause the generated library to
8269 # depend on `.', always an invalid library. This was fixed in
8270 # development snapshots of GCC prior to 3.0.
8272 aix4 | aix4.
[01] | aix4.
[01].
*)
8273 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8275 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8282 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8283 # soname into executable. Probably we can add versioning support to
8284 # collect2, so additional links can be useful in future.
8285 if test "$aix_use_runtimelinking" = yes; then
8286 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8287 # instead of lib<name>.a to let people know that these are not
8288 # typical AIX shared libraries.
8289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8291 # We preserve .a as extension for shared libraries through AIX4.2
8292 # and later when we are not doing run time linking.
8293 library_names_spec
='${libname}${release}.a $libname.a'
8294 soname_spec
='${libname}${release}${shared_ext}$major'
8296 shlibpath_var
=LIBPATH
8301 library_names_spec
='$libname.ixlibrary $libname.a'
8302 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8303 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'
8307 library_names_spec
='${libname}${shared_ext}'
8308 dynamic_linker
="$host_os ld.so"
8309 shlibpath_var
=LIBRARY_PATH
8315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8316 soname_spec
='${libname}${release}${shared_ext}$major'
8317 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8318 shlibpath_var
=LD_LIBRARY_PATH
8319 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8320 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8321 # the default ld.so.conf also contains /usr/contrib/lib and
8322 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8323 # libtool to hard-code these into programs
8326 cygwin
* | mingw
* | pw32
*)
8327 version_type
=windows
8332 case $GCC,$host_os in
8333 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8334 library_names_spec
='$libname.dll.a'
8335 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8336 postinstall_cmds
='base_file=`basename \${file}`~
8337 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8338 dldir=$destdir/`dirname \$dlpath`~
8339 test -d \$dldir || mkdir -p \$dldir~
8340 $install_prog $dir/$dlname \$dldir/$dlname'
8341 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8342 dlpath=$dir/\$dldll~
8344 shlibpath_overrides_runpath
=yes
8348 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8349 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8350 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8353 # MinGW DLLs use traditional 'lib' prefix
8354 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8355 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8356 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8357 # It is most probably a Windows format PATH printed by
8358 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8359 # path with ; separators, and with drive letters. We can handle the
8360 # drive letters (cygwin fileutils understands them), so leave them,
8361 # especially as we might pass files found there to a mingw objdump,
8362 # which wouldn't understand a cygwinified path. Ahh.
8363 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8365 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8369 # pw32 DLLs use 'pw' prefix rather than 'lib'
8370 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
8376 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8379 dynamic_linker
='Win32 ld.exe'
8380 # FIXME: first we should search . and the directory the executable is in
8384 darwin
* | rhapsody
*)
8385 dynamic_linker
="$host_os dyld"
8389 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8390 soname_spec
='${libname}${release}${major}$shared_ext'
8391 shlibpath_overrides_runpath
=yes
8392 shlibpath_var
=DYLD_LIBRARY_PATH
8393 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
8394 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8395 if test "$GCC" = yes; then
8396 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"`
8398 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8400 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8408 soname_spec
='${libname}${release}${shared_ext}$major'
8409 shlibpath_var
=LD_LIBRARY_PATH
8420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8421 soname_spec
='${libname}${release}${shared_ext}$major'
8422 shlibpath_var
=LD_LIBRARY_PATH
8423 shlibpath_overrides_runpath
=no
8424 hardcode_into_libs
=yes
8425 dynamic_linker
='GNU ld.so'
8429 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8430 version_type
=freebsd-
$objformat
8431 case $version_type in
8433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8438 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8442 shlibpath_var
=LD_LIBRARY_PATH
8445 shlibpath_overrides_runpath
=yes
8447 freebsd3.01
* | freebsdelf3.01
*)
8448 shlibpath_overrides_runpath
=yes
8449 hardcode_into_libs
=yes
8452 shlibpath_overrides_runpath
=no
8453 hardcode_into_libs
=yes
8462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8463 soname_spec
='${libname}${release}${shared_ext}$major'
8464 shlibpath_var
=LD_LIBRARY_PATH
8465 hardcode_into_libs
=yes
8468 hpux9
* | hpux10
* | hpux11
*)
8469 # Give a soname corresponding to the major version so that dld.sl refuses to
8470 # link against other versions.
8477 hardcode_into_libs
=yes
8478 dynamic_linker
="$host_os dld.so"
8479 shlibpath_var
=LD_LIBRARY_PATH
8480 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8482 soname_spec
='${libname}${release}${shared_ext}$major'
8483 if test "X$HPUX_IA64_MODE" = X32
; then
8484 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8486 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8488 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8492 hardcode_into_libs
=yes
8493 dynamic_linker
="$host_os dld.sl"
8494 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8495 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8497 soname_spec
='${libname}${release}${shared_ext}$major'
8498 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8499 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8503 dynamic_linker
="$host_os dld.sl"
8504 shlibpath_var
=SHLIB_PATH
8505 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8507 soname_spec
='${libname}${release}${shared_ext}$major'
8510 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8511 postinstall_cmds
='chmod 555 $lib'
8514 irix5
* | irix6
* | nonstopux
*)
8516 nonstopux
*) version_type
=nonstopux
;;
8518 if test "$lt_cv_prog_gnu_ld" = yes; then
8526 soname_spec
='${libname}${release}${shared_ext}$major'
8527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8529 irix5
* | nonstopux
*)
8533 case $LD in # libtool.m4 will add one of these switches to LD
8534 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8535 libsuff
= shlibsuff
= libmagic
=32-bit;;
8536 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8537 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8538 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8539 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8540 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8544 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8545 shlibpath_overrides_runpath
=no
8546 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8547 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8548 hardcode_into_libs
=yes
8551 # No shared lib support for Linux oldld, aout, or coff.
8552 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8556 # This must be Linux ELF.
8561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8562 soname_spec
='${libname}${release}${shared_ext}$major'
8563 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8564 shlibpath_var
=LD_LIBRARY_PATH
8565 shlibpath_overrides_runpath
=no
8566 # This implies no fast_install, which is unacceptable.
8567 # Some rework will be needed to allow for fast_install
8568 # before this can be enabled.
8569 hardcode_into_libs
=yes
8571 # find out which ABI we are using
8574 x86_64
*|s390x
*|powerpc64
*)
8575 echo '#line 8575 "configure"' > conftest.
$ac_ext
8576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8577 (eval $ac_compile) 2>&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 (exit $ac_status); }; then
8581 case `/usr/bin/file conftest.$ac_objext` in
8584 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8592 # Append ld.so.conf contents to the search path
8593 if test -f /etc
/ld.so.conf
; then
8594 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
8595 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8598 # We used to test for /lib/ld.so.1 and disable shared libraries on
8599 # powerpc, because MkLinux only supported shared libraries with the
8600 # GNU dynamic linker. Since this was broken with cross compilers,
8601 # most powerpc-linux boxes support dynamic linking these days and
8602 # people can always --disable-shared, the test was removed, and we
8603 # assume the GNU/Linux dynamic linker is in use.
8604 dynamic_linker
='GNU/Linux ld.so'
8611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8612 soname_spec
='${libname}${release}${shared_ext}$major'
8613 shlibpath_var
=LD_LIBRARY_PATH
8614 shlibpath_overrides_runpath
=no
8615 hardcode_into_libs
=yes
8616 dynamic_linker
='GNU ld.so'
8623 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8625 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8626 dynamic_linker
='NetBSD (a.out) ld.so'
8628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8629 soname_spec
='${libname}${release}${shared_ext}$major'
8630 dynamic_linker
='NetBSD ld.elf_so'
8632 shlibpath_var
=LD_LIBRARY_PATH
8633 shlibpath_overrides_runpath
=yes
8634 hardcode_into_libs
=yes
8639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8640 shlibpath_var
=LD_LIBRARY_PATH
8641 shlibpath_overrides_runpath
=yes
8648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8649 soname_spec
='${libname}${release}${shared_ext}$major'
8650 shlibpath_var
=LD_LIBRARY_PATH
8651 shlibpath_overrides_runpath
=yes
8658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8659 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8660 shlibpath_var
=LD_LIBRARY_PATH
8661 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8663 openbsd2.
[89] | openbsd2.
[89].
*)
8664 shlibpath_overrides_runpath
=no
8667 shlibpath_overrides_runpath
=yes
8671 shlibpath_overrides_runpath
=yes
8676 libname_spec
='$name'
8679 library_names_spec
='$libname${shared_ext} $libname.a'
8680 dynamic_linker
='OS/2 ld.exe'
8681 shlibpath_var
=LIBPATH
8684 osf3
* | osf4
* | osf5
*)
8688 soname_spec
='${libname}${release}${shared_ext}$major'
8689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8690 shlibpath_var
=LD_LIBRARY_PATH
8691 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8692 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8697 soname_spec
='${libname}${release}${shared_ext}$major'
8698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8699 shlibpath_var
=LD_LIBRARY_PATH
8706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8707 soname_spec
='${libname}${release}${shared_ext}$major'
8708 shlibpath_var
=LD_LIBRARY_PATH
8709 shlibpath_overrides_runpath
=yes
8710 hardcode_into_libs
=yes
8711 # ldd complains unless libraries are executable
8712 postinstall_cmds
='chmod +x $lib'
8717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8718 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8719 shlibpath_var
=LD_LIBRARY_PATH
8720 shlibpath_overrides_runpath
=yes
8721 if test "$with_gnu_ld" = yes; then
8727 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8730 soname_spec
='${libname}${release}${shared_ext}$major'
8731 shlibpath_var
=LD_LIBRARY_PATH
8732 case $host_vendor in
8734 shlibpath_overrides_runpath
=no
8736 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8737 runpath_var
=LD_RUN_PATH
8745 shlibpath_overrides_runpath
=no
8746 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8752 if test -d /usr
/nec
;then
8754 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8755 soname_spec
='$libname${shared_ext}.$major'
8756 shlibpath_var
=LD_LIBRARY_PATH
8762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8763 soname_spec
='${libname}${release}${shared_ext}$major'
8764 shlibpath_var
=LD_LIBRARY_PATH
8771 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8772 echo "${ECHO_T}$dynamic_linker" >&6; }
8773 test "$dynamic_linker" = no
&& can_build_shared
=no
8775 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8776 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8778 if test -n "$hardcode_libdir_flag_spec" || \
8779 test -n "$runpath_var " || \
8780 test "X$hardcode_automatic"="Xyes" ; then
8782 # We can hardcode non-existant directories.
8783 if test "$hardcode_direct" != no
&&
8784 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8785 # have to relink, otherwise we might link with an installed library
8786 # when we should be linking with a yet-to-be-installed one
8787 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8788 test "$hardcode_minus_L" != no
; then
8789 # Linking always hardcodes the temporary library directory.
8790 hardcode_action
=relink
8792 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8793 hardcode_action
=immediate
8796 # We cannot hardcode anything, or else we can only hardcode existing
8798 hardcode_action
=unsupported
8800 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
8801 echo "${ECHO_T}$hardcode_action" >&6; }
8803 if test "$hardcode_action" = relink
; then
8804 # Fast installation is not supported
8805 enable_fast_install
=no
8806 elif test "$shlibpath_overrides_runpath" = yes ||
8807 test "$enable_shared" = no
; then
8808 # Fast installation is not necessary
8809 enable_fast_install
=needless
8814 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8815 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8816 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8817 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8818 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8819 { echo "$as_me:$LINENO: result: yes" >&5
8820 echo "${ECHO_T}yes" >&6; }
8822 # FIXME - insert some real tests, host_os isn't really good enough
8825 if test -n "$STRIP" ; then
8826 striplib
="$STRIP -x"
8827 { echo "$as_me:$LINENO: result: yes" >&5
8828 echo "${ECHO_T}yes" >&6; }
8830 { echo "$as_me:$LINENO: result: no" >&5
8831 echo "${ECHO_T}no" >&6; }
8835 { echo "$as_me:$LINENO: result: no" >&5
8836 echo "${ECHO_T}no" >&6; }
8841 if test "x$enable_dlopen" != xyes
; then
8842 enable_dlopen
=unknown
8843 enable_dlopen_self
=unknown
8844 enable_dlopen_self_static
=unknown
8851 lt_cv_dlopen
="load_add_on"
8853 lt_cv_dlopen_self
=yes
8857 lt_cv_dlopen
="LoadLibrary"
8862 lt_cv_dlopen
="dlopen"
8867 # if libdl is installed we need to link against it
8868 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8869 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8870 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8871 echo $ECHO_N "(cached) $ECHO_C" >&6
8873 ac_check_lib_save_LIBS
=$LIBS
8875 cat >conftest.
$ac_ext <<_ACEOF
8878 cat confdefs.h
>>conftest.
$ac_ext
8879 cat >>conftest.
$ac_ext <<_ACEOF
8880 /* end confdefs.h. */
8882 /* Override any GCC internal prototype to avoid an error.
8883 Use char because int might match the return type of a GCC
8884 builtin and then its argument prototype would still apply. */
8897 rm -f conftest.
$ac_objext conftest
$ac_exeext
8898 if { (ac_try
="$ac_link"
8900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8901 *) ac_try_echo=$ac_try;;
8903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8904 (eval "$ac_link") 2>conftest.er1
8906 grep -v '^ *+' conftest.er1 >conftest.err
8908 cat conftest.err >&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); } && {
8911 test -z "$ac_c_werror_flag" ||
8912 test ! -s conftest.err
8913 } && test -s conftest$ac_exeext &&
8914 $as_test_x conftest$ac_exeext; then
8915 ac_cv_lib_dl_dlopen=yes
8917 echo "$as_me: failed program was:" >&5
8918 sed 's/^/| /' conftest.$ac_ext >&5
8920 ac_cv_lib_dl_dlopen=no
8923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8924 conftest$ac_exeext conftest.$ac_ext
8925 LIBS=$ac_check_lib_save_LIBS
8927 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8928 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8929 if test $ac_cv_lib_dl_dlopen = yes; then
8930 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8935 lt_cv_dlopen_self=yes
8942 { echo "$as_me:$LINENO: checking for shl_load" >&5
8943 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8944 if test "${ac_cv_func_shl_load+set}" = set; then
8945 echo $ECHO_N "(cached) $ECHO_C" >&6
8947 cat >conftest.$ac_ext <<_ACEOF
8950 cat confdefs.h >>conftest.$ac_ext
8951 cat >>conftest.$ac_ext <<_ACEOF
8952 /* end confdefs.h. */
8953 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8955 #define shl_load innocuous_shl_load
8957 /* System header to define __stub macros and hopefully few prototypes,
8958 which can conflict with char shl_load (); below.
8959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8960 <limits.h> exists even on freestanding compilers. */
8963 # include <limits.h>
8965 # include <assert.h>
8970 /* Override any GCC internal prototype to avoid an error.
8971 Use char because int might match the return type of a GCC
8972 builtin and then its argument prototype would still apply. */
8977 /* The GNU C library defines this for functions which it implements
8978 to always fail with ENOSYS. Some functions are actually named
8979 something starting with __ and the normal name is an alias. */
8980 #if defined __stub_shl_load || defined __stub___shl_load
8992 rm -f conftest.$ac_objext conftest$ac_exeext
8993 if { (ac_try="$ac_link"
8995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8996 *) ac_try_echo
=$ac_try;;
8998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8999 (eval "$ac_link") 2>conftest.er1
9001 grep -v '^ *+' conftest.er1
>conftest.err
9003 cat conftest.err
>&5
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); } && {
9006 test -z "$ac_c_werror_flag" ||
9007 test ! -s conftest.err
9008 } && test -s conftest
$ac_exeext &&
9009 $as_test_x conftest
$ac_exeext; then
9010 ac_cv_func_shl_load
=yes
9012 echo "$as_me: failed program was:" >&5
9013 sed 's/^/| /' conftest.
$ac_ext >&5
9015 ac_cv_func_shl_load
=no
9018 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9019 conftest
$ac_exeext conftest.
$ac_ext
9021 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9022 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9023 if test $ac_cv_func_shl_load = yes; then
9024 lt_cv_dlopen
="shl_load"
9026 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9027 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9028 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9029 echo $ECHO_N "(cached) $ECHO_C" >&6
9031 ac_check_lib_save_LIBS
=$LIBS
9033 cat >conftest.
$ac_ext <<_ACEOF
9036 cat confdefs.h
>>conftest.
$ac_ext
9037 cat >>conftest.
$ac_ext <<_ACEOF
9038 /* end confdefs.h. */
9040 /* Override any GCC internal prototype to avoid an error.
9041 Use char because int might match the return type of a GCC
9042 builtin and then its argument prototype would still apply. */
9055 rm -f conftest.
$ac_objext conftest
$ac_exeext
9056 if { (ac_try
="$ac_link"
9058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9059 *) ac_try_echo=$ac_try;;
9061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9062 (eval "$ac_link") 2>conftest.er1
9064 grep -v '^ *+' conftest.er1 >conftest.err
9066 cat conftest.err >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); } && {
9069 test -z "$ac_c_werror_flag" ||
9070 test ! -s conftest.err
9071 } && test -s conftest$ac_exeext &&
9072 $as_test_x conftest$ac_exeext; then
9073 ac_cv_lib_dld_shl_load=yes
9075 echo "$as_me: failed program was:" >&5
9076 sed 's/^/| /' conftest.$ac_ext >&5
9078 ac_cv_lib_dld_shl_load=no
9081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9082 conftest$ac_exeext conftest.$ac_ext
9083 LIBS=$ac_check_lib_save_LIBS
9085 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9086 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9087 if test $ac_cv_lib_dld_shl_load = yes; then
9088 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9090 { echo "$as_me:$LINENO: checking for dlopen" >&5
9091 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9092 if test "${ac_cv_func_dlopen+set}" = set; then
9093 echo $ECHO_N "(cached) $ECHO_C" >&6
9095 cat >conftest.$ac_ext <<_ACEOF
9098 cat confdefs.h >>conftest.$ac_ext
9099 cat >>conftest.$ac_ext <<_ACEOF
9100 /* end confdefs.h. */
9101 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9103 #define dlopen innocuous_dlopen
9105 /* System header to define __stub macros and hopefully few prototypes,
9106 which can conflict with char dlopen (); below.
9107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9108 <limits.h> exists even on freestanding compilers. */
9111 # include <limits.h>
9113 # include <assert.h>
9118 /* Override any GCC internal prototype to avoid an error.
9119 Use char because int might match the return type of a GCC
9120 builtin and then its argument prototype would still apply. */
9125 /* The GNU C library defines this for functions which it implements
9126 to always fail with ENOSYS. Some functions are actually named
9127 something starting with __ and the normal name is an alias. */
9128 #if defined __stub_dlopen || defined __stub___dlopen
9140 rm -f conftest.$ac_objext conftest$ac_exeext
9141 if { (ac_try="$ac_link"
9143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9144 *) ac_try_echo
=$ac_try;;
9146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9147 (eval "$ac_link") 2>conftest.er1
9149 grep -v '^ *+' conftest.er1
>conftest.err
9151 cat conftest.err
>&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); } && {
9154 test -z "$ac_c_werror_flag" ||
9155 test ! -s conftest.err
9156 } && test -s conftest
$ac_exeext &&
9157 $as_test_x conftest
$ac_exeext; then
9158 ac_cv_func_dlopen
=yes
9160 echo "$as_me: failed program was:" >&5
9161 sed 's/^/| /' conftest.
$ac_ext >&5
9163 ac_cv_func_dlopen
=no
9166 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9167 conftest
$ac_exeext conftest.
$ac_ext
9169 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9170 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9171 if test $ac_cv_func_dlopen = yes; then
9172 lt_cv_dlopen
="dlopen"
9174 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9175 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9176 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9177 echo $ECHO_N "(cached) $ECHO_C" >&6
9179 ac_check_lib_save_LIBS
=$LIBS
9181 cat >conftest.
$ac_ext <<_ACEOF
9184 cat confdefs.h
>>conftest.
$ac_ext
9185 cat >>conftest.
$ac_ext <<_ACEOF
9186 /* end confdefs.h. */
9188 /* Override any GCC internal prototype to avoid an error.
9189 Use char because int might match the return type of a GCC
9190 builtin and then its argument prototype would still apply. */
9203 rm -f conftest.
$ac_objext conftest
$ac_exeext
9204 if { (ac_try
="$ac_link"
9206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9207 *) ac_try_echo=$ac_try;;
9209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9210 (eval "$ac_link") 2>conftest.er1
9212 grep -v '^ *+' conftest.er1 >conftest.err
9214 cat conftest.err >&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); } && {
9217 test -z "$ac_c_werror_flag" ||
9218 test ! -s conftest.err
9219 } && test -s conftest$ac_exeext &&
9220 $as_test_x conftest$ac_exeext; then
9221 ac_cv_lib_dl_dlopen=yes
9223 echo "$as_me: failed program was:" >&5
9224 sed 's/^/| /' conftest.$ac_ext >&5
9226 ac_cv_lib_dl_dlopen=no
9229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9230 conftest$ac_exeext conftest.$ac_ext
9231 LIBS=$ac_check_lib_save_LIBS
9233 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9234 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9235 if test $ac_cv_lib_dl_dlopen = yes; then
9236 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9238 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9239 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9240 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9241 echo $ECHO_N "(cached) $ECHO_C" >&6
9243 ac_check_lib_save_LIBS=$LIBS
9245 cat >conftest.$ac_ext <<_ACEOF
9248 cat confdefs.h >>conftest.$ac_ext
9249 cat >>conftest.$ac_ext <<_ACEOF
9250 /* end confdefs.h. */
9252 /* Override any GCC internal prototype to avoid an error.
9253 Use char because int might match the return type of a GCC
9254 builtin and then its argument prototype would still apply. */
9267 rm -f conftest.$ac_objext conftest$ac_exeext
9268 if { (ac_try="$ac_link"
9270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9271 *) ac_try_echo
=$ac_try;;
9273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9274 (eval "$ac_link") 2>conftest.er1
9276 grep -v '^ *+' conftest.er1
>conftest.err
9278 cat conftest.err
>&5
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); } && {
9281 test -z "$ac_c_werror_flag" ||
9282 test ! -s conftest.err
9283 } && test -s conftest
$ac_exeext &&
9284 $as_test_x conftest
$ac_exeext; then
9285 ac_cv_lib_svld_dlopen
=yes
9287 echo "$as_me: failed program was:" >&5
9288 sed 's/^/| /' conftest.
$ac_ext >&5
9290 ac_cv_lib_svld_dlopen
=no
9293 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9294 conftest
$ac_exeext conftest.
$ac_ext
9295 LIBS
=$ac_check_lib_save_LIBS
9297 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9298 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9299 if test $ac_cv_lib_svld_dlopen = yes; then
9300 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9302 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9303 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9304 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9305 echo $ECHO_N "(cached) $ECHO_C" >&6
9307 ac_check_lib_save_LIBS
=$LIBS
9309 cat >conftest.
$ac_ext <<_ACEOF
9312 cat confdefs.h
>>conftest.
$ac_ext
9313 cat >>conftest.
$ac_ext <<_ACEOF
9314 /* end confdefs.h. */
9316 /* Override any GCC internal prototype to avoid an error.
9317 Use char because int might match the return type of a GCC
9318 builtin and then its argument prototype would still apply. */
9331 rm -f conftest.
$ac_objext conftest
$ac_exeext
9332 if { (ac_try
="$ac_link"
9334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9335 *) ac_try_echo=$ac_try;;
9337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9338 (eval "$ac_link") 2>conftest.er1
9340 grep -v '^ *+' conftest.er1 >conftest.err
9342 cat conftest.err >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); } && {
9345 test -z "$ac_c_werror_flag" ||
9346 test ! -s conftest.err
9347 } && test -s conftest$ac_exeext &&
9348 $as_test_x conftest$ac_exeext; then
9349 ac_cv_lib_dld_dld_link=yes
9351 echo "$as_me: failed program was:" >&5
9352 sed 's/^/| /' conftest.$ac_ext >&5
9354 ac_cv_lib_dld_dld_link=no
9357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9358 conftest$ac_exeext conftest.$ac_ext
9359 LIBS=$ac_check_lib_save_LIBS
9361 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9362 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9363 if test $ac_cv_lib_dld_dld_link = yes; then
9364 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9385 if test "x$lt_cv_dlopen" != xno; then
9391 case $lt_cv_dlopen in
9393 save_CPPFLAGS="$CPPFLAGS"
9394 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9396 save_LDFLAGS="$LDFLAGS"
9397 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9400 LIBS="$lt_cv_dlopen_libs $LIBS"
9402 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9403 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9404 if test "${lt_cv_dlopen_self+set}" = set; then
9405 echo $ECHO_N "(cached) $ECHO_C" >&6
9407 if test "$cross_compiling" = yes; then :
9408 lt_cv_dlopen_self=cross
9410 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9411 lt_status=$lt_dlunknown
9412 cat > conftest.$ac_ext <<EOF
9413 #line 9413 "configure"
9414 #include "confdefs.h"
9423 # define LT_DLGLOBAL RTLD_GLOBAL
9426 # define LT_DLGLOBAL DL_GLOBAL
9428 # define LT_DLGLOBAL 0
9432 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9433 find out it does not work in some platform. */
9434 #ifndef LT_DLLAZY_OR_NOW
9436 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9439 # define LT_DLLAZY_OR_NOW DL_LAZY
9442 # define LT_DLLAZY_OR_NOW RTLD_NOW
9445 # define LT_DLLAZY_OR_NOW DL_NOW
9447 # define LT_DLLAZY_OR_NOW 0
9455 extern "C" void exit (int);
9458 void fnord() { int i=42;}
9461 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9462 int status = $lt_dlunknown;
9466 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9467 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9468 /* dlclose (self); */
9474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9475 (eval $ac_link) 2>&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9479 (./conftest; exit; ) 2>/dev/null
9482 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9483 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9484 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
9487 # compilation failed
9488 lt_cv_dlopen_self=no
9495 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9496 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9498 if test "x$lt_cv_dlopen_self" = xyes; then
9499 LDFLAGS="$LDFLAGS $link_static_flag"
9500 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9501 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9502 if test "${lt_cv_dlopen_self_static+set}" = set; then
9503 echo $ECHO_N "(cached) $ECHO_C" >&6
9505 if test "$cross_compiling" = yes; then :
9506 lt_cv_dlopen_self_static=cross
9508 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9509 lt_status=$lt_dlunknown
9510 cat > conftest.$ac_ext <<EOF
9511 #line 9511 "configure"
9512 #include "confdefs.h"
9521 # define LT_DLGLOBAL RTLD_GLOBAL
9524 # define LT_DLGLOBAL DL_GLOBAL
9526 # define LT_DLGLOBAL 0
9530 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9531 find out it does not work in some platform. */
9532 #ifndef LT_DLLAZY_OR_NOW
9534 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9537 # define LT_DLLAZY_OR_NOW DL_LAZY
9540 # define LT_DLLAZY_OR_NOW RTLD_NOW
9543 # define LT_DLLAZY_OR_NOW DL_NOW
9545 # define LT_DLLAZY_OR_NOW 0
9553 extern "C" void exit (int);
9556 void fnord() { int i=42;}
9559 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9560 int status = $lt_dlunknown;
9564 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9565 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9566 /* dlclose (self); */
9572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9573 (eval $ac_link) 2>&5
9575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9577 (./conftest; exit; ) 2>/dev/null
9580 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9581 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9582 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
9585 # compilation failed
9586 lt_cv_dlopen_self_static=no
9593 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9594 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9597 CPPFLAGS="$save_CPPFLAGS"
9598 LDFLAGS="$save_LDFLAGS"
9603 case $lt_cv_dlopen_self in
9604 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9605 *) enable_dlopen_self=unknown ;;
9608 case $lt_cv_dlopen_self_static in
9609 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9610 *) enable_dlopen_self_static=unknown ;;
9615 # Report which librarie types wil actually be built
9616 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9617 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9618 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
9619 echo "${ECHO_T}$can_build_shared" >&6; }
9621 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9622 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9623 test "$can_build_shared" = "no" && enable_shared=no
9625 # On AIX, shared libraries and static libraries use the same namespace, and
9626 # are all built from PIC.
9629 test "$enable_shared" = yes && enable_static=no
9630 if test -n "$RANLIB"; then
9631 archive_cmds="$archive_cmds~\$RANLIB \$lib"
9632 postinstall_cmds='$RANLIB $lib'
9637 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9638 test "$enable_shared" = yes && enable_static=no
9641 darwin* | rhapsody*)
9642 if test "$GCC" = yes; then
9643 archive_cmds_need_lc=no
9645 rhapsody* | darwin1.[012])
9646 allow_undefined_flag='-undefined suppress'
9649 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9650 allow_undefined_flag='-flat_namespace -undefined suppress'
9652 case ${MACOSX_DEPLOYMENT_TARGET} in
9654 allow_undefined_flag='-flat_namespace -undefined suppress'
9657 allow_undefined_flag='-undefined dynamic_lookup'
9663 output_verbose_link_cmd='echo'
9664 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9665 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9666 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9667 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}'
9668 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}'
9670 hardcode_automatic=yes
9671 hardcode_shlibpath_var=unsupported
9672 whole_archive_flag_spec='-all_load $convenience'
9673 link_all_deplibs=yes
9679 { echo "$as_me:$LINENO: result: $enable_shared" >&5
9680 echo "${ECHO_T}$enable_shared" >&6; }
9682 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9683 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9684 # Make sure either enable_shared or enable_static is yes.
9685 test "$enable_shared" = yes || enable_static=yes
9686 { echo "$as_me:$LINENO: result: $enable_static" >&5
9687 echo "${ECHO_T}$enable_static" >&6; }
9689 # The else clause should only fire when bootstrapping the
9690 # libtool distribution, otherwise you forgot to ship ltmain.sh
9691 # with your package, and you will get complaints that there are
9692 # no rules to generate ltmain.sh.
9693 if test -f "$ltmain"; then
9694 # See if we are running on zsh, and set the options which allow our commands through
9695 # without removal of \ escapes.
9696 if test -n "${ZSH_VERSION+set}" ; then
9697 setopt NO_GLOB_SUBST
9699 # Now quote all the things that may contain metacharacters while being
9700 # careful not to overquote the AC_SUBSTed values. We take copies of the
9701 # variables and quote the copies for generation of the libtool script.
9702 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9704 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9705 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9706 deplibs_check_method reload_flag reload_cmds need_locks \
9707 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9708 lt_cv_sys_global_symbol_to_c_name_address \
9709 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9710 old_postinstall_cmds old_postuninstall_cmds \
9714 lt_prog_compiler_wl \
9715 lt_prog_compiler_pic \
9716 lt_prog_compiler_static \
9717 lt_prog_compiler_no_builtin_flag \
9718 export_dynamic_flag_spec \
9719 thread_safe_flag_spec \
9720 whole_archive_flag_spec \
9721 enable_shared_with_static_runtimes \
9723 old_archive_from_new_cmds \
9728 compiler_lib_search_path \
9730 archive_expsym_cmds \
9732 postuninstall_cmds \
9733 old_archive_from_expsyms_cmds \
9734 allow_undefined_flag \
9736 export_symbols_cmds \
9737 hardcode_libdir_flag_spec \
9738 hardcode_libdir_flag_spec_ld \
9739 hardcode_libdir_separator \
9740 hardcode_automatic \
9742 module_expsym_cmds \
9743 lt_cv_prog_compiler_c_o \
9748 old_archive_cmds | \
9749 old_archive_from_new_cmds | \
9751 archive_expsym_cmds | \
9753 module_expsym_cmds | \
9754 old_archive_from_expsyms_cmds | \
9755 export_symbols_cmds | \
9756 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9757 postinstall_cmds | postuninstall_cmds | \
9758 old_postinstall_cmds | old_postuninstall_cmds | \
9759 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9760 # Double-quote double-evaled strings.
9761 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
9764 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
9770 *'\$0 --fallback-echo"')
9771 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9776 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9778 { echo "$as_me:$LINENO: creating $ofile" >&5
9779 echo "$as_me: creating $ofile" >&6;}
9781 cat <<__EOF__ >> "$cfgfile"
9784 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
9785 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9786 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9788 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9789 # Free Software Foundation, Inc.
9791 # This file is part of GNU Libtool:
9792 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9794 # This program is free software; you can redistribute it and/or modify
9795 # it under the terms of the GNU General Public License as published by
9796 # the Free Software Foundation; either version 2 of the License, or
9797 # (at your option) any later version.
9799 # This program is distributed in the hope that it will be useful, but
9800 # WITHOUT ANY WARRANTY; without even the implied warranty of
9801 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9802 # General Public License for more details.
9804 # You should have received a copy of the GNU General Public License
9805 # along with this program; if not, write to the Free Software
9806 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9808 # As a special exception to the GNU General Public License, if you
9809 # distribute this file as part of a program that contains a
9810 # configuration script generated by Autoconf, you may include it under
9811 # the same distribution terms that you use for the rest of that program.
9813 # A sed program that does not truncate output.
9816 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9817 Xsed="$SED -e s/^X//"
9819 # The HP-UX ksh and POSIX shell print the target directory to stdout
9821 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9823 # The names of the tagged configurations supported by this script.
9826 # ### BEGIN LIBTOOL CONFIG
9828 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
9830 # Shell to use when invoking shell scripts.
9833 # Whether or not to build shared libraries.
9834 build_libtool_libs=$enable_shared
9836 # Whether or not to build static libraries.
9837 build_old_libs=$enable_static
9839 # Whether or not to add -lc for building shared libraries.
9840 build_libtool_need_lc=$archive_cmds_need_lc
9842 # Whether or not to disallow shared libs when runtime libs are static
9843 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9845 # Whether or not to optimize for fast installation.
9846 fast_install=$enable_fast_install
9849 host_alias=$host_alias
9852 # An echo program that does not interpret backslashes.
9857 AR_FLAGS=$lt_AR_FLAGS
9862 # A language-specific compiler.
9865 # Is the compiler the GNU C compiler?
9871 # The linker used to build libraries.
9874 # Whether we need hard or soft links.
9877 # A BSD-compatible nm program.
9880 # A symbol stripping program
9883 # Used to examine libraries when file_magic_cmd begins "file"
9884 MAGIC_CMD=$MAGIC_CMD
9886 # Used on cygwin: DLL creation program.
9889 # Used on cygwin: object dumper.
9892 # Used on cygwin: assembler.
9895 # The name of the directory that contains temporary libtool files.
9898 # How to create reloadable object files.
9899 reload_flag=$lt_reload_flag
9900 reload_cmds=$lt_reload_cmds
9902 # How to pass a linker flag through the compiler.
9903 wl=$lt_lt_prog_compiler_wl
9905 # Object file suffix (normally "o").
9908 # Old archive suffix (normally "a").
9911 # Shared library suffix (normally ".so").
9912 shrext_cmds='$shrext_cmds'
9914 # Executable file suffix (normally "").
9917 # Additional compiler flags for building library objects.
9918 pic_flag=$lt_lt_prog_compiler_pic
9921 # What is the maximum length of a command?
9922 max_cmd_len=$lt_cv_sys_max_cmd_len
9924 # Does compiler simultaneously support -c and -o options?
9925 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9927 # Must we lock files when doing compilation ?
9928 need_locks=$lt_need_locks
9930 # Do we need the lib prefix for modules?
9931 need_lib_prefix=$need_lib_prefix
9933 # Do we need a version for libraries?
9934 need_version=$need_version
9936 # Whether dlopen is supported.
9937 dlopen_support=$enable_dlopen
9939 # Whether dlopen of programs is supported.
9940 dlopen_self=$enable_dlopen_self
9942 # Whether dlopen of statically linked programs is supported.
9943 dlopen_self_static=$enable_dlopen_self_static
9945 # Compiler flag to prevent dynamic linking.
9946 link_static_flag=$lt_lt_prog_compiler_static
9948 # Compiler flag to turn off builtin functions.
9949 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9951 # Compiler flag to allow reflexive dlopens.
9952 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9954 # Compiler flag to generate shared objects directly from archives.
9955 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9957 # Compiler flag to generate thread-safe objects.
9958 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9960 # Library versioning type.
9961 version_type=$version_type
9963 # Format of library name prefix.
9964 libname_spec=$lt_libname_spec
9966 # List of archive names. First name is the real one, the rest are links.
9967 # The last name is the one that the linker finds with -lNAME.
9968 library_names_spec=$lt_library_names_spec
9970 # The coded name of the library, if different from the real name.
9971 soname_spec=$lt_soname_spec
9973 # Commands used to build and install an old-style archive.
9975 old_archive_cmds=$lt_old_archive_cmds
9976 old_postinstall_cmds=$lt_old_postinstall_cmds
9977 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9979 # Create an old-style archive from a shared archive.
9980 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9982 # Create a temporary old-style archive to link instead of a shared archive.
9983 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9985 # Commands used to build and install a shared archive.
9986 archive_cmds=$lt_archive_cmds
9987 archive_expsym_cmds=$lt_archive_expsym_cmds
9988 postinstall_cmds=$lt_postinstall_cmds
9989 postuninstall_cmds=$lt_postuninstall_cmds
9991 # Commands used to build a loadable module (assumed same as above if empty)
9992 module_cmds=$lt_module_cmds
9993 module_expsym_cmds=$lt_module_expsym_cmds
9995 # Commands to strip libraries.
9996 old_striplib=$lt_old_striplib
9997 striplib=$lt_striplib
9999 # Dependencies to place before the objects being linked to create a
10001 predep_objects=$lt_predep_objects
10003 # Dependencies to place after the objects being linked to create a
10005 postdep_objects=$lt_postdep_objects
10007 # Dependencies to place before the objects being linked to create a
10009 predeps=$lt_predeps
10011 # Dependencies to place after the objects being linked to create a
10013 postdeps=$lt_postdeps
10015 # The library search path used internally by the compiler when linking
10016 # a shared library.
10017 compiler_lib_search_path=$lt_compiler_lib_search_path
10019 # Method to check whether dependent libraries are shared objects.
10020 deplibs_check_method=$lt_deplibs_check_method
10022 # Command to use when deplibs_check_method == file_magic.
10023 file_magic_cmd=$lt_file_magic_cmd
10025 # Flag that allows shared libraries with undefined symbols to be built.
10026 allow_undefined_flag=$lt_allow_undefined_flag
10028 # Flag that forces no undefined symbols.
10029 no_undefined_flag=$lt_no_undefined_flag
10031 # Commands used to finish a libtool library installation in a directory.
10032 finish_cmds=$lt_finish_cmds
10034 # Same as above, but a single script fragment to be evaled but not shown.
10035 finish_eval=$lt_finish_eval
10037 # Take the output of nm and produce a listing of raw symbols and C names.
10038 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10040 # Transform the output of nm in a proper C declaration
10041 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10043 # Transform the output of nm in a C name address pair
10044 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10046 # This is the shared library runtime path variable.
10047 runpath_var=$runpath_var
10049 # This is the shared library path variable.
10050 shlibpath_var=$shlibpath_var
10052 # Is shlibpath searched before the hard-coded library search path?
10053 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10055 # How to hardcode a shared library path into an executable.
10056 hardcode_action=$hardcode_action
10058 # Whether we should hardcode library paths into libraries.
10059 hardcode_into_libs=$hardcode_into_libs
10061 # Flag to hardcode \$libdir into a binary during linking.
10062 # This must work even if \$libdir does not exist.
10063 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10065 # If ld is used when linking, flag to hardcode \$libdir into
10066 # a binary during linking. This must work even if \$libdir does
10068 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10070 # Whether we need a single -rpath flag with a separated argument.
10071 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10073 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10074 # resulting binary.
10075 hardcode_direct=$hardcode_direct
10077 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10078 # resulting binary.
10079 hardcode_minus_L=$hardcode_minus_L
10081 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10082 # the resulting binary.
10083 hardcode_shlibpath_var=$hardcode_shlibpath_var
10085 # Set to yes if building a shared library automatically hardcodes DIR into the library
10086 # and all subsequent libraries and executables linked against it.
10087 hardcode_automatic=$hardcode_automatic
10089 # Variables whose values should be saved in libtool wrapper scripts and
10090 # restored at relink time.
10091 variables_saved_for_relink="$variables_saved_for_relink"
10093 # Whether libtool must link a program against all its dependency libraries.
10094 link_all_deplibs=$link_all_deplibs
10096 # Compile-time system search path for libraries
10097 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10099 # Run-time system search path for libraries
10100 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10102 # Fix the shell variable \$srcfile for the compiler.
10103 fix_srcfile_path="$fix_srcfile_path"
10105 # Set to yes if exported symbols are required.
10106 always_export_symbols=$always_export_symbols
10108 # The commands to list exported symbols.
10109 export_symbols_cmds=$lt_export_symbols_cmds
10111 # The commands to extract the exported symbol list from a shared archive.
10112 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10114 # Symbols that should not be listed in the preloaded symbols.
10115 exclude_expsyms=$lt_exclude_expsyms
10117 # Symbols that must always be exported.
10118 include_expsyms=$lt_include_expsyms
10120 # ### END LIBTOOL CONFIG
10127 cat <<\EOF >> "$cfgfile"
10129 # AIX sometimes has problems with the GCC collect2 program. For some
10130 # reason, if we set the COLLECT_NAMES environment variable, the problems
10131 # vanish in a puff of smoke.
10132 if test "X${COLLECT_NAMES+set}" != Xset; then
10134 export COLLECT_NAMES
10140 # We use sed instead of cat because bash on DJGPP gets confused if
10141 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10142 # text mode, it properly converts lines to CR/LF. This bash problem
10143 # is reportedly fixed, but why not run on old versions too?
10144 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10146 mv -f "$cfgfile" "$ofile" || \
10147 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10151 # If there is no Makefile yet, we rely on a make rule to execute
10152 # `config.status
--recheck' to rerun these tests and create the
10153 # libtool script then.
10154 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10155 if test -f "$ltmain_in"; then
10156 test -f Makefile && make "$ltmain"
10162 ac_cpp='$CXXCPP $CPPFLAGS'
10163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10164 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10170 # Check whether --with-tags was given.
10171 if test "${with_tags+set}" = set; then
10172 withval=$with_tags; tagnames="$withval"
10176 if test -f "$ltmain" && test -n "$tagnames"; then
10177 if test ! -f "${ofile}"; then
10178 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10179 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10182 if test -z "$LTCC"; then
10183 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10184 if test -z "$LTCC"; then
10185 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10186 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10188 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10189 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10193 # Extract list of available tagged configurations in $ofile.
10194 # Note that this assumes the entire list is on one line.
10195 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10197 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10198 for tagname in $tagnames; do
10200 # Check whether tagname contains only valid characters
10201 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10203 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10204 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10205 { (exit 1); exit 1; }; }
10209 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10211 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10212 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10213 { (exit 1); exit 1; }; }
10216 # Update the list of available tags.
10217 if test -n "$tagname"; then
10218 echo appending configuration tag \"$tagname\" to $ofile
10222 if test -n "$CXX" && test "X$CXX" != "Xno"; then
10224 ac_cpp='$CXXCPP $CPPFLAGS'
10225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10232 archive_cmds_need_lc_CXX=no
10233 allow_undefined_flag_CXX=
10234 always_export_symbols_CXX=no
10235 archive_expsym_cmds_CXX=
10236 export_dynamic_flag_spec_CXX=
10237 hardcode_direct_CXX=no
10238 hardcode_libdir_flag_spec_CXX=
10239 hardcode_libdir_flag_spec_ld_CXX=
10240 hardcode_libdir_separator_CXX=
10241 hardcode_minus_L_CXX=no
10242 hardcode_automatic_CXX=no
10244 module_expsym_cmds_CXX=
10245 link_all_deplibs_CXX=unknown
10246 old_archive_cmds_CXX=$old_archive_cmds
10247 no_undefined_flag_CXX=
10248 whole_archive_flag_spec_CXX=
10249 enable_shared_with_static_runtimes_CXX=no
10251 # Dependencies to place before and after the object being linked:
10252 predep_objects_CXX=
10253 postdep_objects_CXX=
10256 compiler_lib_search_path_CXX=
10258 # Source file extension for C++ test sources.
10261 # Object file extension for compiled C++ test sources.
10265 # Code to be used in simple compile tests
10266 lt_simple_compile_test_code="int some_variable = 0;\n"
10268 # Code to be used in simple link tests
10269 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
10271 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10273 # If no C compiler was specified, use CC.
10276 # Allow CC to be a program name with arguments.
10280 # Allow CC to be a program name with arguments.
10285 lt_save_with_gnu_ld=$with_gnu_ld
10286 lt_save_path_LD=$lt_cv_path_LD
10287 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10288 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10290 unset lt_cv_prog_gnu_ld
10292 if test -n "${lt_cv_path_LDCXX+set}"; then
10293 lt_cv_path_LD=$lt_cv_path_LDCXX
10295 unset lt_cv_path_LD
10297 test -z "${LDCXX+set}" || LD=$LDCXX
10301 cc_basename=`$echo X
"$compiler" |
$Xsed -e 's%^.*/%%'`
10303 # We don't want -fno-exception wen compiling C++ code, so set the
10304 # no_builtin_flag separately
10305 if test "$GXX" = yes; then
10306 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10308 lt_prog_compiler_no_builtin_flag_CXX=
10311 if test "$GXX" = yes; then
10312 # Set up default GNU C++ configuration
10315 # Check whether --with-gnu-ld was given.
10316 if test "${with_gnu_ld+set}" = set; then
10317 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10323 if test "$GCC" = yes; then
10324 # Check if gcc -print-prog-name=ld gives a path.
10325 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10326 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10329 # gcc leaves a trailing carriage return which upsets mingw
10330 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10332 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10335 # Accept absolute paths.
10337 re_direlt='/[^/][^/]*/\.\./'
10338 # Canonicalize the pathname of ld
10339 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10340 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10341 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10343 test -z "$LD" && LD="$ac_prog"
10346 # If it fails, then pretend we aren't using GCC.
10350 # If it is relative, then search for the first ld in PATH.
10351 with_gnu_ld=unknown
10354 elif test "$with_gnu_ld" = yes; then
10355 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10356 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10358 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10359 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10361 if test "${lt_cv_path_LD+set}" = set; then
10362 echo $ECHO_N "(cached) $ECHO_C" >&6
10364 if test -z "$LD"; then
10365 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10366 for ac_dir in $PATH; do
10368 test -z "$ac_dir" && ac_dir=.
10369 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10370 lt_cv_path_LD="$ac_dir/$ac_prog"
10371 # Check to see if the program is GNU ld. I'd rather use --version,
10372 # but apparently some GNU ld's only accept -v.
10373 # Break only if it was the GNU/non-GNU ld that we prefer.
10374 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10375 *GNU* | *'with BFD'*)
10376 test "$with_gnu_ld" != no && break
10379 test "$with_gnu_ld" != yes && break
10386 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10390 LD="$lt_cv_path_LD"
10391 if test -n "$LD"; then
10392 { echo "$as_me:$LINENO: result: $LD" >&5
10393 echo "${ECHO_T}$LD" >&6; }
10395 { echo "$as_me:$LINENO: result: no" >&5
10396 echo "${ECHO_T}no" >&6; }
10398 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10399 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10400 { (exit 1); exit 1; }; }
10401 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10402 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10403 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10406 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10407 case `$LD -v 2>&1 </dev
/null
` in
10408 *GNU* | *'with BFD'*)
10409 lt_cv_prog_gnu_ld=yes
10412 lt_cv_prog_gnu_ld=no
10416 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10417 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10418 with_gnu_ld=$lt_cv_prog_gnu_ld
10422 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10423 # archiving commands below assume that GNU ld is being used.
10424 if test "$with_gnu_ld" = yes; then
10425 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10426 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'
10428 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10429 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10431 # If archive_cmds runs LD, not CC, wlarc should be empty
10432 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10433 # investigate it a little bit more. (MM)
10436 # ancient GNU ld didn't support --whole-archive et. al.
10437 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10438 grep 'no-whole-archive' > /dev/null; then
10439 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10441 whole_archive_flag_spec_CXX=
10447 # A generic and very simple default shared library creation
10448 # command for GNU C++ for the case where it uses the native
10449 # linker, instead of GNU ld. If possible, this setting should
10450 # overridden to take advantage of the native linker features on
10451 # the platform it is being used on.
10452 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10455 # Commands to make compiler produce verbose output that lists
10456 # what "hidden" libraries, object files and flags are used when
10457 # linking a shared library.
10458 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10466 # PORTME: fill in a description of your system's C++ link characteristics
10467 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10468 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10472 # FIXME: insert proper C++ library support
10476 if test "$host_cpu" = ia64; then
10477 # On IA64, the linker does run time linking by default, so we don't
10478 # have to do anything special.
10479 aix_use_runtimelinking=no
10480 exp_sym_flag='-Bexport'
10483 aix_use_runtimelinking=no
10485 # Test if we are trying to use run time linking or normal
10486 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10487 # need to do runtime linking.
10488 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10489 for ld_flag in $LDFLAGS; do
10492 aix_use_runtimelinking=yes
10499 exp_sym_flag='-bexport'
10500 no_entry_flag='-bnoentry'
10503 # When large executables or shared objects are built, AIX ld can
10504 # have problems creating the table of contents. If linking a library
10505 # or program results in "error TOC overflow" add -mminimal-toc to
10506 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10507 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10509 archive_cmds_CXX=''
10510 hardcode_direct_CXX=yes
10511 hardcode_libdir_separator_CXX=':'
10512 link_all_deplibs_CXX=yes
10514 if test "$GXX" = yes; then
10515 case $host_os in aix4.012|aix4.012.*)
10516 # We only want to do this on AIX 4.2 and lower, the check
10517 # below for broken collect2 doesn't work under 4.3+
10518 collect2name=`${CC} -print-prog-name=collect2
`
10519 if test -f "$collect2name" && \
10520 strings "$collect2name" | grep resolve_lib_name >/dev/null
10522 # We have reworked collect2
10523 hardcode_direct_CXX=yes
10525 # We have old collect2
10526 hardcode_direct_CXX=unsupported
10527 # It fails to find uninstalled libraries when the uninstalled
10528 # path is not listed in the libpath. Setting hardcode_minus_L
10529 # to unsupported forces relinking
10530 hardcode_minus_L_CXX=yes
10531 hardcode_libdir_flag_spec_CXX='-L$libdir'
10532 hardcode_libdir_separator_CXX=
10535 shared_flag='-shared'
10538 if test "$host_cpu" = ia64; then
10539 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10540 # chokes on -Wl,-G. The following line is correct:
10543 if test "$aix_use_runtimelinking" = yes; then
10544 shared_flag='${wl}-G'
10546 shared_flag='${wl}-bM:SRE'
10551 # It seems that -bexpall does not export symbols beginning with
10552 # underscore (_), so it is better to generate a list of symbols to export.
10553 always_export_symbols_CXX=yes
10554 if test "$aix_use_runtimelinking" = yes; then
10555 # Warning - without using the other runtime loading flags (-brtl),
10556 # -berok will link without error, but may produce a broken library.
10557 allow_undefined_flag_CXX='-berok'
10558 # Determine the default libpath from the value encoded in an empty executable.
10559 cat >conftest.$ac_ext <<_ACEOF
10562 cat confdefs.h >>conftest.$ac_ext
10563 cat >>conftest.$ac_ext <<_ACEOF
10564 /* end confdefs.h. */
10574 rm -f conftest.$ac_objext conftest$ac_exeext
10575 if { (ac_try="$ac_link"
10576 case "(($ac_try" in
10577 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10578 *) ac_try_echo
=$ac_try;;
10580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10581 (eval "$ac_link") 2>conftest.er1
10583 grep -v '^ *+' conftest.er1
>conftest.err
10585 cat conftest.err
>&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); } && {
10588 test -z "$ac_cxx_werror_flag" ||
10589 test ! -s conftest.err
10590 } && test -s conftest
$ac_exeext &&
10591 $as_test_x conftest
$ac_exeext; then
10593 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10595 # Check for a 64-bit object if we didn't find anything.
10596 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; }
10599 echo "$as_me: failed program was:" >&5
10600 sed 's/^/| /' conftest.
$ac_ext >&5
10605 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10606 conftest
$ac_exeext conftest.
$ac_ext
10607 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10609 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10611 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"
10613 if test "$host_cpu" = ia64; then
10614 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10615 allow_undefined_flag_CXX="-z nodefs"
10616 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"
10618 # Determine the default libpath from the value encoded in an empty executable.
10619 cat >conftest.$ac_ext <<_ACEOF
10622 cat confdefs.h >>conftest.$ac_ext
10623 cat >>conftest.$ac_ext <<_ACEOF
10624 /* end confdefs.h. */
10634 rm -f conftest.$ac_objext conftest$ac_exeext
10635 if { (ac_try="$ac_link"
10636 case "(($ac_try" in
10637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10638 *) ac_try_echo=$ac_try;;
10640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10641 (eval "$ac_link") 2>conftest.er1
10643 grep -v '^ *+' conftest.er1 >conftest.err
10645 cat conftest.err >&5
10646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10647 (exit $ac_status); } && {
10648 test -z "$ac_cxx_werror_flag" ||
10649 test ! -s conftest.err
10650 } && test -s conftest$ac_exeext &&
10651 $as_test_x conftest$ac_exeext; then
10653 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10655 # Check for a 64-bit object if we didn't find anything.
10656 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; }
10659 echo "$as_me: failed program was
:" >&5
10660 sed 's/^/| /' conftest.$ac_ext >&5
10665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10666 conftest$ac_exeext conftest.$ac_ext
10667 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10669 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10670 # Warning - without using the other run time loading flags,
10671 # -berok will link without error, but may produce a broken library.
10672 no_undefined_flag_CXX=' ${wl}-bernotok'
10673 allow_undefined_flag_CXX=' ${wl}-berok'
10674 # -bexpall does not export symbols beginning with underscore (_)
10675 always_export_symbols_CXX=yes
10676 # Exported symbols can be pulled into shared objects from archives
10677 whole_archive_flag_spec_CXX=' '
10678 archive_cmds_need_lc_CXX=yes
10679 # This is similar to how AIX traditionally builds it's shared libraries.
10680 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'
10685 case $cc_basename in
10687 # FIXME: insert proper C++ library support
10693 cygwin* | mingw* | pw32*)
10694 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10695 # as there is no search path for DLLs.
10696 hardcode_libdir_flag_spec_CXX='-L$libdir'
10697 allow_undefined_flag_CXX=unsupported
10698 always_export_symbols_CXX=no
10699 enable_shared_with_static_runtimes_CXX=yes
10701 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10702 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'
10703 # If the export-symbols file already is a .def file (1st line
10704 # is EXPORTS), use it as is; otherwise, prepend...
10705 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10706 cp $export_symbols $output_objdir/$soname.def;
10708 echo EXPORTS > $output_objdir/$soname.def;
10709 cat $export_symbols >> $output_objdir/$soname.def;
10711 $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'
10717 darwin* | rhapsody*)
10718 if test "$GXX" = yes; then
10719 archive_cmds_need_lc_CXX=no
10721 rhapsody* | darwin1.[012])
10722 allow_undefined_flag_CXX='-undefined suppress'
10725 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10726 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10728 case ${MACOSX_DEPLOYMENT_TARGET} in
10730 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10733 allow_undefined_flag_CXX='-undefined dynamic_lookup'
10739 lt_int_apple_cc_single_mod=no
10740 output_verbose_link_cmd='echo'
10741 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10742 lt_int_apple_cc_single_mod=yes
10744 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10745 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10747 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -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'
10749 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10751 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10752 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10753 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}'
10755 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
10757 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}'
10758 hardcode_direct_CXX
=no
10759 hardcode_automatic_CXX
=yes
10760 hardcode_shlibpath_var_CXX
=unsupported
10761 whole_archive_flag_spec_CXX
='-all_load $convenience'
10762 link_all_deplibs_CXX
=yes
10769 case $cc_basename in
10771 # FIXME: insert proper C++ library support
10775 # Green Hills C++ Compiler
10776 # FIXME: insert proper C++ library support
10780 # FIXME: insert proper C++ library support
10786 # C++ shared libraries reported to be fairly broken before switch to ELF
10790 archive_cmds_need_lc_CXX
=no
10792 freebsd
* | kfreebsd
*-gnu)
10793 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10800 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10801 hardcode_libdir_separator_CXX
=:
10802 export_dynamic_flag_spec_CXX
='${wl}-E'
10803 hardcode_direct_CXX
=yes
10804 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10805 # but as the default
10806 # location of the library.
10808 case $cc_basename in
10810 # FIXME: insert proper C++ library support
10814 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'
10815 # Commands to make compiler produce verbose output that lists
10816 # what "hidden" libraries, object files and flags are used when
10817 # linking a shared library.
10819 # There doesn't appear to be a way to prevent this compiler from
10820 # explicitly linking system object files so we need to strip them
10821 # from the output so that they don't get included in the library
10823 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'
10826 if test "$GXX" = yes; then
10827 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'
10829 # FIXME: insert proper C++ library support
10836 if test $with_gnu_ld = no
; then
10837 case "$host_cpu" in
10839 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10840 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10841 hardcode_libdir_separator_CXX
=:
10844 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10847 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10848 hardcode_libdir_separator_CXX
=:
10849 export_dynamic_flag_spec_CXX
='${wl}-E'
10853 case "$host_cpu" in
10855 hardcode_direct_CXX
=no
10856 hardcode_shlibpath_var_CXX
=no
10859 hardcode_direct_CXX
=no
10860 hardcode_shlibpath_var_CXX
=no
10861 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10862 # but as the default
10863 # location of the library.
10866 hardcode_direct_CXX
=yes
10867 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10868 # but as the default
10869 # location of the library.
10873 case $cc_basename in
10875 # FIXME: insert proper C++ library support
10879 case "$host_cpu" in
10881 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10884 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10887 # Commands to make compiler produce verbose output that lists
10888 # what "hidden" libraries, object files and flags are used when
10889 # linking a shared library.
10891 # There doesn't appear to be a way to prevent this compiler from
10892 # explicitly linking system object files so we need to strip them
10893 # from the output so that they don't get included in the library
10895 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'
10898 if test "$GXX" = yes; then
10899 if test $with_gnu_ld = no
; then
10900 case "$host_cpu" in
10902 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10905 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'
10910 # FIXME: insert proper C++ library support
10917 case $cc_basename in
10920 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 ${objdir}/so_locations -o $lib'
10922 # Archives containing C++ object files must be created using
10923 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10924 # necessary to make sure instantiated templates are included
10926 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10929 if test "$GXX" = yes; then
10930 if test "$with_gnu_ld" = no
; then
10931 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}${objdir}/so_locations -o $lib'
10933 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'
10936 link_all_deplibs_CXX
=yes
10939 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10940 hardcode_libdir_separator_CXX
=:
10943 case $cc_basename in
10945 # Kuck and Associates, Inc. (KAI) C++ Compiler
10947 # KCC will only create a shared library if the output file
10948 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10949 # to its proper name (with version) after linking.
10950 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'
10951 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'
10952 # Commands to make compiler produce verbose output that lists
10953 # what "hidden" libraries, object files and flags are used when
10954 # linking a shared library.
10956 # There doesn't appear to be a way to prevent this compiler from
10957 # explicitly linking system object files so we need to strip them
10958 # from the output so that they don't get included in the library
10960 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'
10962 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10963 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10965 # Archives containing C++ object files must be created using
10966 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10967 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10972 archive_cmds_need_lc_CXX
=no
10973 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10974 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'
10975 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10976 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10977 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10981 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10982 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'
10984 runpath_var
=LD_RUN_PATH
10985 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10986 hardcode_libdir_separator_CXX
=:
10988 # Commands to make compiler produce verbose output that lists
10989 # what "hidden" libraries, object files and flags are used when
10990 # linking a shared library.
10992 # There doesn't appear to be a way to prevent this compiler from
10993 # explicitly linking system object files so we need to strip them
10994 # from the output so that they don't get included in the library
10996 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'
11001 # FIXME: insert proper C++ library support
11005 # FIXME: insert proper C++ library support
11009 case $cc_basename in
11011 # FIXME: insert proper C++ library support
11015 # FIXME: insert proper C++ library support
11021 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11022 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11024 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11025 hardcode_direct_CXX
=yes
11026 hardcode_shlibpath_var_CXX
=no
11028 # Workaround some broken pre-1.5 toolchains
11029 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11032 case $cc_basename in
11034 # Kuck and Associates, Inc. (KAI) C++ Compiler
11036 # KCC will only create a shared library if the output file
11037 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11038 # to its proper name (with version) after linking.
11039 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'
11041 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11042 hardcode_libdir_separator_CXX
=:
11044 # Archives containing C++ object files must be created using
11045 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11046 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11050 # Rational C++ 2.4.1
11051 # FIXME: insert proper C++ library support
11055 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11056 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 ${objdir}/so_locations -o $lib'
11058 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11059 hardcode_libdir_separator_CXX
=:
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 -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'
11072 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11073 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11074 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}${objdir}/so_locations -o $lib'
11076 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11077 hardcode_libdir_separator_CXX
=:
11079 # Commands to make compiler produce verbose output that lists
11080 # what "hidden" libraries, object files and flags are used when
11081 # linking a shared library.
11082 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11085 # FIXME: insert proper C++ library support
11092 case $cc_basename in
11094 # Kuck and Associates, Inc. (KAI) C++ Compiler
11096 # KCC will only create a shared library if the output file
11097 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11098 # to its proper name (with version) after linking.
11099 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'
11101 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11102 hardcode_libdir_separator_CXX
=:
11104 # Archives containing C++ object files must be created using
11105 # the KAI C++ compiler.
11106 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11109 # Rational C++ 2.4.1
11110 # FIXME: insert proper C++ library support
11114 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11115 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 ${objdir}/so_locations -o $lib'
11116 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11117 echo "-hidden">> $lib.exp~
11118 $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 $objdir/so_locations -o $lib~
11121 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11122 hardcode_libdir_separator_CXX
=:
11124 # Commands to make compiler produce verbose output that lists
11125 # what "hidden" libraries, object files and flags are used when
11126 # linking a shared library.
11128 # There doesn't appear to be a way to prevent this compiler from
11129 # explicitly linking system object files so we need to strip them
11130 # from the output so that they don't get included in the library
11132 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'
11135 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11136 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11137 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}${objdir}/so_locations -o $lib'
11139 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11140 hardcode_libdir_separator_CXX
=:
11142 # Commands to make compiler produce verbose output that lists
11143 # what "hidden" libraries, object files and flags are used when
11144 # linking a shared library.
11145 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11148 # FIXME: insert proper C++ library support
11155 # FIXME: insert proper C++ library support
11159 archive_cmds_need_lc_CXX
=no
11160 case $cc_basename in
11162 # FIXME: insert proper C++ library support
11166 # FIXME: insert proper C++ library support
11172 case $cc_basename in
11175 # FIXME: insert proper C++ library support
11180 # FIXME: insert proper C++ library support
11184 # FIXME: insert proper C++ library support
11190 case $cc_basename in
11192 # Sun C++ 4.2, 5.x and Centerline C++
11193 no_undefined_flag_CXX
=' -zdefs'
11194 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11195 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11196 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11198 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11199 hardcode_shlibpath_var_CXX
=no
11201 solaris2.0
-5 | solaris2.0
-5.
*) ;;
11203 # The C++ compiler is used as linker so we must use $wl
11204 # flag to pass the commands to the underlying system
11206 # Supported since Solaris 2.6 (maybe 2.5.1?)
11207 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11210 link_all_deplibs_CXX
=yes
11212 # Commands to make compiler produce verbose output that lists
11213 # what "hidden" libraries, object files and flags are used when
11214 # linking a shared library.
11216 # There doesn't appear to be a way to prevent this compiler from
11217 # explicitly linking system object files so we need to strip them
11218 # from the output so that they don't get included in the library
11220 output_verbose_link_cmd
='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11222 # Archives containing C++ object files must be created using
11223 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11224 # necessary to make sure instantiated templates are included
11226 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11229 # Green Hills C++ Compiler
11230 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11232 # The C++ compiler must be used to create the archive.
11233 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11236 # GNU C++ compiler with Solaris linker
11237 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11238 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11239 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11240 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11241 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11242 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11244 # Commands to make compiler produce verbose output that lists
11245 # what "hidden" libraries, object files and flags are used when
11246 # linking a shared library.
11247 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11249 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11251 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11252 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11253 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11255 # Commands to make compiler produce verbose output that lists
11256 # what "hidden" libraries, object files and flags are used when
11257 # linking a shared library.
11258 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11261 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11266 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
11267 archive_cmds_need_lc_CXX
=no
11270 case $cc_basename in
11272 # NonStop-UX NCC 3.20
11273 # FIXME: insert proper C++ library support
11277 # FIXME: insert proper C++ library support
11283 # FIXME: insert proper C++ library support
11287 # FIXME: insert proper C++ library support
11291 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11292 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11293 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11299 cat > conftest.
$ac_ext <<EOF
11303 Foo (void) { a = 0; }
11309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11310 (eval $ac_compile) 2>&5
11312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313 (exit $ac_status); }; then
11314 # Parse the compiler output and extract the necessary
11315 # objects, libraries and library flags.
11317 # Sentinel used to keep track of whether or not we are before
11318 # the conftest object file.
11319 pre_test_object_deps_done
=no
11321 # The `*' in the case matches for architectures that use `case' in
11322 # $output_verbose_cmd can trigger glob expansion during the loop
11323 # eval without this substitution.
11324 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
11326 for p
in `eval $output_verbose_link_cmd`; do
11330 # Some compilers place space between "-{L,R}" and the path.
11331 # Remove the space.
11332 if test $p = "-L" \
11333 ||
test $p = "-R"; then
11340 if test "$pre_test_object_deps_done" = no
; then
11343 # Internal compiler library paths should come after those
11344 # provided the user. The postdeps already come after the
11345 # user supplied libs so there is no need to process them.
11346 if test -z "$compiler_lib_search_path_CXX"; then
11347 compiler_lib_search_path_CXX
="${prev}${p}"
11349 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11352 # The "-l" case would never come before the object being
11353 # linked, so don't bother handling this case.
11356 if test -z "$postdeps_CXX"; then
11357 postdeps_CXX
="${prev}${p}"
11359 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11365 # This assumes that the test object file only shows up
11366 # once in the compiler output.
11367 if test "$p" = "conftest.$objext"; then
11368 pre_test_object_deps_done
=yes
11372 if test "$pre_test_object_deps_done" = no
; then
11373 if test -z "$predep_objects_CXX"; then
11374 predep_objects_CXX
="$p"
11376 predep_objects_CXX
="$predep_objects_CXX $p"
11379 if test -z "$postdep_objects_CXX"; then
11380 postdep_objects_CXX
="$p"
11382 postdep_objects_CXX
="$postdep_objects_CXX $p"
11387 *) ;; # Ignore the rest.
11395 echo "libtool.m4: error: problem compiling CXX test program"
11398 $rm -f confest.
$objext
11400 case " $postdeps_CXX " in
11401 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11404 lt_prog_compiler_wl_CXX
=
11405 lt_prog_compiler_pic_CXX
=
11406 lt_prog_compiler_static_CXX
=
11408 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11409 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11411 # C++ specific cases for pic, static, wl, etc.
11412 if test "$GXX" = yes; then
11413 lt_prog_compiler_wl_CXX
='-Wl,'
11414 lt_prog_compiler_static_CXX
='-static'
11418 # All AIX code is PIC.
11419 if test "$host_cpu" = ia64
; then
11420 # AIX 5 now supports IA64 processor
11421 lt_prog_compiler_static_CXX
='-Bstatic'
11425 # FIXME: we need at least 68020 code to build shared libraries, but
11426 # adding the `-m68020' flag to GCC prevents building anything better,
11428 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11430 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11431 # PIC is the default for these OSes.
11433 mingw
* | os2
* | pw32
*)
11434 # This hack is so that the source file can tell whether it is being
11435 # built for inclusion in a dll (and should export symbols for example).
11436 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11438 darwin
* | rhapsody
*)
11439 # PIC is the default on this platform
11440 # Common symbols not allowed in MH_DYLIB files
11441 lt_prog_compiler_pic_CXX
='-fno-common'
11444 # DJGPP does not support shared libraries at all
11445 lt_prog_compiler_pic_CXX
=
11448 if test -d /usr
/nec
; then
11449 lt_prog_compiler_pic_CXX
=-Kconform_pic
11453 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11454 # not for PA HP-UX.
11455 case "$host_cpu" in
11459 lt_prog_compiler_pic_CXX
='-fPIC'
11464 lt_prog_compiler_pic_CXX
='-fPIC'
11470 # All AIX code is PIC.
11471 if test "$host_cpu" = ia64
; then
11472 # AIX 5 now supports IA64 processor
11473 lt_prog_compiler_static_CXX
='-Bstatic'
11475 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11479 case $cc_basename in
11481 # Green Hills C++ Compiler
11482 # _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"
11487 case $cc_basename in
11489 lt_prog_compiler_pic_CXX
='-KPIC'
11492 # Green Hills C++ Compiler
11493 lt_prog_compiler_pic_CXX
='-pic'
11499 freebsd
* | kfreebsd
*-gnu)
11500 # FreeBSD uses GNU C++
11502 hpux9
* | hpux10
* | hpux11
*)
11503 case $cc_basename in
11505 lt_prog_compiler_wl_CXX
='-Wl,'
11506 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11507 if test "$host_cpu" != ia64
; then
11508 lt_prog_compiler_pic_CXX
='+Z'
11512 lt_prog_compiler_wl_CXX
='-Wl,'
11513 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11514 case "$host_cpu" in
11519 lt_prog_compiler_pic_CXX
='+Z'
11527 irix5
* | irix6
* | nonstopux
*)
11528 case $cc_basename in
11530 lt_prog_compiler_wl_CXX
='-Wl,'
11531 lt_prog_compiler_static_CXX
='-non_shared'
11532 # CC pic flag -KPIC is the default.
11539 case $cc_basename in
11542 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11543 lt_prog_compiler_pic_CXX
='-fPIC'
11547 lt_prog_compiler_wl_CXX
='-Wl,'
11548 lt_prog_compiler_pic_CXX
='-KPIC'
11549 lt_prog_compiler_static_CXX
='-static'
11553 # Make sure the PIC flag is empty. It appears that all Alpha
11554 # Linux and Compaq Tru64 Unix objects are PIC.
11555 lt_prog_compiler_pic_CXX
=
11556 lt_prog_compiler_static_CXX
='-non_shared'
11567 case $cc_basename in
11569 lt_prog_compiler_pic_CXX
='-W c,exportall'
11577 osf3
* | osf4
* | osf5
*)
11578 case $cc_basename in
11580 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11583 # Rational C++ 2.4.1
11584 lt_prog_compiler_pic_CXX
='-pic'
11587 # Digital/Compaq C++
11588 lt_prog_compiler_wl_CXX
='-Wl,'
11589 # Make sure the PIC flag is empty. It appears that all Alpha
11590 # Linux and Compaq Tru64 Unix objects are PIC.
11591 lt_prog_compiler_pic_CXX
=
11592 lt_prog_compiler_static_CXX
='-non_shared'
11601 case $cc_basename in
11603 lt_prog_compiler_pic_CXX
='-fPIC'
11610 case $cc_basename in
11612 # Sun C++ 4.2, 5.x and Centerline C++
11613 lt_prog_compiler_pic_CXX
='-KPIC'
11614 lt_prog_compiler_static_CXX
='-Bstatic'
11615 lt_prog_compiler_wl_CXX
='-Qoption ld '
11618 # Green Hills C++ Compiler
11619 lt_prog_compiler_pic_CXX
='-PIC'
11626 case $cc_basename in
11629 lt_prog_compiler_pic_CXX
='-pic'
11630 lt_prog_compiler_static_CXX
='-Bstatic'
11634 lt_prog_compiler_pic_CXX
='-pic'
11641 case $cc_basename in
11643 # NonStop-UX NCC 3.20
11644 lt_prog_compiler_pic_CXX
='-KPIC'
11655 lt_prog_compiler_can_build_shared_CXX
=no
11660 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11661 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11664 # Check to make sure the PIC flag actually works.
11666 if test -n "$lt_prog_compiler_pic_CXX"; then
11668 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11669 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11670 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11671 echo $ECHO_N "(cached) $ECHO_C" >&6
11673 lt_prog_compiler_pic_works_CXX
=no
11674 ac_outfile
=conftest.
$ac_objext
11675 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11676 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11677 # Insert the option either (1) after the last *FLAGS variable, or
11678 # (2) before a word containing "conftest.", or (3) at the end.
11679 # Note that $ac_compile itself does not contain backslashes and begins
11680 # with a dollar sign (not a hyphen), so the echo should work correctly.
11681 # The option is referenced via a variable to avoid confusing sed.
11682 lt_compile
=`echo "$ac_compile" | $SED \
11683 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11684 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11685 -e 's:$: $lt_compiler_flag:'`
11686 (eval echo "\"\$as_me:11686: $lt_compile\"" >&5)
11687 (eval "$lt_compile" 2>conftest.err
)
11689 cat conftest.err
>&5
11690 echo "$as_me:11690: \$? = $ac_status" >&5
11691 if (exit $ac_status) && test -s "$ac_outfile"; then
11692 # The compiler can only warn and ignore the option if not recognized
11693 # So say no if there are warnings
11694 if test ! -s conftest.err
; then
11695 lt_prog_compiler_pic_works_CXX
=yes
11701 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11702 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11704 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11705 case $lt_prog_compiler_pic_CXX in
11707 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11710 lt_prog_compiler_pic_CXX
=
11711 lt_prog_compiler_can_build_shared_CXX
=no
11716 # For platforms which do not support PIC, -DPIC is meaningless:
11718 lt_prog_compiler_pic_CXX
=
11721 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11725 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11726 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11727 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11728 echo $ECHO_N "(cached) $ECHO_C" >&6
11730 lt_cv_prog_compiler_c_o_CXX
=no
11731 $rm -r conftest
2>/dev
/null
11735 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11737 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11738 # Insert the option either (1) after the last *FLAGS variable, or
11739 # (2) before a word containing "conftest.", or (3) at the end.
11740 # Note that $ac_compile itself does not contain backslashes and begins
11741 # with a dollar sign (not a hyphen), so the echo should work correctly.
11742 lt_compile
=`echo "$ac_compile" | $SED \
11743 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11745 -e 's:$: $lt_compiler_flag:'`
11746 (eval echo "\"\$as_me:11746: $lt_compile\"" >&5)
11747 (eval "$lt_compile" 2>out
/conftest.err
)
11749 cat out
/conftest.err
>&5
11750 echo "$as_me:11750: \$? = $ac_status" >&5
11751 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11753 # The compiler can only warn and ignore the option if not recognized
11754 # So say no if there are warnings
11755 if test ! -s out
/conftest.err
; then
11756 lt_cv_prog_compiler_c_o_CXX
=yes
11761 # SGI C++ compiler will create directory out/ii_files/ for
11762 # template instantiation
11763 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11764 $rm out
/* && rmdir out
11770 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11771 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11774 hard_links
="nottested"
11775 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11776 # do not overwrite the value of need_locks provided by the user
11777 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11778 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11781 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11783 ln conftest.a conftest.b
2>&5 || hard_links
=no
11784 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11785 { echo "$as_me:$LINENO: result: $hard_links" >&5
11786 echo "${ECHO_T}$hard_links" >&6; }
11787 if test "$hard_links" = no
; then
11788 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11789 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11796 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11797 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11799 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11802 # If we're using GNU nm, then we don't want the "-C" option.
11803 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11804 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11805 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'
11807 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'
11811 export_symbols_cmds_CXX
="$ltdll_cmds"
11814 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11817 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11821 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11822 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11823 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11825 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11826 if test "$GCC" = yes; then
11827 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11831 # Do we need to explicitly link libc?
11833 case "x$archive_cmds_need_lc_CXX" in
11835 # Assume -lc should be added
11836 archive_cmds_need_lc_CXX
=yes
11838 if test "$enable_shared" = yes && test "$GCC" = yes; then
11839 case $archive_cmds_CXX in
11841 # FIXME: we may have to deal with multi-command sequences.
11844 # Test whether the compiler implicitly links with -lc since on some
11845 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11846 # to ld, don't add -lc before -lgcc.
11847 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11848 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11850 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11853 (eval $ac_compile) 2>&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); } 2>conftest.err
; then
11859 libobjs
=conftest.
$ac_objext
11861 wl
=$lt_prog_compiler_wl_CXX
11867 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11868 allow_undefined_flag_CXX
=
11869 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11870 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); }
11875 archive_cmds_need_lc_CXX
=no
11877 archive_cmds_need_lc_CXX
=yes
11879 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11881 cat conftest.err
1>&5
11884 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11885 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11892 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11893 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11894 library_names_spec
=
11895 libname_spec
='lib$name'
11899 postuninstall_cmds
=
11903 shlibpath_overrides_runpath
=unknown
11905 dynamic_linker
="$host_os ld.so"
11906 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11907 if test "$GCC" = yes; then
11908 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11909 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11910 # if the path contains ";" then we assume it to be the separator
11911 # otherwise default to the standard path separator (i.e. ":") - it is
11912 # assumed that no part of a normal pathname contains ";" but that should
11913 # okay in the real world where ";" in dirpaths is itself problematic.
11914 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11916 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11919 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11921 need_lib_prefix
=unknown
11922 hardcode_into_libs
=no
11924 # when you set need_version to no, make sure it does not cause -set_version
11925 # flags to be left without arguments
11926 need_version
=unknown
11931 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11932 shlibpath_var
=LIBPATH
11934 # AIX 3 has no versioning support, so we append a major version to the name.
11935 soname_spec
='${libname}${release}${shared_ext}$major'
11942 hardcode_into_libs
=yes
11943 if test "$host_cpu" = ia64
; then
11944 # AIX 5 supports IA64
11945 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11946 shlibpath_var
=LD_LIBRARY_PATH
11948 # With GCC up to 2.95.x, collect2 would create an import file
11949 # for dependence libraries. The import file would start with
11950 # the line `#! .'. This would cause the generated library to
11951 # depend on `.', always an invalid library. This was fixed in
11952 # development snapshots of GCC prior to 3.0.
11954 aix4 | aix4.
[01] | aix4.
[01].
*)
11955 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11957 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11960 can_build_shared
=no
11964 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11965 # soname into executable. Probably we can add versioning support to
11966 # collect2, so additional links can be useful in future.
11967 if test "$aix_use_runtimelinking" = yes; then
11968 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11969 # instead of lib<name>.a to let people know that these are not
11970 # typical AIX shared libraries.
11971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11973 # We preserve .a as extension for shared libraries through AIX4.2
11974 # and later when we are not doing run time linking.
11975 library_names_spec
='${libname}${release}.a $libname.a'
11976 soname_spec
='${libname}${release}${shared_ext}$major'
11978 shlibpath_var
=LIBPATH
11983 library_names_spec
='$libname.ixlibrary $libname.a'
11984 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11985 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'
11989 library_names_spec
='${libname}${shared_ext}'
11990 dynamic_linker
="$host_os ld.so"
11991 shlibpath_var
=LIBRARY_PATH
11997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11998 soname_spec
='${libname}${release}${shared_ext}$major'
11999 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12000 shlibpath_var
=LD_LIBRARY_PATH
12001 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12002 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12003 # the default ld.so.conf also contains /usr/contrib/lib and
12004 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12005 # libtool to hard-code these into programs
12008 cygwin
* | mingw
* | pw32
*)
12009 version_type
=windows
12014 case $GCC,$host_os in
12015 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12016 library_names_spec
='$libname.dll.a'
12017 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12018 postinstall_cmds
='base_file=`basename \${file}`~
12019 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12020 dldir=$destdir/`dirname \$dlpath`~
12021 test -d \$dldir || mkdir -p \$dldir~
12022 $install_prog $dir/$dlname \$dldir/$dlname'
12023 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12024 dlpath=$dir/\$dldll~
12026 shlibpath_overrides_runpath
=yes
12030 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12031 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12032 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12035 # MinGW DLLs use traditional 'lib' prefix
12036 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12037 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12038 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12039 # It is most probably a Windows format PATH printed by
12040 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12041 # path with ; separators, and with drive letters. We can handle the
12042 # drive letters (cygwin fileutils understands them), so leave them,
12043 # especially as we might pass files found there to a mingw objdump,
12044 # which wouldn't understand a cygwinified path. Ahh.
12045 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12047 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12051 # pw32 DLLs use 'pw' prefix rather than 'lib'
12052 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
12058 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12061 dynamic_linker
='Win32 ld.exe'
12062 # FIXME: first we should search . and the directory the executable is in
12066 darwin
* | rhapsody
*)
12067 dynamic_linker
="$host_os dyld"
12068 version_type
=darwin
12071 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12072 soname_spec
='${libname}${release}${major}$shared_ext'
12073 shlibpath_overrides_runpath
=yes
12074 shlibpath_var
=DYLD_LIBRARY_PATH
12075 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
12076 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12077 if test "$GCC" = yes; then
12078 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"`
12080 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12082 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12090 soname_spec
='${libname}${release}${shared_ext}$major'
12091 shlibpath_var
=LD_LIBRARY_PATH
12102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12103 soname_spec
='${libname}${release}${shared_ext}$major'
12104 shlibpath_var
=LD_LIBRARY_PATH
12105 shlibpath_overrides_runpath
=no
12106 hardcode_into_libs
=yes
12107 dynamic_linker
='GNU ld.so'
12111 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
12112 version_type
=freebsd-
$objformat
12113 case $version_type in
12115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12120 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12124 shlibpath_var
=LD_LIBRARY_PATH
12127 shlibpath_overrides_runpath
=yes
12129 freebsd3.01
* | freebsdelf3.01
*)
12130 shlibpath_overrides_runpath
=yes
12131 hardcode_into_libs
=yes
12134 shlibpath_overrides_runpath
=no
12135 hardcode_into_libs
=yes
12144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12145 soname_spec
='${libname}${release}${shared_ext}$major'
12146 shlibpath_var
=LD_LIBRARY_PATH
12147 hardcode_into_libs
=yes
12150 hpux9
* | hpux10
* | hpux11
*)
12151 # Give a soname corresponding to the major version so that dld.sl refuses to
12152 # link against other versions.
12156 case "$host_cpu" in
12159 hardcode_into_libs
=yes
12160 dynamic_linker
="$host_os dld.so"
12161 shlibpath_var
=LD_LIBRARY_PATH
12162 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12164 soname_spec
='${libname}${release}${shared_ext}$major'
12165 if test "X$HPUX_IA64_MODE" = X32
; then
12166 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12168 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12170 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12174 hardcode_into_libs
=yes
12175 dynamic_linker
="$host_os dld.sl"
12176 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12177 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12179 soname_spec
='${libname}${release}${shared_ext}$major'
12180 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12181 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12185 dynamic_linker
="$host_os dld.sl"
12186 shlibpath_var
=SHLIB_PATH
12187 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12189 soname_spec
='${libname}${release}${shared_ext}$major'
12192 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12193 postinstall_cmds
='chmod 555 $lib'
12196 irix5
* | irix6
* | nonstopux
*)
12198 nonstopux
*) version_type
=nonstopux
;;
12200 if test "$lt_cv_prog_gnu_ld" = yes; then
12208 soname_spec
='${libname}${release}${shared_ext}$major'
12209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12211 irix5
* | nonstopux
*)
12212 libsuff
= shlibsuff
=
12215 case $LD in # libtool.m4 will add one of these switches to LD
12216 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12217 libsuff
= shlibsuff
= libmagic
=32-bit;;
12218 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12219 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12220 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12221 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12222 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12226 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12227 shlibpath_overrides_runpath
=no
12228 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12229 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12230 hardcode_into_libs
=yes
12233 # No shared lib support for Linux oldld, aout, or coff.
12234 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12238 # This must be Linux ELF.
12243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12244 soname_spec
='${libname}${release}${shared_ext}$major'
12245 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12246 shlibpath_var
=LD_LIBRARY_PATH
12247 shlibpath_overrides_runpath
=no
12248 # This implies no fast_install, which is unacceptable.
12249 # Some rework will be needed to allow for fast_install
12250 # before this can be enabled.
12251 hardcode_into_libs
=yes
12253 # find out which ABI we are using
12255 case "$host_cpu" in
12256 x86_64
*|s390x
*|powerpc64
*)
12257 echo '#line 12257 "configure"' > conftest.
$ac_ext
12258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12259 (eval $ac_compile) 2>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; then
12263 case `/usr/bin/file conftest.$ac_objext` in
12266 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12274 # Append ld.so.conf contents to the search path
12275 if test -f /etc
/ld.so.conf
; then
12276 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
12277 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12280 # We used to test for /lib/ld.so.1 and disable shared libraries on
12281 # powerpc, because MkLinux only supported shared libraries with the
12282 # GNU dynamic linker. Since this was broken with cross compilers,
12283 # most powerpc-linux boxes support dynamic linking these days and
12284 # people can always --disable-shared, the test was removed, and we
12285 # assume the GNU/Linux dynamic linker is in use.
12286 dynamic_linker
='GNU/Linux ld.so'
12293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12294 soname_spec
='${libname}${release}${shared_ext}$major'
12295 shlibpath_var
=LD_LIBRARY_PATH
12296 shlibpath_overrides_runpath
=no
12297 hardcode_into_libs
=yes
12298 dynamic_linker
='GNU ld.so'
12305 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12307 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12308 dynamic_linker
='NetBSD (a.out) ld.so'
12310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12311 soname_spec
='${libname}${release}${shared_ext}$major'
12312 dynamic_linker
='NetBSD ld.elf_so'
12314 shlibpath_var
=LD_LIBRARY_PATH
12315 shlibpath_overrides_runpath
=yes
12316 hardcode_into_libs
=yes
12321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12322 shlibpath_var
=LD_LIBRARY_PATH
12323 shlibpath_overrides_runpath
=yes
12330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12331 soname_spec
='${libname}${release}${shared_ext}$major'
12332 shlibpath_var
=LD_LIBRARY_PATH
12333 shlibpath_overrides_runpath
=yes
12340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12341 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12342 shlibpath_var
=LD_LIBRARY_PATH
12343 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12345 openbsd2.
[89] | openbsd2.
[89].
*)
12346 shlibpath_overrides_runpath
=no
12349 shlibpath_overrides_runpath
=yes
12353 shlibpath_overrides_runpath
=yes
12358 libname_spec
='$name'
12361 library_names_spec
='$libname${shared_ext} $libname.a'
12362 dynamic_linker
='OS/2 ld.exe'
12363 shlibpath_var
=LIBPATH
12366 osf3
* | osf4
* | osf5
*)
12370 soname_spec
='${libname}${release}${shared_ext}$major'
12371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12372 shlibpath_var
=LD_LIBRARY_PATH
12373 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12374 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12379 soname_spec
='${libname}${release}${shared_ext}$major'
12380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12381 shlibpath_var
=LD_LIBRARY_PATH
12388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12389 soname_spec
='${libname}${release}${shared_ext}$major'
12390 shlibpath_var
=LD_LIBRARY_PATH
12391 shlibpath_overrides_runpath
=yes
12392 hardcode_into_libs
=yes
12393 # ldd complains unless libraries are executable
12394 postinstall_cmds
='chmod +x $lib'
12399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12400 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12401 shlibpath_var
=LD_LIBRARY_PATH
12402 shlibpath_overrides_runpath
=yes
12403 if test "$with_gnu_ld" = yes; then
12409 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12412 soname_spec
='${libname}${release}${shared_ext}$major'
12413 shlibpath_var
=LD_LIBRARY_PATH
12414 case $host_vendor in
12416 shlibpath_overrides_runpath
=no
12418 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12419 runpath_var
=LD_RUN_PATH
12427 shlibpath_overrides_runpath
=no
12428 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12434 if test -d /usr
/nec
;then
12436 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12437 soname_spec
='$libname${shared_ext}.$major'
12438 shlibpath_var
=LD_LIBRARY_PATH
12444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12445 soname_spec
='${libname}${release}${shared_ext}$major'
12446 shlibpath_var
=LD_LIBRARY_PATH
12453 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12454 echo "${ECHO_T}$dynamic_linker" >&6; }
12455 test "$dynamic_linker" = no
&& can_build_shared
=no
12457 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12458 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12459 hardcode_action_CXX
=
12460 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12461 test -n "$runpath_var CXX" || \
12462 test "X$hardcode_automatic_CXX"="Xyes" ; then
12464 # We can hardcode non-existant directories.
12465 if test "$hardcode_direct_CXX" != no
&&
12466 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12467 # have to relink, otherwise we might link with an installed library
12468 # when we should be linking with a yet-to-be-installed one
12469 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12470 test "$hardcode_minus_L_CXX" != no
; then
12471 # Linking always hardcodes the temporary library directory.
12472 hardcode_action_CXX
=relink
12474 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12475 hardcode_action_CXX
=immediate
12478 # We cannot hardcode anything, or else we can only hardcode existing
12480 hardcode_action_CXX
=unsupported
12482 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12483 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12485 if test "$hardcode_action_CXX" = relink
; then
12486 # Fast installation is not supported
12487 enable_fast_install
=no
12488 elif test "$shlibpath_overrides_runpath" = yes ||
12489 test "$enable_shared" = no
; then
12490 # Fast installation is not necessary
12491 enable_fast_install
=needless
12496 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12497 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12498 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12499 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12500 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12501 { echo "$as_me:$LINENO: result: yes" >&5
12502 echo "${ECHO_T}yes" >&6; }
12504 # FIXME - insert some real tests, host_os isn't really good enough
12507 if test -n "$STRIP" ; then
12508 striplib
="$STRIP -x"
12509 { echo "$as_me:$LINENO: result: yes" >&5
12510 echo "${ECHO_T}yes" >&6; }
12512 { echo "$as_me:$LINENO: result: no" >&5
12513 echo "${ECHO_T}no" >&6; }
12517 { echo "$as_me:$LINENO: result: no" >&5
12518 echo "${ECHO_T}no" >&6; }
12523 if test "x$enable_dlopen" != xyes
; then
12524 enable_dlopen
=unknown
12525 enable_dlopen_self
=unknown
12526 enable_dlopen_self_static
=unknown
12533 lt_cv_dlopen
="load_add_on"
12535 lt_cv_dlopen_self
=yes
12539 lt_cv_dlopen
="LoadLibrary"
12544 lt_cv_dlopen
="dlopen"
12549 # if libdl is installed we need to link against it
12550 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12551 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12552 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6
12555 ac_check_lib_save_LIBS
=$LIBS
12557 cat >conftest.
$ac_ext <<_ACEOF
12560 cat confdefs.h
>>conftest.
$ac_ext
12561 cat >>conftest.
$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12564 /* Override any GCC internal prototype to avoid an error.
12565 Use char because int might match the return type of a GCC
12566 builtin and then its argument prototype would still apply. */
12579 rm -f conftest.
$ac_objext conftest
$ac_exeext
12580 if { (ac_try
="$ac_link"
12581 case "(($ac_try" in
12582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12583 *) ac_try_echo=$ac_try;;
12585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12586 (eval "$ac_link") 2>conftest.er1
12588 grep -v '^ *+' conftest.er1 >conftest.err
12590 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } && {
12593 test -z "$ac_cxx_werror_flag" ||
12594 test ! -s conftest.err
12595 } && test -s conftest$ac_exeext &&
12596 $as_test_x conftest$ac_exeext; then
12597 ac_cv_lib_dl_dlopen=yes
12599 echo "$as_me: failed program was:" >&5
12600 sed 's/^/| /' conftest.$ac_ext >&5
12602 ac_cv_lib_dl_dlopen=no
12605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12606 conftest$ac_exeext conftest.$ac_ext
12607 LIBS=$ac_check_lib_save_LIBS
12609 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12610 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12611 if test $ac_cv_lib_dl_dlopen = yes; then
12612 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12615 lt_cv_dlopen="dyld"
12617 lt_cv_dlopen_self=yes
12624 { echo "$as_me:$LINENO: checking for shl_load" >&5
12625 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12626 if test "${ac_cv_func_shl_load+set}" = set; then
12627 echo $ECHO_N "(cached) $ECHO_C" >&6
12629 cat >conftest.$ac_ext <<_ACEOF
12632 cat confdefs.h >>conftest.$ac_ext
12633 cat >>conftest.$ac_ext <<_ACEOF
12634 /* end confdefs.h. */
12635 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12637 #define shl_load innocuous_shl_load
12639 /* System header to define __stub macros and hopefully few prototypes,
12640 which can conflict with char shl_load (); below.
12641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12642 <limits.h> exists even on freestanding compilers. */
12645 # include <limits.h>
12647 # include <assert.h>
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12659 /* The GNU C library defines this for functions which it implements
12660 to always fail with ENOSYS. Some functions are actually named
12661 something starting with __ and the normal name is an alias. */
12662 #if defined __stub_shl_load || defined __stub___shl_load
12669 return shl_load ();
12674 rm -f conftest.$ac_objext conftest$ac_exeext
12675 if { (ac_try="$ac_link"
12676 case "(($ac_try" in
12677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12678 *) ac_try_echo
=$ac_try;;
12680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12681 (eval "$ac_link") 2>conftest.er1
12683 grep -v '^ *+' conftest.er1
>conftest.err
12685 cat conftest.err
>&5
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); } && {
12688 test -z "$ac_cxx_werror_flag" ||
12689 test ! -s conftest.err
12690 } && test -s conftest
$ac_exeext &&
12691 $as_test_x conftest
$ac_exeext; then
12692 ac_cv_func_shl_load
=yes
12694 echo "$as_me: failed program was:" >&5
12695 sed 's/^/| /' conftest.
$ac_ext >&5
12697 ac_cv_func_shl_load
=no
12700 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12701 conftest
$ac_exeext conftest.
$ac_ext
12703 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12704 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12705 if test $ac_cv_func_shl_load = yes; then
12706 lt_cv_dlopen
="shl_load"
12708 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12709 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12710 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12713 ac_check_lib_save_LIBS
=$LIBS
12715 cat >conftest.
$ac_ext <<_ACEOF
12718 cat confdefs.h
>>conftest.
$ac_ext
12719 cat >>conftest.
$ac_ext <<_ACEOF
12720 /* end confdefs.h. */
12722 /* Override any GCC internal prototype to avoid an error.
12723 Use char because int might match the return type of a GCC
12724 builtin and then its argument prototype would still apply. */
12732 return shl_load ();
12737 rm -f conftest.
$ac_objext conftest
$ac_exeext
12738 if { (ac_try
="$ac_link"
12739 case "(($ac_try" in
12740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12741 *) ac_try_echo=$ac_try;;
12743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12744 (eval "$ac_link") 2>conftest.er1
12746 grep -v '^ *+' conftest.er1 >conftest.err
12748 cat conftest.err >&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } && {
12751 test -z "$ac_cxx_werror_flag" ||
12752 test ! -s conftest.err
12753 } && test -s conftest$ac_exeext &&
12754 $as_test_x conftest$ac_exeext; then
12755 ac_cv_lib_dld_shl_load=yes
12757 echo "$as_me: failed program was:" >&5
12758 sed 's/^/| /' conftest.$ac_ext >&5
12760 ac_cv_lib_dld_shl_load=no
12763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12764 conftest$ac_exeext conftest.$ac_ext
12765 LIBS=$ac_check_lib_save_LIBS
12767 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12768 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12769 if test $ac_cv_lib_dld_shl_load = yes; then
12770 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12772 { echo "$as_me:$LINENO: checking for dlopen" >&5
12773 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12774 if test "${ac_cv_func_dlopen+set}" = set; then
12775 echo $ECHO_N "(cached) $ECHO_C" >&6
12777 cat >conftest.$ac_ext <<_ACEOF
12780 cat confdefs.h >>conftest.$ac_ext
12781 cat >>conftest.$ac_ext <<_ACEOF
12782 /* end confdefs.h. */
12783 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12785 #define dlopen innocuous_dlopen
12787 /* System header to define __stub macros and hopefully few prototypes,
12788 which can conflict with char dlopen (); below.
12789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12790 <limits.h> exists even on freestanding compilers. */
12793 # include <limits.h>
12795 # include <assert.h>
12800 /* Override any GCC internal prototype to avoid an error.
12801 Use char because int might match the return type of a GCC
12802 builtin and then its argument prototype would still apply. */
12807 /* The GNU C library defines this for functions which it implements
12808 to always fail with ENOSYS. Some functions are actually named
12809 something starting with __ and the normal name is an alias. */
12810 #if defined __stub_dlopen || defined __stub___dlopen
12822 rm -f conftest.$ac_objext conftest$ac_exeext
12823 if { (ac_try="$ac_link"
12824 case "(($ac_try" in
12825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12826 *) ac_try_echo
=$ac_try;;
12828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12829 (eval "$ac_link") 2>conftest.er1
12831 grep -v '^ *+' conftest.er1
>conftest.err
12833 cat conftest.err
>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); } && {
12836 test -z "$ac_cxx_werror_flag" ||
12837 test ! -s conftest.err
12838 } && test -s conftest
$ac_exeext &&
12839 $as_test_x conftest
$ac_exeext; then
12840 ac_cv_func_dlopen
=yes
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.
$ac_ext >&5
12845 ac_cv_func_dlopen
=no
12848 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12849 conftest
$ac_exeext conftest.
$ac_ext
12851 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12852 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12853 if test $ac_cv_func_dlopen = yes; then
12854 lt_cv_dlopen
="dlopen"
12856 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12857 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12858 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12859 echo $ECHO_N "(cached) $ECHO_C" >&6
12861 ac_check_lib_save_LIBS
=$LIBS
12863 cat >conftest.
$ac_ext <<_ACEOF
12866 cat confdefs.h
>>conftest.
$ac_ext
12867 cat >>conftest.
$ac_ext <<_ACEOF
12868 /* end confdefs.h. */
12870 /* Override any GCC internal prototype to avoid an error.
12871 Use char because int might match the return type of a GCC
12872 builtin and then its argument prototype would still apply. */
12885 rm -f conftest.
$ac_objext conftest
$ac_exeext
12886 if { (ac_try
="$ac_link"
12887 case "(($ac_try" in
12888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12889 *) ac_try_echo=$ac_try;;
12891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12892 (eval "$ac_link") 2>conftest.er1
12894 grep -v '^ *+' conftest.er1 >conftest.err
12896 cat conftest.err >&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); } && {
12899 test -z "$ac_cxx_werror_flag" ||
12900 test ! -s conftest.err
12901 } && test -s conftest$ac_exeext &&
12902 $as_test_x conftest$ac_exeext; then
12903 ac_cv_lib_dl_dlopen=yes
12905 echo "$as_me: failed program was:" >&5
12906 sed 's/^/| /' conftest.$ac_ext >&5
12908 ac_cv_lib_dl_dlopen=no
12911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12912 conftest$ac_exeext conftest.$ac_ext
12913 LIBS=$ac_check_lib_save_LIBS
12915 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12916 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12917 if test $ac_cv_lib_dl_dlopen = yes; then
12918 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12920 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12921 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12922 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12923 echo $ECHO_N "(cached) $ECHO_C" >&6
12925 ac_check_lib_save_LIBS=$LIBS
12926 LIBS="-lsvld $LIBS"
12927 cat >conftest.$ac_ext <<_ACEOF
12930 cat confdefs.h >>conftest.$ac_ext
12931 cat >>conftest.$ac_ext <<_ACEOF
12932 /* end confdefs.h. */
12934 /* Override any GCC internal prototype to avoid an error.
12935 Use char because int might match the return type of a GCC
12936 builtin and then its argument prototype would still apply. */
12949 rm -f conftest.$ac_objext conftest$ac_exeext
12950 if { (ac_try="$ac_link"
12951 case "(($ac_try" in
12952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12953 *) ac_try_echo
=$ac_try;;
12955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12956 (eval "$ac_link") 2>conftest.er1
12958 grep -v '^ *+' conftest.er1
>conftest.err
12960 cat conftest.err
>&5
12961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); } && {
12963 test -z "$ac_cxx_werror_flag" ||
12964 test ! -s conftest.err
12965 } && test -s conftest
$ac_exeext &&
12966 $as_test_x conftest
$ac_exeext; then
12967 ac_cv_lib_svld_dlopen
=yes
12969 echo "$as_me: failed program was:" >&5
12970 sed 's/^/| /' conftest.
$ac_ext >&5
12972 ac_cv_lib_svld_dlopen
=no
12975 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12976 conftest
$ac_exeext conftest.
$ac_ext
12977 LIBS
=$ac_check_lib_save_LIBS
12979 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12980 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12981 if test $ac_cv_lib_svld_dlopen = yes; then
12982 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12984 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12985 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12986 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12987 echo $ECHO_N "(cached) $ECHO_C" >&6
12989 ac_check_lib_save_LIBS
=$LIBS
12991 cat >conftest.
$ac_ext <<_ACEOF
12994 cat confdefs.h
>>conftest.
$ac_ext
12995 cat >>conftest.
$ac_ext <<_ACEOF
12996 /* end confdefs.h. */
12998 /* Override any GCC internal prototype to avoid an error.
12999 Use char because int might match the return type of a GCC
13000 builtin and then its argument prototype would still apply. */
13008 return dld_link ();
13013 rm -f conftest.
$ac_objext conftest
$ac_exeext
13014 if { (ac_try
="$ac_link"
13015 case "(($ac_try" in
13016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13017 *) ac_try_echo=$ac_try;;
13019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13020 (eval "$ac_link") 2>conftest.er1
13022 grep -v '^ *+' conftest.er1 >conftest.err
13024 cat conftest.err >&5
13025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026 (exit $ac_status); } && {
13027 test -z "$ac_cxx_werror_flag" ||
13028 test ! -s conftest.err
13029 } && test -s conftest$ac_exeext &&
13030 $as_test_x conftest$ac_exeext; then
13031 ac_cv_lib_dld_dld_link=yes
13033 echo "$as_me: failed program was:" >&5
13034 sed 's/^/| /' conftest.$ac_ext >&5
13036 ac_cv_lib_dld_dld_link=no
13039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13040 conftest$ac_exeext conftest.$ac_ext
13041 LIBS=$ac_check_lib_save_LIBS
13043 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13044 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13045 if test $ac_cv_lib_dld_dld_link = yes; then
13046 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13067 if test "x$lt_cv_dlopen" != xno; then
13073 case $lt_cv_dlopen in
13075 save_CPPFLAGS="$CPPFLAGS"
13076 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13078 save_LDFLAGS="$LDFLAGS"
13079 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13082 LIBS="$lt_cv_dlopen_libs $LIBS"
13084 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13085 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
13086 if test "${lt_cv_dlopen_self+set}" = set; then
13087 echo $ECHO_N "(cached) $ECHO_C" >&6
13089 if test "$cross_compiling" = yes; then :
13090 lt_cv_dlopen_self=cross
13092 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13093 lt_status=$lt_dlunknown
13094 cat > conftest.$ac_ext <<EOF
13095 #line 13095 "configure"
13096 #include "confdefs.h"
13105 # define LT_DLGLOBAL RTLD_GLOBAL
13108 # define LT_DLGLOBAL DL_GLOBAL
13110 # define LT_DLGLOBAL 0
13114 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13115 find out it does not work in some platform. */
13116 #ifndef LT_DLLAZY_OR_NOW
13118 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13121 # define LT_DLLAZY_OR_NOW DL_LAZY
13124 # define LT_DLLAZY_OR_NOW RTLD_NOW
13127 # define LT_DLLAZY_OR_NOW DL_NOW
13129 # define LT_DLLAZY_OR_NOW 0
13137 extern "C" void exit (int);
13140 void fnord() { int i=42;}
13143 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13144 int status = $lt_dlunknown;
13148 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13149 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13150 /* dlclose (self); */
13156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13157 (eval $ac_link) 2>&5
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13161 (./conftest; exit; ) 2>/dev/null
13163 case x$lt_status in
13164 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13165 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13166 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13169 # compilation failed
13170 lt_cv_dlopen_self=no
13177 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13178 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
13180 if test "x$lt_cv_dlopen_self" = xyes; then
13181 LDFLAGS="$LDFLAGS $link_static_flag"
13182 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13183 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
13184 if test "${lt_cv_dlopen_self_static+set}" = set; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 if test "$cross_compiling" = yes; then :
13188 lt_cv_dlopen_self_static=cross
13190 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13191 lt_status=$lt_dlunknown
13192 cat > conftest.$ac_ext <<EOF
13193 #line 13193 "configure"
13194 #include "confdefs.h"
13203 # define LT_DLGLOBAL RTLD_GLOBAL
13206 # define LT_DLGLOBAL DL_GLOBAL
13208 # define LT_DLGLOBAL 0
13212 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13213 find out it does not work in some platform. */
13214 #ifndef LT_DLLAZY_OR_NOW
13216 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13219 # define LT_DLLAZY_OR_NOW DL_LAZY
13222 # define LT_DLLAZY_OR_NOW RTLD_NOW
13225 # define LT_DLLAZY_OR_NOW DL_NOW
13227 # define LT_DLLAZY_OR_NOW 0
13235 extern "C" void exit (int);
13238 void fnord() { int i=42;}
13241 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13242 int status = $lt_dlunknown;
13246 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13247 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13248 /* dlclose (self); */
13254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13255 (eval $ac_link) 2>&5
13257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13258 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13259 (./conftest; exit; ) 2>/dev/null
13261 case x$lt_status in
13262 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13263 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13264 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13267 # compilation failed
13268 lt_cv_dlopen_self_static=no
13275 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13276 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
13279 CPPFLAGS="$save_CPPFLAGS"
13280 LDFLAGS="$save_LDFLAGS"
13285 case $lt_cv_dlopen_self in
13286 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13287 *) enable_dlopen_self=unknown ;;
13290 case $lt_cv_dlopen_self_static in
13291 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13292 *) enable_dlopen_self_static=unknown ;;
13297 # The else clause should only fire when bootstrapping the
13298 # libtool distribution, otherwise you forgot to ship ltmain.sh
13299 # with your package, and you will get complaints that there are
13300 # no rules to generate ltmain.sh.
13301 if test -f "$ltmain"; then
13302 # See if we are running on zsh, and set the options which allow our commands through
13303 # without removal of \ escapes.
13304 if test -n "${ZSH_VERSION+set}" ; then
13305 setopt NO_GLOB_SUBST
13307 # Now quote all the things that may contain metacharacters while being
13308 # careful not to overquote the AC_SUBSTed values. We take copies of the
13309 # variables and quote the copies for generation of the libtool script.
13310 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13312 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13313 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13314 deplibs_check_method reload_flag reload_cmds need_locks \
13315 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13316 lt_cv_sys_global_symbol_to_c_name_address \
13317 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13318 old_postinstall_cmds old_postuninstall_cmds \
13322 lt_prog_compiler_wl_CXX \
13323 lt_prog_compiler_pic_CXX \
13324 lt_prog_compiler_static_CXX \
13325 lt_prog_compiler_no_builtin_flag_CXX \
13326 export_dynamic_flag_spec_CXX \
13327 thread_safe_flag_spec_CXX \
13328 whole_archive_flag_spec_CXX \
13329 enable_shared_with_static_runtimes_CXX \
13330 old_archive_cmds_CXX \
13331 old_archive_from_new_cmds_CXX \
13332 predep_objects_CXX \
13333 postdep_objects_CXX \
13336 compiler_lib_search_path_CXX \
13338 archive_expsym_cmds_CXX \
13339 postinstall_cmds_CXX \
13340 postuninstall_cmds_CXX \
13341 old_archive_from_expsyms_cmds_CXX \
13342 allow_undefined_flag_CXX \
13343 no_undefined_flag_CXX \
13344 export_symbols_cmds_CXX \
13345 hardcode_libdir_flag_spec_CXX \
13346 hardcode_libdir_flag_spec_ld_CXX \
13347 hardcode_libdir_separator_CXX \
13348 hardcode_automatic_CXX \
13350 module_expsym_cmds_CXX \
13351 lt_cv_prog_compiler_c_o_CXX \
13352 exclude_expsyms_CXX \
13353 include_expsyms_CXX; do
13356 old_archive_cmds_CXX | \
13357 old_archive_from_new_cmds_CXX | \
13358 archive_cmds_CXX | \
13359 archive_expsym_cmds_CXX | \
13360 module_cmds_CXX | \
13361 module_expsym_cmds_CXX | \
13362 old_archive_from_expsyms_cmds_CXX | \
13363 export_symbols_cmds_CXX | \
13364 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13365 postinstall_cmds | postuninstall_cmds | \
13366 old_postinstall_cmds | old_postuninstall_cmds | \
13367 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13368 # Double-quote double-evaled strings.
13369 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
13372 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
13378 *'\$0 --fallback-echo"')
13379 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13385 cat <<__EOF__ >> "$cfgfile"
13386 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13388 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
13390 # Shell to use when invoking shell scripts.
13393 # Whether or not to build shared libraries.
13394 build_libtool_libs=$enable_shared
13396 # Whether or not to build static libraries.
13397 build_old_libs=$enable_static
13399 # Whether or not to add -lc for building shared libraries.
13400 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13402 # Whether or not to disallow shared libs when runtime libs are static
13403 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13405 # Whether or not to optimize for fast installation.
13406 fast_install=$enable_fast_install
13409 host_alias=$host_alias
13412 # An echo program that does not interpret backslashes.
13417 AR_FLAGS=$lt_AR_FLAGS
13422 # A language-specific compiler.
13423 CC=$lt_compiler_CXX
13425 # Is the compiler the GNU C compiler?
13431 # The linker used to build libraries.
13434 # Whether we need hard or soft links.
13437 # A BSD-compatible nm program.
13440 # A symbol stripping program
13443 # Used to examine libraries when file_magic_cmd begins "file"
13444 MAGIC_CMD=$MAGIC_CMD
13446 # Used on cygwin: DLL creation program.
13449 # Used on cygwin: object dumper.
13452 # Used on cygwin: assembler.
13455 # The name of the directory that contains temporary libtool files.
13458 # How to create reloadable object files.
13459 reload_flag=$lt_reload_flag
13460 reload_cmds=$lt_reload_cmds
13462 # How to pass a linker flag through the compiler.
13463 wl=$lt_lt_prog_compiler_wl_CXX
13465 # Object file suffix (normally "o").
13466 objext="$ac_objext"
13468 # Old archive suffix (normally "a").
13471 # Shared library suffix (normally ".so").
13472 shrext_cmds='$shrext_cmds'
13474 # Executable file suffix (normally "").
13477 # Additional compiler flags for building library objects.
13478 pic_flag=$lt_lt_prog_compiler_pic_CXX
13481 # What is the maximum length of a command?
13482 max_cmd_len=$lt_cv_sys_max_cmd_len
13484 # Does compiler simultaneously support -c and -o options?
13485 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13487 # Must we lock files when doing compilation ?
13488 need_locks=$lt_need_locks
13490 # Do we need the lib prefix for modules?
13491 need_lib_prefix=$need_lib_prefix
13493 # Do we need a version for libraries?
13494 need_version=$need_version
13496 # Whether dlopen is supported.
13497 dlopen_support=$enable_dlopen
13499 # Whether dlopen of programs is supported.
13500 dlopen_self=$enable_dlopen_self
13502 # Whether dlopen of statically linked programs is supported.
13503 dlopen_self_static=$enable_dlopen_self_static
13505 # Compiler flag to prevent dynamic linking.
13506 link_static_flag=$lt_lt_prog_compiler_static_CXX
13508 # Compiler flag to turn off builtin functions.
13509 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13511 # Compiler flag to allow reflexive dlopens.
13512 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13514 # Compiler flag to generate shared objects directly from archives.
13515 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13517 # Compiler flag to generate thread-safe objects.
13518 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13520 # Library versioning type.
13521 version_type=$version_type
13523 # Format of library name prefix.
13524 libname_spec=$lt_libname_spec
13526 # List of archive names. First name is the real one, the rest are links.
13527 # The last name is the one that the linker finds with -lNAME.
13528 library_names_spec=$lt_library_names_spec
13530 # The coded name of the library, if different from the real name.
13531 soname_spec=$lt_soname_spec
13533 # Commands used to build and install an old-style archive.
13535 old_archive_cmds=$lt_old_archive_cmds_CXX
13536 old_postinstall_cmds=$lt_old_postinstall_cmds
13537 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13539 # Create an old-style archive from a shared archive.
13540 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13542 # Create a temporary old-style archive to link instead of a shared archive.
13543 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13545 # Commands used to build and install a shared archive.
13546 archive_cmds=$lt_archive_cmds_CXX
13547 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13548 postinstall_cmds=$lt_postinstall_cmds
13549 postuninstall_cmds=$lt_postuninstall_cmds
13551 # Commands used to build a loadable module (assumed same as above if empty)
13552 module_cmds=$lt_module_cmds_CXX
13553 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13555 # Commands to strip libraries.
13556 old_striplib=$lt_old_striplib
13557 striplib=$lt_striplib
13559 # Dependencies to place before the objects being linked to create a
13561 predep_objects=$lt_predep_objects_CXX
13563 # Dependencies to place after the objects being linked to create a
13565 postdep_objects=$lt_postdep_objects_CXX
13567 # Dependencies to place before the objects being linked to create a
13569 predeps=$lt_predeps_CXX
13571 # Dependencies to place after the objects being linked to create a
13573 postdeps=$lt_postdeps_CXX
13575 # The library search path used internally by the compiler when linking
13576 # a shared library.
13577 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13579 # Method to check whether dependent libraries are shared objects.
13580 deplibs_check_method=$lt_deplibs_check_method
13582 # Command to use when deplibs_check_method == file_magic.
13583 file_magic_cmd=$lt_file_magic_cmd
13585 # Flag that allows shared libraries with undefined symbols to be built.
13586 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13588 # Flag that forces no undefined symbols.
13589 no_undefined_flag=$lt_no_undefined_flag_CXX
13591 # Commands used to finish a libtool library installation in a directory.
13592 finish_cmds=$lt_finish_cmds
13594 # Same as above, but a single script fragment to be evaled but not shown.
13595 finish_eval=$lt_finish_eval
13597 # Take the output of nm and produce a listing of raw symbols and C names.
13598 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13600 # Transform the output of nm in a proper C declaration
13601 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13603 # Transform the output of nm in a C name address pair
13604 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13606 # This is the shared library runtime path variable.
13607 runpath_var=$runpath_var
13609 # This is the shared library path variable.
13610 shlibpath_var=$shlibpath_var
13612 # Is shlibpath searched before the hard-coded library search path?
13613 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13615 # How to hardcode a shared library path into an executable.
13616 hardcode_action=$hardcode_action_CXX
13618 # Whether we should hardcode library paths into libraries.
13619 hardcode_into_libs=$hardcode_into_libs
13621 # Flag to hardcode \$libdir into a binary during linking.
13622 # This must work even if \$libdir does not exist.
13623 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13625 # If ld is used when linking, flag to hardcode \$libdir into
13626 # a binary during linking. This must work even if \$libdir does
13628 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13630 # Whether we need a single -rpath flag with a separated argument.
13631 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13633 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13634 # resulting binary.
13635 hardcode_direct=$hardcode_direct_CXX
13637 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13638 # resulting binary.
13639 hardcode_minus_L=$hardcode_minus_L_CXX
13641 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13642 # the resulting binary.
13643 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13645 # Set to yes if building a shared library automatically hardcodes DIR into the library
13646 # and all subsequent libraries and executables linked against it.
13647 hardcode_automatic=$hardcode_automatic_CXX
13649 # Variables whose values should be saved in libtool wrapper scripts and
13650 # restored at relink time.
13651 variables_saved_for_relink="$variables_saved_for_relink"
13653 # Whether libtool must link a program against all its dependency libraries.
13654 link_all_deplibs=$link_all_deplibs_CXX
13656 # Compile-time system search path for libraries
13657 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13659 # Run-time system search path for libraries
13660 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13662 # Fix the shell variable \$srcfile for the compiler.
13663 fix_srcfile_path="$fix_srcfile_path_CXX"
13665 # Set to yes if exported symbols are required.
13666 always_export_symbols=$always_export_symbols_CXX
13668 # The commands to list exported symbols.
13669 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13671 # The commands to extract the exported symbol list from a shared archive.
13672 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13674 # Symbols that should not be listed in the preloaded symbols.
13675 exclude_expsyms=$lt_exclude_expsyms_CXX
13677 # Symbols that must always be exported.
13678 include_expsyms=$lt_include_expsyms_CXX
13680 # ### END LIBTOOL TAG CONFIG: $tagname
13686 # If there is no Makefile yet, we rely on a make rule to execute
13687 # `config.status
--recheck' to rerun these tests and create the
13688 # libtool script then.
13689 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
13690 if test -f "$ltmain_in"; then
13691 test -f Makefile && make "$ltmain"
13697 ac_cpp='$CXXCPP $CPPFLAGS'
13698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13699 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13706 with_gnu_ldcxx=$with_gnu_ld
13707 with_gnu_ld=$lt_save_with_gnu_ld
13708 lt_cv_path_LDCXX=$lt_cv_path_LD
13709 lt_cv_path_LD=$lt_save_path_LD
13710 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13711 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13719 if test -n "$F77" && test "X$F77" != "Xno"; then
13722 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
13723 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13724 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13727 archive_cmds_need_lc_F77=no
13728 allow_undefined_flag_F77=
13729 always_export_symbols_F77=no
13730 archive_expsym_cmds_F77=
13731 export_dynamic_flag_spec_F77=
13732 hardcode_direct_F77=no
13733 hardcode_libdir_flag_spec_F77=
13734 hardcode_libdir_flag_spec_ld_F77=
13735 hardcode_libdir_separator_F77=
13736 hardcode_minus_L_F77=no
13737 hardcode_automatic_F77=no
13739 module_expsym_cmds_F77=
13740 link_all_deplibs_F77=unknown
13741 old_archive_cmds_F77=$old_archive_cmds
13742 no_undefined_flag_F77=
13743 whole_archive_flag_spec_F77=
13744 enable_shared_with_static_runtimes_F77=no
13746 # Source file extension for f77 test sources.
13749 # Object file extension for compiled f77 test sources.
13753 # Code to be used in simple compile tests
13754 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
13756 # Code to be used in simple link tests
13757 lt_simple_link_test_code=" program t\n end\n"
13759 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13761 # If no C compiler was specified, use CC.
13764 # Allow CC to be a program name with arguments.
13768 # Allow CC to be a program name with arguments.
13773 cc_basename=`$echo X"$compiler" | $Xsed -e 's
%^.
*/%%'`
13775 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13776 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13777 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13778 echo "${ECHO_T}$can_build_shared" >&6; }
13780 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13781 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13782 test "$can_build_shared" = "no" && enable_shared=no
13784 # On AIX, shared libraries and static libraries use the same namespace, and
13785 # are all built from PIC.
13788 test "$enable_shared" = yes && enable_static=no
13789 if test -n "$RANLIB"; then
13790 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13791 postinstall_cmds='$RANLIB $lib'
13795 test "$enable_shared" = yes && enable_static=no
13798 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13799 echo "${ECHO_T}$enable_shared" >&6; }
13801 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13802 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13803 # Make sure either enable_shared or enable_static is yes.
13804 test "$enable_shared" = yes || enable_static=yes
13805 { echo "$as_me:$LINENO: result: $enable_static" >&5
13806 echo "${ECHO_T}$enable_static" >&6; }
13808 test "$ld_shlibs_F77" = no && can_build_shared=no
13813 lt_prog_compiler_wl_F77=
13814 lt_prog_compiler_pic_F77=
13815 lt_prog_compiler_static_F77=
13817 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13818 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13820 if test "$GCC" = yes; then
13821 lt_prog_compiler_wl_F77='-Wl,'
13822 lt_prog_compiler_static_F77='-static'
13826 # All AIX code is PIC.
13827 if test "$host_cpu" = ia64; then
13828 # AIX 5 now supports IA64 processor
13829 lt_prog_compiler_static_F77='-Bstatic'
13834 # FIXME: we need at least 68020 code to build shared libraries, but
13835 # adding the `-m68020' flag to GCC prevents building anything better
,
13837 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13840 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13841 # PIC is the default for these OSes.
13844 mingw
* | pw32
* | os2
*)
13845 # This hack is so that the source file can tell whether it is being
13846 # built for inclusion in a dll (and should export symbols for example).
13847 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13850 darwin
* | rhapsody
*)
13851 # PIC is the default on this platform
13852 # Common symbols not allowed in MH_DYLIB files
13853 lt_prog_compiler_pic_F77
='-fno-common'
13857 # Just because we use GCC doesn't mean we suddenly get shared libraries
13858 # on systems that don't support them.
13859 lt_prog_compiler_can_build_shared_F77
=no
13864 if test -d /usr
/nec
; then
13865 lt_prog_compiler_pic_F77
=-Kconform_pic
13870 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13871 # not for PA HP-UX.
13872 case "$host_cpu" in
13877 lt_prog_compiler_pic_F77
='-fPIC'
13883 lt_prog_compiler_pic_F77
='-fPIC'
13887 # PORTME Check for flag to pass linker flags through the system compiler.
13890 lt_prog_compiler_wl_F77
='-Wl,'
13891 if test "$host_cpu" = ia64
; then
13892 # AIX 5 now supports IA64 processor
13893 lt_prog_compiler_static_F77
='-Bstatic'
13895 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13899 mingw
* | pw32
* | os2
*)
13900 # This hack is so that the source file can tell whether it is being
13901 # built for inclusion in a dll (and should export symbols for example).
13902 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13905 hpux9
* | hpux10
* | hpux11
*)
13906 lt_prog_compiler_wl_F77
='-Wl,'
13907 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13908 # not for PA HP-UX.
13909 case "$host_cpu" in
13914 lt_prog_compiler_pic_F77
='+Z'
13917 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13918 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13921 irix5
* | irix6
* | nonstopux
*)
13922 lt_prog_compiler_wl_F77
='-Wl,'
13923 # PIC (with -KPIC) is the default.
13924 lt_prog_compiler_static_F77
='-non_shared'
13928 lt_prog_compiler_pic_F77
='-KPIC'
13929 lt_prog_compiler_static_F77
='-Bstatic'
13935 lt_prog_compiler_wl_F77
='-Wl,'
13936 lt_prog_compiler_pic_F77
='-KPIC'
13937 lt_prog_compiler_static_F77
='-static'
13940 lt_prog_compiler_wl_F77
='-Wl,'
13941 # All Alpha code is PIC.
13942 lt_prog_compiler_static_F77
='-non_shared'
13947 osf3
* | osf4
* | osf5
*)
13948 lt_prog_compiler_wl_F77
='-Wl,'
13949 # All OSF/1 code is PIC.
13950 lt_prog_compiler_static_F77
='-non_shared'
13954 lt_prog_compiler_pic_F77
='-Kpic'
13955 lt_prog_compiler_static_F77
='-dn'
13959 lt_prog_compiler_wl_F77
='-Wl,'
13960 lt_prog_compiler_pic_F77
='-KPIC'
13961 lt_prog_compiler_static_F77
='-Bstatic'
13965 lt_prog_compiler_wl_F77
='-Qoption ld '
13966 lt_prog_compiler_pic_F77
='-PIC'
13967 lt_prog_compiler_static_F77
='-Bstatic'
13970 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13971 lt_prog_compiler_wl_F77
='-Wl,'
13972 lt_prog_compiler_pic_F77
='-KPIC'
13973 lt_prog_compiler_static_F77
='-Bstatic'
13977 if test -d /usr
/nec
;then
13978 lt_prog_compiler_pic_F77
='-Kconform_pic'
13979 lt_prog_compiler_static_F77
='-Bstatic'
13984 lt_prog_compiler_pic_F77
='-pic'
13985 lt_prog_compiler_static_F77
='-Bstatic'
13989 lt_prog_compiler_can_build_shared_F77
=no
13994 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13995 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13998 # Check to make sure the PIC flag actually works.
14000 if test -n "$lt_prog_compiler_pic_F77"; then
14002 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14003 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14004 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14005 echo $ECHO_N "(cached) $ECHO_C" >&6
14007 lt_prog_compiler_pic_works_F77
=no
14008 ac_outfile
=conftest.
$ac_objext
14009 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14010 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14011 # Insert the option either (1) after the last *FLAGS variable, or
14012 # (2) before a word containing "conftest.", or (3) at the end.
14013 # Note that $ac_compile itself does not contain backslashes and begins
14014 # with a dollar sign (not a hyphen), so the echo should work correctly.
14015 # The option is referenced via a variable to avoid confusing sed.
14016 lt_compile
=`echo "$ac_compile" | $SED \
14017 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14018 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14019 -e 's:$: $lt_compiler_flag:'`
14020 (eval echo "\"\$as_me:14020: $lt_compile\"" >&5)
14021 (eval "$lt_compile" 2>conftest.err
)
14023 cat conftest.err
>&5
14024 echo "$as_me:14024: \$? = $ac_status" >&5
14025 if (exit $ac_status) && test -s "$ac_outfile"; then
14026 # The compiler can only warn and ignore the option if not recognized
14027 # So say no if there are warnings
14028 if test ! -s conftest.err
; then
14029 lt_prog_compiler_pic_works_F77
=yes
14035 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14036 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14038 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14039 case $lt_prog_compiler_pic_F77 in
14041 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14044 lt_prog_compiler_pic_F77
=
14045 lt_prog_compiler_can_build_shared_F77
=no
14050 # For platforms which do not support PIC, -DPIC is meaningless:
14052 lt_prog_compiler_pic_F77
=
14055 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14059 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14060 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14061 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14062 echo $ECHO_N "(cached) $ECHO_C" >&6
14064 lt_cv_prog_compiler_c_o_F77
=no
14065 $rm -r conftest
2>/dev
/null
14069 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14071 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14072 # Insert the option either (1) after the last *FLAGS variable, or
14073 # (2) before a word containing "conftest.", or (3) at the end.
14074 # Note that $ac_compile itself does not contain backslashes and begins
14075 # with a dollar sign (not a hyphen), so the echo should work correctly.
14076 lt_compile
=`echo "$ac_compile" | $SED \
14077 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14078 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14079 -e 's:$: $lt_compiler_flag:'`
14080 (eval echo "\"\$as_me:14080: $lt_compile\"" >&5)
14081 (eval "$lt_compile" 2>out
/conftest.err
)
14083 cat out
/conftest.err
>&5
14084 echo "$as_me:14084: \$? = $ac_status" >&5
14085 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14087 # The compiler can only warn and ignore the option if not recognized
14088 # So say no if there are warnings
14089 if test ! -s out
/conftest.err
; then
14090 lt_cv_prog_compiler_c_o_F77
=yes
14095 # SGI C++ compiler will create directory out/ii_files/ for
14096 # template instantiation
14097 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14098 $rm out
/* && rmdir out
14104 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14105 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14108 hard_links
="nottested"
14109 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14110 # do not overwrite the value of need_locks provided by the user
14111 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14112 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14115 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14117 ln conftest.a conftest.b
2>&5 || hard_links
=no
14118 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14119 { echo "$as_me:$LINENO: result: $hard_links" >&5
14120 echo "${ECHO_T}$hard_links" >&6; }
14121 if test "$hard_links" = no
; then
14122 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14123 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14130 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14131 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14134 allow_undefined_flag_F77
=
14135 enable_shared_with_static_runtimes_F77
=no
14137 archive_expsym_cmds_F77
=
14138 old_archive_From_new_cmds_F77
=
14139 old_archive_from_expsyms_cmds_F77
=
14140 export_dynamic_flag_spec_F77
=
14141 whole_archive_flag_spec_F77
=
14142 thread_safe_flag_spec_F77
=
14143 hardcode_libdir_flag_spec_F77
=
14144 hardcode_libdir_flag_spec_ld_F77
=
14145 hardcode_libdir_separator_F77
=
14146 hardcode_direct_F77
=no
14147 hardcode_minus_L_F77
=no
14148 hardcode_shlibpath_var_F77
=unsupported
14149 link_all_deplibs_F77
=unknown
14150 hardcode_automatic_F77
=no
14152 module_expsym_cmds_F77
=
14153 always_export_symbols_F77
=no
14154 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14155 # include_expsyms should be a list of space-separated symbols to be *always*
14156 # included in the symbol list
14157 include_expsyms_F77
=
14158 # exclude_expsyms can be an extended regexp of symbols to exclude
14159 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14160 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14161 # as well as any symbol that contains `d'.
14162 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14163 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14164 # platforms (ab)use it in PIC code, but their linkers get confused if
14165 # the symbol is explicitly referenced. Since portable code cannot
14166 # rely on this symbol name, it's probably fine to never include it in
14167 # preloaded symbol tables.
14168 extract_expsyms_cmds
=
14171 cygwin
* | mingw
* | pw32
*)
14172 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14173 # When not using gcc, we currently assume that we are using
14174 # Microsoft Visual C++.
14175 if test "$GCC" != yes; then
14185 if test "$with_gnu_ld" = yes; then
14186 # If archive_cmds runs LD, not CC, wlarc should be empty
14189 # See if GNU ld supports shared libraries.
14191 aix3
* | aix4
* | aix5
*)
14192 # On AIX/PPC, the GNU linker is very broken
14193 if test "$host_cpu" != ia64
; then
14197 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14198 *** to be unable to reliably create shared libraries on AIX.
14199 *** Therefore, libtool is disabling shared libraries support. If you
14200 *** really care for shared libraries, you may want to modify your PATH
14201 *** so that a non-GNU linker is found, and then restart.
14208 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)'
14209 hardcode_libdir_flag_spec_F77
='-L$libdir'
14210 hardcode_minus_L_F77
=yes
14212 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14213 # that the semantics of dynamic libraries on AmigaOS, at least up
14214 # to version 4, is to share data among multiple programs linked
14215 # with the same dynamic library. Since this doesn't match the
14216 # behavior of shared libraries on other platforms, we can't use
14222 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14223 allow_undefined_flag_F77
=unsupported
14224 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14225 # support --undefined. This deserves some investigation. FIXME
14226 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14232 cygwin
* | mingw
* | pw32
*)
14233 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14234 # as there is no search path for DLLs.
14235 hardcode_libdir_flag_spec_F77
='-L$libdir'
14236 allow_undefined_flag_F77
=unsupported
14237 always_export_symbols_F77
=no
14238 enable_shared_with_static_runtimes_F77
=yes
14239 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14241 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14242 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14243 # If the export-symbols file already is a .def file (1st line
14244 # is EXPORTS), use it as is; otherwise, prepend...
14245 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14246 cp $export_symbols $output_objdir/$soname.def;
14248 echo EXPORTS > $output_objdir/$soname.def;
14249 cat $export_symbols >> $output_objdir/$soname.def;
14251 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14258 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14259 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14262 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14263 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14268 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14272 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14273 *** create shared libraries on Solaris systems. Therefore, libtool
14274 *** is disabling shared libraries support. We urge you to upgrade GNU
14275 *** binutils to release 2.9.1 or newer. Another option is to modify
14276 *** your PATH or compiler configuration so that the native linker is
14277 *** used, and then restart.
14280 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14281 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14282 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14289 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14291 hardcode_direct_F77
=yes
14292 hardcode_shlibpath_var_F77
=no
14296 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14297 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14298 archive_cmds_F77
="$tmp_archive_cmds"
14299 supports_anon_versioning
=no
14300 case `$LD -v 2>/dev/null` in
14301 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14302 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14303 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14304 *\
2.11.
*) ;; # other 2.11 versions
14305 *) supports_anon_versioning
=yes ;;
14307 if test $supports_anon_versioning = yes; then
14308 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14309 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14310 $echo "local: *; };" >> $output_objdir/$libname.ver~
14311 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14313 archive_expsym_cmds_F77
="$tmp_archive_cmds"
14321 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14322 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14323 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14330 if test "$ld_shlibs_F77" = yes; then
14331 runpath_var
=LD_RUN_PATH
14332 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14333 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14334 # ancient GNU ld didn't support --whole-archive et. al.
14335 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14336 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14338 whole_archive_flag_spec_F77
=
14342 # PORTME fill in a description of your system's linker (not GNU ld)
14345 allow_undefined_flag_F77
=unsupported
14346 always_export_symbols_F77
=yes
14347 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'
14348 # Note: this linker hardcodes the directories in LIBPATH if there
14349 # are no directories specified by -L.
14350 hardcode_minus_L_F77
=yes
14351 if test "$GCC" = yes && test -z "$link_static_flag"; then
14352 # Neither direct hardcoding nor static linking is supported with a
14354 hardcode_direct_F77
=unsupported
14359 if test "$host_cpu" = ia64
; then
14360 # On IA64, the linker does run time linking by default, so we don't
14361 # have to do anything special.
14362 aix_use_runtimelinking
=no
14363 exp_sym_flag
='-Bexport'
14366 # If we're using GNU nm, then we don't want the "-C" option.
14367 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14368 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14369 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'
14371 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'
14373 aix_use_runtimelinking
=no
14375 # Test if we are trying to use run time linking or normal
14376 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14377 # need to do runtime linking.
14378 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14379 for ld_flag
in $LDFLAGS; do
14380 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14381 aix_use_runtimelinking
=yes
14387 exp_sym_flag
='-bexport'
14388 no_entry_flag
='-bnoentry'
14391 # When large executables or shared objects are built, AIX ld can
14392 # have problems creating the table of contents. If linking a library
14393 # or program results in "error TOC overflow" add -mminimal-toc to
14394 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14395 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14397 archive_cmds_F77
=''
14398 hardcode_direct_F77
=yes
14399 hardcode_libdir_separator_F77
=':'
14400 link_all_deplibs_F77
=yes
14402 if test "$GCC" = yes; then
14403 case $host_os in aix4.012|aix4.012.
*)
14404 # We only want to do this on AIX 4.2 and lower, the check
14405 # below for broken collect2 doesn't work under 4.3+
14406 collect2name
=`${CC} -print-prog-name=collect2`
14407 if test -f "$collect2name" && \
14408 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14410 # We have reworked collect2
14411 hardcode_direct_F77
=yes
14413 # We have old collect2
14414 hardcode_direct_F77
=unsupported
14415 # It fails to find uninstalled libraries when the uninstalled
14416 # path is not listed in the libpath. Setting hardcode_minus_L
14417 # to unsupported forces relinking
14418 hardcode_minus_L_F77
=yes
14419 hardcode_libdir_flag_spec_F77
='-L$libdir'
14420 hardcode_libdir_separator_F77
=
14423 shared_flag
='-shared'
14426 if test "$host_cpu" = ia64
; then
14427 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14428 # chokes on -Wl,-G. The following line is correct:
14431 if test "$aix_use_runtimelinking" = yes; then
14432 shared_flag
='${wl}-G'
14434 shared_flag
='${wl}-bM:SRE'
14439 # It seems that -bexpall does not export symbols beginning with
14440 # underscore (_), so it is better to generate a list of symbols to export.
14441 always_export_symbols_F77
=yes
14442 if test "$aix_use_runtimelinking" = yes; then
14443 # Warning - without using the other runtime loading flags (-brtl),
14444 # -berok will link without error, but may produce a broken library.
14445 allow_undefined_flag_F77
='-berok'
14446 # Determine the default libpath from the value encoded in an empty executable.
14447 cat >conftest.
$ac_ext <<_ACEOF
14452 rm -f conftest.
$ac_objext conftest
$ac_exeext
14453 if { (ac_try
="$ac_link"
14454 case "(($ac_try" in
14455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14456 *) ac_try_echo=$ac_try;;
14458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14459 (eval "$ac_link") 2>conftest.er1
14461 grep -v '^ *+' conftest.er1 >conftest.err
14463 cat conftest.err >&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } && {
14466 test -z "$ac_f77_werror_flag" ||
14467 test ! -s conftest.err
14468 } && test -s conftest$ac_exeext &&
14469 $as_test_x conftest$ac_exeext; then
14471 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14473 # Check for a 64-bit object if we didn't find anything.
14474 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; }
14477 echo "$as_me: failed program was:" >&5
14478 sed 's/^/| /' conftest.$ac_ext >&5
14483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14484 conftest$ac_exeext conftest.$ac_ext
14485 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14487 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14488 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"
14490 if test "$host_cpu" = ia64
; then
14491 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
14492 allow_undefined_flag_F77
="-z nodefs"
14493 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"
14495 # Determine the default libpath from the value encoded in an empty executable.
14496 cat >conftest.$ac_ext <<_ACEOF
14501 rm -f conftest.$ac_objext conftest$ac_exeext
14502 if { (ac_try="$ac_link"
14503 case "(($ac_try" in
14504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14505 *) ac_try_echo=$ac_try;;
14507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14508 (eval "$ac_link") 2>conftest.er1
14510 grep -v '^
*+' conftest.er1 >conftest.err
14512 cat conftest.err >&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); } && {
14515 test -z "$ac_f77_werror_flag" ||
14516 test ! -s conftest.err
14517 } && test -s conftest$ac_exeext &&
14518 $as_test_x conftest$ac_exeext; then
14520 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
14522 # Check for a 64-bit object if we didn't
find anything.
14523 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; }
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.
$ac_ext >&5
14532 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14533 conftest
$ac_exeext conftest.
$ac_ext
14534 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14536 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14537 # Warning - without using the other run time loading flags,
14538 # -berok will link without error, but may produce a broken library.
14539 no_undefined_flag_F77
=' ${wl}-bernotok'
14540 allow_undefined_flag_F77
=' ${wl}-berok'
14541 # -bexpall does not export symbols beginning with underscore (_)
14542 always_export_symbols_F77
=yes
14543 # Exported symbols can be pulled into shared objects from archives
14544 whole_archive_flag_spec_F77
=' '
14545 archive_cmds_need_lc_F77
=yes
14546 # This is similar to how AIX traditionally builds it's shared libraries.
14547 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'
14553 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)'
14554 hardcode_libdir_flag_spec_F77
='-L$libdir'
14555 hardcode_minus_L_F77
=yes
14556 # see comment about different semantics on the GNU ld section
14561 export_dynamic_flag_spec_F77
=-rdynamic
14564 cygwin
* | mingw
* | pw32
*)
14565 # When not using gcc, we currently assume that we are using
14566 # Microsoft Visual C++.
14567 # hardcode_libdir_flag_spec is actually meaningless, as there is
14568 # no search path for DLLs.
14569 hardcode_libdir_flag_spec_F77
=' '
14570 allow_undefined_flag_F77
=unsupported
14571 # Tell ltmain to make .lib files, not .a files.
14573 # Tell ltmain to make .dll files, not .so files.
14575 # FIXME: Setting linknames here is a bad hack.
14576 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14577 # The linker will automatically build a .lib file if we build a DLL.
14578 old_archive_From_new_cmds_F77
='true'
14579 # FIXME: Should let the user specify the lib program.
14580 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14581 fix_srcfile_path
='`cygpath -w "$srcfile"`'
14582 enable_shared_with_static_runtimes_F77
=yes
14585 darwin
* | rhapsody
*)
14586 if test "$GXX" = yes ; then
14587 archive_cmds_need_lc_F77
=no
14589 rhapsody
* | darwin1.
[012])
14590 allow_undefined_flag_F77
='-undefined suppress'
14593 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14594 allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
14596 case ${MACOSX_DEPLOYMENT_TARGET} in
14598 allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
14601 allow_undefined_flag_F77
='-undefined dynamic_lookup'
14607 lt_int_apple_cc_single_mod
=no
14608 output_verbose_link_cmd
='echo'
14609 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
14610 lt_int_apple_cc_single_mod
=yes
14612 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14613 archive_cmds_F77
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14615 archive_cmds_F77
='$CC -r ${wl}-bind_at_load -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'
14617 module_cmds_F77
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14618 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14619 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14620 archive_expsym_cmds_F77
='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}'
14622 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
14624 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}'
14625 hardcode_direct_F77
=no
14626 hardcode_automatic_F77
=yes
14627 hardcode_shlibpath_var_F77
=unsupported
14628 whole_archive_flag_spec_F77
='-all_load $convenience'
14629 link_all_deplibs_F77
=yes
14636 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14637 hardcode_libdir_flag_spec_F77
='-L$libdir'
14638 hardcode_shlibpath_var_F77
=no
14645 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14646 # support. Future versions do this automatically, but an explicit c++rt0.o
14647 # does not break anything, and helps significantly (at the cost of a little
14650 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14651 hardcode_libdir_flag_spec_F77
='-R$libdir'
14652 hardcode_direct_F77
=yes
14653 hardcode_shlibpath_var_F77
=no
14656 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14658 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14659 hardcode_direct_F77
=yes
14660 hardcode_minus_L_F77
=yes
14661 hardcode_shlibpath_var_F77
=no
14664 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14665 freebsd
* | kfreebsd
*-gnu)
14666 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14667 hardcode_libdir_flag_spec_F77
='-R$libdir'
14668 hardcode_direct_F77
=yes
14669 hardcode_shlibpath_var_F77
=no
14673 if test "$GCC" = yes; then
14674 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'
14676 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'
14678 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14679 hardcode_libdir_separator_F77
=:
14680 hardcode_direct_F77
=yes
14682 # hardcode_minus_L: Not really in the search PATH,
14683 # but as the default location of the library.
14684 hardcode_minus_L_F77
=yes
14685 export_dynamic_flag_spec_F77
='${wl}-E'
14689 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14690 case "$host_cpu" in
14692 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14695 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14699 case "$host_cpu" in
14701 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14704 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14708 if test "$with_gnu_ld" = no
; then
14709 case "$host_cpu" in
14711 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14712 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14713 hardcode_libdir_separator_F77
=:
14714 hardcode_direct_F77
=no
14715 hardcode_shlibpath_var_F77
=no
14718 hardcode_libdir_flag_spec_F77
='-L$libdir'
14719 hardcode_direct_F77
=no
14720 hardcode_shlibpath_var_F77
=no
14722 # hardcode_minus_L: Not really in the search PATH,
14723 # but as the default location of the library.
14724 hardcode_minus_L_F77
=yes
14727 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14728 hardcode_libdir_separator_F77
=:
14729 hardcode_direct_F77
=yes
14730 export_dynamic_flag_spec_F77
='${wl}-E'
14732 # hardcode_minus_L: Not really in the search PATH,
14733 # but as the default location of the library.
14734 hardcode_minus_L_F77
=yes
14740 irix5
* | irix6
* | nonstopux
*)
14741 if test "$GCC" = yes; then
14742 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'
14744 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'
14745 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14747 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14748 hardcode_libdir_separator_F77
=:
14749 link_all_deplibs_F77
=yes
14753 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14754 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14756 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14758 hardcode_libdir_flag_spec_F77
='-R$libdir'
14759 hardcode_direct_F77
=yes
14760 hardcode_shlibpath_var_F77
=no
14764 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14765 hardcode_direct_F77
=yes
14766 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14767 hardcode_libdir_separator_F77
=:
14768 hardcode_shlibpath_var_F77
=no
14772 hardcode_direct_F77
=yes
14773 hardcode_shlibpath_var_F77
=no
14774 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14775 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14776 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14777 export_dynamic_flag_spec_F77
='${wl}-E'
14780 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14781 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14782 hardcode_libdir_flag_spec_F77
='-R$libdir'
14785 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14786 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14793 hardcode_libdir_flag_spec_F77
='-L$libdir'
14794 hardcode_minus_L_F77
=yes
14795 allow_undefined_flag_F77
=unsupported
14796 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'
14797 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14801 if test "$GCC" = yes; then
14802 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14803 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'
14805 allow_undefined_flag_F77
=' -expect_unresolved \*'
14806 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'
14808 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14809 hardcode_libdir_separator_F77
=:
14812 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14813 if test "$GCC" = yes; then
14814 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14815 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'
14816 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14818 allow_undefined_flag_F77
=' -expect_unresolved \*'
14819 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'
14820 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~
14821 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
14823 # Both c and cxx compiler support -rpath directly
14824 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14826 hardcode_libdir_separator_F77
=:
14830 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14831 hardcode_shlibpath_var_F77
=no
14832 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14833 runpath_var
=LD_RUN_PATH
14834 hardcode_runpath_var
=yes
14838 no_undefined_flag_F77
=' -z text'
14839 if test "$GCC" = yes; then
14840 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14841 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14842 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14844 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14845 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14846 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14848 hardcode_libdir_flag_spec_F77
='-R$libdir'
14849 hardcode_shlibpath_var_F77
=no
14851 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14852 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14853 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14855 link_all_deplibs_F77
=yes
14859 if test "x$host_vendor" = xsequent
; then
14860 # Use $CC to link under sequent, because it throws in some extra .o
14861 # files that make .init and .fini sections work.
14862 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14864 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14866 hardcode_libdir_flag_spec_F77
='-L$libdir'
14867 hardcode_direct_F77
=yes
14868 hardcode_minus_L_F77
=yes
14869 hardcode_shlibpath_var_F77
=no
14873 case $host_vendor in
14875 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14876 hardcode_direct_F77
=yes # is this really true???
14879 ## LD is ld it makes a PLAMLIB
14880 ## CC just makes a GrossModule.
14881 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14882 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14883 hardcode_direct_F77
=no
14886 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14887 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14890 runpath_var
='LD_RUN_PATH'
14891 hardcode_shlibpath_var_F77
=no
14895 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14896 hardcode_shlibpath_var_F77
=no
14897 export_dynamic_flag_spec_F77
='-Bexport'
14901 if test -d /usr
/nec
; then
14902 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14903 hardcode_shlibpath_var_F77
=no
14904 runpath_var
=LD_RUN_PATH
14905 hardcode_runpath_var
=yes
14911 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14912 hardcode_direct_F77
=yes
14913 hardcode_minus_L_F77
=no
14914 hardcode_shlibpath_var_F77
=no
14915 hardcode_runpath_var
=yes
14916 runpath_var
=LD_RUN_PATH
14919 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14920 no_undefined_flag_F77
='${wl}-z ${wl}text'
14921 if test "$GCC" = yes; then
14922 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14924 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14926 runpath_var
='LD_RUN_PATH'
14927 hardcode_shlibpath_var_F77
=no
14931 no_undefined_flag_F77
=' -z text'
14932 # $CC -shared without GNU ld will not create a library from C++
14933 # object files and a static libstdc++, better avoid it by now
14934 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14935 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14936 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14937 hardcode_libdir_flag_spec_F77
=
14938 hardcode_shlibpath_var_F77
=no
14939 runpath_var
='LD_RUN_PATH'
14943 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14944 hardcode_libdir_flag_spec_F77
='-L$libdir'
14945 hardcode_shlibpath_var_F77
=no
14954 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14955 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14956 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14958 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14959 if test "$GCC" = yes; then
14960 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14964 # Do we need to explicitly link libc?
14966 case "x$archive_cmds_need_lc_F77" in
14968 # Assume -lc should be added
14969 archive_cmds_need_lc_F77
=yes
14971 if test "$enable_shared" = yes && test "$GCC" = yes; then
14972 case $archive_cmds_F77 in
14974 # FIXME: we may have to deal with multi-command sequences.
14977 # Test whether the compiler implicitly links with -lc since on some
14978 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14979 # to ld, don't add -lc before -lgcc.
14980 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14981 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14983 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14986 (eval $ac_compile) 2>&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); } 2>conftest.err
; then
14992 libobjs
=conftest.
$ac_objext
14994 wl
=$lt_prog_compiler_wl_F77
15000 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15001 allow_undefined_flag_F77
=
15002 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15003 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }
15008 archive_cmds_need_lc_F77
=no
15010 archive_cmds_need_lc_F77
=yes
15012 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15014 cat conftest.err
1>&5
15017 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15018 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15025 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15026 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15027 library_names_spec
=
15028 libname_spec
='lib$name'
15032 postuninstall_cmds
=
15036 shlibpath_overrides_runpath
=unknown
15038 dynamic_linker
="$host_os ld.so"
15039 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15040 if test "$GCC" = yes; then
15041 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15042 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15043 # if the path contains ";" then we assume it to be the separator
15044 # otherwise default to the standard path separator (i.e. ":") - it is
15045 # assumed that no part of a normal pathname contains ";" but that should
15046 # okay in the real world where ";" in dirpaths is itself problematic.
15047 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15049 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15052 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15054 need_lib_prefix
=unknown
15055 hardcode_into_libs
=no
15057 # when you set need_version to no, make sure it does not cause -set_version
15058 # flags to be left without arguments
15059 need_version
=unknown
15064 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15065 shlibpath_var
=LIBPATH
15067 # AIX 3 has no versioning support, so we append a major version to the name.
15068 soname_spec
='${libname}${release}${shared_ext}$major'
15075 hardcode_into_libs
=yes
15076 if test "$host_cpu" = ia64
; then
15077 # AIX 5 supports IA64
15078 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15079 shlibpath_var
=LD_LIBRARY_PATH
15081 # With GCC up to 2.95.x, collect2 would create an import file
15082 # for dependence libraries. The import file would start with
15083 # the line `#! .'. This would cause the generated library to
15084 # depend on `.', always an invalid library. This was fixed in
15085 # development snapshots of GCC prior to 3.0.
15087 aix4 | aix4.
[01] | aix4.
[01].
*)
15088 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15090 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15093 can_build_shared
=no
15097 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15098 # soname into executable. Probably we can add versioning support to
15099 # collect2, so additional links can be useful in future.
15100 if test "$aix_use_runtimelinking" = yes; then
15101 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15102 # instead of lib<name>.a to let people know that these are not
15103 # typical AIX shared libraries.
15104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15106 # We preserve .a as extension for shared libraries through AIX4.2
15107 # and later when we are not doing run time linking.
15108 library_names_spec
='${libname}${release}.a $libname.a'
15109 soname_spec
='${libname}${release}${shared_ext}$major'
15111 shlibpath_var
=LIBPATH
15116 library_names_spec
='$libname.ixlibrary $libname.a'
15117 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15118 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'
15122 library_names_spec
='${libname}${shared_ext}'
15123 dynamic_linker
="$host_os ld.so"
15124 shlibpath_var
=LIBRARY_PATH
15130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15131 soname_spec
='${libname}${release}${shared_ext}$major'
15132 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15133 shlibpath_var
=LD_LIBRARY_PATH
15134 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15135 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15136 # the default ld.so.conf also contains /usr/contrib/lib and
15137 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15138 # libtool to hard-code these into programs
15141 cygwin
* | mingw
* | pw32
*)
15142 version_type
=windows
15147 case $GCC,$host_os in
15148 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15149 library_names_spec
='$libname.dll.a'
15150 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15151 postinstall_cmds
='base_file=`basename \${file}`~
15152 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15153 dldir=$destdir/`dirname \$dlpath`~
15154 test -d \$dldir || mkdir -p \$dldir~
15155 $install_prog $dir/$dlname \$dldir/$dlname'
15156 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15157 dlpath=$dir/\$dldll~
15159 shlibpath_overrides_runpath
=yes
15163 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15164 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15165 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15168 # MinGW DLLs use traditional 'lib' prefix
15169 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15170 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15171 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15172 # It is most probably a Windows format PATH printed by
15173 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15174 # path with ; separators, and with drive letters. We can handle the
15175 # drive letters (cygwin fileutils understands them), so leave them,
15176 # especially as we might pass files found there to a mingw objdump,
15177 # which wouldn't understand a cygwinified path. Ahh.
15178 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15180 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15184 # pw32 DLLs use 'pw' prefix rather than 'lib'
15185 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
15191 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15194 dynamic_linker
='Win32 ld.exe'
15195 # FIXME: first we should search . and the directory the executable is in
15199 darwin
* | rhapsody
*)
15200 dynamic_linker
="$host_os dyld"
15201 version_type
=darwin
15204 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15205 soname_spec
='${libname}${release}${major}$shared_ext'
15206 shlibpath_overrides_runpath
=yes
15207 shlibpath_var
=DYLD_LIBRARY_PATH
15208 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
15209 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15210 if test "$GCC" = yes; then
15211 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"`
15213 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15215 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15223 soname_spec
='${libname}${release}${shared_ext}$major'
15224 shlibpath_var
=LD_LIBRARY_PATH
15235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15236 soname_spec
='${libname}${release}${shared_ext}$major'
15237 shlibpath_var
=LD_LIBRARY_PATH
15238 shlibpath_overrides_runpath
=no
15239 hardcode_into_libs
=yes
15240 dynamic_linker
='GNU ld.so'
15244 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15245 version_type
=freebsd-
$objformat
15246 case $version_type in
15248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15253 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15257 shlibpath_var
=LD_LIBRARY_PATH
15260 shlibpath_overrides_runpath
=yes
15262 freebsd3.01
* | freebsdelf3.01
*)
15263 shlibpath_overrides_runpath
=yes
15264 hardcode_into_libs
=yes
15267 shlibpath_overrides_runpath
=no
15268 hardcode_into_libs
=yes
15277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15278 soname_spec
='${libname}${release}${shared_ext}$major'
15279 shlibpath_var
=LD_LIBRARY_PATH
15280 hardcode_into_libs
=yes
15283 hpux9
* | hpux10
* | hpux11
*)
15284 # Give a soname corresponding to the major version so that dld.sl refuses to
15285 # link against other versions.
15289 case "$host_cpu" in
15292 hardcode_into_libs
=yes
15293 dynamic_linker
="$host_os dld.so"
15294 shlibpath_var
=LD_LIBRARY_PATH
15295 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15296 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15297 soname_spec
='${libname}${release}${shared_ext}$major'
15298 if test "X$HPUX_IA64_MODE" = X32
; then
15299 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15301 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15303 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15307 hardcode_into_libs
=yes
15308 dynamic_linker
="$host_os dld.sl"
15309 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15310 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15312 soname_spec
='${libname}${release}${shared_ext}$major'
15313 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15314 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15318 dynamic_linker
="$host_os dld.sl"
15319 shlibpath_var
=SHLIB_PATH
15320 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15322 soname_spec
='${libname}${release}${shared_ext}$major'
15325 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15326 postinstall_cmds
='chmod 555 $lib'
15329 irix5
* | irix6
* | nonstopux
*)
15331 nonstopux
*) version_type
=nonstopux
;;
15333 if test "$lt_cv_prog_gnu_ld" = yes; then
15341 soname_spec
='${libname}${release}${shared_ext}$major'
15342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15344 irix5
* | nonstopux
*)
15345 libsuff
= shlibsuff
=
15348 case $LD in # libtool.m4 will add one of these switches to LD
15349 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15350 libsuff
= shlibsuff
= libmagic
=32-bit;;
15351 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15352 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15353 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15354 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15355 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15359 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15360 shlibpath_overrides_runpath
=no
15361 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15362 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15363 hardcode_into_libs
=yes
15366 # No shared lib support for Linux oldld, aout, or coff.
15367 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15371 # This must be Linux ELF.
15376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15377 soname_spec
='${libname}${release}${shared_ext}$major'
15378 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15379 shlibpath_var
=LD_LIBRARY_PATH
15380 shlibpath_overrides_runpath
=no
15381 # This implies no fast_install, which is unacceptable.
15382 # Some rework will be needed to allow for fast_install
15383 # before this can be enabled.
15384 hardcode_into_libs
=yes
15386 # find out which ABI we are using
15388 case "$host_cpu" in
15389 x86_64
*|s390x
*|powerpc64
*)
15390 echo '#line 15390 "configure"' > conftest.
$ac_ext
15391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15392 (eval $ac_compile) 2>&5
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); }; then
15396 case `/usr/bin/file conftest.$ac_objext` in
15399 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15407 # Append ld.so.conf contents to the search path
15408 if test -f /etc
/ld.so.conf
; then
15409 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
15410 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15413 # We used to test for /lib/ld.so.1 and disable shared libraries on
15414 # powerpc, because MkLinux only supported shared libraries with the
15415 # GNU dynamic linker. Since this was broken with cross compilers,
15416 # most powerpc-linux boxes support dynamic linking these days and
15417 # people can always --disable-shared, the test was removed, and we
15418 # assume the GNU/Linux dynamic linker is in use.
15419 dynamic_linker
='GNU/Linux ld.so'
15426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15427 soname_spec
='${libname}${release}${shared_ext}$major'
15428 shlibpath_var
=LD_LIBRARY_PATH
15429 shlibpath_overrides_runpath
=no
15430 hardcode_into_libs
=yes
15431 dynamic_linker
='GNU ld.so'
15438 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15440 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15441 dynamic_linker
='NetBSD (a.out) ld.so'
15443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15444 soname_spec
='${libname}${release}${shared_ext}$major'
15445 dynamic_linker
='NetBSD ld.elf_so'
15447 shlibpath_var
=LD_LIBRARY_PATH
15448 shlibpath_overrides_runpath
=yes
15449 hardcode_into_libs
=yes
15454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15455 shlibpath_var
=LD_LIBRARY_PATH
15456 shlibpath_overrides_runpath
=yes
15463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15464 soname_spec
='${libname}${release}${shared_ext}$major'
15465 shlibpath_var
=LD_LIBRARY_PATH
15466 shlibpath_overrides_runpath
=yes
15473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15474 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15475 shlibpath_var
=LD_LIBRARY_PATH
15476 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15478 openbsd2.
[89] | openbsd2.
[89].
*)
15479 shlibpath_overrides_runpath
=no
15482 shlibpath_overrides_runpath
=yes
15486 shlibpath_overrides_runpath
=yes
15491 libname_spec
='$name'
15494 library_names_spec
='$libname${shared_ext} $libname.a'
15495 dynamic_linker
='OS/2 ld.exe'
15496 shlibpath_var
=LIBPATH
15499 osf3
* | osf4
* | osf5
*)
15503 soname_spec
='${libname}${release}${shared_ext}$major'
15504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15505 shlibpath_var
=LD_LIBRARY_PATH
15506 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15507 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15512 soname_spec
='${libname}${release}${shared_ext}$major'
15513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15514 shlibpath_var
=LD_LIBRARY_PATH
15521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15522 soname_spec
='${libname}${release}${shared_ext}$major'
15523 shlibpath_var
=LD_LIBRARY_PATH
15524 shlibpath_overrides_runpath
=yes
15525 hardcode_into_libs
=yes
15526 # ldd complains unless libraries are executable
15527 postinstall_cmds
='chmod +x $lib'
15532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15533 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15534 shlibpath_var
=LD_LIBRARY_PATH
15535 shlibpath_overrides_runpath
=yes
15536 if test "$with_gnu_ld" = yes; then
15542 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15545 soname_spec
='${libname}${release}${shared_ext}$major'
15546 shlibpath_var
=LD_LIBRARY_PATH
15547 case $host_vendor in
15549 shlibpath_overrides_runpath
=no
15551 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15552 runpath_var
=LD_RUN_PATH
15560 shlibpath_overrides_runpath
=no
15561 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15567 if test -d /usr
/nec
;then
15569 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15570 soname_spec
='$libname${shared_ext}.$major'
15571 shlibpath_var
=LD_LIBRARY_PATH
15577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15578 soname_spec
='${libname}${release}${shared_ext}$major'
15579 shlibpath_var
=LD_LIBRARY_PATH
15586 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15587 echo "${ECHO_T}$dynamic_linker" >&6; }
15588 test "$dynamic_linker" = no
&& can_build_shared
=no
15590 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15591 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15592 hardcode_action_F77
=
15593 if test -n "$hardcode_libdir_flag_spec_F77" || \
15594 test -n "$runpath_var F77" || \
15595 test "X$hardcode_automatic_F77"="Xyes" ; then
15597 # We can hardcode non-existant directories.
15598 if test "$hardcode_direct_F77" != no
&&
15599 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15600 # have to relink, otherwise we might link with an installed library
15601 # when we should be linking with a yet-to-be-installed one
15602 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15603 test "$hardcode_minus_L_F77" != no
; then
15604 # Linking always hardcodes the temporary library directory.
15605 hardcode_action_F77
=relink
15607 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15608 hardcode_action_F77
=immediate
15611 # We cannot hardcode anything, or else we can only hardcode existing
15613 hardcode_action_F77
=unsupported
15615 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15616 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15618 if test "$hardcode_action_F77" = relink
; then
15619 # Fast installation is not supported
15620 enable_fast_install
=no
15621 elif test "$shlibpath_overrides_runpath" = yes ||
15622 test "$enable_shared" = no
; then
15623 # Fast installation is not necessary
15624 enable_fast_install
=needless
15629 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15630 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15631 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
15632 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
15633 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
15634 { echo "$as_me:$LINENO: result: yes" >&5
15635 echo "${ECHO_T}yes" >&6; }
15637 # FIXME - insert some real tests, host_os isn't really good enough
15640 if test -n "$STRIP" ; then
15641 striplib
="$STRIP -x"
15642 { echo "$as_me:$LINENO: result: yes" >&5
15643 echo "${ECHO_T}yes" >&6; }
15645 { echo "$as_me:$LINENO: result: no" >&5
15646 echo "${ECHO_T}no" >&6; }
15650 { echo "$as_me:$LINENO: result: no" >&5
15651 echo "${ECHO_T}no" >&6; }
15658 # The else clause should only fire when bootstrapping the
15659 # libtool distribution, otherwise you forgot to ship ltmain.sh
15660 # with your package, and you will get complaints that there are
15661 # no rules to generate ltmain.sh.
15662 if test -f "$ltmain"; then
15663 # See if we are running on zsh, and set the options which allow our commands through
15664 # without removal of \ escapes.
15665 if test -n "${ZSH_VERSION+set}" ; then
15666 setopt NO_GLOB_SUBST
15668 # Now quote all the things that may contain metacharacters while being
15669 # careful not to overquote the AC_SUBSTed values. We take copies of the
15670 # variables and quote the copies for generation of the libtool script.
15671 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15673 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15674 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15675 deplibs_check_method reload_flag reload_cmds need_locks \
15676 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15677 lt_cv_sys_global_symbol_to_c_name_address \
15678 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15679 old_postinstall_cmds old_postuninstall_cmds \
15683 lt_prog_compiler_wl_F77 \
15684 lt_prog_compiler_pic_F77 \
15685 lt_prog_compiler_static_F77 \
15686 lt_prog_compiler_no_builtin_flag_F77 \
15687 export_dynamic_flag_spec_F77 \
15688 thread_safe_flag_spec_F77 \
15689 whole_archive_flag_spec_F77 \
15690 enable_shared_with_static_runtimes_F77 \
15691 old_archive_cmds_F77 \
15692 old_archive_from_new_cmds_F77 \
15693 predep_objects_F77 \
15694 postdep_objects_F77 \
15697 compiler_lib_search_path_F77 \
15699 archive_expsym_cmds_F77 \
15700 postinstall_cmds_F77 \
15701 postuninstall_cmds_F77 \
15702 old_archive_from_expsyms_cmds_F77 \
15703 allow_undefined_flag_F77 \
15704 no_undefined_flag_F77 \
15705 export_symbols_cmds_F77 \
15706 hardcode_libdir_flag_spec_F77 \
15707 hardcode_libdir_flag_spec_ld_F77 \
15708 hardcode_libdir_separator_F77 \
15709 hardcode_automatic_F77 \
15711 module_expsym_cmds_F77 \
15712 lt_cv_prog_compiler_c_o_F77 \
15713 exclude_expsyms_F77 \
15714 include_expsyms_F77
; do
15717 old_archive_cmds_F77 | \
15718 old_archive_from_new_cmds_F77 | \
15719 archive_cmds_F77 | \
15720 archive_expsym_cmds_F77 | \
15721 module_cmds_F77 | \
15722 module_expsym_cmds_F77 | \
15723 old_archive_from_expsyms_cmds_F77 | \
15724 export_symbols_cmds_F77 | \
15725 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15726 postinstall_cmds | postuninstall_cmds | \
15727 old_postinstall_cmds | old_postuninstall_cmds | \
15728 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15729 # Double-quote double-evaled strings.
15730 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15733 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15739 *'\$0 --fallback-echo"')
15740 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15746 cat <<__EOF__ >> "$cfgfile"
15747 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15749 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15751 # Shell to use when invoking shell scripts.
15754 # Whether or not to build shared libraries.
15755 build_libtool_libs=$enable_shared
15757 # Whether or not to build static libraries.
15758 build_old_libs=$enable_static
15760 # Whether or not to add -lc for building shared libraries.
15761 build_libtool_need_lc=$archive_cmds_need_lc_F77
15763 # Whether or not to disallow shared libs when runtime libs are static
15764 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15766 # Whether or not to optimize for fast installation.
15767 fast_install=$enable_fast_install
15770 host_alias=$host_alias
15773 # An echo program that does not interpret backslashes.
15778 AR_FLAGS=$lt_AR_FLAGS
15783 # A language-specific compiler.
15784 CC=$lt_compiler_F77
15786 # Is the compiler the GNU C compiler?
15792 # The linker used to build libraries.
15795 # Whether we need hard or soft links.
15798 # A BSD-compatible nm program.
15801 # A symbol stripping program
15804 # Used to examine libraries when file_magic_cmd begins "file"
15805 MAGIC_CMD=$MAGIC_CMD
15807 # Used on cygwin: DLL creation program.
15810 # Used on cygwin: object dumper.
15813 # Used on cygwin: assembler.
15816 # The name of the directory that contains temporary libtool files.
15819 # How to create reloadable object files.
15820 reload_flag=$lt_reload_flag
15821 reload_cmds=$lt_reload_cmds
15823 # How to pass a linker flag through the compiler.
15824 wl=$lt_lt_prog_compiler_wl_F77
15826 # Object file suffix (normally "o").
15827 objext="$ac_objext"
15829 # Old archive suffix (normally "a").
15832 # Shared library suffix (normally ".so").
15833 shrext_cmds='$shrext_cmds'
15835 # Executable file suffix (normally "").
15838 # Additional compiler flags for building library objects.
15839 pic_flag=$lt_lt_prog_compiler_pic_F77
15842 # What is the maximum length of a command?
15843 max_cmd_len=$lt_cv_sys_max_cmd_len
15845 # Does compiler simultaneously support -c and -o options?
15846 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15848 # Must we lock files when doing compilation ?
15849 need_locks=$lt_need_locks
15851 # Do we need the lib prefix for modules?
15852 need_lib_prefix=$need_lib_prefix
15854 # Do we need a version for libraries?
15855 need_version=$need_version
15857 # Whether dlopen is supported.
15858 dlopen_support=$enable_dlopen
15860 # Whether dlopen of programs is supported.
15861 dlopen_self=$enable_dlopen_self
15863 # Whether dlopen of statically linked programs is supported.
15864 dlopen_self_static=$enable_dlopen_self_static
15866 # Compiler flag to prevent dynamic linking.
15867 link_static_flag=$lt_lt_prog_compiler_static_F77
15869 # Compiler flag to turn off builtin functions.
15870 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15872 # Compiler flag to allow reflexive dlopens.
15873 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15875 # Compiler flag to generate shared objects directly from archives.
15876 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15878 # Compiler flag to generate thread-safe objects.
15879 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15881 # Library versioning type.
15882 version_type=$version_type
15884 # Format of library name prefix.
15885 libname_spec=$lt_libname_spec
15887 # List of archive names. First name is the real one, the rest are links.
15888 # The last name is the one that the linker finds with -lNAME.
15889 library_names_spec=$lt_library_names_spec
15891 # The coded name of the library, if different from the real name.
15892 soname_spec=$lt_soname_spec
15894 # Commands used to build and install an old-style archive.
15896 old_archive_cmds=$lt_old_archive_cmds_F77
15897 old_postinstall_cmds=$lt_old_postinstall_cmds
15898 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15900 # Create an old-style archive from a shared archive.
15901 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15903 # Create a temporary old-style archive to link instead of a shared archive.
15904 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15906 # Commands used to build and install a shared archive.
15907 archive_cmds=$lt_archive_cmds_F77
15908 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15909 postinstall_cmds=$lt_postinstall_cmds
15910 postuninstall_cmds=$lt_postuninstall_cmds
15912 # Commands used to build a loadable module (assumed same as above if empty)
15913 module_cmds=$lt_module_cmds_F77
15914 module_expsym_cmds=$lt_module_expsym_cmds_F77
15916 # Commands to strip libraries.
15917 old_striplib=$lt_old_striplib
15918 striplib=$lt_striplib
15920 # Dependencies to place before the objects being linked to create a
15922 predep_objects=$lt_predep_objects_F77
15924 # Dependencies to place after the objects being linked to create a
15926 postdep_objects=$lt_postdep_objects_F77
15928 # Dependencies to place before the objects being linked to create a
15930 predeps=$lt_predeps_F77
15932 # Dependencies to place after the objects being linked to create a
15934 postdeps=$lt_postdeps_F77
15936 # The library search path used internally by the compiler when linking
15937 # a shared library.
15938 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15940 # Method to check whether dependent libraries are shared objects.
15941 deplibs_check_method=$lt_deplibs_check_method
15943 # Command to use when deplibs_check_method == file_magic.
15944 file_magic_cmd=$lt_file_magic_cmd
15946 # Flag that allows shared libraries with undefined symbols to be built.
15947 allow_undefined_flag=$lt_allow_undefined_flag_F77
15949 # Flag that forces no undefined symbols.
15950 no_undefined_flag=$lt_no_undefined_flag_F77
15952 # Commands used to finish a libtool library installation in a directory.
15953 finish_cmds=$lt_finish_cmds
15955 # Same as above, but a single script fragment to be evaled but not shown.
15956 finish_eval=$lt_finish_eval
15958 # Take the output of nm and produce a listing of raw symbols and C names.
15959 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15961 # Transform the output of nm in a proper C declaration
15962 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15964 # Transform the output of nm in a C name address pair
15965 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15967 # This is the shared library runtime path variable.
15968 runpath_var=$runpath_var
15970 # This is the shared library path variable.
15971 shlibpath_var=$shlibpath_var
15973 # Is shlibpath searched before the hard-coded library search path?
15974 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15976 # How to hardcode a shared library path into an executable.
15977 hardcode_action=$hardcode_action_F77
15979 # Whether we should hardcode library paths into libraries.
15980 hardcode_into_libs=$hardcode_into_libs
15982 # Flag to hardcode \$libdir into a binary during linking.
15983 # This must work even if \$libdir does not exist.
15984 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15986 # If ld is used when linking, flag to hardcode \$libdir into
15987 # a binary during linking. This must work even if \$libdir does
15989 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15991 # Whether we need a single -rpath flag with a separated argument.
15992 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15994 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15995 # resulting binary.
15996 hardcode_direct=$hardcode_direct_F77
15998 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15999 # resulting binary.
16000 hardcode_minus_L=$hardcode_minus_L_F77
16002 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16003 # the resulting binary.
16004 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16006 # Set to yes if building a shared library automatically hardcodes DIR into the library
16007 # and all subsequent libraries and executables linked against it.
16008 hardcode_automatic=$hardcode_automatic_F77
16010 # Variables whose values should be saved in libtool wrapper scripts and
16011 # restored at relink time.
16012 variables_saved_for_relink="$variables_saved_for_relink"
16014 # Whether libtool must link a program against all its dependency libraries.
16015 link_all_deplibs=$link_all_deplibs_F77
16017 # Compile-time system search path for libraries
16018 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16020 # Run-time system search path for libraries
16021 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16023 # Fix the shell variable \$srcfile for the compiler.
16024 fix_srcfile_path="$fix_srcfile_path_F77"
16026 # Set to yes if exported symbols are required.
16027 always_export_symbols=$always_export_symbols_F77
16029 # The commands to list exported symbols.
16030 export_symbols_cmds=$lt_export_symbols_cmds_F77
16032 # The commands to extract the exported symbol list from a shared archive.
16033 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16035 # Symbols that should not be listed in the preloaded symbols.
16036 exclude_expsyms=$lt_exclude_expsyms_F77
16038 # Symbols that must always be exported.
16039 include_expsyms=$lt_include_expsyms_F77
16041 # ### END LIBTOOL TAG CONFIG: $tagname
16047 # If there is no Makefile yet, we rely on a make rule to execute
16048 # `config.status --recheck' to rerun these tests and create the
16049 # libtool script then.
16050 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16051 if test -f "$ltmain_in"; then
16052 test -f Makefile
&& make "$ltmain"
16058 ac_cpp
='$CXXCPP $CPPFLAGS'
16059 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16060 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16061 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16071 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16074 # Source file extension for Java test sources.
16077 # Object file extension for compiled Java test sources.
16081 # Code to be used in simple compile tests
16082 lt_simple_compile_test_code
="class foo {}\n"
16084 # Code to be used in simple link tests
16085 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
16087 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16089 # If no C compiler was specified, use CC.
16092 # Allow CC to be a program name with arguments.
16096 # Allow CC to be a program name with arguments.
16102 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16103 archive_cmds_need_lc_GCJ
=no
16106 lt_prog_compiler_no_builtin_flag_GCJ
=
16108 if test "$GCC" = yes; then
16109 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16112 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16113 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16114 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16115 echo $ECHO_N "(cached) $ECHO_C" >&6
16117 lt_cv_prog_compiler_rtti_exceptions
=no
16118 ac_outfile
=conftest.
$ac_objext
16119 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16120 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16121 # Insert the option either (1) after the last *FLAGS variable, or
16122 # (2) before a word containing "conftest.", or (3) at the end.
16123 # Note that $ac_compile itself does not contain backslashes and begins
16124 # with a dollar sign (not a hyphen), so the echo should work correctly.
16125 # The option is referenced via a variable to avoid confusing sed.
16126 lt_compile
=`echo "$ac_compile" | $SED \
16127 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16128 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16129 -e 's:$: $lt_compiler_flag:'`
16130 (eval echo "\"\$as_me:16130: $lt_compile\"" >&5)
16131 (eval "$lt_compile" 2>conftest.err
)
16133 cat conftest.err
>&5
16134 echo "$as_me:16134: \$? = $ac_status" >&5
16135 if (exit $ac_status) && test -s "$ac_outfile"; then
16136 # The compiler can only warn and ignore the option if not recognized
16137 # So say no if there are warnings
16138 if test ! -s conftest.err
; then
16139 lt_cv_prog_compiler_rtti_exceptions
=yes
16145 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16146 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16148 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16149 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16156 lt_prog_compiler_wl_GCJ
=
16157 lt_prog_compiler_pic_GCJ
=
16158 lt_prog_compiler_static_GCJ
=
16160 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16161 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16163 if test "$GCC" = yes; then
16164 lt_prog_compiler_wl_GCJ
='-Wl,'
16165 lt_prog_compiler_static_GCJ
='-static'
16169 # All AIX code is PIC.
16170 if test "$host_cpu" = ia64
; then
16171 # AIX 5 now supports IA64 processor
16172 lt_prog_compiler_static_GCJ
='-Bstatic'
16177 # FIXME: we need at least 68020 code to build shared libraries, but
16178 # adding the `-m68020' flag to GCC prevents building anything better,
16180 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16183 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16184 # PIC is the default for these OSes.
16187 mingw
* | pw32
* | os2
*)
16188 # This hack is so that the source file can tell whether it is being
16189 # built for inclusion in a dll (and should export symbols for example).
16190 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16193 darwin
* | rhapsody
*)
16194 # PIC is the default on this platform
16195 # Common symbols not allowed in MH_DYLIB files
16196 lt_prog_compiler_pic_GCJ
='-fno-common'
16200 # Just because we use GCC doesn't mean we suddenly get shared libraries
16201 # on systems that don't support them.
16202 lt_prog_compiler_can_build_shared_GCJ
=no
16207 if test -d /usr
/nec
; then
16208 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16213 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16214 # not for PA HP-UX.
16215 case "$host_cpu" in
16220 lt_prog_compiler_pic_GCJ
='-fPIC'
16226 lt_prog_compiler_pic_GCJ
='-fPIC'
16230 # PORTME Check for flag to pass linker flags through the system compiler.
16233 lt_prog_compiler_wl_GCJ
='-Wl,'
16234 if test "$host_cpu" = ia64
; then
16235 # AIX 5 now supports IA64 processor
16236 lt_prog_compiler_static_GCJ
='-Bstatic'
16238 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16242 mingw
* | pw32
* | os2
*)
16243 # This hack is so that the source file can tell whether it is being
16244 # built for inclusion in a dll (and should export symbols for example).
16245 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16248 hpux9
* | hpux10
* | hpux11
*)
16249 lt_prog_compiler_wl_GCJ
='-Wl,'
16250 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16251 # not for PA HP-UX.
16252 case "$host_cpu" in
16257 lt_prog_compiler_pic_GCJ
='+Z'
16260 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16261 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16264 irix5
* | irix6
* | nonstopux
*)
16265 lt_prog_compiler_wl_GCJ
='-Wl,'
16266 # PIC (with -KPIC) is the default.
16267 lt_prog_compiler_static_GCJ
='-non_shared'
16271 lt_prog_compiler_pic_GCJ
='-KPIC'
16272 lt_prog_compiler_static_GCJ
='-Bstatic'
16278 lt_prog_compiler_wl_GCJ
='-Wl,'
16279 lt_prog_compiler_pic_GCJ
='-KPIC'
16280 lt_prog_compiler_static_GCJ
='-static'
16283 lt_prog_compiler_wl_GCJ
='-Wl,'
16284 # All Alpha code is PIC.
16285 lt_prog_compiler_static_GCJ
='-non_shared'
16290 osf3
* | osf4
* | osf5
*)
16291 lt_prog_compiler_wl_GCJ
='-Wl,'
16292 # All OSF/1 code is PIC.
16293 lt_prog_compiler_static_GCJ
='-non_shared'
16297 lt_prog_compiler_pic_GCJ
='-Kpic'
16298 lt_prog_compiler_static_GCJ
='-dn'
16302 lt_prog_compiler_wl_GCJ
='-Wl,'
16303 lt_prog_compiler_pic_GCJ
='-KPIC'
16304 lt_prog_compiler_static_GCJ
='-Bstatic'
16308 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16309 lt_prog_compiler_pic_GCJ
='-PIC'
16310 lt_prog_compiler_static_GCJ
='-Bstatic'
16313 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16314 lt_prog_compiler_wl_GCJ
='-Wl,'
16315 lt_prog_compiler_pic_GCJ
='-KPIC'
16316 lt_prog_compiler_static_GCJ
='-Bstatic'
16320 if test -d /usr
/nec
;then
16321 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16322 lt_prog_compiler_static_GCJ
='-Bstatic'
16327 lt_prog_compiler_pic_GCJ
='-pic'
16328 lt_prog_compiler_static_GCJ
='-Bstatic'
16332 lt_prog_compiler_can_build_shared_GCJ
=no
16337 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16338 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16341 # Check to make sure the PIC flag actually works.
16343 if test -n "$lt_prog_compiler_pic_GCJ"; then
16345 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16346 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16347 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16348 echo $ECHO_N "(cached) $ECHO_C" >&6
16350 lt_prog_compiler_pic_works_GCJ
=no
16351 ac_outfile
=conftest.
$ac_objext
16352 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16353 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16354 # Insert the option either (1) after the last *FLAGS variable, or
16355 # (2) before a word containing "conftest.", or (3) at the end.
16356 # Note that $ac_compile itself does not contain backslashes and begins
16357 # with a dollar sign (not a hyphen), so the echo should work correctly.
16358 # The option is referenced via a variable to avoid confusing sed.
16359 lt_compile
=`echo "$ac_compile" | $SED \
16360 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16361 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16362 -e 's:$: $lt_compiler_flag:'`
16363 (eval echo "\"\$as_me:16363: $lt_compile\"" >&5)
16364 (eval "$lt_compile" 2>conftest.err
)
16366 cat conftest.err
>&5
16367 echo "$as_me:16367: \$? = $ac_status" >&5
16368 if (exit $ac_status) && test -s "$ac_outfile"; then
16369 # The compiler can only warn and ignore the option if not recognized
16370 # So say no if there are warnings
16371 if test ! -s conftest.err
; then
16372 lt_prog_compiler_pic_works_GCJ
=yes
16378 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16379 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16381 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16382 case $lt_prog_compiler_pic_GCJ in
16384 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16387 lt_prog_compiler_pic_GCJ
=
16388 lt_prog_compiler_can_build_shared_GCJ
=no
16393 # For platforms which do not support PIC, -DPIC is meaningless:
16395 lt_prog_compiler_pic_GCJ
=
16398 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16402 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16403 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16404 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16405 echo $ECHO_N "(cached) $ECHO_C" >&6
16407 lt_cv_prog_compiler_c_o_GCJ
=no
16408 $rm -r conftest
2>/dev
/null
16412 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16414 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16415 # Insert the option either (1) after the last *FLAGS variable, or
16416 # (2) before a word containing "conftest.", or (3) at the end.
16417 # Note that $ac_compile itself does not contain backslashes and begins
16418 # with a dollar sign (not a hyphen), so the echo should work correctly.
16419 lt_compile
=`echo "$ac_compile" | $SED \
16420 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16421 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16422 -e 's:$: $lt_compiler_flag:'`
16423 (eval echo "\"\$as_me:16423: $lt_compile\"" >&5)
16424 (eval "$lt_compile" 2>out
/conftest.err
)
16426 cat out
/conftest.err
>&5
16427 echo "$as_me:16427: \$? = $ac_status" >&5
16428 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16430 # The compiler can only warn and ignore the option if not recognized
16431 # So say no if there are warnings
16432 if test ! -s out
/conftest.err
; then
16433 lt_cv_prog_compiler_c_o_GCJ
=yes
16438 # SGI C++ compiler will create directory out/ii_files/ for
16439 # template instantiation
16440 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16441 $rm out
/* && rmdir out
16447 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16448 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16451 hard_links
="nottested"
16452 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16453 # do not overwrite the value of need_locks provided by the user
16454 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16455 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16458 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16460 ln conftest.a conftest.b
2>&5 || hard_links
=no
16461 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16462 { echo "$as_me:$LINENO: result: $hard_links" >&5
16463 echo "${ECHO_T}$hard_links" >&6; }
16464 if test "$hard_links" = no
; then
16465 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16466 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16473 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16474 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16477 allow_undefined_flag_GCJ
=
16478 enable_shared_with_static_runtimes_GCJ
=no
16480 archive_expsym_cmds_GCJ
=
16481 old_archive_From_new_cmds_GCJ
=
16482 old_archive_from_expsyms_cmds_GCJ
=
16483 export_dynamic_flag_spec_GCJ
=
16484 whole_archive_flag_spec_GCJ
=
16485 thread_safe_flag_spec_GCJ
=
16486 hardcode_libdir_flag_spec_GCJ
=
16487 hardcode_libdir_flag_spec_ld_GCJ
=
16488 hardcode_libdir_separator_GCJ
=
16489 hardcode_direct_GCJ
=no
16490 hardcode_minus_L_GCJ
=no
16491 hardcode_shlibpath_var_GCJ
=unsupported
16492 link_all_deplibs_GCJ
=unknown
16493 hardcode_automatic_GCJ
=no
16495 module_expsym_cmds_GCJ
=
16496 always_export_symbols_GCJ
=no
16497 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16498 # include_expsyms should be a list of space-separated symbols to be *always*
16499 # included in the symbol list
16500 include_expsyms_GCJ
=
16501 # exclude_expsyms can be an extended regexp of symbols to exclude
16502 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16503 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16504 # as well as any symbol that contains `d'.
16505 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16506 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16507 # platforms (ab)use it in PIC code, but their linkers get confused if
16508 # the symbol is explicitly referenced. Since portable code cannot
16509 # rely on this symbol name, it's probably fine to never include it in
16510 # preloaded symbol tables.
16511 extract_expsyms_cmds
=
16514 cygwin
* | mingw
* | pw32
*)
16515 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16516 # When not using gcc, we currently assume that we are using
16517 # Microsoft Visual C++.
16518 if test "$GCC" != yes; then
16528 if test "$with_gnu_ld" = yes; then
16529 # If archive_cmds runs LD, not CC, wlarc should be empty
16532 # See if GNU ld supports shared libraries.
16534 aix3
* | aix4
* | aix5
*)
16535 # On AIX/PPC, the GNU linker is very broken
16536 if test "$host_cpu" != ia64
; then
16540 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16541 *** to be unable to reliably create shared libraries on AIX.
16542 *** Therefore, libtool is disabling shared libraries support. If you
16543 *** really care for shared libraries, you may want to modify your PATH
16544 *** so that a non-GNU linker is found, and then restart.
16551 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)'
16552 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16553 hardcode_minus_L_GCJ
=yes
16555 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16556 # that the semantics of dynamic libraries on AmigaOS, at least up
16557 # to version 4, is to share data among multiple programs linked
16558 # with the same dynamic library. Since this doesn't match the
16559 # behavior of shared libraries on other platforms, we can't use
16565 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16566 allow_undefined_flag_GCJ
=unsupported
16567 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16568 # support --undefined. This deserves some investigation. FIXME
16569 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16575 cygwin
* | mingw
* | pw32
*)
16576 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16577 # as there is no search path for DLLs.
16578 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16579 allow_undefined_flag_GCJ
=unsupported
16580 always_export_symbols_GCJ
=no
16581 enable_shared_with_static_runtimes_GCJ
=yes
16582 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16584 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16585 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16586 # If the export-symbols file already is a .def file (1st line
16587 # is EXPORTS), use it as is; otherwise, prepend...
16588 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16589 cp $export_symbols $output_objdir/$soname.def;
16591 echo EXPORTS > $output_objdir/$soname.def;
16592 cat $export_symbols >> $output_objdir/$soname.def;
16594 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16601 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16602 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16605 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16606 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16611 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16615 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16616 *** create shared libraries on Solaris systems. Therefore, libtool
16617 *** is disabling shared libraries support. We urge you to upgrade GNU
16618 *** binutils to release 2.9.1 or newer. Another option is to modify
16619 *** your PATH or compiler configuration so that the native linker is
16620 *** used, and then restart.
16623 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16624 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16625 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16632 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16634 hardcode_direct_GCJ
=yes
16635 hardcode_shlibpath_var_GCJ
=no
16639 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16640 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16641 archive_cmds_GCJ
="$tmp_archive_cmds"
16642 supports_anon_versioning
=no
16643 case `$LD -v 2>/dev/null` in
16644 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16645 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16646 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16647 *\
2.11.
*) ;; # other 2.11 versions
16648 *) supports_anon_versioning
=yes ;;
16650 if test $supports_anon_versioning = yes; then
16651 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16652 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16653 $echo "local: *; };" >> $output_objdir/$libname.ver~
16654 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16656 archive_expsym_cmds_GCJ
="$tmp_archive_cmds"
16664 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16665 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16666 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16673 if test "$ld_shlibs_GCJ" = yes; then
16674 runpath_var
=LD_RUN_PATH
16675 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16676 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16677 # ancient GNU ld didn't support --whole-archive et. al.
16678 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16679 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16681 whole_archive_flag_spec_GCJ
=
16685 # PORTME fill in a description of your system's linker (not GNU ld)
16688 allow_undefined_flag_GCJ
=unsupported
16689 always_export_symbols_GCJ
=yes
16690 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'
16691 # Note: this linker hardcodes the directories in LIBPATH if there
16692 # are no directories specified by -L.
16693 hardcode_minus_L_GCJ
=yes
16694 if test "$GCC" = yes && test -z "$link_static_flag"; then
16695 # Neither direct hardcoding nor static linking is supported with a
16697 hardcode_direct_GCJ
=unsupported
16702 if test "$host_cpu" = ia64
; then
16703 # On IA64, the linker does run time linking by default, so we don't
16704 # have to do anything special.
16705 aix_use_runtimelinking
=no
16706 exp_sym_flag
='-Bexport'
16709 # If we're using GNU nm, then we don't want the "-C" option.
16710 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16711 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16712 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'
16714 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'
16716 aix_use_runtimelinking
=no
16718 # Test if we are trying to use run time linking or normal
16719 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16720 # need to do runtime linking.
16721 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16722 for ld_flag
in $LDFLAGS; do
16723 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16724 aix_use_runtimelinking
=yes
16730 exp_sym_flag
='-bexport'
16731 no_entry_flag
='-bnoentry'
16734 # When large executables or shared objects are built, AIX ld can
16735 # have problems creating the table of contents. If linking a library
16736 # or program results in "error TOC overflow" add -mminimal-toc to
16737 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16738 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16740 archive_cmds_GCJ
=''
16741 hardcode_direct_GCJ
=yes
16742 hardcode_libdir_separator_GCJ
=':'
16743 link_all_deplibs_GCJ
=yes
16745 if test "$GCC" = yes; then
16746 case $host_os in aix4.012|aix4.012.
*)
16747 # We only want to do this on AIX 4.2 and lower, the check
16748 # below for broken collect2 doesn't work under 4.3+
16749 collect2name
=`${CC} -print-prog-name=collect2`
16750 if test -f "$collect2name" && \
16751 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16753 # We have reworked collect2
16754 hardcode_direct_GCJ
=yes
16756 # We have old collect2
16757 hardcode_direct_GCJ
=unsupported
16758 # It fails to find uninstalled libraries when the uninstalled
16759 # path is not listed in the libpath. Setting hardcode_minus_L
16760 # to unsupported forces relinking
16761 hardcode_minus_L_GCJ
=yes
16762 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16763 hardcode_libdir_separator_GCJ
=
16766 shared_flag
='-shared'
16769 if test "$host_cpu" = ia64
; then
16770 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16771 # chokes on -Wl,-G. The following line is correct:
16774 if test "$aix_use_runtimelinking" = yes; then
16775 shared_flag
='${wl}-G'
16777 shared_flag
='${wl}-bM:SRE'
16782 # It seems that -bexpall does not export symbols beginning with
16783 # underscore (_), so it is better to generate a list of symbols to export.
16784 always_export_symbols_GCJ
=yes
16785 if test "$aix_use_runtimelinking" = yes; then
16786 # Warning - without using the other runtime loading flags (-brtl),
16787 # -berok will link without error, but may produce a broken library.
16788 allow_undefined_flag_GCJ
='-berok'
16789 # Determine the default libpath from the value encoded in an empty executable.
16790 cat >conftest.
$ac_ext <<_ACEOF
16793 cat confdefs.h
>>conftest.
$ac_ext
16794 cat >>conftest.
$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16805 rm -f conftest.
$ac_objext conftest
$ac_exeext
16806 if { (ac_try
="$ac_link"
16807 case "(($ac_try" in
16808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16809 *) ac_try_echo=$ac_try;;
16811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16812 (eval "$ac_link") 2>conftest.er1
16814 grep -v '^ *+' conftest.er1 >conftest.err
16816 cat conftest.err >&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); } && {
16819 test -z "$ac_cxx_werror_flag" ||
16820 test ! -s conftest.err
16821 } && test -s conftest$ac_exeext &&
16822 $as_test_x conftest$ac_exeext; then
16824 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16826 # Check for a 64-bit object if we didn't find anything.
16827 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; }
16830 echo "$as_me: failed program was:" >&5
16831 sed 's/^/| /' conftest.$ac_ext >&5
16836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16837 conftest$ac_exeext conftest.$ac_ext
16838 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16840 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16841 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"
16843 if test "$host_cpu" = ia64
; then
16844 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16845 allow_undefined_flag_GCJ
="-z nodefs"
16846 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"
16848 # Determine the default libpath from the value encoded in an empty executable.
16849 cat >conftest.$ac_ext <<_ACEOF
16852 cat confdefs.h >>conftest.$ac_ext
16853 cat >>conftest.$ac_ext <<_ACEOF
16854 /* end confdefs.h. */
16864 rm -f conftest.$ac_objext conftest$ac_exeext
16865 if { (ac_try="$ac_link"
16866 case "(($ac_try" in
16867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16868 *) ac_try_echo=$ac_try;;
16870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16871 (eval "$ac_link") 2>conftest.er1
16873 grep -v '^
*+' conftest.er1 >conftest.err
16875 cat conftest.err >&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); } && {
16878 test -z "$ac_cxx_werror_flag" ||
16879 test ! -s conftest.err
16880 } && test -s conftest$ac_exeext &&
16881 $as_test_x conftest$ac_exeext; then
16883 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
16885 # Check for a 64-bit object if we didn't
find anything.
16886 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; }
16889 echo "$as_me: failed program was:" >&5
16890 sed 's/^/| /' conftest.
$ac_ext >&5
16895 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16896 conftest
$ac_exeext conftest.
$ac_ext
16897 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16899 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16900 # Warning - without using the other run time loading flags,
16901 # -berok will link without error, but may produce a broken library.
16902 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16903 allow_undefined_flag_GCJ
=' ${wl}-berok'
16904 # -bexpall does not export symbols beginning with underscore (_)
16905 always_export_symbols_GCJ
=yes
16906 # Exported symbols can be pulled into shared objects from archives
16907 whole_archive_flag_spec_GCJ
=' '
16908 archive_cmds_need_lc_GCJ
=yes
16909 # This is similar to how AIX traditionally builds it's shared libraries.
16910 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'
16916 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)'
16917 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16918 hardcode_minus_L_GCJ
=yes
16919 # see comment about different semantics on the GNU ld section
16924 export_dynamic_flag_spec_GCJ
=-rdynamic
16927 cygwin
* | mingw
* | pw32
*)
16928 # When not using gcc, we currently assume that we are using
16929 # Microsoft Visual C++.
16930 # hardcode_libdir_flag_spec is actually meaningless, as there is
16931 # no search path for DLLs.
16932 hardcode_libdir_flag_spec_GCJ
=' '
16933 allow_undefined_flag_GCJ
=unsupported
16934 # Tell ltmain to make .lib files, not .a files.
16936 # Tell ltmain to make .dll files, not .so files.
16938 # FIXME: Setting linknames here is a bad hack.
16939 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16940 # The linker will automatically build a .lib file if we build a DLL.
16941 old_archive_From_new_cmds_GCJ
='true'
16942 # FIXME: Should let the user specify the lib program.
16943 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16944 fix_srcfile_path
='`cygpath -w "$srcfile"`'
16945 enable_shared_with_static_runtimes_GCJ
=yes
16948 darwin
* | rhapsody
*)
16949 if test "$GXX" = yes ; then
16950 archive_cmds_need_lc_GCJ
=no
16952 rhapsody
* | darwin1.
[012])
16953 allow_undefined_flag_GCJ
='-undefined suppress'
16956 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16957 allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
16959 case ${MACOSX_DEPLOYMENT_TARGET} in
16961 allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
16964 allow_undefined_flag_GCJ
='-undefined dynamic_lookup'
16970 lt_int_apple_cc_single_mod
=no
16971 output_verbose_link_cmd
='echo'
16972 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
16973 lt_int_apple_cc_single_mod
=yes
16975 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16976 archive_cmds_GCJ
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16978 archive_cmds_GCJ
='$CC -r ${wl}-bind_at_load -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'
16980 module_cmds_GCJ
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16981 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16982 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16983 archive_expsym_cmds_GCJ
='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}'
16985 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
16987 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}'
16988 hardcode_direct_GCJ
=no
16989 hardcode_automatic_GCJ
=yes
16990 hardcode_shlibpath_var_GCJ
=unsupported
16991 whole_archive_flag_spec_GCJ
='-all_load $convenience'
16992 link_all_deplibs_GCJ
=yes
16999 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17000 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17001 hardcode_shlibpath_var_GCJ
=no
17008 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17009 # support. Future versions do this automatically, but an explicit c++rt0.o
17010 # does not break anything, and helps significantly (at the cost of a little
17013 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17014 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17015 hardcode_direct_GCJ
=yes
17016 hardcode_shlibpath_var_GCJ
=no
17019 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17021 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17022 hardcode_direct_GCJ
=yes
17023 hardcode_minus_L_GCJ
=yes
17024 hardcode_shlibpath_var_GCJ
=no
17027 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17028 freebsd
* | kfreebsd
*-gnu)
17029 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17030 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17031 hardcode_direct_GCJ
=yes
17032 hardcode_shlibpath_var_GCJ
=no
17036 if test "$GCC" = yes; then
17037 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'
17039 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'
17041 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17042 hardcode_libdir_separator_GCJ
=:
17043 hardcode_direct_GCJ
=yes
17045 # hardcode_minus_L: Not really in the search PATH,
17046 # but as the default location of the library.
17047 hardcode_minus_L_GCJ
=yes
17048 export_dynamic_flag_spec_GCJ
='${wl}-E'
17052 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17053 case "$host_cpu" in
17055 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17058 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17062 case "$host_cpu" in
17064 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17067 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17071 if test "$with_gnu_ld" = no
; then
17072 case "$host_cpu" in
17074 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17075 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17076 hardcode_libdir_separator_GCJ
=:
17077 hardcode_direct_GCJ
=no
17078 hardcode_shlibpath_var_GCJ
=no
17081 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17082 hardcode_direct_GCJ
=no
17083 hardcode_shlibpath_var_GCJ
=no
17085 # hardcode_minus_L: Not really in the search PATH,
17086 # but as the default location of the library.
17087 hardcode_minus_L_GCJ
=yes
17090 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17091 hardcode_libdir_separator_GCJ
=:
17092 hardcode_direct_GCJ
=yes
17093 export_dynamic_flag_spec_GCJ
='${wl}-E'
17095 # hardcode_minus_L: Not really in the search PATH,
17096 # but as the default location of the library.
17097 hardcode_minus_L_GCJ
=yes
17103 irix5
* | irix6
* | nonstopux
*)
17104 if test "$GCC" = yes; then
17105 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'
17107 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'
17108 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17110 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17111 hardcode_libdir_separator_GCJ
=:
17112 link_all_deplibs_GCJ
=yes
17116 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17117 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17119 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17121 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17122 hardcode_direct_GCJ
=yes
17123 hardcode_shlibpath_var_GCJ
=no
17127 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17128 hardcode_direct_GCJ
=yes
17129 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17130 hardcode_libdir_separator_GCJ
=:
17131 hardcode_shlibpath_var_GCJ
=no
17135 hardcode_direct_GCJ
=yes
17136 hardcode_shlibpath_var_GCJ
=no
17137 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17138 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17139 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17140 export_dynamic_flag_spec_GCJ
='${wl}-E'
17143 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17144 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17145 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17148 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17149 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17156 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17157 hardcode_minus_L_GCJ
=yes
17158 allow_undefined_flag_GCJ
=unsupported
17159 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'
17160 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17164 if test "$GCC" = yes; then
17165 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17166 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'
17168 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17169 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'
17171 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17172 hardcode_libdir_separator_GCJ
=:
17175 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17176 if test "$GCC" = yes; then
17177 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17178 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'
17179 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17181 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17182 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'
17183 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~
17184 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
17186 # Both c and cxx compiler support -rpath directly
17187 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17189 hardcode_libdir_separator_GCJ
=:
17193 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17194 hardcode_shlibpath_var_GCJ
=no
17195 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17196 runpath_var
=LD_RUN_PATH
17197 hardcode_runpath_var
=yes
17201 no_undefined_flag_GCJ
=' -z text'
17202 if test "$GCC" = yes; then
17203 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17204 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17205 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17207 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17208 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17209 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17211 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17212 hardcode_shlibpath_var_GCJ
=no
17214 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17215 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17216 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17218 link_all_deplibs_GCJ
=yes
17222 if test "x$host_vendor" = xsequent
; then
17223 # Use $CC to link under sequent, because it throws in some extra .o
17224 # files that make .init and .fini sections work.
17225 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17227 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17229 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17230 hardcode_direct_GCJ
=yes
17231 hardcode_minus_L_GCJ
=yes
17232 hardcode_shlibpath_var_GCJ
=no
17236 case $host_vendor in
17238 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17239 hardcode_direct_GCJ
=yes # is this really true???
17242 ## LD is ld it makes a PLAMLIB
17243 ## CC just makes a GrossModule.
17244 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17245 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17246 hardcode_direct_GCJ
=no
17249 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17250 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17253 runpath_var
='LD_RUN_PATH'
17254 hardcode_shlibpath_var_GCJ
=no
17258 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17259 hardcode_shlibpath_var_GCJ
=no
17260 export_dynamic_flag_spec_GCJ
='-Bexport'
17264 if test -d /usr
/nec
; then
17265 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17266 hardcode_shlibpath_var_GCJ
=no
17267 runpath_var
=LD_RUN_PATH
17268 hardcode_runpath_var
=yes
17274 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17275 hardcode_direct_GCJ
=yes
17276 hardcode_minus_L_GCJ
=no
17277 hardcode_shlibpath_var_GCJ
=no
17278 hardcode_runpath_var
=yes
17279 runpath_var
=LD_RUN_PATH
17282 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
17283 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
17284 if test "$GCC" = yes; then
17285 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17287 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17289 runpath_var
='LD_RUN_PATH'
17290 hardcode_shlibpath_var_GCJ
=no
17294 no_undefined_flag_GCJ
=' -z text'
17295 # $CC -shared without GNU ld will not create a library from C++
17296 # object files and a static libstdc++, better avoid it by now
17297 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17298 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17299 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17300 hardcode_libdir_flag_spec_GCJ
=
17301 hardcode_shlibpath_var_GCJ
=no
17302 runpath_var
='LD_RUN_PATH'
17306 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17307 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17308 hardcode_shlibpath_var_GCJ
=no
17317 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17318 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17319 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17321 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17322 if test "$GCC" = yes; then
17323 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17327 # Do we need to explicitly link libc?
17329 case "x$archive_cmds_need_lc_GCJ" in
17331 # Assume -lc should be added
17332 archive_cmds_need_lc_GCJ
=yes
17334 if test "$enable_shared" = yes && test "$GCC" = yes; then
17335 case $archive_cmds_GCJ in
17337 # FIXME: we may have to deal with multi-command sequences.
17340 # Test whether the compiler implicitly links with -lc since on some
17341 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17342 # to ld, don't add -lc before -lgcc.
17343 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17344 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17346 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17349 (eval $ac_compile) 2>&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); } 2>conftest.err
; then
17355 libobjs
=conftest.
$ac_objext
17357 wl
=$lt_prog_compiler_wl_GCJ
17363 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17364 allow_undefined_flag_GCJ
=
17365 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17366 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); }
17371 archive_cmds_need_lc_GCJ
=no
17373 archive_cmds_need_lc_GCJ
=yes
17375 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17377 cat conftest.err
1>&5
17380 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17381 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17388 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17389 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17390 library_names_spec
=
17391 libname_spec
='lib$name'
17395 postuninstall_cmds
=
17399 shlibpath_overrides_runpath
=unknown
17401 dynamic_linker
="$host_os ld.so"
17402 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17403 if test "$GCC" = yes; then
17404 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17405 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17406 # if the path contains ";" then we assume it to be the separator
17407 # otherwise default to the standard path separator (i.e. ":") - it is
17408 # assumed that no part of a normal pathname contains ";" but that should
17409 # okay in the real world where ";" in dirpaths is itself problematic.
17410 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17412 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17415 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17417 need_lib_prefix
=unknown
17418 hardcode_into_libs
=no
17420 # when you set need_version to no, make sure it does not cause -set_version
17421 # flags to be left without arguments
17422 need_version
=unknown
17427 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17428 shlibpath_var
=LIBPATH
17430 # AIX 3 has no versioning support, so we append a major version to the name.
17431 soname_spec
='${libname}${release}${shared_ext}$major'
17438 hardcode_into_libs
=yes
17439 if test "$host_cpu" = ia64
; then
17440 # AIX 5 supports IA64
17441 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17442 shlibpath_var
=LD_LIBRARY_PATH
17444 # With GCC up to 2.95.x, collect2 would create an import file
17445 # for dependence libraries. The import file would start with
17446 # the line `#! .'. This would cause the generated library to
17447 # depend on `.', always an invalid library. This was fixed in
17448 # development snapshots of GCC prior to 3.0.
17450 aix4 | aix4.
[01] | aix4.
[01].
*)
17451 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17453 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17456 can_build_shared
=no
17460 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17461 # soname into executable. Probably we can add versioning support to
17462 # collect2, so additional links can be useful in future.
17463 if test "$aix_use_runtimelinking" = yes; then
17464 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17465 # instead of lib<name>.a to let people know that these are not
17466 # typical AIX shared libraries.
17467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17469 # We preserve .a as extension for shared libraries through AIX4.2
17470 # and later when we are not doing run time linking.
17471 library_names_spec
='${libname}${release}.a $libname.a'
17472 soname_spec
='${libname}${release}${shared_ext}$major'
17474 shlibpath_var
=LIBPATH
17479 library_names_spec
='$libname.ixlibrary $libname.a'
17480 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17481 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'
17485 library_names_spec
='${libname}${shared_ext}'
17486 dynamic_linker
="$host_os ld.so"
17487 shlibpath_var
=LIBRARY_PATH
17493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17494 soname_spec
='${libname}${release}${shared_ext}$major'
17495 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17496 shlibpath_var
=LD_LIBRARY_PATH
17497 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17498 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17499 # the default ld.so.conf also contains /usr/contrib/lib and
17500 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17501 # libtool to hard-code these into programs
17504 cygwin
* | mingw
* | pw32
*)
17505 version_type
=windows
17510 case $GCC,$host_os in
17511 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17512 library_names_spec
='$libname.dll.a'
17513 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17514 postinstall_cmds
='base_file=`basename \${file}`~
17515 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17516 dldir=$destdir/`dirname \$dlpath`~
17517 test -d \$dldir || mkdir -p \$dldir~
17518 $install_prog $dir/$dlname \$dldir/$dlname'
17519 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17520 dlpath=$dir/\$dldll~
17522 shlibpath_overrides_runpath
=yes
17526 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17527 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17528 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17531 # MinGW DLLs use traditional 'lib' prefix
17532 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17533 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17534 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17535 # It is most probably a Windows format PATH printed by
17536 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17537 # path with ; separators, and with drive letters. We can handle the
17538 # drive letters (cygwin fileutils understands them), so leave them,
17539 # especially as we might pass files found there to a mingw objdump,
17540 # which wouldn't understand a cygwinified path. Ahh.
17541 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17543 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17547 # pw32 DLLs use 'pw' prefix rather than 'lib'
17548 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17554 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17557 dynamic_linker
='Win32 ld.exe'
17558 # FIXME: first we should search . and the directory the executable is in
17562 darwin
* | rhapsody
*)
17563 dynamic_linker
="$host_os dyld"
17564 version_type
=darwin
17567 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17568 soname_spec
='${libname}${release}${major}$shared_ext'
17569 shlibpath_overrides_runpath
=yes
17570 shlibpath_var
=DYLD_LIBRARY_PATH
17571 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
17572 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17573 if test "$GCC" = yes; then
17574 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"`
17576 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17578 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17586 soname_spec
='${libname}${release}${shared_ext}$major'
17587 shlibpath_var
=LD_LIBRARY_PATH
17598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17599 soname_spec
='${libname}${release}${shared_ext}$major'
17600 shlibpath_var
=LD_LIBRARY_PATH
17601 shlibpath_overrides_runpath
=no
17602 hardcode_into_libs
=yes
17603 dynamic_linker
='GNU ld.so'
17607 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17608 version_type
=freebsd-
$objformat
17609 case $version_type in
17611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17616 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17620 shlibpath_var
=LD_LIBRARY_PATH
17623 shlibpath_overrides_runpath
=yes
17625 freebsd3.01
* | freebsdelf3.01
*)
17626 shlibpath_overrides_runpath
=yes
17627 hardcode_into_libs
=yes
17630 shlibpath_overrides_runpath
=no
17631 hardcode_into_libs
=yes
17640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17641 soname_spec
='${libname}${release}${shared_ext}$major'
17642 shlibpath_var
=LD_LIBRARY_PATH
17643 hardcode_into_libs
=yes
17646 hpux9
* | hpux10
* | hpux11
*)
17647 # Give a soname corresponding to the major version so that dld.sl refuses to
17648 # link against other versions.
17652 case "$host_cpu" in
17655 hardcode_into_libs
=yes
17656 dynamic_linker
="$host_os dld.so"
17657 shlibpath_var
=LD_LIBRARY_PATH
17658 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17660 soname_spec
='${libname}${release}${shared_ext}$major'
17661 if test "X$HPUX_IA64_MODE" = X32
; then
17662 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17664 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17666 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17670 hardcode_into_libs
=yes
17671 dynamic_linker
="$host_os dld.sl"
17672 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17673 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17675 soname_spec
='${libname}${release}${shared_ext}$major'
17676 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17677 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17681 dynamic_linker
="$host_os dld.sl"
17682 shlibpath_var
=SHLIB_PATH
17683 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17685 soname_spec
='${libname}${release}${shared_ext}$major'
17688 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17689 postinstall_cmds
='chmod 555 $lib'
17692 irix5
* | irix6
* | nonstopux
*)
17694 nonstopux
*) version_type
=nonstopux
;;
17696 if test "$lt_cv_prog_gnu_ld" = yes; then
17704 soname_spec
='${libname}${release}${shared_ext}$major'
17705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17707 irix5
* | nonstopux
*)
17708 libsuff
= shlibsuff
=
17711 case $LD in # libtool.m4 will add one of these switches to LD
17712 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17713 libsuff
= shlibsuff
= libmagic
=32-bit;;
17714 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17715 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17716 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17717 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17718 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17722 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17723 shlibpath_overrides_runpath
=no
17724 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17725 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17726 hardcode_into_libs
=yes
17729 # No shared lib support for Linux oldld, aout, or coff.
17730 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17734 # This must be Linux ELF.
17739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17740 soname_spec
='${libname}${release}${shared_ext}$major'
17741 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17742 shlibpath_var
=LD_LIBRARY_PATH
17743 shlibpath_overrides_runpath
=no
17744 # This implies no fast_install, which is unacceptable.
17745 # Some rework will be needed to allow for fast_install
17746 # before this can be enabled.
17747 hardcode_into_libs
=yes
17749 # find out which ABI we are using
17751 case "$host_cpu" in
17752 x86_64
*|s390x
*|powerpc64
*)
17753 echo '#line 17753 "configure"' > conftest.
$ac_ext
17754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17755 (eval $ac_compile) 2>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); }; then
17759 case `/usr/bin/file conftest.$ac_objext` in
17762 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17770 # Append ld.so.conf contents to the search path
17771 if test -f /etc
/ld.so.conf
; then
17772 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
17773 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17776 # We used to test for /lib/ld.so.1 and disable shared libraries on
17777 # powerpc, because MkLinux only supported shared libraries with the
17778 # GNU dynamic linker. Since this was broken with cross compilers,
17779 # most powerpc-linux boxes support dynamic linking these days and
17780 # people can always --disable-shared, the test was removed, and we
17781 # assume the GNU/Linux dynamic linker is in use.
17782 dynamic_linker
='GNU/Linux ld.so'
17789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17790 soname_spec
='${libname}${release}${shared_ext}$major'
17791 shlibpath_var
=LD_LIBRARY_PATH
17792 shlibpath_overrides_runpath
=no
17793 hardcode_into_libs
=yes
17794 dynamic_linker
='GNU ld.so'
17801 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17803 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17804 dynamic_linker
='NetBSD (a.out) ld.so'
17806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17807 soname_spec
='${libname}${release}${shared_ext}$major'
17808 dynamic_linker
='NetBSD ld.elf_so'
17810 shlibpath_var
=LD_LIBRARY_PATH
17811 shlibpath_overrides_runpath
=yes
17812 hardcode_into_libs
=yes
17817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17818 shlibpath_var
=LD_LIBRARY_PATH
17819 shlibpath_overrides_runpath
=yes
17826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17827 soname_spec
='${libname}${release}${shared_ext}$major'
17828 shlibpath_var
=LD_LIBRARY_PATH
17829 shlibpath_overrides_runpath
=yes
17836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17837 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17838 shlibpath_var
=LD_LIBRARY_PATH
17839 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17841 openbsd2.
[89] | openbsd2.
[89].
*)
17842 shlibpath_overrides_runpath
=no
17845 shlibpath_overrides_runpath
=yes
17849 shlibpath_overrides_runpath
=yes
17854 libname_spec
='$name'
17857 library_names_spec
='$libname${shared_ext} $libname.a'
17858 dynamic_linker
='OS/2 ld.exe'
17859 shlibpath_var
=LIBPATH
17862 osf3
* | osf4
* | osf5
*)
17866 soname_spec
='${libname}${release}${shared_ext}$major'
17867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17868 shlibpath_var
=LD_LIBRARY_PATH
17869 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17870 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17875 soname_spec
='${libname}${release}${shared_ext}$major'
17876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17877 shlibpath_var
=LD_LIBRARY_PATH
17884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17885 soname_spec
='${libname}${release}${shared_ext}$major'
17886 shlibpath_var
=LD_LIBRARY_PATH
17887 shlibpath_overrides_runpath
=yes
17888 hardcode_into_libs
=yes
17889 # ldd complains unless libraries are executable
17890 postinstall_cmds
='chmod +x $lib'
17895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17896 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17897 shlibpath_var
=LD_LIBRARY_PATH
17898 shlibpath_overrides_runpath
=yes
17899 if test "$with_gnu_ld" = yes; then
17905 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17908 soname_spec
='${libname}${release}${shared_ext}$major'
17909 shlibpath_var
=LD_LIBRARY_PATH
17910 case $host_vendor in
17912 shlibpath_overrides_runpath
=no
17914 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17915 runpath_var
=LD_RUN_PATH
17923 shlibpath_overrides_runpath
=no
17924 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17930 if test -d /usr
/nec
;then
17932 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17933 soname_spec
='$libname${shared_ext}.$major'
17934 shlibpath_var
=LD_LIBRARY_PATH
17940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17941 soname_spec
='${libname}${release}${shared_ext}$major'
17942 shlibpath_var
=LD_LIBRARY_PATH
17949 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17950 echo "${ECHO_T}$dynamic_linker" >&6; }
17951 test "$dynamic_linker" = no
&& can_build_shared
=no
17953 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17954 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17955 hardcode_action_GCJ
=
17956 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17957 test -n "$runpath_var GCJ" || \
17958 test "X$hardcode_automatic_GCJ"="Xyes" ; then
17960 # We can hardcode non-existant directories.
17961 if test "$hardcode_direct_GCJ" != no
&&
17962 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17963 # have to relink, otherwise we might link with an installed library
17964 # when we should be linking with a yet-to-be-installed one
17965 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17966 test "$hardcode_minus_L_GCJ" != no
; then
17967 # Linking always hardcodes the temporary library directory.
17968 hardcode_action_GCJ
=relink
17970 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17971 hardcode_action_GCJ
=immediate
17974 # We cannot hardcode anything, or else we can only hardcode existing
17976 hardcode_action_GCJ
=unsupported
17978 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17979 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17981 if test "$hardcode_action_GCJ" = relink
; then
17982 # Fast installation is not supported
17983 enable_fast_install
=no
17984 elif test "$shlibpath_overrides_runpath" = yes ||
17985 test "$enable_shared" = no
; then
17986 # Fast installation is not necessary
17987 enable_fast_install
=needless
17992 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17993 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
17994 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17995 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17996 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17997 { echo "$as_me:$LINENO: result: yes" >&5
17998 echo "${ECHO_T}yes" >&6; }
18000 # FIXME - insert some real tests, host_os isn't really good enough
18003 if test -n "$STRIP" ; then
18004 striplib
="$STRIP -x"
18005 { echo "$as_me:$LINENO: result: yes" >&5
18006 echo "${ECHO_T}yes" >&6; }
18008 { echo "$as_me:$LINENO: result: no" >&5
18009 echo "${ECHO_T}no" >&6; }
18013 { echo "$as_me:$LINENO: result: no" >&5
18014 echo "${ECHO_T}no" >&6; }
18019 if test "x$enable_dlopen" != xyes
; then
18020 enable_dlopen
=unknown
18021 enable_dlopen_self
=unknown
18022 enable_dlopen_self_static
=unknown
18029 lt_cv_dlopen
="load_add_on"
18031 lt_cv_dlopen_self
=yes
18035 lt_cv_dlopen
="LoadLibrary"
18040 lt_cv_dlopen
="dlopen"
18045 # if libdl is installed we need to link against it
18046 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18047 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18048 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18049 echo $ECHO_N "(cached) $ECHO_C" >&6
18051 ac_check_lib_save_LIBS
=$LIBS
18053 cat >conftest.
$ac_ext <<_ACEOF
18056 cat confdefs.h
>>conftest.
$ac_ext
18057 cat >>conftest.
$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18060 /* Override any GCC internal prototype to avoid an error.
18061 Use char because int might match the return type of a GCC
18062 builtin and then its argument prototype would still apply. */
18075 rm -f conftest.
$ac_objext conftest
$ac_exeext
18076 if { (ac_try
="$ac_link"
18077 case "(($ac_try" in
18078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18079 *) ac_try_echo=$ac_try;;
18081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18082 (eval "$ac_link") 2>conftest.er1
18084 grep -v '^ *+' conftest.er1 >conftest.err
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } && {
18089 test -z "$ac_cxx_werror_flag" ||
18090 test ! -s conftest.err
18091 } && test -s conftest$ac_exeext &&
18092 $as_test_x conftest$ac_exeext; then
18093 ac_cv_lib_dl_dlopen=yes
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.$ac_ext >&5
18098 ac_cv_lib_dl_dlopen=no
18101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18102 conftest$ac_exeext conftest.$ac_ext
18103 LIBS=$ac_check_lib_save_LIBS
18105 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18106 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18107 if test $ac_cv_lib_dl_dlopen = yes; then
18108 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18111 lt_cv_dlopen="dyld"
18113 lt_cv_dlopen_self=yes
18120 { echo "$as_me:$LINENO: checking for shl_load" >&5
18121 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
18122 if test "${ac_cv_func_shl_load+set}" = set; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 cat >conftest.$ac_ext <<_ACEOF
18128 cat confdefs.h >>conftest.$ac_ext
18129 cat >>conftest.$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18131 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18133 #define shl_load innocuous_shl_load
18135 /* System header to define __stub macros and hopefully few prototypes,
18136 which can conflict with char shl_load (); below.
18137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18138 <limits.h> exists even on freestanding compilers. */
18141 # include <limits.h>
18143 # include <assert.h>
18148 /* Override any GCC internal prototype to avoid an error.
18149 Use char because int might match the return type of a GCC
18150 builtin and then its argument prototype would still apply. */
18155 /* The GNU C library defines this for functions which it implements
18156 to always fail with ENOSYS. Some functions are actually named
18157 something starting with __ and the normal name is an alias. */
18158 #if defined __stub_shl_load || defined __stub___shl_load
18165 return shl_load ();
18170 rm -f conftest.$ac_objext conftest$ac_exeext
18171 if { (ac_try="$ac_link"
18172 case "(($ac_try" in
18173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18174 *) ac_try_echo
=$ac_try;;
18176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18177 (eval "$ac_link") 2>conftest.er1
18179 grep -v '^ *+' conftest.er1
>conftest.err
18181 cat conftest.err
>&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); } && {
18184 test -z "$ac_cxx_werror_flag" ||
18185 test ! -s conftest.err
18186 } && test -s conftest
$ac_exeext &&
18187 $as_test_x conftest
$ac_exeext; then
18188 ac_cv_func_shl_load
=yes
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.
$ac_ext >&5
18193 ac_cv_func_shl_load
=no
18196 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18197 conftest
$ac_exeext conftest.
$ac_ext
18199 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18200 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
18201 if test $ac_cv_func_shl_load = yes; then
18202 lt_cv_dlopen
="shl_load"
18204 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18205 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
18206 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18207 echo $ECHO_N "(cached) $ECHO_C" >&6
18209 ac_check_lib_save_LIBS
=$LIBS
18211 cat >conftest.
$ac_ext <<_ACEOF
18214 cat confdefs.h
>>conftest.
$ac_ext
18215 cat >>conftest.
$ac_ext <<_ACEOF
18216 /* end confdefs.h. */
18218 /* Override any GCC internal prototype to avoid an error.
18219 Use char because int might match the return type of a GCC
18220 builtin and then its argument prototype would still apply. */
18228 return shl_load ();
18233 rm -f conftest.
$ac_objext conftest
$ac_exeext
18234 if { (ac_try
="$ac_link"
18235 case "(($ac_try" in
18236 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18237 *) ac_try_echo=$ac_try;;
18239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18240 (eval "$ac_link") 2>conftest.er1
18242 grep -v '^ *+' conftest.er1 >conftest.err
18244 cat conftest.err >&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } && {
18247 test -z "$ac_cxx_werror_flag" ||
18248 test ! -s conftest.err
18249 } && test -s conftest$ac_exeext &&
18250 $as_test_x conftest$ac_exeext; then
18251 ac_cv_lib_dld_shl_load=yes
18253 echo "$as_me: failed program was:" >&5
18254 sed 's/^/| /' conftest.$ac_ext >&5
18256 ac_cv_lib_dld_shl_load=no
18259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18260 conftest$ac_exeext conftest.$ac_ext
18261 LIBS=$ac_check_lib_save_LIBS
18263 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18264 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
18265 if test $ac_cv_lib_dld_shl_load = yes; then
18266 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18268 { echo "$as_me:$LINENO: checking for dlopen" >&5
18269 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
18270 if test "${ac_cv_func_dlopen+set}" = set; then
18271 echo $ECHO_N "(cached) $ECHO_C" >&6
18273 cat >conftest.$ac_ext <<_ACEOF
18276 cat confdefs.h >>conftest.$ac_ext
18277 cat >>conftest.$ac_ext <<_ACEOF
18278 /* end confdefs.h. */
18279 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18281 #define dlopen innocuous_dlopen
18283 /* System header to define __stub macros and hopefully few prototypes,
18284 which can conflict with char dlopen (); below.
18285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18286 <limits.h> exists even on freestanding compilers. */
18289 # include <limits.h>
18291 # include <assert.h>
18296 /* Override any GCC internal prototype to avoid an error.
18297 Use char because int might match the return type of a GCC
18298 builtin and then its argument prototype would still apply. */
18303 /* The GNU C library defines this for functions which it implements
18304 to always fail with ENOSYS. Some functions are actually named
18305 something starting with __ and the normal name is an alias. */
18306 #if defined __stub_dlopen || defined __stub___dlopen
18318 rm -f conftest.$ac_objext conftest$ac_exeext
18319 if { (ac_try="$ac_link"
18320 case "(($ac_try" in
18321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18322 *) ac_try_echo
=$ac_try;;
18324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18325 (eval "$ac_link") 2>conftest.er1
18327 grep -v '^ *+' conftest.er1
>conftest.err
18329 cat conftest.err
>&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } && {
18332 test -z "$ac_cxx_werror_flag" ||
18333 test ! -s conftest.err
18334 } && test -s conftest
$ac_exeext &&
18335 $as_test_x conftest
$ac_exeext; then
18336 ac_cv_func_dlopen
=yes
18338 echo "$as_me: failed program was:" >&5
18339 sed 's/^/| /' conftest.
$ac_ext >&5
18341 ac_cv_func_dlopen
=no
18344 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18345 conftest
$ac_exeext conftest.
$ac_ext
18347 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18348 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
18349 if test $ac_cv_func_dlopen = yes; then
18350 lt_cv_dlopen
="dlopen"
18352 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18353 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18354 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18355 echo $ECHO_N "(cached) $ECHO_C" >&6
18357 ac_check_lib_save_LIBS
=$LIBS
18359 cat >conftest.
$ac_ext <<_ACEOF
18362 cat confdefs.h
>>conftest.
$ac_ext
18363 cat >>conftest.
$ac_ext <<_ACEOF
18364 /* end confdefs.h. */
18366 /* Override any GCC internal prototype to avoid an error.
18367 Use char because int might match the return type of a GCC
18368 builtin and then its argument prototype would still apply. */
18381 rm -f conftest.
$ac_objext conftest
$ac_exeext
18382 if { (ac_try
="$ac_link"
18383 case "(($ac_try" in
18384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18385 *) ac_try_echo=$ac_try;;
18387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18388 (eval "$ac_link") 2>conftest.er1
18390 grep -v '^ *+' conftest.er1 >conftest.err
18392 cat conftest.err >&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } && {
18395 test -z "$ac_cxx_werror_flag" ||
18396 test ! -s conftest.err
18397 } && test -s conftest$ac_exeext &&
18398 $as_test_x conftest$ac_exeext; then
18399 ac_cv_lib_dl_dlopen=yes
18401 echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.$ac_ext >&5
18404 ac_cv_lib_dl_dlopen=no
18407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18408 conftest$ac_exeext conftest.$ac_ext
18409 LIBS=$ac_check_lib_save_LIBS
18411 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18412 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18413 if test $ac_cv_lib_dl_dlopen = yes; then
18414 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18416 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18417 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
18418 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18419 echo $ECHO_N "(cached) $ECHO_C" >&6
18421 ac_check_lib_save_LIBS=$LIBS
18422 LIBS="-lsvld $LIBS"
18423 cat >conftest.$ac_ext <<_ACEOF
18426 cat confdefs.h >>conftest.$ac_ext
18427 cat >>conftest.$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18430 /* Override any GCC internal prototype to avoid an error.
18431 Use char because int might match the return type of a GCC
18432 builtin and then its argument prototype would still apply. */
18445 rm -f conftest.$ac_objext conftest$ac_exeext
18446 if { (ac_try="$ac_link"
18447 case "(($ac_try" in
18448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18449 *) ac_try_echo
=$ac_try;;
18451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18452 (eval "$ac_link") 2>conftest.er1
18454 grep -v '^ *+' conftest.er1
>conftest.err
18456 cat conftest.err
>&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); } && {
18459 test -z "$ac_cxx_werror_flag" ||
18460 test ! -s conftest.err
18461 } && test -s conftest
$ac_exeext &&
18462 $as_test_x conftest
$ac_exeext; then
18463 ac_cv_lib_svld_dlopen
=yes
18465 echo "$as_me: failed program was:" >&5
18466 sed 's/^/| /' conftest.
$ac_ext >&5
18468 ac_cv_lib_svld_dlopen
=no
18471 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18472 conftest
$ac_exeext conftest.
$ac_ext
18473 LIBS
=$ac_check_lib_save_LIBS
18475 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18476 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
18477 if test $ac_cv_lib_svld_dlopen = yes; then
18478 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
18480 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18481 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
18482 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18483 echo $ECHO_N "(cached) $ECHO_C" >&6
18485 ac_check_lib_save_LIBS
=$LIBS
18487 cat >conftest.
$ac_ext <<_ACEOF
18490 cat confdefs.h
>>conftest.
$ac_ext
18491 cat >>conftest.
$ac_ext <<_ACEOF
18492 /* end confdefs.h. */
18494 /* Override any GCC internal prototype to avoid an error.
18495 Use char because int might match the return type of a GCC
18496 builtin and then its argument prototype would still apply. */
18504 return dld_link ();
18509 rm -f conftest.
$ac_objext conftest
$ac_exeext
18510 if { (ac_try
="$ac_link"
18511 case "(($ac_try" in
18512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18513 *) ac_try_echo=$ac_try;;
18515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18516 (eval "$ac_link") 2>conftest.er1
18518 grep -v '^ *+' conftest.er1 >conftest.err
18520 cat conftest.err >&5
18521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522 (exit $ac_status); } && {
18523 test -z "$ac_cxx_werror_flag" ||
18524 test ! -s conftest.err
18525 } && test -s conftest$ac_exeext &&
18526 $as_test_x conftest$ac_exeext; then
18527 ac_cv_lib_dld_dld_link=yes
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18532 ac_cv_lib_dld_dld_link=no
18535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18536 conftest$ac_exeext conftest.$ac_ext
18537 LIBS=$ac_check_lib_save_LIBS
18539 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18540 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
18541 if test $ac_cv_lib_dld_dld_link = yes; then
18542 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18563 if test "x$lt_cv_dlopen" != xno; then
18569 case $lt_cv_dlopen in
18571 save_CPPFLAGS="$CPPFLAGS"
18572 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18574 save_LDFLAGS="$LDFLAGS"
18575 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18578 LIBS="$lt_cv_dlopen_libs $LIBS"
18580 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18581 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
18582 if test "${lt_cv_dlopen_self+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 if test "$cross_compiling" = yes; then :
18586 lt_cv_dlopen_self=cross
18588 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18589 lt_status=$lt_dlunknown
18590 cat > conftest.$ac_ext <<EOF
18591 #line 18591 "configure"
18592 #include "confdefs.h"
18601 # define LT_DLGLOBAL RTLD_GLOBAL
18604 # define LT_DLGLOBAL DL_GLOBAL
18606 # define LT_DLGLOBAL 0
18610 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18611 find out it does not work in some platform. */
18612 #ifndef LT_DLLAZY_OR_NOW
18614 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18617 # define LT_DLLAZY_OR_NOW DL_LAZY
18620 # define LT_DLLAZY_OR_NOW RTLD_NOW
18623 # define LT_DLLAZY_OR_NOW DL_NOW
18625 # define LT_DLLAZY_OR_NOW 0
18633 extern "C" void exit (int);
18636 void fnord() { int i=42;}
18639 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18640 int status = $lt_dlunknown;
18644 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18645 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18646 /* dlclose (self); */
18652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18653 (eval $ac_link) 2>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18657 (./conftest; exit; ) 2>/dev/null
18659 case x$lt_status in
18660 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18661 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18662 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18665 # compilation failed
18666 lt_cv_dlopen_self=no
18673 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18674 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
18676 if test "x$lt_cv_dlopen_self" = xyes; then
18677 LDFLAGS="$LDFLAGS $link_static_flag"
18678 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18679 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
18680 if test "${lt_cv_dlopen_self_static+set}" = set; then
18681 echo $ECHO_N "(cached) $ECHO_C" >&6
18683 if test "$cross_compiling" = yes; then :
18684 lt_cv_dlopen_self_static=cross
18686 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18687 lt_status=$lt_dlunknown
18688 cat > conftest.$ac_ext <<EOF
18689 #line 18689 "configure"
18690 #include "confdefs.h"
18699 # define LT_DLGLOBAL RTLD_GLOBAL
18702 # define LT_DLGLOBAL DL_GLOBAL
18704 # define LT_DLGLOBAL 0
18708 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18709 find out it does not work in some platform. */
18710 #ifndef LT_DLLAZY_OR_NOW
18712 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18715 # define LT_DLLAZY_OR_NOW DL_LAZY
18718 # define LT_DLLAZY_OR_NOW RTLD_NOW
18721 # define LT_DLLAZY_OR_NOW DL_NOW
18723 # define LT_DLLAZY_OR_NOW 0
18731 extern "C" void exit (int);
18734 void fnord() { int i=42;}
18737 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18738 int status = $lt_dlunknown;
18742 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18743 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18744 /* dlclose (self); */
18750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18751 (eval $ac_link) 2>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18755 (./conftest; exit; ) 2>/dev/null
18757 case x$lt_status in
18758 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18759 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18760 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18763 # compilation failed
18764 lt_cv_dlopen_self_static=no
18771 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18772 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
18775 CPPFLAGS="$save_CPPFLAGS"
18776 LDFLAGS="$save_LDFLAGS"
18781 case $lt_cv_dlopen_self in
18782 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18783 *) enable_dlopen_self=unknown ;;
18786 case $lt_cv_dlopen_self_static in
18787 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18788 *) enable_dlopen_self_static=unknown ;;
18793 # The else clause should only fire when bootstrapping the
18794 # libtool distribution, otherwise you forgot to ship ltmain.sh
18795 # with your package, and you will get complaints that there are
18796 # no rules to generate ltmain.sh.
18797 if test -f "$ltmain"; then
18798 # See if we are running on zsh, and set the options which allow our commands through
18799 # without removal of \ escapes.
18800 if test -n "${ZSH_VERSION+set}" ; then
18801 setopt NO_GLOB_SUBST
18803 # Now quote all the things that may contain metacharacters while being
18804 # careful not to overquote the AC_SUBSTed values. We take copies of the
18805 # variables and quote the copies for generation of the libtool script.
18806 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18808 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18809 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18810 deplibs_check_method reload_flag reload_cmds need_locks \
18811 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18812 lt_cv_sys_global_symbol_to_c_name_address \
18813 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18814 old_postinstall_cmds old_postuninstall_cmds \
18818 lt_prog_compiler_wl_GCJ \
18819 lt_prog_compiler_pic_GCJ \
18820 lt_prog_compiler_static_GCJ \
18821 lt_prog_compiler_no_builtin_flag_GCJ \
18822 export_dynamic_flag_spec_GCJ \
18823 thread_safe_flag_spec_GCJ \
18824 whole_archive_flag_spec_GCJ \
18825 enable_shared_with_static_runtimes_GCJ \
18826 old_archive_cmds_GCJ \
18827 old_archive_from_new_cmds_GCJ \
18828 predep_objects_GCJ \
18829 postdep_objects_GCJ \
18832 compiler_lib_search_path_GCJ \
18834 archive_expsym_cmds_GCJ \
18835 postinstall_cmds_GCJ \
18836 postuninstall_cmds_GCJ \
18837 old_archive_from_expsyms_cmds_GCJ \
18838 allow_undefined_flag_GCJ \
18839 no_undefined_flag_GCJ \
18840 export_symbols_cmds_GCJ \
18841 hardcode_libdir_flag_spec_GCJ \
18842 hardcode_libdir_flag_spec_ld_GCJ \
18843 hardcode_libdir_separator_GCJ \
18844 hardcode_automatic_GCJ \
18846 module_expsym_cmds_GCJ \
18847 lt_cv_prog_compiler_c_o_GCJ \
18848 exclude_expsyms_GCJ \
18849 include_expsyms_GCJ; do
18852 old_archive_cmds_GCJ | \
18853 old_archive_from_new_cmds_GCJ | \
18854 archive_cmds_GCJ | \
18855 archive_expsym_cmds_GCJ | \
18856 module_cmds_GCJ | \
18857 module_expsym_cmds_GCJ | \
18858 old_archive_from_expsyms_cmds_GCJ | \
18859 export_symbols_cmds_GCJ | \
18860 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18861 postinstall_cmds | postuninstall_cmds | \
18862 old_postinstall_cmds | old_postuninstall_cmds | \
18863 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18864 # Double-quote double-evaled strings.
18865 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
18868 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
18874 *'\$0 --fallback-echo"')
18875 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18881 cat <<__EOF__ >> "$cfgfile"
18882 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18884 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
18886 # Shell to use when invoking shell scripts.
18889 # Whether or not to build shared libraries.
18890 build_libtool_libs=$enable_shared
18892 # Whether or not to build static libraries.
18893 build_old_libs=$enable_static
18895 # Whether or not to add -lc for building shared libraries.
18896 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18898 # Whether or not to disallow shared libs when runtime libs are static
18899 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18901 # Whether or not to optimize for fast installation.
18902 fast_install=$enable_fast_install
18905 host_alias=$host_alias
18908 # An echo program that does not interpret backslashes.
18913 AR_FLAGS=$lt_AR_FLAGS
18918 # A language-specific compiler.
18919 CC=$lt_compiler_GCJ
18921 # Is the compiler the GNU C compiler?
18927 # The linker used to build libraries.
18930 # Whether we need hard or soft links.
18933 # A BSD-compatible nm program.
18936 # A symbol stripping program
18939 # Used to examine libraries when file_magic_cmd begins "file"
18940 MAGIC_CMD=$MAGIC_CMD
18942 # Used on cygwin: DLL creation program.
18945 # Used on cygwin: object dumper.
18948 # Used on cygwin: assembler.
18951 # The name of the directory that contains temporary libtool files.
18954 # How to create reloadable object files.
18955 reload_flag=$lt_reload_flag
18956 reload_cmds=$lt_reload_cmds
18958 # How to pass a linker flag through the compiler.
18959 wl=$lt_lt_prog_compiler_wl_GCJ
18961 # Object file suffix (normally "o").
18962 objext="$ac_objext"
18964 # Old archive suffix (normally "a").
18967 # Shared library suffix (normally ".so").
18968 shrext_cmds='$shrext_cmds'
18970 # Executable file suffix (normally "").
18973 # Additional compiler flags for building library objects.
18974 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18977 # What is the maximum length of a command?
18978 max_cmd_len=$lt_cv_sys_max_cmd_len
18980 # Does compiler simultaneously support -c and -o options?
18981 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18983 # Must we lock files when doing compilation ?
18984 need_locks=$lt_need_locks
18986 # Do we need the lib prefix for modules?
18987 need_lib_prefix=$need_lib_prefix
18989 # Do we need a version for libraries?
18990 need_version=$need_version
18992 # Whether dlopen is supported.
18993 dlopen_support=$enable_dlopen
18995 # Whether dlopen of programs is supported.
18996 dlopen_self=$enable_dlopen_self
18998 # Whether dlopen of statically linked programs is supported.
18999 dlopen_self_static=$enable_dlopen_self_static
19001 # Compiler flag to prevent dynamic linking.
19002 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19004 # Compiler flag to turn off builtin functions.
19005 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19007 # Compiler flag to allow reflexive dlopens.
19008 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19010 # Compiler flag to generate shared objects directly from archives.
19011 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19013 # Compiler flag to generate thread-safe objects.
19014 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19016 # Library versioning type.
19017 version_type=$version_type
19019 # Format of library name prefix.
19020 libname_spec=$lt_libname_spec
19022 # List of archive names. First name is the real one, the rest are links.
19023 # The last name is the one that the linker finds with -lNAME.
19024 library_names_spec=$lt_library_names_spec
19026 # The coded name of the library, if different from the real name.
19027 soname_spec=$lt_soname_spec
19029 # Commands used to build and install an old-style archive.
19031 old_archive_cmds=$lt_old_archive_cmds_GCJ
19032 old_postinstall_cmds=$lt_old_postinstall_cmds
19033 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19035 # Create an old-style archive from a shared archive.
19036 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19038 # Create a temporary old-style archive to link instead of a shared archive.
19039 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19041 # Commands used to build and install a shared archive.
19042 archive_cmds=$lt_archive_cmds_GCJ
19043 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19044 postinstall_cmds=$lt_postinstall_cmds
19045 postuninstall_cmds=$lt_postuninstall_cmds
19047 # Commands used to build a loadable module (assumed same as above if empty)
19048 module_cmds=$lt_module_cmds_GCJ
19049 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19051 # Commands to strip libraries.
19052 old_striplib=$lt_old_striplib
19053 striplib=$lt_striplib
19055 # Dependencies to place before the objects being linked to create a
19057 predep_objects=$lt_predep_objects_GCJ
19059 # Dependencies to place after the objects being linked to create a
19061 postdep_objects=$lt_postdep_objects_GCJ
19063 # Dependencies to place before the objects being linked to create a
19065 predeps=$lt_predeps_GCJ
19067 # Dependencies to place after the objects being linked to create a
19069 postdeps=$lt_postdeps_GCJ
19071 # The library search path used internally by the compiler when linking
19072 # a shared library.
19073 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19075 # Method to check whether dependent libraries are shared objects.
19076 deplibs_check_method=$lt_deplibs_check_method
19078 # Command to use when deplibs_check_method == file_magic.
19079 file_magic_cmd=$lt_file_magic_cmd
19081 # Flag that allows shared libraries with undefined symbols to be built.
19082 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19084 # Flag that forces no undefined symbols.
19085 no_undefined_flag=$lt_no_undefined_flag_GCJ
19087 # Commands used to finish a libtool library installation in a directory.
19088 finish_cmds=$lt_finish_cmds
19090 # Same as above, but a single script fragment to be evaled but not shown.
19091 finish_eval=$lt_finish_eval
19093 # Take the output of nm and produce a listing of raw symbols and C names.
19094 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19096 # Transform the output of nm in a proper C declaration
19097 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19099 # Transform the output of nm in a C name address pair
19100 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19102 # This is the shared library runtime path variable.
19103 runpath_var=$runpath_var
19105 # This is the shared library path variable.
19106 shlibpath_var=$shlibpath_var
19108 # Is shlibpath searched before the hard-coded library search path?
19109 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19111 # How to hardcode a shared library path into an executable.
19112 hardcode_action=$hardcode_action_GCJ
19114 # Whether we should hardcode library paths into libraries.
19115 hardcode_into_libs=$hardcode_into_libs
19117 # Flag to hardcode \$libdir into a binary during linking.
19118 # This must work even if \$libdir does not exist.
19119 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19121 # If ld is used when linking, flag to hardcode \$libdir into
19122 # a binary during linking. This must work even if \$libdir does
19124 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19126 # Whether we need a single -rpath flag with a separated argument.
19127 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19129 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19130 # resulting binary.
19131 hardcode_direct=$hardcode_direct_GCJ
19133 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19134 # resulting binary.
19135 hardcode_minus_L=$hardcode_minus_L_GCJ
19137 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19138 # the resulting binary.
19139 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19141 # Set to yes if building a shared library automatically hardcodes DIR into the library
19142 # and all subsequent libraries and executables linked against it.
19143 hardcode_automatic=$hardcode_automatic_GCJ
19145 # Variables whose values should be saved in libtool wrapper scripts and
19146 # restored at relink time.
19147 variables_saved_for_relink="$variables_saved_for_relink"
19149 # Whether libtool must link a program against all its dependency libraries.
19150 link_all_deplibs=$link_all_deplibs_GCJ
19152 # Compile-time system search path for libraries
19153 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19155 # Run-time system search path for libraries
19156 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19158 # Fix the shell variable \$srcfile for the compiler.
19159 fix_srcfile_path="$fix_srcfile_path_GCJ"
19161 # Set to yes if exported symbols are required.
19162 always_export_symbols=$always_export_symbols_GCJ
19164 # The commands to list exported symbols.
19165 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19167 # The commands to extract the exported symbol list from a shared archive.
19168 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19170 # Symbols that should not be listed in the preloaded symbols.
19171 exclude_expsyms=$lt_exclude_expsyms_GCJ
19173 # Symbols that must always be exported.
19174 include_expsyms=$lt_include_expsyms_GCJ
19176 # ### END LIBTOOL TAG CONFIG: $tagname
19182 # If there is no Makefile yet, we rely on a make rule to execute
19183 # `config.status
--recheck' to rerun these tests and create the
19184 # libtool script then.
19185 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
19186 if test -f "$ltmain_in"; then
19187 test -f Makefile && make "$ltmain"
19193 ac_cpp='$CXXCPP $CPPFLAGS'
19194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19195 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19208 # Source file extension for RC test sources.
19211 # Object file extension for compiled RC test sources.
19215 # Code to be used in simple compile tests
19216 lt_simple_compile_test_code='sample MENU
{ MENUITEM
"&Soup", 100, CHECKED
}\n'
19218 # Code to be used in simple link tests
19219 lt_simple_link_test_code="$lt_simple_compile_test_code"
19221 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19223 # If no C compiler was specified, use CC.
19226 # Allow CC to be a program name with arguments.
19230 # Allow CC to be a program name with arguments.
19235 lt_cv_prog_compiler_c_o_RC=yes
19237 # The else clause should only fire when bootstrapping the
19238 # libtool distribution, otherwise you forgot to ship ltmain.sh
19239 # with your package, and you will get complaints that there are
19240 # no rules to generate ltmain.sh.
19241 if test -f "$ltmain"; then
19242 # See if we are running on zsh, and set the options which allow our commands through
19243 # without removal of \ escapes.
19244 if test -n "${ZSH_VERSION+set}" ; then
19245 setopt NO_GLOB_SUBST
19247 # Now quote all the things that may contain metacharacters while being
19248 # careful not to overquote the AC_SUBSTed values. We take copies of the
19249 # variables and quote the copies for generation of the libtool script.
19250 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19252 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19253 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19254 deplibs_check_method reload_flag reload_cmds need_locks \
19255 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19256 lt_cv_sys_global_symbol_to_c_name_address \
19257 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19258 old_postinstall_cmds old_postuninstall_cmds \
19262 lt_prog_compiler_wl_RC \
19263 lt_prog_compiler_pic_RC \
19264 lt_prog_compiler_static_RC \
19265 lt_prog_compiler_no_builtin_flag_RC \
19266 export_dynamic_flag_spec_RC \
19267 thread_safe_flag_spec_RC \
19268 whole_archive_flag_spec_RC \
19269 enable_shared_with_static_runtimes_RC \
19270 old_archive_cmds_RC \
19271 old_archive_from_new_cmds_RC \
19272 predep_objects_RC \
19273 postdep_objects_RC \
19276 compiler_lib_search_path_RC \
19278 archive_expsym_cmds_RC \
19279 postinstall_cmds_RC \
19280 postuninstall_cmds_RC \
19281 old_archive_from_expsyms_cmds_RC \
19282 allow_undefined_flag_RC \
19283 no_undefined_flag_RC \
19284 export_symbols_cmds_RC \
19285 hardcode_libdir_flag_spec_RC \
19286 hardcode_libdir_flag_spec_ld_RC \
19287 hardcode_libdir_separator_RC \
19288 hardcode_automatic_RC \
19290 module_expsym_cmds_RC \
19291 lt_cv_prog_compiler_c_o_RC \
19292 exclude_expsyms_RC \
19293 include_expsyms_RC; do
19296 old_archive_cmds_RC | \
19297 old_archive_from_new_cmds_RC | \
19298 archive_cmds_RC | \
19299 archive_expsym_cmds_RC | \
19301 module_expsym_cmds_RC | \
19302 old_archive_from_expsyms_cmds_RC | \
19303 export_symbols_cmds_RC | \
19304 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19305 postinstall_cmds | postuninstall_cmds | \
19306 old_postinstall_cmds | old_postuninstall_cmds | \
19307 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19308 # Double-quote double-evaled strings.
19309 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19312 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19318 *'\
$0 --fallback-echo"')
19319 lt_echo=`$echo "X
$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$
/$0 --fallback-echo"/'`
19325 cat <<__EOF__ >> "$cfgfile"
19326 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19328 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19330 # Shell to use when invoking shell scripts.
19333 # Whether or not to build shared libraries.
19334 build_libtool_libs=$enable_shared
19336 # Whether or not to build static libraries.
19337 build_old_libs=$enable_static
19339 # Whether or not to add -lc for building shared libraries.
19340 build_libtool_need_lc=$archive_cmds_need_lc_RC
19342 # Whether or not to disallow shared libs when runtime libs are static
19343 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19345 # Whether or not to optimize for fast installation.
19346 fast_install=$enable_fast_install
19349 host_alias=$host_alias
19352 # An echo program that does not interpret backslashes.
19357 AR_FLAGS=$lt_AR_FLAGS
19362 # A language-specific compiler.
19365 # Is the compiler the GNU C compiler?
19371 # The linker used to build libraries.
19374 # Whether we need hard or soft links.
19377 # A BSD-compatible nm program.
19380 # A symbol stripping program
19383 # Used to examine libraries when file_magic_cmd begins "file"
19384 MAGIC_CMD=$MAGIC_CMD
19386 # Used on cygwin: DLL creation program.
19389 # Used on cygwin: object dumper.
19392 # Used on cygwin: assembler.
19395 # The name of the directory that contains temporary libtool files.
19398 # How to create reloadable object files.
19399 reload_flag=$lt_reload_flag
19400 reload_cmds=$lt_reload_cmds
19402 # How to pass a linker flag through the compiler.
19403 wl=$lt_lt_prog_compiler_wl_RC
19405 # Object file suffix (normally "o
").
19406 objext="$ac_objext"
19408 # Old archive suffix (normally "a
").
19411 # Shared library suffix (normally ".so
").
19412 shrext_cmds='$shrext_cmds'
19414 # Executable file suffix (normally "").
19417 # Additional compiler flags for building library objects.
19418 pic_flag=$lt_lt_prog_compiler_pic_RC
19421 # What is the maximum length of a command?
19422 max_cmd_len=$lt_cv_sys_max_cmd_len
19424 # Does compiler simultaneously support -c and -o options?
19425 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19427 # Must we lock files when doing compilation ?
19428 need_locks=$lt_need_locks
19430 # Do we need the lib prefix for modules?
19431 need_lib_prefix=$need_lib_prefix
19433 # Do we need a version for libraries?
19434 need_version=$need_version
19436 # Whether dlopen is supported.
19437 dlopen_support=$enable_dlopen
19439 # Whether dlopen of programs is supported.
19440 dlopen_self=$enable_dlopen_self
19442 # Whether dlopen of statically linked programs is supported.
19443 dlopen_self_static=$enable_dlopen_self_static
19445 # Compiler flag to prevent dynamic linking.
19446 link_static_flag=$lt_lt_prog_compiler_static_RC
19448 # Compiler flag to turn off builtin functions.
19449 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19451 # Compiler flag to allow reflexive dlopens.
19452 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19454 # Compiler flag to generate shared objects directly from archives.
19455 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19457 # Compiler flag to generate thread-safe objects.
19458 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19460 # Library versioning type.
19461 version_type=$version_type
19463 # Format of library name prefix.
19464 libname_spec=$lt_libname_spec
19466 # List of archive names. First name is the real one, the rest are links.
19467 # The last name is the one that the linker finds with -lNAME.
19468 library_names_spec=$lt_library_names_spec
19470 # The coded name of the library, if different from the real name.
19471 soname_spec=$lt_soname_spec
19473 # Commands used to build and install an old-style archive.
19475 old_archive_cmds=$lt_old_archive_cmds_RC
19476 old_postinstall_cmds=$lt_old_postinstall_cmds
19477 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19479 # Create an old-style archive from a shared archive.
19480 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19482 # Create a temporary old-style archive to link instead of a shared archive.
19483 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19485 # Commands used to build and install a shared archive.
19486 archive_cmds=$lt_archive_cmds_RC
19487 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19488 postinstall_cmds=$lt_postinstall_cmds
19489 postuninstall_cmds=$lt_postuninstall_cmds
19491 # Commands used to build a loadable module (assumed same as above if empty)
19492 module_cmds=$lt_module_cmds_RC
19493 module_expsym_cmds=$lt_module_expsym_cmds_RC
19495 # Commands to strip libraries.
19496 old_striplib=$lt_old_striplib
19497 striplib=$lt_striplib
19499 # Dependencies to place before the objects being linked to create a
19501 predep_objects=$lt_predep_objects_RC
19503 # Dependencies to place after the objects being linked to create a
19505 postdep_objects=$lt_postdep_objects_RC
19507 # Dependencies to place before the objects being linked to create a
19509 predeps=$lt_predeps_RC
19511 # Dependencies to place after the objects being linked to create a
19513 postdeps=$lt_postdeps_RC
19515 # The library search path used internally by the compiler when linking
19516 # a shared library.
19517 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19519 # Method to check whether dependent libraries are shared objects.
19520 deplibs_check_method=$lt_deplibs_check_method
19522 # Command to use when deplibs_check_method == file_magic.
19523 file_magic_cmd=$lt_file_magic_cmd
19525 # Flag that allows shared libraries with undefined symbols to be built.
19526 allow_undefined_flag=$lt_allow_undefined_flag_RC
19528 # Flag that forces no undefined symbols.
19529 no_undefined_flag=$lt_no_undefined_flag_RC
19531 # Commands used to finish a libtool library installation in a directory.
19532 finish_cmds=$lt_finish_cmds
19534 # Same as above, but a single script fragment to be evaled but not shown.
19535 finish_eval=$lt_finish_eval
19537 # Take the output of nm and produce a listing of raw symbols and C names.
19538 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19540 # Transform the output of nm in a proper C declaration
19541 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19543 # Transform the output of nm in a C name address pair
19544 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19546 # This is the shared library runtime path variable.
19547 runpath_var=$runpath_var
19549 # This is the shared library path variable.
19550 shlibpath_var=$shlibpath_var
19552 # Is shlibpath searched before the hard-coded library search path?
19553 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19555 # How to hardcode a shared library path into an executable.
19556 hardcode_action=$hardcode_action_RC
19558 # Whether we should hardcode library paths into libraries.
19559 hardcode_into_libs=$hardcode_into_libs
19561 # Flag to hardcode \$libdir into a binary during linking.
19562 # This must work even if \$libdir does not exist.
19563 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19565 # If ld is used when linking, flag to hardcode \$libdir into
19566 # a binary during linking. This must work even if \$libdir does
19568 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19570 # Whether we need a single -rpath flag with a separated argument.
19571 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19573 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19574 # resulting binary.
19575 hardcode_direct=$hardcode_direct_RC
19577 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19578 # resulting binary.
19579 hardcode_minus_L=$hardcode_minus_L_RC
19581 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19582 # the resulting binary.
19583 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19585 # Set to yes if building a shared library automatically hardcodes DIR into the library
19586 # and all subsequent libraries and executables linked against it.
19587 hardcode_automatic=$hardcode_automatic_RC
19589 # Variables whose values should be saved in libtool wrapper scripts and
19590 # restored at relink time.
19591 variables_saved_for_relink="$variables_saved_for_relink"
19593 # Whether libtool must link a program against all its dependency libraries.
19594 link_all_deplibs=$link_all_deplibs_RC
19596 # Compile-time system search path for libraries
19597 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19599 # Run-time system search path for libraries
19600 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19602 # Fix the shell variable \$srcfile for the compiler.
19603 fix_srcfile_path="$fix_srcfile_path_RC"
19605 # Set to yes if exported symbols are required.
19606 always_export_symbols=$always_export_symbols_RC
19608 # The commands to list exported symbols.
19609 export_symbols_cmds=$lt_export_symbols_cmds_RC
19611 # The commands to extract the exported symbol list from a shared archive.
19612 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19614 # Symbols that should not be listed in the preloaded symbols.
19615 exclude_expsyms=$lt_exclude_expsyms_RC
19617 # Symbols that must always be exported.
19618 include_expsyms=$lt_include_expsyms_RC
19620 # ### END LIBTOOL TAG CONFIG: $tagname
19626 # If there is no Makefile yet, we rely on a make rule to execute
19627 # `config.status --recheck' to rerun these tests and create the
19628 # libtool script then.
19629 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19630 if test -f "$ltmain_in"; then
19631 test -f Makefile && make "$ltmain"
19637 ac_cpp='$CXXCPP $CPPFLAGS'
19638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19647 { { echo "$as_me:$LINENO: error
: Unsupported tag name
: $tagname" >&5
19648 echo "$as_me: error
: Unsupported tag name
: $tagname" >&2;}
19649 { (exit 1); exit 1; }; }
19653 # Append the new tag name to the list of available tags.
19654 if test -n "$tagname" ; then
19655 available_tags="$available_tags $tagname"
19661 # Now substitute the updated list of available tags.
19662 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T
\""; then
19663 mv "${ofile}T
" "$ofile"
19667 { { echo "$as_me:$LINENO: error
: unable to update list of available tagged configurations.
" >&5
19668 echo "$as_me: error
: unable to update list of available tagged configurations.
" >&2;}
19669 { (exit 1); exit 1; }; }
19675 # This can be used to rebuild libtool when needed
19676 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh
"
19678 # Always use our own libtool.
19679 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19681 # Prevent multiple expansion
19702 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian
" >&5
19703 echo $ECHO_N "checking whether byte ordering is bigendian...
$ECHO_C" >&6; }
19704 if test "${ac_cv_c_bigendian+set}" = set; then
19705 echo $ECHO_N "(cached
) $ECHO_C" >&6
19707 # See if sys/param.h defines the BYTE_ORDER macro.
19708 cat >conftest.$ac_ext <<_ACEOF
19711 cat confdefs.h >>conftest.$ac_ext
19712 cat >>conftest.$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 #include <sys/types.h>
19715 #include <sys/param.h>
19720 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
19721 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
19722 bogus endian macros
19729 rm -f conftest.$ac_objext
19730 if { (ac_try="$ac_compile"
19731 case "(($ac_try" in
19732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;;
19735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19736 (eval "$ac_compile") 2>conftest.er1
19738 grep -v '^ *+' conftest.er1 >conftest.err
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19742 (exit $ac_status); } && {
19743 test -z "$ac_cxx_werror_flag" ||
19744 test ! -s conftest.err
19745 } && test -s conftest.$ac_objext; then
19746 # It does; now see whether it defined to BIG_ENDIAN or not.
19747 cat >conftest.$ac_ext <<_ACEOF
19750 cat confdefs.h >>conftest.$ac_ext
19751 cat >>conftest.$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19753 #include <sys/types.h>
19754 #include <sys/param.h>
19759 #if BYTE_ORDER != BIG_ENDIAN
19767 rm -f conftest.$ac_objext
19768 if { (ac_try="$ac_compile"
19769 case "(($ac_try" in
19770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19771 *) ac_try_echo=$ac_try;;
19773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19774 (eval "$ac_compile") 2>conftest.er1
19776 grep -v '^ *+' conftest.er1 >conftest.err
19778 cat conftest.err >&5
19779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19780 (exit $ac_status); } && {
19781 test -z "$ac_cxx_werror_flag" ||
19782 test ! -s conftest.err
19783 } && test -s conftest.$ac_objext; then
19784 ac_cv_c_bigendian=yes
19786 echo "$as_me: failed program was
:" >&5
19787 sed 's/^/| /' conftest.$ac_ext >&5
19789 ac_cv_c_bigendian=no
19792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19794 echo "$as_me: failed program was
:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19797 # It does not; compile a test program.
19798 if test "$cross_compiling" = yes; then
19799 # try to guess the endianness by grepping values into an object file
19800 ac_cv_c_bigendian=unknown
19801 cat >conftest.$ac_ext <<_ACEOF
19804 cat confdefs.h >>conftest.$ac_ext
19805 cat >>conftest.$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19808 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19809 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
19810 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19811 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19812 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
19816 _ascii (); _ebcdic ();
19821 rm -f conftest.$ac_objext
19822 if { (ac_try="$ac_compile"
19823 case "(($ac_try" in
19824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19825 *) ac_try_echo=$ac_try;;
19827 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19828 (eval "$ac_compile") 2>conftest.er1
19830 grep -v '^ *+' conftest.er1 >conftest.err
19832 cat conftest.err >&5
19833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19834 (exit $ac_status); } && {
19835 test -z "$ac_cxx_werror_flag" ||
19836 test ! -s conftest.err
19837 } && test -s conftest.$ac_objext; then
19838 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
19839 ac_cv_c_bigendian=yes
19841 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
19842 if test "$ac_cv_c_bigendian" = unknown; then
19843 ac_cv_c_bigendian=no
19845 # finding both strings is unlikely to happen, but who knows?
19846 ac_cv_c_bigendian=unknown
19850 echo "$as_me: failed program was
:" >&5
19851 sed 's/^/| /' conftest.$ac_ext >&5
19856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19858 cat >conftest.$ac_ext <<_ACEOF
19861 cat confdefs.h >>conftest.$ac_ext
19862 cat >>conftest.$ac_ext <<_ACEOF
19863 /* end confdefs.h. */
19864 $ac_includes_default
19869 /* Are we little or big endian? From Harbison&Steele. */
19873 char c[sizeof (long int)];
19876 return u.c[sizeof (long int) - 1] == 1;
19882 rm -f conftest$ac_exeext
19883 if { (ac_try="$ac_link"
19884 case "(($ac_try" in
19885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19886 *) ac_try_echo=$ac_try;;
19888 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19889 (eval "$ac_link") 2>&5
19891 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19892 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19893 { (case "(($ac_try" in
19894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19895 *) ac_try_echo=$ac_try;;
19897 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19898 (eval "$ac_try") 2>&5
19900 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19901 (exit $ac_status); }; }; then
19902 ac_cv_c_bigendian=no
19904 echo "$as_me: program exited with status
$ac_status" >&5
19905 echo "$as_me: failed program was
:" >&5
19906 sed 's/^/| /' conftest.$ac_ext >&5
19908 ( exit $ac_status )
19909 ac_cv_c_bigendian=yes
19911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19919 { echo "$as_me:$LINENO: result
: $ac_cv_c_bigendian" >&5
19920 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
19921 case $ac_cv_c_bigendian in
19924 cat >>confdefs.h <<\_ACEOF
19925 #define WORDS_BIGENDIAN 1
19931 { { echo "$as_me:$LINENO: error
: unknown endianness
19932 presetting ac_cv_c_bigendian
=no
(or
yes) will
help" >&5
19933 echo "$as_me: error
: unknown endianness
19934 presetting ac_cv_c_bigendian
=no
(or
yes) will
help" >&2;}
19935 { (exit 1); exit 1; }; } ;;
19938 { echo "$as_me:$LINENO: checking
host system
type" >&5
19939 echo $ECHO_N "checking
host system
type...
$ECHO_C" >&6; }
19940 if test "${ac_cv_host+set}" = set; then
19941 echo $ECHO_N "(cached
) $ECHO_C" >&6
19943 if test "x
$host_alias" = x; then
19944 ac_cv_host=$ac_cv_build
19946 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
19947 { { echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
19948 echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
19949 { (exit 1); exit 1; }; }
19953 { echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
19954 echo "${ECHO_T}$ac_cv_host" >&6; }
19955 case $ac_cv_host in
19957 *) { { echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
19958 echo "$as_me: error
: invalid value of canonical
host" >&2;}
19959 { (exit 1); exit 1; }; };;
19962 ac_save_IFS=$IFS; IFS='-'
19968 # Remember, the first character of IFS is used to create $*,
19969 # except with old shells:
19972 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
19975 for ac_prog in 'bison -y' byacc
19977 # Extract the first word of "$ac_prog", so it can be a program name with args.
19978 set dummy $ac_prog; ac_word=$2
19979 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
19980 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
19981 if test "${ac_cv_prog_YACC+set}" = set; then
19982 echo $ECHO_N "(cached
) $ECHO_C" >&6
19984 if test -n "$YACC"; then
19985 ac_cv_prog_YACC="$YACC" # Let the user override the test.
19987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19988 for as_dir in $PATH
19991 test -z "$as_dir" && as_dir=.
19992 for ac_exec_ext in '' $ac_executable_extensions; do
19993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19994 ac_cv_prog_YACC="$ac_prog"
19995 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20004 YACC=$ac_cv_prog_YACC
20005 if test -n "$YACC"; then
20006 { echo "$as_me:$LINENO: result
: $YACC" >&5
20007 echo "${ECHO_T}$YACC" >&6; }
20009 { echo "$as_me:$LINENO: result
: no
" >&5
20010 echo "${ECHO_T}no
" >&6; }
20014 test -n "$YACC" && break
20016 test -n "$YACC" || YACC="yacc"
20018 for ac_prog in flex lex
20020 # Extract the first word of "$ac_prog", so it can be a program name with args.
20021 set dummy $ac_prog; ac_word=$2
20022 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20023 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20024 if test "${ac_cv_prog_LEX+set}" = set; then
20025 echo $ECHO_N "(cached
) $ECHO_C" >&6
20027 if test -n "$LEX"; then
20028 ac_cv_prog_LEX="$LEX" # Let the user override the test.
20030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20031 for as_dir in $PATH
20034 test -z "$as_dir" && as_dir=.
20035 for ac_exec_ext in '' $ac_executable_extensions; do
20036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20037 ac_cv_prog_LEX="$ac_prog"
20038 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20047 LEX=$ac_cv_prog_LEX
20048 if test -n "$LEX"; then
20049 { echo "$as_me:$LINENO: result
: $LEX" >&5
20050 echo "${ECHO_T}$LEX" >&6; }
20052 { echo "$as_me:$LINENO: result
: no
" >&5
20053 echo "${ECHO_T}no
" >&6; }
20057 test -n "$LEX" && break
20059 test -n "$LEX" || LEX=":"
20061 if test "x
$LEX" != "x
:"; then
20062 cat >conftest.l <<_ACEOF
20068 e { yyless (input () != 0); }
20069 f { unput (yytext[0]); }
20070 . { BEGIN INITIAL; }
20072 #ifdef YYTEXT_POINTER
20073 extern char *yytext;
20078 return ! yylex () + ! yywrap ();
20081 { (ac_try="$LEX conftest.l
"
20082 case "(($ac_try" in
20083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20084 *) ac_try_echo=$ac_try;;
20086 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20087 (eval "$LEX conftest.l
") 2>&5
20089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20090 (exit $ac_status); }
20091 { echo "$as_me:$LINENO: checking
lex output
file root
" >&5
20092 echo $ECHO_N "checking
lex output
file root...
$ECHO_C" >&6; }
20093 if test "${ac_cv_prog_lex_root+set}" = set; then
20094 echo $ECHO_N "(cached
) $ECHO_C" >&6
20097 if test -f lex.yy.c; then
20098 ac_cv_prog_lex_root=lex.yy
20099 elif test -f lexyy.c; then
20100 ac_cv_prog_lex_root=lexyy
20102 { { echo "$as_me:$LINENO: error
: cannot
find output from
$LEX; giving up
" >&5
20103 echo "$as_me: error
: cannot
find output from
$LEX; giving up
" >&2;}
20104 { (exit 1); exit 1; }; }
20107 { echo "$as_me:$LINENO: result
: $ac_cv_prog_lex_root" >&5
20108 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
20109 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
20111 if test -z "${LEXLIB+set}"; then
20112 { echo "$as_me:$LINENO: checking
lex library
" >&5
20113 echo $ECHO_N "checking
lex library...
$ECHO_C" >&6; }
20114 if test "${ac_cv_lib_lex+set}" = set; then
20115 echo $ECHO_N "(cached
) $ECHO_C" >&6
20119 ac_cv_lib_lex='none needed'
20120 for ac_lib in '' -lfl -ll; do
20121 LIBS="$ac_lib $ac_save_LIBS"
20122 cat >conftest.$ac_ext <<_ACEOF
20123 `cat $LEX_OUTPUT_ROOT.c`
20125 rm -f conftest.$ac_objext conftest$ac_exeext
20126 if { (ac_try="$ac_link"
20127 case "(($ac_try" in
20128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20129 *) ac_try_echo=$ac_try;;
20131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20132 (eval "$ac_link") 2>conftest.er1
20134 grep -v '^ *+' conftest.er1 >conftest.err
20136 cat conftest.err >&5
20137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20138 (exit $ac_status); } && {
20139 test -z "$ac_cxx_werror_flag" ||
20140 test ! -s conftest.err
20141 } && test -s conftest$ac_exeext &&
20142 $as_test_x conftest$ac_exeext; then
20143 ac_cv_lib_lex=$ac_lib
20145 echo "$as_me: failed program was
:" >&5
20146 sed 's/^/| /' conftest.$ac_ext >&5
20151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20152 conftest$ac_exeext conftest.$ac_ext
20153 test "$ac_cv_lib_lex" != 'none needed' && break
20158 { echo "$as_me:$LINENO: result
: $ac_cv_lib_lex" >&5
20159 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
20160 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
20164 { echo "$as_me:$LINENO: checking whether yytext is a pointer
" >&5
20165 echo $ECHO_N "checking whether yytext is a pointer...
$ECHO_C" >&6; }
20166 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
20167 echo $ECHO_N "(cached
) $ECHO_C" >&6
20169 # POSIX says lex can declare yytext either as a pointer or an array; the
20170 # default is implementation-dependent. Figure out which it is, since
20171 # not all implementations provide the %pointer and %array declarations.
20172 ac_cv_prog_lex_yytext_pointer=no
20174 LIBS="$LEXLIB $ac_save_LIBS"
20175 cat >conftest.$ac_ext <<_ACEOF
20176 #define YYTEXT_POINTER 1
20177 `cat $LEX_OUTPUT_ROOT.c`
20179 rm -f conftest.$ac_objext conftest$ac_exeext
20180 if { (ac_try="$ac_link"
20181 case "(($ac_try" in
20182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20183 *) ac_try_echo=$ac_try;;
20185 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20186 (eval "$ac_link") 2>conftest.er1
20188 grep -v '^ *+' conftest.er1 >conftest.err
20190 cat conftest.err >&5
20191 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20192 (exit $ac_status); } && {
20193 test -z "$ac_cxx_werror_flag" ||
20194 test ! -s conftest.err
20195 } && test -s conftest$ac_exeext &&
20196 $as_test_x conftest$ac_exeext; then
20197 ac_cv_prog_lex_yytext_pointer=yes
20199 echo "$as_me: failed program was
:" >&5
20200 sed 's/^/| /' conftest.$ac_ext >&5
20205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20206 conftest$ac_exeext conftest.$ac_ext
20210 { echo "$as_me:$LINENO: result
: $ac_cv_prog_lex_yytext_pointer" >&5
20211 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
20212 if test $ac_cv_prog_lex_yytext_pointer = yes; then
20214 cat >>confdefs.h <<\_ACEOF
20215 #define YYTEXT_POINTER 1
20219 rm -f conftest.l $LEX_OUTPUT_ROOT.c
20222 if test "$LEX" = :; then
20223 LEX=${am_missing_run}flex
20226 case "${host_os}" in
20231 case "${host_cpu}" in
20236 echo "#ifndef BUILD_H" >build.h
20237 echo "#define BUILD_H" >>build.h
20238 echo "#define CSQL" >>build.h
20239 echo "#define ${OSTYPE}" >>build.h
20240 echo "#define ${CPUTYPE}" >>build.h
20241 echo "#endif " >>build.h
20258 for ac_header
in stdio.h sys
/mman.h sys
/shm.h sys
/errno.h
crypt.h unistd.h \
20259 string.h sys
/types.h sys
/stat.h fcntl.h pthread.h math.h \
20262 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20263 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20264 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20266 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20267 echo $ECHO_N "(cached) $ECHO_C" >&6
20269 ac_res
=`eval echo '${'$as_ac_Header'}'`
20270 { echo "$as_me:$LINENO: result: $ac_res" >&5
20271 echo "${ECHO_T}$ac_res" >&6; }
20273 # Is the header compilable?
20274 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20276 cat >conftest.
$ac_ext <<_ACEOF
20279 cat confdefs.h
>>conftest.
$ac_ext
20280 cat >>conftest.
$ac_ext <<_ACEOF
20281 /* end confdefs.h. */
20282 $ac_includes_default
20283 #include <$ac_header>
20285 rm -f conftest.
$ac_objext
20286 if { (ac_try
="$ac_compile"
20287 case "(($ac_try" in
20288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20289 *) ac_try_echo=$ac_try;;
20291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20292 (eval "$ac_compile") 2>conftest.er1
20294 grep -v '^ *+' conftest.er1 >conftest.err
20296 cat conftest.err >&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); } && {
20299 test -z "$ac_cxx_werror_flag" ||
20300 test ! -s conftest.err
20301 } && test -s conftest.$ac_objext; then
20302 ac_header_compiler=yes
20304 echo "$as_me: failed program was:" >&5
20305 sed 's/^/| /' conftest.$ac_ext >&5
20307 ac_header_compiler=no
20310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20311 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20312 echo "${ECHO_T}$ac_header_compiler" >&6; }
20314 # Is the header present?
20315 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20316 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20317 cat >conftest.$ac_ext <<_ACEOF
20320 cat confdefs.h >>conftest.$ac_ext
20321 cat >>conftest.$ac_ext <<_ACEOF
20322 /* end confdefs.h. */
20323 #include <$ac_header>
20325 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev
/null
&& {
20338 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
20339 test ! -s conftest.err
20341 ac_header_preproc
=yes
20343 echo "$as_me: failed program was:" >&5
20344 sed 's/^/| /' conftest.
$ac_ext >&5
20346 ac_header_preproc
=no
20349 rm -f conftest.err conftest.
$ac_ext
20350 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20351 echo "${ECHO_T}$ac_header_preproc" >&6; }
20353 # So? What about this header?
20354 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20360 ac_header_preproc
=yes
20363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20378 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20380 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20381 echo $ECHO_N "(cached) $ECHO_C" >&6
20383 eval "$as_ac_Header=\$ac_header_preproc"
20385 ac_res
=`eval echo '${'$as_ac_Header'}'`
20386 { echo "$as_me:$LINENO: result: $ac_res" >&5
20387 echo "${ECHO_T}$ac_res" >&6; }
20390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20391 cat >>confdefs.h
<<_ACEOF
20392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20402 ac_config_files
="$ac_config_files Makefile src/Makefile include/Makefile src/server/Makefile src/sql/Makefile src/adapter/Makefile src/gateway/Makefile src/cache/Makefile src/network/Makefile src/sqllog/Makefile src/tools/Makefile src/jdbc/Makefile"
20404 cat >confcache
<<\_ACEOF
20405 # This file is a shell script that caches the results of configure
20406 # tests run on this system so they can be shared between configure
20407 # scripts and configure runs, see configure's option --config-cache.
20408 # It is not useful on other systems. If it contains results you don't
20409 # want to keep, you may remove or edit it.
20411 # config.status only pays attention to the cache file if you give it
20412 # the --recheck option to rerun configure.
20414 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20415 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20416 # following values.
20420 # The following way of writing the cache mishandles newlines in values,
20421 # but we know of no workaround that is simple, portable, and efficient.
20422 # So, we kill variables containing newlines.
20423 # Ultrix sh set writes to stderr and can't be redirected directly,
20424 # and sets the high bit in the cache file unless we assign to the vars.
20426 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20427 eval ac_val
=\$
$ac_var
20431 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20432 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20435 _ | IFS | as_nl
) ;; #(
20436 *) $as_unset $ac_var ;;
20442 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20443 *${as_nl}ac_space
=\
*)
20444 # `set' does not quote correctly, so add quotes (double-quote
20445 # substitution turns \\\\ into \\, and sed turns \\ into \).
20448 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20451 # `set' quotes correctly as required by POSIX, so do not add quotes.
20452 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20461 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20463 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20465 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20466 if test -w "$cache_file"; then
20467 test "x$cache_file" != "x/dev/null" &&
20468 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20469 echo "$as_me: updating cache $cache_file" >&6;}
20470 cat confcache
>$cache_file
20472 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20473 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20478 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20479 # Let make expand exec_prefix.
20480 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20482 DEFS
=-DHAVE_CONFIG_H
20486 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20487 # 1. Remove the extension, and $U if already installed.
20488 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20489 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20490 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20491 # will be set to the directory where LIBOBJS objects are built.
20492 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20493 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20495 LIBOBJS
=$ac_libobjs
20497 LTLIBOBJS
=$ac_ltlibobjs
20500 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20501 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20502 Usually this means the macro was only invoked conditionally." >&5
20503 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20504 Usually this means the macro was only invoked conditionally." >&2;}
20505 { (exit 1); exit 1; }; }
20507 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20508 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20509 Usually this means the macro was only invoked conditionally." >&5
20510 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20511 Usually this means the macro was only invoked conditionally." >&2;}
20512 { (exit 1); exit 1; }; }
20514 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20515 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20516 Usually this means the macro was only invoked conditionally." >&5
20517 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20518 Usually this means the macro was only invoked conditionally." >&2;}
20519 { (exit 1); exit 1; }; }
20522 : ${CONFIG_STATUS=./config.status}
20523 ac_clean_files_save
=$ac_clean_files
20524 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20525 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20526 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20527 cat >$CONFIG_STATUS <<_ACEOF
20529 # Generated by $as_me.
20530 # Run this file to recreate the current configuration.
20531 # Compiler output produced by configure, useful for debugging
20532 # configure, is in config.log if it exists.
20535 ac_cs_recheck=false
20537 SHELL=\${CONFIG_SHELL-$SHELL}
20540 cat >>$CONFIG_STATUS <<\_ACEOF
20541 ## --------------------- ##
20542 ## M4sh Initialization. ##
20543 ## --------------------- ##
20545 # Be more Bourne compatible
20546 DUALCASE
=1; export DUALCASE
# for MKS sh
20547 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20550 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20551 # is contrary to our usage. Disable this feature.
20552 alias -g '${1+"$@"}'='"$@"'
20553 setopt NO_GLOB_SUBST
20555 case `(set -o) 2>/dev/null` in
20556 *posix
*) set -o posix
;;
20565 # Avoid depending upon Character Ranges.
20566 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20567 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20568 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20569 as_cr_digits
='0123456789'
20570 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20572 # The user is always right.
20573 if test "${PATH_SEPARATOR+set}" != set; then
20574 echo "#! /bin/sh" >conf$$.sh
20575 echo "exit 0" >>conf$$.sh
20577 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20585 # Support unset when possible.
20586 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20594 # We need space, tab and new line, in precisely that order. Quoting is
20595 # there to prevent editors from complaining about space-tab.
20596 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20597 # splitting by setting IFS to empty value.)
20602 # Find who we are. Look in the path if we contain no directory separator.
20604 *[\\/]* ) as_myself
=$0 ;;
20605 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20606 for as_dir
in $PATH
20609 test -z "$as_dir" && as_dir
=.
20610 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20616 # We did not find ourselves, most probably we were run as `sh COMMAND'
20617 # in which case we are not to be found in the path.
20618 if test "x$as_myself" = x
; then
20621 if test ! -f "$as_myself"; then
20622 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20623 { (exit 1); exit 1; }
20626 # Work around bugs in pre-3.0 UWIN ksh.
20627 for as_var
in ENV MAIL MAILPATH
20628 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20636 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20637 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20638 LC_TELEPHONE LC_TIME
20640 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20641 eval $as_var=C
; export $as_var
20643 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20647 # Required to use basename.
20648 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20649 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20655 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20656 as_basename
=basename
20662 # Name of the executable.
20663 as_me
=`$as_basename -- "$0" ||
20664 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20665 X"$0" : 'X\(//\)$' \| \
20666 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20668 sed '/^.*\/\([^/][^/]*\)\/*$/{
20687 as_lineno_1
=$LINENO
20688 as_lineno_2
=$LINENO
20689 test "x$as_lineno_1" != "x$as_lineno_2" &&
20690 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20692 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20693 # uniformly replaced by the line number. The first 'sed' inserts a
20694 # line-number line after each line using $LINENO; the second 'sed'
20695 # does the real work. The second script uses 'N' to pair each
20696 # line-number line with the line containing $LINENO, and appends
20697 # trailing '-' during substitution so that $LINENO is not a special
20698 # case at line end.
20699 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20700 # scripts with optimization help from Paolo Bonzini. Blame Lee
20701 # E. McMahon (1931-1989) for sed's syntax. :-)
20713 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20716 ' >$as_me.lineno
&&
20717 chmod +x
"$as_me.lineno" ||
20718 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20719 { (exit 1); exit 1; }; }
20721 # Don't try to exec as it changes $[0], causing all sort of problems
20722 # (the dirname of $[0] is not the place where we might find the
20723 # original and so on. Autoconf is especially sensitive to this).
20724 .
"./$as_me.lineno"
20725 # Exit status is that of the last command.
20730 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20736 ECHO_C
= ECHO_N
= ECHO_T
=
20737 case `echo -n x` in
20739 case `echo 'x\c'` in
20740 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20747 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20748 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20754 rm -f conf$$ conf$$.exe conf$$.
file
20755 if test -d conf$$.dir
; then
20756 rm -f conf$$.dir
/conf$$.
file
20762 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20764 # ... but there are two gotchas:
20765 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20766 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20767 # In both cases, we have to default to `cp -p'.
20768 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20770 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20775 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20776 rmdir conf$$.dir
2>/dev
/null
20778 if mkdir
-p .
2>/dev
/null
; then
20781 test -d .
/-p && rmdir .
/-p
20785 if test -x / >/dev
/null
2>&1; then
20786 as_test_x
='test -x'
20788 if ls -dL / >/dev
/null
2>&1; then
20795 if test -d "$1"; then
20801 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20802 ???[sx]*):;;*)false;;esac;fi
20806 as_executable_p
=$as_test_x
20808 # Sed expression to map a string onto a valid CPP name.
20809 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20811 # Sed expression to map a string onto a valid variable name.
20812 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20817 # Save the log message, to keep $[0] and so on meaningful, and to
20818 # report actual input values of CONFIG_FILES etc. instead of their
20819 # values after options handling.
20821 This file was extended by $as_me, which was
20822 generated by GNU Autoconf 2.61. Invocation command line was
20824 CONFIG_FILES = $CONFIG_FILES
20825 CONFIG_HEADERS = $CONFIG_HEADERS
20826 CONFIG_LINKS = $CONFIG_LINKS
20827 CONFIG_COMMANDS = $CONFIG_COMMANDS
20830 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20835 cat >>$CONFIG_STATUS <<_ACEOF
20836 # Files that config.status was made for.
20837 config_files="$ac_config_files"
20838 config_headers="$ac_config_headers"
20839 config_commands="$ac_config_commands"
20843 cat >>$CONFIG_STATUS <<\_ACEOF
20845 \`$as_me' instantiates files from templates according to the
20846 current configuration.
20848 Usage: $0 [OPTIONS] [FILE]...
20850 -h, --help print this help, then exit
20851 -V, --version print version number and configuration settings, then exit
20852 -q, --quiet do not print progress messages
20853 -d, --debug don't remove temporary files
20854 --recheck update $as_me by reconfiguring in the same conditions
20855 --file=FILE[:TEMPLATE]
20856 instantiate the configuration file FILE
20857 --header=FILE[:TEMPLATE]
20858 instantiate the configuration header FILE
20860 Configuration files:
20863 Configuration headers:
20866 Configuration commands:
20869 Report bugs to <bug-autoconf@gnu.org>."
20872 cat >>$CONFIG_STATUS <<_ACEOF
20875 configured by $0, generated by GNU Autoconf 2.61,
20876 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20878 Copyright (C) 2006 Free Software Foundation, Inc.
20879 This config.status script is free software; the Free Software Foundation
20880 gives unlimited permission to copy, distribute and modify it."
20887 cat >>$CONFIG_STATUS <<\_ACEOF
20888 # If no file are specified by the user, then we need to provide default
20889 # value. By we need to know if files were specified by the user.
20895 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20896 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20907 # Handling of the options.
20908 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20910 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20911 echo "$ac_cs_version"; exit ;;
20912 --debug |
--debu |
--deb |
--de |
--d |
-d )
20914 --file |
--fil |
--fi |
--f )
20916 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20917 ac_need_defaults
=false
;;
20918 --header |
--heade |
--head |
--hea )
20920 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20921 ac_need_defaults
=false
;;
20923 # Conflict between --help and --header
20924 { echo "$as_me: error: ambiguous option: $1
20925 Try \`$0 --help' for more information." >&2
20926 { (exit 1); exit 1; }; };;
20927 --help |
--hel |
-h )
20928 echo "$ac_cs_usage"; exit ;;
20929 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20930 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20933 # This is an error.
20934 -*) { echo "$as_me: error: unrecognized option: $1
20935 Try \`$0 --help' for more information." >&2
20936 { (exit 1); exit 1; }; } ;;
20938 *) ac_config_targets
="$ac_config_targets $1"
20939 ac_need_defaults
=false
;;
20945 ac_configure_extra_args
=
20947 if $ac_cs_silent; then
20949 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20953 cat >>$CONFIG_STATUS <<_ACEOF
20954 if \$ac_cs_recheck; then
20955 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20956 CONFIG_SHELL=$SHELL
20957 export CONFIG_SHELL
20958 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20962 cat >>$CONFIG_STATUS <<\_ACEOF
20966 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20967 ## Running $as_me. ##
20973 cat >>$CONFIG_STATUS <<_ACEOF
20977 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20981 cat >>$CONFIG_STATUS <<\_ACEOF
20983 # Handling of arguments.
20984 for ac_config_target
in $ac_config_targets
20986 case $ac_config_target in
20987 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20988 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20989 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20990 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20991 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20992 "src/server/Makefile") CONFIG_FILES
="$CONFIG_FILES src/server/Makefile" ;;
20993 "src/sql/Makefile") CONFIG_FILES
="$CONFIG_FILES src/sql/Makefile" ;;
20994 "src/adapter/Makefile") CONFIG_FILES
="$CONFIG_FILES src/adapter/Makefile" ;;
20995 "src/gateway/Makefile") CONFIG_FILES
="$CONFIG_FILES src/gateway/Makefile" ;;
20996 "src/cache/Makefile") CONFIG_FILES
="$CONFIG_FILES src/cache/Makefile" ;;
20997 "src/network/Makefile") CONFIG_FILES
="$CONFIG_FILES src/network/Makefile" ;;
20998 "src/sqllog/Makefile") CONFIG_FILES
="$CONFIG_FILES src/sqllog/Makefile" ;;
20999 "src/tools/Makefile") CONFIG_FILES
="$CONFIG_FILES src/tools/Makefile" ;;
21000 "src/jdbc/Makefile") CONFIG_FILES
="$CONFIG_FILES src/jdbc/Makefile" ;;
21002 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21003 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21004 { (exit 1); exit 1; }; };;
21009 # If the user did not use the arguments to specify the items to instantiate,
21010 # then the envvar interface is used. Set only those that are not.
21011 # We use the long form for the default assignment because of an extremely
21012 # bizarre bug on SunOS 4.1.3.
21013 if $ac_need_defaults; then
21014 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21015 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21016 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21019 # Have a temporary directory for convenience. Make it in the build tree
21020 # simply because there is no reason against having it here, and in addition,
21021 # creating and moving files from /tmp can sometimes cause problems.
21022 # Hook for its removal unless debugging.
21023 # Note that there is a small window in which the directory will not be cleaned:
21024 # after its creation but before its name has been assigned to `$tmp'.
21028 trap 'exit_status=$?
21029 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21031 trap '{ (exit 1); exit 1; }' 1 2 13 15
21033 # Create a (secure) tmp directory for tmp files.
21036 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21037 test -n "$tmp" && test -d "$tmp"
21040 tmp
=.
/conf$$
-$RANDOM
21041 (umask 077 && mkdir
"$tmp")
21044 echo "$me: cannot create a temporary directory in ." >&2
21045 { (exit 1); exit 1; }
21049 # Set up the sed scripts for CONFIG_FILES section.
21052 # No need to generate the scripts if there are no CONFIG_FILES.
21053 # This happens for instance when ./config.status config.h
21054 if test -n "$CONFIG_FILES"; then
21061 for ac_last_try
in false false false false false
:; do
21062 cat >conf$
$subs.
sed <<_ACEOF
21063 SHELL!$SHELL$ac_delim
21064 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21065 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21066 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21067 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21068 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21069 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21070 exec_prefix!$exec_prefix$ac_delim
21071 prefix!$prefix$ac_delim
21072 program_transform_name!$program_transform_name$ac_delim
21073 bindir!$bindir$ac_delim
21074 sbindir!$sbindir$ac_delim
21075 libexecdir!$libexecdir$ac_delim
21076 datarootdir!$datarootdir$ac_delim
21077 datadir!$datadir$ac_delim
21078 sysconfdir!$sysconfdir$ac_delim
21079 sharedstatedir!$sharedstatedir$ac_delim
21080 localstatedir!$localstatedir$ac_delim
21081 includedir!$includedir$ac_delim
21082 oldincludedir!$oldincludedir$ac_delim
21083 docdir!$docdir$ac_delim
21084 infodir!$infodir$ac_delim
21085 htmldir!$htmldir$ac_delim
21086 dvidir!$dvidir$ac_delim
21087 pdfdir!$pdfdir$ac_delim
21088 psdir!$psdir$ac_delim
21089 libdir!$libdir$ac_delim
21090 localedir!$localedir$ac_delim
21091 mandir!$mandir$ac_delim
21092 DEFS!$DEFS$ac_delim
21093 ECHO_C!$ECHO_C$ac_delim
21094 ECHO_N!$ECHO_N$ac_delim
21095 ECHO_T!$ECHO_T$ac_delim
21096 LIBS!$LIBS$ac_delim
21097 build_alias!$build_alias$ac_delim
21098 host_alias!$host_alias$ac_delim
21099 target_alias!$target_alias$ac_delim
21100 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21101 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21102 INSTALL_DATA!$INSTALL_DATA$ac_delim
21103 CYGPATH_W!$CYGPATH_W$ac_delim
21104 PACKAGE!$PACKAGE$ac_delim
21105 VERSION!$VERSION$ac_delim
21106 ACLOCAL!$ACLOCAL$ac_delim
21107 AUTOCONF!$AUTOCONF$ac_delim
21108 AUTOMAKE!$AUTOMAKE$ac_delim
21109 AUTOHEADER!$AUTOHEADER$ac_delim
21110 MAKEINFO!$MAKEINFO$ac_delim
21111 install_sh!$install_sh$ac_delim
21112 STRIP!$STRIP$ac_delim
21113 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21114 mkdir_p!$mkdir_p$ac_delim
21116 SET_MAKE!$SET_MAKE$ac_delim
21117 am__leading_dot!$am__leading_dot$ac_delim
21118 AMTAR!$AMTAR$ac_delim
21119 am__tar!$am__tar$ac_delim
21120 am__untar!$am__untar$ac_delim
21122 CXXFLAGS!$CXXFLAGS$ac_delim
21123 LDFLAGS!$LDFLAGS$ac_delim
21124 CPPFLAGS!$CPPFLAGS$ac_delim
21125 ac_ct_CXX!$ac_ct_CXX$ac_delim
21126 EXEEXT!$EXEEXT$ac_delim
21127 OBJEXT!$OBJEXT$ac_delim
21128 DEPDIR!$DEPDIR$ac_delim
21129 am__include!$am__include$ac_delim
21130 am__quote!$am__quote$ac_delim
21131 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21132 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21133 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21134 CXXDEPMODE!$CXXDEPMODE$ac_delim
21135 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21136 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21137 build!$build$ac_delim
21138 build_cpu!$build_cpu$ac_delim
21139 build_vendor!$build_vendor$ac_delim
21140 build_os!$build_os$ac_delim
21141 host!$host$ac_delim
21142 host_cpu!$host_cpu$ac_delim
21143 host_vendor!$host_vendor$ac_delim
21144 host_os!$host_os$ac_delim
21146 CFLAGS!$CFLAGS$ac_delim
21147 ac_ct_CC!$ac_ct_CC$ac_delim
21148 CCDEPMODE!$CCDEPMODE$ac_delim
21149 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21150 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21151 GREP!$GREP$ac_delim
21152 EGREP!$EGREP$ac_delim
21153 LN_S!$LN_S$ac_delim
21154 ECHO!$ECHO$ac_delim
21156 RANLIB!$RANLIB$ac_delim
21158 CXXCPP!$CXXCPP$ac_delim
21162 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21164 elif $ac_last_try; then
21165 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21166 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21167 { (exit 1); exit 1; }; }
21169 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21173 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21174 if test -n "$ac_eof"; then
21175 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21176 ac_eof
=`expr $ac_eof + 1`
21179 cat >>$CONFIG_STATUS <<_ACEOF
21180 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21181 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21184 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21185 s/^/s,@/; s/!/@,|#_!!_#|/
21188 s/'"$ac_delim"'$/,g/; t
21190 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21191 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21192 rm -f conf$
$subs.
sed
21193 cat >>$CONFIG_STATUS <<_ACEOF
21199 for ac_last_try
in false false false false false
:; do
21200 cat >conf$
$subs.
sed <<_ACEOF
21201 FFLAGS!$FFLAGS$ac_delim
21202 ac_ct_F77!$ac_ct_F77$ac_delim
21203 LIBTOOL!$LIBTOOL$ac_delim
21204 YACC!$YACC$ac_delim
21205 YFLAGS!$YFLAGS$ac_delim
21207 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
21208 LEXLIB!$LEXLIB$ac_delim
21209 LIBOBJS!$LIBOBJS$ac_delim
21210 LTLIBOBJS!$LTLIBOBJS$ac_delim
21213 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
21215 elif $ac_last_try; then
21216 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21217 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21218 { (exit 1); exit 1; }; }
21220 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21224 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21225 if test -n "$ac_eof"; then
21226 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21227 ac_eof
=`expr $ac_eof + 1`
21230 cat >>$CONFIG_STATUS <<_ACEOF
21231 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21232 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21235 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21236 s/^/s,@/; s/!/@,|#_!!_#|/
21239 s/'"$ac_delim"'$/,g/; t
21241 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21242 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21243 rm -f conf$
$subs.
sed
21244 cat >>$CONFIG_STATUS <<_ACEOF
21251 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21252 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21253 # trailing colons and then remove the whole line if VPATH becomes empty
21254 # (actually we leave an empty line to preserve line numbers).
21255 if test "x$srcdir" = x.
; then
21256 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21257 s/:*\$(srcdir):*/:/
21258 s/:*\${srcdir}:*/:/
21260 s/^\([^=]*=[ ]*\):*/\1/
21266 cat >>$CONFIG_STATUS <<\_ACEOF
21267 fi # test -n "$CONFIG_FILES"
21270 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21273 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21275 case $ac_mode$ac_tag in
21277 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21278 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21279 { (exit 1); exit 1; }; };;
21280 :[FH
]-) ac_tag
=-:-;;
21281 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21298 -) ac_f
="$tmp/stdin";;
21299 *) # Look for the file first in the build tree, then in the source tree
21300 # (if the path is not absolute). The absolute path cannot be DOS-style,
21301 # because $ac_f cannot contain `:'.
21305 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21307 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21308 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21309 { (exit 1); exit 1; }; };;
21311 ac_file_inputs
="$ac_file_inputs $ac_f"
21314 # Let's still pretend it is `configure' which instantiates (i.e., don't
21315 # use $as_me), people would be surprised to read:
21316 # /* config.h. Generated by config.status. */
21317 configure_input
="Generated from "`IFS=:
21318 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21319 if test x
"$ac_file" != x-
; then
21320 configure_input
="$ac_file. $configure_input"
21321 { echo "$as_me:$LINENO: creating $ac_file" >&5
21322 echo "$as_me: creating $ac_file" >&6;}
21326 *:-:* |
*:-) cat >"$tmp/stdin";;
21331 ac_dir
=`$as_dirname -- "$ac_file" ||
21332 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21333 X"$ac_file" : 'X\(//\)[^/]' \| \
21334 X"$ac_file" : 'X\(//\)$' \| \
21335 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21341 /^X\(\/\/\)[^/].*/{
21356 -*) as_dir
=.
/$as_dir;;
21358 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21362 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21363 *) as_qdir
=$as_dir;;
21365 as_dirs
="'$as_qdir' $as_dirs"
21366 as_dir
=`$as_dirname -- "$as_dir" ||
21367 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21368 X"$as_dir" : 'X\(//\)[^/]' \| \
21369 X"$as_dir" : 'X\(//\)$' \| \
21370 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21376 /^X\(\/\/\)[^/].*/{
21389 test -d "$as_dir" && break
21391 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21392 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21393 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21394 { (exit 1); exit 1; }; }; }
21398 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21400 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21401 # A ".." for each directory in $ac_dir_suffix.
21402 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21403 case $ac_top_builddir_sub in
21404 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21405 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21408 ac_abs_top_builddir
=$ac_pwd
21409 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21410 # for backward compatibility:
21411 ac_top_builddir
=$ac_top_build_prefix
21414 .
) # We are building in place.
21416 ac_top_srcdir
=$ac_top_builddir_sub
21417 ac_abs_top_srcdir
=$ac_pwd ;;
21418 [\\/]* | ?
:[\\/]* ) # Absolute name.
21419 ac_srcdir
=$srcdir$ac_dir_suffix;
21420 ac_top_srcdir
=$srcdir
21421 ac_abs_top_srcdir
=$srcdir ;;
21422 *) # Relative name.
21423 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21424 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21425 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21427 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21437 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21438 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21442 cat >>$CONFIG_STATUS <<\_ACEOF
21443 # If the template does not know about datarootdir, expand it.
21444 # FIXME: This hack should be removed a few years after 2.60.
21445 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21447 case `sed -n '/datarootdir/ {
21456 ' $ac_file_inputs` in
21457 *datarootdir
*) ac_datarootdir_seen
=yes;;
21458 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21459 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21460 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21462 cat >>$CONFIG_STATUS <<_ACEOF
21463 ac_datarootdir_hack='
21464 s&@datadir@&$datadir&g
21465 s&@docdir@&$docdir&g
21466 s&@infodir@&$infodir&g
21467 s&@localedir@&$localedir&g
21468 s&@mandir@&$mandir&g
21469 s&\\\${datarootdir}&$datarootdir&g' ;;
21473 # Neutralize VPATH when `$srcdir' = `.'.
21474 # Shell code in configure.ac might set extrasub.
21475 # FIXME: do we really want to maintain this feature?
21476 cat >>$CONFIG_STATUS <<_ACEOF
21480 cat >>$CONFIG_STATUS <<\_ACEOF
21482 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21483 s
&@configure_input@
&$configure_input&;t t
21484 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21485 s
&@srcdir@
&$ac_srcdir&;t t
21486 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21487 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21488 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21489 s
&@builddir@
&$ac_builddir&;t t
21490 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21491 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21492 s
&@INSTALL@
&$ac_INSTALL&;t t
21493 $ac_datarootdir_hack
21494 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21496 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21497 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21498 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21499 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21500 which seems to be undefined. Please make sure it is defined." >&5
21501 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21502 which seems to be undefined. Please make sure it is defined." >&2;}
21506 -) cat "$tmp/out"; rm -f "$tmp/out";;
21507 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21516 # Transform confdefs.h into a sed script `conftest.defines', that
21517 # substitutes the proper values into config.h.in to produce config.h.
21518 rm -f conftest.defines conftest.
tail
21519 # First, append a space to every undef/define line, to ease matching.
21520 echo 's/$/ /' >conftest.defines
21521 # Then, protect against being on the right side of a sed subst, or in
21522 # an unquoted here document, in config.status. If some macros were
21523 # called several times there might be several #defines for the same
21524 # symbol, which is useless. But do not sort them, since the last
21525 # AC_DEFINE must be honored.
21526 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21527 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21528 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21529 # PARAMS is the parameter list in the macro definition--in most cases, it's
21530 # just an empty string.
21531 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21532 ac_dB
='\\)[ (].*,\\1define\\2'
21540 s/^[ ]*#[ ]*define[ ][ ]*//
21545 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21546 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21547 ' >>conftest.defines
21549 # Remove the space that was appended to ease matching.
21550 # Then replace #undef with comments. This is necessary, for
21551 # example, in the case of _POSIX_SOURCE, which is predefined and required
21552 # on some systems where configure will not decide to define it.
21553 # (The regexp can be short, since the line contains either #define or #undef.)
21555 s,^[ #]*u.*,/* & */,' >>conftest.defines
21557 # Break up conftest.defines:
21558 ac_max_sed_lines
=50
21560 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21561 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21562 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21564 ac_in
='$ac_file_inputs'
21565 ac_out
='"$tmp/out1"'
21566 ac_nxt
='"$tmp/out2"'
21570 # Write a here document:
21571 cat >>$CONFIG_STATUS <<_ACEOF
21572 # First, check the format of the line:
21573 cat >"\$tmp/defines.sed" <<\\CEOF
21574 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21575 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21579 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21581 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21582 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21583 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21584 grep . conftest.
tail >/dev
/null ||
break
21585 rm -f conftest.defines
21586 mv conftest.
tail conftest.defines
21588 rm -f conftest.defines conftest.
tail
21590 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21591 cat >>$CONFIG_STATUS <<\_ACEOF
21592 if test x
"$ac_file" != x-
; then
21593 echo "/* $configure_input */" >"$tmp/config.h"
21594 cat "$ac_result" >>"$tmp/config.h"
21595 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21596 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21597 echo "$as_me: $ac_file is unchanged" >&6;}
21600 mv "$tmp/config.h" $ac_file
21603 echo "/* $configure_input */"
21607 # Compute $ac_file's index in $config_headers.
21609 for _am_header
in $config_headers :; do
21610 case $_am_header in
21611 $ac_file |
$ac_file:* )
21614 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21617 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21618 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21619 X$ac_file : 'X\(//\)[^/]' \| \
21620 X$ac_file : 'X\(//\)$' \| \
21621 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21627 /^X\(\/\/\)[^/].*/{
21639 s/.*/./; q'`/stamp-h
$_am_stamp_count
21642 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21643 echo "$as_me: executing $ac_file commands" >&6;}
21648 case $ac_file$ac_mode in
21649 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21650 # Strip MF so we end up with the name of the file.
21651 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21652 # Check whether this is an Automake generated Makefile or not.
21653 # We used to match only the files named `Makefile.in', but
21654 # some people rename them; so instead we look at the file content.
21655 # Grep'ing the first line is not enough: some people post-process
21656 # each Makefile.in and add a new line on top of each file to say so.
21657 # So let's grep whole file.
21658 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21659 dirpart
=`$as_dirname -- "$mf" ||
21660 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21661 X"$mf" : 'X\(//\)[^/]' \| \
21662 X"$mf" : 'X\(//\)$' \| \
21663 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21669 /^X\(\/\/\)[^/].*/{
21685 # Extract the definition of DEPDIR, am__include, and am__quote
21686 # from the Makefile without running `make'.
21687 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21688 test -z "$DEPDIR" && continue
21689 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21690 test -z "am__include" && continue
21691 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21692 # When using ansi2knr, U may be empty or an underscore; expand it
21693 U
=`sed -n 's/^U = //p' < "$mf"`
21694 # Find all dependency output files, they are included files with
21695 # $(DEPDIR) in their names. We invoke sed twice because it is the
21696 # simplest approach to changing $(DEPDIR) to its actual value in the
21698 for file in `sed -n "
21699 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21700 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21701 # Make sure the directory exists.
21702 test -f "$dirpart/$file" && continue
21703 fdir
=`$as_dirname -- "$file" ||
21704 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21705 X"$file" : 'X\(//\)[^/]' \| \
21706 X"$file" : 'X\(//\)$' \| \
21707 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21713 /^X\(\/\/\)[^/].*/{
21726 { as_dir
=$dirpart/$fdir
21728 -*) as_dir
=.
/$as_dir;;
21730 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21734 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21735 *) as_qdir
=$as_dir;;
21737 as_dirs
="'$as_qdir' $as_dirs"
21738 as_dir
=`$as_dirname -- "$as_dir" ||
21739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21740 X"$as_dir" : 'X\(//\)[^/]' \| \
21741 X"$as_dir" : 'X\(//\)$' \| \
21742 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21748 /^X\(\/\/\)[^/].*/{
21761 test -d "$as_dir" && break
21763 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21764 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21765 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21766 { (exit 1); exit 1; }; }; }
21767 # echo "creating $dirpart/$file"
21768 echo '# dummy' > "$dirpart/$file"
21777 { (exit 0); exit 0; }
21779 chmod +x
$CONFIG_STATUS
21780 ac_clean_files
=$ac_clean_files_save
21783 # configure is writing to config.log, and then calls config.status.
21784 # config.status does its own redirection, appending to config.log.
21785 # Unfortunately, on DOS this fails, as config.log is still kept open
21786 # by configure, so config.status won't be able to write to it; its
21787 # output is simply discarded. So we exec the FD to /dev/null,
21788 # effectively closing config.log, so it can be properly (re)opened and
21789 # appended to by config.status. When coming back to configure, we
21790 # need to make the FD available again.
21791 if test "$no_create" != yes; then
21793 ac_config_status_args
=
21794 test "$silent" = yes &&
21795 ac_config_status_args
="$ac_config_status_args --quiet"
21797 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21799 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21800 # would make configure fail if this is the last instruction.
21801 $ac_cs_success ||
{ (exit 1); exit 1; }