2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL
=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec
; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo
; then
568 # Avoid inline document here, it may be left over
570 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $echo works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo
; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
591 if test -z "$ECHO"; then
592 if test "X${echo_test_string+set}" != Xset
; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
597 echo_test_string
=`eval $cmd` &&
598 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # The Solaris, AIX, and Digital Unix default echo programs unquote
611 # backslashes. This makes it impossible to quote backslashes using
612 # echo "$something" | sed 's/\\/\\\\/g'
614 # So, first we look for a working echo in the user's PATH.
616 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
617 for dir
in $PATH /usr
/ucb
; do
619 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
620 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622 test "X$echo_testing_string" = "X$echo_test_string"; then
629 if test "X$echo" = Xecho
; then
630 # We didn't find a better echo, so look for alternatives.
631 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # This shell has a builtin print -r that does the trick.
636 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
637 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
638 # If we have ksh, try running configure again with it.
639 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
640 export ORIGINAL_CONFIG_SHELL
641 CONFIG_SHELL
=/bin
/ksh
643 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
652 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653 test "X$echo_testing_string" = 'X\t' &&
654 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
658 SHELL
="$CONFIG_SHELL"
660 echo="$CONFIG_SHELL $0 --fallback-echo"
661 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662 test "X$echo_testing_string" = 'X\t' &&
663 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664 test "X$echo_testing_string" = "X$echo_test_string"; then
665 echo="$CONFIG_SHELL $0 --fallback-echo"
667 # maybe with a smaller string...
670 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
678 if test "$prev" != 'sed 50q "$0"'; then
679 echo_test_string
=`eval $prev`
680 export echo_test_string
681 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683 # Oops. We lost completely, so just stick with echo.
692 # Copy echo and quote the copy suitably for passing to libtool from
693 # the Makefile, instead of quoting the original, which is used later.
695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702 tagnames
=${tagnames+${tagnames},}CXX
704 tagnames
=${tagnames+${tagnames},}F77
706 exec 7<&0 </dev
/null
6>&1
709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
716 ac_default_prefix
=/usr
/local
718 ac_config_libobj_dir
=.
724 SHELL
=${CONFIG_SHELL-/bin/sh}
726 # Identity of this package.
733 ac_unique_file
="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 && continue
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 variants of GNU ld 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 lds 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'
4468 if test "$GCC" = yes; then
4469 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4471 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4476 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4477 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4478 if test "${lt_cv_path_NM+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 if test -n "$NM"; then
4482 # Let the user override the test.
4485 lt_nm_to_check
="${ac_tool_prefix}nm"
4486 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4487 lt_nm_to_check
="$lt_nm_to_check nm"
4489 for lt_tmp_nm
in $lt_nm_to_check; do
4490 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4491 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4493 test -z "$ac_dir" && ac_dir
=.
4494 tmp_nm
="$ac_dir/$lt_tmp_nm"
4495 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4496 # Check to see if the nm accepts a BSD-compat flag.
4497 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4498 # nm: unknown option "B" ignored
4499 # Tru64's nm complains that /dev/null is an invalid object file
4500 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4501 */dev
/null
* |
*'Invalid file or object type'*)
4502 lt_cv_path_NM
="$tmp_nm -B"
4506 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4508 lt_cv_path_NM
="$tmp_nm -p"
4512 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4513 continue # so that we can try to find one that supports BSD flags
4522 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4525 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4526 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4529 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4530 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4532 if test "$LN_S" = "ln -s"; then
4533 { echo "$as_me:$LINENO: result: yes" >&5
4534 echo "${ECHO_T}yes" >&6; }
4536 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4537 echo "${ECHO_T}no, using $LN_S" >&6; }
4540 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4541 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4542 if test "${lt_cv_deplibs_check_method+set}" = set; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4546 lt_cv_file_magic_test_file
=
4547 lt_cv_deplibs_check_method
='unknown'
4548 # Need to set the preceding variable on all platforms that support
4549 # interlibrary dependencies.
4550 # 'none' -- dependencies not supported.
4551 # `unknown' -- same as none, but documents that we really don't know.
4552 # 'pass_all' -- all dependencies passed with no checks.
4553 # 'test_compile' -- check by making test program.
4554 # 'file_magic [[regex]]' -- check by looking for files in library path
4555 # which responds to the $file_magic_cmd with a given extended regex.
4556 # If you have `file' or equivalent on your system and you're not sure
4557 # whether `pass_all' will *always* work, you probably want this one.
4561 lt_cv_deplibs_check_method
=pass_all
4565 lt_cv_deplibs_check_method
=pass_all
4569 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4570 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4571 lt_cv_file_magic_test_file
=/shlib
/libc.so
4575 # func_win32_libid is a shell function defined in ltmain.sh
4576 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4577 lt_cv_file_magic_cmd
='func_win32_libid'
4581 # Base MSYS/MinGW do not provide the 'file' command needed by
4582 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4583 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4584 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4587 darwin
* | rhapsody
*)
4588 lt_cv_deplibs_check_method
=pass_all
4591 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4592 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4595 # Not sure whether the presence of OpenBSD here was a mistake.
4596 # Let's accept both of them until this is cleared up.
4597 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4598 lt_cv_file_magic_cmd
=/usr
/bin
/file
4599 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4603 lt_cv_deplibs_check_method
=pass_all
4608 lt_cv_deplibs_check_method
=pass_all
4611 hpux10.20
* | hpux11
*)
4612 lt_cv_file_magic_cmd
=/usr
/bin
/file
4615 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4616 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4619 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]'
4620 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4623 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4624 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4630 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4631 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4634 irix5
* | irix6
* | nonstopux
*)
4636 *-32|
*"-32 ") libmagic
=32-bit;;
4637 *-n32|
*"-n32 ") libmagic
=N32
;;
4638 *-64|
*"-64 ") libmagic
=64-bit;;
4639 *) libmagic
=never-match
;;
4641 lt_cv_deplibs_check_method
=pass_all
4644 # This must be Linux ELF.
4646 lt_cv_deplibs_check_method
=pass_all
4650 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4651 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4653 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4658 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4659 lt_cv_file_magic_cmd
=/usr
/bin
/file
4660 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4664 lt_cv_deplibs_check_method
=unknown
4668 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4669 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4671 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4675 osf3
* | osf4
* | osf5
*)
4676 lt_cv_deplibs_check_method
=pass_all
4680 lt_cv_deplibs_check_method
=pass_all
4684 case $host_vendor in
4686 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]'
4687 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4690 lt_cv_deplibs_check_method
=pass_all
4693 lt_cv_file_magic_cmd
='/bin/file'
4694 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4697 lt_cv_file_magic_cmd
='/bin/file'
4698 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4699 lt_cv_file_magic_test_file
=/lib
/libc.so
4702 lt_cv_deplibs_check_method
=pass_all
4705 lt_cv_deplibs_check_method
=pass_all
4710 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4711 lt_cv_deplibs_check_method
=pass_all
4716 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4717 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4718 file_magic_cmd
=$lt_cv_file_magic_cmd
4719 deplibs_check_method
=$lt_cv_deplibs_check_method
4720 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4725 # If no C compiler was specified, use CC.
4728 # If no C compiler flags were specified, use CFLAGS.
4729 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4731 # Allow CC to be a program name with arguments.
4735 # Check whether --enable-libtool-lock was given.
4736 if test "${enable_libtool_lock+set}" = set; then
4737 enableval
=$enable_libtool_lock;
4740 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4742 # Some flags need to be propagated to the compiler or linker for good
4746 # Find out which ABI we are using.
4747 echo 'int i;' > conftest.
$ac_ext
4748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4749 (eval $ac_compile) 2>&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; then
4753 case `/usr/bin/file conftest.$ac_objext` in
4765 # Find out which ABI we are using.
4766 echo '#line 4766 "configure"' > conftest.
$ac_ext
4767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4768 (eval $ac_compile) 2>&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); }; then
4772 if test "$lt_cv_prog_gnu_ld" = yes; then
4773 case `/usr/bin/file conftest.$ac_objext` in
4775 LD
="${LD-ld} -melf32bsmip"
4778 LD
="${LD-ld} -melf32bmipn32"
4781 LD
="${LD-ld} -melf64bmip"
4785 case `/usr/bin/file conftest.$ac_objext` in
4801 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4802 # Find out which ABI we are using.
4803 echo 'int i;' > conftest.
$ac_ext
4804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4805 (eval $ac_compile) 2>&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); }; then
4809 case `/usr/bin/file conftest.o` in
4813 LD
="${LD-ld} -m elf_i386"
4815 ppc64-
*linux
*|powerpc64-
*linux
*)
4816 LD
="${LD-ld} -m elf32ppclinux"
4819 LD
="${LD-ld} -m elf_s390"
4822 LD
="${LD-ld} -m elf32_sparc"
4829 LD
="${LD-ld} -m elf_x86_64"
4831 ppc
*-*linux
*|powerpc
*-*linux
*)
4832 LD
="${LD-ld} -m elf64ppc"
4835 LD
="${LD-ld} -m elf64_s390"
4838 LD
="${LD-ld} -m elf64_sparc"
4848 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4849 SAVE_CFLAGS
="$CFLAGS"
4850 CFLAGS
="$CFLAGS -belf"
4851 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4852 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4853 if test "${lt_cv_cc_needs_belf+set}" = set; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4857 ac_cpp
='$CPP $CPPFLAGS'
4858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4862 cat >conftest.
$ac_ext <<_ACEOF
4865 cat confdefs.h
>>conftest.
$ac_ext
4866 cat >>conftest.
$ac_ext <<_ACEOF
4867 /* end confdefs.h. */
4877 rm -f conftest.
$ac_objext conftest
$ac_exeext
4878 if { (ac_try
="$ac_link"
4880 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4881 *) ac_try_echo=$ac_try;;
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884 (eval "$ac_link") 2>conftest.er1
4886 grep -v '^ *+' conftest.er1 >conftest.err
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } && {
4891 test -z "$ac_c_werror_flag" ||
4892 test ! -s conftest.err
4893 } && test -s conftest$ac_exeext &&
4894 $as_test_x conftest$ac_exeext; then
4895 lt_cv_cc_needs_belf=yes
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 lt_cv_cc_needs_belf=no
4903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4904 conftest$ac_exeext conftest.$ac_ext
4906 ac_cpp='$CPP $CPPFLAGS'
4907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4912 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4913 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4914 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4915 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4916 CFLAGS="$SAVE_CFLAGS"
4920 # Find out which ABI we are using.
4921 echo 'int i;' > conftest.$ac_ext
4922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4923 (eval $ac_compile) 2>&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); }; then
4927 case `/usr
/bin
/file conftest.o
` in
4929 case $lt_cv_prog_gnu_ld in
4930 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4931 *) LD="${LD-ld} -64" ;;
4942 need_locks="$enable_libtool_lock"
4946 ac_cpp='$CPP $CPPFLAGS'
4947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4950 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4951 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4952 # On Suns, sometimes $CPP names a directory.
4953 if test -n "$CPP" && test -d "$CPP"; then
4956 if test -z "$CPP"; then
4957 if test "${ac_cv_prog_CPP+set}" = set; then
4958 echo $ECHO_N "(cached) $ECHO_C" >&6
4960 # Double quotes because CPP needs to be expanded
4961 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4964 for ac_c_preproc_warn_flag in '' yes
4966 # Use a header file that comes with gcc, so configuring glibc
4967 # with a fresh cross-compiler works.
4968 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4969 # <limits.h> exists even on freestanding compilers.
4970 # On the NeXT, cc -E runs the code through the compiler's parser,
4971 # not just through cpp. "Syntax error" is here to catch this case.
4972 cat >conftest.$ac_ext <<_ACEOF
4975 cat confdefs.h >>conftest.$ac_ext
4976 cat >>conftest.$ac_ext <<_ACEOF
4977 /* end confdefs.h. */
4979 # include <limits.h>
4981 # include <assert.h>
4985 if { (ac_try="$ac_cpp conftest.$ac_ext"
4987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4988 *) ac_try_echo
=$ac_try;;
4990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4991 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4993 grep -v '^ *+' conftest.er1
>conftest.err
4995 cat conftest.err
>&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); } >/dev
/null
&& {
4998 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4999 test ! -s conftest.err
5003 echo "$as_me: failed program was:" >&5
5004 sed 's/^/| /' conftest.
$ac_ext >&5
5006 # Broken: fails on valid input.
5010 rm -f conftest.err conftest.
$ac_ext
5012 # OK, works on sane cases. Now check whether nonexistent headers
5013 # can be detected and how.
5014 cat >conftest.
$ac_ext <<_ACEOF
5017 cat confdefs.h
>>conftest.
$ac_ext
5018 cat >>conftest.
$ac_ext <<_ACEOF
5019 /* end confdefs.h. */
5020 #include <ac_nonexistent.h>
5022 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5025 *) ac_try_echo=$ac_try;;
5027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5030 grep -v '^ *+' conftest.er1 >conftest.err
5032 cat conftest.err >&5
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); } >/dev/null && {
5035 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5036 test ! -s conftest.err
5038 # Broken: success on invalid input.
5041 echo "$as_me: failed program was:" >&5
5042 sed 's/^/| /' conftest.$ac_ext >&5
5044 # Passes both tests.
5049 rm -f conftest.err conftest.$ac_ext
5052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5053 rm -f conftest.err conftest.
$ac_ext
5054 if $ac_preproc_ok; then
5066 { echo "$as_me:$LINENO: result: $CPP" >&5
5067 echo "${ECHO_T}$CPP" >&6; }
5069 for ac_c_preproc_warn_flag
in '' yes
5071 # Use a header file that comes with gcc, so configuring glibc
5072 # with a fresh cross-compiler works.
5073 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5074 # <limits.h> exists even on freestanding compilers.
5075 # On the NeXT, cc -E runs the code through the compiler's parser,
5076 # not just through cpp. "Syntax error" is here to catch this case.
5077 cat >conftest.
$ac_ext <<_ACEOF
5080 cat confdefs.h
>>conftest.
$ac_ext
5081 cat >>conftest.
$ac_ext <<_ACEOF
5082 /* end confdefs.h. */
5084 # include <limits.h>
5086 # include <assert.h>
5090 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5093 *) ac_try_echo=$ac_try;;
5095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5098 grep -v '^ *+' conftest.er1 >conftest.err
5100 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } >/dev/null && {
5103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5104 test ! -s conftest.err
5108 echo "$as_me: failed program was:" >&5
5109 sed 's/^/| /' conftest.$ac_ext >&5
5111 # Broken: fails on valid input.
5115 rm -f conftest.err conftest.$ac_ext
5117 # OK, works on sane cases. Now check whether nonexistent headers
5118 # can be detected and how.
5119 cat >conftest.$ac_ext <<_ACEOF
5122 cat confdefs.h >>conftest.$ac_ext
5123 cat >>conftest.$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5125 #include <ac_nonexistent.h>
5127 if { (ac_try="$ac_cpp conftest.$ac_ext"
5129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5130 *) ac_try_echo
=$ac_try;;
5132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5135 grep -v '^ *+' conftest.er1
>conftest.err
5137 cat conftest.err
>&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); } >/dev
/null
&& {
5140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5141 test ! -s conftest.err
5143 # Broken: success on invalid input.
5146 echo "$as_me: failed program was:" >&5
5147 sed 's/^/| /' conftest.
$ac_ext >&5
5149 # Passes both tests.
5154 rm -f conftest.err conftest.
$ac_ext
5157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5158 rm -f conftest.err conftest.
$ac_ext
5159 if $ac_preproc_ok; then
5162 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5163 See \`config.log' for more details." >&5
5164 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5165 See \`config.log' for more details." >&2;}
5166 { (exit 1); exit 1; }; }
5170 ac_cpp
='$CPP $CPPFLAGS'
5171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5176 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5177 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5178 if test "${ac_cv_header_stdc+set}" = set; then
5179 echo $ECHO_N "(cached) $ECHO_C" >&6
5181 cat >conftest.
$ac_ext <<_ACEOF
5184 cat confdefs.h
>>conftest.
$ac_ext
5185 cat >>conftest.
$ac_ext <<_ACEOF
5186 /* end confdefs.h. */
5200 rm -f conftest.
$ac_objext
5201 if { (ac_try
="$ac_compile"
5203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5204 *) ac_try_echo=$ac_try;;
5206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5207 (eval "$ac_compile") 2>conftest.er1
5209 grep -v '^ *+' conftest.er1 >conftest.err
5211 cat conftest.err >&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); } && {
5214 test -z "$ac_c_werror_flag" ||
5215 test ! -s conftest.err
5216 } && test -s conftest.$ac_objext; then
5217 ac_cv_header_stdc=yes
5219 echo "$as_me: failed program was:" >&5
5220 sed 's/^/| /' conftest.$ac_ext >&5
5222 ac_cv_header_stdc=no
5225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5227 if test $ac_cv_header_stdc = yes; then
5228 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5229 cat >conftest.$ac_ext <<_ACEOF
5232 cat confdefs.h >>conftest.$ac_ext
5233 cat >>conftest.$ac_ext <<_ACEOF
5234 /* end confdefs.h. */
5238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5239 $EGREP "memchr" >/dev/null 2>&1; then
5242 ac_cv_header_stdc=no
5248 if test $ac_cv_header_stdc = yes; then
5249 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5250 cat >conftest.$ac_ext <<_ACEOF
5253 cat confdefs.h >>conftest.$ac_ext
5254 cat >>conftest.$ac_ext <<_ACEOF
5255 /* end confdefs.h. */
5259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5260 $EGREP "free" >/dev/null 2>&1; then
5263 ac_cv_header_stdc=no
5269 if test $ac_cv_header_stdc = yes; then
5270 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5271 if test "$cross_compiling" = yes; then
5274 cat >conftest.$ac_ext <<_ACEOF
5277 cat confdefs.h >>conftest.$ac_ext
5278 cat >>conftest.$ac_ext <<_ACEOF
5279 /* end confdefs.h. */
5282 #if ((' ' & 0x0FF) == 0x020)
5283 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5284 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5286 # define ISLOWER(c) \
5287 (('a' <= (c) && (c) <= 'i') \
5288 || ('j' <= (c) && (c) <= 'r') \
5289 || ('s' <= (c) && (c) <= 'z'))
5290 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5293 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5298 for (i = 0; i < 256; i++)
5299 if (XOR (islower (i), ISLOWER (i))
5300 || toupper (i) != TOUPPER (i))
5305 rm -f conftest$ac_exeext
5306 if { (ac_try="$ac_link"
5308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5309 *) ac_try_echo
=$ac_try;;
5311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5312 (eval "$ac_link") 2>&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5316 { (case "(($ac_try" in
5317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5318 *) ac_try_echo=$ac_try;;
5320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5321 (eval "$ac_try") 2>&5
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); }; }; then
5327 echo "$as_me: program exited with status $ac_status" >&5
5328 echo "$as_me: failed program was:" >&5
5329 sed 's/^/| /' conftest.$ac_ext >&5
5332 ac_cv_header_stdc=no
5334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5340 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5341 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5342 if test $ac_cv_header_stdc = yes; then
5344 cat >>confdefs.h <<\_ACEOF
5345 #define STDC_HEADERS 1
5350 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5360 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5361 inttypes.h stdint.h unistd.h
5363 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5367 echo $ECHO_N "(cached) $ECHO_C" >&6
5369 cat >conftest.$ac_ext <<_ACEOF
5372 cat confdefs.h >>conftest.$ac_ext
5373 cat >>conftest.$ac_ext <<_ACEOF
5374 /* end confdefs.h. */
5375 $ac_includes_default
5377 #include <$ac_header>
5379 rm -f conftest.$ac_objext
5380 if { (ac_try="$ac_compile"
5382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5383 *) ac_try_echo
=$ac_try;;
5385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5386 (eval "$ac_compile") 2>conftest.er1
5388 grep -v '^ *+' conftest.er1
>conftest.err
5390 cat conftest.err
>&5
5391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392 (exit $ac_status); } && {
5393 test -z "$ac_c_werror_flag" ||
5394 test ! -s conftest.err
5395 } && test -s conftest.
$ac_objext; then
5396 eval "$as_ac_Header=yes"
5398 echo "$as_me: failed program was:" >&5
5399 sed 's/^/| /' conftest.
$ac_ext >&5
5401 eval "$as_ac_Header=no"
5404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5406 ac_res
=`eval echo '${'$as_ac_Header'}'`
5407 { echo "$as_me:$LINENO: result: $ac_res" >&5
5408 echo "${ECHO_T}$ac_res" >&6; }
5409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5410 cat >>confdefs.h
<<_ACEOF
5411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5420 for ac_header
in dlfcn.h
5422 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5423 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5424 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5426 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5429 ac_res
=`eval echo '${'$as_ac_Header'}'`
5430 { echo "$as_me:$LINENO: result: $ac_res" >&5
5431 echo "${ECHO_T}$ac_res" >&6; }
5433 # Is the header compilable?
5434 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5436 cat >conftest.
$ac_ext <<_ACEOF
5439 cat confdefs.h
>>conftest.
$ac_ext
5440 cat >>conftest.
$ac_ext <<_ACEOF
5441 /* end confdefs.h. */
5442 $ac_includes_default
5443 #include <$ac_header>
5445 rm -f conftest.
$ac_objext
5446 if { (ac_try
="$ac_compile"
5448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5449 *) ac_try_echo=$ac_try;;
5451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5452 (eval "$ac_compile") 2>conftest.er1
5454 grep -v '^ *+' conftest.er1 >conftest.err
5456 cat conftest.err >&5
5457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 (exit $ac_status); } && {
5459 test -z "$ac_c_werror_flag" ||
5460 test ! -s conftest.err
5461 } && test -s conftest.$ac_objext; then
5462 ac_header_compiler=yes
5464 echo "$as_me: failed program was:" >&5
5465 sed 's/^/| /' conftest.$ac_ext >&5
5467 ac_header_compiler=no
5470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5471 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5472 echo "${ECHO_T}$ac_header_compiler" >&6; }
5474 # Is the header present?
5475 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5477 cat >conftest.$ac_ext <<_ACEOF
5480 cat confdefs.h >>conftest.$ac_ext
5481 cat >>conftest.$ac_ext <<_ACEOF
5482 /* end confdefs.h. */
5483 #include <$ac_header>
5485 if { (ac_try="$ac_cpp conftest.$ac_ext"
5487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5488 *) ac_try_echo
=$ac_try;;
5490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5493 grep -v '^ *+' conftest.er1
>conftest.err
5495 cat conftest.err
>&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } >/dev
/null
&& {
5498 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5499 test ! -s conftest.err
5501 ac_header_preproc
=yes
5503 echo "$as_me: failed program was:" >&5
5504 sed 's/^/| /' conftest.
$ac_ext >&5
5506 ac_header_preproc
=no
5509 rm -f conftest.err conftest.
$ac_ext
5510 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5511 echo "${ECHO_T}$ac_header_preproc" >&6; }
5513 # So? What about this header?
5514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5520 ac_header_preproc
=yes
5523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5540 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5541 echo $ECHO_N "(cached) $ECHO_C" >&6
5543 eval "$as_ac_Header=\$ac_header_preproc"
5545 ac_res
=`eval echo '${'$as_ac_Header'}'`
5546 { echo "$as_me:$LINENO: result: $ac_res" >&5
5547 echo "${ECHO_T}$ac_res" >&6; }
5550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5551 cat >>confdefs.h
<<_ACEOF
5552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5561 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5562 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5563 (test "X$CXX" != "Xg++"))) ; then
5565 ac_cpp
='$CXXCPP $CPPFLAGS'
5566 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5567 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5568 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5569 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5570 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5571 if test -z "$CXXCPP"; then
5572 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5573 echo $ECHO_N "(cached) $ECHO_C" >&6
5575 # Double quotes because CXXCPP needs to be expanded
5576 for CXXCPP
in "$CXX -E" "/lib/cpp"
5579 for ac_cxx_preproc_warn_flag
in '' yes
5581 # Use a header file that comes with gcc, so configuring glibc
5582 # with a fresh cross-compiler works.
5583 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5584 # <limits.h> exists even on freestanding compilers.
5585 # On the NeXT, cc -E runs the code through the compiler's parser,
5586 # not just through cpp. "Syntax error" is here to catch this case.
5587 cat >conftest.
$ac_ext <<_ACEOF
5590 cat confdefs.h
>>conftest.
$ac_ext
5591 cat >>conftest.
$ac_ext <<_ACEOF
5592 /* end confdefs.h. */
5594 # include <limits.h>
5596 # include <assert.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
5618 echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.$ac_ext >&5
5621 # Broken: fails on valid input.
5625 rm -f conftest.err conftest.$ac_ext
5627 # OK, works on sane cases. Now check whether nonexistent headers
5628 # can be detected and how.
5629 cat >conftest.$ac_ext <<_ACEOF
5632 cat confdefs.h >>conftest.$ac_ext
5633 cat >>conftest.$ac_ext <<_ACEOF
5634 /* end confdefs.h. */
5635 #include <ac_nonexistent.h>
5637 if { (ac_try="$ac_cpp conftest.$ac_ext"
5639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5640 *) ac_try_echo
=$ac_try;;
5642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5645 grep -v '^ *+' conftest.er1
>conftest.err
5647 cat conftest.err
>&5
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); } >/dev
/null
&& {
5650 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5651 test ! -s conftest.err
5653 # Broken: success on invalid input.
5656 echo "$as_me: failed program was:" >&5
5657 sed 's/^/| /' conftest.
$ac_ext >&5
5659 # Passes both tests.
5664 rm -f conftest.err conftest.
$ac_ext
5667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5668 rm -f conftest.err conftest.
$ac_ext
5669 if $ac_preproc_ok; then
5674 ac_cv_prog_CXXCPP
=$CXXCPP
5677 CXXCPP
=$ac_cv_prog_CXXCPP
5679 ac_cv_prog_CXXCPP
=$CXXCPP
5681 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5682 echo "${ECHO_T}$CXXCPP" >&6; }
5684 for ac_cxx_preproc_warn_flag
in '' yes
5686 # Use a header file that comes with gcc, so configuring glibc
5687 # with a fresh cross-compiler works.
5688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5689 # <limits.h> exists even on freestanding compilers.
5690 # On the NeXT, cc -E runs the code through the compiler's parser,
5691 # not just through cpp. "Syntax error" is here to catch this case.
5692 cat >conftest.
$ac_ext <<_ACEOF
5695 cat confdefs.h
>>conftest.
$ac_ext
5696 cat >>conftest.
$ac_ext <<_ACEOF
5697 /* end confdefs.h. */
5699 # include <limits.h>
5701 # include <assert.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
5723 echo "$as_me: failed program was:" >&5
5724 sed 's/^/| /' conftest.$ac_ext >&5
5726 # Broken: fails on valid input.
5730 rm -f conftest.err conftest.$ac_ext
5732 # OK, works on sane cases. Now check whether nonexistent headers
5733 # can be detected and how.
5734 cat >conftest.$ac_ext <<_ACEOF
5737 cat confdefs.h >>conftest.$ac_ext
5738 cat >>conftest.$ac_ext <<_ACEOF
5739 /* end confdefs.h. */
5740 #include <ac_nonexistent.h>
5742 if { (ac_try="$ac_cpp conftest.$ac_ext"
5744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5745 *) ac_try_echo
=$ac_try;;
5747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5750 grep -v '^ *+' conftest.er1
>conftest.err
5752 cat conftest.err
>&5
5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754 (exit $ac_status); } >/dev
/null
&& {
5755 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5756 test ! -s conftest.err
5758 # Broken: success on invalid input.
5761 echo "$as_me: failed program was:" >&5
5762 sed 's/^/| /' conftest.
$ac_ext >&5
5764 # Passes both tests.
5769 rm -f conftest.err conftest.
$ac_ext
5772 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5773 rm -f conftest.err conftest.
$ac_ext
5774 if $ac_preproc_ok; then
5777 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5778 See \`config.log' for more details." >&5
5779 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5780 See \`config.log' for more details." >&2;}
5781 { (exit 1); exit 1; }; }
5785 ac_cpp
='$CXXCPP $CPPFLAGS'
5786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5794 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5795 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5796 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5797 if test -n "$ac_tool_prefix"; then
5798 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
5800 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5801 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5804 if test "${ac_cv_prog_F77+set}" = set; then
5805 echo $ECHO_N "(cached) $ECHO_C" >&6
5807 if test -n "$F77"; then
5808 ac_cv_prog_F77
="$F77" # Let the user override the test.
5810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5814 test -z "$as_dir" && as_dir
=.
5815 for ac_exec_ext
in '' $ac_executable_extensions; do
5816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5817 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 if test -n "$F77"; then
5829 { echo "$as_me:$LINENO: result: $F77" >&5
5830 echo "${ECHO_T}$F77" >&6; }
5832 { echo "$as_me:$LINENO: result: no" >&5
5833 echo "${ECHO_T}no" >&6; }
5837 test -n "$F77" && break
5840 if test -z "$F77"; then
5842 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
5844 # Extract the first word of "$ac_prog", so it can be a program name with args.
5845 set dummy
$ac_prog; ac_word
=$2
5846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5848 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5849 echo $ECHO_N "(cached) $ECHO_C" >&6
5851 if test -n "$ac_ct_F77"; then
5852 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5858 test -z "$as_dir" && as_dir
=.
5859 for ac_exec_ext
in '' $ac_executable_extensions; do
5860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5861 ac_cv_prog_ac_ct_F77
="$ac_prog"
5862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5872 if test -n "$ac_ct_F77"; then
5873 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5874 echo "${ECHO_T}$ac_ct_F77" >&6; }
5876 { echo "$as_me:$LINENO: result: no" >&5
5877 echo "${ECHO_T}no" >&6; }
5881 test -n "$ac_ct_F77" && break
5884 if test "x$ac_ct_F77" = x
; then
5887 case $cross_compiling:$ac_tool_warned in
5889 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5890 whose name does not start with the host triplet. If you think this
5891 configuration is useful to you, please write to autoconf@gnu.org." >&5
5892 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5893 whose name does not start with the host triplet. If you think this
5894 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5895 ac_tool_warned
=yes ;;
5902 # Provide some information about the compiler.
5903 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5904 ac_compiler
=`set X $ac_compile; echo $2`
5905 { (ac_try
="$ac_compiler --version >&5"
5907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5908 *) ac_try_echo=$ac_try;;
5910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5911 (eval "$ac_compiler --version >&5") 2>&5
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); }
5915 { (ac_try="$ac_compiler -v >&5"
5917 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5918 *) ac_try_echo
=$ac_try;;
5920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5921 (eval "$ac_compiler -v >&5") 2>&5
5923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924 (exit $ac_status); }
5925 { (ac_try
="$ac_compiler -V >&5"
5927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5928 *) ac_try_echo=$ac_try;;
5930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5931 (eval "$ac_compiler -V >&5") 2>&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }
5937 # If we don't use `.F
' as extension, the preprocessor is not run on the
5938 # input file. (Note that this only needs to work for GNU compilers.)
5941 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5942 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5943 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5944 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 cat >conftest.$ac_ext <<_ACEOF
5954 rm -f conftest.$ac_objext
5955 if { (ac_try="$ac_compile"
5957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5958 *) ac_try_echo=$ac_try;;
5960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5961 (eval "$ac_compile") 2>conftest.er1
5963 grep -v '^
*+' conftest.er1 >conftest.err
5965 cat conftest.err >&5
5966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); } && {
5968 test -z "$ac_f77_werror_flag" ||
5969 test ! -s conftest.err
5970 } && test -s conftest.$ac_objext; then
5973 echo "$as_me: failed program was:" >&5
5974 sed 's
/^
/|
/' conftest.$ac_ext >&5
5979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5980 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5983 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5984 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5986 ac_test_FFLAGS=${FFLAGS+set}
5987 ac_save_FFLAGS=$FFLAGS
5989 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5990 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5991 if test "${ac_cv_prog_f77_g+set}" = set; then
5992 echo $ECHO_N "(cached) $ECHO_C" >&6
5995 cat >conftest.$ac_ext <<_ACEOF
6000 rm -f conftest.$ac_objext
6001 if { (ac_try="$ac_compile"
6003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6004 *) ac_try_echo=$ac_try;;
6006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6007 (eval "$ac_compile") 2>conftest.er1
6009 grep -v '^
*+' conftest.er1 >conftest.err
6011 cat conftest.err >&5
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); } && {
6014 test -z "$ac_f77_werror_flag" ||
6015 test ! -s conftest.err
6016 } && test -s conftest.$ac_objext; then
6017 ac_cv_prog_f77_g=yes
6019 echo "$as_me: failed program was:" >&5
6020 sed 's
/^
/|
/' conftest.$ac_ext >&5
6025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6028 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6029 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6030 if test "$ac_test_FFLAGS" = set; then
6031 FFLAGS=$ac_save_FFLAGS
6032 elif test $ac_cv_prog_f77_g = yes; then
6033 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6039 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6046 G77=`test $ac_compiler_gnu = yes && echo yes`
6048 ac_cpp='$CXXCPP $CPPFLAGS'
6049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6050 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6055 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6057 # find the maximum length of command line arguments
6058 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6059 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6060 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6068 # On DJGPP, this test can blow up pretty badly due to problems in libc
6069 # (any single argument exceeding 2000 bytes causes a buffer overrun
6070 # during glob expansion). Even if it were fixed, the result of this
6071 # check would be larger than it should be.
6072 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6076 # Under GNU Hurd, this test is not required because there is
6077 # no limit to the length of command line arguments.
6078 # Libtool will interpret -1 as no limit whatsoever
6079 lt_cv_sys_max_cmd_len
=-1;
6083 # On Win9x/ME, this test blows up -- it succeeds, but takes
6084 # about 5 minutes as the teststring grows exponentially.
6085 # Worse, since 9x/ME are not pre-emptively multitasking,
6086 # you end up with a "frozen" computer, even though with patience
6087 # the test eventually succeeds (with a max line length of 256k).
6088 # Instead, let's just punt: use the minimum linelength reported by
6089 # all of the supported platforms: 8192 (on NT/2K/XP).
6090 lt_cv_sys_max_cmd_len
=8192;
6094 # On AmigaOS with pdksh, this test takes hours, literally.
6095 # So we just punt and use a minimum line length of 8192.
6096 lt_cv_sys_max_cmd_len
=8192;
6099 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6100 # This has been around since 386BSD, at least. Likely further.
6101 if test -x /sbin
/sysctl
; then
6102 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6103 elif test -x /usr
/sbin
/sysctl
; then
6104 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6106 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6108 # And add a safety zone
6109 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6110 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6114 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6115 lt_cv_sys_max_cmd_len
=196608
6119 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6120 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6121 # nice to cause kernel panics so lets avoid the loop below.
6122 # First set a reasonable default.
6123 lt_cv_sys_max_cmd_len
=16384
6125 if test -x /sbin
/sysconfig
; then
6126 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6127 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6132 lt_cv_sys_max_cmd_len
=102400
6134 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6135 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6136 if test -n "$kargmax"; then
6137 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6139 lt_cv_sys_max_cmd_len
=32768
6143 # If test is not a shell built-in, we'll probably end up computing a
6144 # maximum length that is only half of the actual maximum length, but
6146 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6147 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6148 = "XX$teststring") >/dev
/null
2>&1 &&
6149 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6150 lt_cv_sys_max_cmd_len
=$new_result &&
6151 test $i != 17 # 1/2 MB should be enough
6154 teststring
=$teststring$teststring
6157 # Add a significant safety factor because C++ compilers can tack on massive
6158 # amounts of additional arguments before passing them to the linker.
6159 # It appears as though 1/2 is a usable value.
6160 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6166 if test -n $lt_cv_sys_max_cmd_len ; then
6167 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6168 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6170 { echo "$as_me:$LINENO: result: none" >&5
6171 echo "${ECHO_T}none" >&6; }
6177 # Check for command to grab the raw symbol name followed by C symbol from nm.
6178 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6179 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6180 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6184 # These are sane defaults that work on at least a few old systems.
6185 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6187 # Character class describing NM global symbol codes.
6188 symcode
='[BCDEGRST]'
6190 # Regexp to match symbols that can be accessed directly from C.
6191 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6193 # Transform an extracted symbol line into a proper C declaration
6194 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6196 # Transform an extracted symbol line into symbol name and symbol address
6197 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'"
6199 # Define system-specific variables.
6204 cygwin
* | mingw
* | pw32
*)
6205 symcode
='[ABCDGISTW]'
6207 hpux
*) # Its linker distinguishes data from code symbols
6208 if test "$host_cpu" = ia64
; then
6209 symcode
='[ABCDEGRST]'
6211 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6212 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'"
6215 if test "$host_cpu" = ia64
; then
6216 symcode
='[ABCDGIRSTW]'
6217 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6218 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'"
6222 symcode
='[BCDEGRST]'
6225 symcode
='[BCDEGQRST]'
6236 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6244 # Handle CRLF in mingw tool chain
6248 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6252 # If we're using GNU nm, then use its standard symbol codes.
6253 case `$NM -V 2>&1` in
6254 *GNU
* |
*'with BFD'*)
6255 symcode
='[ABCDGIRSTW]' ;;
6258 # Try without a prefix undercore, then with it.
6259 for ac_symprfx
in "" "_"; do
6261 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6262 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6264 # Write the raw and C identifiers.
6265 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6267 # Check to see that the pipe works correctly.
6271 cat > conftest.
$ac_ext <<EOF
6276 void nm_test_func(){}
6280 int main(){nm_test_var='a';nm_test_func();return(0);}
6283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6284 (eval $ac_compile) 2>&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); }; then
6288 # Now try to grab the symbols.
6290 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6291 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); } && test -s "$nlist"; then
6295 # Try sorting and uniquifying the output.
6296 if sort "$nlist" |
uniq > "$nlist"T
; then
6297 mv -f "$nlist"T
"$nlist"
6302 # Make sure that we snagged all the symbols we need.
6303 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6304 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6305 cat <<EOF > conftest.$ac_ext
6311 # Now generate the symbol file.
6312 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6314 cat <<EOF >> conftest.$ac_ext
6315 #if defined (__STDC__) && __STDC__
6316 # define lt_ptr_t void *
6318 # define lt_ptr_t char *
6322 /* The mapping between symbol names and symbols. */
6327 lt_preloaded_symbols[] =
6330 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6331 cat <<\EOF
>> conftest.
$ac_ext
6339 # Now try linking the two files.
6340 mv conftest.
$ac_objext conftstm.
$ac_objext
6341 lt_save_LIBS
="$LIBS"
6342 lt_save_CFLAGS
="$CFLAGS"
6343 LIBS
="conftstm.$ac_objext"
6344 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6346 (eval $ac_link) 2>&5
6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6352 LIBS
="$lt_save_LIBS"
6353 CFLAGS
="$lt_save_CFLAGS"
6355 echo "cannot find nm_test_func in $nlist" >&5
6358 echo "cannot find nm_test_var in $nlist" >&5
6361 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6364 echo "$progname: failed program was:" >&5
6365 cat conftest.
$ac_ext >&5
6367 rm -f conftest
* conftst
*
6369 # Do not use the global_symbol_pipe unless it works.
6370 if test "$pipe_works" = yes; then
6373 lt_cv_sys_global_symbol_pipe
=
6379 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6380 lt_cv_sys_global_symbol_to_cdecl
=
6382 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6383 { echo "$as_me:$LINENO: result: failed" >&5
6384 echo "${ECHO_T}failed" >&6; }
6386 { echo "$as_me:$LINENO: result: ok" >&5
6387 echo "${ECHO_T}ok" >&6; }
6390 { echo "$as_me:$LINENO: checking for objdir" >&5
6391 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6392 if test "${lt_cv_objdir+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6395 rm -f .libs
2>/dev
/null
6396 mkdir .libs
2>/dev
/null
6397 if test -d .libs
; then
6400 # MS-DOS does not allow filenames that begin with a dot.
6403 rmdir .libs
2>/dev
/null
6405 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6406 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6407 objdir
=$lt_cv_objdir
6415 # AIX sometimes has problems with the GCC collect2 program. For some
6416 # reason, if we set the COLLECT_NAMES environment variable, the problems
6417 # vanish in a puff of smoke.
6418 if test "X${COLLECT_NAMES+set}" != Xset
; then
6420 export COLLECT_NAMES
6425 # Sed substitution that helps us do robust quoting. It backslashifies
6426 # metacharacters that are still active within double-quoted strings.
6427 Xsed
='sed -e 1s/^X//'
6428 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6430 # Same as above, but do not quote variable references.
6431 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6433 # Sed substitution to delay expansion of an escaped shell variable in a
6434 # double_quote_subst'ed string.
6435 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6437 # Sed substitution to avoid accidental globbing in evaled expressions
6438 no_glob_subst
='s/\*/\\\*/g'
6444 default_ofile
=libtool
6445 can_build_shared
=yes
6447 # All known linkers require a `.a' archive for static linking (except MSVC,
6448 # which needs '.lib').
6450 ltmain
="$ac_aux_dir/ltmain.sh"
6451 ofile
="$default_ofile"
6452 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6454 if test -n "$ac_tool_prefix"; then
6455 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6456 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6459 if test "${ac_cv_prog_AR+set}" = set; then
6460 echo $ECHO_N "(cached) $ECHO_C" >&6
6462 if test -n "$AR"; then
6463 ac_cv_prog_AR
="$AR" # Let the user override the test.
6465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6469 test -z "$as_dir" && as_dir
=.
6470 for ac_exec_ext
in '' $ac_executable_extensions; do
6471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 if test -n "$AR"; then
6484 { echo "$as_me:$LINENO: result: $AR" >&5
6485 echo "${ECHO_T}$AR" >&6; }
6487 { echo "$as_me:$LINENO: result: no" >&5
6488 echo "${ECHO_T}no" >&6; }
6493 if test -z "$ac_cv_prog_AR"; then
6495 # Extract the first word of "ar", so it can be a program name with args.
6496 set dummy
ar; ac_word
=$2
6497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6499 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6500 echo $ECHO_N "(cached) $ECHO_C" >&6
6502 if test -n "$ac_ct_AR"; then
6503 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6509 test -z "$as_dir" && as_dir
=.
6510 for ac_exec_ext
in '' $ac_executable_extensions; do
6511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6512 ac_cv_prog_ac_ct_AR
="ar"
6513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6523 if test -n "$ac_ct_AR"; then
6524 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6525 echo "${ECHO_T}$ac_ct_AR" >&6; }
6527 { echo "$as_me:$LINENO: result: no" >&5
6528 echo "${ECHO_T}no" >&6; }
6531 if test "x$ac_ct_AR" = x
; then
6534 case $cross_compiling:$ac_tool_warned in
6536 { echo "$as_me:$LINENO: 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." >&5
6539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6540 whose name does not start with the host triplet. If you think this
6541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6542 ac_tool_warned
=yes ;;
6550 if test -n "$ac_tool_prefix"; then
6551 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6552 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6555 if test "${ac_cv_prog_RANLIB+set}" = set; then
6556 echo $ECHO_N "(cached) $ECHO_C" >&6
6558 if test -n "$RANLIB"; then
6559 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6565 test -z "$as_dir" && as_dir
=.
6566 for ac_exec_ext
in '' $ac_executable_extensions; do
6567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 RANLIB
=$ac_cv_prog_RANLIB
6579 if test -n "$RANLIB"; then
6580 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6581 echo "${ECHO_T}$RANLIB" >&6; }
6583 { echo "$as_me:$LINENO: result: no" >&5
6584 echo "${ECHO_T}no" >&6; }
6589 if test -z "$ac_cv_prog_RANLIB"; then
6590 ac_ct_RANLIB
=$RANLIB
6591 # Extract the first word of "ranlib", so it can be a program name with args.
6592 set dummy ranlib
; ac_word
=$2
6593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6595 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6596 echo $ECHO_N "(cached) $ECHO_C" >&6
6598 if test -n "$ac_ct_RANLIB"; then
6599 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6605 test -z "$as_dir" && as_dir
=.
6606 for ac_exec_ext
in '' $ac_executable_extensions; do
6607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6608 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6619 if test -n "$ac_ct_RANLIB"; then
6620 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6621 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6623 { echo "$as_me:$LINENO: result: no" >&5
6624 echo "${ECHO_T}no" >&6; }
6627 if test "x$ac_ct_RANLIB" = x
; then
6630 case $cross_compiling:$ac_tool_warned in
6632 { echo "$as_me:$LINENO: 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." >&5
6635 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6636 whose name does not start with the host triplet. If you think this
6637 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6638 ac_tool_warned
=yes ;;
6640 RANLIB
=$ac_ct_RANLIB
6643 RANLIB
="$ac_cv_prog_RANLIB"
6646 if test -n "$ac_tool_prefix"; then
6647 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6648 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6651 if test "${ac_cv_prog_STRIP+set}" = set; then
6652 echo $ECHO_N "(cached) $ECHO_C" >&6
6654 if test -n "$STRIP"; then
6655 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6661 test -z "$as_dir" && as_dir
=.
6662 for ac_exec_ext
in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6674 STRIP
=$ac_cv_prog_STRIP
6675 if test -n "$STRIP"; then
6676 { echo "$as_me:$LINENO: result: $STRIP" >&5
6677 echo "${ECHO_T}$STRIP" >&6; }
6679 { echo "$as_me:$LINENO: result: no" >&5
6680 echo "${ECHO_T}no" >&6; }
6685 if test -z "$ac_cv_prog_STRIP"; then
6687 # Extract the first word of "strip", so it can be a program name with args.
6688 set dummy strip
; ac_word
=$2
6689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6691 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6692 echo $ECHO_N "(cached) $ECHO_C" >&6
6694 if test -n "$ac_ct_STRIP"; then
6695 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6701 test -z "$as_dir" && as_dir
=.
6702 for ac_exec_ext
in '' $ac_executable_extensions; do
6703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6704 ac_cv_prog_ac_ct_STRIP
="strip"
6705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6714 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6715 if test -n "$ac_ct_STRIP"; then
6716 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6717 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6719 { echo "$as_me:$LINENO: result: no" >&5
6720 echo "${ECHO_T}no" >&6; }
6723 if test "x$ac_ct_STRIP" = x
; then
6726 case $cross_compiling:$ac_tool_warned in
6728 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6729 whose name does not start with the host triplet. If you think this
6730 configuration is useful to you, please write to autoconf@gnu.org." >&5
6731 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6732 whose name does not start with the host triplet. If you think this
6733 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6734 ac_tool_warned
=yes ;;
6739 STRIP
="$ac_cv_prog_STRIP"
6744 old_CFLAGS
="$CFLAGS"
6746 # Set sane defaults for various variables
6747 test -z "$AR" && AR
=ar
6748 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6749 test -z "$AS" && AS
=as
6750 test -z "$CC" && CC
=cc
6751 test -z "$LTCC" && LTCC
=$CC
6752 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6753 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6754 test -z "$LD" && LD
=ld
6755 test -z "$LN_S" && LN_S
="ln -s"
6756 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6757 test -z "$NM" && NM
=nm
6758 test -z "$SED" && SED
=sed
6759 test -z "$OBJDUMP" && OBJDUMP
=objdump
6760 test -z "$RANLIB" && RANLIB
=:
6761 test -z "$STRIP" && STRIP
=:
6762 test -z "$ac_objext" && ac_objext
=o
6764 # Determine commands to create old-style static archives.
6765 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6766 old_postinstall_cmds
='chmod 644 $oldlib'
6767 old_postuninstall_cmds
=
6769 if test -n "$RANLIB"; then
6772 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6775 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6778 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6781 for cc_temp
in $compiler""; do
6783 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6784 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6789 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6792 # Only perform the check for file, if the check method requires it
6793 case $deplibs_check_method in
6795 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6796 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6797 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6798 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6799 echo $ECHO_N "(cached) $ECHO_C" >&6
6803 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6806 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6807 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6808 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6809 for ac_dir
in $ac_dummy; do
6811 test -z "$ac_dir" && ac_dir
=.
6812 if test -f $ac_dir/${ac_tool_prefix}file; then
6813 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6814 if test -n "$file_magic_test_file"; then
6815 case $deplibs_check_method in
6817 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6818 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6819 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6820 $EGREP "$file_magic_regex" > /dev
/null
; then
6825 *** Warning: the command libtool uses to detect shared libraries,
6826 *** $file_magic_cmd, produces output that libtool cannot recognize.
6827 *** The result is that libtool may fail to recognize shared libraries
6828 *** as such. This will affect the creation of libtool libraries that
6829 *** depend on shared libraries, but programs linked with such libtool
6830 *** libraries will work regardless of this problem. Nevertheless, you
6831 *** may want to report the problem to your system manager and/or to
6832 *** bug-libtool@gnu.org
6842 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6847 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6848 if test -n "$MAGIC_CMD"; then
6849 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6850 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6852 { echo "$as_me:$LINENO: result: no" >&5
6853 echo "${ECHO_T}no" >&6; }
6856 if test -z "$lt_cv_path_MAGIC_CMD"; then
6857 if test -n "$ac_tool_prefix"; then
6858 { echo "$as_me:$LINENO: checking for file" >&5
6859 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6860 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6861 echo $ECHO_N "(cached) $ECHO_C" >&6
6865 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6868 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6869 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6870 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6871 for ac_dir
in $ac_dummy; do
6873 test -z "$ac_dir" && ac_dir
=.
6874 if test -f $ac_dir/file; then
6875 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6876 if test -n "$file_magic_test_file"; then
6877 case $deplibs_check_method in
6879 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6880 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6881 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6882 $EGREP "$file_magic_regex" > /dev
/null
; then
6887 *** Warning: the command libtool uses to detect shared libraries,
6888 *** $file_magic_cmd, produces output that libtool cannot recognize.
6889 *** The result is that libtool may fail to recognize shared libraries
6890 *** as such. This will affect the creation of libtool libraries that
6891 *** depend on shared libraries, but programs linked with such libtool
6892 *** libraries will work regardless of this problem. Nevertheless, you
6893 *** may want to report the problem to your system manager and/or to
6894 *** bug-libtool@gnu.org
6904 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6909 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6910 if test -n "$MAGIC_CMD"; then
6911 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6912 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6914 { echo "$as_me:$LINENO: result: no" >&5
6915 echo "${ECHO_T}no" >&6; }
6930 # Check whether --enable-libtool-lock was given.
6931 if test "${enable_libtool_lock+set}" = set; then
6932 enableval
=$enable_libtool_lock;
6935 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6938 # Check whether --with-pic was given.
6939 if test "${with_pic+set}" = set; then
6940 withval
=$with_pic; pic_mode
="$withval"
6945 test -z "$pic_mode" && pic_mode
=default
6947 # Use C for the default configuration in the libtool script
6951 ac_cpp
='$CPP $CPPFLAGS'
6952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6957 # Source file extension for C test sources.
6960 # Object file extension for compiled C test sources.
6964 # Code to be used in simple compile tests
6965 lt_simple_compile_test_code
="int some_variable = 0;\n"
6967 # Code to be used in simple link tests
6968 lt_simple_link_test_code
='int main(){return(0);}\n'
6971 # If no C compiler was specified, use CC.
6974 # If no C compiler flags were specified, use CFLAGS.
6975 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6977 # Allow CC to be a program name with arguments.
6981 # save warnings/boilerplate of simple test code
6982 ac_outfile
=conftest.
$ac_objext
6983 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6984 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6985 _lt_compiler_boilerplate
=`cat conftest.err`
6988 ac_outfile
=conftest.
$ac_objext
6989 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6990 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6991 _lt_linker_boilerplate
=`cat conftest.err`
6996 lt_prog_compiler_no_builtin_flag
=
6998 if test "$GCC" = yes; then
6999 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7002 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7003 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7004 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7005 echo $ECHO_N "(cached) $ECHO_C" >&6
7007 lt_cv_prog_compiler_rtti_exceptions
=no
7008 ac_outfile
=conftest.
$ac_objext
7009 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7010 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7011 # Insert the option either (1) after the last *FLAGS variable, or
7012 # (2) before a word containing "conftest.", or (3) at the end.
7013 # Note that $ac_compile itself does not contain backslashes and begins
7014 # with a dollar sign (not a hyphen), so the echo should work correctly.
7015 # The option is referenced via a variable to avoid confusing sed.
7016 lt_compile
=`echo "$ac_compile" | $SED \
7017 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7018 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7019 -e 's:$: $lt_compiler_flag:'`
7020 (eval echo "\"\$as_me:7020: $lt_compile\"" >&5)
7021 (eval "$lt_compile" 2>conftest.err
)
7023 cat conftest.err
>&5
7024 echo "$as_me:7024: \$? = $ac_status" >&5
7025 if (exit $ac_status) && test -s "$ac_outfile"; then
7026 # The compiler can only warn and ignore the option if not recognized
7027 # So say no if there are warnings other than the usual output.
7028 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7029 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7030 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7031 lt_cv_prog_compiler_rtti_exceptions
=yes
7037 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7038 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7040 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7041 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7048 lt_prog_compiler_wl
=
7049 lt_prog_compiler_pic
=
7050 lt_prog_compiler_static
=
7052 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7053 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7055 if test "$GCC" = yes; then
7056 lt_prog_compiler_wl
='-Wl,'
7057 lt_prog_compiler_static
='-static'
7061 # All AIX code is PIC.
7062 if test "$host_cpu" = ia64
; then
7063 # AIX 5 now supports IA64 processor
7064 lt_prog_compiler_static
='-Bstatic'
7069 # FIXME: we need at least 68020 code to build shared libraries, but
7070 # adding the `-m68020' flag to GCC prevents building anything better,
7072 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7075 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7076 # PIC is the default for these OSes.
7079 mingw
* | pw32
* | os2
*)
7080 # This hack is so that the source file can tell whether it is being
7081 # built for inclusion in a dll (and should export symbols for example).
7082 lt_prog_compiler_pic
='-DDLL_EXPORT'
7085 darwin
* | rhapsody
*)
7086 # PIC is the default on this platform
7087 # Common symbols not allowed in MH_DYLIB files
7088 lt_prog_compiler_pic
='-fno-common'
7092 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7093 # Instead, we relocate shared libraries at runtime.
7097 # Just because we use GCC doesn't mean we suddenly get shared libraries
7098 # on systems that don't support them.
7099 lt_prog_compiler_can_build_shared
=no
7104 if test -d /usr
/nec
; then
7105 lt_prog_compiler_pic
=-Kconform_pic
7110 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7117 lt_prog_compiler_pic
='-fPIC'
7123 lt_prog_compiler_pic
='-fPIC'
7127 # PORTME Check for flag to pass linker flags through the system compiler.
7130 lt_prog_compiler_wl
='-Wl,'
7131 if test "$host_cpu" = ia64
; then
7132 # AIX 5 now supports IA64 processor
7133 lt_prog_compiler_static
='-Bstatic'
7135 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7139 # PIC is the default on this platform
7140 # Common symbols not allowed in MH_DYLIB files
7141 case $cc_basename in
7143 lt_prog_compiler_pic
='-qnocommon'
7144 lt_prog_compiler_wl
='-Wl,'
7149 mingw
* | pw32
* | os2
*)
7150 # This hack is so that the source file can tell whether it is being
7151 # built for inclusion in a dll (and should export symbols for example).
7152 lt_prog_compiler_pic
='-DDLL_EXPORT'
7155 hpux9
* | hpux10
* | hpux11
*)
7156 lt_prog_compiler_wl
='-Wl,'
7157 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7164 lt_prog_compiler_pic
='+Z'
7167 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7168 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7171 irix5
* | irix6
* | nonstopux
*)
7172 lt_prog_compiler_wl
='-Wl,'
7173 # PIC (with -KPIC) is the default.
7174 lt_prog_compiler_static
='-non_shared'
7178 lt_prog_compiler_pic
='-KPIC'
7179 lt_prog_compiler_static
='-Bstatic'
7183 case $cc_basename in
7185 lt_prog_compiler_wl
='-Wl,'
7186 lt_prog_compiler_pic
='-KPIC'
7187 lt_prog_compiler_static
='-static'
7189 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7190 # Portland Group compilers (*not* the Pentium gcc compiler,
7191 # which looks to be a dead project)
7192 lt_prog_compiler_wl
='-Wl,'
7193 lt_prog_compiler_pic
='-fpic'
7194 lt_prog_compiler_static
='-Bstatic'
7197 lt_prog_compiler_wl
='-Wl,'
7198 # All Alpha code is PIC.
7199 lt_prog_compiler_static
='-non_shared'
7204 osf3
* | osf4
* | osf5
*)
7205 lt_prog_compiler_wl
='-Wl,'
7206 # All OSF/1 code is PIC.
7207 lt_prog_compiler_static
='-non_shared'
7211 lt_prog_compiler_pic
='-KPIC'
7212 lt_prog_compiler_static
='-Bstatic'
7213 case $cc_basename in
7215 lt_prog_compiler_wl
='-Qoption ld ';;
7217 lt_prog_compiler_wl
='-Wl,';;
7222 lt_prog_compiler_wl
='-Qoption ld '
7223 lt_prog_compiler_pic
='-PIC'
7224 lt_prog_compiler_static
='-Bstatic'
7227 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7228 lt_prog_compiler_wl
='-Wl,'
7229 lt_prog_compiler_pic
='-KPIC'
7230 lt_prog_compiler_static
='-Bstatic'
7234 if test -d /usr
/nec
;then
7235 lt_prog_compiler_pic
='-Kconform_pic'
7236 lt_prog_compiler_static
='-Bstatic'
7240 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7241 lt_prog_compiler_wl
='-Wl,'
7242 lt_prog_compiler_pic
='-KPIC'
7243 lt_prog_compiler_static
='-Bstatic'
7247 lt_prog_compiler_wl
='-Wl,'
7248 lt_prog_compiler_can_build_shared
=no
7252 lt_prog_compiler_pic
='-pic'
7253 lt_prog_compiler_static
='-Bstatic'
7257 lt_prog_compiler_can_build_shared
=no
7262 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7263 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7266 # Check to make sure the PIC flag actually works.
7268 if test -n "$lt_prog_compiler_pic"; then
7270 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7271 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7272 if test "${lt_prog_compiler_pic_works+set}" = set; then
7273 echo $ECHO_N "(cached) $ECHO_C" >&6
7275 lt_prog_compiler_pic_works
=no
7276 ac_outfile
=conftest.
$ac_objext
7277 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7278 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7279 # Insert the option either (1) after the last *FLAGS variable, or
7280 # (2) before a word containing "conftest.", or (3) at the end.
7281 # Note that $ac_compile itself does not contain backslashes and begins
7282 # with a dollar sign (not a hyphen), so the echo should work correctly.
7283 # The option is referenced via a variable to avoid confusing sed.
7284 lt_compile
=`echo "$ac_compile" | $SED \
7285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7287 -e 's:$: $lt_compiler_flag:'`
7288 (eval echo "\"\$as_me:7288: $lt_compile\"" >&5)
7289 (eval "$lt_compile" 2>conftest.err
)
7291 cat conftest.err
>&5
7292 echo "$as_me:7292: \$? = $ac_status" >&5
7293 if (exit $ac_status) && test -s "$ac_outfile"; then
7294 # The compiler can only warn and ignore the option if not recognized
7295 # So say no if there are warnings other than the usual output.
7296 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7297 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7298 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7299 lt_prog_compiler_pic_works
=yes
7305 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7306 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7308 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7309 case $lt_prog_compiler_pic in
7311 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7314 lt_prog_compiler_pic
=
7315 lt_prog_compiler_can_build_shared
=no
7320 # For platforms which do not support PIC, -DPIC is meaningless:
7322 lt_prog_compiler_pic
=
7325 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7330 # Check to make sure the static flag actually works.
7332 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7333 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7334 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7335 if test "${lt_prog_compiler_static_works+set}" = set; then
7336 echo $ECHO_N "(cached) $ECHO_C" >&6
7338 lt_prog_compiler_static_works
=no
7339 save_LDFLAGS
="$LDFLAGS"
7340 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7341 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7342 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7343 # The linker can only warn and ignore the option if not recognized
7344 # So say no if there are warnings
7345 if test -s conftest.err
; then
7346 # Append any errors to the config.log.
7347 cat conftest.err
1>&5
7348 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7349 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7350 if diff conftest.exp conftest.er2
>/dev
/null
; then
7351 lt_prog_compiler_static_works
=yes
7354 lt_prog_compiler_static_works
=yes
7358 LDFLAGS
="$save_LDFLAGS"
7361 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7362 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7364 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7367 lt_prog_compiler_static
=
7371 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7372 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7373 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7374 echo $ECHO_N "(cached) $ECHO_C" >&6
7376 lt_cv_prog_compiler_c_o
=no
7377 $rm -r conftest
2>/dev
/null
7381 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7383 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7384 # Insert the option either (1) after the last *FLAGS variable, or
7385 # (2) before a word containing "conftest.", or (3) at the end.
7386 # Note that $ac_compile itself does not contain backslashes and begins
7387 # with a dollar sign (not a hyphen), so the echo should work correctly.
7388 lt_compile
=`echo "$ac_compile" | $SED \
7389 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7390 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7391 -e 's:$: $lt_compiler_flag:'`
7392 (eval echo "\"\$as_me:7392: $lt_compile\"" >&5)
7393 (eval "$lt_compile" 2>out
/conftest.err
)
7395 cat out
/conftest.err
>&5
7396 echo "$as_me:7396: \$? = $ac_status" >&5
7397 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7399 # The compiler can only warn and ignore the option if not recognized
7400 # So say no if there are warnings
7401 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7402 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7403 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7404 lt_cv_prog_compiler_c_o
=yes
7409 # SGI C++ compiler will create directory out/ii_files/ for
7410 # template instantiation
7411 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7412 $rm out
/* && rmdir out
7418 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7419 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7422 hard_links
="nottested"
7423 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7424 # do not overwrite the value of need_locks provided by the user
7425 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7426 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7429 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7431 ln conftest.a conftest.b
2>&5 || hard_links
=no
7432 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7433 { echo "$as_me:$LINENO: result: $hard_links" >&5
7434 echo "${ECHO_T}$hard_links" >&6; }
7435 if test "$hard_links" = no
; then
7436 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7437 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7444 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7445 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7448 allow_undefined_flag
=
7449 enable_shared_with_static_runtimes
=no
7451 archive_expsym_cmds
=
7452 old_archive_From_new_cmds
=
7453 old_archive_from_expsyms_cmds
=
7454 export_dynamic_flag_spec
=
7455 whole_archive_flag_spec
=
7456 thread_safe_flag_spec
=
7457 hardcode_libdir_flag_spec
=
7458 hardcode_libdir_flag_spec_ld
=
7459 hardcode_libdir_separator
=
7462 hardcode_shlibpath_var
=unsupported
7463 link_all_deplibs
=unknown
7464 hardcode_automatic
=no
7467 always_export_symbols
=no
7468 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7469 # include_expsyms should be a list of space-separated symbols to be *always*
7470 # included in the symbol list
7472 # exclude_expsyms can be an extended regexp of symbols to exclude
7473 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7474 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7475 # as well as any symbol that contains `d'.
7476 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7477 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7478 # platforms (ab)use it in PIC code, but their linkers get confused if
7479 # the symbol is explicitly referenced. Since portable code cannot
7480 # rely on this symbol name, it's probably fine to never include it in
7481 # preloaded symbol tables.
7482 extract_expsyms_cmds
=
7483 # Just being paranoid about ensuring that cc_basename is set.
7484 for cc_temp
in $compiler""; do
7486 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7487 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7492 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7495 cygwin
* | mingw
* | pw32
*)
7496 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7497 # When not using gcc, we currently assume that we are using
7498 # Microsoft Visual C++.
7499 if test "$GCC" != yes; then
7504 # we just hope/assume this is gcc and not c89 (= MSVC++)
7513 if test "$with_gnu_ld" = yes; then
7514 # If archive_cmds runs LD, not CC, wlarc should be empty
7517 # Set some defaults for GNU ld with shared library support. These
7518 # are reset later if shared libraries are not supported. Putting them
7519 # here allows them to be overridden if necessary.
7520 runpath_var
=LD_RUN_PATH
7521 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7522 export_dynamic_flag_spec
='${wl}--export-dynamic'
7523 # ancient GNU ld didn't support --whole-archive et. al.
7524 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7525 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7527 whole_archive_flag_spec
=
7529 supports_anon_versioning
=no
7530 case `$LD -v 2>/dev/null` in
7531 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7532 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7533 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7534 *\
2.11.
*) ;; # other 2.11 versions
7535 *) supports_anon_versioning
=yes ;;
7538 # See if GNU ld supports shared libraries.
7540 aix3
* | aix4
* | aix5
*)
7541 # On AIX/PPC, the GNU linker is very broken
7542 if test "$host_cpu" != ia64
; then
7546 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7547 *** to be unable to reliably create shared libraries on AIX.
7548 *** Therefore, libtool is disabling shared libraries support. If you
7549 *** really care for shared libraries, you may want to modify your PATH
7550 *** so that a non-GNU linker is found, and then restart.
7557 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)'
7558 hardcode_libdir_flag_spec
='-L$libdir'
7559 hardcode_minus_L
=yes
7561 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7562 # that the semantics of dynamic libraries on AmigaOS, at least up
7563 # to version 4, is to share data among multiple programs linked
7564 # with the same dynamic library. Since this doesn't match the
7565 # behavior of shared libraries on other platforms, we can't use
7571 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7572 allow_undefined_flag
=unsupported
7573 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7574 # support --undefined. This deserves some investigation. FIXME
7575 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7581 cygwin
* | mingw
* | pw32
*)
7582 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7583 # as there is no search path for DLLs.
7584 hardcode_libdir_flag_spec
='-L$libdir'
7585 allow_undefined_flag
=unsupported
7586 always_export_symbols
=no
7587 enable_shared_with_static_runtimes
=yes
7588 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7590 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7591 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7592 # If the export-symbols file already is a .def file (1st line
7593 # is EXPORTS), use it as is; otherwise, prepend...
7594 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7595 cp $export_symbols $output_objdir/$soname.def;
7597 echo EXPORTS > $output_objdir/$soname.def;
7598 cat $export_symbols >> $output_objdir/$soname.def;
7600 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7608 hardcode_shlibpath_var
=no
7609 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7610 export_dynamic_flag_spec
='${wl}-E'
7611 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7612 # Instead, shared libraries are loaded at an image base (0x10000000 by
7613 # default) and relocated if they conflict, which is a slow very memory
7614 # consuming and fragmenting process. To avoid this, we pick a random,
7615 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7616 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7617 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7618 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7622 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7624 case $cc_basename,$host_cpu in
7625 pgcc
*) # Portland Group C compiler
7626 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7627 tmp_addflag
=' $pic_flag'
7629 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7630 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7631 tmp_addflag
=' $pic_flag -Mnomain' ;;
7632 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7633 tmp_addflag
=' -i_dynamic' ;;
7634 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7635 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7636 ifc
* | ifort
*) # Intel Fortran compiler
7637 tmp_addflag
=' -nofor_main' ;;
7639 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7641 if test $supports_anon_versioning = yes; then
7642 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7643 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7644 $echo "local: *; };" >> $output_objdir/$libname.ver~
7645 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7653 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7654 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7657 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7658 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7663 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7667 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7668 *** create shared libraries on Solaris systems. Therefore, libtool
7669 *** is disabling shared libraries support. We urge you to upgrade GNU
7670 *** binutils to release 2.9.1 or newer. Another option is to modify
7671 *** your PATH or compiler configuration so that the native linker is
7672 *** used, and then restart.
7675 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7676 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7677 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7683 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7684 case `$LD -v 2>&1` in
7685 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7689 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7690 *** reliably create shared libraries on SCO systems. Therefore, libtool
7691 *** is disabling shared libraries support. We urge you to upgrade GNU
7692 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7693 *** your PATH or compiler configuration so that the native linker is
7694 *** used, and then restart.
7699 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7700 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7701 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7702 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7711 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7714 hardcode_shlibpath_var
=no
7718 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7719 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7720 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7727 if test "$ld_shlibs" = no
; then
7729 hardcode_libdir_flag_spec
=
7730 export_dynamic_flag_spec
=
7731 whole_archive_flag_spec
=
7734 # PORTME fill in a description of your system's linker (not GNU ld)
7737 allow_undefined_flag
=unsupported
7738 always_export_symbols
=yes
7739 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'
7740 # Note: this linker hardcodes the directories in LIBPATH if there
7741 # are no directories specified by -L.
7742 hardcode_minus_L
=yes
7743 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7744 # Neither direct hardcoding nor static linking is supported with a
7746 hardcode_direct
=unsupported
7751 if test "$host_cpu" = ia64
; then
7752 # On IA64, the linker does run time linking by default, so we don't
7753 # have to do anything special.
7754 aix_use_runtimelinking
=no
7755 exp_sym_flag
='-Bexport'
7758 # If we're using GNU nm, then we don't want the "-C" option.
7759 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7760 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7761 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'
7763 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'
7765 aix_use_runtimelinking
=no
7767 # Test if we are trying to use run time linking or normal
7768 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7769 # need to do runtime linking.
7770 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7771 for ld_flag
in $LDFLAGS; do
7772 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7773 aix_use_runtimelinking
=yes
7780 exp_sym_flag
='-bexport'
7781 no_entry_flag
='-bnoentry'
7784 # When large executables or shared objects are built, AIX ld can
7785 # have problems creating the table of contents. If linking a library
7786 # or program results in "error TOC overflow" add -mminimal-toc to
7787 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7788 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7792 hardcode_libdir_separator
=':'
7793 link_all_deplibs
=yes
7795 if test "$GCC" = yes; then
7796 case $host_os in aix4.
[012]|aix4.
[012].
*)
7797 # We only want to do this on AIX 4.2 and lower, the check
7798 # below for broken collect2 doesn't work under 4.3+
7799 collect2name
=`${CC} -print-prog-name=collect2`
7800 if test -f "$collect2name" && \
7801 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7803 # We have reworked collect2
7806 # We have old collect2
7807 hardcode_direct
=unsupported
7808 # It fails to find uninstalled libraries when the uninstalled
7809 # path is not listed in the libpath. Setting hardcode_minus_L
7810 # to unsupported forces relinking
7811 hardcode_minus_L
=yes
7812 hardcode_libdir_flag_spec
='-L$libdir'
7813 hardcode_libdir_separator
=
7817 shared_flag
='-shared'
7818 if test "$aix_use_runtimelinking" = yes; then
7819 shared_flag
="$shared_flag "'${wl}-G'
7823 if test "$host_cpu" = ia64
; then
7824 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7825 # chokes on -Wl,-G. The following line is correct:
7828 if test "$aix_use_runtimelinking" = yes; then
7829 shared_flag
='${wl}-G'
7831 shared_flag
='${wl}-bM:SRE'
7836 # It seems that -bexpall does not export symbols beginning with
7837 # underscore (_), so it is better to generate a list of symbols to export.
7838 always_export_symbols
=yes
7839 if test "$aix_use_runtimelinking" = yes; then
7840 # Warning - without using the other runtime loading flags (-brtl),
7841 # -berok will link without error, but may produce a broken library.
7842 allow_undefined_flag
='-berok'
7843 # Determine the default libpath from the value encoded in an empty executable.
7844 cat >conftest.
$ac_ext <<_ACEOF
7847 cat confdefs.h
>>conftest.
$ac_ext
7848 cat >>conftest.
$ac_ext <<_ACEOF
7849 /* end confdefs.h. */
7859 rm -f conftest.
$ac_objext conftest
$ac_exeext
7860 if { (ac_try
="$ac_link"
7862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7863 *) ac_try_echo=$ac_try;;
7865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7866 (eval "$ac_link") 2>conftest.er1
7868 grep -v '^ *+' conftest.er1 >conftest.err
7870 cat conftest.err >&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); } && {
7873 test -z "$ac_c_werror_flag" ||
7874 test ! -s conftest.err
7875 } && test -s conftest$ac_exeext &&
7876 $as_test_x conftest$ac_exeext; then
7878 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7880 # Check for a 64-bit object if we didn't find anything.
7881 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; }
7884 echo "$as_me: failed program was:" >&5
7885 sed 's/^/| /' conftest.$ac_ext >&5
7890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7891 conftest$ac_exeext conftest.$ac_ext
7892 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7894 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7895 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7897 if test "$host_cpu" = ia64; then
7898 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7899 allow_undefined_flag="-z nodefs"
7900 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7902 # Determine the default libpath from the value encoded in an empty executable.
7903 cat >conftest.$ac_ext <<_ACEOF
7906 cat confdefs.h >>conftest.$ac_ext
7907 cat >>conftest.$ac_ext <<_ACEOF
7908 /* end confdefs.h. */
7918 rm -f conftest.$ac_objext conftest$ac_exeext
7919 if { (ac_try="$ac_link"
7921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7922 *) ac_try_echo
=$ac_try;;
7924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7925 (eval "$ac_link") 2>conftest.er1
7927 grep -v '^ *+' conftest.er1
>conftest.err
7929 cat conftest.err
>&5
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); } && {
7932 test -z "$ac_c_werror_flag" ||
7933 test ! -s conftest.err
7934 } && test -s conftest
$ac_exeext &&
7935 $as_test_x conftest
$ac_exeext; then
7937 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7939 # Check for a 64-bit object if we didn't find anything.
7940 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; }
7943 echo "$as_me: failed program was:" >&5
7944 sed 's/^/| /' conftest.
$ac_ext >&5
7949 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7950 conftest
$ac_exeext conftest.
$ac_ext
7951 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7953 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7954 # Warning - without using the other run time loading flags,
7955 # -berok will link without error, but may produce a broken library.
7956 no_undefined_flag
=' ${wl}-bernotok'
7957 allow_undefined_flag
=' ${wl}-berok'
7958 # Exported symbols can be pulled into shared objects from archives
7959 whole_archive_flag_spec
='$convenience'
7960 archive_cmds_need_lc
=yes
7961 # This is similar to how AIX traditionally builds its shared libraries.
7962 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7968 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)'
7969 hardcode_libdir_flag_spec
='-L$libdir'
7970 hardcode_minus_L
=yes
7971 # see comment about different semantics on the GNU ld section
7976 export_dynamic_flag_spec
=-rdynamic
7979 cygwin
* | mingw
* | pw32
*)
7980 # When not using gcc, we currently assume that we are using
7981 # Microsoft Visual C++.
7982 # hardcode_libdir_flag_spec is actually meaningless, as there is
7983 # no search path for DLLs.
7984 hardcode_libdir_flag_spec
=' '
7985 allow_undefined_flag
=unsupported
7986 # Tell ltmain to make .lib files, not .a files.
7988 # Tell ltmain to make .dll files, not .so files.
7990 # FIXME: Setting linknames here is a bad hack.
7991 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7992 # The linker will automatically build a .lib file if we build a DLL.
7993 old_archive_From_new_cmds
='true'
7994 # FIXME: Should let the user specify the lib program.
7995 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7996 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7997 enable_shared_with_static_runtimes
=yes
8000 darwin
* | rhapsody
*)
8002 rhapsody
* | darwin1.
[012])
8003 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8006 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8007 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8009 case ${MACOSX_DEPLOYMENT_TARGET} in
8011 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8014 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8020 archive_cmds_need_lc
=no
8022 hardcode_automatic
=yes
8023 hardcode_shlibpath_var
=unsupported
8024 whole_archive_flag_spec
=''
8025 link_all_deplibs
=yes
8026 if test "$GCC" = yes ; then
8027 output_verbose_link_cmd
='echo'
8028 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8029 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8030 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8031 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}'
8032 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}'
8034 case $cc_basename in
8036 output_verbose_link_cmd
='echo'
8037 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8038 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8039 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8040 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8041 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}'
8051 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8052 hardcode_libdir_flag_spec
='-L$libdir'
8053 hardcode_shlibpath_var
=no
8060 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8061 # support. Future versions do this automatically, but an explicit c++rt0.o
8062 # does not break anything, and helps significantly (at the cost of a little
8065 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8066 hardcode_libdir_flag_spec
='-R$libdir'
8068 hardcode_shlibpath_var
=no
8071 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8073 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8075 hardcode_minus_L
=yes
8076 hardcode_shlibpath_var
=no
8079 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8080 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8081 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8082 hardcode_libdir_flag_spec
='-R$libdir'
8084 hardcode_shlibpath_var
=no
8088 if test "$GCC" = yes; then
8089 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'
8091 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'
8093 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8094 hardcode_libdir_separator
=:
8097 # hardcode_minus_L: Not really in the search PATH,
8098 # but as the default location of the library.
8099 hardcode_minus_L
=yes
8100 export_dynamic_flag_spec
='${wl}-E'
8104 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8105 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8107 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8109 if test "$with_gnu_ld" = no
; then
8110 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8111 hardcode_libdir_separator
=:
8114 export_dynamic_flag_spec
='${wl}-E'
8116 # hardcode_minus_L: Not really in the search PATH,
8117 # but as the default location of the library.
8118 hardcode_minus_L
=yes
8123 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8126 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8129 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8132 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8138 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8141 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8144 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8148 if test "$with_gnu_ld" = no
; then
8149 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8150 hardcode_libdir_separator
=:
8154 hardcode_libdir_flag_spec_ld
='+b $libdir'
8156 hardcode_shlibpath_var
=no
8160 export_dynamic_flag_spec
='${wl}-E'
8162 # hardcode_minus_L: Not really in the search PATH,
8163 # but as the default location of the library.
8164 hardcode_minus_L
=yes
8170 irix5
* | irix6
* | nonstopux
*)
8171 if test "$GCC" = yes; then
8172 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'
8174 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'
8175 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8177 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8178 hardcode_libdir_separator
=:
8179 link_all_deplibs
=yes
8183 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8184 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8186 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8188 hardcode_libdir_flag_spec
='-R$libdir'
8190 hardcode_shlibpath_var
=no
8194 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8196 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8197 hardcode_libdir_separator
=:
8198 hardcode_shlibpath_var
=no
8203 hardcode_shlibpath_var
=no
8204 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8205 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8206 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8207 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8208 export_dynamic_flag_spec
='${wl}-E'
8211 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8212 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8213 hardcode_libdir_flag_spec
='-R$libdir'
8216 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8217 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8224 hardcode_libdir_flag_spec
='-L$libdir'
8225 hardcode_minus_L
=yes
8226 allow_undefined_flag
=unsupported
8227 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'
8228 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8232 if test "$GCC" = yes; then
8233 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8234 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'
8236 allow_undefined_flag
=' -expect_unresolved \*'
8237 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'
8239 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8240 hardcode_libdir_separator
=:
8243 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8244 if test "$GCC" = yes; then
8245 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8246 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'
8247 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8249 allow_undefined_flag
=' -expect_unresolved \*'
8250 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'
8251 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8252 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8254 # Both c and cxx compiler support -rpath directly
8255 hardcode_libdir_flag_spec
='-rpath $libdir'
8257 hardcode_libdir_separator
=:
8261 no_undefined_flag
=' -z text'
8262 if test "$GCC" = yes; then
8264 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8265 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8266 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8269 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8270 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8271 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8273 hardcode_libdir_flag_spec
='-R$libdir'
8274 hardcode_shlibpath_var
=no
8276 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8278 # The compiler driver will combine linker options so we
8279 # cannot just pass the convience library names through
8280 # without $wl, iff we do not link with $LD.
8281 # Luckily, gcc supports the same syntax we need for Sun Studio.
8282 # Supported since Solaris 2.6 (maybe 2.5.1?)
8285 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8287 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8290 link_all_deplibs
=yes
8294 if test "x$host_vendor" = xsequent
; then
8295 # Use $CC to link under sequent, because it throws in some extra .o
8296 # files that make .init and .fini sections work.
8297 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8299 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8301 hardcode_libdir_flag_spec
='-L$libdir'
8303 hardcode_minus_L
=yes
8304 hardcode_shlibpath_var
=no
8308 case $host_vendor in
8310 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8311 hardcode_direct
=yes # is this really true???
8314 ## LD is ld it makes a PLAMLIB
8315 ## CC just makes a GrossModule.
8316 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8317 reload_cmds
='$CC -r -o $output$reload_objs'
8321 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8322 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8325 runpath_var
='LD_RUN_PATH'
8326 hardcode_shlibpath_var
=no
8330 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8331 hardcode_shlibpath_var
=no
8332 export_dynamic_flag_spec
='-Bexport'
8336 if test -d /usr
/nec
; then
8337 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8338 hardcode_shlibpath_var
=no
8339 runpath_var
=LD_RUN_PATH
8340 hardcode_runpath_var
=yes
8345 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8346 no_undefined_flag
='${wl}-z,text'
8347 archive_cmds_need_lc
=no
8348 hardcode_shlibpath_var
=no
8349 runpath_var
='LD_RUN_PATH'
8351 if test "$GCC" = yes; then
8352 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8353 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8355 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8356 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8360 sysv5
* | sco3.2v5
* | sco5v6
*)
8361 # Note: We can NOT use -z defs as we might desire, because we do not
8362 # link with -lc, and that would cause any symbols used from libc to
8363 # always be unresolved, which means just about no library would
8364 # ever link correctly. If we're not using GNU ld we use -z text
8365 # though, which does catch some bad symbols but isn't as heavy-handed
8367 no_undefined_flag
='${wl}-z,text'
8368 allow_undefined_flag
='${wl}-z,nodefs'
8369 archive_cmds_need_lc
=no
8370 hardcode_shlibpath_var
=no
8371 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8372 hardcode_libdir_separator
=':'
8373 link_all_deplibs
=yes
8374 export_dynamic_flag_spec
='${wl}-Bexport'
8375 runpath_var
='LD_RUN_PATH'
8377 if test "$GCC" = yes; then
8378 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8379 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8381 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8382 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8387 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8388 hardcode_libdir_flag_spec
='-L$libdir'
8389 hardcode_shlibpath_var
=no
8398 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8399 echo "${ECHO_T}$ld_shlibs" >&6; }
8400 test "$ld_shlibs" = no
&& can_build_shared
=no
8403 # Do we need to explicitly link libc?
8405 case "x$archive_cmds_need_lc" in
8407 # Assume -lc should be added
8408 archive_cmds_need_lc
=yes
8410 if test "$enable_shared" = yes && test "$GCC" = yes; then
8411 case $archive_cmds in
8413 # FIXME: we may have to deal with multi-command sequences.
8416 # Test whether the compiler implicitly links with -lc since on some
8417 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8418 # to ld, don't add -lc before -lgcc.
8419 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8420 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8422 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8425 (eval $ac_compile) 2>&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); } 2>conftest.err
; then
8431 libobjs
=conftest.
$ac_objext
8433 wl
=$lt_prog_compiler_wl
8434 pic_flag
=$lt_prog_compiler_pic
8440 lt_save_allow_undefined_flag
=$allow_undefined_flag
8441 allow_undefined_flag
=
8442 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8443 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 (exit $ac_status); }
8448 archive_cmds_need_lc
=no
8450 archive_cmds_need_lc
=yes
8452 allow_undefined_flag
=$lt_save_allow_undefined_flag
8454 cat conftest.err
1>&5
8457 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8458 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8465 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8466 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8468 libname_spec
='lib$name'
8476 shlibpath_overrides_runpath
=unknown
8478 dynamic_linker
="$host_os ld.so"
8479 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8480 if test "$GCC" = yes; then
8481 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8482 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8483 # if the path contains ";" then we assume it to be the separator
8484 # otherwise default to the standard path separator (i.e. ":") - it is
8485 # assumed that no part of a normal pathname contains ";" but that should
8486 # okay in the real world where ";" in dirpaths is itself problematic.
8487 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8489 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8492 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8494 need_lib_prefix
=unknown
8495 hardcode_into_libs
=no
8497 # when you set need_version to no, make sure it does not cause -set_version
8498 # flags to be left without arguments
8499 need_version
=unknown
8504 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8505 shlibpath_var
=LIBPATH
8507 # AIX 3 has no versioning support, so we append a major version to the name.
8508 soname_spec
='${libname}${release}${shared_ext}$major'
8515 hardcode_into_libs
=yes
8516 if test "$host_cpu" = ia64
; then
8517 # AIX 5 supports IA64
8518 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8519 shlibpath_var
=LD_LIBRARY_PATH
8521 # With GCC up to 2.95.x, collect2 would create an import file
8522 # for dependence libraries. The import file would start with
8523 # the line `#! .'. This would cause the generated library to
8524 # depend on `.', always an invalid library. This was fixed in
8525 # development snapshots of GCC prior to 3.0.
8527 aix4 | aix4.
[01] | aix4.
[01].
*)
8528 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8530 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8537 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8538 # soname into executable. Probably we can add versioning support to
8539 # collect2, so additional links can be useful in future.
8540 if test "$aix_use_runtimelinking" = yes; then
8541 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8542 # instead of lib<name>.a to let people know that these are not
8543 # typical AIX shared libraries.
8544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8546 # We preserve .a as extension for shared libraries through AIX4.2
8547 # and later when we are not doing run time linking.
8548 library_names_spec
='${libname}${release}.a $libname.a'
8549 soname_spec
='${libname}${release}${shared_ext}$major'
8551 shlibpath_var
=LIBPATH
8556 library_names_spec
='$libname.ixlibrary $libname.a'
8557 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8558 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'
8562 library_names_spec
='${libname}${shared_ext}'
8563 dynamic_linker
="$host_os ld.so"
8564 shlibpath_var
=LIBRARY_PATH
8570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8571 soname_spec
='${libname}${release}${shared_ext}$major'
8572 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8573 shlibpath_var
=LD_LIBRARY_PATH
8574 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8575 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8576 # the default ld.so.conf also contains /usr/contrib/lib and
8577 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8578 # libtool to hard-code these into programs
8581 cygwin
* | mingw
* | pw32
*)
8582 version_type
=windows
8587 case $GCC,$host_os in
8588 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8589 library_names_spec
='$libname.dll.a'
8590 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8591 postinstall_cmds
='base_file=`basename \${file}`~
8592 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8593 dldir=$destdir/`dirname \$dlpath`~
8594 test -d \$dldir || mkdir -p \$dldir~
8595 $install_prog $dir/$dlname \$dldir/$dlname~
8596 chmod a+x \$dldir/$dlname'
8597 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8598 dlpath=$dir/\$dldll~
8600 shlibpath_overrides_runpath
=yes
8604 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8605 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8606 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8609 # MinGW DLLs use traditional 'lib' prefix
8610 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8611 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8612 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8613 # It is most probably a Windows format PATH printed by
8614 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8615 # path with ; separators, and with drive letters. We can handle the
8616 # drive letters (cygwin fileutils understands them), so leave them,
8617 # especially as we might pass files found there to a mingw objdump,
8618 # which wouldn't understand a cygwinified path. Ahh.
8619 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8621 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8625 # pw32 DLLs use 'pw' prefix rather than 'lib'
8626 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8632 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8635 dynamic_linker
='Win32 ld.exe'
8636 # FIXME: first we should search . and the directory the executable is in
8640 darwin
* | rhapsody
*)
8641 dynamic_linker
="$host_os dyld"
8645 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8646 soname_spec
='${libname}${release}${major}$shared_ext'
8647 shlibpath_overrides_runpath
=yes
8648 shlibpath_var
=DYLD_LIBRARY_PATH
8649 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8650 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8651 if test "$GCC" = yes; then
8652 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"`
8654 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8656 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8664 soname_spec
='${libname}${release}${shared_ext}$major'
8665 shlibpath_var
=LD_LIBRARY_PATH
8676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8677 soname_spec
='${libname}${release}${shared_ext}$major'
8678 shlibpath_var
=LD_LIBRARY_PATH
8679 shlibpath_overrides_runpath
=no
8680 hardcode_into_libs
=yes
8681 dynamic_linker
='GNU ld.so'
8684 freebsd
* | dragonfly
*)
8685 # DragonFly does not have aout. When/if they implement a new
8686 # versioning mechanism, adjust this.
8687 if test -x /usr
/bin
/objformat
; then
8688 objformat
=`/usr/bin/objformat`
8691 freebsd
[123]*) objformat
=aout
;;
8695 version_type
=freebsd-
$objformat
8696 case $version_type in
8698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8703 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8707 shlibpath_var
=LD_LIBRARY_PATH
8710 shlibpath_overrides_runpath
=yes
8712 freebsd3.
[01]* | freebsdelf3.
[01]*)
8713 shlibpath_overrides_runpath
=yes
8714 hardcode_into_libs
=yes
8716 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8717 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8718 shlibpath_overrides_runpath
=no
8719 hardcode_into_libs
=yes
8721 freebsd
*) # from 4.6 on
8722 shlibpath_overrides_runpath
=yes
8723 hardcode_into_libs
=yes
8732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8733 soname_spec
='${libname}${release}${shared_ext}$major'
8734 shlibpath_var
=LD_LIBRARY_PATH
8735 hardcode_into_libs
=yes
8738 hpux9
* | hpux10
* | hpux11
*)
8739 # Give a soname corresponding to the major version so that dld.sl refuses to
8740 # link against other versions.
8747 hardcode_into_libs
=yes
8748 dynamic_linker
="$host_os dld.so"
8749 shlibpath_var
=LD_LIBRARY_PATH
8750 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8752 soname_spec
='${libname}${release}${shared_ext}$major'
8753 if test "X$HPUX_IA64_MODE" = X32
; then
8754 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8756 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8758 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8762 hardcode_into_libs
=yes
8763 dynamic_linker
="$host_os dld.sl"
8764 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8765 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8767 soname_spec
='${libname}${release}${shared_ext}$major'
8768 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8769 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8773 dynamic_linker
="$host_os dld.sl"
8774 shlibpath_var
=SHLIB_PATH
8775 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8777 soname_spec
='${libname}${release}${shared_ext}$major'
8780 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8781 postinstall_cmds
='chmod 555 $lib'
8788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8789 soname_spec
='${libname}${release}${shared_ext}$major'
8790 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8791 shlibpath_var
=LD_LIBRARY_PATH
8792 shlibpath_overrides_runpath
=no
8793 hardcode_into_libs
=yes
8796 irix5
* | irix6
* | nonstopux
*)
8798 nonstopux
*) version_type
=nonstopux
;;
8800 if test "$lt_cv_prog_gnu_ld" = yes; then
8808 soname_spec
='${libname}${release}${shared_ext}$major'
8809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8811 irix5
* | nonstopux
*)
8815 case $LD in # libtool.m4 will add one of these switches to LD
8816 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8817 libsuff
= shlibsuff
= libmagic
=32-bit;;
8818 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8819 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8820 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8821 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8822 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8826 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8827 shlibpath_overrides_runpath
=no
8828 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8829 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8830 hardcode_into_libs
=yes
8833 # No shared lib support for Linux oldld, aout, or coff.
8834 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8838 # This must be Linux ELF.
8843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8844 soname_spec
='${libname}${release}${shared_ext}$major'
8845 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8846 shlibpath_var
=LD_LIBRARY_PATH
8847 shlibpath_overrides_runpath
=no
8848 # This implies no fast_install, which is unacceptable.
8849 # Some rework will be needed to allow for fast_install
8850 # before this can be enabled.
8851 hardcode_into_libs
=yes
8853 # Append ld.so.conf contents to the search path
8854 if test -f /etc
/ld.so.conf
; then
8855 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8856 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8859 # We used to test for /lib/ld.so.1 and disable shared libraries on
8860 # powerpc, because MkLinux only supported shared libraries with the
8861 # GNU dynamic linker. Since this was broken with cross compilers,
8862 # most powerpc-linux boxes support dynamic linking these days and
8863 # people can always --disable-shared, the test was removed, and we
8864 # assume the GNU/Linux dynamic linker is in use.
8865 dynamic_linker
='GNU/Linux ld.so'
8872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8873 soname_spec
='${libname}${release}${shared_ext}$major'
8874 shlibpath_var
=LD_LIBRARY_PATH
8875 shlibpath_overrides_runpath
=no
8876 hardcode_into_libs
=yes
8877 dynamic_linker
='GNU ld.so'
8884 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8886 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8887 dynamic_linker
='NetBSD (a.out) ld.so'
8889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8890 soname_spec
='${libname}${release}${shared_ext}$major'
8891 dynamic_linker
='NetBSD ld.elf_so'
8893 shlibpath_var
=LD_LIBRARY_PATH
8894 shlibpath_overrides_runpath
=yes
8895 hardcode_into_libs
=yes
8900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8901 shlibpath_var
=LD_LIBRARY_PATH
8902 shlibpath_overrides_runpath
=yes
8909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8910 soname_spec
='${libname}${release}${shared_ext}$major'
8911 shlibpath_var
=LD_LIBRARY_PATH
8912 shlibpath_overrides_runpath
=yes
8917 sys_lib_dlsearch_path_spec
="/usr/lib"
8919 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8921 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8922 *) need_version
=no
;;
8924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8925 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8926 shlibpath_var
=LD_LIBRARY_PATH
8927 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8929 openbsd2.
[89] | openbsd2.
[89].
*)
8930 shlibpath_overrides_runpath
=no
8933 shlibpath_overrides_runpath
=yes
8937 shlibpath_overrides_runpath
=yes
8942 libname_spec
='$name'
8945 library_names_spec
='$libname${shared_ext} $libname.a'
8946 dynamic_linker
='OS/2 ld.exe'
8947 shlibpath_var
=LIBPATH
8950 osf3
* | osf4
* | osf5
*)
8954 soname_spec
='${libname}${release}${shared_ext}$major'
8955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8956 shlibpath_var
=LD_LIBRARY_PATH
8957 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8958 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8966 soname_spec
='${libname}${release}${shared_ext}$major'
8967 shlibpath_var
=LD_LIBRARY_PATH
8968 shlibpath_overrides_runpath
=yes
8969 hardcode_into_libs
=yes
8970 # ldd complains unless libraries are executable
8971 postinstall_cmds
='chmod +x $lib'
8976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8977 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8978 shlibpath_var
=LD_LIBRARY_PATH
8979 shlibpath_overrides_runpath
=yes
8980 if test "$with_gnu_ld" = yes; then
8988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8989 soname_spec
='${libname}${release}${shared_ext}$major'
8990 shlibpath_var
=LD_LIBRARY_PATH
8991 case $host_vendor in
8993 shlibpath_overrides_runpath
=no
8995 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8996 runpath_var
=LD_RUN_PATH
9004 shlibpath_overrides_runpath
=no
9005 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9011 if test -d /usr
/nec
;then
9013 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9014 soname_spec
='$libname${shared_ext}.$major'
9015 shlibpath_var
=LD_LIBRARY_PATH
9019 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9020 version_type
=freebsd-elf
9023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9024 soname_spec
='${libname}${release}${shared_ext}$major'
9025 shlibpath_var
=LD_LIBRARY_PATH
9026 hardcode_into_libs
=yes
9027 if test "$with_gnu_ld" = yes; then
9028 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9029 shlibpath_overrides_runpath
=no
9031 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9032 shlibpath_overrides_runpath
=yes
9035 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9039 sys_lib_dlsearch_path_spec
='/usr/lib'
9044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9045 soname_spec
='${libname}${release}${shared_ext}$major'
9046 shlibpath_var
=LD_LIBRARY_PATH
9053 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9054 echo "${ECHO_T}$dynamic_linker" >&6; }
9055 test "$dynamic_linker" = no
&& can_build_shared
=no
9057 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9058 if test "$GCC" = yes; then
9059 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9062 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9063 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9065 if test -n "$hardcode_libdir_flag_spec" || \
9066 test -n "$runpath_var" || \
9067 test "X$hardcode_automatic" = "Xyes" ; then
9069 # We can hardcode non-existant directories.
9070 if test "$hardcode_direct" != no
&&
9071 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9072 # have to relink, otherwise we might link with an installed library
9073 # when we should be linking with a yet-to-be-installed one
9074 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9075 test "$hardcode_minus_L" != no
; then
9076 # Linking always hardcodes the temporary library directory.
9077 hardcode_action
=relink
9079 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9080 hardcode_action
=immediate
9083 # We cannot hardcode anything, or else we can only hardcode existing
9085 hardcode_action
=unsupported
9087 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9088 echo "${ECHO_T}$hardcode_action" >&6; }
9090 if test "$hardcode_action" = relink
; then
9091 # Fast installation is not supported
9092 enable_fast_install
=no
9093 elif test "$shlibpath_overrides_runpath" = yes ||
9094 test "$enable_shared" = no
; then
9095 # Fast installation is not necessary
9096 enable_fast_install
=needless
9101 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9102 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9103 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9104 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9105 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9106 { echo "$as_me:$LINENO: result: yes" >&5
9107 echo "${ECHO_T}yes" >&6; }
9109 # FIXME - insert some real tests, host_os isn't really good enough
9112 if test -n "$STRIP" ; then
9113 striplib
="$STRIP -x"
9114 { echo "$as_me:$LINENO: result: yes" >&5
9115 echo "${ECHO_T}yes" >&6; }
9117 { echo "$as_me:$LINENO: result: no" >&5
9118 echo "${ECHO_T}no" >&6; }
9122 { echo "$as_me:$LINENO: result: no" >&5
9123 echo "${ECHO_T}no" >&6; }
9128 if test "x$enable_dlopen" != xyes
; then
9129 enable_dlopen
=unknown
9130 enable_dlopen_self
=unknown
9131 enable_dlopen_self_static
=unknown
9138 lt_cv_dlopen
="load_add_on"
9140 lt_cv_dlopen_self
=yes
9144 lt_cv_dlopen
="LoadLibrary"
9149 lt_cv_dlopen
="dlopen"
9154 # if libdl is installed we need to link against it
9155 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9156 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9157 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9160 ac_check_lib_save_LIBS
=$LIBS
9162 cat >conftest.
$ac_ext <<_ACEOF
9165 cat confdefs.h
>>conftest.
$ac_ext
9166 cat >>conftest.
$ac_ext <<_ACEOF
9167 /* end confdefs.h. */
9169 /* Override any GCC internal prototype to avoid an error.
9170 Use char because int might match the return type of a GCC
9171 builtin and then its argument prototype would still apply. */
9184 rm -f conftest.
$ac_objext conftest
$ac_exeext
9185 if { (ac_try
="$ac_link"
9187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9188 *) ac_try_echo=$ac_try;;
9190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9191 (eval "$ac_link") 2>conftest.er1
9193 grep -v '^ *+' conftest.er1 >conftest.err
9195 cat conftest.err >&5
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); } && {
9198 test -z "$ac_c_werror_flag" ||
9199 test ! -s conftest.err
9200 } && test -s conftest$ac_exeext &&
9201 $as_test_x conftest$ac_exeext; then
9202 ac_cv_lib_dl_dlopen=yes
9204 echo "$as_me: failed program was:" >&5
9205 sed 's/^/| /' conftest.$ac_ext >&5
9207 ac_cv_lib_dl_dlopen=no
9210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9211 conftest$ac_exeext conftest.$ac_ext
9212 LIBS=$ac_check_lib_save_LIBS
9214 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9215 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9216 if test $ac_cv_lib_dl_dlopen = yes; then
9217 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9222 lt_cv_dlopen_self=yes
9229 { echo "$as_me:$LINENO: checking for shl_load" >&5
9230 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9231 if test "${ac_cv_func_shl_load+set}" = set; then
9232 echo $ECHO_N "(cached) $ECHO_C" >&6
9234 cat >conftest.$ac_ext <<_ACEOF
9237 cat confdefs.h >>conftest.$ac_ext
9238 cat >>conftest.$ac_ext <<_ACEOF
9239 /* end confdefs.h. */
9240 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9242 #define shl_load innocuous_shl_load
9244 /* System header to define __stub macros and hopefully few prototypes,
9245 which can conflict with char shl_load (); below.
9246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9247 <limits.h> exists even on freestanding compilers. */
9250 # include <limits.h>
9252 # include <assert.h>
9257 /* Override any GCC internal prototype to avoid an error.
9258 Use char because int might match the return type of a GCC
9259 builtin and then its argument prototype would still apply. */
9264 /* The GNU C library defines this for functions which it implements
9265 to always fail with ENOSYS. Some functions are actually named
9266 something starting with __ and the normal name is an alias. */
9267 #if defined __stub_shl_load || defined __stub___shl_load
9279 rm -f conftest.$ac_objext conftest$ac_exeext
9280 if { (ac_try="$ac_link"
9282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9283 *) ac_try_echo
=$ac_try;;
9285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9286 (eval "$ac_link") 2>conftest.er1
9288 grep -v '^ *+' conftest.er1
>conftest.err
9290 cat conftest.err
>&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); } && {
9293 test -z "$ac_c_werror_flag" ||
9294 test ! -s conftest.err
9295 } && test -s conftest
$ac_exeext &&
9296 $as_test_x conftest
$ac_exeext; then
9297 ac_cv_func_shl_load
=yes
9299 echo "$as_me: failed program was:" >&5
9300 sed 's/^/| /' conftest.
$ac_ext >&5
9302 ac_cv_func_shl_load
=no
9305 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9306 conftest
$ac_exeext conftest.
$ac_ext
9308 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9309 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9310 if test $ac_cv_func_shl_load = yes; then
9311 lt_cv_dlopen
="shl_load"
9313 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9314 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9315 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9316 echo $ECHO_N "(cached) $ECHO_C" >&6
9318 ac_check_lib_save_LIBS
=$LIBS
9320 cat >conftest.
$ac_ext <<_ACEOF
9323 cat confdefs.h
>>conftest.
$ac_ext
9324 cat >>conftest.
$ac_ext <<_ACEOF
9325 /* end confdefs.h. */
9327 /* Override any GCC internal prototype to avoid an error.
9328 Use char because int might match the return type of a GCC
9329 builtin and then its argument prototype would still apply. */
9342 rm -f conftest.
$ac_objext conftest
$ac_exeext
9343 if { (ac_try
="$ac_link"
9345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9346 *) ac_try_echo=$ac_try;;
9348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9349 (eval "$ac_link") 2>conftest.er1
9351 grep -v '^ *+' conftest.er1 >conftest.err
9353 cat conftest.err >&5
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355 (exit $ac_status); } && {
9356 test -z "$ac_c_werror_flag" ||
9357 test ! -s conftest.err
9358 } && test -s conftest$ac_exeext &&
9359 $as_test_x conftest$ac_exeext; then
9360 ac_cv_lib_dld_shl_load=yes
9362 echo "$as_me: failed program was:" >&5
9363 sed 's/^/| /' conftest.$ac_ext >&5
9365 ac_cv_lib_dld_shl_load=no
9368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9369 conftest$ac_exeext conftest.$ac_ext
9370 LIBS=$ac_check_lib_save_LIBS
9372 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9373 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9374 if test $ac_cv_lib_dld_shl_load = yes; then
9375 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9377 { echo "$as_me:$LINENO: checking for dlopen" >&5
9378 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9379 if test "${ac_cv_func_dlopen+set}" = set; then
9380 echo $ECHO_N "(cached) $ECHO_C" >&6
9382 cat >conftest.$ac_ext <<_ACEOF
9385 cat confdefs.h >>conftest.$ac_ext
9386 cat >>conftest.$ac_ext <<_ACEOF
9387 /* end confdefs.h. */
9388 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9390 #define dlopen innocuous_dlopen
9392 /* System header to define __stub macros and hopefully few prototypes,
9393 which can conflict with char dlopen (); below.
9394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9395 <limits.h> exists even on freestanding compilers. */
9398 # include <limits.h>
9400 # include <assert.h>
9405 /* Override any GCC internal prototype to avoid an error.
9406 Use char because int might match the return type of a GCC
9407 builtin and then its argument prototype would still apply. */
9412 /* The GNU C library defines this for functions which it implements
9413 to always fail with ENOSYS. Some functions are actually named
9414 something starting with __ and the normal name is an alias. */
9415 #if defined __stub_dlopen || defined __stub___dlopen
9427 rm -f conftest.$ac_objext conftest$ac_exeext
9428 if { (ac_try="$ac_link"
9430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9431 *) ac_try_echo
=$ac_try;;
9433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9434 (eval "$ac_link") 2>conftest.er1
9436 grep -v '^ *+' conftest.er1
>conftest.err
9438 cat conftest.err
>&5
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); } && {
9441 test -z "$ac_c_werror_flag" ||
9442 test ! -s conftest.err
9443 } && test -s conftest
$ac_exeext &&
9444 $as_test_x conftest
$ac_exeext; then
9445 ac_cv_func_dlopen
=yes
9447 echo "$as_me: failed program was:" >&5
9448 sed 's/^/| /' conftest.
$ac_ext >&5
9450 ac_cv_func_dlopen
=no
9453 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9454 conftest
$ac_exeext conftest.
$ac_ext
9456 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9457 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9458 if test $ac_cv_func_dlopen = yes; then
9459 lt_cv_dlopen
="dlopen"
9461 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9462 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9463 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9464 echo $ECHO_N "(cached) $ECHO_C" >&6
9466 ac_check_lib_save_LIBS
=$LIBS
9468 cat >conftest.
$ac_ext <<_ACEOF
9471 cat confdefs.h
>>conftest.
$ac_ext
9472 cat >>conftest.
$ac_ext <<_ACEOF
9473 /* end confdefs.h. */
9475 /* Override any GCC internal prototype to avoid an error.
9476 Use char because int might match the return type of a GCC
9477 builtin and then its argument prototype would still apply. */
9490 rm -f conftest.
$ac_objext conftest
$ac_exeext
9491 if { (ac_try
="$ac_link"
9493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9494 *) ac_try_echo=$ac_try;;
9496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9497 (eval "$ac_link") 2>conftest.er1
9499 grep -v '^ *+' conftest.er1 >conftest.err
9501 cat conftest.err >&5
9502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 (exit $ac_status); } && {
9504 test -z "$ac_c_werror_flag" ||
9505 test ! -s conftest.err
9506 } && test -s conftest$ac_exeext &&
9507 $as_test_x conftest$ac_exeext; then
9508 ac_cv_lib_dl_dlopen=yes
9510 echo "$as_me: failed program was:" >&5
9511 sed 's/^/| /' conftest.$ac_ext >&5
9513 ac_cv_lib_dl_dlopen=no
9516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9517 conftest$ac_exeext conftest.$ac_ext
9518 LIBS=$ac_check_lib_save_LIBS
9520 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9521 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9522 if test $ac_cv_lib_dl_dlopen = yes; then
9523 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9525 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9526 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9527 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9528 echo $ECHO_N "(cached) $ECHO_C" >&6
9530 ac_check_lib_save_LIBS=$LIBS
9532 cat >conftest.$ac_ext <<_ACEOF
9535 cat confdefs.h >>conftest.$ac_ext
9536 cat >>conftest.$ac_ext <<_ACEOF
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9554 rm -f conftest.$ac_objext conftest$ac_exeext
9555 if { (ac_try="$ac_link"
9557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9558 *) ac_try_echo
=$ac_try;;
9560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9561 (eval "$ac_link") 2>conftest.er1
9563 grep -v '^ *+' conftest.er1
>conftest.err
9565 cat conftest.err
>&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); } && {
9568 test -z "$ac_c_werror_flag" ||
9569 test ! -s conftest.err
9570 } && test -s conftest
$ac_exeext &&
9571 $as_test_x conftest
$ac_exeext; then
9572 ac_cv_lib_svld_dlopen
=yes
9574 echo "$as_me: failed program was:" >&5
9575 sed 's/^/| /' conftest.
$ac_ext >&5
9577 ac_cv_lib_svld_dlopen
=no
9580 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9581 conftest
$ac_exeext conftest.
$ac_ext
9582 LIBS
=$ac_check_lib_save_LIBS
9584 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9585 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9586 if test $ac_cv_lib_svld_dlopen = yes; then
9587 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9589 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9590 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9591 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9592 echo $ECHO_N "(cached) $ECHO_C" >&6
9594 ac_check_lib_save_LIBS
=$LIBS
9596 cat >conftest.
$ac_ext <<_ACEOF
9599 cat confdefs.h
>>conftest.
$ac_ext
9600 cat >>conftest.
$ac_ext <<_ACEOF
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9618 rm -f conftest.
$ac_objext conftest
$ac_exeext
9619 if { (ac_try
="$ac_link"
9621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9622 *) ac_try_echo=$ac_try;;
9624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9625 (eval "$ac_link") 2>conftest.er1
9627 grep -v '^ *+' conftest.er1 >conftest.err
9629 cat conftest.err >&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 (exit $ac_status); } && {
9632 test -z "$ac_c_werror_flag" ||
9633 test ! -s conftest.err
9634 } && test -s conftest$ac_exeext &&
9635 $as_test_x conftest$ac_exeext; then
9636 ac_cv_lib_dld_dld_link=yes
9638 echo "$as_me: failed program was:" >&5
9639 sed 's/^/| /' conftest.$ac_ext >&5
9641 ac_cv_lib_dld_dld_link=no
9644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9645 conftest$ac_exeext conftest.$ac_ext
9646 LIBS=$ac_check_lib_save_LIBS
9648 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9649 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9650 if test $ac_cv_lib_dld_dld_link = yes; then
9651 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9672 if test "x$lt_cv_dlopen" != xno; then
9678 case $lt_cv_dlopen in
9680 save_CPPFLAGS="$CPPFLAGS"
9681 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9683 save_LDFLAGS="$LDFLAGS"
9684 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9687 LIBS="$lt_cv_dlopen_libs $LIBS"
9689 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9690 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9691 if test "${lt_cv_dlopen_self+set}" = set; then
9692 echo $ECHO_N "(cached) $ECHO_C" >&6
9694 if test "$cross_compiling" = yes; then :
9695 lt_cv_dlopen_self=cross
9697 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9698 lt_status=$lt_dlunknown
9699 cat > conftest.$ac_ext <<EOF
9700 #line 9700 "configure"
9701 #include "confdefs.h"
9710 # define LT_DLGLOBAL RTLD_GLOBAL
9713 # define LT_DLGLOBAL DL_GLOBAL
9715 # define LT_DLGLOBAL 0
9719 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9720 find out it does not work in some platform. */
9721 #ifndef LT_DLLAZY_OR_NOW
9723 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9726 # define LT_DLLAZY_OR_NOW DL_LAZY
9729 # define LT_DLLAZY_OR_NOW RTLD_NOW
9732 # define LT_DLLAZY_OR_NOW DL_NOW
9734 # define LT_DLLAZY_OR_NOW 0
9742 extern "C" void exit (int);
9745 void fnord() { int i=42;}
9748 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9749 int status = $lt_dlunknown;
9753 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9754 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9755 /* dlclose (self); */
9763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9764 (eval $ac_link) 2>&5
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9768 (./conftest; exit; ) >&5 2>/dev/null
9771 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9772 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9773 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9776 # compilation failed
9777 lt_cv_dlopen_self=no
9784 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9785 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9787 if test "x$lt_cv_dlopen_self" = xyes; then
9788 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9789 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9790 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9791 if test "${lt_cv_dlopen_self_static+set}" = set; then
9792 echo $ECHO_N "(cached) $ECHO_C" >&6
9794 if test "$cross_compiling" = yes; then :
9795 lt_cv_dlopen_self_static=cross
9797 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9798 lt_status=$lt_dlunknown
9799 cat > conftest.$ac_ext <<EOF
9800 #line 9800 "configure"
9801 #include "confdefs.h"
9810 # define LT_DLGLOBAL RTLD_GLOBAL
9813 # define LT_DLGLOBAL DL_GLOBAL
9815 # define LT_DLGLOBAL 0
9819 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9820 find out it does not work in some platform. */
9821 #ifndef LT_DLLAZY_OR_NOW
9823 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9826 # define LT_DLLAZY_OR_NOW DL_LAZY
9829 # define LT_DLLAZY_OR_NOW RTLD_NOW
9832 # define LT_DLLAZY_OR_NOW DL_NOW
9834 # define LT_DLLAZY_OR_NOW 0
9842 extern "C" void exit (int);
9845 void fnord() { int i=42;}
9848 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9849 int status = $lt_dlunknown;
9853 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9854 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9855 /* dlclose (self); */
9863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9864 (eval $ac_link) 2>&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9868 (./conftest; exit; ) >&5 2>/dev/null
9871 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9872 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9873 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9876 # compilation failed
9877 lt_cv_dlopen_self_static=no
9884 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9885 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9888 CPPFLAGS="$save_CPPFLAGS"
9889 LDFLAGS="$save_LDFLAGS"
9894 case $lt_cv_dlopen_self in
9895 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9896 *) enable_dlopen_self=unknown ;;
9899 case $lt_cv_dlopen_self_static in
9900 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9901 *) enable_dlopen_self_static=unknown ;;
9906 # Report which library types will actually be built
9907 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9908 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9909 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
9910 echo "${ECHO_T}$can_build_shared" >&6; }
9912 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9913 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9914 test "$can_build_shared" = "no" && enable_shared=no
9916 # On AIX, shared libraries and static libraries use the same namespace, and
9917 # are all built from PIC.
9920 test "$enable_shared" = yes && enable_static=no
9921 if test -n "$RANLIB"; then
9922 archive_cmds="$archive_cmds~\$RANLIB \$lib"
9923 postinstall_cmds='$RANLIB $lib'
9928 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9929 test "$enable_shared" = yes && enable_static=no
9933 { echo "$as_me:$LINENO: result: $enable_shared" >&5
9934 echo "${ECHO_T}$enable_shared" >&6; }
9936 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9937 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9938 # Make sure either enable_shared or enable_static is yes.
9939 test "$enable_shared" = yes || enable_static=yes
9940 { echo "$as_me:$LINENO: result: $enable_static" >&5
9941 echo "${ECHO_T}$enable_static" >&6; }
9943 # The else clause should only fire when bootstrapping the
9944 # libtool distribution, otherwise you forgot to ship ltmain.sh
9945 # with your package, and you will get complaints that there are
9946 # no rules to generate ltmain.sh.
9947 if test -f "$ltmain"; then
9948 # See if we are running on zsh, and set the options which allow our commands through
9949 # without removal of \ escapes.
9950 if test -n "${ZSH_VERSION+set}" ; then
9951 setopt NO_GLOB_SUBST
9953 # Now quote all the things that may contain metacharacters while being
9954 # careful not to overquote the AC_SUBSTed values. We take copies of the
9955 # variables and quote the copies for generation of the libtool script.
9956 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9958 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9959 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9960 deplibs_check_method reload_flag reload_cmds need_locks \
9961 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9962 lt_cv_sys_global_symbol_to_c_name_address \
9963 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9964 old_postinstall_cmds old_postuninstall_cmds \
9968 lt_prog_compiler_wl \
9969 lt_prog_compiler_pic \
9970 lt_prog_compiler_static \
9971 lt_prog_compiler_no_builtin_flag \
9972 export_dynamic_flag_spec \
9973 thread_safe_flag_spec \
9974 whole_archive_flag_spec \
9975 enable_shared_with_static_runtimes \
9977 old_archive_from_new_cmds \
9982 compiler_lib_search_path \
9984 archive_expsym_cmds \
9986 postuninstall_cmds \
9987 old_archive_from_expsyms_cmds \
9988 allow_undefined_flag \
9990 export_symbols_cmds \
9991 hardcode_libdir_flag_spec \
9992 hardcode_libdir_flag_spec_ld \
9993 hardcode_libdir_separator \
9994 hardcode_automatic \
9996 module_expsym_cmds \
9997 lt_cv_prog_compiler_c_o \
10002 old_archive_cmds | \
10003 old_archive_from_new_cmds | \
10005 archive_expsym_cmds | \
10007 module_expsym_cmds | \
10008 old_archive_from_expsyms_cmds | \
10009 export_symbols_cmds | \
10010 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10011 postinstall_cmds | postuninstall_cmds | \
10012 old_postinstall_cmds | old_postuninstall_cmds | \
10013 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10014 # Double-quote double-evaled strings.
10015 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10018 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10024 *'\$0 --fallback-echo"')
10025 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10029 cfgfile="${ofile}T"
10030 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10032 { echo "$as_me:$LINENO: creating $ofile" >&5
10033 echo "$as_me: creating $ofile" >&6;}
10035 cat <<__EOF__ >> "$cfgfile"
10038 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10039 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10040 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10042 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10043 # Free Software Foundation, Inc.
10045 # This file is part of GNU Libtool:
10046 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10048 # This program is free software; you can redistribute it and/or modify
10049 # it under the terms of the GNU General Public License as published by
10050 # the Free Software Foundation; either version 2 of the License, or
10051 # (at your option) any later version.
10053 # This program is distributed in the hope that it will be useful, but
10054 # WITHOUT ANY WARRANTY; without even the implied warranty of
10055 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10056 # General Public License for more details.
10058 # You should have received a copy of the GNU General Public License
10059 # along with this program; if not, write to the Free Software
10060 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10062 # As a special exception to the GNU General Public License, if you
10063 # distribute this file as part of a program that contains a
10064 # configuration script generated by Autoconf, you may include it under
10065 # the same distribution terms that you use for the rest of that program.
10067 # A sed program that does not truncate output.
10070 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10071 Xsed="$SED -e 1s/^X//"
10073 # The HP-UX ksh and POSIX shell print the target directory to stdout
10074 # if CDPATH is set.
10075 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10077 # The names of the tagged configurations supported by this script.
10080 # ### BEGIN LIBTOOL CONFIG
10082 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10084 # Shell to use when invoking shell scripts.
10087 # Whether or not to build shared libraries.
10088 build_libtool_libs=$enable_shared
10090 # Whether or not to build static libraries.
10091 build_old_libs=$enable_static
10093 # Whether or not to add -lc for building shared libraries.
10094 build_libtool_need_lc=$archive_cmds_need_lc
10096 # Whether or not to disallow shared libs when runtime libs are static
10097 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10099 # Whether or not to optimize for fast installation.
10100 fast_install=$enable_fast_install
10103 host_alias=$host_alias
10107 # The build system.
10108 build_alias=$build_alias
10112 # An echo program that does not interpret backslashes.
10117 AR_FLAGS=$lt_AR_FLAGS
10122 # LTCC compiler flags.
10123 LTCFLAGS=$lt_LTCFLAGS
10125 # A language-specific compiler.
10128 # Is the compiler the GNU C compiler?
10134 # The linker used to build libraries.
10137 # Whether we need hard or soft links.
10140 # A BSD-compatible nm program.
10143 # A symbol stripping program
10146 # Used to examine libraries when file_magic_cmd begins "file"
10147 MAGIC_CMD=$MAGIC_CMD
10149 # Used on cygwin: DLL creation program.
10152 # Used on cygwin: object dumper.
10155 # Used on cygwin: assembler.
10158 # The name of the directory that contains temporary libtool files.
10161 # How to create reloadable object files.
10162 reload_flag=$lt_reload_flag
10163 reload_cmds=$lt_reload_cmds
10165 # How to pass a linker flag through the compiler.
10166 wl=$lt_lt_prog_compiler_wl
10168 # Object file suffix (normally "o").
10169 objext="$ac_objext"
10171 # Old archive suffix (normally "a").
10174 # Shared library suffix (normally ".so").
10175 shrext_cmds='$shrext_cmds'
10177 # Executable file suffix (normally "").
10180 # Additional compiler flags for building library objects.
10181 pic_flag=$lt_lt_prog_compiler_pic
10184 # What is the maximum length of a command?
10185 max_cmd_len=$lt_cv_sys_max_cmd_len
10187 # Does compiler simultaneously support -c and -o options?
10188 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10190 # Must we lock files when doing compilation?
10191 need_locks=$lt_need_locks
10193 # Do we need the lib prefix for modules?
10194 need_lib_prefix=$need_lib_prefix
10196 # Do we need a version for libraries?
10197 need_version=$need_version
10199 # Whether dlopen is supported.
10200 dlopen_support=$enable_dlopen
10202 # Whether dlopen of programs is supported.
10203 dlopen_self=$enable_dlopen_self
10205 # Whether dlopen of statically linked programs is supported.
10206 dlopen_self_static=$enable_dlopen_self_static
10208 # Compiler flag to prevent dynamic linking.
10209 link_static_flag=$lt_lt_prog_compiler_static
10211 # Compiler flag to turn off builtin functions.
10212 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10214 # Compiler flag to allow reflexive dlopens.
10215 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10217 # Compiler flag to generate shared objects directly from archives.
10218 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10220 # Compiler flag to generate thread-safe objects.
10221 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10223 # Library versioning type.
10224 version_type=$version_type
10226 # Format of library name prefix.
10227 libname_spec=$lt_libname_spec
10229 # List of archive names. First name is the real one, the rest are links.
10230 # The last name is the one that the linker finds with -lNAME.
10231 library_names_spec=$lt_library_names_spec
10233 # The coded name of the library, if different from the real name.
10234 soname_spec=$lt_soname_spec
10236 # Commands used to build and install an old-style archive.
10238 old_archive_cmds=$lt_old_archive_cmds
10239 old_postinstall_cmds=$lt_old_postinstall_cmds
10240 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10242 # Create an old-style archive from a shared archive.
10243 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10245 # Create a temporary old-style archive to link instead of a shared archive.
10246 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10248 # Commands used to build and install a shared archive.
10249 archive_cmds=$lt_archive_cmds
10250 archive_expsym_cmds=$lt_archive_expsym_cmds
10251 postinstall_cmds=$lt_postinstall_cmds
10252 postuninstall_cmds=$lt_postuninstall_cmds
10254 # Commands used to build a loadable module (assumed same as above if empty)
10255 module_cmds=$lt_module_cmds
10256 module_expsym_cmds=$lt_module_expsym_cmds
10258 # Commands to strip libraries.
10259 old_striplib=$lt_old_striplib
10260 striplib=$lt_striplib
10262 # Dependencies to place before the objects being linked to create a
10264 predep_objects=$lt_predep_objects
10266 # Dependencies to place after the objects being linked to create a
10268 postdep_objects=$lt_postdep_objects
10270 # Dependencies to place before the objects being linked to create a
10272 predeps=$lt_predeps
10274 # Dependencies to place after the objects being linked to create a
10276 postdeps=$lt_postdeps
10278 # The library search path used internally by the compiler when linking
10279 # a shared library.
10280 compiler_lib_search_path=$lt_compiler_lib_search_path
10282 # Method to check whether dependent libraries are shared objects.
10283 deplibs_check_method=$lt_deplibs_check_method
10285 # Command to use when deplibs_check_method == file_magic.
10286 file_magic_cmd=$lt_file_magic_cmd
10288 # Flag that allows shared libraries with undefined symbols to be built.
10289 allow_undefined_flag=$lt_allow_undefined_flag
10291 # Flag that forces no undefined symbols.
10292 no_undefined_flag=$lt_no_undefined_flag
10294 # Commands used to finish a libtool library installation in a directory.
10295 finish_cmds=$lt_finish_cmds
10297 # Same as above, but a single script fragment to be evaled but not shown.
10298 finish_eval=$lt_finish_eval
10300 # Take the output of nm and produce a listing of raw symbols and C names.
10301 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10303 # Transform the output of nm in a proper C declaration
10304 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10306 # Transform the output of nm in a C name address pair
10307 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10309 # This is the shared library runtime path variable.
10310 runpath_var=$runpath_var
10312 # This is the shared library path variable.
10313 shlibpath_var=$shlibpath_var
10315 # Is shlibpath searched before the hard-coded library search path?
10316 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10318 # How to hardcode a shared library path into an executable.
10319 hardcode_action=$hardcode_action
10321 # Whether we should hardcode library paths into libraries.
10322 hardcode_into_libs=$hardcode_into_libs
10324 # Flag to hardcode \$libdir into a binary during linking.
10325 # This must work even if \$libdir does not exist.
10326 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10328 # If ld is used when linking, flag to hardcode \$libdir into
10329 # a binary during linking. This must work even if \$libdir does
10331 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10333 # Whether we need a single -rpath flag with a separated argument.
10334 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10336 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10337 # resulting binary.
10338 hardcode_direct=$hardcode_direct
10340 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10341 # resulting binary.
10342 hardcode_minus_L=$hardcode_minus_L
10344 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10345 # the resulting binary.
10346 hardcode_shlibpath_var=$hardcode_shlibpath_var
10348 # Set to yes if building a shared library automatically hardcodes DIR into the library
10349 # and all subsequent libraries and executables linked against it.
10350 hardcode_automatic=$hardcode_automatic
10352 # Variables whose values should be saved in libtool wrapper scripts and
10353 # restored at relink time.
10354 variables_saved_for_relink="$variables_saved_for_relink"
10356 # Whether libtool must link a program against all its dependency libraries.
10357 link_all_deplibs=$link_all_deplibs
10359 # Compile-time system search path for libraries
10360 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10362 # Run-time system search path for libraries
10363 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10365 # Fix the shell variable \$srcfile for the compiler.
10366 fix_srcfile_path="$fix_srcfile_path"
10368 # Set to yes if exported symbols are required.
10369 always_export_symbols=$always_export_symbols
10371 # The commands to list exported symbols.
10372 export_symbols_cmds=$lt_export_symbols_cmds
10374 # The commands to extract the exported symbol list from a shared archive.
10375 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10377 # Symbols that should not be listed in the preloaded symbols.
10378 exclude_expsyms=$lt_exclude_expsyms
10380 # Symbols that must always be exported.
10381 include_expsyms=$lt_include_expsyms
10383 # ### END LIBTOOL CONFIG
10390 cat <<\EOF >> "$cfgfile"
10392 # AIX sometimes has problems with the GCC collect2 program. For some
10393 # reason, if we set the COLLECT_NAMES environment variable, the problems
10394 # vanish in a puff of smoke.
10395 if test "X${COLLECT_NAMES+set}" != Xset; then
10397 export COLLECT_NAMES
10403 # We use sed instead of cat because bash on DJGPP gets confused if
10404 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10405 # text mode, it properly converts lines to CR/LF. This bash problem
10406 # is reportedly fixed, but why not run on old versions too?
10407 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10409 mv -f "$cfgfile" "$ofile" || \
10410 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10414 # If there is no Makefile yet, we rely on a make rule to execute
10415 # `config.status
--recheck' to rerun these tests and create the
10416 # libtool script then.
10417 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10418 if test -f "$ltmain_in"; then
10419 test -f Makefile && make "$ltmain"
10425 ac_cpp='$CXXCPP $CPPFLAGS'
10426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10427 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10433 # Check whether --with-tags was given.
10434 if test "${with_tags+set}" = set; then
10435 withval=$with_tags; tagnames="$withval"
10439 if test -f "$ltmain" && test -n "$tagnames"; then
10440 if test ! -f "${ofile}"; then
10441 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10442 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10445 if test -z "$LTCC"; then
10446 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10447 if test -z "$LTCC"; then
10448 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10449 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10451 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10452 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10455 if test -z "$LTCFLAGS"; then
10456 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10459 # Extract list of available tagged configurations in $ofile.
10460 # Note that this assumes the entire list is on one line.
10461 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10463 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10464 for tagname in $tagnames; do
10466 # Check whether tagname contains only valid characters
10467 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10469 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10470 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10471 { (exit 1); exit 1; }; }
10475 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10477 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10478 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10479 { (exit 1); exit 1; }; }
10482 # Update the list of available tags.
10483 if test -n "$tagname"; then
10484 echo appending configuration tag \"$tagname\" to $ofile
10488 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10489 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10490 (test "X$CXX" != "Xg++"))) ; then
10492 ac_cpp='$CXXCPP $CPPFLAGS'
10493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10500 archive_cmds_need_lc_CXX=no
10501 allow_undefined_flag_CXX=
10502 always_export_symbols_CXX=no
10503 archive_expsym_cmds_CXX=
10504 export_dynamic_flag_spec_CXX=
10505 hardcode_direct_CXX=no
10506 hardcode_libdir_flag_spec_CXX=
10507 hardcode_libdir_flag_spec_ld_CXX=
10508 hardcode_libdir_separator_CXX=
10509 hardcode_minus_L_CXX=no
10510 hardcode_shlibpath_var_CXX=unsupported
10511 hardcode_automatic_CXX=no
10513 module_expsym_cmds_CXX=
10514 link_all_deplibs_CXX=unknown
10515 old_archive_cmds_CXX=$old_archive_cmds
10516 no_undefined_flag_CXX=
10517 whole_archive_flag_spec_CXX=
10518 enable_shared_with_static_runtimes_CXX=no
10520 # Dependencies to place before and after the object being linked:
10521 predep_objects_CXX=
10522 postdep_objects_CXX=
10525 compiler_lib_search_path_CXX=
10527 # Source file extension for C++ test sources.
10530 # Object file extension for compiled C++ test sources.
10534 # Code to be used in simple compile tests
10535 lt_simple_compile_test_code="int some_variable = 0;\n"
10537 # Code to be used in simple link tests
10538 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10540 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10542 # If no C compiler was specified, use CC.
10545 # If no C compiler flags were specified, use CFLAGS.
10546 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10548 # Allow CC to be a program name with arguments.
10552 # save warnings/boilerplate of simple test code
10553 ac_outfile=conftest.$ac_objext
10554 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10555 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10556 _lt_compiler_boilerplate=`cat conftest.err
`
10559 ac_outfile=conftest.$ac_objext
10560 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10561 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10562 _lt_linker_boilerplate=`cat conftest.err
`
10566 # Allow CC to be a program name with arguments.
10571 lt_save_with_gnu_ld=$with_gnu_ld
10572 lt_save_path_LD=$lt_cv_path_LD
10573 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10574 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10576 $as_unset lt_cv_prog_gnu_ld
10578 if test -n "${lt_cv_path_LDCXX+set}"; then
10579 lt_cv_path_LD=$lt_cv_path_LDCXX
10581 $as_unset lt_cv_path_LD
10583 test -z "${LDCXX+set}" || LD=$LDCXX
10587 for cc_temp in $compiler""; do
10589 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10590 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10595 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10598 # We don't want -fno-exception wen compiling C++ code, so set the
10599 # no_builtin_flag separately
10600 if test "$GXX" = yes; then
10601 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10603 lt_prog_compiler_no_builtin_flag_CXX=
10606 if test "$GXX" = yes; then
10607 # Set up default GNU C++ configuration
10610 # Check whether --with-gnu-ld was given.
10611 if test "${with_gnu_ld+set}" = set; then
10612 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10618 if test "$GCC" = yes; then
10619 # Check if gcc -print-prog-name=ld gives a path.
10620 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10621 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10624 # gcc leaves a trailing carriage return which upsets mingw
10625 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10627 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10630 # Accept absolute paths.
10632 re_direlt='/[^/][^/]*/\.\./'
10633 # Canonicalize the pathname of ld
10634 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10635 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10636 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10638 test -z "$LD" && LD="$ac_prog"
10641 # If it fails, then pretend we aren't using GCC.
10645 # If it is relative, then search for the first ld in PATH.
10646 with_gnu_ld=unknown
10649 elif test "$with_gnu_ld" = yes; then
10650 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10651 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10653 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10654 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10656 if test "${lt_cv_path_LD+set}" = set; then
10657 echo $ECHO_N "(cached) $ECHO_C" >&6
10659 if test -z "$LD"; then
10660 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10661 for ac_dir in $PATH; do
10663 test -z "$ac_dir" && ac_dir=.
10664 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10665 lt_cv_path_LD="$ac_dir/$ac_prog"
10666 # Check to see if the program is GNU ld. I'd rather use --version,
10667 # but apparently some variants of GNU ld only accept -v.
10668 # Break only if it was the GNU/non-GNU ld that we prefer.
10669 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10670 *GNU* | *'with BFD'*)
10671 test "$with_gnu_ld" != no && break
10674 test "$with_gnu_ld" != yes && break
10681 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10685 LD="$lt_cv_path_LD"
10686 if test -n "$LD"; then
10687 { echo "$as_me:$LINENO: result: $LD" >&5
10688 echo "${ECHO_T}$LD" >&6; }
10690 { echo "$as_me:$LINENO: result: no" >&5
10691 echo "${ECHO_T}no" >&6; }
10693 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10694 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10695 { (exit 1); exit 1; }; }
10696 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10697 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10698 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10699 echo $ECHO_N "(cached) $ECHO_C" >&6
10701 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10702 case `$LD -v 2>&1 </dev
/null
` in
10703 *GNU* | *'with BFD'*)
10704 lt_cv_prog_gnu_ld=yes
10707 lt_cv_prog_gnu_ld=no
10711 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10712 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10713 with_gnu_ld=$lt_cv_prog_gnu_ld
10717 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10718 # archiving commands below assume that GNU ld is being used.
10719 if test "$with_gnu_ld" = yes; then
10720 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10721 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'
10723 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10724 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10726 # If archive_cmds runs LD, not CC, wlarc should be empty
10727 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10728 # investigate it a little bit more. (MM)
10731 # ancient GNU ld didn't support --whole-archive et. al.
10732 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10733 grep 'no-whole-archive' > /dev/null; then
10734 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10736 whole_archive_flag_spec_CXX=
10742 # A generic and very simple default shared library creation
10743 # command for GNU C++ for the case where it uses the native
10744 # linker, instead of GNU ld. If possible, this setting should
10745 # overridden to take advantage of the native linker features on
10746 # the platform it is being used on.
10747 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10750 # Commands to make compiler produce verbose output that lists
10751 # what "hidden" libraries, object files and flags are used when
10752 # linking a shared library.
10753 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10761 # PORTME: fill in a description of your system's C++ link characteristics
10762 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10763 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10767 # FIXME: insert proper C++ library support
10771 if test "$host_cpu" = ia64; then
10772 # On IA64, the linker does run time linking by default, so we don't
10773 # have to do anything special.
10774 aix_use_runtimelinking=no
10775 exp_sym_flag='-Bexport'
10778 aix_use_runtimelinking=no
10780 # Test if we are trying to use run time linking or normal
10781 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10782 # need to do runtime linking.
10783 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10784 for ld_flag in $LDFLAGS; do
10787 aix_use_runtimelinking=yes
10795 exp_sym_flag='-bexport'
10796 no_entry_flag='-bnoentry'
10799 # When large executables or shared objects are built, AIX ld can
10800 # have problems creating the table of contents. If linking a library
10801 # or program results in "error TOC overflow" add -mminimal-toc to
10802 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10803 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10805 archive_cmds_CXX=''
10806 hardcode_direct_CXX=yes
10807 hardcode_libdir_separator_CXX=':'
10808 link_all_deplibs_CXX=yes
10810 if test "$GXX" = yes; then
10811 case $host_os in aix4.[012]|aix4.[012].*)
10812 # We only want to do this on AIX 4.2 and lower, the check
10813 # below for broken collect2 doesn't work under 4.3+
10814 collect2name=`${CC} -print-prog-name=collect2
`
10815 if test -f "$collect2name" && \
10816 strings "$collect2name" | grep resolve_lib_name >/dev/null
10818 # We have reworked collect2
10819 hardcode_direct_CXX=yes
10821 # We have old collect2
10822 hardcode_direct_CXX=unsupported
10823 # It fails to find uninstalled libraries when the uninstalled
10824 # path is not listed in the libpath. Setting hardcode_minus_L
10825 # to unsupported forces relinking
10826 hardcode_minus_L_CXX=yes
10827 hardcode_libdir_flag_spec_CXX='-L$libdir'
10828 hardcode_libdir_separator_CXX=
10832 shared_flag='-shared'
10833 if test "$aix_use_runtimelinking" = yes; then
10834 shared_flag="$shared_flag "'${wl}-G'
10838 if test "$host_cpu" = ia64; then
10839 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10840 # chokes on -Wl,-G. The following line is correct:
10843 if test "$aix_use_runtimelinking" = yes; then
10844 shared_flag='${wl}-G'
10846 shared_flag='${wl}-bM:SRE'
10851 # It seems that -bexpall does not export symbols beginning with
10852 # underscore (_), so it is better to generate a list of symbols to export.
10853 always_export_symbols_CXX=yes
10854 if test "$aix_use_runtimelinking" = yes; then
10855 # Warning - without using the other runtime loading flags (-brtl),
10856 # -berok will link without error, but may produce a broken library.
10857 allow_undefined_flag_CXX='-berok'
10858 # Determine the default libpath from the value encoded in an empty executable.
10859 cat >conftest.$ac_ext <<_ACEOF
10862 cat confdefs.h >>conftest.$ac_ext
10863 cat >>conftest.$ac_ext <<_ACEOF
10864 /* end confdefs.h. */
10874 rm -f conftest.$ac_objext conftest$ac_exeext
10875 if { (ac_try="$ac_link"
10876 case "(($ac_try" in
10877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10878 *) ac_try_echo
=$ac_try;;
10880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10881 (eval "$ac_link") 2>conftest.er1
10883 grep -v '^ *+' conftest.er1
>conftest.err
10885 cat conftest.err
>&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); } && {
10888 test -z "$ac_cxx_werror_flag" ||
10889 test ! -s conftest.err
10890 } && test -s conftest
$ac_exeext &&
10891 $as_test_x conftest
$ac_exeext; then
10893 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10895 # Check for a 64-bit object if we didn't find anything.
10896 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; }
10899 echo "$as_me: failed program was:" >&5
10900 sed 's/^/| /' conftest.
$ac_ext >&5
10905 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10906 conftest
$ac_exeext conftest.
$ac_ext
10907 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10909 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10911 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10913 if test "$host_cpu" = ia64
; then
10914 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10915 allow_undefined_flag_CXX
="-z nodefs"
10916 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10918 # Determine the default libpath from the value encoded in an empty executable.
10919 cat >conftest.
$ac_ext <<_ACEOF
10922 cat confdefs.h
>>conftest.
$ac_ext
10923 cat >>conftest.
$ac_ext <<_ACEOF
10924 /* end confdefs.h. */
10934 rm -f conftest.
$ac_objext conftest
$ac_exeext
10935 if { (ac_try
="$ac_link"
10936 case "(($ac_try" in
10937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10938 *) ac_try_echo=$ac_try;;
10940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10941 (eval "$ac_link") 2>conftest.er1
10943 grep -v '^ *+' conftest.er1 >conftest.err
10945 cat conftest.err >&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } && {
10948 test -z "$ac_cxx_werror_flag" ||
10949 test ! -s conftest.err
10950 } && test -s conftest$ac_exeext &&
10951 $as_test_x conftest$ac_exeext; then
10953 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10955 # Check for a 64-bit object if we didn't find anything.
10956 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; }
10959 echo "$as_me: failed program was:" >&5
10960 sed 's/^/| /' conftest.$ac_ext >&5
10965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10966 conftest$ac_exeext conftest.$ac_ext
10967 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10969 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10970 # Warning - without using the other run time loading flags,
10971 # -berok will link without error, but may produce a broken library.
10972 no_undefined_flag_CXX=' ${wl}-bernotok'
10973 allow_undefined_flag_CXX=' ${wl}-berok'
10974 # Exported symbols can be pulled into shared objects from archives
10975 whole_archive_flag_spec_CXX='$convenience'
10976 archive_cmds_need_lc_CXX=yes
10977 # This is similar to how AIX traditionally builds its shared libraries.
10978 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10984 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10985 allow_undefined_flag_CXX=unsupported
10986 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10987 # support --undefined. This deserves some investigation. FIXME
10988 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10995 case $cc_basename in
10997 # FIXME: insert proper C++ library support
11003 cygwin* | mingw* | pw32*)
11004 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11005 # as there is no search path for DLLs.
11006 hardcode_libdir_flag_spec_CXX='-L$libdir'
11007 allow_undefined_flag_CXX=unsupported
11008 always_export_symbols_CXX=no
11009 enable_shared_with_static_runtimes_CXX=yes
11011 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11012 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11013 # If the export-symbols file already is a .def file (1st line
11014 # is EXPORTS), use it as is; otherwise, prepend...
11015 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11016 cp $export_symbols $output_objdir/$soname.def;
11018 echo EXPORTS > $output_objdir/$soname.def;
11019 cat $export_symbols >> $output_objdir/$soname.def;
11021 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11026 darwin* | rhapsody*)
11028 rhapsody* | darwin1.[012])
11029 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11032 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11033 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11035 case ${MACOSX_DEPLOYMENT_TARGET} in
11037 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11040 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11046 archive_cmds_need_lc_CXX=no
11047 hardcode_direct_CXX=no
11048 hardcode_automatic_CXX=yes
11049 hardcode_shlibpath_var_CXX=unsupported
11050 whole_archive_flag_spec_CXX=''
11051 link_all_deplibs_CXX=yes
11053 if test "$GXX" = yes ; then
11054 lt_int_apple_cc_single_mod=no
11055 output_verbose_link_cmd='echo'
11056 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11057 lt_int_apple_cc_single_mod=yes
11059 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11060 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11062 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11064 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11065 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11066 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11067 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}'
11069 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11071 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}'
11073 case $cc_basename in
11075 output_verbose_link_cmd='echo'
11076 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11077 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11078 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11079 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11080 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}'
11090 case $cc_basename in
11092 # FIXME: insert proper C++ library support
11096 # Green Hills C++ Compiler
11097 # FIXME: insert proper C++ library support
11101 # FIXME: insert proper C++ library support
11107 # C++ shared libraries reported to be fairly broken before switch to ELF
11111 archive_cmds_need_lc_CXX=no
11113 freebsd* | kfreebsd*-gnu | dragonfly*)
11114 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11121 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11122 hardcode_libdir_separator_CXX=:
11123 export_dynamic_flag_spec_CXX='${wl}-E'
11124 hardcode_direct_CXX=yes
11125 hardcode_minus_L_CXX=yes # Not in the search PATH,
11126 # but as the default
11127 # location of the library.
11129 case $cc_basename in
11131 # FIXME: insert proper C++ library support
11135 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'
11136 # Commands to make compiler produce verbose output that lists
11137 # what "hidden" libraries, object files and flags are used when
11138 # linking a shared library.
11140 # There doesn't appear to be a way to prevent this compiler from
11141 # explicitly linking system object files so we need to strip them
11142 # from the output so that they don't get included in the library
11144 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'
11147 if test "$GXX" = yes; then
11148 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'
11150 # FIXME: insert proper C++ library support
11157 if test $with_gnu_ld = no; then
11158 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11159 hardcode_libdir_separator_CXX=:
11163 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11166 export_dynamic_flag_spec_CXX='${wl}-E'
11172 hardcode_direct_CXX=no
11173 hardcode_shlibpath_var_CXX=no
11176 hardcode_direct_CXX=yes
11177 hardcode_minus_L_CXX=yes # Not in the search PATH,
11178 # but as the default
11179 # location of the library.
11183 case $cc_basename in
11185 # FIXME: insert proper C++ library support
11191 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11194 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11197 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11200 # Commands to make compiler produce verbose output that lists
11201 # what "hidden" libraries, object files and flags are used when
11202 # linking a shared library.
11204 # There doesn't appear to be a way to prevent this compiler from
11205 # explicitly linking system object files so we need to strip them
11206 # from the output so that they don't get included in the library
11208 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'
11211 if test "$GXX" = yes; then
11212 if test $with_gnu_ld = no; then
11215 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11218 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11221 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'
11226 # FIXME: insert proper C++ library support
11233 hardcode_direct_CXX=no
11234 hardcode_shlibpath_var_CXX=no
11235 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11236 export_dynamic_flag_spec_CXX='${wl}-E'
11237 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11238 # Instead, shared libraries are loaded at an image base (0x10000000 by
11239 # default) and relocated if they conflict, which is a slow very memory
11240 # consuming and fragmenting process. To avoid this, we pick a random,
11241 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11242 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11243 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11244 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~
$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \
* 262144 + 1342177280` -o $lib'
11247 case $cc_basename in
11250 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11252 # Archives containing C++ object files must be created using
11253 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11254 # necessary to make sure instantiated templates are included
11256 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11259 if test "$GXX" = yes; then
11260 if test "$with_gnu_ld" = no; then
11261 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11263 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'
11266 link_all_deplibs_CXX=yes
11269 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11270 hardcode_libdir_separator_CXX=:
11273 case $cc_basename in
11275 # Kuck and Associates, Inc. (KAI) C++ Compiler
11277 # KCC will only create a shared library if the output file
11278 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11279 # to its proper name (with version) after linking.
11280 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'
11281 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'
11282 # Commands to make compiler produce verbose output that lists
11283 # what "hidden" libraries, object files and flags are used when
11284 # linking a shared library.
11286 # There doesn't appear to be a way to prevent this compiler from
11287 # explicitly linking system object files so we need to strip them
11288 # from the output so that they don't get included in the library
11290 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'
11292 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11293 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11295 # Archives containing C++ object files must be created using
11296 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11297 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11302 # version 8.0 and above of icpc choke on multiply defined symbols
11303 # if we add $predep_objects and $postdep_objects, however 7.1 and
11304 # earlier do not add the objects themselves.
11305 case `$CC -V 2>&1` in
11307 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11308 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'
11310 *) # Version 8.0 or newer
11313 ia64
*) tmp_idyn
=' -i_dynamic';;
11315 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11316 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11319 archive_cmds_need_lc_CXX
=no
11320 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11321 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11322 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11325 # Portland Group C++ compiler
11326 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11327 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11329 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11330 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11331 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11335 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11336 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'
11338 runpath_var
=LD_RUN_PATH
11339 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11340 hardcode_libdir_separator_CXX
=:
11342 # Commands to make compiler produce verbose output that lists
11343 # what "hidden" libraries, object files and flags are used when
11344 # linking a shared library.
11346 # There doesn't appear to be a way to prevent this compiler from
11347 # explicitly linking system object files so we need to strip them
11348 # from the output so that they don't get included in the library
11350 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'
11355 # FIXME: insert proper C++ library support
11359 # FIXME: insert proper C++ library support
11363 case $cc_basename in
11365 # FIXME: insert proper C++ library support
11369 # FIXME: insert proper C++ library support
11375 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11376 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11378 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11379 hardcode_direct_CXX
=yes
11380 hardcode_shlibpath_var_CXX
=no
11382 # Workaround some broken pre-1.5 toolchains
11383 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11386 # C++ shared libraries are fairly broken
11390 hardcode_direct_CXX
=yes
11391 hardcode_shlibpath_var_CXX
=no
11392 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11393 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11394 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11395 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11396 export_dynamic_flag_spec_CXX
='${wl}-E'
11397 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11399 output_verbose_link_cmd
='echo'
11402 case $cc_basename in
11404 # Kuck and Associates, Inc. (KAI) C++ Compiler
11406 # KCC will only create a shared library if the output file
11407 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11408 # to its proper name (with version) after linking.
11409 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'
11411 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11412 hardcode_libdir_separator_CXX
=:
11414 # Archives containing C++ object files must be created using
11415 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11416 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11420 # Rational C++ 2.4.1
11421 # FIXME: insert proper C++ library support
11425 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11426 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11428 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11429 hardcode_libdir_separator_CXX
=:
11431 # Commands to make compiler produce verbose output that lists
11432 # what "hidden" libraries, object files and flags are used when
11433 # linking a shared library.
11435 # There doesn't appear to be a way to prevent this compiler from
11436 # explicitly linking system object files so we need to strip them
11437 # from the output so that they don't get included in the library
11439 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'
11442 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11443 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11444 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11446 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11447 hardcode_libdir_separator_CXX
=:
11449 # Commands to make compiler produce verbose output that lists
11450 # what "hidden" libraries, object files and flags are used when
11451 # linking a shared library.
11452 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11455 # FIXME: insert proper C++ library support
11462 case $cc_basename in
11464 # Kuck and Associates, Inc. (KAI) C++ Compiler
11466 # KCC will only create a shared library if the output file
11467 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11468 # to its proper name (with version) after linking.
11469 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'
11471 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11472 hardcode_libdir_separator_CXX
=:
11474 # Archives containing C++ object files must be created using
11475 # the KAI C++ compiler.
11476 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11479 # Rational C++ 2.4.1
11480 # FIXME: insert proper C++ library support
11484 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11485 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11486 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11487 echo "-hidden">> $lib.exp~
11488 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11491 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11492 hardcode_libdir_separator_CXX
=:
11494 # Commands to make compiler produce verbose output that lists
11495 # what "hidden" libraries, object files and flags are used when
11496 # linking a shared library.
11498 # There doesn't appear to be a way to prevent this compiler from
11499 # explicitly linking system object files so we need to strip them
11500 # from the output so that they don't get included in the library
11502 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'
11505 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11506 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11507 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11509 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11510 hardcode_libdir_separator_CXX
=:
11512 # Commands to make compiler produce verbose output that lists
11513 # what "hidden" libraries, object files and flags are used when
11514 # linking a shared library.
11515 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11518 # FIXME: insert proper C++ library support
11525 # FIXME: insert proper C++ library support
11529 case $cc_basename in
11532 # FIXME: insert proper C++ library support
11537 # FIXME: insert proper C++ library support
11541 # FIXME: insert proper C++ library support
11547 case $cc_basename in
11549 # Sun C++ 4.2, 5.x and Centerline C++
11550 archive_cmds_need_lc_CXX
=yes
11551 no_undefined_flag_CXX
=' -zdefs'
11552 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11553 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11554 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11556 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11557 hardcode_shlibpath_var_CXX
=no
11559 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11561 # The C++ compiler is used as linker so we must use $wl
11562 # flag to pass the commands to the underlying system
11563 # linker. We must also pass each convience library through
11564 # to the system linker between allextract/defaultextract.
11565 # The C++ compiler will combine linker options so we
11566 # cannot just pass the convience library names through
11568 # Supported since Solaris 2.6 (maybe 2.5.1?)
11569 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11572 link_all_deplibs_CXX
=yes
11574 output_verbose_link_cmd
='echo'
11576 # Archives containing C++ object files must be created using
11577 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11578 # necessary to make sure instantiated templates are included
11580 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11583 # Green Hills C++ Compiler
11584 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11586 # The C++ compiler must be used to create the archive.
11587 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11590 # GNU C++ compiler with Solaris linker
11591 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11592 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11593 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11594 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11595 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11596 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11598 # Commands to make compiler produce verbose output that lists
11599 # what "hidden" libraries, object files and flags are used when
11600 # linking a shared library.
11601 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11603 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11605 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11606 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11607 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11609 # Commands to make compiler produce verbose output that lists
11610 # what "hidden" libraries, object files and flags are used when
11611 # linking a shared library.
11612 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11615 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11620 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11621 no_undefined_flag_CXX
='${wl}-z,text'
11622 archive_cmds_need_lc_CXX
=no
11623 hardcode_shlibpath_var_CXX
=no
11624 runpath_var
='LD_RUN_PATH'
11626 case $cc_basename in
11628 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11629 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11632 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11633 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11637 sysv5
* | sco3.2v5
* | sco5v6
*)
11638 # Note: We can NOT use -z defs as we might desire, because we do not
11639 # link with -lc, and that would cause any symbols used from libc to
11640 # always be unresolved, which means just about no library would
11641 # ever link correctly. If we're not using GNU ld we use -z text
11642 # though, which does catch some bad symbols but isn't as heavy-handed
11644 # For security reasons, it is highly recommended that you always
11645 # use absolute paths for naming shared libraries, and exclude the
11646 # DT_RUNPATH tag from executables and libraries. But doing so
11647 # requires that you compile everything twice, which is a pain.
11648 # So that behaviour is only enabled if SCOABSPATH is set to a
11649 # non-empty value in the environment. Most likely only useful for
11650 # creating official distributions of packages.
11651 # This is a hack until libtool officially supports absolute path
11652 # names for shared libraries.
11653 no_undefined_flag_CXX
='${wl}-z,text'
11654 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11655 archive_cmds_need_lc_CXX
=no
11656 hardcode_shlibpath_var_CXX
=no
11657 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11658 hardcode_libdir_separator_CXX
=':'
11659 link_all_deplibs_CXX
=yes
11660 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11661 runpath_var
='LD_RUN_PATH'
11663 case $cc_basename in
11665 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11666 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11669 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11670 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11675 case $cc_basename in
11677 # NonStop-UX NCC 3.20
11678 # FIXME: insert proper C++ library support
11682 # FIXME: insert proper C++ library support
11688 # FIXME: insert proper C++ library support
11692 # FIXME: insert proper C++ library support
11696 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11697 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11698 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11704 cat > conftest.
$ac_ext <<EOF
11708 Foo (void) { a = 0; }
11714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11715 (eval $ac_compile) 2>&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); }; then
11719 # Parse the compiler output and extract the necessary
11720 # objects, libraries and library flags.
11722 # Sentinel used to keep track of whether or not we are before
11723 # the conftest object file.
11724 pre_test_object_deps_done
=no
11726 # The `*' in the case matches for architectures that use `case' in
11727 # $output_verbose_cmd can trigger glob expansion during the loop
11728 # eval without this substitution.
11729 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11731 for p
in `eval $output_verbose_link_cmd`; do
11735 # Some compilers place space between "-{L,R}" and the path.
11736 # Remove the space.
11737 if test $p = "-L" \
11738 ||
test $p = "-R"; then
11745 if test "$pre_test_object_deps_done" = no
; then
11748 # Internal compiler library paths should come after those
11749 # provided the user. The postdeps already come after the
11750 # user supplied libs so there is no need to process them.
11751 if test -z "$compiler_lib_search_path_CXX"; then
11752 compiler_lib_search_path_CXX
="${prev}${p}"
11754 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11757 # The "-l" case would never come before the object being
11758 # linked, so don't bother handling this case.
11761 if test -z "$postdeps_CXX"; then
11762 postdeps_CXX
="${prev}${p}"
11764 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11770 # This assumes that the test object file only shows up
11771 # once in the compiler output.
11772 if test "$p" = "conftest.$objext"; then
11773 pre_test_object_deps_done
=yes
11777 if test "$pre_test_object_deps_done" = no
; then
11778 if test -z "$predep_objects_CXX"; then
11779 predep_objects_CXX
="$p"
11781 predep_objects_CXX
="$predep_objects_CXX $p"
11784 if test -z "$postdep_objects_CXX"; then
11785 postdep_objects_CXX
="$p"
11787 postdep_objects_CXX
="$postdep_objects_CXX $p"
11792 *) ;; # Ignore the rest.
11800 echo "libtool.m4: error: problem compiling CXX test program"
11803 $rm -f confest.
$objext
11805 # PORTME: override above test on systems where it is broken
11808 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11809 # hack all around it, let's just trust "g++" to DTRT.
11810 predep_objects_CXX
=
11811 postdep_objects_CXX
=
11816 case $cc_basename in
11818 # Adding this requires a known-good setup of shared libraries for
11819 # Sun compiler versions before 5.6, else PIC objects from an old
11820 # archive will be linked into the output, leading to subtle bugs.
11821 postdeps_CXX
='-lCstd -lCrun'
11828 case " $postdeps_CXX " in
11829 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11832 lt_prog_compiler_wl_CXX
=
11833 lt_prog_compiler_pic_CXX
=
11834 lt_prog_compiler_static_CXX
=
11836 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11837 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11839 # C++ specific cases for pic, static, wl, etc.
11840 if test "$GXX" = yes; then
11841 lt_prog_compiler_wl_CXX
='-Wl,'
11842 lt_prog_compiler_static_CXX
='-static'
11846 # All AIX code is PIC.
11847 if test "$host_cpu" = ia64
; then
11848 # AIX 5 now supports IA64 processor
11849 lt_prog_compiler_static_CXX
='-Bstatic'
11853 # FIXME: we need at least 68020 code to build shared libraries, but
11854 # adding the `-m68020' flag to GCC prevents building anything better,
11856 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11858 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11859 # PIC is the default for these OSes.
11861 mingw
* | os2
* | pw32
*)
11862 # This hack is so that the source file can tell whether it is being
11863 # built for inclusion in a dll (and should export symbols for example).
11864 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11866 darwin
* | rhapsody
*)
11867 # PIC is the default on this platform
11868 # Common symbols not allowed in MH_DYLIB files
11869 lt_prog_compiler_pic_CXX
='-fno-common'
11872 # DJGPP does not support shared libraries at all
11873 lt_prog_compiler_pic_CXX
=
11876 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11877 # Instead, we relocate shared libraries at runtime.
11880 if test -d /usr
/nec
; then
11881 lt_prog_compiler_pic_CXX
=-Kconform_pic
11885 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11886 # not for PA HP-UX.
11891 lt_prog_compiler_pic_CXX
='-fPIC'
11896 lt_prog_compiler_pic_CXX
='-fPIC'
11902 # All AIX code is PIC.
11903 if test "$host_cpu" = ia64
; then
11904 # AIX 5 now supports IA64 processor
11905 lt_prog_compiler_static_CXX
='-Bstatic'
11907 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11911 case $cc_basename in
11913 # Green Hills C++ Compiler
11914 # _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"
11919 # PIC is the default on this platform
11920 # Common symbols not allowed in MH_DYLIB files
11921 case $cc_basename in
11923 lt_prog_compiler_pic_CXX
='-qnocommon'
11924 lt_prog_compiler_wl_CXX
='-Wl,'
11929 case $cc_basename in
11931 lt_prog_compiler_pic_CXX
='-KPIC'
11934 # Green Hills C++ Compiler
11935 lt_prog_compiler_pic_CXX
='-pic'
11941 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11942 # FreeBSD uses GNU C++
11944 hpux9
* | hpux10
* | hpux11
*)
11945 case $cc_basename in
11947 lt_prog_compiler_wl_CXX
='-Wl,'
11948 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11949 if test "$host_cpu" != ia64
; then
11950 lt_prog_compiler_pic_CXX
='+Z'
11954 lt_prog_compiler_wl_CXX
='-Wl,'
11955 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11961 lt_prog_compiler_pic_CXX
='+Z'
11970 # This is c89, which is MS Visual C++ (no shared libs)
11971 # Anyone wants to do a port?
11973 irix5
* | irix6
* | nonstopux
*)
11974 case $cc_basename in
11976 lt_prog_compiler_wl_CXX
='-Wl,'
11977 lt_prog_compiler_static_CXX
='-non_shared'
11978 # CC pic flag -KPIC is the default.
11985 case $cc_basename in
11988 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11989 lt_prog_compiler_pic_CXX
='-fPIC'
11993 lt_prog_compiler_wl_CXX
='-Wl,'
11994 lt_prog_compiler_pic_CXX
='-KPIC'
11995 lt_prog_compiler_static_CXX
='-static'
11998 # Portland Group C++ compiler.
11999 lt_prog_compiler_wl_CXX
='-Wl,'
12000 lt_prog_compiler_pic_CXX
='-fpic'
12001 lt_prog_compiler_static_CXX
='-Bstatic'
12005 # Make sure the PIC flag is empty. It appears that all Alpha
12006 # Linux and Compaq Tru64 Unix objects are PIC.
12007 lt_prog_compiler_pic_CXX
=
12008 lt_prog_compiler_static_CXX
='-non_shared'
12019 case $cc_basename in
12021 lt_prog_compiler_pic_CXX
='-W c,exportall'
12029 osf3
* | osf4
* | osf5
*)
12030 case $cc_basename in
12032 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12035 # Rational C++ 2.4.1
12036 lt_prog_compiler_pic_CXX
='-pic'
12039 # Digital/Compaq C++
12040 lt_prog_compiler_wl_CXX
='-Wl,'
12041 # Make sure the PIC flag is empty. It appears that all Alpha
12042 # Linux and Compaq Tru64 Unix objects are PIC.
12043 lt_prog_compiler_pic_CXX
=
12044 lt_prog_compiler_static_CXX
='-non_shared'
12053 case $cc_basename in
12055 # Sun C++ 4.2, 5.x and Centerline C++
12056 lt_prog_compiler_pic_CXX
='-KPIC'
12057 lt_prog_compiler_static_CXX
='-Bstatic'
12058 lt_prog_compiler_wl_CXX
='-Qoption ld '
12061 # Green Hills C++ Compiler
12062 lt_prog_compiler_pic_CXX
='-PIC'
12069 case $cc_basename in
12072 lt_prog_compiler_pic_CXX
='-pic'
12073 lt_prog_compiler_static_CXX
='-Bstatic'
12077 lt_prog_compiler_pic_CXX
='-pic'
12084 case $cc_basename in
12086 # NonStop-UX NCC 3.20
12087 lt_prog_compiler_pic_CXX
='-KPIC'
12093 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12094 case $cc_basename in
12096 lt_prog_compiler_wl_CXX
='-Wl,'
12097 lt_prog_compiler_pic_CXX
='-KPIC'
12098 lt_prog_compiler_static_CXX
='-Bstatic'
12105 lt_prog_compiler_can_build_shared_CXX
=no
12110 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12111 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12114 # Check to make sure the PIC flag actually works.
12116 if test -n "$lt_prog_compiler_pic_CXX"; then
12118 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12119 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12120 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12121 echo $ECHO_N "(cached) $ECHO_C" >&6
12123 lt_prog_compiler_pic_works_CXX
=no
12124 ac_outfile
=conftest.
$ac_objext
12125 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12126 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12127 # Insert the option either (1) after the last *FLAGS variable, or
12128 # (2) before a word containing "conftest.", or (3) at the end.
12129 # Note that $ac_compile itself does not contain backslashes and begins
12130 # with a dollar sign (not a hyphen), so the echo should work correctly.
12131 # The option is referenced via a variable to avoid confusing sed.
12132 lt_compile
=`echo "$ac_compile" | $SED \
12133 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12134 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12135 -e 's:$: $lt_compiler_flag:'`
12136 (eval echo "\"\$as_me:12136: $lt_compile\"" >&5)
12137 (eval "$lt_compile" 2>conftest.err
)
12139 cat conftest.err
>&5
12140 echo "$as_me:12140: \$? = $ac_status" >&5
12141 if (exit $ac_status) && test -s "$ac_outfile"; then
12142 # The compiler can only warn and ignore the option if not recognized
12143 # So say no if there are warnings other than the usual output.
12144 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12145 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12146 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12147 lt_prog_compiler_pic_works_CXX
=yes
12153 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12154 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12156 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12157 case $lt_prog_compiler_pic_CXX in
12159 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12162 lt_prog_compiler_pic_CXX
=
12163 lt_prog_compiler_can_build_shared_CXX
=no
12168 # For platforms which do not support PIC, -DPIC is meaningless:
12170 lt_prog_compiler_pic_CXX
=
12173 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12178 # Check to make sure the static flag actually works.
12180 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12181 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12182 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12183 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12186 lt_prog_compiler_static_works_CXX
=no
12187 save_LDFLAGS
="$LDFLAGS"
12188 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12189 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12190 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12191 # The linker can only warn and ignore the option if not recognized
12192 # So say no if there are warnings
12193 if test -s conftest.err
; then
12194 # Append any errors to the config.log.
12195 cat conftest.err
1>&5
12196 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12197 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12198 if diff conftest.exp conftest.er2
>/dev
/null
; then
12199 lt_prog_compiler_static_works_CXX
=yes
12202 lt_prog_compiler_static_works_CXX
=yes
12206 LDFLAGS
="$save_LDFLAGS"
12209 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12210 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12212 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12215 lt_prog_compiler_static_CXX
=
12219 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12220 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12221 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12224 lt_cv_prog_compiler_c_o_CXX
=no
12225 $rm -r conftest
2>/dev
/null
12229 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12231 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12232 # Insert the option either (1) after the last *FLAGS variable, or
12233 # (2) before a word containing "conftest.", or (3) at the end.
12234 # Note that $ac_compile itself does not contain backslashes and begins
12235 # with a dollar sign (not a hyphen), so the echo should work correctly.
12236 lt_compile
=`echo "$ac_compile" | $SED \
12237 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12238 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12239 -e 's:$: $lt_compiler_flag:'`
12240 (eval echo "\"\$as_me:12240: $lt_compile\"" >&5)
12241 (eval "$lt_compile" 2>out
/conftest.err
)
12243 cat out
/conftest.err
>&5
12244 echo "$as_me:12244: \$? = $ac_status" >&5
12245 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12247 # The compiler can only warn and ignore the option if not recognized
12248 # So say no if there are warnings
12249 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12250 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12251 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12252 lt_cv_prog_compiler_c_o_CXX
=yes
12257 # SGI C++ compiler will create directory out/ii_files/ for
12258 # template instantiation
12259 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12260 $rm out
/* && rmdir out
12266 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12267 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12270 hard_links
="nottested"
12271 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12272 # do not overwrite the value of need_locks provided by the user
12273 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12274 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12277 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12279 ln conftest.a conftest.b
2>&5 || hard_links
=no
12280 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12281 { echo "$as_me:$LINENO: result: $hard_links" >&5
12282 echo "${ECHO_T}$hard_links" >&6; }
12283 if test "$hard_links" = no
; then
12284 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12285 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12292 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12293 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12295 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12298 # If we're using GNU nm, then we don't want the "-C" option.
12299 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12300 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12301 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'
12303 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'
12307 export_symbols_cmds_CXX
="$ltdll_cmds"
12310 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12313 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12317 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12318 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12319 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12322 # Do we need to explicitly link libc?
12324 case "x$archive_cmds_need_lc_CXX" in
12326 # Assume -lc should be added
12327 archive_cmds_need_lc_CXX
=yes
12329 if test "$enable_shared" = yes && test "$GCC" = yes; then
12330 case $archive_cmds_CXX in
12332 # FIXME: we may have to deal with multi-command sequences.
12335 # Test whether the compiler implicitly links with -lc since on some
12336 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12337 # to ld, don't add -lc before -lgcc.
12338 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12339 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12341 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12344 (eval $ac_compile) 2>&5
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); } 2>conftest.err
; then
12350 libobjs
=conftest.
$ac_objext
12352 wl
=$lt_prog_compiler_wl_CXX
12353 pic_flag
=$lt_prog_compiler_pic_CXX
12359 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12360 allow_undefined_flag_CXX
=
12361 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12362 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); }
12367 archive_cmds_need_lc_CXX
=no
12369 archive_cmds_need_lc_CXX
=yes
12371 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12373 cat conftest.err
1>&5
12376 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12377 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12384 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12385 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12386 library_names_spec
=
12387 libname_spec
='lib$name'
12391 postuninstall_cmds
=
12395 shlibpath_overrides_runpath
=unknown
12397 dynamic_linker
="$host_os ld.so"
12398 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12399 if test "$GCC" = yes; then
12400 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12401 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12402 # if the path contains ";" then we assume it to be the separator
12403 # otherwise default to the standard path separator (i.e. ":") - it is
12404 # assumed that no part of a normal pathname contains ";" but that should
12405 # okay in the real world where ";" in dirpaths is itself problematic.
12406 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12408 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12411 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12413 need_lib_prefix
=unknown
12414 hardcode_into_libs
=no
12416 # when you set need_version to no, make sure it does not cause -set_version
12417 # flags to be left without arguments
12418 need_version
=unknown
12423 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12424 shlibpath_var
=LIBPATH
12426 # AIX 3 has no versioning support, so we append a major version to the name.
12427 soname_spec
='${libname}${release}${shared_ext}$major'
12434 hardcode_into_libs
=yes
12435 if test "$host_cpu" = ia64
; then
12436 # AIX 5 supports IA64
12437 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12438 shlibpath_var
=LD_LIBRARY_PATH
12440 # With GCC up to 2.95.x, collect2 would create an import file
12441 # for dependence libraries. The import file would start with
12442 # the line `#! .'. This would cause the generated library to
12443 # depend on `.', always an invalid library. This was fixed in
12444 # development snapshots of GCC prior to 3.0.
12446 aix4 | aix4.
[01] | aix4.
[01].
*)
12447 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12449 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12452 can_build_shared
=no
12456 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12457 # soname into executable. Probably we can add versioning support to
12458 # collect2, so additional links can be useful in future.
12459 if test "$aix_use_runtimelinking" = yes; then
12460 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12461 # instead of lib<name>.a to let people know that these are not
12462 # typical AIX shared libraries.
12463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12465 # We preserve .a as extension for shared libraries through AIX4.2
12466 # and later when we are not doing run time linking.
12467 library_names_spec
='${libname}${release}.a $libname.a'
12468 soname_spec
='${libname}${release}${shared_ext}$major'
12470 shlibpath_var
=LIBPATH
12475 library_names_spec
='$libname.ixlibrary $libname.a'
12476 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12477 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'
12481 library_names_spec
='${libname}${shared_ext}'
12482 dynamic_linker
="$host_os ld.so"
12483 shlibpath_var
=LIBRARY_PATH
12489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12490 soname_spec
='${libname}${release}${shared_ext}$major'
12491 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12492 shlibpath_var
=LD_LIBRARY_PATH
12493 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12494 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12495 # the default ld.so.conf also contains /usr/contrib/lib and
12496 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12497 # libtool to hard-code these into programs
12500 cygwin
* | mingw
* | pw32
*)
12501 version_type
=windows
12506 case $GCC,$host_os in
12507 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12508 library_names_spec
='$libname.dll.a'
12509 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12510 postinstall_cmds
='base_file=`basename \${file}`~
12511 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12512 dldir=$destdir/`dirname \$dlpath`~
12513 test -d \$dldir || mkdir -p \$dldir~
12514 $install_prog $dir/$dlname \$dldir/$dlname~
12515 chmod a+x \$dldir/$dlname'
12516 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12517 dlpath=$dir/\$dldll~
12519 shlibpath_overrides_runpath
=yes
12523 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12524 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12525 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12528 # MinGW DLLs use traditional 'lib' prefix
12529 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12530 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12531 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12532 # It is most probably a Windows format PATH printed by
12533 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12534 # path with ; separators, and with drive letters. We can handle the
12535 # drive letters (cygwin fileutils understands them), so leave them,
12536 # especially as we might pass files found there to a mingw objdump,
12537 # which wouldn't understand a cygwinified path. Ahh.
12538 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12540 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12544 # pw32 DLLs use 'pw' prefix rather than 'lib'
12545 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12551 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12554 dynamic_linker
='Win32 ld.exe'
12555 # FIXME: first we should search . and the directory the executable is in
12559 darwin
* | rhapsody
*)
12560 dynamic_linker
="$host_os dyld"
12561 version_type
=darwin
12564 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12565 soname_spec
='${libname}${release}${major}$shared_ext'
12566 shlibpath_overrides_runpath
=yes
12567 shlibpath_var
=DYLD_LIBRARY_PATH
12568 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12569 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12570 if test "$GCC" = yes; then
12571 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"`
12573 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12575 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12583 soname_spec
='${libname}${release}${shared_ext}$major'
12584 shlibpath_var
=LD_LIBRARY_PATH
12595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12596 soname_spec
='${libname}${release}${shared_ext}$major'
12597 shlibpath_var
=LD_LIBRARY_PATH
12598 shlibpath_overrides_runpath
=no
12599 hardcode_into_libs
=yes
12600 dynamic_linker
='GNU ld.so'
12603 freebsd
* | dragonfly
*)
12604 # DragonFly does not have aout. When/if they implement a new
12605 # versioning mechanism, adjust this.
12606 if test -x /usr
/bin
/objformat
; then
12607 objformat
=`/usr/bin/objformat`
12610 freebsd
[123]*) objformat
=aout
;;
12611 *) objformat
=elf
;;
12614 version_type
=freebsd-
$objformat
12615 case $version_type in
12617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12622 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12626 shlibpath_var
=LD_LIBRARY_PATH
12629 shlibpath_overrides_runpath
=yes
12631 freebsd3.
[01]* | freebsdelf3.
[01]*)
12632 shlibpath_overrides_runpath
=yes
12633 hardcode_into_libs
=yes
12635 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12636 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12637 shlibpath_overrides_runpath
=no
12638 hardcode_into_libs
=yes
12640 freebsd
*) # from 4.6 on
12641 shlibpath_overrides_runpath
=yes
12642 hardcode_into_libs
=yes
12651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12652 soname_spec
='${libname}${release}${shared_ext}$major'
12653 shlibpath_var
=LD_LIBRARY_PATH
12654 hardcode_into_libs
=yes
12657 hpux9
* | hpux10
* | hpux11
*)
12658 # Give a soname corresponding to the major version so that dld.sl refuses to
12659 # link against other versions.
12666 hardcode_into_libs
=yes
12667 dynamic_linker
="$host_os dld.so"
12668 shlibpath_var
=LD_LIBRARY_PATH
12669 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12671 soname_spec
='${libname}${release}${shared_ext}$major'
12672 if test "X$HPUX_IA64_MODE" = X32
; then
12673 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12675 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12677 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12681 hardcode_into_libs
=yes
12682 dynamic_linker
="$host_os dld.sl"
12683 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12684 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12686 soname_spec
='${libname}${release}${shared_ext}$major'
12687 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12688 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12692 dynamic_linker
="$host_os dld.sl"
12693 shlibpath_var
=SHLIB_PATH
12694 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12696 soname_spec
='${libname}${release}${shared_ext}$major'
12699 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12700 postinstall_cmds
='chmod 555 $lib'
12707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12708 soname_spec
='${libname}${release}${shared_ext}$major'
12709 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12710 shlibpath_var
=LD_LIBRARY_PATH
12711 shlibpath_overrides_runpath
=no
12712 hardcode_into_libs
=yes
12715 irix5
* | irix6
* | nonstopux
*)
12717 nonstopux
*) version_type
=nonstopux
;;
12719 if test "$lt_cv_prog_gnu_ld" = yes; then
12727 soname_spec
='${libname}${release}${shared_ext}$major'
12728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12730 irix5
* | nonstopux
*)
12731 libsuff
= shlibsuff
=
12734 case $LD in # libtool.m4 will add one of these switches to LD
12735 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12736 libsuff
= shlibsuff
= libmagic
=32-bit;;
12737 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12738 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12739 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12740 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12741 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12745 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12746 shlibpath_overrides_runpath
=no
12747 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12748 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12749 hardcode_into_libs
=yes
12752 # No shared lib support for Linux oldld, aout, or coff.
12753 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12757 # This must be Linux ELF.
12762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12763 soname_spec
='${libname}${release}${shared_ext}$major'
12764 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12765 shlibpath_var
=LD_LIBRARY_PATH
12766 shlibpath_overrides_runpath
=no
12767 # This implies no fast_install, which is unacceptable.
12768 # Some rework will be needed to allow for fast_install
12769 # before this can be enabled.
12770 hardcode_into_libs
=yes
12772 # Append ld.so.conf contents to the search path
12773 if test -f /etc
/ld.so.conf
; then
12774 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12775 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12778 # We used to test for /lib/ld.so.1 and disable shared libraries on
12779 # powerpc, because MkLinux only supported shared libraries with the
12780 # GNU dynamic linker. Since this was broken with cross compilers,
12781 # most powerpc-linux boxes support dynamic linking these days and
12782 # people can always --disable-shared, the test was removed, and we
12783 # assume the GNU/Linux dynamic linker is in use.
12784 dynamic_linker
='GNU/Linux ld.so'
12791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12792 soname_spec
='${libname}${release}${shared_ext}$major'
12793 shlibpath_var
=LD_LIBRARY_PATH
12794 shlibpath_overrides_runpath
=no
12795 hardcode_into_libs
=yes
12796 dynamic_linker
='GNU ld.so'
12803 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12805 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12806 dynamic_linker
='NetBSD (a.out) ld.so'
12808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12809 soname_spec
='${libname}${release}${shared_ext}$major'
12810 dynamic_linker
='NetBSD ld.elf_so'
12812 shlibpath_var
=LD_LIBRARY_PATH
12813 shlibpath_overrides_runpath
=yes
12814 hardcode_into_libs
=yes
12819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12820 shlibpath_var
=LD_LIBRARY_PATH
12821 shlibpath_overrides_runpath
=yes
12828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12829 soname_spec
='${libname}${release}${shared_ext}$major'
12830 shlibpath_var
=LD_LIBRARY_PATH
12831 shlibpath_overrides_runpath
=yes
12836 sys_lib_dlsearch_path_spec
="/usr/lib"
12838 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12840 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12841 *) need_version
=no
;;
12843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12844 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12845 shlibpath_var
=LD_LIBRARY_PATH
12846 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12848 openbsd2.
[89] | openbsd2.
[89].
*)
12849 shlibpath_overrides_runpath
=no
12852 shlibpath_overrides_runpath
=yes
12856 shlibpath_overrides_runpath
=yes
12861 libname_spec
='$name'
12864 library_names_spec
='$libname${shared_ext} $libname.a'
12865 dynamic_linker
='OS/2 ld.exe'
12866 shlibpath_var
=LIBPATH
12869 osf3
* | osf4
* | osf5
*)
12873 soname_spec
='${libname}${release}${shared_ext}$major'
12874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12875 shlibpath_var
=LD_LIBRARY_PATH
12876 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12877 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12885 soname_spec
='${libname}${release}${shared_ext}$major'
12886 shlibpath_var
=LD_LIBRARY_PATH
12887 shlibpath_overrides_runpath
=yes
12888 hardcode_into_libs
=yes
12889 # ldd complains unless libraries are executable
12890 postinstall_cmds
='chmod +x $lib'
12895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12896 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12897 shlibpath_var
=LD_LIBRARY_PATH
12898 shlibpath_overrides_runpath
=yes
12899 if test "$with_gnu_ld" = yes; then
12907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12908 soname_spec
='${libname}${release}${shared_ext}$major'
12909 shlibpath_var
=LD_LIBRARY_PATH
12910 case $host_vendor in
12912 shlibpath_overrides_runpath
=no
12914 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12915 runpath_var
=LD_RUN_PATH
12923 shlibpath_overrides_runpath
=no
12924 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12930 if test -d /usr
/nec
;then
12932 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12933 soname_spec
='$libname${shared_ext}.$major'
12934 shlibpath_var
=LD_LIBRARY_PATH
12938 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12939 version_type
=freebsd-elf
12942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12943 soname_spec
='${libname}${release}${shared_ext}$major'
12944 shlibpath_var
=LD_LIBRARY_PATH
12945 hardcode_into_libs
=yes
12946 if test "$with_gnu_ld" = yes; then
12947 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12948 shlibpath_overrides_runpath
=no
12950 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12951 shlibpath_overrides_runpath
=yes
12954 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12958 sys_lib_dlsearch_path_spec
='/usr/lib'
12963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12964 soname_spec
='${libname}${release}${shared_ext}$major'
12965 shlibpath_var
=LD_LIBRARY_PATH
12972 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12973 echo "${ECHO_T}$dynamic_linker" >&6; }
12974 test "$dynamic_linker" = no
&& can_build_shared
=no
12976 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12977 if test "$GCC" = yes; then
12978 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12981 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12982 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12983 hardcode_action_CXX
=
12984 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12985 test -n "$runpath_var_CXX" || \
12986 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12988 # We can hardcode non-existant directories.
12989 if test "$hardcode_direct_CXX" != no
&&
12990 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12991 # have to relink, otherwise we might link with an installed library
12992 # when we should be linking with a yet-to-be-installed one
12993 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12994 test "$hardcode_minus_L_CXX" != no
; then
12995 # Linking always hardcodes the temporary library directory.
12996 hardcode_action_CXX
=relink
12998 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12999 hardcode_action_CXX
=immediate
13002 # We cannot hardcode anything, or else we can only hardcode existing
13004 hardcode_action_CXX
=unsupported
13006 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13007 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13009 if test "$hardcode_action_CXX" = relink
; then
13010 # Fast installation is not supported
13011 enable_fast_install
=no
13012 elif test "$shlibpath_overrides_runpath" = yes ||
13013 test "$enable_shared" = no
; then
13014 # Fast installation is not necessary
13015 enable_fast_install
=needless
13019 # The else clause should only fire when bootstrapping the
13020 # libtool distribution, otherwise you forgot to ship ltmain.sh
13021 # with your package, and you will get complaints that there are
13022 # no rules to generate ltmain.sh.
13023 if test -f "$ltmain"; then
13024 # See if we are running on zsh, and set the options which allow our commands through
13025 # without removal of \ escapes.
13026 if test -n "${ZSH_VERSION+set}" ; then
13027 setopt NO_GLOB_SUBST
13029 # Now quote all the things that may contain metacharacters while being
13030 # careful not to overquote the AC_SUBSTed values. We take copies of the
13031 # variables and quote the copies for generation of the libtool script.
13032 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13034 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13035 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13036 deplibs_check_method reload_flag reload_cmds need_locks \
13037 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13038 lt_cv_sys_global_symbol_to_c_name_address \
13039 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13040 old_postinstall_cmds old_postuninstall_cmds \
13044 lt_prog_compiler_wl_CXX \
13045 lt_prog_compiler_pic_CXX \
13046 lt_prog_compiler_static_CXX \
13047 lt_prog_compiler_no_builtin_flag_CXX \
13048 export_dynamic_flag_spec_CXX \
13049 thread_safe_flag_spec_CXX \
13050 whole_archive_flag_spec_CXX \
13051 enable_shared_with_static_runtimes_CXX \
13052 old_archive_cmds_CXX \
13053 old_archive_from_new_cmds_CXX \
13054 predep_objects_CXX \
13055 postdep_objects_CXX \
13058 compiler_lib_search_path_CXX \
13060 archive_expsym_cmds_CXX \
13061 postinstall_cmds_CXX \
13062 postuninstall_cmds_CXX \
13063 old_archive_from_expsyms_cmds_CXX \
13064 allow_undefined_flag_CXX \
13065 no_undefined_flag_CXX \
13066 export_symbols_cmds_CXX \
13067 hardcode_libdir_flag_spec_CXX \
13068 hardcode_libdir_flag_spec_ld_CXX \
13069 hardcode_libdir_separator_CXX \
13070 hardcode_automatic_CXX \
13072 module_expsym_cmds_CXX \
13073 lt_cv_prog_compiler_c_o_CXX \
13074 exclude_expsyms_CXX \
13075 include_expsyms_CXX
; do
13078 old_archive_cmds_CXX | \
13079 old_archive_from_new_cmds_CXX | \
13080 archive_cmds_CXX | \
13081 archive_expsym_cmds_CXX | \
13082 module_cmds_CXX | \
13083 module_expsym_cmds_CXX | \
13084 old_archive_from_expsyms_cmds_CXX | \
13085 export_symbols_cmds_CXX | \
13086 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13087 postinstall_cmds | postuninstall_cmds | \
13088 old_postinstall_cmds | old_postuninstall_cmds | \
13089 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13090 # Double-quote double-evaled strings.
13091 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13094 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13100 *'\$0 --fallback-echo"')
13101 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13107 cat <<__EOF__ >> "$cfgfile"
13108 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13110 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13112 # Shell to use when invoking shell scripts.
13115 # Whether or not to build shared libraries.
13116 build_libtool_libs=$enable_shared
13118 # Whether or not to build static libraries.
13119 build_old_libs=$enable_static
13121 # Whether or not to add -lc for building shared libraries.
13122 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13124 # Whether or not to disallow shared libs when runtime libs are static
13125 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13127 # Whether or not to optimize for fast installation.
13128 fast_install=$enable_fast_install
13131 host_alias=$host_alias
13135 # The build system.
13136 build_alias=$build_alias
13140 # An echo program that does not interpret backslashes.
13145 AR_FLAGS=$lt_AR_FLAGS
13150 # LTCC compiler flags.
13151 LTCFLAGS=$lt_LTCFLAGS
13153 # A language-specific compiler.
13154 CC=$lt_compiler_CXX
13156 # Is the compiler the GNU C compiler?
13162 # The linker used to build libraries.
13165 # Whether we need hard or soft links.
13168 # A BSD-compatible nm program.
13171 # A symbol stripping program
13174 # Used to examine libraries when file_magic_cmd begins "file"
13175 MAGIC_CMD=$MAGIC_CMD
13177 # Used on cygwin: DLL creation program.
13180 # Used on cygwin: object dumper.
13183 # Used on cygwin: assembler.
13186 # The name of the directory that contains temporary libtool files.
13189 # How to create reloadable object files.
13190 reload_flag=$lt_reload_flag
13191 reload_cmds=$lt_reload_cmds
13193 # How to pass a linker flag through the compiler.
13194 wl=$lt_lt_prog_compiler_wl_CXX
13196 # Object file suffix (normally "o").
13197 objext="$ac_objext"
13199 # Old archive suffix (normally "a").
13202 # Shared library suffix (normally ".so").
13203 shrext_cmds='$shrext_cmds'
13205 # Executable file suffix (normally "").
13208 # Additional compiler flags for building library objects.
13209 pic_flag=$lt_lt_prog_compiler_pic_CXX
13212 # What is the maximum length of a command?
13213 max_cmd_len=$lt_cv_sys_max_cmd_len
13215 # Does compiler simultaneously support -c and -o options?
13216 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13218 # Must we lock files when doing compilation?
13219 need_locks=$lt_need_locks
13221 # Do we need the lib prefix for modules?
13222 need_lib_prefix=$need_lib_prefix
13224 # Do we need a version for libraries?
13225 need_version=$need_version
13227 # Whether dlopen is supported.
13228 dlopen_support=$enable_dlopen
13230 # Whether dlopen of programs is supported.
13231 dlopen_self=$enable_dlopen_self
13233 # Whether dlopen of statically linked programs is supported.
13234 dlopen_self_static=$enable_dlopen_self_static
13236 # Compiler flag to prevent dynamic linking.
13237 link_static_flag=$lt_lt_prog_compiler_static_CXX
13239 # Compiler flag to turn off builtin functions.
13240 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13242 # Compiler flag to allow reflexive dlopens.
13243 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13245 # Compiler flag to generate shared objects directly from archives.
13246 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13248 # Compiler flag to generate thread-safe objects.
13249 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13251 # Library versioning type.
13252 version_type=$version_type
13254 # Format of library name prefix.
13255 libname_spec=$lt_libname_spec
13257 # List of archive names. First name is the real one, the rest are links.
13258 # The last name is the one that the linker finds with -lNAME.
13259 library_names_spec=$lt_library_names_spec
13261 # The coded name of the library, if different from the real name.
13262 soname_spec=$lt_soname_spec
13264 # Commands used to build and install an old-style archive.
13266 old_archive_cmds=$lt_old_archive_cmds_CXX
13267 old_postinstall_cmds=$lt_old_postinstall_cmds
13268 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13270 # Create an old-style archive from a shared archive.
13271 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13273 # Create a temporary old-style archive to link instead of a shared archive.
13274 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13276 # Commands used to build and install a shared archive.
13277 archive_cmds=$lt_archive_cmds_CXX
13278 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13279 postinstall_cmds=$lt_postinstall_cmds
13280 postuninstall_cmds=$lt_postuninstall_cmds
13282 # Commands used to build a loadable module (assumed same as above if empty)
13283 module_cmds=$lt_module_cmds_CXX
13284 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13286 # Commands to strip libraries.
13287 old_striplib=$lt_old_striplib
13288 striplib=$lt_striplib
13290 # Dependencies to place before the objects being linked to create a
13292 predep_objects=$lt_predep_objects_CXX
13294 # Dependencies to place after the objects being linked to create a
13296 postdep_objects=$lt_postdep_objects_CXX
13298 # Dependencies to place before the objects being linked to create a
13300 predeps=$lt_predeps_CXX
13302 # Dependencies to place after the objects being linked to create a
13304 postdeps=$lt_postdeps_CXX
13306 # The library search path used internally by the compiler when linking
13307 # a shared library.
13308 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13310 # Method to check whether dependent libraries are shared objects.
13311 deplibs_check_method=$lt_deplibs_check_method
13313 # Command to use when deplibs_check_method == file_magic.
13314 file_magic_cmd=$lt_file_magic_cmd
13316 # Flag that allows shared libraries with undefined symbols to be built.
13317 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13319 # Flag that forces no undefined symbols.
13320 no_undefined_flag=$lt_no_undefined_flag_CXX
13322 # Commands used to finish a libtool library installation in a directory.
13323 finish_cmds=$lt_finish_cmds
13325 # Same as above, but a single script fragment to be evaled but not shown.
13326 finish_eval=$lt_finish_eval
13328 # Take the output of nm and produce a listing of raw symbols and C names.
13329 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13331 # Transform the output of nm in a proper C declaration
13332 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13334 # Transform the output of nm in a C name address pair
13335 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13337 # This is the shared library runtime path variable.
13338 runpath_var=$runpath_var
13340 # This is the shared library path variable.
13341 shlibpath_var=$shlibpath_var
13343 # Is shlibpath searched before the hard-coded library search path?
13344 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13346 # How to hardcode a shared library path into an executable.
13347 hardcode_action=$hardcode_action_CXX
13349 # Whether we should hardcode library paths into libraries.
13350 hardcode_into_libs=$hardcode_into_libs
13352 # Flag to hardcode \$libdir into a binary during linking.
13353 # This must work even if \$libdir does not exist.
13354 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13356 # If ld is used when linking, flag to hardcode \$libdir into
13357 # a binary during linking. This must work even if \$libdir does
13359 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13361 # Whether we need a single -rpath flag with a separated argument.
13362 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13364 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13365 # resulting binary.
13366 hardcode_direct=$hardcode_direct_CXX
13368 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13369 # resulting binary.
13370 hardcode_minus_L=$hardcode_minus_L_CXX
13372 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13373 # the resulting binary.
13374 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13376 # Set to yes if building a shared library automatically hardcodes DIR into the library
13377 # and all subsequent libraries and executables linked against it.
13378 hardcode_automatic=$hardcode_automatic_CXX
13380 # Variables whose values should be saved in libtool wrapper scripts and
13381 # restored at relink time.
13382 variables_saved_for_relink="$variables_saved_for_relink"
13384 # Whether libtool must link a program against all its dependency libraries.
13385 link_all_deplibs=$link_all_deplibs_CXX
13387 # Compile-time system search path for libraries
13388 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13390 # Run-time system search path for libraries
13391 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13393 # Fix the shell variable \$srcfile for the compiler.
13394 fix_srcfile_path="$fix_srcfile_path_CXX"
13396 # Set to yes if exported symbols are required.
13397 always_export_symbols=$always_export_symbols_CXX
13399 # The commands to list exported symbols.
13400 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13402 # The commands to extract the exported symbol list from a shared archive.
13403 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13405 # Symbols that should not be listed in the preloaded symbols.
13406 exclude_expsyms=$lt_exclude_expsyms_CXX
13408 # Symbols that must always be exported.
13409 include_expsyms=$lt_include_expsyms_CXX
13411 # ### END LIBTOOL TAG CONFIG: $tagname
13417 # If there is no Makefile yet, we rely on a make rule to execute
13418 # `config.status --recheck' to rerun these tests and create the
13419 # libtool script then.
13420 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13421 if test -f "$ltmain_in"; then
13422 test -f Makefile
&& make "$ltmain"
13428 ac_cpp
='$CXXCPP $CPPFLAGS'
13429 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13430 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13431 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13437 with_gnu_ldcxx
=$with_gnu_ld
13438 with_gnu_ld
=$lt_save_with_gnu_ld
13439 lt_cv_path_LDCXX
=$lt_cv_path_LD
13440 lt_cv_path_LD
=$lt_save_path_LD
13441 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13442 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13450 if test -n "$F77" && test "X$F77" != "Xno"; then
13453 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13454 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13455 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13458 archive_cmds_need_lc_F77
=no
13459 allow_undefined_flag_F77
=
13460 always_export_symbols_F77
=no
13461 archive_expsym_cmds_F77
=
13462 export_dynamic_flag_spec_F77
=
13463 hardcode_direct_F77
=no
13464 hardcode_libdir_flag_spec_F77
=
13465 hardcode_libdir_flag_spec_ld_F77
=
13466 hardcode_libdir_separator_F77
=
13467 hardcode_minus_L_F77
=no
13468 hardcode_automatic_F77
=no
13470 module_expsym_cmds_F77
=
13471 link_all_deplibs_F77
=unknown
13472 old_archive_cmds_F77
=$old_archive_cmds
13473 no_undefined_flag_F77
=
13474 whole_archive_flag_spec_F77
=
13475 enable_shared_with_static_runtimes_F77
=no
13477 # Source file extension for f77 test sources.
13480 # Object file extension for compiled f77 test sources.
13484 # Code to be used in simple compile tests
13485 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13487 # Code to be used in simple link tests
13488 lt_simple_link_test_code
=" program t\n end\n"
13490 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13492 # If no C compiler was specified, use CC.
13495 # If no C compiler flags were specified, use CFLAGS.
13496 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13498 # Allow CC to be a program name with arguments.
13502 # save warnings/boilerplate of simple test code
13503 ac_outfile
=conftest.
$ac_objext
13504 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13505 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13506 _lt_compiler_boilerplate
=`cat conftest.err`
13509 ac_outfile
=conftest.
$ac_objext
13510 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13511 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13512 _lt_linker_boilerplate
=`cat conftest.err`
13516 # Allow CC to be a program name with arguments.
13521 for cc_temp
in $compiler""; do
13523 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13524 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13529 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13532 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13533 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13534 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13535 echo "${ECHO_T}$can_build_shared" >&6; }
13537 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13538 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13539 test "$can_build_shared" = "no" && enable_shared
=no
13541 # On AIX, shared libraries and static libraries use the same namespace, and
13542 # are all built from PIC.
13545 test "$enable_shared" = yes && enable_static
=no
13546 if test -n "$RANLIB"; then
13547 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13548 postinstall_cmds
='$RANLIB $lib'
13552 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13553 test "$enable_shared" = yes && enable_static
=no
13557 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13558 echo "${ECHO_T}$enable_shared" >&6; }
13560 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13561 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13562 # Make sure either enable_shared or enable_static is yes.
13563 test "$enable_shared" = yes || enable_static
=yes
13564 { echo "$as_me:$LINENO: result: $enable_static" >&5
13565 echo "${ECHO_T}$enable_static" >&6; }
13570 lt_prog_compiler_wl_F77
=
13571 lt_prog_compiler_pic_F77
=
13572 lt_prog_compiler_static_F77
=
13574 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13575 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13577 if test "$GCC" = yes; then
13578 lt_prog_compiler_wl_F77
='-Wl,'
13579 lt_prog_compiler_static_F77
='-static'
13583 # All AIX code is PIC.
13584 if test "$host_cpu" = ia64
; then
13585 # AIX 5 now supports IA64 processor
13586 lt_prog_compiler_static_F77
='-Bstatic'
13591 # FIXME: we need at least 68020 code to build shared libraries, but
13592 # adding the `-m68020' flag to GCC prevents building anything better,
13594 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13597 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13598 # PIC is the default for these OSes.
13601 mingw
* | pw32
* | os2
*)
13602 # This hack is so that the source file can tell whether it is being
13603 # built for inclusion in a dll (and should export symbols for example).
13604 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13607 darwin
* | rhapsody
*)
13608 # PIC is the default on this platform
13609 # Common symbols not allowed in MH_DYLIB files
13610 lt_prog_compiler_pic_F77
='-fno-common'
13614 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13615 # Instead, we relocate shared libraries at runtime.
13619 # Just because we use GCC doesn't mean we suddenly get shared libraries
13620 # on systems that don't support them.
13621 lt_prog_compiler_can_build_shared_F77
=no
13626 if test -d /usr
/nec
; then
13627 lt_prog_compiler_pic_F77
=-Kconform_pic
13632 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13633 # not for PA HP-UX.
13639 lt_prog_compiler_pic_F77
='-fPIC'
13645 lt_prog_compiler_pic_F77
='-fPIC'
13649 # PORTME Check for flag to pass linker flags through the system compiler.
13652 lt_prog_compiler_wl_F77
='-Wl,'
13653 if test "$host_cpu" = ia64
; then
13654 # AIX 5 now supports IA64 processor
13655 lt_prog_compiler_static_F77
='-Bstatic'
13657 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13661 # PIC is the default on this platform
13662 # Common symbols not allowed in MH_DYLIB files
13663 case $cc_basename in
13665 lt_prog_compiler_pic_F77
='-qnocommon'
13666 lt_prog_compiler_wl_F77
='-Wl,'
13671 mingw
* | pw32
* | os2
*)
13672 # This hack is so that the source file can tell whether it is being
13673 # built for inclusion in a dll (and should export symbols for example).
13674 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13677 hpux9
* | hpux10
* | hpux11
*)
13678 lt_prog_compiler_wl_F77
='-Wl,'
13679 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13680 # not for PA HP-UX.
13686 lt_prog_compiler_pic_F77
='+Z'
13689 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13690 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13693 irix5
* | irix6
* | nonstopux
*)
13694 lt_prog_compiler_wl_F77
='-Wl,'
13695 # PIC (with -KPIC) is the default.
13696 lt_prog_compiler_static_F77
='-non_shared'
13700 lt_prog_compiler_pic_F77
='-KPIC'
13701 lt_prog_compiler_static_F77
='-Bstatic'
13705 case $cc_basename in
13707 lt_prog_compiler_wl_F77
='-Wl,'
13708 lt_prog_compiler_pic_F77
='-KPIC'
13709 lt_prog_compiler_static_F77
='-static'
13711 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13712 # Portland Group compilers (*not* the Pentium gcc compiler,
13713 # which looks to be a dead project)
13714 lt_prog_compiler_wl_F77
='-Wl,'
13715 lt_prog_compiler_pic_F77
='-fpic'
13716 lt_prog_compiler_static_F77
='-Bstatic'
13719 lt_prog_compiler_wl_F77
='-Wl,'
13720 # All Alpha code is PIC.
13721 lt_prog_compiler_static_F77
='-non_shared'
13726 osf3
* | osf4
* | osf5
*)
13727 lt_prog_compiler_wl_F77
='-Wl,'
13728 # All OSF/1 code is PIC.
13729 lt_prog_compiler_static_F77
='-non_shared'
13733 lt_prog_compiler_pic_F77
='-KPIC'
13734 lt_prog_compiler_static_F77
='-Bstatic'
13735 case $cc_basename in
13736 f77
* | f90
* | f95
*)
13737 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13739 lt_prog_compiler_wl_F77
='-Wl,';;
13744 lt_prog_compiler_wl_F77
='-Qoption ld '
13745 lt_prog_compiler_pic_F77
='-PIC'
13746 lt_prog_compiler_static_F77
='-Bstatic'
13749 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13750 lt_prog_compiler_wl_F77
='-Wl,'
13751 lt_prog_compiler_pic_F77
='-KPIC'
13752 lt_prog_compiler_static_F77
='-Bstatic'
13756 if test -d /usr
/nec
;then
13757 lt_prog_compiler_pic_F77
='-Kconform_pic'
13758 lt_prog_compiler_static_F77
='-Bstatic'
13762 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13763 lt_prog_compiler_wl_F77
='-Wl,'
13764 lt_prog_compiler_pic_F77
='-KPIC'
13765 lt_prog_compiler_static_F77
='-Bstatic'
13769 lt_prog_compiler_wl_F77
='-Wl,'
13770 lt_prog_compiler_can_build_shared_F77
=no
13774 lt_prog_compiler_pic_F77
='-pic'
13775 lt_prog_compiler_static_F77
='-Bstatic'
13779 lt_prog_compiler_can_build_shared_F77
=no
13784 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13785 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13788 # Check to make sure the PIC flag actually works.
13790 if test -n "$lt_prog_compiler_pic_F77"; then
13792 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13793 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13794 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13795 echo $ECHO_N "(cached) $ECHO_C" >&6
13797 lt_prog_compiler_pic_works_F77
=no
13798 ac_outfile
=conftest.
$ac_objext
13799 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13800 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13801 # Insert the option either (1) after the last *FLAGS variable, or
13802 # (2) before a word containing "conftest.", or (3) at the end.
13803 # Note that $ac_compile itself does not contain backslashes and begins
13804 # with a dollar sign (not a hyphen), so the echo should work correctly.
13805 # The option is referenced via a variable to avoid confusing sed.
13806 lt_compile
=`echo "$ac_compile" | $SED \
13807 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13808 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13809 -e 's:$: $lt_compiler_flag:'`
13810 (eval echo "\"\$as_me:13810: $lt_compile\"" >&5)
13811 (eval "$lt_compile" 2>conftest.err
)
13813 cat conftest.err
>&5
13814 echo "$as_me:13814: \$? = $ac_status" >&5
13815 if (exit $ac_status) && test -s "$ac_outfile"; then
13816 # The compiler can only warn and ignore the option if not recognized
13817 # So say no if there are warnings other than the usual output.
13818 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13819 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13820 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13821 lt_prog_compiler_pic_works_F77
=yes
13827 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13828 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13830 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13831 case $lt_prog_compiler_pic_F77 in
13833 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13836 lt_prog_compiler_pic_F77
=
13837 lt_prog_compiler_can_build_shared_F77
=no
13842 # For platforms which do not support PIC, -DPIC is meaningless:
13844 lt_prog_compiler_pic_F77
=
13847 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13852 # Check to make sure the static flag actually works.
13854 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13855 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13856 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13857 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13858 echo $ECHO_N "(cached) $ECHO_C" >&6
13860 lt_prog_compiler_static_works_F77
=no
13861 save_LDFLAGS
="$LDFLAGS"
13862 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13863 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13864 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13865 # The linker can only warn and ignore the option if not recognized
13866 # So say no if there are warnings
13867 if test -s conftest.err
; then
13868 # Append any errors to the config.log.
13869 cat conftest.err
1>&5
13870 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13871 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13872 if diff conftest.exp conftest.er2
>/dev
/null
; then
13873 lt_prog_compiler_static_works_F77
=yes
13876 lt_prog_compiler_static_works_F77
=yes
13880 LDFLAGS
="$save_LDFLAGS"
13883 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13884 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
13886 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13889 lt_prog_compiler_static_F77
=
13893 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13894 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13895 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13896 echo $ECHO_N "(cached) $ECHO_C" >&6
13898 lt_cv_prog_compiler_c_o_F77
=no
13899 $rm -r conftest
2>/dev
/null
13903 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13905 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13906 # Insert the option either (1) after the last *FLAGS variable, or
13907 # (2) before a word containing "conftest.", or (3) at the end.
13908 # Note that $ac_compile itself does not contain backslashes and begins
13909 # with a dollar sign (not a hyphen), so the echo should work correctly.
13910 lt_compile
=`echo "$ac_compile" | $SED \
13911 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13912 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13913 -e 's:$: $lt_compiler_flag:'`
13914 (eval echo "\"\$as_me:13914: $lt_compile\"" >&5)
13915 (eval "$lt_compile" 2>out
/conftest.err
)
13917 cat out
/conftest.err
>&5
13918 echo "$as_me:13918: \$? = $ac_status" >&5
13919 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13921 # The compiler can only warn and ignore the option if not recognized
13922 # So say no if there are warnings
13923 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13924 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13925 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13926 lt_cv_prog_compiler_c_o_F77
=yes
13931 # SGI C++ compiler will create directory out/ii_files/ for
13932 # template instantiation
13933 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13934 $rm out
/* && rmdir out
13940 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13941 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13944 hard_links
="nottested"
13945 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13946 # do not overwrite the value of need_locks provided by the user
13947 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13948 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13951 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13953 ln conftest.a conftest.b
2>&5 || hard_links
=no
13954 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13955 { echo "$as_me:$LINENO: result: $hard_links" >&5
13956 echo "${ECHO_T}$hard_links" >&6; }
13957 if test "$hard_links" = no
; then
13958 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13959 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13966 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13967 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13970 allow_undefined_flag_F77
=
13971 enable_shared_with_static_runtimes_F77
=no
13973 archive_expsym_cmds_F77
=
13974 old_archive_From_new_cmds_F77
=
13975 old_archive_from_expsyms_cmds_F77
=
13976 export_dynamic_flag_spec_F77
=
13977 whole_archive_flag_spec_F77
=
13978 thread_safe_flag_spec_F77
=
13979 hardcode_libdir_flag_spec_F77
=
13980 hardcode_libdir_flag_spec_ld_F77
=
13981 hardcode_libdir_separator_F77
=
13982 hardcode_direct_F77
=no
13983 hardcode_minus_L_F77
=no
13984 hardcode_shlibpath_var_F77
=unsupported
13985 link_all_deplibs_F77
=unknown
13986 hardcode_automatic_F77
=no
13988 module_expsym_cmds_F77
=
13989 always_export_symbols_F77
=no
13990 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13991 # include_expsyms should be a list of space-separated symbols to be *always*
13992 # included in the symbol list
13993 include_expsyms_F77
=
13994 # exclude_expsyms can be an extended regexp of symbols to exclude
13995 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13996 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13997 # as well as any symbol that contains `d'.
13998 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13999 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14000 # platforms (ab)use it in PIC code, but their linkers get confused if
14001 # the symbol is explicitly referenced. Since portable code cannot
14002 # rely on this symbol name, it's probably fine to never include it in
14003 # preloaded symbol tables.
14004 extract_expsyms_cmds
=
14005 # Just being paranoid about ensuring that cc_basename is set.
14006 for cc_temp
in $compiler""; do
14008 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14009 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14014 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14017 cygwin
* | mingw
* | pw32
*)
14018 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14019 # When not using gcc, we currently assume that we are using
14020 # Microsoft Visual C++.
14021 if test "$GCC" != yes; then
14026 # we just hope/assume this is gcc and not c89 (= MSVC++)
14035 if test "$with_gnu_ld" = yes; then
14036 # If archive_cmds runs LD, not CC, wlarc should be empty
14039 # Set some defaults for GNU ld with shared library support. These
14040 # are reset later if shared libraries are not supported. Putting them
14041 # here allows them to be overridden if necessary.
14042 runpath_var
=LD_RUN_PATH
14043 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14044 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14045 # ancient GNU ld didn't support --whole-archive et. al.
14046 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14047 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14049 whole_archive_flag_spec_F77
=
14051 supports_anon_versioning
=no
14052 case `$LD -v 2>/dev/null` in
14053 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14054 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14055 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14056 *\
2.11.
*) ;; # other 2.11 versions
14057 *) supports_anon_versioning
=yes ;;
14060 # See if GNU ld supports shared libraries.
14062 aix3
* | aix4
* | aix5
*)
14063 # On AIX/PPC, the GNU linker is very broken
14064 if test "$host_cpu" != ia64
; then
14068 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14069 *** to be unable to reliably create shared libraries on AIX.
14070 *** Therefore, libtool is disabling shared libraries support. If you
14071 *** really care for shared libraries, you may want to modify your PATH
14072 *** so that a non-GNU linker is found, and then restart.
14079 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)'
14080 hardcode_libdir_flag_spec_F77
='-L$libdir'
14081 hardcode_minus_L_F77
=yes
14083 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14084 # that the semantics of dynamic libraries on AmigaOS, at least up
14085 # to version 4, is to share data among multiple programs linked
14086 # with the same dynamic library. Since this doesn't match the
14087 # behavior of shared libraries on other platforms, we can't use
14093 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14094 allow_undefined_flag_F77
=unsupported
14095 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14096 # support --undefined. This deserves some investigation. FIXME
14097 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14103 cygwin
* | mingw
* | pw32
*)
14104 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14105 # as there is no search path for DLLs.
14106 hardcode_libdir_flag_spec_F77
='-L$libdir'
14107 allow_undefined_flag_F77
=unsupported
14108 always_export_symbols_F77
=no
14109 enable_shared_with_static_runtimes_F77
=yes
14110 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14112 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14113 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14114 # If the export-symbols file already is a .def file (1st line
14115 # is EXPORTS), use it as is; otherwise, prepend...
14116 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14117 cp $export_symbols $output_objdir/$soname.def;
14119 echo EXPORTS > $output_objdir/$soname.def;
14120 cat $export_symbols >> $output_objdir/$soname.def;
14122 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14129 hardcode_direct_F77
=no
14130 hardcode_shlibpath_var_F77
=no
14131 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14132 export_dynamic_flag_spec_F77
='${wl}-E'
14133 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14134 # Instead, shared libraries are loaded at an image base (0x10000000 by
14135 # default) and relocated if they conflict, which is a slow very memory
14136 # consuming and fragmenting process. To avoid this, we pick a random,
14137 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14138 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14139 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14140 archive_expsym_cmds_F77
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14144 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14146 case $cc_basename,$host_cpu in
14147 pgcc
*) # Portland Group C compiler
14148 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14149 tmp_addflag
=' $pic_flag'
14151 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14152 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14153 tmp_addflag
=' $pic_flag -Mnomain' ;;
14154 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14155 tmp_addflag
=' -i_dynamic' ;;
14156 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14157 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14158 ifc
* | ifort
*) # Intel Fortran compiler
14159 tmp_addflag
=' -nofor_main' ;;
14161 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14163 if test $supports_anon_versioning = yes; then
14164 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14165 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14166 $echo "local: *; };" >> $output_objdir/$libname.ver~
14167 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14175 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14176 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14179 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14180 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14185 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14189 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14190 *** create shared libraries on Solaris systems. Therefore, libtool
14191 *** is disabling shared libraries support. We urge you to upgrade GNU
14192 *** binutils to release 2.9.1 or newer. Another option is to modify
14193 *** your PATH or compiler configuration so that the native linker is
14194 *** used, and then restart.
14197 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14198 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14199 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14205 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14206 case `$LD -v 2>&1` in
14207 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14211 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14212 *** reliably create shared libraries on SCO systems. Therefore, libtool
14213 *** is disabling shared libraries support. We urge you to upgrade GNU
14214 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14215 *** your PATH or compiler configuration so that the native linker is
14216 *** used, and then restart.
14221 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14222 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14223 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14224 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14233 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14235 hardcode_direct_F77
=yes
14236 hardcode_shlibpath_var_F77
=no
14240 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14241 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14242 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14249 if test "$ld_shlibs_F77" = no
; then
14251 hardcode_libdir_flag_spec_F77
=
14252 export_dynamic_flag_spec_F77
=
14253 whole_archive_flag_spec_F77
=
14256 # PORTME fill in a description of your system's linker (not GNU ld)
14259 allow_undefined_flag_F77
=unsupported
14260 always_export_symbols_F77
=yes
14261 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'
14262 # Note: this linker hardcodes the directories in LIBPATH if there
14263 # are no directories specified by -L.
14264 hardcode_minus_L_F77
=yes
14265 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14266 # Neither direct hardcoding nor static linking is supported with a
14268 hardcode_direct_F77
=unsupported
14273 if test "$host_cpu" = ia64
; then
14274 # On IA64, the linker does run time linking by default, so we don't
14275 # have to do anything special.
14276 aix_use_runtimelinking
=no
14277 exp_sym_flag
='-Bexport'
14280 # If we're using GNU nm, then we don't want the "-C" option.
14281 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14282 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14283 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'
14285 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'
14287 aix_use_runtimelinking
=no
14289 # Test if we are trying to use run time linking or normal
14290 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14291 # need to do runtime linking.
14292 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14293 for ld_flag
in $LDFLAGS; do
14294 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14295 aix_use_runtimelinking
=yes
14302 exp_sym_flag
='-bexport'
14303 no_entry_flag
='-bnoentry'
14306 # When large executables or shared objects are built, AIX ld can
14307 # have problems creating the table of contents. If linking a library
14308 # or program results in "error TOC overflow" add -mminimal-toc to
14309 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14310 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14312 archive_cmds_F77
=''
14313 hardcode_direct_F77
=yes
14314 hardcode_libdir_separator_F77
=':'
14315 link_all_deplibs_F77
=yes
14317 if test "$GCC" = yes; then
14318 case $host_os in aix4.
[012]|aix4.
[012].
*)
14319 # We only want to do this on AIX 4.2 and lower, the check
14320 # below for broken collect2 doesn't work under 4.3+
14321 collect2name
=`${CC} -print-prog-name=collect2`
14322 if test -f "$collect2name" && \
14323 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14325 # We have reworked collect2
14326 hardcode_direct_F77
=yes
14328 # We have old collect2
14329 hardcode_direct_F77
=unsupported
14330 # It fails to find uninstalled libraries when the uninstalled
14331 # path is not listed in the libpath. Setting hardcode_minus_L
14332 # to unsupported forces relinking
14333 hardcode_minus_L_F77
=yes
14334 hardcode_libdir_flag_spec_F77
='-L$libdir'
14335 hardcode_libdir_separator_F77
=
14339 shared_flag
='-shared'
14340 if test "$aix_use_runtimelinking" = yes; then
14341 shared_flag
="$shared_flag "'${wl}-G'
14345 if test "$host_cpu" = ia64
; then
14346 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14347 # chokes on -Wl,-G. The following line is correct:
14350 if test "$aix_use_runtimelinking" = yes; then
14351 shared_flag
='${wl}-G'
14353 shared_flag
='${wl}-bM:SRE'
14358 # It seems that -bexpall does not export symbols beginning with
14359 # underscore (_), so it is better to generate a list of symbols to export.
14360 always_export_symbols_F77
=yes
14361 if test "$aix_use_runtimelinking" = yes; then
14362 # Warning - without using the other runtime loading flags (-brtl),
14363 # -berok will link without error, but may produce a broken library.
14364 allow_undefined_flag_F77
='-berok'
14365 # Determine the default libpath from the value encoded in an empty executable.
14366 cat >conftest.
$ac_ext <<_ACEOF
14371 rm -f conftest.
$ac_objext conftest
$ac_exeext
14372 if { (ac_try
="$ac_link"
14373 case "(($ac_try" in
14374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14375 *) ac_try_echo=$ac_try;;
14377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14378 (eval "$ac_link") 2>conftest.er1
14380 grep -v '^ *+' conftest.er1 >conftest.err
14382 cat conftest.err >&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } && {
14385 test -z "$ac_f77_werror_flag" ||
14386 test ! -s conftest.err
14387 } && test -s conftest$ac_exeext &&
14388 $as_test_x conftest$ac_exeext; then
14390 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14392 # Check for a 64-bit object if we didn't find anything.
14393 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; }
14396 echo "$as_me: failed program was:" >&5
14397 sed 's/^/| /' conftest.$ac_ext >&5
14402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14403 conftest$ac_exeext conftest.$ac_ext
14404 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14406 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14407 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14409 if test "$host_cpu" = ia64; then
14410 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14411 allow_undefined_flag_F77="-z nodefs"
14412 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14414 # Determine the default libpath from the value encoded in an empty executable.
14415 cat >conftest.$ac_ext <<_ACEOF
14420 rm -f conftest.$ac_objext conftest$ac_exeext
14421 if { (ac_try="$ac_link"
14422 case "(($ac_try" in
14423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14424 *) ac_try_echo
=$ac_try;;
14426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14427 (eval "$ac_link") 2>conftest.er1
14429 grep -v '^ *+' conftest.er1
>conftest.err
14431 cat conftest.err
>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); } && {
14434 test -z "$ac_f77_werror_flag" ||
14435 test ! -s conftest.err
14436 } && test -s conftest
$ac_exeext &&
14437 $as_test_x conftest
$ac_exeext; then
14439 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14441 # Check for a 64-bit object if we didn't find anything.
14442 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; }
14445 echo "$as_me: failed program was:" >&5
14446 sed 's/^/| /' conftest.
$ac_ext >&5
14451 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14452 conftest
$ac_exeext conftest.
$ac_ext
14453 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14455 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14456 # Warning - without using the other run time loading flags,
14457 # -berok will link without error, but may produce a broken library.
14458 no_undefined_flag_F77
=' ${wl}-bernotok'
14459 allow_undefined_flag_F77
=' ${wl}-berok'
14460 # Exported symbols can be pulled into shared objects from archives
14461 whole_archive_flag_spec_F77
='$convenience'
14462 archive_cmds_need_lc_F77
=yes
14463 # This is similar to how AIX traditionally builds its shared libraries.
14464 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14470 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)'
14471 hardcode_libdir_flag_spec_F77
='-L$libdir'
14472 hardcode_minus_L_F77
=yes
14473 # see comment about different semantics on the GNU ld section
14478 export_dynamic_flag_spec_F77
=-rdynamic
14481 cygwin
* | mingw
* | pw32
*)
14482 # When not using gcc, we currently assume that we are using
14483 # Microsoft Visual C++.
14484 # hardcode_libdir_flag_spec is actually meaningless, as there is
14485 # no search path for DLLs.
14486 hardcode_libdir_flag_spec_F77
=' '
14487 allow_undefined_flag_F77
=unsupported
14488 # Tell ltmain to make .lib files, not .a files.
14490 # Tell ltmain to make .dll files, not .so files.
14492 # FIXME: Setting linknames here is a bad hack.
14493 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14494 # The linker will automatically build a .lib file if we build a DLL.
14495 old_archive_From_new_cmds_F77
='true'
14496 # FIXME: Should let the user specify the lib program.
14497 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14498 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14499 enable_shared_with_static_runtimes_F77
=yes
14502 darwin
* | rhapsody
*)
14504 rhapsody
* | darwin1.
[012])
14505 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14508 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14509 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14511 case ${MACOSX_DEPLOYMENT_TARGET} in
14513 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14516 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14522 archive_cmds_need_lc_F77
=no
14523 hardcode_direct_F77
=no
14524 hardcode_automatic_F77
=yes
14525 hardcode_shlibpath_var_F77
=unsupported
14526 whole_archive_flag_spec_F77
=''
14527 link_all_deplibs_F77
=yes
14528 if test "$GCC" = yes ; then
14529 output_verbose_link_cmd
='echo'
14530 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14531 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14532 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14533 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14534 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}'
14536 case $cc_basename in
14538 output_verbose_link_cmd
='echo'
14539 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14540 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14541 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14542 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14543 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}'
14553 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14554 hardcode_libdir_flag_spec_F77
='-L$libdir'
14555 hardcode_shlibpath_var_F77
=no
14562 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14563 # support. Future versions do this automatically, but an explicit c++rt0.o
14564 # does not break anything, and helps significantly (at the cost of a little
14567 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14568 hardcode_libdir_flag_spec_F77
='-R$libdir'
14569 hardcode_direct_F77
=yes
14570 hardcode_shlibpath_var_F77
=no
14573 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14575 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14576 hardcode_direct_F77
=yes
14577 hardcode_minus_L_F77
=yes
14578 hardcode_shlibpath_var_F77
=no
14581 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14582 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14583 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14584 hardcode_libdir_flag_spec_F77
='-R$libdir'
14585 hardcode_direct_F77
=yes
14586 hardcode_shlibpath_var_F77
=no
14590 if test "$GCC" = yes; then
14591 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'
14593 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'
14595 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14596 hardcode_libdir_separator_F77
=:
14597 hardcode_direct_F77
=yes
14599 # hardcode_minus_L: Not really in the search PATH,
14600 # but as the default location of the library.
14601 hardcode_minus_L_F77
=yes
14602 export_dynamic_flag_spec_F77
='${wl}-E'
14606 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14607 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14609 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14611 if test "$with_gnu_ld" = no
; then
14612 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14613 hardcode_libdir_separator_F77
=:
14615 hardcode_direct_F77
=yes
14616 export_dynamic_flag_spec_F77
='${wl}-E'
14618 # hardcode_minus_L: Not really in the search PATH,
14619 # but as the default location of the library.
14620 hardcode_minus_L_F77
=yes
14625 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14628 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14631 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14634 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14640 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14643 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14646 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14650 if test "$with_gnu_ld" = no
; then
14651 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14652 hardcode_libdir_separator_F77
=:
14656 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14657 hardcode_direct_F77
=no
14658 hardcode_shlibpath_var_F77
=no
14661 hardcode_direct_F77
=yes
14662 export_dynamic_flag_spec_F77
='${wl}-E'
14664 # hardcode_minus_L: Not really in the search PATH,
14665 # but as the default location of the library.
14666 hardcode_minus_L_F77
=yes
14672 irix5
* | irix6
* | nonstopux
*)
14673 if test "$GCC" = yes; then
14674 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'
14676 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'
14677 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14679 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14680 hardcode_libdir_separator_F77
=:
14681 link_all_deplibs_F77
=yes
14685 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14686 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14688 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14690 hardcode_libdir_flag_spec_F77
='-R$libdir'
14691 hardcode_direct_F77
=yes
14692 hardcode_shlibpath_var_F77
=no
14696 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14697 hardcode_direct_F77
=yes
14698 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14699 hardcode_libdir_separator_F77
=:
14700 hardcode_shlibpath_var_F77
=no
14704 hardcode_direct_F77
=yes
14705 hardcode_shlibpath_var_F77
=no
14706 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14707 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14708 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14709 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14710 export_dynamic_flag_spec_F77
='${wl}-E'
14713 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14714 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14715 hardcode_libdir_flag_spec_F77
='-R$libdir'
14718 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14719 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14726 hardcode_libdir_flag_spec_F77
='-L$libdir'
14727 hardcode_minus_L_F77
=yes
14728 allow_undefined_flag_F77
=unsupported
14729 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'
14730 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14734 if test "$GCC" = yes; then
14735 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14736 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'
14738 allow_undefined_flag_F77
=' -expect_unresolved \*'
14739 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'
14741 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14742 hardcode_libdir_separator_F77
=:
14745 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14746 if test "$GCC" = yes; then
14747 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14748 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'
14749 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14751 allow_undefined_flag_F77
=' -expect_unresolved \*'
14752 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'
14753 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~
14754 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14756 # Both c and cxx compiler support -rpath directly
14757 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14759 hardcode_libdir_separator_F77
=:
14763 no_undefined_flag_F77
=' -z text'
14764 if test "$GCC" = yes; then
14766 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14767 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14768 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14771 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14772 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14773 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14775 hardcode_libdir_flag_spec_F77
='-R$libdir'
14776 hardcode_shlibpath_var_F77
=no
14778 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14780 # The compiler driver will combine linker options so we
14781 # cannot just pass the convience library names through
14782 # without $wl, iff we do not link with $LD.
14783 # Luckily, gcc supports the same syntax we need for Sun Studio.
14784 # Supported since Solaris 2.6 (maybe 2.5.1?)
14787 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14789 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14792 link_all_deplibs_F77
=yes
14796 if test "x$host_vendor" = xsequent
; then
14797 # Use $CC to link under sequent, because it throws in some extra .o
14798 # files that make .init and .fini sections work.
14799 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14801 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14803 hardcode_libdir_flag_spec_F77
='-L$libdir'
14804 hardcode_direct_F77
=yes
14805 hardcode_minus_L_F77
=yes
14806 hardcode_shlibpath_var_F77
=no
14810 case $host_vendor in
14812 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14813 hardcode_direct_F77
=yes # is this really true???
14816 ## LD is ld it makes a PLAMLIB
14817 ## CC just makes a GrossModule.
14818 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14819 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14820 hardcode_direct_F77
=no
14823 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14824 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14827 runpath_var
='LD_RUN_PATH'
14828 hardcode_shlibpath_var_F77
=no
14832 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14833 hardcode_shlibpath_var_F77
=no
14834 export_dynamic_flag_spec_F77
='-Bexport'
14838 if test -d /usr
/nec
; then
14839 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14840 hardcode_shlibpath_var_F77
=no
14841 runpath_var
=LD_RUN_PATH
14842 hardcode_runpath_var
=yes
14847 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14848 no_undefined_flag_F77
='${wl}-z,text'
14849 archive_cmds_need_lc_F77
=no
14850 hardcode_shlibpath_var_F77
=no
14851 runpath_var
='LD_RUN_PATH'
14853 if test "$GCC" = yes; then
14854 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14855 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14857 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14858 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14862 sysv5
* | sco3.2v5
* | sco5v6
*)
14863 # Note: We can NOT use -z defs as we might desire, because we do not
14864 # link with -lc, and that would cause any symbols used from libc to
14865 # always be unresolved, which means just about no library would
14866 # ever link correctly. If we're not using GNU ld we use -z text
14867 # though, which does catch some bad symbols but isn't as heavy-handed
14869 no_undefined_flag_F77
='${wl}-z,text'
14870 allow_undefined_flag_F77
='${wl}-z,nodefs'
14871 archive_cmds_need_lc_F77
=no
14872 hardcode_shlibpath_var_F77
=no
14873 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14874 hardcode_libdir_separator_F77
=':'
14875 link_all_deplibs_F77
=yes
14876 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14877 runpath_var
='LD_RUN_PATH'
14879 if test "$GCC" = yes; then
14880 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14881 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14883 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14884 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14889 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14890 hardcode_libdir_flag_spec_F77
='-L$libdir'
14891 hardcode_shlibpath_var_F77
=no
14900 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14901 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14902 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14905 # Do we need to explicitly link libc?
14907 case "x$archive_cmds_need_lc_F77" in
14909 # Assume -lc should be added
14910 archive_cmds_need_lc_F77
=yes
14912 if test "$enable_shared" = yes && test "$GCC" = yes; then
14913 case $archive_cmds_F77 in
14915 # FIXME: we may have to deal with multi-command sequences.
14918 # Test whether the compiler implicitly links with -lc since on some
14919 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14920 # to ld, don't add -lc before -lgcc.
14921 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14922 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14924 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14927 (eval $ac_compile) 2>&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); } 2>conftest.err
; then
14933 libobjs
=conftest.
$ac_objext
14935 wl
=$lt_prog_compiler_wl_F77
14936 pic_flag
=$lt_prog_compiler_pic_F77
14942 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14943 allow_undefined_flag_F77
=
14944 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14945 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }
14950 archive_cmds_need_lc_F77
=no
14952 archive_cmds_need_lc_F77
=yes
14954 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14956 cat conftest.err
1>&5
14959 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14960 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14967 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14968 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14969 library_names_spec
=
14970 libname_spec
='lib$name'
14974 postuninstall_cmds
=
14978 shlibpath_overrides_runpath
=unknown
14980 dynamic_linker
="$host_os ld.so"
14981 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14982 if test "$GCC" = yes; then
14983 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14984 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14985 # if the path contains ";" then we assume it to be the separator
14986 # otherwise default to the standard path separator (i.e. ":") - it is
14987 # assumed that no part of a normal pathname contains ";" but that should
14988 # okay in the real world where ";" in dirpaths is itself problematic.
14989 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14991 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14994 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14996 need_lib_prefix
=unknown
14997 hardcode_into_libs
=no
14999 # when you set need_version to no, make sure it does not cause -set_version
15000 # flags to be left without arguments
15001 need_version
=unknown
15006 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15007 shlibpath_var
=LIBPATH
15009 # AIX 3 has no versioning support, so we append a major version to the name.
15010 soname_spec
='${libname}${release}${shared_ext}$major'
15017 hardcode_into_libs
=yes
15018 if test "$host_cpu" = ia64
; then
15019 # AIX 5 supports IA64
15020 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15021 shlibpath_var
=LD_LIBRARY_PATH
15023 # With GCC up to 2.95.x, collect2 would create an import file
15024 # for dependence libraries. The import file would start with
15025 # the line `#! .'. This would cause the generated library to
15026 # depend on `.', always an invalid library. This was fixed in
15027 # development snapshots of GCC prior to 3.0.
15029 aix4 | aix4.
[01] | aix4.
[01].
*)
15030 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15032 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15035 can_build_shared
=no
15039 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15040 # soname into executable. Probably we can add versioning support to
15041 # collect2, so additional links can be useful in future.
15042 if test "$aix_use_runtimelinking" = yes; then
15043 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15044 # instead of lib<name>.a to let people know that these are not
15045 # typical AIX shared libraries.
15046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15048 # We preserve .a as extension for shared libraries through AIX4.2
15049 # and later when we are not doing run time linking.
15050 library_names_spec
='${libname}${release}.a $libname.a'
15051 soname_spec
='${libname}${release}${shared_ext}$major'
15053 shlibpath_var
=LIBPATH
15058 library_names_spec
='$libname.ixlibrary $libname.a'
15059 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15060 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'
15064 library_names_spec
='${libname}${shared_ext}'
15065 dynamic_linker
="$host_os ld.so"
15066 shlibpath_var
=LIBRARY_PATH
15072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15073 soname_spec
='${libname}${release}${shared_ext}$major'
15074 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15075 shlibpath_var
=LD_LIBRARY_PATH
15076 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15077 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15078 # the default ld.so.conf also contains /usr/contrib/lib and
15079 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15080 # libtool to hard-code these into programs
15083 cygwin
* | mingw
* | pw32
*)
15084 version_type
=windows
15089 case $GCC,$host_os in
15090 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15091 library_names_spec
='$libname.dll.a'
15092 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15093 postinstall_cmds
='base_file=`basename \${file}`~
15094 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15095 dldir=$destdir/`dirname \$dlpath`~
15096 test -d \$dldir || mkdir -p \$dldir~
15097 $install_prog $dir/$dlname \$dldir/$dlname~
15098 chmod a+x \$dldir/$dlname'
15099 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15100 dlpath=$dir/\$dldll~
15102 shlibpath_overrides_runpath
=yes
15106 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15107 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15108 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15111 # MinGW DLLs use traditional 'lib' prefix
15112 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15113 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15114 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15115 # It is most probably a Windows format PATH printed by
15116 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15117 # path with ; separators, and with drive letters. We can handle the
15118 # drive letters (cygwin fileutils understands them), so leave them,
15119 # especially as we might pass files found there to a mingw objdump,
15120 # which wouldn't understand a cygwinified path. Ahh.
15121 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15123 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15127 # pw32 DLLs use 'pw' prefix rather than 'lib'
15128 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15134 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15137 dynamic_linker
='Win32 ld.exe'
15138 # FIXME: first we should search . and the directory the executable is in
15142 darwin
* | rhapsody
*)
15143 dynamic_linker
="$host_os dyld"
15144 version_type
=darwin
15147 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15148 soname_spec
='${libname}${release}${major}$shared_ext'
15149 shlibpath_overrides_runpath
=yes
15150 shlibpath_var
=DYLD_LIBRARY_PATH
15151 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15152 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15153 if test "$GCC" = yes; then
15154 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"`
15156 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15158 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15166 soname_spec
='${libname}${release}${shared_ext}$major'
15167 shlibpath_var
=LD_LIBRARY_PATH
15178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15179 soname_spec
='${libname}${release}${shared_ext}$major'
15180 shlibpath_var
=LD_LIBRARY_PATH
15181 shlibpath_overrides_runpath
=no
15182 hardcode_into_libs
=yes
15183 dynamic_linker
='GNU ld.so'
15186 freebsd
* | dragonfly
*)
15187 # DragonFly does not have aout. When/if they implement a new
15188 # versioning mechanism, adjust this.
15189 if test -x /usr
/bin
/objformat
; then
15190 objformat
=`/usr/bin/objformat`
15193 freebsd
[123]*) objformat
=aout
;;
15194 *) objformat
=elf
;;
15197 version_type
=freebsd-
$objformat
15198 case $version_type in
15200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15205 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15209 shlibpath_var
=LD_LIBRARY_PATH
15212 shlibpath_overrides_runpath
=yes
15214 freebsd3.
[01]* | freebsdelf3.
[01]*)
15215 shlibpath_overrides_runpath
=yes
15216 hardcode_into_libs
=yes
15218 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15219 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15220 shlibpath_overrides_runpath
=no
15221 hardcode_into_libs
=yes
15223 freebsd
*) # from 4.6 on
15224 shlibpath_overrides_runpath
=yes
15225 hardcode_into_libs
=yes
15234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15235 soname_spec
='${libname}${release}${shared_ext}$major'
15236 shlibpath_var
=LD_LIBRARY_PATH
15237 hardcode_into_libs
=yes
15240 hpux9
* | hpux10
* | hpux11
*)
15241 # Give a soname corresponding to the major version so that dld.sl refuses to
15242 # link against other versions.
15249 hardcode_into_libs
=yes
15250 dynamic_linker
="$host_os dld.so"
15251 shlibpath_var
=LD_LIBRARY_PATH
15252 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15254 soname_spec
='${libname}${release}${shared_ext}$major'
15255 if test "X$HPUX_IA64_MODE" = X32
; then
15256 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15258 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15260 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15264 hardcode_into_libs
=yes
15265 dynamic_linker
="$host_os dld.sl"
15266 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15267 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15269 soname_spec
='${libname}${release}${shared_ext}$major'
15270 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15271 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15275 dynamic_linker
="$host_os dld.sl"
15276 shlibpath_var
=SHLIB_PATH
15277 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15279 soname_spec
='${libname}${release}${shared_ext}$major'
15282 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15283 postinstall_cmds
='chmod 555 $lib'
15290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15291 soname_spec
='${libname}${release}${shared_ext}$major'
15292 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15293 shlibpath_var
=LD_LIBRARY_PATH
15294 shlibpath_overrides_runpath
=no
15295 hardcode_into_libs
=yes
15298 irix5
* | irix6
* | nonstopux
*)
15300 nonstopux
*) version_type
=nonstopux
;;
15302 if test "$lt_cv_prog_gnu_ld" = yes; then
15310 soname_spec
='${libname}${release}${shared_ext}$major'
15311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15313 irix5
* | nonstopux
*)
15314 libsuff
= shlibsuff
=
15317 case $LD in # libtool.m4 will add one of these switches to LD
15318 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15319 libsuff
= shlibsuff
= libmagic
=32-bit;;
15320 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15321 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15322 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15323 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15324 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15328 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15329 shlibpath_overrides_runpath
=no
15330 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15331 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15332 hardcode_into_libs
=yes
15335 # No shared lib support for Linux oldld, aout, or coff.
15336 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15340 # This must be Linux ELF.
15345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15346 soname_spec
='${libname}${release}${shared_ext}$major'
15347 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15348 shlibpath_var
=LD_LIBRARY_PATH
15349 shlibpath_overrides_runpath
=no
15350 # This implies no fast_install, which is unacceptable.
15351 # Some rework will be needed to allow for fast_install
15352 # before this can be enabled.
15353 hardcode_into_libs
=yes
15355 # Append ld.so.conf contents to the search path
15356 if test -f /etc
/ld.so.conf
; then
15357 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15358 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15361 # We used to test for /lib/ld.so.1 and disable shared libraries on
15362 # powerpc, because MkLinux only supported shared libraries with the
15363 # GNU dynamic linker. Since this was broken with cross compilers,
15364 # most powerpc-linux boxes support dynamic linking these days and
15365 # people can always --disable-shared, the test was removed, and we
15366 # assume the GNU/Linux dynamic linker is in use.
15367 dynamic_linker
='GNU/Linux ld.so'
15374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15375 soname_spec
='${libname}${release}${shared_ext}$major'
15376 shlibpath_var
=LD_LIBRARY_PATH
15377 shlibpath_overrides_runpath
=no
15378 hardcode_into_libs
=yes
15379 dynamic_linker
='GNU ld.so'
15386 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15388 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15389 dynamic_linker
='NetBSD (a.out) ld.so'
15391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15392 soname_spec
='${libname}${release}${shared_ext}$major'
15393 dynamic_linker
='NetBSD ld.elf_so'
15395 shlibpath_var
=LD_LIBRARY_PATH
15396 shlibpath_overrides_runpath
=yes
15397 hardcode_into_libs
=yes
15402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15403 shlibpath_var
=LD_LIBRARY_PATH
15404 shlibpath_overrides_runpath
=yes
15411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15412 soname_spec
='${libname}${release}${shared_ext}$major'
15413 shlibpath_var
=LD_LIBRARY_PATH
15414 shlibpath_overrides_runpath
=yes
15419 sys_lib_dlsearch_path_spec
="/usr/lib"
15421 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15423 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15424 *) need_version
=no
;;
15426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15427 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15428 shlibpath_var
=LD_LIBRARY_PATH
15429 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15431 openbsd2.
[89] | openbsd2.
[89].
*)
15432 shlibpath_overrides_runpath
=no
15435 shlibpath_overrides_runpath
=yes
15439 shlibpath_overrides_runpath
=yes
15444 libname_spec
='$name'
15447 library_names_spec
='$libname${shared_ext} $libname.a'
15448 dynamic_linker
='OS/2 ld.exe'
15449 shlibpath_var
=LIBPATH
15452 osf3
* | osf4
* | osf5
*)
15456 soname_spec
='${libname}${release}${shared_ext}$major'
15457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15458 shlibpath_var
=LD_LIBRARY_PATH
15459 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15460 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15468 soname_spec
='${libname}${release}${shared_ext}$major'
15469 shlibpath_var
=LD_LIBRARY_PATH
15470 shlibpath_overrides_runpath
=yes
15471 hardcode_into_libs
=yes
15472 # ldd complains unless libraries are executable
15473 postinstall_cmds
='chmod +x $lib'
15478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15479 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15480 shlibpath_var
=LD_LIBRARY_PATH
15481 shlibpath_overrides_runpath
=yes
15482 if test "$with_gnu_ld" = yes; then
15490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15491 soname_spec
='${libname}${release}${shared_ext}$major'
15492 shlibpath_var
=LD_LIBRARY_PATH
15493 case $host_vendor in
15495 shlibpath_overrides_runpath
=no
15497 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15498 runpath_var
=LD_RUN_PATH
15506 shlibpath_overrides_runpath
=no
15507 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15513 if test -d /usr
/nec
;then
15515 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15516 soname_spec
='$libname${shared_ext}.$major'
15517 shlibpath_var
=LD_LIBRARY_PATH
15521 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15522 version_type
=freebsd-elf
15525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15526 soname_spec
='${libname}${release}${shared_ext}$major'
15527 shlibpath_var
=LD_LIBRARY_PATH
15528 hardcode_into_libs
=yes
15529 if test "$with_gnu_ld" = yes; then
15530 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15531 shlibpath_overrides_runpath
=no
15533 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15534 shlibpath_overrides_runpath
=yes
15537 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15541 sys_lib_dlsearch_path_spec
='/usr/lib'
15546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15547 soname_spec
='${libname}${release}${shared_ext}$major'
15548 shlibpath_var
=LD_LIBRARY_PATH
15555 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15556 echo "${ECHO_T}$dynamic_linker" >&6; }
15557 test "$dynamic_linker" = no
&& can_build_shared
=no
15559 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15560 if test "$GCC" = yes; then
15561 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15564 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15565 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15566 hardcode_action_F77
=
15567 if test -n "$hardcode_libdir_flag_spec_F77" || \
15568 test -n "$runpath_var_F77" || \
15569 test "X$hardcode_automatic_F77" = "Xyes" ; then
15571 # We can hardcode non-existant directories.
15572 if test "$hardcode_direct_F77" != no
&&
15573 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15574 # have to relink, otherwise we might link with an installed library
15575 # when we should be linking with a yet-to-be-installed one
15576 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15577 test "$hardcode_minus_L_F77" != no
; then
15578 # Linking always hardcodes the temporary library directory.
15579 hardcode_action_F77
=relink
15581 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15582 hardcode_action_F77
=immediate
15585 # We cannot hardcode anything, or else we can only hardcode existing
15587 hardcode_action_F77
=unsupported
15589 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15590 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15592 if test "$hardcode_action_F77" = relink
; then
15593 # Fast installation is not supported
15594 enable_fast_install
=no
15595 elif test "$shlibpath_overrides_runpath" = yes ||
15596 test "$enable_shared" = no
; then
15597 # Fast installation is not necessary
15598 enable_fast_install
=needless
15602 # The else clause should only fire when bootstrapping the
15603 # libtool distribution, otherwise you forgot to ship ltmain.sh
15604 # with your package, and you will get complaints that there are
15605 # no rules to generate ltmain.sh.
15606 if test -f "$ltmain"; then
15607 # See if we are running on zsh, and set the options which allow our commands through
15608 # without removal of \ escapes.
15609 if test -n "${ZSH_VERSION+set}" ; then
15610 setopt NO_GLOB_SUBST
15612 # Now quote all the things that may contain metacharacters while being
15613 # careful not to overquote the AC_SUBSTed values. We take copies of the
15614 # variables and quote the copies for generation of the libtool script.
15615 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15617 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15618 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15619 deplibs_check_method reload_flag reload_cmds need_locks \
15620 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15621 lt_cv_sys_global_symbol_to_c_name_address \
15622 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15623 old_postinstall_cmds old_postuninstall_cmds \
15627 lt_prog_compiler_wl_F77 \
15628 lt_prog_compiler_pic_F77 \
15629 lt_prog_compiler_static_F77 \
15630 lt_prog_compiler_no_builtin_flag_F77 \
15631 export_dynamic_flag_spec_F77 \
15632 thread_safe_flag_spec_F77 \
15633 whole_archive_flag_spec_F77 \
15634 enable_shared_with_static_runtimes_F77 \
15635 old_archive_cmds_F77 \
15636 old_archive_from_new_cmds_F77 \
15637 predep_objects_F77 \
15638 postdep_objects_F77 \
15641 compiler_lib_search_path_F77 \
15643 archive_expsym_cmds_F77 \
15644 postinstall_cmds_F77 \
15645 postuninstall_cmds_F77 \
15646 old_archive_from_expsyms_cmds_F77 \
15647 allow_undefined_flag_F77 \
15648 no_undefined_flag_F77 \
15649 export_symbols_cmds_F77 \
15650 hardcode_libdir_flag_spec_F77 \
15651 hardcode_libdir_flag_spec_ld_F77 \
15652 hardcode_libdir_separator_F77 \
15653 hardcode_automatic_F77 \
15655 module_expsym_cmds_F77 \
15656 lt_cv_prog_compiler_c_o_F77 \
15657 exclude_expsyms_F77 \
15658 include_expsyms_F77
; do
15661 old_archive_cmds_F77 | \
15662 old_archive_from_new_cmds_F77 | \
15663 archive_cmds_F77 | \
15664 archive_expsym_cmds_F77 | \
15665 module_cmds_F77 | \
15666 module_expsym_cmds_F77 | \
15667 old_archive_from_expsyms_cmds_F77 | \
15668 export_symbols_cmds_F77 | \
15669 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15670 postinstall_cmds | postuninstall_cmds | \
15671 old_postinstall_cmds | old_postuninstall_cmds | \
15672 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15673 # Double-quote double-evaled strings.
15674 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15677 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15683 *'\$0 --fallback-echo"')
15684 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15690 cat <<__EOF__ >> "$cfgfile"
15691 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15693 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15695 # Shell to use when invoking shell scripts.
15698 # Whether or not to build shared libraries.
15699 build_libtool_libs=$enable_shared
15701 # Whether or not to build static libraries.
15702 build_old_libs=$enable_static
15704 # Whether or not to add -lc for building shared libraries.
15705 build_libtool_need_lc=$archive_cmds_need_lc_F77
15707 # Whether or not to disallow shared libs when runtime libs are static
15708 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15710 # Whether or not to optimize for fast installation.
15711 fast_install=$enable_fast_install
15714 host_alias=$host_alias
15718 # The build system.
15719 build_alias=$build_alias
15723 # An echo program that does not interpret backslashes.
15728 AR_FLAGS=$lt_AR_FLAGS
15733 # LTCC compiler flags.
15734 LTCFLAGS=$lt_LTCFLAGS
15736 # A language-specific compiler.
15737 CC=$lt_compiler_F77
15739 # Is the compiler the GNU C compiler?
15745 # The linker used to build libraries.
15748 # Whether we need hard or soft links.
15751 # A BSD-compatible nm program.
15754 # A symbol stripping program
15757 # Used to examine libraries when file_magic_cmd begins "file"
15758 MAGIC_CMD=$MAGIC_CMD
15760 # Used on cygwin: DLL creation program.
15763 # Used on cygwin: object dumper.
15766 # Used on cygwin: assembler.
15769 # The name of the directory that contains temporary libtool files.
15772 # How to create reloadable object files.
15773 reload_flag=$lt_reload_flag
15774 reload_cmds=$lt_reload_cmds
15776 # How to pass a linker flag through the compiler.
15777 wl=$lt_lt_prog_compiler_wl_F77
15779 # Object file suffix (normally "o").
15780 objext="$ac_objext"
15782 # Old archive suffix (normally "a").
15785 # Shared library suffix (normally ".so").
15786 shrext_cmds='$shrext_cmds'
15788 # Executable file suffix (normally "").
15791 # Additional compiler flags for building library objects.
15792 pic_flag=$lt_lt_prog_compiler_pic_F77
15795 # What is the maximum length of a command?
15796 max_cmd_len=$lt_cv_sys_max_cmd_len
15798 # Does compiler simultaneously support -c and -o options?
15799 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15801 # Must we lock files when doing compilation?
15802 need_locks=$lt_need_locks
15804 # Do we need the lib prefix for modules?
15805 need_lib_prefix=$need_lib_prefix
15807 # Do we need a version for libraries?
15808 need_version=$need_version
15810 # Whether dlopen is supported.
15811 dlopen_support=$enable_dlopen
15813 # Whether dlopen of programs is supported.
15814 dlopen_self=$enable_dlopen_self
15816 # Whether dlopen of statically linked programs is supported.
15817 dlopen_self_static=$enable_dlopen_self_static
15819 # Compiler flag to prevent dynamic linking.
15820 link_static_flag=$lt_lt_prog_compiler_static_F77
15822 # Compiler flag to turn off builtin functions.
15823 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15825 # Compiler flag to allow reflexive dlopens.
15826 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15828 # Compiler flag to generate shared objects directly from archives.
15829 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15831 # Compiler flag to generate thread-safe objects.
15832 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15834 # Library versioning type.
15835 version_type=$version_type
15837 # Format of library name prefix.
15838 libname_spec=$lt_libname_spec
15840 # List of archive names. First name is the real one, the rest are links.
15841 # The last name is the one that the linker finds with -lNAME.
15842 library_names_spec=$lt_library_names_spec
15844 # The coded name of the library, if different from the real name.
15845 soname_spec=$lt_soname_spec
15847 # Commands used to build and install an old-style archive.
15849 old_archive_cmds=$lt_old_archive_cmds_F77
15850 old_postinstall_cmds=$lt_old_postinstall_cmds
15851 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15853 # Create an old-style archive from a shared archive.
15854 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15856 # Create a temporary old-style archive to link instead of a shared archive.
15857 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15859 # Commands used to build and install a shared archive.
15860 archive_cmds=$lt_archive_cmds_F77
15861 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15862 postinstall_cmds=$lt_postinstall_cmds
15863 postuninstall_cmds=$lt_postuninstall_cmds
15865 # Commands used to build a loadable module (assumed same as above if empty)
15866 module_cmds=$lt_module_cmds_F77
15867 module_expsym_cmds=$lt_module_expsym_cmds_F77
15869 # Commands to strip libraries.
15870 old_striplib=$lt_old_striplib
15871 striplib=$lt_striplib
15873 # Dependencies to place before the objects being linked to create a
15875 predep_objects=$lt_predep_objects_F77
15877 # Dependencies to place after the objects being linked to create a
15879 postdep_objects=$lt_postdep_objects_F77
15881 # Dependencies to place before the objects being linked to create a
15883 predeps=$lt_predeps_F77
15885 # Dependencies to place after the objects being linked to create a
15887 postdeps=$lt_postdeps_F77
15889 # The library search path used internally by the compiler when linking
15890 # a shared library.
15891 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15893 # Method to check whether dependent libraries are shared objects.
15894 deplibs_check_method=$lt_deplibs_check_method
15896 # Command to use when deplibs_check_method == file_magic.
15897 file_magic_cmd=$lt_file_magic_cmd
15899 # Flag that allows shared libraries with undefined symbols to be built.
15900 allow_undefined_flag=$lt_allow_undefined_flag_F77
15902 # Flag that forces no undefined symbols.
15903 no_undefined_flag=$lt_no_undefined_flag_F77
15905 # Commands used to finish a libtool library installation in a directory.
15906 finish_cmds=$lt_finish_cmds
15908 # Same as above, but a single script fragment to be evaled but not shown.
15909 finish_eval=$lt_finish_eval
15911 # Take the output of nm and produce a listing of raw symbols and C names.
15912 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15914 # Transform the output of nm in a proper C declaration
15915 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15917 # Transform the output of nm in a C name address pair
15918 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15920 # This is the shared library runtime path variable.
15921 runpath_var=$runpath_var
15923 # This is the shared library path variable.
15924 shlibpath_var=$shlibpath_var
15926 # Is shlibpath searched before the hard-coded library search path?
15927 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15929 # How to hardcode a shared library path into an executable.
15930 hardcode_action=$hardcode_action_F77
15932 # Whether we should hardcode library paths into libraries.
15933 hardcode_into_libs=$hardcode_into_libs
15935 # Flag to hardcode \$libdir into a binary during linking.
15936 # This must work even if \$libdir does not exist.
15937 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15939 # If ld is used when linking, flag to hardcode \$libdir into
15940 # a binary during linking. This must work even if \$libdir does
15942 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15944 # Whether we need a single -rpath flag with a separated argument.
15945 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15947 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15948 # resulting binary.
15949 hardcode_direct=$hardcode_direct_F77
15951 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15952 # resulting binary.
15953 hardcode_minus_L=$hardcode_minus_L_F77
15955 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15956 # the resulting binary.
15957 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15959 # Set to yes if building a shared library automatically hardcodes DIR into the library
15960 # and all subsequent libraries and executables linked against it.
15961 hardcode_automatic=$hardcode_automatic_F77
15963 # Variables whose values should be saved in libtool wrapper scripts and
15964 # restored at relink time.
15965 variables_saved_for_relink="$variables_saved_for_relink"
15967 # Whether libtool must link a program against all its dependency libraries.
15968 link_all_deplibs=$link_all_deplibs_F77
15970 # Compile-time system search path for libraries
15971 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15973 # Run-time system search path for libraries
15974 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15976 # Fix the shell variable \$srcfile for the compiler.
15977 fix_srcfile_path="$fix_srcfile_path_F77"
15979 # Set to yes if exported symbols are required.
15980 always_export_symbols=$always_export_symbols_F77
15982 # The commands to list exported symbols.
15983 export_symbols_cmds=$lt_export_symbols_cmds_F77
15985 # The commands to extract the exported symbol list from a shared archive.
15986 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15988 # Symbols that should not be listed in the preloaded symbols.
15989 exclude_expsyms=$lt_exclude_expsyms_F77
15991 # Symbols that must always be exported.
15992 include_expsyms=$lt_include_expsyms_F77
15994 # ### END LIBTOOL TAG CONFIG: $tagname
16000 # If there is no Makefile yet, we rely on a make rule to execute
16001 # `config.status --recheck' to rerun these tests and create the
16002 # libtool script then.
16003 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16004 if test -f "$ltmain_in"; then
16005 test -f Makefile
&& make "$ltmain"
16011 ac_cpp
='$CXXCPP $CPPFLAGS'
16012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16024 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16027 # Source file extension for Java test sources.
16030 # Object file extension for compiled Java test sources.
16034 # Code to be used in simple compile tests
16035 lt_simple_compile_test_code
="class foo {}\n"
16037 # Code to be used in simple link tests
16038 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16040 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16042 # If no C compiler was specified, use CC.
16045 # If no C compiler flags were specified, use CFLAGS.
16046 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16048 # Allow CC to be a program name with arguments.
16052 # save warnings/boilerplate of simple test code
16053 ac_outfile
=conftest.
$ac_objext
16054 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16055 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16056 _lt_compiler_boilerplate
=`cat conftest.err`
16059 ac_outfile
=conftest.
$ac_objext
16060 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16061 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16062 _lt_linker_boilerplate
=`cat conftest.err`
16066 # Allow CC to be a program name with arguments.
16071 for cc_temp
in $compiler""; do
16073 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16074 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16079 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16082 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16083 archive_cmds_need_lc_GCJ
=no
16085 old_archive_cmds_GCJ
=$old_archive_cmds
16088 lt_prog_compiler_no_builtin_flag_GCJ
=
16090 if test "$GCC" = yes; then
16091 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16094 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16095 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16096 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16097 echo $ECHO_N "(cached) $ECHO_C" >&6
16099 lt_cv_prog_compiler_rtti_exceptions
=no
16100 ac_outfile
=conftest.
$ac_objext
16101 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16102 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16103 # Insert the option either (1) after the last *FLAGS variable, or
16104 # (2) before a word containing "conftest.", or (3) at the end.
16105 # Note that $ac_compile itself does not contain backslashes and begins
16106 # with a dollar sign (not a hyphen), so the echo should work correctly.
16107 # The option is referenced via a variable to avoid confusing sed.
16108 lt_compile
=`echo "$ac_compile" | $SED \
16109 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16110 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16111 -e 's:$: $lt_compiler_flag:'`
16112 (eval echo "\"\$as_me:16112: $lt_compile\"" >&5)
16113 (eval "$lt_compile" 2>conftest.err
)
16115 cat conftest.err
>&5
16116 echo "$as_me:16116: \$? = $ac_status" >&5
16117 if (exit $ac_status) && test -s "$ac_outfile"; then
16118 # The compiler can only warn and ignore the option if not recognized
16119 # So say no if there are warnings other than the usual output.
16120 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16121 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16122 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16123 lt_cv_prog_compiler_rtti_exceptions
=yes
16129 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16130 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16132 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16133 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16140 lt_prog_compiler_wl_GCJ
=
16141 lt_prog_compiler_pic_GCJ
=
16142 lt_prog_compiler_static_GCJ
=
16144 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16145 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16147 if test "$GCC" = yes; then
16148 lt_prog_compiler_wl_GCJ
='-Wl,'
16149 lt_prog_compiler_static_GCJ
='-static'
16153 # All AIX code is PIC.
16154 if test "$host_cpu" = ia64
; then
16155 # AIX 5 now supports IA64 processor
16156 lt_prog_compiler_static_GCJ
='-Bstatic'
16161 # FIXME: we need at least 68020 code to build shared libraries, but
16162 # adding the `-m68020' flag to GCC prevents building anything better,
16164 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16167 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16168 # PIC is the default for these OSes.
16171 mingw
* | pw32
* | os2
*)
16172 # This hack is so that the source file can tell whether it is being
16173 # built for inclusion in a dll (and should export symbols for example).
16174 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16177 darwin
* | rhapsody
*)
16178 # PIC is the default on this platform
16179 # Common symbols not allowed in MH_DYLIB files
16180 lt_prog_compiler_pic_GCJ
='-fno-common'
16184 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16185 # Instead, we relocate shared libraries at runtime.
16189 # Just because we use GCC doesn't mean we suddenly get shared libraries
16190 # on systems that don't support them.
16191 lt_prog_compiler_can_build_shared_GCJ
=no
16196 if test -d /usr
/nec
; then
16197 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16202 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16203 # not for PA HP-UX.
16209 lt_prog_compiler_pic_GCJ
='-fPIC'
16215 lt_prog_compiler_pic_GCJ
='-fPIC'
16219 # PORTME Check for flag to pass linker flags through the system compiler.
16222 lt_prog_compiler_wl_GCJ
='-Wl,'
16223 if test "$host_cpu" = ia64
; then
16224 # AIX 5 now supports IA64 processor
16225 lt_prog_compiler_static_GCJ
='-Bstatic'
16227 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16231 # PIC is the default on this platform
16232 # Common symbols not allowed in MH_DYLIB files
16233 case $cc_basename in
16235 lt_prog_compiler_pic_GCJ
='-qnocommon'
16236 lt_prog_compiler_wl_GCJ
='-Wl,'
16241 mingw
* | pw32
* | os2
*)
16242 # This hack is so that the source file can tell whether it is being
16243 # built for inclusion in a dll (and should export symbols for example).
16244 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16247 hpux9
* | hpux10
* | hpux11
*)
16248 lt_prog_compiler_wl_GCJ
='-Wl,'
16249 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16250 # not for PA HP-UX.
16256 lt_prog_compiler_pic_GCJ
='+Z'
16259 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16260 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16263 irix5
* | irix6
* | nonstopux
*)
16264 lt_prog_compiler_wl_GCJ
='-Wl,'
16265 # PIC (with -KPIC) is the default.
16266 lt_prog_compiler_static_GCJ
='-non_shared'
16270 lt_prog_compiler_pic_GCJ
='-KPIC'
16271 lt_prog_compiler_static_GCJ
='-Bstatic'
16275 case $cc_basename in
16277 lt_prog_compiler_wl_GCJ
='-Wl,'
16278 lt_prog_compiler_pic_GCJ
='-KPIC'
16279 lt_prog_compiler_static_GCJ
='-static'
16281 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16282 # Portland Group compilers (*not* the Pentium gcc compiler,
16283 # which looks to be a dead project)
16284 lt_prog_compiler_wl_GCJ
='-Wl,'
16285 lt_prog_compiler_pic_GCJ
='-fpic'
16286 lt_prog_compiler_static_GCJ
='-Bstatic'
16289 lt_prog_compiler_wl_GCJ
='-Wl,'
16290 # All Alpha code is PIC.
16291 lt_prog_compiler_static_GCJ
='-non_shared'
16296 osf3
* | osf4
* | osf5
*)
16297 lt_prog_compiler_wl_GCJ
='-Wl,'
16298 # All OSF/1 code is PIC.
16299 lt_prog_compiler_static_GCJ
='-non_shared'
16303 lt_prog_compiler_pic_GCJ
='-KPIC'
16304 lt_prog_compiler_static_GCJ
='-Bstatic'
16305 case $cc_basename in
16306 f77
* | f90
* | f95
*)
16307 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16309 lt_prog_compiler_wl_GCJ
='-Wl,';;
16314 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16315 lt_prog_compiler_pic_GCJ
='-PIC'
16316 lt_prog_compiler_static_GCJ
='-Bstatic'
16319 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16320 lt_prog_compiler_wl_GCJ
='-Wl,'
16321 lt_prog_compiler_pic_GCJ
='-KPIC'
16322 lt_prog_compiler_static_GCJ
='-Bstatic'
16326 if test -d /usr
/nec
;then
16327 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16328 lt_prog_compiler_static_GCJ
='-Bstatic'
16332 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16333 lt_prog_compiler_wl_GCJ
='-Wl,'
16334 lt_prog_compiler_pic_GCJ
='-KPIC'
16335 lt_prog_compiler_static_GCJ
='-Bstatic'
16339 lt_prog_compiler_wl_GCJ
='-Wl,'
16340 lt_prog_compiler_can_build_shared_GCJ
=no
16344 lt_prog_compiler_pic_GCJ
='-pic'
16345 lt_prog_compiler_static_GCJ
='-Bstatic'
16349 lt_prog_compiler_can_build_shared_GCJ
=no
16354 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16355 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16358 # Check to make sure the PIC flag actually works.
16360 if test -n "$lt_prog_compiler_pic_GCJ"; then
16362 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16363 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16364 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16365 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 lt_prog_compiler_pic_works_GCJ
=no
16368 ac_outfile
=conftest.
$ac_objext
16369 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16370 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16371 # Insert the option either (1) after the last *FLAGS variable, or
16372 # (2) before a word containing "conftest.", or (3) at the end.
16373 # Note that $ac_compile itself does not contain backslashes and begins
16374 # with a dollar sign (not a hyphen), so the echo should work correctly.
16375 # The option is referenced via a variable to avoid confusing sed.
16376 lt_compile
=`echo "$ac_compile" | $SED \
16377 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16378 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16379 -e 's:$: $lt_compiler_flag:'`
16380 (eval echo "\"\$as_me:16380: $lt_compile\"" >&5)
16381 (eval "$lt_compile" 2>conftest.err
)
16383 cat conftest.err
>&5
16384 echo "$as_me:16384: \$? = $ac_status" >&5
16385 if (exit $ac_status) && test -s "$ac_outfile"; then
16386 # The compiler can only warn and ignore the option if not recognized
16387 # So say no if there are warnings other than the usual output.
16388 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16389 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16390 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16391 lt_prog_compiler_pic_works_GCJ
=yes
16397 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16398 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16400 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16401 case $lt_prog_compiler_pic_GCJ in
16403 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16406 lt_prog_compiler_pic_GCJ
=
16407 lt_prog_compiler_can_build_shared_GCJ
=no
16412 # For platforms which do not support PIC, -DPIC is meaningless:
16414 lt_prog_compiler_pic_GCJ
=
16417 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16422 # Check to make sure the static flag actually works.
16424 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16425 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16426 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16427 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16428 echo $ECHO_N "(cached) $ECHO_C" >&6
16430 lt_prog_compiler_static_works_GCJ
=no
16431 save_LDFLAGS
="$LDFLAGS"
16432 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16433 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16434 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16435 # The linker can only warn and ignore the option if not recognized
16436 # So say no if there are warnings
16437 if test -s conftest.err
; then
16438 # Append any errors to the config.log.
16439 cat conftest.err
1>&5
16440 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16441 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16442 if diff conftest.exp conftest.er2
>/dev
/null
; then
16443 lt_prog_compiler_static_works_GCJ
=yes
16446 lt_prog_compiler_static_works_GCJ
=yes
16450 LDFLAGS
="$save_LDFLAGS"
16453 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16454 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16456 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16459 lt_prog_compiler_static_GCJ
=
16463 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16464 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16465 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16466 echo $ECHO_N "(cached) $ECHO_C" >&6
16468 lt_cv_prog_compiler_c_o_GCJ
=no
16469 $rm -r conftest
2>/dev
/null
16473 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16475 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16476 # Insert the option either (1) after the last *FLAGS variable, or
16477 # (2) before a word containing "conftest.", or (3) at the end.
16478 # Note that $ac_compile itself does not contain backslashes and begins
16479 # with a dollar sign (not a hyphen), so the echo should work correctly.
16480 lt_compile
=`echo "$ac_compile" | $SED \
16481 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16482 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16483 -e 's:$: $lt_compiler_flag:'`
16484 (eval echo "\"\$as_me:16484: $lt_compile\"" >&5)
16485 (eval "$lt_compile" 2>out
/conftest.err
)
16487 cat out
/conftest.err
>&5
16488 echo "$as_me:16488: \$? = $ac_status" >&5
16489 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16491 # The compiler can only warn and ignore the option if not recognized
16492 # So say no if there are warnings
16493 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16494 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16495 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16496 lt_cv_prog_compiler_c_o_GCJ
=yes
16501 # SGI C++ compiler will create directory out/ii_files/ for
16502 # template instantiation
16503 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16504 $rm out
/* && rmdir out
16510 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16511 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16514 hard_links
="nottested"
16515 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16516 # do not overwrite the value of need_locks provided by the user
16517 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16518 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16521 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16523 ln conftest.a conftest.b
2>&5 || hard_links
=no
16524 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16525 { echo "$as_me:$LINENO: result: $hard_links" >&5
16526 echo "${ECHO_T}$hard_links" >&6; }
16527 if test "$hard_links" = no
; then
16528 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16529 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16536 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16537 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16540 allow_undefined_flag_GCJ
=
16541 enable_shared_with_static_runtimes_GCJ
=no
16543 archive_expsym_cmds_GCJ
=
16544 old_archive_From_new_cmds_GCJ
=
16545 old_archive_from_expsyms_cmds_GCJ
=
16546 export_dynamic_flag_spec_GCJ
=
16547 whole_archive_flag_spec_GCJ
=
16548 thread_safe_flag_spec_GCJ
=
16549 hardcode_libdir_flag_spec_GCJ
=
16550 hardcode_libdir_flag_spec_ld_GCJ
=
16551 hardcode_libdir_separator_GCJ
=
16552 hardcode_direct_GCJ
=no
16553 hardcode_minus_L_GCJ
=no
16554 hardcode_shlibpath_var_GCJ
=unsupported
16555 link_all_deplibs_GCJ
=unknown
16556 hardcode_automatic_GCJ
=no
16558 module_expsym_cmds_GCJ
=
16559 always_export_symbols_GCJ
=no
16560 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16561 # include_expsyms should be a list of space-separated symbols to be *always*
16562 # included in the symbol list
16563 include_expsyms_GCJ
=
16564 # exclude_expsyms can be an extended regexp of symbols to exclude
16565 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16566 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16567 # as well as any symbol that contains `d'.
16568 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16569 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16570 # platforms (ab)use it in PIC code, but their linkers get confused if
16571 # the symbol is explicitly referenced. Since portable code cannot
16572 # rely on this symbol name, it's probably fine to never include it in
16573 # preloaded symbol tables.
16574 extract_expsyms_cmds
=
16575 # Just being paranoid about ensuring that cc_basename is set.
16576 for cc_temp
in $compiler""; do
16578 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16579 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16584 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16587 cygwin
* | mingw
* | pw32
*)
16588 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16589 # When not using gcc, we currently assume that we are using
16590 # Microsoft Visual C++.
16591 if test "$GCC" != yes; then
16596 # we just hope/assume this is gcc and not c89 (= MSVC++)
16605 if test "$with_gnu_ld" = yes; then
16606 # If archive_cmds runs LD, not CC, wlarc should be empty
16609 # Set some defaults for GNU ld with shared library support. These
16610 # are reset later if shared libraries are not supported. Putting them
16611 # here allows them to be overridden if necessary.
16612 runpath_var
=LD_RUN_PATH
16613 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16614 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16615 # ancient GNU ld didn't support --whole-archive et. al.
16616 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16617 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16619 whole_archive_flag_spec_GCJ
=
16621 supports_anon_versioning
=no
16622 case `$LD -v 2>/dev/null` in
16623 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16624 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16625 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16626 *\
2.11.
*) ;; # other 2.11 versions
16627 *) supports_anon_versioning
=yes ;;
16630 # See if GNU ld supports shared libraries.
16632 aix3
* | aix4
* | aix5
*)
16633 # On AIX/PPC, the GNU linker is very broken
16634 if test "$host_cpu" != ia64
; then
16638 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16639 *** to be unable to reliably create shared libraries on AIX.
16640 *** Therefore, libtool is disabling shared libraries support. If you
16641 *** really care for shared libraries, you may want to modify your PATH
16642 *** so that a non-GNU linker is found, and then restart.
16649 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)'
16650 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16651 hardcode_minus_L_GCJ
=yes
16653 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16654 # that the semantics of dynamic libraries on AmigaOS, at least up
16655 # to version 4, is to share data among multiple programs linked
16656 # with the same dynamic library. Since this doesn't match the
16657 # behavior of shared libraries on other platforms, we can't use
16663 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16664 allow_undefined_flag_GCJ
=unsupported
16665 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16666 # support --undefined. This deserves some investigation. FIXME
16667 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16673 cygwin
* | mingw
* | pw32
*)
16674 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16675 # as there is no search path for DLLs.
16676 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16677 allow_undefined_flag_GCJ
=unsupported
16678 always_export_symbols_GCJ
=no
16679 enable_shared_with_static_runtimes_GCJ
=yes
16680 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16682 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16683 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16684 # If the export-symbols file already is a .def file (1st line
16685 # is EXPORTS), use it as is; otherwise, prepend...
16686 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16687 cp $export_symbols $output_objdir/$soname.def;
16689 echo EXPORTS > $output_objdir/$soname.def;
16690 cat $export_symbols >> $output_objdir/$soname.def;
16692 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16699 hardcode_direct_GCJ
=no
16700 hardcode_shlibpath_var_GCJ
=no
16701 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16702 export_dynamic_flag_spec_GCJ
='${wl}-E'
16703 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16704 # Instead, shared libraries are loaded at an image base (0x10000000 by
16705 # default) and relocated if they conflict, which is a slow very memory
16706 # consuming and fragmenting process. To avoid this, we pick a random,
16707 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16708 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16709 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16710 archive_expsym_cmds_GCJ
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16714 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16716 case $cc_basename,$host_cpu in
16717 pgcc
*) # Portland Group C compiler
16718 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16719 tmp_addflag
=' $pic_flag'
16721 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16722 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16723 tmp_addflag
=' $pic_flag -Mnomain' ;;
16724 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16725 tmp_addflag
=' -i_dynamic' ;;
16726 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16727 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16728 ifc
* | ifort
*) # Intel Fortran compiler
16729 tmp_addflag
=' -nofor_main' ;;
16731 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16733 if test $supports_anon_versioning = yes; then
16734 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16735 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16736 $echo "local: *; };" >> $output_objdir/$libname.ver~
16737 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16745 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16746 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16749 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16750 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16755 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16759 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16760 *** create shared libraries on Solaris systems. Therefore, libtool
16761 *** is disabling shared libraries support. We urge you to upgrade GNU
16762 *** binutils to release 2.9.1 or newer. Another option is to modify
16763 *** your PATH or compiler configuration so that the native linker is
16764 *** used, and then restart.
16767 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16768 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16769 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16775 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16776 case `$LD -v 2>&1` in
16777 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16781 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16782 *** reliably create shared libraries on SCO systems. Therefore, libtool
16783 *** is disabling shared libraries support. We urge you to upgrade GNU
16784 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16785 *** your PATH or compiler configuration so that the native linker is
16786 *** used, and then restart.
16791 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16792 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16793 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16794 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16803 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16805 hardcode_direct_GCJ
=yes
16806 hardcode_shlibpath_var_GCJ
=no
16810 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16811 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16812 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16819 if test "$ld_shlibs_GCJ" = no
; then
16821 hardcode_libdir_flag_spec_GCJ
=
16822 export_dynamic_flag_spec_GCJ
=
16823 whole_archive_flag_spec_GCJ
=
16826 # PORTME fill in a description of your system's linker (not GNU ld)
16829 allow_undefined_flag_GCJ
=unsupported
16830 always_export_symbols_GCJ
=yes
16831 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'
16832 # Note: this linker hardcodes the directories in LIBPATH if there
16833 # are no directories specified by -L.
16834 hardcode_minus_L_GCJ
=yes
16835 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16836 # Neither direct hardcoding nor static linking is supported with a
16838 hardcode_direct_GCJ
=unsupported
16843 if test "$host_cpu" = ia64
; then
16844 # On IA64, the linker does run time linking by default, so we don't
16845 # have to do anything special.
16846 aix_use_runtimelinking
=no
16847 exp_sym_flag
='-Bexport'
16850 # If we're using GNU nm, then we don't want the "-C" option.
16851 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16852 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16853 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'
16855 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'
16857 aix_use_runtimelinking
=no
16859 # Test if we are trying to use run time linking or normal
16860 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16861 # need to do runtime linking.
16862 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16863 for ld_flag
in $LDFLAGS; do
16864 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16865 aix_use_runtimelinking
=yes
16872 exp_sym_flag
='-bexport'
16873 no_entry_flag
='-bnoentry'
16876 # When large executables or shared objects are built, AIX ld can
16877 # have problems creating the table of contents. If linking a library
16878 # or program results in "error TOC overflow" add -mminimal-toc to
16879 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16880 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16882 archive_cmds_GCJ
=''
16883 hardcode_direct_GCJ
=yes
16884 hardcode_libdir_separator_GCJ
=':'
16885 link_all_deplibs_GCJ
=yes
16887 if test "$GCC" = yes; then
16888 case $host_os in aix4.
[012]|aix4.
[012].
*)
16889 # We only want to do this on AIX 4.2 and lower, the check
16890 # below for broken collect2 doesn't work under 4.3+
16891 collect2name
=`${CC} -print-prog-name=collect2`
16892 if test -f "$collect2name" && \
16893 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16895 # We have reworked collect2
16896 hardcode_direct_GCJ
=yes
16898 # We have old collect2
16899 hardcode_direct_GCJ
=unsupported
16900 # It fails to find uninstalled libraries when the uninstalled
16901 # path is not listed in the libpath. Setting hardcode_minus_L
16902 # to unsupported forces relinking
16903 hardcode_minus_L_GCJ
=yes
16904 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16905 hardcode_libdir_separator_GCJ
=
16909 shared_flag
='-shared'
16910 if test "$aix_use_runtimelinking" = yes; then
16911 shared_flag
="$shared_flag "'${wl}-G'
16915 if test "$host_cpu" = ia64
; then
16916 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16917 # chokes on -Wl,-G. The following line is correct:
16920 if test "$aix_use_runtimelinking" = yes; then
16921 shared_flag
='${wl}-G'
16923 shared_flag
='${wl}-bM:SRE'
16928 # It seems that -bexpall does not export symbols beginning with
16929 # underscore (_), so it is better to generate a list of symbols to export.
16930 always_export_symbols_GCJ
=yes
16931 if test "$aix_use_runtimelinking" = yes; then
16932 # Warning - without using the other runtime loading flags (-brtl),
16933 # -berok will link without error, but may produce a broken library.
16934 allow_undefined_flag_GCJ
='-berok'
16935 # Determine the default libpath from the value encoded in an empty executable.
16936 cat >conftest.
$ac_ext <<_ACEOF
16939 cat confdefs.h
>>conftest.
$ac_ext
16940 cat >>conftest.
$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16951 rm -f conftest.
$ac_objext conftest
$ac_exeext
16952 if { (ac_try
="$ac_link"
16953 case "(($ac_try" in
16954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16955 *) ac_try_echo=$ac_try;;
16957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16958 (eval "$ac_link") 2>conftest.er1
16960 grep -v '^ *+' conftest.er1 >conftest.err
16962 cat conftest.err >&5
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); } && {
16965 test -z "$ac_cxx_werror_flag" ||
16966 test ! -s conftest.err
16967 } && test -s conftest$ac_exeext &&
16968 $as_test_x conftest$ac_exeext; then
16970 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16972 # Check for a 64-bit object if we didn't find anything.
16973 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; }
16976 echo "$as_me: failed program was:" >&5
16977 sed 's/^/| /' conftest.$ac_ext >&5
16982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16983 conftest$ac_exeext conftest.$ac_ext
16984 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16986 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16987 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16989 if test "$host_cpu" = ia64; then
16990 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16991 allow_undefined_flag_GCJ="-z nodefs"
16992 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16994 # Determine the default libpath from the value encoded in an empty executable.
16995 cat >conftest.$ac_ext <<_ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17010 rm -f conftest.$ac_objext conftest$ac_exeext
17011 if { (ac_try="$ac_link"
17012 case "(($ac_try" in
17013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17014 *) ac_try_echo
=$ac_try;;
17016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17017 (eval "$ac_link") 2>conftest.er1
17019 grep -v '^ *+' conftest.er1
>conftest.err
17021 cat conftest.err
>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); } && {
17024 test -z "$ac_cxx_werror_flag" ||
17025 test ! -s conftest.err
17026 } && test -s conftest
$ac_exeext &&
17027 $as_test_x conftest
$ac_exeext; then
17029 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17031 # Check for a 64-bit object if we didn't find anything.
17032 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; }
17035 echo "$as_me: failed program was:" >&5
17036 sed 's/^/| /' conftest.
$ac_ext >&5
17041 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17042 conftest
$ac_exeext conftest.
$ac_ext
17043 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17045 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17046 # Warning - without using the other run time loading flags,
17047 # -berok will link without error, but may produce a broken library.
17048 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17049 allow_undefined_flag_GCJ
=' ${wl}-berok'
17050 # Exported symbols can be pulled into shared objects from archives
17051 whole_archive_flag_spec_GCJ
='$convenience'
17052 archive_cmds_need_lc_GCJ
=yes
17053 # This is similar to how AIX traditionally builds its shared libraries.
17054 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17060 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)'
17061 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17062 hardcode_minus_L_GCJ
=yes
17063 # see comment about different semantics on the GNU ld section
17068 export_dynamic_flag_spec_GCJ
=-rdynamic
17071 cygwin
* | mingw
* | pw32
*)
17072 # When not using gcc, we currently assume that we are using
17073 # Microsoft Visual C++.
17074 # hardcode_libdir_flag_spec is actually meaningless, as there is
17075 # no search path for DLLs.
17076 hardcode_libdir_flag_spec_GCJ
=' '
17077 allow_undefined_flag_GCJ
=unsupported
17078 # Tell ltmain to make .lib files, not .a files.
17080 # Tell ltmain to make .dll files, not .so files.
17082 # FIXME: Setting linknames here is a bad hack.
17083 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17084 # The linker will automatically build a .lib file if we build a DLL.
17085 old_archive_From_new_cmds_GCJ
='true'
17086 # FIXME: Should let the user specify the lib program.
17087 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17088 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17089 enable_shared_with_static_runtimes_GCJ
=yes
17092 darwin
* | rhapsody
*)
17094 rhapsody
* | darwin1.
[012])
17095 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17098 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17099 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17101 case ${MACOSX_DEPLOYMENT_TARGET} in
17103 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17106 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17112 archive_cmds_need_lc_GCJ
=no
17113 hardcode_direct_GCJ
=no
17114 hardcode_automatic_GCJ
=yes
17115 hardcode_shlibpath_var_GCJ
=unsupported
17116 whole_archive_flag_spec_GCJ
=''
17117 link_all_deplibs_GCJ
=yes
17118 if test "$GCC" = yes ; then
17119 output_verbose_link_cmd
='echo'
17120 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17121 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17122 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17123 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17124 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}'
17126 case $cc_basename in
17128 output_verbose_link_cmd
='echo'
17129 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17130 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17131 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17132 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17133 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}'
17143 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17144 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17145 hardcode_shlibpath_var_GCJ
=no
17152 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17153 # support. Future versions do this automatically, but an explicit c++rt0.o
17154 # does not break anything, and helps significantly (at the cost of a little
17157 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17158 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17159 hardcode_direct_GCJ
=yes
17160 hardcode_shlibpath_var_GCJ
=no
17163 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17165 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17166 hardcode_direct_GCJ
=yes
17167 hardcode_minus_L_GCJ
=yes
17168 hardcode_shlibpath_var_GCJ
=no
17171 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17172 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17173 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17174 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17175 hardcode_direct_GCJ
=yes
17176 hardcode_shlibpath_var_GCJ
=no
17180 if test "$GCC" = yes; then
17181 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'
17183 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'
17185 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17186 hardcode_libdir_separator_GCJ
=:
17187 hardcode_direct_GCJ
=yes
17189 # hardcode_minus_L: Not really in the search PATH,
17190 # but as the default location of the library.
17191 hardcode_minus_L_GCJ
=yes
17192 export_dynamic_flag_spec_GCJ
='${wl}-E'
17196 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17197 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17199 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17201 if test "$with_gnu_ld" = no
; then
17202 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17203 hardcode_libdir_separator_GCJ
=:
17205 hardcode_direct_GCJ
=yes
17206 export_dynamic_flag_spec_GCJ
='${wl}-E'
17208 # hardcode_minus_L: Not really in the search PATH,
17209 # but as the default location of the library.
17210 hardcode_minus_L_GCJ
=yes
17215 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17218 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17221 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17224 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17230 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17233 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17236 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17240 if test "$with_gnu_ld" = no
; then
17241 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17242 hardcode_libdir_separator_GCJ
=:
17246 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17247 hardcode_direct_GCJ
=no
17248 hardcode_shlibpath_var_GCJ
=no
17251 hardcode_direct_GCJ
=yes
17252 export_dynamic_flag_spec_GCJ
='${wl}-E'
17254 # hardcode_minus_L: Not really in the search PATH,
17255 # but as the default location of the library.
17256 hardcode_minus_L_GCJ
=yes
17262 irix5
* | irix6
* | nonstopux
*)
17263 if test "$GCC" = yes; then
17264 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'
17266 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'
17267 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17269 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17270 hardcode_libdir_separator_GCJ
=:
17271 link_all_deplibs_GCJ
=yes
17275 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17276 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17278 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17280 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17281 hardcode_direct_GCJ
=yes
17282 hardcode_shlibpath_var_GCJ
=no
17286 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17287 hardcode_direct_GCJ
=yes
17288 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17289 hardcode_libdir_separator_GCJ
=:
17290 hardcode_shlibpath_var_GCJ
=no
17294 hardcode_direct_GCJ
=yes
17295 hardcode_shlibpath_var_GCJ
=no
17296 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17297 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17298 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17299 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17300 export_dynamic_flag_spec_GCJ
='${wl}-E'
17303 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17304 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17305 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17308 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17309 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17316 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17317 hardcode_minus_L_GCJ
=yes
17318 allow_undefined_flag_GCJ
=unsupported
17319 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'
17320 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17324 if test "$GCC" = yes; then
17325 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17326 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'
17328 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17329 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'
17331 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17332 hardcode_libdir_separator_GCJ
=:
17335 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17336 if test "$GCC" = yes; then
17337 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17338 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'
17339 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17341 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17342 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'
17343 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~
17344 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17346 # Both c and cxx compiler support -rpath directly
17347 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17349 hardcode_libdir_separator_GCJ
=:
17353 no_undefined_flag_GCJ
=' -z text'
17354 if test "$GCC" = yes; then
17356 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17357 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17358 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17361 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17362 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17363 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17365 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17366 hardcode_shlibpath_var_GCJ
=no
17368 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17370 # The compiler driver will combine linker options so we
17371 # cannot just pass the convience library names through
17372 # without $wl, iff we do not link with $LD.
17373 # Luckily, gcc supports the same syntax we need for Sun Studio.
17374 # Supported since Solaris 2.6 (maybe 2.5.1?)
17377 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17379 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17382 link_all_deplibs_GCJ
=yes
17386 if test "x$host_vendor" = xsequent
; then
17387 # Use $CC to link under sequent, because it throws in some extra .o
17388 # files that make .init and .fini sections work.
17389 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17391 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17393 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17394 hardcode_direct_GCJ
=yes
17395 hardcode_minus_L_GCJ
=yes
17396 hardcode_shlibpath_var_GCJ
=no
17400 case $host_vendor in
17402 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17403 hardcode_direct_GCJ
=yes # is this really true???
17406 ## LD is ld it makes a PLAMLIB
17407 ## CC just makes a GrossModule.
17408 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17409 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17410 hardcode_direct_GCJ
=no
17413 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17414 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17417 runpath_var
='LD_RUN_PATH'
17418 hardcode_shlibpath_var_GCJ
=no
17422 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17423 hardcode_shlibpath_var_GCJ
=no
17424 export_dynamic_flag_spec_GCJ
='-Bexport'
17428 if test -d /usr
/nec
; then
17429 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17430 hardcode_shlibpath_var_GCJ
=no
17431 runpath_var
=LD_RUN_PATH
17432 hardcode_runpath_var
=yes
17437 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17438 no_undefined_flag_GCJ
='${wl}-z,text'
17439 archive_cmds_need_lc_GCJ
=no
17440 hardcode_shlibpath_var_GCJ
=no
17441 runpath_var
='LD_RUN_PATH'
17443 if test "$GCC" = yes; then
17444 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17445 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17447 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17448 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17452 sysv5
* | sco3.2v5
* | sco5v6
*)
17453 # Note: We can NOT use -z defs as we might desire, because we do not
17454 # link with -lc, and that would cause any symbols used from libc to
17455 # always be unresolved, which means just about no library would
17456 # ever link correctly. If we're not using GNU ld we use -z text
17457 # though, which does catch some bad symbols but isn't as heavy-handed
17459 no_undefined_flag_GCJ
='${wl}-z,text'
17460 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17461 archive_cmds_need_lc_GCJ
=no
17462 hardcode_shlibpath_var_GCJ
=no
17463 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17464 hardcode_libdir_separator_GCJ
=':'
17465 link_all_deplibs_GCJ
=yes
17466 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17467 runpath_var
='LD_RUN_PATH'
17469 if test "$GCC" = yes; then
17470 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17471 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17473 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17474 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17479 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17480 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17481 hardcode_shlibpath_var_GCJ
=no
17490 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17491 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17492 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17495 # Do we need to explicitly link libc?
17497 case "x$archive_cmds_need_lc_GCJ" in
17499 # Assume -lc should be added
17500 archive_cmds_need_lc_GCJ
=yes
17502 if test "$enable_shared" = yes && test "$GCC" = yes; then
17503 case $archive_cmds_GCJ in
17505 # FIXME: we may have to deal with multi-command sequences.
17508 # Test whether the compiler implicitly links with -lc since on some
17509 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17510 # to ld, don't add -lc before -lgcc.
17511 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17512 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17514 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17517 (eval $ac_compile) 2>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); } 2>conftest.err
; then
17523 libobjs
=conftest.
$ac_objext
17525 wl
=$lt_prog_compiler_wl_GCJ
17526 pic_flag
=$lt_prog_compiler_pic_GCJ
17532 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17533 allow_undefined_flag_GCJ
=
17534 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17535 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); }
17540 archive_cmds_need_lc_GCJ
=no
17542 archive_cmds_need_lc_GCJ
=yes
17544 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17546 cat conftest.err
1>&5
17549 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17550 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17557 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17558 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17559 library_names_spec
=
17560 libname_spec
='lib$name'
17564 postuninstall_cmds
=
17568 shlibpath_overrides_runpath
=unknown
17570 dynamic_linker
="$host_os ld.so"
17571 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17572 if test "$GCC" = yes; then
17573 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17574 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17575 # if the path contains ";" then we assume it to be the separator
17576 # otherwise default to the standard path separator (i.e. ":") - it is
17577 # assumed that no part of a normal pathname contains ";" but that should
17578 # okay in the real world where ";" in dirpaths is itself problematic.
17579 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17581 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17584 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17586 need_lib_prefix
=unknown
17587 hardcode_into_libs
=no
17589 # when you set need_version to no, make sure it does not cause -set_version
17590 # flags to be left without arguments
17591 need_version
=unknown
17596 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17597 shlibpath_var
=LIBPATH
17599 # AIX 3 has no versioning support, so we append a major version to the name.
17600 soname_spec
='${libname}${release}${shared_ext}$major'
17607 hardcode_into_libs
=yes
17608 if test "$host_cpu" = ia64
; then
17609 # AIX 5 supports IA64
17610 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17611 shlibpath_var
=LD_LIBRARY_PATH
17613 # With GCC up to 2.95.x, collect2 would create an import file
17614 # for dependence libraries. The import file would start with
17615 # the line `#! .'. This would cause the generated library to
17616 # depend on `.', always an invalid library. This was fixed in
17617 # development snapshots of GCC prior to 3.0.
17619 aix4 | aix4.
[01] | aix4.
[01].
*)
17620 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17622 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17625 can_build_shared
=no
17629 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17630 # soname into executable. Probably we can add versioning support to
17631 # collect2, so additional links can be useful in future.
17632 if test "$aix_use_runtimelinking" = yes; then
17633 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17634 # instead of lib<name>.a to let people know that these are not
17635 # typical AIX shared libraries.
17636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17638 # We preserve .a as extension for shared libraries through AIX4.2
17639 # and later when we are not doing run time linking.
17640 library_names_spec
='${libname}${release}.a $libname.a'
17641 soname_spec
='${libname}${release}${shared_ext}$major'
17643 shlibpath_var
=LIBPATH
17648 library_names_spec
='$libname.ixlibrary $libname.a'
17649 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17650 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'
17654 library_names_spec
='${libname}${shared_ext}'
17655 dynamic_linker
="$host_os ld.so"
17656 shlibpath_var
=LIBRARY_PATH
17662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17663 soname_spec
='${libname}${release}${shared_ext}$major'
17664 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17665 shlibpath_var
=LD_LIBRARY_PATH
17666 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17667 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17668 # the default ld.so.conf also contains /usr/contrib/lib and
17669 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17670 # libtool to hard-code these into programs
17673 cygwin
* | mingw
* | pw32
*)
17674 version_type
=windows
17679 case $GCC,$host_os in
17680 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17681 library_names_spec
='$libname.dll.a'
17682 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17683 postinstall_cmds
='base_file=`basename \${file}`~
17684 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17685 dldir=$destdir/`dirname \$dlpath`~
17686 test -d \$dldir || mkdir -p \$dldir~
17687 $install_prog $dir/$dlname \$dldir/$dlname~
17688 chmod a+x \$dldir/$dlname'
17689 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17690 dlpath=$dir/\$dldll~
17692 shlibpath_overrides_runpath
=yes
17696 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17697 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17698 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17701 # MinGW DLLs use traditional 'lib' prefix
17702 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17703 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17704 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17705 # It is most probably a Windows format PATH printed by
17706 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17707 # path with ; separators, and with drive letters. We can handle the
17708 # drive letters (cygwin fileutils understands them), so leave them,
17709 # especially as we might pass files found there to a mingw objdump,
17710 # which wouldn't understand a cygwinified path. Ahh.
17711 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17713 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17717 # pw32 DLLs use 'pw' prefix rather than 'lib'
17718 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17724 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17727 dynamic_linker
='Win32 ld.exe'
17728 # FIXME: first we should search . and the directory the executable is in
17732 darwin
* | rhapsody
*)
17733 dynamic_linker
="$host_os dyld"
17734 version_type
=darwin
17737 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17738 soname_spec
='${libname}${release}${major}$shared_ext'
17739 shlibpath_overrides_runpath
=yes
17740 shlibpath_var
=DYLD_LIBRARY_PATH
17741 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17742 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17743 if test "$GCC" = yes; then
17744 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"`
17746 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17748 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17756 soname_spec
='${libname}${release}${shared_ext}$major'
17757 shlibpath_var
=LD_LIBRARY_PATH
17768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17769 soname_spec
='${libname}${release}${shared_ext}$major'
17770 shlibpath_var
=LD_LIBRARY_PATH
17771 shlibpath_overrides_runpath
=no
17772 hardcode_into_libs
=yes
17773 dynamic_linker
='GNU ld.so'
17776 freebsd
* | dragonfly
*)
17777 # DragonFly does not have aout. When/if they implement a new
17778 # versioning mechanism, adjust this.
17779 if test -x /usr
/bin
/objformat
; then
17780 objformat
=`/usr/bin/objformat`
17783 freebsd
[123]*) objformat
=aout
;;
17784 *) objformat
=elf
;;
17787 version_type
=freebsd-
$objformat
17788 case $version_type in
17790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17795 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17799 shlibpath_var
=LD_LIBRARY_PATH
17802 shlibpath_overrides_runpath
=yes
17804 freebsd3.
[01]* | freebsdelf3.
[01]*)
17805 shlibpath_overrides_runpath
=yes
17806 hardcode_into_libs
=yes
17808 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17809 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17810 shlibpath_overrides_runpath
=no
17811 hardcode_into_libs
=yes
17813 freebsd
*) # from 4.6 on
17814 shlibpath_overrides_runpath
=yes
17815 hardcode_into_libs
=yes
17824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17825 soname_spec
='${libname}${release}${shared_ext}$major'
17826 shlibpath_var
=LD_LIBRARY_PATH
17827 hardcode_into_libs
=yes
17830 hpux9
* | hpux10
* | hpux11
*)
17831 # Give a soname corresponding to the major version so that dld.sl refuses to
17832 # link against other versions.
17839 hardcode_into_libs
=yes
17840 dynamic_linker
="$host_os dld.so"
17841 shlibpath_var
=LD_LIBRARY_PATH
17842 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17844 soname_spec
='${libname}${release}${shared_ext}$major'
17845 if test "X$HPUX_IA64_MODE" = X32
; then
17846 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17848 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17850 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17854 hardcode_into_libs
=yes
17855 dynamic_linker
="$host_os dld.sl"
17856 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17857 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17859 soname_spec
='${libname}${release}${shared_ext}$major'
17860 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17861 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17865 dynamic_linker
="$host_os dld.sl"
17866 shlibpath_var
=SHLIB_PATH
17867 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17869 soname_spec
='${libname}${release}${shared_ext}$major'
17872 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17873 postinstall_cmds
='chmod 555 $lib'
17880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17881 soname_spec
='${libname}${release}${shared_ext}$major'
17882 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17883 shlibpath_var
=LD_LIBRARY_PATH
17884 shlibpath_overrides_runpath
=no
17885 hardcode_into_libs
=yes
17888 irix5
* | irix6
* | nonstopux
*)
17890 nonstopux
*) version_type
=nonstopux
;;
17892 if test "$lt_cv_prog_gnu_ld" = yes; then
17900 soname_spec
='${libname}${release}${shared_ext}$major'
17901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17903 irix5
* | nonstopux
*)
17904 libsuff
= shlibsuff
=
17907 case $LD in # libtool.m4 will add one of these switches to LD
17908 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17909 libsuff
= shlibsuff
= libmagic
=32-bit;;
17910 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17911 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17912 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17913 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17914 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17918 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17919 shlibpath_overrides_runpath
=no
17920 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17921 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17922 hardcode_into_libs
=yes
17925 # No shared lib support for Linux oldld, aout, or coff.
17926 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17930 # This must be Linux ELF.
17935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17936 soname_spec
='${libname}${release}${shared_ext}$major'
17937 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17938 shlibpath_var
=LD_LIBRARY_PATH
17939 shlibpath_overrides_runpath
=no
17940 # This implies no fast_install, which is unacceptable.
17941 # Some rework will be needed to allow for fast_install
17942 # before this can be enabled.
17943 hardcode_into_libs
=yes
17945 # Append ld.so.conf contents to the search path
17946 if test -f /etc
/ld.so.conf
; then
17947 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17948 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17951 # We used to test for /lib/ld.so.1 and disable shared libraries on
17952 # powerpc, because MkLinux only supported shared libraries with the
17953 # GNU dynamic linker. Since this was broken with cross compilers,
17954 # most powerpc-linux boxes support dynamic linking these days and
17955 # people can always --disable-shared, the test was removed, and we
17956 # assume the GNU/Linux dynamic linker is in use.
17957 dynamic_linker
='GNU/Linux ld.so'
17964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17965 soname_spec
='${libname}${release}${shared_ext}$major'
17966 shlibpath_var
=LD_LIBRARY_PATH
17967 shlibpath_overrides_runpath
=no
17968 hardcode_into_libs
=yes
17969 dynamic_linker
='GNU ld.so'
17976 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17978 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17979 dynamic_linker
='NetBSD (a.out) ld.so'
17981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17982 soname_spec
='${libname}${release}${shared_ext}$major'
17983 dynamic_linker
='NetBSD ld.elf_so'
17985 shlibpath_var
=LD_LIBRARY_PATH
17986 shlibpath_overrides_runpath
=yes
17987 hardcode_into_libs
=yes
17992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17993 shlibpath_var
=LD_LIBRARY_PATH
17994 shlibpath_overrides_runpath
=yes
18001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18002 soname_spec
='${libname}${release}${shared_ext}$major'
18003 shlibpath_var
=LD_LIBRARY_PATH
18004 shlibpath_overrides_runpath
=yes
18009 sys_lib_dlsearch_path_spec
="/usr/lib"
18011 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18013 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18014 *) need_version
=no
;;
18016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18017 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18018 shlibpath_var
=LD_LIBRARY_PATH
18019 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18021 openbsd2.
[89] | openbsd2.
[89].
*)
18022 shlibpath_overrides_runpath
=no
18025 shlibpath_overrides_runpath
=yes
18029 shlibpath_overrides_runpath
=yes
18034 libname_spec
='$name'
18037 library_names_spec
='$libname${shared_ext} $libname.a'
18038 dynamic_linker
='OS/2 ld.exe'
18039 shlibpath_var
=LIBPATH
18042 osf3
* | osf4
* | osf5
*)
18046 soname_spec
='${libname}${release}${shared_ext}$major'
18047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18048 shlibpath_var
=LD_LIBRARY_PATH
18049 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18050 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18058 soname_spec
='${libname}${release}${shared_ext}$major'
18059 shlibpath_var
=LD_LIBRARY_PATH
18060 shlibpath_overrides_runpath
=yes
18061 hardcode_into_libs
=yes
18062 # ldd complains unless libraries are executable
18063 postinstall_cmds
='chmod +x $lib'
18068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18069 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18070 shlibpath_var
=LD_LIBRARY_PATH
18071 shlibpath_overrides_runpath
=yes
18072 if test "$with_gnu_ld" = yes; then
18080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18081 soname_spec
='${libname}${release}${shared_ext}$major'
18082 shlibpath_var
=LD_LIBRARY_PATH
18083 case $host_vendor in
18085 shlibpath_overrides_runpath
=no
18087 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18088 runpath_var
=LD_RUN_PATH
18096 shlibpath_overrides_runpath
=no
18097 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18103 if test -d /usr
/nec
;then
18105 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18106 soname_spec
='$libname${shared_ext}.$major'
18107 shlibpath_var
=LD_LIBRARY_PATH
18111 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18112 version_type
=freebsd-elf
18115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18116 soname_spec
='${libname}${release}${shared_ext}$major'
18117 shlibpath_var
=LD_LIBRARY_PATH
18118 hardcode_into_libs
=yes
18119 if test "$with_gnu_ld" = yes; then
18120 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18121 shlibpath_overrides_runpath
=no
18123 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18124 shlibpath_overrides_runpath
=yes
18127 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18131 sys_lib_dlsearch_path_spec
='/usr/lib'
18136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18137 soname_spec
='${libname}${release}${shared_ext}$major'
18138 shlibpath_var
=LD_LIBRARY_PATH
18145 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18146 echo "${ECHO_T}$dynamic_linker" >&6; }
18147 test "$dynamic_linker" = no
&& can_build_shared
=no
18149 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18150 if test "$GCC" = yes; then
18151 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18154 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18155 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18156 hardcode_action_GCJ
=
18157 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18158 test -n "$runpath_var_GCJ" || \
18159 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18161 # We can hardcode non-existant directories.
18162 if test "$hardcode_direct_GCJ" != no
&&
18163 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18164 # have to relink, otherwise we might link with an installed library
18165 # when we should be linking with a yet-to-be-installed one
18166 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18167 test "$hardcode_minus_L_GCJ" != no
; then
18168 # Linking always hardcodes the temporary library directory.
18169 hardcode_action_GCJ
=relink
18171 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18172 hardcode_action_GCJ
=immediate
18175 # We cannot hardcode anything, or else we can only hardcode existing
18177 hardcode_action_GCJ
=unsupported
18179 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18180 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18182 if test "$hardcode_action_GCJ" = relink
; then
18183 # Fast installation is not supported
18184 enable_fast_install
=no
18185 elif test "$shlibpath_overrides_runpath" = yes ||
18186 test "$enable_shared" = no
; then
18187 # Fast installation is not necessary
18188 enable_fast_install
=needless
18192 # The else clause should only fire when bootstrapping the
18193 # libtool distribution, otherwise you forgot to ship ltmain.sh
18194 # with your package, and you will get complaints that there are
18195 # no rules to generate ltmain.sh.
18196 if test -f "$ltmain"; then
18197 # See if we are running on zsh, and set the options which allow our commands through
18198 # without removal of \ escapes.
18199 if test -n "${ZSH_VERSION+set}" ; then
18200 setopt NO_GLOB_SUBST
18202 # Now quote all the things that may contain metacharacters while being
18203 # careful not to overquote the AC_SUBSTed values. We take copies of the
18204 # variables and quote the copies for generation of the libtool script.
18205 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18207 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18208 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18209 deplibs_check_method reload_flag reload_cmds need_locks \
18210 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18211 lt_cv_sys_global_symbol_to_c_name_address \
18212 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18213 old_postinstall_cmds old_postuninstall_cmds \
18217 lt_prog_compiler_wl_GCJ \
18218 lt_prog_compiler_pic_GCJ \
18219 lt_prog_compiler_static_GCJ \
18220 lt_prog_compiler_no_builtin_flag_GCJ \
18221 export_dynamic_flag_spec_GCJ \
18222 thread_safe_flag_spec_GCJ \
18223 whole_archive_flag_spec_GCJ \
18224 enable_shared_with_static_runtimes_GCJ \
18225 old_archive_cmds_GCJ \
18226 old_archive_from_new_cmds_GCJ \
18227 predep_objects_GCJ \
18228 postdep_objects_GCJ \
18231 compiler_lib_search_path_GCJ \
18233 archive_expsym_cmds_GCJ \
18234 postinstall_cmds_GCJ \
18235 postuninstall_cmds_GCJ \
18236 old_archive_from_expsyms_cmds_GCJ \
18237 allow_undefined_flag_GCJ \
18238 no_undefined_flag_GCJ \
18239 export_symbols_cmds_GCJ \
18240 hardcode_libdir_flag_spec_GCJ \
18241 hardcode_libdir_flag_spec_ld_GCJ \
18242 hardcode_libdir_separator_GCJ \
18243 hardcode_automatic_GCJ \
18245 module_expsym_cmds_GCJ \
18246 lt_cv_prog_compiler_c_o_GCJ \
18247 exclude_expsyms_GCJ \
18248 include_expsyms_GCJ
; do
18251 old_archive_cmds_GCJ | \
18252 old_archive_from_new_cmds_GCJ | \
18253 archive_cmds_GCJ | \
18254 archive_expsym_cmds_GCJ | \
18255 module_cmds_GCJ | \
18256 module_expsym_cmds_GCJ | \
18257 old_archive_from_expsyms_cmds_GCJ | \
18258 export_symbols_cmds_GCJ | \
18259 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18260 postinstall_cmds | postuninstall_cmds | \
18261 old_postinstall_cmds | old_postuninstall_cmds | \
18262 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18263 # Double-quote double-evaled strings.
18264 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18267 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18273 *'\$0 --fallback-echo"')
18274 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18280 cat <<__EOF__ >> "$cfgfile"
18281 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18283 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18285 # Shell to use when invoking shell scripts.
18288 # Whether or not to build shared libraries.
18289 build_libtool_libs=$enable_shared
18291 # Whether or not to build static libraries.
18292 build_old_libs=$enable_static
18294 # Whether or not to add -lc for building shared libraries.
18295 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18297 # Whether or not to disallow shared libs when runtime libs are static
18298 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18300 # Whether or not to optimize for fast installation.
18301 fast_install=$enable_fast_install
18304 host_alias=$host_alias
18308 # The build system.
18309 build_alias=$build_alias
18313 # An echo program that does not interpret backslashes.
18318 AR_FLAGS=$lt_AR_FLAGS
18323 # LTCC compiler flags.
18324 LTCFLAGS=$lt_LTCFLAGS
18326 # A language-specific compiler.
18327 CC=$lt_compiler_GCJ
18329 # Is the compiler the GNU C compiler?
18335 # The linker used to build libraries.
18338 # Whether we need hard or soft links.
18341 # A BSD-compatible nm program.
18344 # A symbol stripping program
18347 # Used to examine libraries when file_magic_cmd begins "file"
18348 MAGIC_CMD=$MAGIC_CMD
18350 # Used on cygwin: DLL creation program.
18353 # Used on cygwin: object dumper.
18356 # Used on cygwin: assembler.
18359 # The name of the directory that contains temporary libtool files.
18362 # How to create reloadable object files.
18363 reload_flag=$lt_reload_flag
18364 reload_cmds=$lt_reload_cmds
18366 # How to pass a linker flag through the compiler.
18367 wl=$lt_lt_prog_compiler_wl_GCJ
18369 # Object file suffix (normally "o").
18370 objext="$ac_objext"
18372 # Old archive suffix (normally "a").
18375 # Shared library suffix (normally ".so").
18376 shrext_cmds='$shrext_cmds'
18378 # Executable file suffix (normally "").
18381 # Additional compiler flags for building library objects.
18382 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18385 # What is the maximum length of a command?
18386 max_cmd_len=$lt_cv_sys_max_cmd_len
18388 # Does compiler simultaneously support -c and -o options?
18389 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18391 # Must we lock files when doing compilation?
18392 need_locks=$lt_need_locks
18394 # Do we need the lib prefix for modules?
18395 need_lib_prefix=$need_lib_prefix
18397 # Do we need a version for libraries?
18398 need_version=$need_version
18400 # Whether dlopen is supported.
18401 dlopen_support=$enable_dlopen
18403 # Whether dlopen of programs is supported.
18404 dlopen_self=$enable_dlopen_self
18406 # Whether dlopen of statically linked programs is supported.
18407 dlopen_self_static=$enable_dlopen_self_static
18409 # Compiler flag to prevent dynamic linking.
18410 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18412 # Compiler flag to turn off builtin functions.
18413 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18415 # Compiler flag to allow reflexive dlopens.
18416 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18418 # Compiler flag to generate shared objects directly from archives.
18419 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18421 # Compiler flag to generate thread-safe objects.
18422 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18424 # Library versioning type.
18425 version_type=$version_type
18427 # Format of library name prefix.
18428 libname_spec=$lt_libname_spec
18430 # List of archive names. First name is the real one, the rest are links.
18431 # The last name is the one that the linker finds with -lNAME.
18432 library_names_spec=$lt_library_names_spec
18434 # The coded name of the library, if different from the real name.
18435 soname_spec=$lt_soname_spec
18437 # Commands used to build and install an old-style archive.
18439 old_archive_cmds=$lt_old_archive_cmds_GCJ
18440 old_postinstall_cmds=$lt_old_postinstall_cmds
18441 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18443 # Create an old-style archive from a shared archive.
18444 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18446 # Create a temporary old-style archive to link instead of a shared archive.
18447 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18449 # Commands used to build and install a shared archive.
18450 archive_cmds=$lt_archive_cmds_GCJ
18451 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18452 postinstall_cmds=$lt_postinstall_cmds
18453 postuninstall_cmds=$lt_postuninstall_cmds
18455 # Commands used to build a loadable module (assumed same as above if empty)
18456 module_cmds=$lt_module_cmds_GCJ
18457 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18459 # Commands to strip libraries.
18460 old_striplib=$lt_old_striplib
18461 striplib=$lt_striplib
18463 # Dependencies to place before the objects being linked to create a
18465 predep_objects=$lt_predep_objects_GCJ
18467 # Dependencies to place after the objects being linked to create a
18469 postdep_objects=$lt_postdep_objects_GCJ
18471 # Dependencies to place before the objects being linked to create a
18473 predeps=$lt_predeps_GCJ
18475 # Dependencies to place after the objects being linked to create a
18477 postdeps=$lt_postdeps_GCJ
18479 # The library search path used internally by the compiler when linking
18480 # a shared library.
18481 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18483 # Method to check whether dependent libraries are shared objects.
18484 deplibs_check_method=$lt_deplibs_check_method
18486 # Command to use when deplibs_check_method == file_magic.
18487 file_magic_cmd=$lt_file_magic_cmd
18489 # Flag that allows shared libraries with undefined symbols to be built.
18490 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18492 # Flag that forces no undefined symbols.
18493 no_undefined_flag=$lt_no_undefined_flag_GCJ
18495 # Commands used to finish a libtool library installation in a directory.
18496 finish_cmds=$lt_finish_cmds
18498 # Same as above, but a single script fragment to be evaled but not shown.
18499 finish_eval=$lt_finish_eval
18501 # Take the output of nm and produce a listing of raw symbols and C names.
18502 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18504 # Transform the output of nm in a proper C declaration
18505 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18507 # Transform the output of nm in a C name address pair
18508 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18510 # This is the shared library runtime path variable.
18511 runpath_var=$runpath_var
18513 # This is the shared library path variable.
18514 shlibpath_var=$shlibpath_var
18516 # Is shlibpath searched before the hard-coded library search path?
18517 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18519 # How to hardcode a shared library path into an executable.
18520 hardcode_action=$hardcode_action_GCJ
18522 # Whether we should hardcode library paths into libraries.
18523 hardcode_into_libs=$hardcode_into_libs
18525 # Flag to hardcode \$libdir into a binary during linking.
18526 # This must work even if \$libdir does not exist.
18527 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18529 # If ld is used when linking, flag to hardcode \$libdir into
18530 # a binary during linking. This must work even if \$libdir does
18532 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18534 # Whether we need a single -rpath flag with a separated argument.
18535 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18537 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18538 # resulting binary.
18539 hardcode_direct=$hardcode_direct_GCJ
18541 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18542 # resulting binary.
18543 hardcode_minus_L=$hardcode_minus_L_GCJ
18545 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18546 # the resulting binary.
18547 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18549 # Set to yes if building a shared library automatically hardcodes DIR into the library
18550 # and all subsequent libraries and executables linked against it.
18551 hardcode_automatic=$hardcode_automatic_GCJ
18553 # Variables whose values should be saved in libtool wrapper scripts and
18554 # restored at relink time.
18555 variables_saved_for_relink="$variables_saved_for_relink"
18557 # Whether libtool must link a program against all its dependency libraries.
18558 link_all_deplibs=$link_all_deplibs_GCJ
18560 # Compile-time system search path for libraries
18561 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18563 # Run-time system search path for libraries
18564 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18566 # Fix the shell variable \$srcfile for the compiler.
18567 fix_srcfile_path="$fix_srcfile_path_GCJ"
18569 # Set to yes if exported symbols are required.
18570 always_export_symbols=$always_export_symbols_GCJ
18572 # The commands to list exported symbols.
18573 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18575 # The commands to extract the exported symbol list from a shared archive.
18576 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18578 # Symbols that should not be listed in the preloaded symbols.
18579 exclude_expsyms=$lt_exclude_expsyms_GCJ
18581 # Symbols that must always be exported.
18582 include_expsyms=$lt_include_expsyms_GCJ
18584 # ### END LIBTOOL TAG CONFIG: $tagname
18590 # If there is no Makefile yet, we rely on a make rule to execute
18591 # `config.status --recheck' to rerun these tests and create the
18592 # libtool script then.
18593 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18594 if test -f "$ltmain_in"; then
18595 test -f Makefile
&& make "$ltmain"
18601 ac_cpp
='$CXXCPP $CPPFLAGS'
18602 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18603 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18604 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18616 # Source file extension for RC test sources.
18619 # Object file extension for compiled RC test sources.
18623 # Code to be used in simple compile tests
18624 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18626 # Code to be used in simple link tests
18627 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18629 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18631 # If no C compiler was specified, use CC.
18634 # If no C compiler flags were specified, use CFLAGS.
18635 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18637 # Allow CC to be a program name with arguments.
18641 # save warnings/boilerplate of simple test code
18642 ac_outfile
=conftest.
$ac_objext
18643 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18644 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18645 _lt_compiler_boilerplate
=`cat conftest.err`
18648 ac_outfile
=conftest.
$ac_objext
18649 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18650 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18651 _lt_linker_boilerplate
=`cat conftest.err`
18655 # Allow CC to be a program name with arguments.
18660 for cc_temp
in $compiler""; do
18662 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18663 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18668 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18670 lt_cv_prog_compiler_c_o_RC
=yes
18672 # The else clause should only fire when bootstrapping the
18673 # libtool distribution, otherwise you forgot to ship ltmain.sh
18674 # with your package, and you will get complaints that there are
18675 # no rules to generate ltmain.sh.
18676 if test -f "$ltmain"; then
18677 # See if we are running on zsh, and set the options which allow our commands through
18678 # without removal of \ escapes.
18679 if test -n "${ZSH_VERSION+set}" ; then
18680 setopt NO_GLOB_SUBST
18682 # Now quote all the things that may contain metacharacters while being
18683 # careful not to overquote the AC_SUBSTed values. We take copies of the
18684 # variables and quote the copies for generation of the libtool script.
18685 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18687 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18688 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18689 deplibs_check_method reload_flag reload_cmds need_locks \
18690 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18691 lt_cv_sys_global_symbol_to_c_name_address \
18692 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18693 old_postinstall_cmds old_postuninstall_cmds \
18697 lt_prog_compiler_wl_RC \
18698 lt_prog_compiler_pic_RC \
18699 lt_prog_compiler_static_RC \
18700 lt_prog_compiler_no_builtin_flag_RC \
18701 export_dynamic_flag_spec_RC \
18702 thread_safe_flag_spec_RC \
18703 whole_archive_flag_spec_RC \
18704 enable_shared_with_static_runtimes_RC \
18705 old_archive_cmds_RC \
18706 old_archive_from_new_cmds_RC \
18707 predep_objects_RC \
18708 postdep_objects_RC \
18711 compiler_lib_search_path_RC \
18713 archive_expsym_cmds_RC \
18714 postinstall_cmds_RC \
18715 postuninstall_cmds_RC \
18716 old_archive_from_expsyms_cmds_RC \
18717 allow_undefined_flag_RC \
18718 no_undefined_flag_RC \
18719 export_symbols_cmds_RC \
18720 hardcode_libdir_flag_spec_RC \
18721 hardcode_libdir_flag_spec_ld_RC \
18722 hardcode_libdir_separator_RC \
18723 hardcode_automatic_RC \
18725 module_expsym_cmds_RC \
18726 lt_cv_prog_compiler_c_o_RC \
18727 exclude_expsyms_RC \
18728 include_expsyms_RC
; do
18731 old_archive_cmds_RC | \
18732 old_archive_from_new_cmds_RC | \
18733 archive_cmds_RC | \
18734 archive_expsym_cmds_RC | \
18736 module_expsym_cmds_RC | \
18737 old_archive_from_expsyms_cmds_RC | \
18738 export_symbols_cmds_RC | \
18739 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18740 postinstall_cmds | postuninstall_cmds | \
18741 old_postinstall_cmds | old_postuninstall_cmds | \
18742 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18743 # Double-quote double-evaled strings.
18744 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18747 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18753 *'\$0 --fallback-echo"')
18754 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18760 cat <<__EOF__ >> "$cfgfile"
18761 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18763 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18765 # Shell to use when invoking shell scripts.
18768 # Whether or not to build shared libraries.
18769 build_libtool_libs=$enable_shared
18771 # Whether or not to build static libraries.
18772 build_old_libs=$enable_static
18774 # Whether or not to add -lc for building shared libraries.
18775 build_libtool_need_lc=$archive_cmds_need_lc_RC
18777 # Whether or not to disallow shared libs when runtime libs are static
18778 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18780 # Whether or not to optimize for fast installation.
18781 fast_install=$enable_fast_install
18784 host_alias=$host_alias
18788 # The build system.
18789 build_alias=$build_alias
18793 # An echo program that does not interpret backslashes.
18798 AR_FLAGS=$lt_AR_FLAGS
18803 # LTCC compiler flags.
18804 LTCFLAGS=$lt_LTCFLAGS
18806 # A language-specific compiler.
18809 # Is the compiler the GNU C compiler?
18815 # The linker used to build libraries.
18818 # Whether we need hard or soft links.
18821 # A BSD-compatible nm program.
18824 # A symbol stripping program
18827 # Used to examine libraries when file_magic_cmd begins "file"
18828 MAGIC_CMD=$MAGIC_CMD
18830 # Used on cygwin: DLL creation program.
18833 # Used on cygwin: object dumper.
18836 # Used on cygwin: assembler.
18839 # The name of the directory that contains temporary libtool files.
18842 # How to create reloadable object files.
18843 reload_flag=$lt_reload_flag
18844 reload_cmds=$lt_reload_cmds
18846 # How to pass a linker flag through the compiler.
18847 wl=$lt_lt_prog_compiler_wl_RC
18849 # Object file suffix (normally "o").
18850 objext="$ac_objext"
18852 # Old archive suffix (normally "a").
18855 # Shared library suffix (normally ".so").
18856 shrext_cmds='$shrext_cmds'
18858 # Executable file suffix (normally "").
18861 # Additional compiler flags for building library objects.
18862 pic_flag=$lt_lt_prog_compiler_pic_RC
18865 # What is the maximum length of a command?
18866 max_cmd_len=$lt_cv_sys_max_cmd_len
18868 # Does compiler simultaneously support -c and -o options?
18869 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18871 # Must we lock files when doing compilation?
18872 need_locks=$lt_need_locks
18874 # Do we need the lib prefix for modules?
18875 need_lib_prefix=$need_lib_prefix
18877 # Do we need a version for libraries?
18878 need_version=$need_version
18880 # Whether dlopen is supported.
18881 dlopen_support=$enable_dlopen
18883 # Whether dlopen of programs is supported.
18884 dlopen_self=$enable_dlopen_self
18886 # Whether dlopen of statically linked programs is supported.
18887 dlopen_self_static=$enable_dlopen_self_static
18889 # Compiler flag to prevent dynamic linking.
18890 link_static_flag=$lt_lt_prog_compiler_static_RC
18892 # Compiler flag to turn off builtin functions.
18893 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18895 # Compiler flag to allow reflexive dlopens.
18896 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18898 # Compiler flag to generate shared objects directly from archives.
18899 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18901 # Compiler flag to generate thread-safe objects.
18902 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18904 # Library versioning type.
18905 version_type=$version_type
18907 # Format of library name prefix.
18908 libname_spec=$lt_libname_spec
18910 # List of archive names. First name is the real one, the rest are links.
18911 # The last name is the one that the linker finds with -lNAME.
18912 library_names_spec=$lt_library_names_spec
18914 # The coded name of the library, if different from the real name.
18915 soname_spec=$lt_soname_spec
18917 # Commands used to build and install an old-style archive.
18919 old_archive_cmds=$lt_old_archive_cmds_RC
18920 old_postinstall_cmds=$lt_old_postinstall_cmds
18921 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18923 # Create an old-style archive from a shared archive.
18924 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18926 # Create a temporary old-style archive to link instead of a shared archive.
18927 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18929 # Commands used to build and install a shared archive.
18930 archive_cmds=$lt_archive_cmds_RC
18931 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18932 postinstall_cmds=$lt_postinstall_cmds
18933 postuninstall_cmds=$lt_postuninstall_cmds
18935 # Commands used to build a loadable module (assumed same as above if empty)
18936 module_cmds=$lt_module_cmds_RC
18937 module_expsym_cmds=$lt_module_expsym_cmds_RC
18939 # Commands to strip libraries.
18940 old_striplib=$lt_old_striplib
18941 striplib=$lt_striplib
18943 # Dependencies to place before the objects being linked to create a
18945 predep_objects=$lt_predep_objects_RC
18947 # Dependencies to place after the objects being linked to create a
18949 postdep_objects=$lt_postdep_objects_RC
18951 # Dependencies to place before the objects being linked to create a
18953 predeps=$lt_predeps_RC
18955 # Dependencies to place after the objects being linked to create a
18957 postdeps=$lt_postdeps_RC
18959 # The library search path used internally by the compiler when linking
18960 # a shared library.
18961 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18963 # Method to check whether dependent libraries are shared objects.
18964 deplibs_check_method=$lt_deplibs_check_method
18966 # Command to use when deplibs_check_method == file_magic.
18967 file_magic_cmd=$lt_file_magic_cmd
18969 # Flag that allows shared libraries with undefined symbols to be built.
18970 allow_undefined_flag=$lt_allow_undefined_flag_RC
18972 # Flag that forces no undefined symbols.
18973 no_undefined_flag=$lt_no_undefined_flag_RC
18975 # Commands used to finish a libtool library installation in a directory.
18976 finish_cmds=$lt_finish_cmds
18978 # Same as above, but a single script fragment to be evaled but not shown.
18979 finish_eval=$lt_finish_eval
18981 # Take the output of nm and produce a listing of raw symbols and C names.
18982 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18984 # Transform the output of nm in a proper C declaration
18985 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18987 # Transform the output of nm in a C name address pair
18988 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18990 # This is the shared library runtime path variable.
18991 runpath_var=$runpath_var
18993 # This is the shared library path variable.
18994 shlibpath_var=$shlibpath_var
18996 # Is shlibpath searched before the hard-coded library search path?
18997 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18999 # How to hardcode a shared library path into an executable.
19000 hardcode_action=$hardcode_action_RC
19002 # Whether we should hardcode library paths into libraries.
19003 hardcode_into_libs=$hardcode_into_libs
19005 # Flag to hardcode \$libdir into a binary during linking.
19006 # This must work even if \$libdir does not exist.
19007 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19009 # If ld is used when linking, flag to hardcode \$libdir into
19010 # a binary during linking. This must work even if \$libdir does
19012 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19014 # Whether we need a single -rpath flag with a separated argument.
19015 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19017 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19018 # resulting binary.
19019 hardcode_direct=$hardcode_direct_RC
19021 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19022 # resulting binary.
19023 hardcode_minus_L=$hardcode_minus_L_RC
19025 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19026 # the resulting binary.
19027 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19029 # Set to yes if building a shared library automatically hardcodes DIR into the library
19030 # and all subsequent libraries and executables linked against it.
19031 hardcode_automatic=$hardcode_automatic_RC
19033 # Variables whose values should be saved in libtool wrapper scripts and
19034 # restored at relink time.
19035 variables_saved_for_relink="$variables_saved_for_relink"
19037 # Whether libtool must link a program against all its dependency libraries.
19038 link_all_deplibs=$link_all_deplibs_RC
19040 # Compile-time system search path for libraries
19041 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19043 # Run-time system search path for libraries
19044 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19046 # Fix the shell variable \$srcfile for the compiler.
19047 fix_srcfile_path="$fix_srcfile_path_RC"
19049 # Set to yes if exported symbols are required.
19050 always_export_symbols=$always_export_symbols_RC
19052 # The commands to list exported symbols.
19053 export_symbols_cmds=$lt_export_symbols_cmds_RC
19055 # The commands to extract the exported symbol list from a shared archive.
19056 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19058 # Symbols that should not be listed in the preloaded symbols.
19059 exclude_expsyms=$lt_exclude_expsyms_RC
19061 # Symbols that must always be exported.
19062 include_expsyms=$lt_include_expsyms_RC
19064 # ### END LIBTOOL TAG CONFIG: $tagname
19070 # If there is no Makefile yet, we rely on a make rule to execute
19071 # `config.status --recheck' to rerun these tests and create the
19072 # libtool script then.
19073 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19074 if test -f "$ltmain_in"; then
19075 test -f Makefile
&& make "$ltmain"
19081 ac_cpp
='$CXXCPP $CPPFLAGS'
19082 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19083 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19084 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19091 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19092 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19093 { (exit 1); exit 1; }; }
19097 # Append the new tag name to the list of available tags.
19098 if test -n "$tagname" ; then
19099 available_tags
="$available_tags $tagname"
19105 # Now substitute the updated list of available tags.
19106 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19107 mv "${ofile}T" "$ofile"
19111 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19112 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19113 { (exit 1); exit 1; }; }
19119 # This can be used to rebuild libtool when needed
19120 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19122 # Always use our own libtool.
19123 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19125 # Prevent multiple expansion
19146 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19147 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
19148 if test "${ac_cv_c_bigendian+set}" = set; then
19149 echo $ECHO_N "(cached) $ECHO_C" >&6
19151 # See if sys/param.h defines the BYTE_ORDER macro.
19152 cat >conftest.
$ac_ext <<_ACEOF
19155 cat confdefs.h
>>conftest.
$ac_ext
19156 cat >>conftest.
$ac_ext <<_ACEOF
19157 /* end confdefs.h. */
19158 #include <sys/types.h>
19159 #include <sys/param.h>
19164 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
19165 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
19166 bogus endian macros
19173 rm -f conftest.
$ac_objext
19174 if { (ac_try
="$ac_compile"
19175 case "(($ac_try" in
19176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19177 *) ac_try_echo=$ac_try;;
19179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19180 (eval "$ac_compile") 2>conftest.er1
19182 grep -v '^ *+' conftest.er1 >conftest.err
19184 cat conftest.err >&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); } && {
19187 test -z "$ac_cxx_werror_flag" ||
19188 test ! -s conftest.err
19189 } && test -s conftest.$ac_objext; then
19190 # It does; now see whether it defined to BIG_ENDIAN or not.
19191 cat >conftest.$ac_ext <<_ACEOF
19194 cat confdefs.h >>conftest.$ac_ext
19195 cat >>conftest.$ac_ext <<_ACEOF
19196 /* end confdefs.h. */
19197 #include <sys/types.h>
19198 #include <sys/param.h>
19203 #if BYTE_ORDER != BIG_ENDIAN
19211 rm -f conftest.$ac_objext
19212 if { (ac_try="$ac_compile"
19213 case "(($ac_try" in
19214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19215 *) ac_try_echo
=$ac_try;;
19217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19218 (eval "$ac_compile") 2>conftest.er1
19220 grep -v '^ *+' conftest.er1
>conftest.err
19222 cat conftest.err
>&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); } && {
19225 test -z "$ac_cxx_werror_flag" ||
19226 test ! -s conftest.err
19227 } && test -s conftest.
$ac_objext; then
19228 ac_cv_c_bigendian
=yes
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.
$ac_ext >&5
19233 ac_cv_c_bigendian
=no
19236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19238 echo "$as_me: failed program was:" >&5
19239 sed 's/^/| /' conftest.
$ac_ext >&5
19241 # It does not; compile a test program.
19242 if test "$cross_compiling" = yes; then
19243 # try to guess the endianness by grepping values into an object file
19244 ac_cv_c_bigendian
=unknown
19245 cat >conftest.
$ac_ext <<_ACEOF
19248 cat confdefs.h
>>conftest.
$ac_ext
19249 cat >>conftest.
$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19252 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19253 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
19254 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19255 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19256 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
19260 _ascii (); _ebcdic ();
19265 rm -f conftest.
$ac_objext
19266 if { (ac_try
="$ac_compile"
19267 case "(($ac_try" in
19268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19269 *) ac_try_echo=$ac_try;;
19271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19272 (eval "$ac_compile") 2>conftest.er1
19274 grep -v '^ *+' conftest.er1 >conftest.err
19276 cat conftest.err >&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); } && {
19279 test -z "$ac_cxx_werror_flag" ||
19280 test ! -s conftest.err
19281 } && test -s conftest.$ac_objext; then
19282 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
19283 ac_cv_c_bigendian=yes
19285 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
19286 if test "$ac_cv_c_bigendian" = unknown; then
19287 ac_cv_c_bigendian=no
19289 # finding both strings is unlikely to happen, but who knows?
19290 ac_cv_c_bigendian=unknown
19294 echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.$ac_ext >&5
19300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 cat >conftest.$ac_ext <<_ACEOF
19305 cat confdefs.h >>conftest.$ac_ext
19306 cat >>conftest.$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 $ac_includes_default
19313 /* Are we little or big endian? From Harbison&Steele. */
19317 char c[sizeof (long int)];
19320 return u.c[sizeof (long int) - 1] == 1;
19326 rm -f conftest$ac_exeext
19327 if { (ac_try="$ac_link"
19328 case "(($ac_try" in
19329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19330 *) ac_try_echo
=$ac_try;;
19332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_link") 2>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19337 { (case "(($ac_try" in
19338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19339 *) ac_try_echo=$ac_try;;
19341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_try") 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_cv_c_bigendian=no
19348 echo "$as_me: program exited with status $ac_status" >&5
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19352 ( exit $ac_status )
19353 ac_cv_c_bigendian=yes
19355 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19363 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19364 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
19365 case $ac_cv_c_bigendian in
19368 cat >>confdefs.h <<\_ACEOF
19369 #define WORDS_BIGENDIAN 1
19375 { { echo "$as_me:$LINENO: error: unknown endianness
19376 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
19377 echo "$as_me: error: unknown endianness
19378 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
19379 { (exit 1); exit 1; }; } ;;
19382 { echo "$as_me:$LINENO: checking host system type" >&5
19383 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
19384 if test "${ac_cv_host+set}" = set; then
19385 echo $ECHO_N "(cached) $ECHO_C" >&6
19387 if test "x$host_alias" = x; then
19388 ac_cv_host=$ac_cv_build
19390 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
19391 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
19392 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
19393 { (exit 1); exit 1; }; }
19397 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
19398 echo "${ECHO_T}$ac_cv_host" >&6; }
19399 case $ac_cv_host in
19401 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
19402 echo "$as_me: error: invalid value of canonical host" >&2;}
19403 { (exit 1); exit 1; }; };;
19406 ac_save_IFS=$IFS; IFS='-'
19412 # Remember, the first character of IFS is used to create $*,
19413 # except with old shells:
19416 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
19419 for ac_prog in 'bison -y' byacc
19421 # Extract the first word of "$ac_prog", so it can be a program name with args.
19422 set dummy $ac_prog; ac_word=$2
19423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19425 if test "${ac_cv_prog_YACC+set}" = set; then
19426 echo $ECHO_N "(cached) $ECHO_C" >&6
19428 if test -n "$YACC"; then
19429 ac_cv_prog_YACC="$YACC" # Let the user override the test.
19431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19432 for as_dir in $PATH
19435 test -z "$as_dir" && as_dir=.
19436 for ac_exec_ext in '' $ac_executable_extensions; do
19437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19438 ac_cv_prog_YACC="$ac_prog"
19439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19448 YACC=$ac_cv_prog_YACC
19449 if test -n "$YACC"; then
19450 { echo "$as_me:$LINENO: result: $YACC" >&5
19451 echo "${ECHO_T}$YACC" >&6; }
19453 { echo "$as_me:$LINENO: result: no" >&5
19454 echo "${ECHO_T}no" >&6; }
19458 test -n "$YACC" && break
19460 test -n "$YACC" || YACC="yacc"
19462 for ac_prog in flex lex
19464 # Extract the first word of "$ac_prog", so it can be a program name with args.
19465 set dummy $ac_prog; ac_word=$2
19466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19468 if test "${ac_cv_prog_LEX+set}" = set; then
19469 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 if test -n "$LEX"; then
19472 ac_cv_prog_LEX="$LEX" # Let the user override the test.
19474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19475 for as_dir in $PATH
19478 test -z "$as_dir" && as_dir=.
19479 for ac_exec_ext in '' $ac_executable_extensions; do
19480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19481 ac_cv_prog_LEX="$ac_prog"
19482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19491 LEX=$ac_cv_prog_LEX
19492 if test -n "$LEX"; then
19493 { echo "$as_me:$LINENO: result: $LEX" >&5
19494 echo "${ECHO_T}$LEX" >&6; }
19496 { echo "$as_me:$LINENO: result: no" >&5
19497 echo "${ECHO_T}no" >&6; }
19501 test -n "$LEX" && break
19503 test -n "$LEX" || LEX=":"
19505 if test "x$LEX" != "x:"; then
19506 cat >conftest.l <<_ACEOF
19512 e { yyless (input () != 0); }
19513 f { unput (yytext[0]); }
19514 . { BEGIN INITIAL; }
19516 #ifdef YYTEXT_POINTER
19517 extern char *yytext;
19522 return ! yylex () + ! yywrap ();
19525 { (ac_try="$LEX conftest.l"
19526 case "(($ac_try" in
19527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19528 *) ac_try_echo
=$ac_try;;
19530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19531 (eval "$LEX conftest.l") 2>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }
19535 { echo "$as_me:$LINENO: checking lex output file root" >&5
19536 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
19537 if test "${ac_cv_prog_lex_root+set}" = set; then
19538 echo $ECHO_N "(cached) $ECHO_C" >&6
19541 if test -f lex.yy.c
; then
19542 ac_cv_prog_lex_root
=lex.yy
19543 elif test -f lexyy.c
; then
19544 ac_cv_prog_lex_root
=lexyy
19546 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
19547 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
19548 { (exit 1); exit 1; }; }
19551 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
19552 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
19553 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
19555 if test -z "${LEXLIB+set}"; then
19556 { echo "$as_me:$LINENO: checking lex library" >&5
19557 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
19558 if test "${ac_cv_lib_lex+set}" = set; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 ac_cv_lib_lex
='none needed'
19564 for ac_lib
in '' -lfl -ll; do
19565 LIBS
="$ac_lib $ac_save_LIBS"
19566 cat >conftest.
$ac_ext <<_ACEOF
19567 `cat $LEX_OUTPUT_ROOT.c`
19569 rm -f conftest.
$ac_objext conftest
$ac_exeext
19570 if { (ac_try
="$ac_link"
19571 case "(($ac_try" in
19572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19573 *) ac_try_echo=$ac_try;;
19575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19576 (eval "$ac_link") 2>conftest.er1
19578 grep -v '^ *+' conftest.er1 >conftest.err
19580 cat conftest.err >&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); } && {
19583 test -z "$ac_cxx_werror_flag" ||
19584 test ! -s conftest.err
19585 } && test -s conftest$ac_exeext &&
19586 $as_test_x conftest$ac_exeext; then
19587 ac_cv_lib_lex=$ac_lib
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.$ac_ext >&5
19595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19596 conftest$ac_exeext conftest.$ac_ext
19597 test "$ac_cv_lib_lex" != 'none needed' && break
19602 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
19603 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
19604 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
19608 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
19609 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
19610 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
19611 echo $ECHO_N "(cached) $ECHO_C" >&6
19613 # POSIX says lex can declare yytext either as a pointer or an array; the
19614 # default is implementation-dependent. Figure out which it is, since
19615 # not all implementations provide the %pointer and %array declarations.
19616 ac_cv_prog_lex_yytext_pointer=no
19618 LIBS="$LEXLIB $ac_save_LIBS"
19619 cat >conftest.$ac_ext <<_ACEOF
19620 #define YYTEXT_POINTER 1
19621 `cat $LEX_OUTPUT_ROOT.c
`
19623 rm -f conftest.$ac_objext conftest$ac_exeext
19624 if { (ac_try="$ac_link"
19625 case "(($ac_try" in
19626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19627 *) ac_try_echo
=$ac_try;;
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_link") 2>conftest.er1
19632 grep -v '^ *+' conftest.er1
>conftest.err
19634 cat conftest.err
>&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && {
19637 test -z "$ac_cxx_werror_flag" ||
19638 test ! -s conftest.err
19639 } && test -s conftest
$ac_exeext &&
19640 $as_test_x conftest
$ac_exeext; then
19641 ac_cv_prog_lex_yytext_pointer
=yes
19643 echo "$as_me: failed program was:" >&5
19644 sed 's/^/| /' conftest.
$ac_ext >&5
19649 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19650 conftest
$ac_exeext conftest.
$ac_ext
19654 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
19655 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
19656 if test $ac_cv_prog_lex_yytext_pointer = yes; then
19658 cat >>confdefs.h
<<\_ACEOF
19659 #define YYTEXT_POINTER 1
19663 rm -f conftest.l
$LEX_OUTPUT_ROOT.c
19666 if test "$LEX" = :; then
19667 LEX
=${am_missing_run}flex
19670 case "${host_os}" in
19675 case "${host_cpu}" in
19680 echo "#ifndef BUILD_H" >build.h
19681 echo "#define BUILD_H" >>build.h
19682 echo "#define CSQL" >>build.h
19683 echo "#define ${OSTYPE}" >>build.h
19684 echo "#define ${CPUTYPE}" >>build.h
19685 echo "#endif " >>build.h
19702 for ac_header
in stdio.h sys
/mman.h sys
/shm.h sys
/errno.h
crypt.h unistd.h \
19703 string.h sys
/types.h sys
/stat.h fcntl.h pthread.h math.h \
19706 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19707 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19708 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19710 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19713 ac_res
=`eval echo '${'$as_ac_Header'}'`
19714 { echo "$as_me:$LINENO: result: $ac_res" >&5
19715 echo "${ECHO_T}$ac_res" >&6; }
19717 # Is the header compilable?
19718 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19719 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19720 cat >conftest.
$ac_ext <<_ACEOF
19723 cat confdefs.h
>>conftest.
$ac_ext
19724 cat >>conftest.
$ac_ext <<_ACEOF
19725 /* end confdefs.h. */
19726 $ac_includes_default
19727 #include <$ac_header>
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 ac_header_compiler=yes
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19751 ac_header_compiler=no
19754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19755 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19756 echo "${ECHO_T}$ac_header_compiler" >&6; }
19758 # Is the header present?
19759 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19760 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19761 cat >conftest.$ac_ext <<_ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 #include <$ac_header>
19769 if { (ac_try="$ac_cpp conftest.$ac_ext"
19770 case "(($ac_try" in
19771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19772 *) ac_try_echo
=$ac_try;;
19774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19777 grep -v '^ *+' conftest.er1
>conftest.err
19779 cat conftest.err
>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); } >/dev
/null
&& {
19782 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
19783 test ! -s conftest.err
19785 ac_header_preproc
=yes
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.
$ac_ext >&5
19790 ac_header_preproc
=no
19793 rm -f conftest.err conftest.
$ac_ext
19794 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19795 echo "${ECHO_T}$ac_header_preproc" >&6; }
19797 # So? What about this header?
19798 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19800 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19801 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19803 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19804 ac_header_preproc
=yes
19807 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19808 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19809 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19810 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19811 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19812 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19813 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19814 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19816 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19817 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19818 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19822 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19824 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19825 echo $ECHO_N "(cached) $ECHO_C" >&6
19827 eval "$as_ac_Header=\$ac_header_preproc"
19829 ac_res
=`eval echo '${'$as_ac_Header'}'`
19830 { echo "$as_me:$LINENO: result: $ac_res" >&5
19831 echo "${ECHO_T}$ac_res" >&6; }
19834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19835 cat >>confdefs.h
<<_ACEOF
19836 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19846 ac_config_files
="$ac_config_files Makefile src/Makefile include/Makefile src/storage/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 src/odbc/Makefile"
19848 cat >confcache
<<\_ACEOF
19849 # This file is a shell script that caches the results of configure
19850 # tests run on this system so they can be shared between configure
19851 # scripts and configure runs, see configure's option --config-cache.
19852 # It is not useful on other systems. If it contains results you don't
19853 # want to keep, you may remove or edit it.
19855 # config.status only pays attention to the cache file if you give it
19856 # the --recheck option to rerun configure.
19858 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19859 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19860 # following values.
19864 # The following way of writing the cache mishandles newlines in values,
19865 # but we know of no workaround that is simple, portable, and efficient.
19866 # So, we kill variables containing newlines.
19867 # Ultrix sh set writes to stderr and can't be redirected directly,
19868 # and sets the high bit in the cache file unless we assign to the vars.
19870 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19871 eval ac_val
=\$
$ac_var
19875 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
19876 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
19879 _ | IFS | as_nl
) ;; #(
19880 *) $as_unset $ac_var ;;
19886 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19887 *${as_nl}ac_space
=\
*)
19888 # `set' does not quote correctly, so add quotes (double-quote
19889 # substitution turns \\\\ into \\, and sed turns \\ into \).
19892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19895 # `set' quotes correctly as required by POSIX, so do not add quotes.
19896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19905 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19907 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19909 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19910 if test -w "$cache_file"; then
19911 test "x$cache_file" != "x/dev/null" &&
19912 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
19913 echo "$as_me: updating cache $cache_file" >&6;}
19914 cat confcache
>$cache_file
19916 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19917 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19922 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19923 # Let make expand exec_prefix.
19924 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19926 DEFS
=-DHAVE_CONFIG_H
19930 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19931 # 1. Remove the extension, and $U if already installed.
19932 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19933 ac_i
=`echo "$ac_i" | sed "$ac_script"`
19934 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19935 # will be set to the directory where LIBOBJS objects are built.
19936 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19937 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19939 LIBOBJS
=$ac_libobjs
19941 LTLIBOBJS
=$ac_ltlibobjs
19944 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19945 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19946 Usually this means the macro was only invoked conditionally." >&5
19947 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19948 Usually this means the macro was only invoked conditionally." >&2;}
19949 { (exit 1); exit 1; }; }
19951 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19952 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19953 Usually this means the macro was only invoked conditionally." >&5
19954 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19955 Usually this means the macro was only invoked conditionally." >&2;}
19956 { (exit 1); exit 1; }; }
19958 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19959 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19960 Usually this means the macro was only invoked conditionally." >&5
19961 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19962 Usually this means the macro was only invoked conditionally." >&2;}
19963 { (exit 1); exit 1; }; }
19966 : ${CONFIG_STATUS=./config.status}
19967 ac_clean_files_save
=$ac_clean_files
19968 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19969 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19970 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19971 cat >$CONFIG_STATUS <<_ACEOF
19973 # Generated by $as_me.
19974 # Run this file to recreate the current configuration.
19975 # Compiler output produced by configure, useful for debugging
19976 # configure, is in config.log if it exists.
19979 ac_cs_recheck=false
19981 SHELL=\${CONFIG_SHELL-$SHELL}
19984 cat >>$CONFIG_STATUS <<\_ACEOF
19985 ## --------------------- ##
19986 ## M4sh Initialization. ##
19987 ## --------------------- ##
19989 # Be more Bourne compatible
19990 DUALCASE
=1; export DUALCASE
# for MKS sh
19991 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19994 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19995 # is contrary to our usage. Disable this feature.
19996 alias -g '${1+"$@"}'='"$@"'
19997 setopt NO_GLOB_SUBST
19999 case `(set -o) 2>/dev/null` in
20000 *posix
*) set -o posix
;;
20009 # Avoid depending upon Character Ranges.
20010 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20011 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20012 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20013 as_cr_digits
='0123456789'
20014 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20016 # The user is always right.
20017 if test "${PATH_SEPARATOR+set}" != set; then
20018 echo "#! /bin/sh" >conf$$.sh
20019 echo "exit 0" >>conf$$.sh
20021 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20029 # Support unset when possible.
20030 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20038 # We need space, tab and new line, in precisely that order. Quoting is
20039 # there to prevent editors from complaining about space-tab.
20040 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20041 # splitting by setting IFS to empty value.)
20046 # Find who we are. Look in the path if we contain no directory separator.
20048 *[\\/]* ) as_myself
=$0 ;;
20049 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20050 for as_dir
in $PATH
20053 test -z "$as_dir" && as_dir
=.
20054 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20060 # We did not find ourselves, most probably we were run as `sh COMMAND'
20061 # in which case we are not to be found in the path.
20062 if test "x$as_myself" = x
; then
20065 if test ! -f "$as_myself"; then
20066 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20067 { (exit 1); exit 1; }
20070 # Work around bugs in pre-3.0 UWIN ksh.
20071 for as_var
in ENV MAIL MAILPATH
20072 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20080 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20081 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20082 LC_TELEPHONE LC_TIME
20084 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20085 eval $as_var=C
; export $as_var
20087 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20091 # Required to use basename.
20092 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20093 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20099 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20100 as_basename
=basename
20106 # Name of the executable.
20107 as_me
=`$as_basename -- "$0" ||
20108 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20109 X"$0" : 'X\(//\)$' \| \
20110 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20112 sed '/^.*\/\([^/][^/]*\)\/*$/{
20131 as_lineno_1
=$LINENO
20132 as_lineno_2
=$LINENO
20133 test "x$as_lineno_1" != "x$as_lineno_2" &&
20134 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20136 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20137 # uniformly replaced by the line number. The first 'sed' inserts a
20138 # line-number line after each line using $LINENO; the second 'sed'
20139 # does the real work. The second script uses 'N' to pair each
20140 # line-number line with the line containing $LINENO, and appends
20141 # trailing '-' during substitution so that $LINENO is not a special
20142 # case at line end.
20143 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20144 # scripts with optimization help from Paolo Bonzini. Blame Lee
20145 # E. McMahon (1931-1989) for sed's syntax. :-)
20157 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20160 ' >$as_me.lineno
&&
20161 chmod +x
"$as_me.lineno" ||
20162 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20163 { (exit 1); exit 1; }; }
20165 # Don't try to exec as it changes $[0], causing all sort of problems
20166 # (the dirname of $[0] is not the place where we might find the
20167 # original and so on. Autoconf is especially sensitive to this).
20168 .
"./$as_me.lineno"
20169 # Exit status is that of the last command.
20174 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20180 ECHO_C
= ECHO_N
= ECHO_T
=
20181 case `echo -n x` in
20183 case `echo 'x\c'` in
20184 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20191 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20192 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20198 rm -f conf$$ conf$$.exe conf$$.
file
20199 if test -d conf$$.dir
; then
20200 rm -f conf$$.dir
/conf$$.
file
20206 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20208 # ... but there are two gotchas:
20209 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20210 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20211 # In both cases, we have to default to `cp -p'.
20212 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20219 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20220 rmdir conf$$.dir
2>/dev
/null
20222 if mkdir
-p .
2>/dev
/null
; then
20225 test -d .
/-p && rmdir .
/-p
20229 if test -x / >/dev
/null
2>&1; then
20230 as_test_x
='test -x'
20232 if ls -dL / >/dev
/null
2>&1; then
20239 if test -d "$1"; then
20245 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20246 ???[sx]*):;;*)false;;esac;fi
20250 as_executable_p
=$as_test_x
20252 # Sed expression to map a string onto a valid CPP name.
20253 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20255 # Sed expression to map a string onto a valid variable name.
20256 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20261 # Save the log message, to keep $[0] and so on meaningful, and to
20262 # report actual input values of CONFIG_FILES etc. instead of their
20263 # values after options handling.
20265 This file was extended by $as_me, which was
20266 generated by GNU Autoconf 2.61. Invocation command line was
20268 CONFIG_FILES = $CONFIG_FILES
20269 CONFIG_HEADERS = $CONFIG_HEADERS
20270 CONFIG_LINKS = $CONFIG_LINKS
20271 CONFIG_COMMANDS = $CONFIG_COMMANDS
20274 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20279 cat >>$CONFIG_STATUS <<_ACEOF
20280 # Files that config.status was made for.
20281 config_files="$ac_config_files"
20282 config_headers="$ac_config_headers"
20283 config_commands="$ac_config_commands"
20287 cat >>$CONFIG_STATUS <<\_ACEOF
20289 \`$as_me' instantiates files from templates according to the
20290 current configuration.
20292 Usage: $0 [OPTIONS] [FILE]...
20294 -h, --help print this help, then exit
20295 -V, --version print version number and configuration settings, then exit
20296 -q, --quiet do not print progress messages
20297 -d, --debug don't remove temporary files
20298 --recheck update $as_me by reconfiguring in the same conditions
20299 --file=FILE[:TEMPLATE]
20300 instantiate the configuration file FILE
20301 --header=FILE[:TEMPLATE]
20302 instantiate the configuration header FILE
20304 Configuration files:
20307 Configuration headers:
20310 Configuration commands:
20313 Report bugs to <bug-autoconf@gnu.org>."
20316 cat >>$CONFIG_STATUS <<_ACEOF
20319 configured by $0, generated by GNU Autoconf 2.61,
20320 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20322 Copyright (C) 2006 Free Software Foundation, Inc.
20323 This config.status script is free software; the Free Software Foundation
20324 gives unlimited permission to copy, distribute and modify it."
20331 cat >>$CONFIG_STATUS <<\_ACEOF
20332 # If no file are specified by the user, then we need to provide default
20333 # value. By we need to know if files were specified by the user.
20339 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20340 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20351 # Handling of the options.
20352 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20354 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20355 echo "$ac_cs_version"; exit ;;
20356 --debug |
--debu |
--deb |
--de |
--d |
-d )
20358 --file |
--fil |
--fi |
--f )
20360 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20361 ac_need_defaults
=false
;;
20362 --header |
--heade |
--head |
--hea )
20364 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20365 ac_need_defaults
=false
;;
20367 # Conflict between --help and --header
20368 { echo "$as_me: error: ambiguous option: $1
20369 Try \`$0 --help' for more information." >&2
20370 { (exit 1); exit 1; }; };;
20371 --help |
--hel |
-h )
20372 echo "$ac_cs_usage"; exit ;;
20373 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20374 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20377 # This is an error.
20378 -*) { echo "$as_me: error: unrecognized option: $1
20379 Try \`$0 --help' for more information." >&2
20380 { (exit 1); exit 1; }; } ;;
20382 *) ac_config_targets
="$ac_config_targets $1"
20383 ac_need_defaults
=false
;;
20389 ac_configure_extra_args
=
20391 if $ac_cs_silent; then
20393 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20397 cat >>$CONFIG_STATUS <<_ACEOF
20398 if \$ac_cs_recheck; then
20399 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20400 CONFIG_SHELL=$SHELL
20401 export CONFIG_SHELL
20402 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20406 cat >>$CONFIG_STATUS <<\_ACEOF
20410 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20411 ## Running $as_me. ##
20417 cat >>$CONFIG_STATUS <<_ACEOF
20421 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20425 cat >>$CONFIG_STATUS <<\_ACEOF
20427 # Handling of arguments.
20428 for ac_config_target
in $ac_config_targets
20430 case $ac_config_target in
20431 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20432 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20433 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20434 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20435 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20436 "src/storage/Makefile") CONFIG_FILES
="$CONFIG_FILES src/storage/Makefile" ;;
20437 "src/sql/Makefile") CONFIG_FILES
="$CONFIG_FILES src/sql/Makefile" ;;
20438 "src/adapter/Makefile") CONFIG_FILES
="$CONFIG_FILES src/adapter/Makefile" ;;
20439 "src/gateway/Makefile") CONFIG_FILES
="$CONFIG_FILES src/gateway/Makefile" ;;
20440 "src/cache/Makefile") CONFIG_FILES
="$CONFIG_FILES src/cache/Makefile" ;;
20441 "src/network/Makefile") CONFIG_FILES
="$CONFIG_FILES src/network/Makefile" ;;
20442 "src/sqllog/Makefile") CONFIG_FILES
="$CONFIG_FILES src/sqllog/Makefile" ;;
20443 "src/tools/Makefile") CONFIG_FILES
="$CONFIG_FILES src/tools/Makefile" ;;
20444 "src/jdbc/Makefile") CONFIG_FILES
="$CONFIG_FILES src/jdbc/Makefile" ;;
20445 "src/odbc/Makefile") CONFIG_FILES
="$CONFIG_FILES src/odbc/Makefile" ;;
20447 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20448 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20449 { (exit 1); exit 1; }; };;
20454 # If the user did not use the arguments to specify the items to instantiate,
20455 # then the envvar interface is used. Set only those that are not.
20456 # We use the long form for the default assignment because of an extremely
20457 # bizarre bug on SunOS 4.1.3.
20458 if $ac_need_defaults; then
20459 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20460 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20461 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20464 # Have a temporary directory for convenience. Make it in the build tree
20465 # simply because there is no reason against having it here, and in addition,
20466 # creating and moving files from /tmp can sometimes cause problems.
20467 # Hook for its removal unless debugging.
20468 # Note that there is a small window in which the directory will not be cleaned:
20469 # after its creation but before its name has been assigned to `$tmp'.
20473 trap 'exit_status=$?
20474 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20476 trap '{ (exit 1); exit 1; }' 1 2 13 15
20478 # Create a (secure) tmp directory for tmp files.
20481 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20482 test -n "$tmp" && test -d "$tmp"
20485 tmp
=.
/conf$$
-$RANDOM
20486 (umask 077 && mkdir
"$tmp")
20489 echo "$me: cannot create a temporary directory in ." >&2
20490 { (exit 1); exit 1; }
20494 # Set up the sed scripts for CONFIG_FILES section.
20497 # No need to generate the scripts if there are no CONFIG_FILES.
20498 # This happens for instance when ./config.status config.h
20499 if test -n "$CONFIG_FILES"; then
20506 for ac_last_try
in false false false false false
:; do
20507 cat >conf$
$subs.
sed <<_ACEOF
20508 SHELL!$SHELL$ac_delim
20509 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20510 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20511 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20512 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20513 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20514 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20515 exec_prefix!$exec_prefix$ac_delim
20516 prefix!$prefix$ac_delim
20517 program_transform_name!$program_transform_name$ac_delim
20518 bindir!$bindir$ac_delim
20519 sbindir!$sbindir$ac_delim
20520 libexecdir!$libexecdir$ac_delim
20521 datarootdir!$datarootdir$ac_delim
20522 datadir!$datadir$ac_delim
20523 sysconfdir!$sysconfdir$ac_delim
20524 sharedstatedir!$sharedstatedir$ac_delim
20525 localstatedir!$localstatedir$ac_delim
20526 includedir!$includedir$ac_delim
20527 oldincludedir!$oldincludedir$ac_delim
20528 docdir!$docdir$ac_delim
20529 infodir!$infodir$ac_delim
20530 htmldir!$htmldir$ac_delim
20531 dvidir!$dvidir$ac_delim
20532 pdfdir!$pdfdir$ac_delim
20533 psdir!$psdir$ac_delim
20534 libdir!$libdir$ac_delim
20535 localedir!$localedir$ac_delim
20536 mandir!$mandir$ac_delim
20537 DEFS!$DEFS$ac_delim
20538 ECHO_C!$ECHO_C$ac_delim
20539 ECHO_N!$ECHO_N$ac_delim
20540 ECHO_T!$ECHO_T$ac_delim
20541 LIBS!$LIBS$ac_delim
20542 build_alias!$build_alias$ac_delim
20543 host_alias!$host_alias$ac_delim
20544 target_alias!$target_alias$ac_delim
20545 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20546 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20547 INSTALL_DATA!$INSTALL_DATA$ac_delim
20548 CYGPATH_W!$CYGPATH_W$ac_delim
20549 PACKAGE!$PACKAGE$ac_delim
20550 VERSION!$VERSION$ac_delim
20551 ACLOCAL!$ACLOCAL$ac_delim
20552 AUTOCONF!$AUTOCONF$ac_delim
20553 AUTOMAKE!$AUTOMAKE$ac_delim
20554 AUTOHEADER!$AUTOHEADER$ac_delim
20555 MAKEINFO!$MAKEINFO$ac_delim
20556 install_sh!$install_sh$ac_delim
20557 STRIP!$STRIP$ac_delim
20558 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20559 mkdir_p!$mkdir_p$ac_delim
20561 SET_MAKE!$SET_MAKE$ac_delim
20562 am__leading_dot!$am__leading_dot$ac_delim
20563 AMTAR!$AMTAR$ac_delim
20564 am__tar!$am__tar$ac_delim
20565 am__untar!$am__untar$ac_delim
20567 CXXFLAGS!$CXXFLAGS$ac_delim
20568 LDFLAGS!$LDFLAGS$ac_delim
20569 CPPFLAGS!$CPPFLAGS$ac_delim
20570 ac_ct_CXX!$ac_ct_CXX$ac_delim
20571 EXEEXT!$EXEEXT$ac_delim
20572 OBJEXT!$OBJEXT$ac_delim
20573 DEPDIR!$DEPDIR$ac_delim
20574 am__include!$am__include$ac_delim
20575 am__quote!$am__quote$ac_delim
20576 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20577 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20578 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20579 CXXDEPMODE!$CXXDEPMODE$ac_delim
20580 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20581 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20582 build!$build$ac_delim
20583 build_cpu!$build_cpu$ac_delim
20584 build_vendor!$build_vendor$ac_delim
20585 build_os!$build_os$ac_delim
20586 host!$host$ac_delim
20587 host_cpu!$host_cpu$ac_delim
20588 host_vendor!$host_vendor$ac_delim
20589 host_os!$host_os$ac_delim
20591 CFLAGS!$CFLAGS$ac_delim
20592 ac_ct_CC!$ac_ct_CC$ac_delim
20593 CCDEPMODE!$CCDEPMODE$ac_delim
20594 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20595 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20596 GREP!$GREP$ac_delim
20597 EGREP!$EGREP$ac_delim
20598 LN_S!$LN_S$ac_delim
20599 ECHO!$ECHO$ac_delim
20601 RANLIB!$RANLIB$ac_delim
20603 CXXCPP!$CXXCPP$ac_delim
20607 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20609 elif $ac_last_try; then
20610 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20611 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20612 { (exit 1); exit 1; }; }
20614 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20618 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20619 if test -n "$ac_eof"; then
20620 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20621 ac_eof
=`expr $ac_eof + 1`
20624 cat >>$CONFIG_STATUS <<_ACEOF
20625 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20626 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20629 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20630 s/^/s,@/; s/!/@,|#_!!_#|/
20633 s/'"$ac_delim"'$/,g/; t
20635 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20636 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20637 rm -f conf$
$subs.
sed
20638 cat >>$CONFIG_STATUS <<_ACEOF
20644 for ac_last_try
in false false false false false
:; do
20645 cat >conf$
$subs.
sed <<_ACEOF
20646 FFLAGS!$FFLAGS$ac_delim
20647 ac_ct_F77!$ac_ct_F77$ac_delim
20648 LIBTOOL!$LIBTOOL$ac_delim
20649 YACC!$YACC$ac_delim
20650 YFLAGS!$YFLAGS$ac_delim
20652 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
20653 LEXLIB!$LEXLIB$ac_delim
20654 LIBOBJS!$LIBOBJS$ac_delim
20655 LTLIBOBJS!$LTLIBOBJS$ac_delim
20658 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
20660 elif $ac_last_try; then
20661 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20662 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20663 { (exit 1); exit 1; }; }
20665 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20669 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20670 if test -n "$ac_eof"; then
20671 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20672 ac_eof
=`expr $ac_eof + 1`
20675 cat >>$CONFIG_STATUS <<_ACEOF
20676 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20677 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20680 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20681 s/^/s,@/; s/!/@,|#_!!_#|/
20684 s/'"$ac_delim"'$/,g/; t
20686 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20687 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20688 rm -f conf$
$subs.
sed
20689 cat >>$CONFIG_STATUS <<_ACEOF
20696 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20697 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20698 # trailing colons and then remove the whole line if VPATH becomes empty
20699 # (actually we leave an empty line to preserve line numbers).
20700 if test "x$srcdir" = x.
; then
20701 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20702 s/:*\$(srcdir):*/:/
20703 s/:*\${srcdir}:*/:/
20705 s/^\([^=]*=[ ]*\):*/\1/
20711 cat >>$CONFIG_STATUS <<\_ACEOF
20712 fi # test -n "$CONFIG_FILES"
20715 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
20718 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20720 case $ac_mode$ac_tag in
20722 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20723 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20724 { (exit 1); exit 1; }; };;
20725 :[FH
]-) ac_tag
=-:-;;
20726 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20743 -) ac_f
="$tmp/stdin";;
20744 *) # Look for the file first in the build tree, then in the source tree
20745 # (if the path is not absolute). The absolute path cannot be DOS-style,
20746 # because $ac_f cannot contain `:'.
20750 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20752 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20753 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20754 { (exit 1); exit 1; }; };;
20756 ac_file_inputs
="$ac_file_inputs $ac_f"
20759 # Let's still pretend it is `configure' which instantiates (i.e., don't
20760 # use $as_me), people would be surprised to read:
20761 # /* config.h. Generated by config.status. */
20762 configure_input
="Generated from "`IFS=:
20763 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20764 if test x
"$ac_file" != x-
; then
20765 configure_input
="$ac_file. $configure_input"
20766 { echo "$as_me:$LINENO: creating $ac_file" >&5
20767 echo "$as_me: creating $ac_file" >&6;}
20771 *:-:* |
*:-) cat >"$tmp/stdin";;
20776 ac_dir
=`$as_dirname -- "$ac_file" ||
20777 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20778 X"$ac_file" : 'X\(//\)[^/]' \| \
20779 X"$ac_file" : 'X\(//\)$' \| \
20780 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20786 /^X\(\/\/\)[^/].*/{
20801 -*) as_dir
=.
/$as_dir;;
20803 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20807 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20808 *) as_qdir
=$as_dir;;
20810 as_dirs
="'$as_qdir' $as_dirs"
20811 as_dir
=`$as_dirname -- "$as_dir" ||
20812 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20813 X"$as_dir" : 'X\(//\)[^/]' \| \
20814 X"$as_dir" : 'X\(//\)$' \| \
20815 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20821 /^X\(\/\/\)[^/].*/{
20834 test -d "$as_dir" && break
20836 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20837 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20838 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20839 { (exit 1); exit 1; }; }; }
20843 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20845 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20846 # A ".." for each directory in $ac_dir_suffix.
20847 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20848 case $ac_top_builddir_sub in
20849 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20850 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20853 ac_abs_top_builddir
=$ac_pwd
20854 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20855 # for backward compatibility:
20856 ac_top_builddir
=$ac_top_build_prefix
20859 .
) # We are building in place.
20861 ac_top_srcdir
=$ac_top_builddir_sub
20862 ac_abs_top_srcdir
=$ac_pwd ;;
20863 [\\/]* | ?
:[\\/]* ) # Absolute name.
20864 ac_srcdir
=$srcdir$ac_dir_suffix;
20865 ac_top_srcdir
=$srcdir
20866 ac_abs_top_srcdir
=$srcdir ;;
20867 *) # Relative name.
20868 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20869 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20870 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20872 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20882 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20883 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20887 cat >>$CONFIG_STATUS <<\_ACEOF
20888 # If the template does not know about datarootdir, expand it.
20889 # FIXME: This hack should be removed a few years after 2.60.
20890 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20892 case `sed -n '/datarootdir/ {
20901 ' $ac_file_inputs` in
20902 *datarootdir
*) ac_datarootdir_seen
=yes;;
20903 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20904 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20905 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20907 cat >>$CONFIG_STATUS <<_ACEOF
20908 ac_datarootdir_hack='
20909 s&@datadir@&$datadir&g
20910 s&@docdir@&$docdir&g
20911 s&@infodir@&$infodir&g
20912 s&@localedir@&$localedir&g
20913 s&@mandir@&$mandir&g
20914 s&\\\${datarootdir}&$datarootdir&g' ;;
20918 # Neutralize VPATH when `$srcdir' = `.'.
20919 # Shell code in configure.ac might set extrasub.
20920 # FIXME: do we really want to maintain this feature?
20921 cat >>$CONFIG_STATUS <<_ACEOF
20925 cat >>$CONFIG_STATUS <<\_ACEOF
20927 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20928 s
&@configure_input@
&$configure_input&;t t
20929 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20930 s
&@srcdir@
&$ac_srcdir&;t t
20931 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20932 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20933 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20934 s
&@builddir@
&$ac_builddir&;t t
20935 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20936 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20937 s
&@INSTALL@
&$ac_INSTALL&;t t
20938 $ac_datarootdir_hack
20939 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
20941 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20942 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
20943 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
20944 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20945 which seems to be undefined. Please make sure it is defined." >&5
20946 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20947 which seems to be undefined. Please make sure it is defined." >&2;}
20951 -) cat "$tmp/out"; rm -f "$tmp/out";;
20952 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20961 # Transform confdefs.h into a sed script `conftest.defines', that
20962 # substitutes the proper values into config.h.in to produce config.h.
20963 rm -f conftest.defines conftest.
tail
20964 # First, append a space to every undef/define line, to ease matching.
20965 echo 's/$/ /' >conftest.defines
20966 # Then, protect against being on the right side of a sed subst, or in
20967 # an unquoted here document, in config.status. If some macros were
20968 # called several times there might be several #defines for the same
20969 # symbol, which is useless. But do not sort them, since the last
20970 # AC_DEFINE must be honored.
20971 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
20972 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
20973 # NAME is the cpp macro being defined, VALUE is the value it is being given.
20974 # PARAMS is the parameter list in the macro definition--in most cases, it's
20975 # just an empty string.
20976 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
20977 ac_dB
='\\)[ (].*,\\1define\\2'
20985 s/^[ ]*#[ ]*define[ ][ ]*//
20990 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
20991 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
20992 ' >>conftest.defines
20994 # Remove the space that was appended to ease matching.
20995 # Then replace #undef with comments. This is necessary, for
20996 # example, in the case of _POSIX_SOURCE, which is predefined and required
20997 # on some systems where configure will not decide to define it.
20998 # (The regexp can be short, since the line contains either #define or #undef.)
21000 s,^[ #]*u.*,/* & */,' >>conftest.defines
21002 # Break up conftest.defines:
21003 ac_max_sed_lines
=50
21005 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21006 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21007 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21009 ac_in
='$ac_file_inputs'
21010 ac_out
='"$tmp/out1"'
21011 ac_nxt
='"$tmp/out2"'
21015 # Write a here document:
21016 cat >>$CONFIG_STATUS <<_ACEOF
21017 # First, check the format of the line:
21018 cat >"\$tmp/defines.sed" <<\\CEOF
21019 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21020 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21024 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21026 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21027 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21028 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21029 grep . conftest.
tail >/dev
/null ||
break
21030 rm -f conftest.defines
21031 mv conftest.
tail conftest.defines
21033 rm -f conftest.defines conftest.
tail
21035 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21036 cat >>$CONFIG_STATUS <<\_ACEOF
21037 if test x
"$ac_file" != x-
; then
21038 echo "/* $configure_input */" >"$tmp/config.h"
21039 cat "$ac_result" >>"$tmp/config.h"
21040 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21041 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21042 echo "$as_me: $ac_file is unchanged" >&6;}
21045 mv "$tmp/config.h" $ac_file
21048 echo "/* $configure_input */"
21052 # Compute $ac_file's index in $config_headers.
21054 for _am_header
in $config_headers :; do
21055 case $_am_header in
21056 $ac_file |
$ac_file:* )
21059 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21062 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21063 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21064 X$ac_file : 'X\(//\)[^/]' \| \
21065 X$ac_file : 'X\(//\)$' \| \
21066 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21072 /^X\(\/\/\)[^/].*/{
21084 s/.*/./; q'`/stamp-h
$_am_stamp_count
21087 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21088 echo "$as_me: executing $ac_file commands" >&6;}
21093 case $ac_file$ac_mode in
21094 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21095 # Strip MF so we end up with the name of the file.
21096 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21097 # Check whether this is an Automake generated Makefile or not.
21098 # We used to match only the files named `Makefile.in', but
21099 # some people rename them; so instead we look at the file content.
21100 # Grep'ing the first line is not enough: some people post-process
21101 # each Makefile.in and add a new line on top of each file to say so.
21102 # So let's grep whole file.
21103 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21104 dirpart
=`$as_dirname -- "$mf" ||
21105 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21106 X"$mf" : 'X\(//\)[^/]' \| \
21107 X"$mf" : 'X\(//\)$' \| \
21108 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21114 /^X\(\/\/\)[^/].*/{
21130 # Extract the definition of DEPDIR, am__include, and am__quote
21131 # from the Makefile without running `make'.
21132 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21133 test -z "$DEPDIR" && continue
21134 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21135 test -z "am__include" && continue
21136 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21137 # When using ansi2knr, U may be empty or an underscore; expand it
21138 U
=`sed -n 's/^U = //p' < "$mf"`
21139 # Find all dependency output files, they are included files with
21140 # $(DEPDIR) in their names. We invoke sed twice because it is the
21141 # simplest approach to changing $(DEPDIR) to its actual value in the
21143 for file in `sed -n "
21144 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21145 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21146 # Make sure the directory exists.
21147 test -f "$dirpart/$file" && continue
21148 fdir
=`$as_dirname -- "$file" ||
21149 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21150 X"$file" : 'X\(//\)[^/]' \| \
21151 X"$file" : 'X\(//\)$' \| \
21152 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21158 /^X\(\/\/\)[^/].*/{
21171 { as_dir
=$dirpart/$fdir
21173 -*) as_dir
=.
/$as_dir;;
21175 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21179 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21180 *) as_qdir
=$as_dir;;
21182 as_dirs
="'$as_qdir' $as_dirs"
21183 as_dir
=`$as_dirname -- "$as_dir" ||
21184 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21185 X"$as_dir" : 'X\(//\)[^/]' \| \
21186 X"$as_dir" : 'X\(//\)$' \| \
21187 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21193 /^X\(\/\/\)[^/].*/{
21206 test -d "$as_dir" && break
21208 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21209 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21210 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21211 { (exit 1); exit 1; }; }; }
21212 # echo "creating $dirpart/$file"
21213 echo '# dummy' > "$dirpart/$file"
21222 { (exit 0); exit 0; }
21224 chmod +x
$CONFIG_STATUS
21225 ac_clean_files
=$ac_clean_files_save
21228 # configure is writing to config.log, and then calls config.status.
21229 # config.status does its own redirection, appending to config.log.
21230 # Unfortunately, on DOS this fails, as config.log is still kept open
21231 # by configure, so config.status won't be able to write to it; its
21232 # output is simply discarded. So we exec the FD to /dev/null,
21233 # effectively closing config.log, so it can be properly (re)opened and
21234 # appended to by config.status. When coming back to configure, we
21235 # need to make the FD available again.
21236 if test "$no_create" != yes; then
21238 ac_config_status_args
=
21239 test "$silent" = yes &&
21240 ac_config_status_args
="$ac_config_status_args --quiet"
21242 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21244 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21245 # would make configure fail if this is the last instruction.
21246 $ac_cs_success ||
{ (exit 1); exit 1; }