2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Barry OpenSync Plugin 0.2.
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.
727 PACKAGE_NAME
='Barry OpenSync Plugin'
728 PACKAGE_TARNAME
='barryplugin'
729 PACKAGE_VERSION
='0.2'
730 PACKAGE_STRING
='Barry OpenSync Plugin 0.2'
733 ac_unique_file
="src/barry_sync.cc"
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
876 WITH_GCCVISIBILITY_TRUE
877 WITH_GCCVISIBILITY_FALSE
889 ac_precious_vars
='build_alias
911 # Initialize some variables set by options.
913 ac_init_version
=false
914 # The variables have the same names as the options, with
915 # dashes changed to underlines.
923 program_transform_name
=s
,x
,x
,
931 # Installation directory options.
932 # These are left unexpanded so users can "make install exec_prefix=/foo"
933 # and all the variables that are supposed to be based on exec_prefix
934 # by default will actually change.
935 # Use braces instead of parens because sh, perl, etc. also accept them.
936 # (The list follows the same order as the GNU Coding Standards.)
937 bindir
='${exec_prefix}/bin'
938 sbindir
='${exec_prefix}/sbin'
939 libexecdir
='${exec_prefix}/libexec'
940 datarootdir
='${prefix}/share'
941 datadir
='${datarootdir}'
942 sysconfdir
='${prefix}/etc'
943 sharedstatedir
='${prefix}/com'
944 localstatedir
='${prefix}/var'
945 includedir
='${prefix}/include'
946 oldincludedir
='/usr/include'
947 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
948 infodir
='${datarootdir}/info'
953 libdir
='${exec_prefix}/lib'
954 localedir
='${datarootdir}/locale'
955 mandir
='${datarootdir}/man'
961 # If the previous option needs an argument, assign it.
962 if test -n "$ac_prev"; then
963 eval $ac_prev=\
$ac_option
969 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
973 # Accept the important Cygnus configure options, so we can diagnose typos.
975 case $ac_dashdash$ac_option in
979 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
981 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
984 -build |
--build |
--buil |
--bui |
--bu)
985 ac_prev
=build_alias
;;
986 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
987 build_alias
=$ac_optarg ;;
989 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
990 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
991 ac_prev
=cache_file
;;
992 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
993 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
994 cache_file
=$ac_optarg ;;
997 cache_file
=config.cache
;;
999 -datadir |
--datadir |
--datadi |
--datad)
1001 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1002 datadir
=$ac_optarg ;;
1004 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1005 |
--dataroo |
--dataro |
--datar)
1006 ac_prev
=datarootdir
;;
1007 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1008 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1009 datarootdir
=$ac_optarg ;;
1011 -disable-* |
--disable-*)
1012 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1015 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1016 { (exit 1); exit 1; }; }
1017 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1018 eval enable_
$ac_feature=no
;;
1020 -docdir |
--docdir |
--docdi |
--doc |
--do)
1022 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1023 docdir
=$ac_optarg ;;
1025 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1027 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1028 dvidir
=$ac_optarg ;;
1030 -enable-* |
--enable-*)
1031 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1034 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1035 { (exit 1); exit 1; }; }
1036 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1037 eval enable_
$ac_feature=\
$ac_optarg ;;
1039 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1040 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1041 |
--exec |
--exe |
--ex)
1042 ac_prev
=exec_prefix
;;
1043 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1044 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1045 |
--exec=* |
--exe=* |
--ex=*)
1046 exec_prefix
=$ac_optarg ;;
1048 -gas |
--gas |
--ga |
--g)
1049 # Obsolete; use --with-gas.
1052 -help |
--help |
--hel |
--he |
-h)
1053 ac_init_help
=long
;;
1054 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1055 ac_init_help
=recursive
;;
1056 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1057 ac_init_help
=short
;;
1059 -host |
--host |
--hos |
--ho)
1060 ac_prev
=host_alias
;;
1061 -host=* |
--host=* |
--hos=* |
--ho=*)
1062 host_alias
=$ac_optarg ;;
1064 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1066 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1068 htmldir
=$ac_optarg ;;
1070 -includedir |
--includedir |
--includedi |
--included |
--include \
1071 |
--includ |
--inclu |
--incl |
--inc)
1072 ac_prev
=includedir
;;
1073 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1074 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1075 includedir
=$ac_optarg ;;
1077 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1079 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1080 infodir
=$ac_optarg ;;
1082 -libdir |
--libdir |
--libdi |
--libd)
1084 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1085 libdir
=$ac_optarg ;;
1087 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1088 |
--libexe |
--libex |
--libe)
1089 ac_prev
=libexecdir
;;
1090 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1091 |
--libexe=* |
--libex=* |
--libe=*)
1092 libexecdir
=$ac_optarg ;;
1094 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1095 ac_prev
=localedir
;;
1096 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1097 localedir
=$ac_optarg ;;
1099 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1100 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1101 ac_prev
=localstatedir
;;
1102 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1103 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1104 localstatedir
=$ac_optarg ;;
1106 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1108 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1109 mandir
=$ac_optarg ;;
1111 -nfp |
--nfp |
--nf)
1112 # Obsolete; use --without-fp.
1115 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1116 |
--no-cr |
--no-c |
-n)
1119 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1120 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1123 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1124 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1125 |
--oldin |
--oldi |
--old |
--ol |
--o)
1126 ac_prev
=oldincludedir
;;
1127 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1128 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1129 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1130 oldincludedir
=$ac_optarg ;;
1132 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1134 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1135 prefix
=$ac_optarg ;;
1137 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1138 |
--program-pre |
--program-pr |
--program-p)
1139 ac_prev
=program_prefix
;;
1140 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1141 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1142 program_prefix
=$ac_optarg ;;
1144 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1145 |
--program-suf |
--program-su |
--program-s)
1146 ac_prev
=program_suffix
;;
1147 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1148 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1149 program_suffix
=$ac_optarg ;;
1151 -program-transform-name |
--program-transform-name \
1152 |
--program-transform-nam |
--program-transform-na \
1153 |
--program-transform-n |
--program-transform- \
1154 |
--program-transform |
--program-transfor \
1155 |
--program-transfo |
--program-transf \
1156 |
--program-trans |
--program-tran \
1157 |
--progr-tra |
--program-tr |
--program-t)
1158 ac_prev
=program_transform_name
;;
1159 -program-transform-name=* |
--program-transform-name=* \
1160 |
--program-transform-nam=* |
--program-transform-na=* \
1161 |
--program-transform-n=* |
--program-transform-=* \
1162 |
--program-transform=* |
--program-transfor=* \
1163 |
--program-transfo=* |
--program-transf=* \
1164 |
--program-trans=* |
--program-tran=* \
1165 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1166 program_transform_name
=$ac_optarg ;;
1168 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1170 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1171 pdfdir
=$ac_optarg ;;
1173 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1175 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1178 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1179 |
-silent |
--silent |
--silen |
--sile |
--sil)
1182 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1184 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1186 sbindir
=$ac_optarg ;;
1188 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1189 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1190 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1192 ac_prev
=sharedstatedir
;;
1193 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1194 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1195 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1197 sharedstatedir
=$ac_optarg ;;
1199 -site |
--site |
--sit)
1201 -site=* |
--site=* |
--sit=*)
1204 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1206 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1207 srcdir
=$ac_optarg ;;
1209 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1210 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1211 ac_prev
=sysconfdir
;;
1212 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1213 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1214 sysconfdir
=$ac_optarg ;;
1216 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1217 ac_prev
=target_alias
;;
1218 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1219 target_alias
=$ac_optarg ;;
1221 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1224 -version |
--version |
--versio |
--versi |
--vers |
-V)
1225 ac_init_version
=: ;;
1228 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1231 { echo "$as_me: error: invalid package name: $ac_package" >&2
1232 { (exit 1); exit 1; }; }
1233 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1234 eval with_
$ac_package=\
$ac_optarg ;;
1236 -without-* |
--without-*)
1237 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1240 { echo "$as_me: error: invalid package name: $ac_package" >&2
1241 { (exit 1); exit 1; }; }
1242 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1243 eval with_
$ac_package=no
;;
1246 # Obsolete; use --with-x.
1249 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1250 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1251 ac_prev
=x_includes
;;
1252 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1253 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1254 x_includes
=$ac_optarg ;;
1256 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1257 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1258 ac_prev
=x_libraries
;;
1259 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1260 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1261 x_libraries
=$ac_optarg ;;
1263 -*) { echo "$as_me: error: unrecognized option: $ac_option
1264 Try \`$0 --help' for more information." >&2
1265 { (exit 1); exit 1; }; }
1269 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1270 # Reject names that are not valid shell variable names.
1271 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1272 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1273 { (exit 1); exit 1; }; }
1274 eval $ac_envvar=\
$ac_optarg
1275 export $ac_envvar ;;
1278 # FIXME: should be removed in autoconf 3.0.
1279 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1280 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1281 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1282 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1288 if test -n "$ac_prev"; then
1289 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1290 { echo "$as_me: error: missing argument to $ac_option" >&2
1291 { (exit 1); exit 1; }; }
1294 # Be sure to have absolute directory names.
1295 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1296 datadir sysconfdir sharedstatedir localstatedir includedir \
1297 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1298 libdir localedir mandir
1300 eval ac_val
=\$
$ac_var
1302 [\\/$
]* | ?
:[\\/]* ) continue;;
1303 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1305 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1306 { (exit 1); exit 1; }; }
1309 # There might be people who depend on the old broken behavior: `$host'
1310 # used to hold the argument of --host etc.
1311 # FIXME: To remove some day.
1314 target
=$target_alias
1316 # FIXME: To remove some day.
1317 if test "x$host_alias" != x
; then
1318 if test "x$build_alias" = x
; then
1319 cross_compiling
=maybe
1320 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1321 If a cross compiler is detected then cross compile mode will be used." >&2
1322 elif test "x$build_alias" != "x$host_alias"; then
1328 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1330 test "$silent" = yes && exec 6>/dev
/null
1333 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1334 ac_ls_di
=`ls -di .` &&
1335 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1336 { echo "$as_me: error: Working directory cannot be determined" >&2
1337 { (exit 1); exit 1; }; }
1338 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1339 { echo "$as_me: error: pwd does not report name of working directory" >&2
1340 { (exit 1); exit 1; }; }
1343 # Find the source files, if location was not specified.
1344 if test -z "$srcdir"; then
1345 ac_srcdir_defaulted
=yes
1346 # Try the directory containing this script, then the parent directory.
1347 ac_confdir
=`$as_dirname -- "$0" ||
1348 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1349 X"$0" : 'X\(//\)[^/]' \| \
1350 X"$0" : 'X\(//\)$' \| \
1351 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1375 ac_srcdir_defaulted
=no
1377 if test ! -r "$srcdir/$ac_unique_file"; then
1378 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1379 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1380 { (exit 1); exit 1; }; }
1382 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1384 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1385 { (exit 1); exit 1; }; }
1387 # When building in place, set srcdir=.
1388 if test "$ac_abs_confdir" = "$ac_pwd"; then
1391 # Remove unnecessary trailing slashes from srcdir.
1392 # Double slashes in file names in object file debugging info
1393 # mess up M-x gdb in Emacs.
1395 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1397 for ac_var
in $ac_precious_vars; do
1398 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1399 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1400 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1401 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1405 # Report the --help message.
1407 if test "$ac_init_help" = "long"; then
1408 # Omit some internal or obsolete options to make the list less imposing.
1409 # This message is too long to be a string in the A/UX 3.1 sh.
1411 \`configure' configures Barry OpenSync Plugin 0.2 to adapt to many kinds of systems.
1413 Usage: $0 [OPTION]... [VAR=VALUE]...
1415 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1416 VAR=VALUE. See below for descriptions of some of the useful variables.
1418 Defaults for the options are specified in brackets.
1421 -h, --help display this help and exit
1422 --help=short display options specific to this package
1423 --help=recursive display the short help of all the included packages
1424 -V, --version display version information and exit
1425 -q, --quiet, --silent do not print \`checking...' messages
1426 --cache-file=FILE cache test results in FILE [disabled]
1427 -C, --config-cache alias for \`--cache-file=config.cache'
1428 -n, --no-create do not create output files
1429 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1431 Installation directories:
1432 --prefix=PREFIX install architecture-independent files in PREFIX
1433 [$ac_default_prefix]
1434 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1437 By default, \`make install' will install all the files in
1438 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1439 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1440 for instance \`--prefix=\$HOME'.
1442 For better control, use the options below.
1444 Fine tuning of the installation directories:
1445 --bindir=DIR user executables [EPREFIX/bin]
1446 --sbindir=DIR system admin executables [EPREFIX/sbin]
1447 --libexecdir=DIR program executables [EPREFIX/libexec]
1448 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1449 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1450 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1451 --libdir=DIR object code libraries [EPREFIX/lib]
1452 --includedir=DIR C header files [PREFIX/include]
1453 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1454 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1455 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1456 --infodir=DIR info documentation [DATAROOTDIR/info]
1457 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1458 --mandir=DIR man documentation [DATAROOTDIR/man]
1459 --docdir=DIR documentation root [DATAROOTDIR/doc/barryplugin]
1460 --htmldir=DIR html documentation [DOCDIR]
1461 --dvidir=DIR dvi documentation [DOCDIR]
1462 --pdfdir=DIR pdf documentation [DOCDIR]
1463 --psdir=DIR ps documentation [DOCDIR]
1469 --program-prefix=PREFIX prepend PREFIX to installed program names
1470 --program-suffix=SUFFIX append SUFFIX to installed program names
1471 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1474 --build=BUILD configure
for building on BUILD
[guessed
]
1475 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1479 if test -n "$ac_init_help"; then
1480 case $ac_init_help in
1481 short | recursive
) echo "Configuration of Barry OpenSync Plugin 0.2:";;
1486 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1487 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1488 --disable-dependency-tracking speeds up one-time build
1489 --enable-dependency-tracking do not reject slow dependency extractors
1490 --enable-static[=PKGS
] build static libraries
[default
=no
]
1491 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1492 --enable-fast-install[=PKGS
]
1493 optimize
for fast installation
[default
=yes]
1494 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1497 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1498 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1499 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1500 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1502 --with-tags[=TAGS
] include additional configurations
[automatic
]
1504 Some influential environment variables
:
1505 PKG_CONFIG path to pkg-config utility
1507 C compiler flags
for PACKAGE
, overriding pkg-config
1509 linker flags
for PACKAGE
, overriding pkg-config
1510 CC C compiler
command
1511 CFLAGS C compiler flags
1512 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1513 nonstandard directory
<lib dir
>
1514 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1515 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1516 you have headers
in a nonstandard directory
<include dir
>
1518 CXX C
++ compiler
command
1519 CXXFLAGS C
++ compiler flags
1520 CXXCPP C
++ preprocessor
1521 F77 Fortran
77 compiler
command
1522 FFLAGS Fortran
77 compiler flags
1524 C compiler flags
for BARRY
, overriding pkg-config
1525 BARRY_LIBS linker flags
for BARRY
, overriding pkg-config
1527 Use these variables to override the choices made by
`configure' or to help
1528 it to find libraries and programs with nonstandard names/locations.
1534 if test "$ac_init_help" = "recursive"; then
1535 # If there are subdirs, report their specific --help.
1536 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1537 test -d "$ac_dir" || continue
1541 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1543 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1544 # A ".." for each directory in $ac_dir_suffix.
1545 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1546 case $ac_top_builddir_sub in
1547 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1551 ac_abs_top_builddir=$ac_pwd
1552 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1553 # for backward compatibility:
1554 ac_top_builddir=$ac_top_build_prefix
1557 .) # We are building in place.
1559 ac_top_srcdir=$ac_top_builddir_sub
1560 ac_abs_top_srcdir=$ac_pwd ;;
1561 [\\/]* | ?:[\\/]* ) # Absolute name.
1562 ac_srcdir=$srcdir$ac_dir_suffix;
1563 ac_top_srcdir=$srcdir
1564 ac_abs_top_srcdir=$srcdir ;;
1566 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1567 ac_top_srcdir=$ac_top_build_prefix$srcdir
1568 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1570 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1572 cd "$ac_dir" || { ac_status=$?; continue; }
1573 # Check for guested configure.
1574 if test -f "$ac_srcdir/configure.gnu"; then
1576 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1577 elif test -f "$ac_srcdir/configure"; then
1579 $SHELL "$ac_srcdir/configure" --help=recursive
1581 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1583 cd "$ac_pwd" || { ac_status=$?; break; }
1587 test -n "$ac_init_help" && exit $ac_status
1588 if $ac_init_version; then
1590 Barry OpenSync Plugin configure 0.2
1591 generated by GNU Autoconf 2.61
1593 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1594 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1595 This configure script is free software; the Free Software Foundation
1596 gives unlimited permission to copy, distribute and modify it.
1600 cat >config.log <<_ACEOF
1601 This file contains any messages produced by compilers while
1602 running configure, to aid debugging if configure makes a mistake.
1604 It was created by Barry OpenSync Plugin $as_me 0.2, which was
1605 generated by GNU Autoconf 2.61. Invocation command line was
1617 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1618 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1619 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1620 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1621 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1623 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1624 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1626 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1627 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1628 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1629 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1630 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1631 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1632 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1640 test -z "$as_dir" && as_dir=.
1641 echo "PATH: $as_dir"
1657 # Keep a trace of the command line.
1658 # Strip out --no-create and --no-recursion so they do not pile up.
1659 # Strip out --silent because we don't want to record it for future runs.
1660 # Also quote any args containing shell meta-characters.
1661 # Make two passes to allow for proper duplicate-argument suppression.
1665 ac_must_keep_next=false
1671 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1672 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1673 | -silent | --silent | --silen | --sile | --sil)
1676 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1679 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1681 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1682 if test $ac_must_keep_next = true; then
1683 ac_must_keep_next=false # Got value, back to normal.
1686 *=* | --config-cache | -C | -disable-* | --disable-* \
1687 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1688 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1689 | -with-* | --with-* | -without-* | --without-* | --x)
1690 case "$ac_configure_args0 " in
1691 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1694 -* ) ac_must_keep_next=true ;;
1697 ac_configure_args="$ac_configure_args '$ac_arg'"
1702 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1703 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1705 # When interrupted or exit'd, cleanup temporary files, and complete
1706 # config.log. We remove comments because anyway the quotes in there
1707 # would cause problems or look ugly.
1708 # WARNING: Use '\'' to represent an apostrophe within the trap.
1709 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1710 trap 'exit_status=$?
1711 # Save into config.log some information that might help in debugging.
1716 ## ---------------- ##
1717 ## Cache variables. ##
1718 ## ---------------- ##
1721 # The following way of writing the cache mishandles newlines in values,
1723 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1724 eval ac_val=\$$ac_var
1728 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1729 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1732 _ | IFS | as_nl) ;; #(
1733 *) $as_unset $ac_var ;;
1738 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1739 *${as_nl}ac_space=\ *)
1741 "s/'\''/'\''\\\\'\'''\''/g;
1742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1745 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1753 ## ----------------- ##
1754 ## Output variables. ##
1755 ## ----------------- ##
1758 for ac_var in $ac_subst_vars
1760 eval ac_val=\$$ac_var
1762 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1764 echo "$ac_var='\''$ac_val'\''"
1768 if test -n "$ac_subst_files"; then
1770 ## ------------------- ##
1771 ## File substitutions. ##
1772 ## ------------------- ##
1775 for ac_var in $ac_subst_files
1777 eval ac_val=\$$ac_var
1779 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1781 echo "$ac_var='\''$ac_val'\''"
1786 if test -s confdefs.h; then
1796 test "$ac_signal" != 0 &&
1797 echo "$as_me: caught signal $ac_signal"
1798 echo "$as_me: exit $exit_status"
1800 rm -f core *.core core.conftest.* &&
1801 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1804 for ac_signal in 1 2 13 15; do
1805 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1809 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1810 rm -f -r conftest* confdefs.h
1812 # Predefined preprocessor variables.
1814 cat >>confdefs.h <<_ACEOF
1815 #define PACKAGE_NAME "$PACKAGE_NAME"
1819 cat >>confdefs.h <<_ACEOF
1820 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1824 cat >>confdefs.h <<_ACEOF
1825 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1829 cat >>confdefs.h <<_ACEOF
1830 #define PACKAGE_STRING "$PACKAGE_STRING"
1834 cat >>confdefs.h <<_ACEOF
1835 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1839 # Let the site file select an alternate cache file if it wants to.
1840 # Prefer explicitly selected file to automatically selected ones.
1841 if test -n "$CONFIG_SITE"; then
1842 set x "$CONFIG_SITE"
1843 elif test "x$prefix" != xNONE; then
1844 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1846 set x "$ac_default_prefix/share/config.site" \
1847 "$ac_default_prefix/etc/config.site"
1852 if test -r "$ac_site_file"; then
1853 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1854 echo "$as_me: loading site script $ac_site_file" >&6;}
1855 sed 's/^/| /' "$ac_site_file" >&5
1860 if test -r "$cache_file"; then
1861 # Some versions of bash will fail to source /dev/null (special
1862 # files actually), so we avoid doing that.
1863 if test -f "$cache_file"; then
1864 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1865 echo "$as_me: loading cache $cache_file" >&6;}
1867 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1868 *) . "./$cache_file";;
1872 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1873 echo "$as_me: creating cache $cache_file" >&6;}
1877 # Check that the precious variables saved in the cache have kept the same
1879 ac_cache_corrupted=false
1880 for ac_var in $ac_precious_vars; do
1881 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1882 eval ac_new_set=\$ac_env_${ac_var}_set
1883 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1884 eval ac_new_val=\$ac_env_${ac_var}_value
1885 case $ac_old_set,$ac_new_set in
1887 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1888 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1889 ac_cache_corrupted=: ;;
1891 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1892 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1893 ac_cache_corrupted=: ;;
1896 if test "x$ac_old_val" != "x$ac_new_val"; then
1897 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1898 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1899 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1900 echo "$as_me: former value
: $ac_old_val" >&2;}
1901 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1902 echo "$as_me: current value
: $ac_new_val" >&2;}
1903 ac_cache_corrupted=:
1906 # Pass precious variables to config.status.
1907 if test "$ac_new_set" = set; then
1909 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1910 *) ac_arg=$ac_var=$ac_new_val ;;
1912 case " $ac_configure_args " in
1913 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1914 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1918 if $ac_cache_corrupted; then
1919 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1920 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1921 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1922 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1923 { (exit 1); exit 1; }; }
1951 ac_cpp='$CPP $CPPFLAGS'
1952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1958 ac_config_headers="$ac_config_headers config.h"
1961 for ac_dir in .. "$srcdir"/..; do
1962 if test -f "$ac_dir/install-sh"; then
1964 ac_install_sh="$ac_aux_dir/install-sh -c"
1966 elif test -f "$ac_dir/install.sh"; then
1968 ac_install_sh="$ac_aux_dir/install.sh -c"
1970 elif test -f "$ac_dir/shtool"; then
1972 ac_install_sh="$ac_aux_dir/shtool install -c"
1976 if test -z "$ac_aux_dir"; then
1977 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. \"$srcdir\"/.." >&5
1978 echo "$as_me: error: cannot find install-sh or install.sh in .. \"$srcdir\"/.." >&2;}
1979 { (exit 1); exit 1; }; }
1982 # These three variables are undocumented and unsupported,
1983 # and are intended to be withdrawn in a future Autoconf release.
1984 # They can cause serious problems if a builder's source tree is in a directory
1985 # whose full name contains unusual characters.
1986 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1987 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1988 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1992 am__api_version="1.9"
1993 # Find a good install program. We prefer a C program (faster),
1994 # so one script is as good as another. But avoid the broken or
1995 # incompatible versions:
1996 # SysV /etc/install, /usr/sbin/install
1997 # SunOS /usr/etc/install
1998 # IRIX /sbin/install
2000 # AmigaOS /C/install, which installs bootblocks on floppy discs
2001 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2002 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2003 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2004 # OS/2's system install, which has a completely different semantic
2005 # ./install, which can be erroneously created by make from ./install.sh.
2006 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2007 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2008 if test -z "$INSTALL"; then
2009 if test "${ac_cv_path_install+set}" = set; then
2010 echo $ECHO_N "(cached) $ECHO_C" >&6
2012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016 test -z "$as_dir" && as_dir=.
2017 # Account for people who put trailing slashes in PATH elements.
2019 ./ | .// | /cC/* | \
2020 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2021 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2024 # OSF1 and SCO ODT 3.0 have their own names for install.
2025 # Don't use installbsd from OSF since it installs stuff as root
2027 for ac_prog in ginstall scoinst install; do
2028 for ac_exec_ext in '' $ac_executable_extensions; do
2029 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2030 if test $ac_prog = install &&
2031 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2032 # AIX install. It has an incompatible calling convention.
2034 elif test $ac_prog = install &&
2035 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2036 # program-specific install script used by HP pwplus--don't use.
2039 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2052 if test "${ac_cv_path_install+set}" = set; then
2053 INSTALL=$ac_cv_path_install
2055 # As a last resort, use the slow shell script. Don't cache a
2056 # value for INSTALL within a source directory, because that will
2057 # break other packages using the cache if that directory is
2058 # removed, or if the value is a relative name.
2059 INSTALL=$ac_install_sh
2062 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2063 echo "${ECHO_T}$INSTALL" >&6; }
2065 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2066 # It thinks the first close brace ends the variable substitution.
2067 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2069 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2071 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2073 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2074 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2077 echo timestamp > conftest.file
2078 # Do `set' in a subshell so we don't clobber the current shell
's
2079 # arguments. Must try -L first in case configure is actually a
2080 # symlink; some systems play weird games with the mod time of symlinks
2081 # (eg FreeBSD returns the mod time of the symlink's containing
2084 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2085 if test "$*" = "X"; then
2087 set X
`ls -t $srcdir/configure conftest.file`
2090 if test "$*" != "X $srcdir/configure conftest.file" \
2091 && test "$*" != "X conftest.file $srcdir/configure"; then
2093 # If neither matched, then we have a broken ls. This can happen
2094 # if, for instance, CONFIG_SHELL is bash and it inherits a
2095 # broken ls alias from the environment. This has actually
2096 # happened. Such a system could not be considered "sane".
2097 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2098 alias in your environment" >&5
2099 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2100 alias in your environment" >&2;}
2101 { (exit 1); exit 1; }; }
2104 test "$2" = conftest.
file
2110 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2111 Check your system clock" >&5
2112 echo "$as_me: error: newly created file is older than distributed files!
2113 Check your system clock" >&2;}
2114 { (exit 1); exit 1; }; }
2116 { echo "$as_me:$LINENO: result: yes" >&5
2117 echo "${ECHO_T}yes" >&6; }
2118 test "$program_prefix" != NONE
&&
2119 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2120 # Use a double $ so make ignores it.
2121 test "$program_suffix" != NONE
&&
2122 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2123 # Double any \ or $. echo might interpret backslashes.
2124 # By default was `s,x,x', remove it if useless.
2125 cat <<\_ACEOF
>conftest.
sed
2126 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2128 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2131 # expand $ac_aux_dir to an absolute path
2132 am_aux_dir
=`cd $ac_aux_dir && pwd`
2134 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2135 # Use eval to expand $SHELL
2136 if eval "$MISSING --run true"; then
2137 am_missing_run
="$MISSING --run "
2140 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2141 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2144 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2145 # We used to keeping the `.' as first argument, in order to
2146 # allow $(mkdir_p) to be used without argument. As in
2147 # $(mkdir_p) $(somedir)
2148 # where $(somedir) is conditionally defined. However this is wrong
2150 # 1. if the package is installed by a user who cannot write `.'
2151 # make install will fail,
2152 # 2. the above comment should most certainly read
2153 # $(mkdir_p) $(DESTDIR)$(somedir)
2154 # so it does not work when $(somedir) is undefined and
2155 # $(DESTDIR) is not.
2156 # To support the latter case, we have to write
2157 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2158 # so the `.' trick is pointless.
2159 mkdir_p
='mkdir -p --'
2161 # On NextStep and OpenStep, the `mkdir' command does not
2162 # recognize any option. It will interpret all options as
2163 # directories to create, and then abort because `.' already
2165 for d
in .
/-p .
/--version;
2167 test -d $d && rmdir $d
2169 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2170 if test -f "$ac_aux_dir/mkinstalldirs"; then
2171 mkdir_p
='$(mkinstalldirs)'
2173 mkdir_p
='$(install_sh) -d'
2177 for ac_prog
in gawk mawk nawk
awk
2179 # Extract the first word of "$ac_prog", so it can be a program name with args.
2180 set dummy
$ac_prog; ac_word
=$2
2181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2183 if test "${ac_cv_prog_AWK+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2186 if test -n "$AWK"; then
2187 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2193 test -z "$as_dir" && as_dir
=.
2194 for ac_exec_ext
in '' $ac_executable_extensions; do
2195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2196 ac_cv_prog_AWK
="$ac_prog"
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 if test -n "$AWK"; then
2208 { echo "$as_me:$LINENO: result: $AWK" >&5
2209 echo "${ECHO_T}$AWK" >&6; }
2211 { echo "$as_me:$LINENO: result: no" >&5
2212 echo "${ECHO_T}no" >&6; }
2216 test -n "$AWK" && break
2219 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2220 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2221 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2222 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 cat >conftest.
make <<\_ACEOF
2228 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2230 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2231 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2233 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2235 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2239 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2240 { echo "$as_me:$LINENO: result: yes" >&5
2241 echo "${ECHO_T}yes" >&6; }
2244 { echo "$as_me:$LINENO: result: no" >&5
2245 echo "${ECHO_T}no" >&6; }
2246 SET_MAKE
="MAKE=${MAKE-make}"
2249 rm -rf .tst
2>/dev
/null
2250 mkdir .tst
2>/dev
/null
2251 if test -d .tst
; then
2256 rmdir .tst
2>/dev
/null
2258 # test to see if srcdir already configured
2259 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2260 test -f $srcdir/config.status
; then
2261 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2262 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2263 { (exit 1); exit 1; }; }
2266 # test whether we have cygpath
2267 if test -z "$CYGPATH_W"; then
2268 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2269 CYGPATH_W
='cygpath -w'
2276 # Define the identity of the package.
2277 PACKAGE
='barryplugin'
2281 cat >>confdefs.h
<<_ACEOF
2282 #define PACKAGE "$PACKAGE"
2286 cat >>confdefs.h
<<_ACEOF
2287 #define VERSION "$VERSION"
2290 # Some tools Automake needs.
2292 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2295 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2298 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2301 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2304 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2306 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2308 # Installed binaries are usually stripped using `strip' when the user
2309 # run `make install-strip'. However `strip' might not be the right
2310 # tool to use in cross-compilation environments, therefore Automake
2311 # will honor the `STRIP' environment variable to overrule this program.
2312 if test "$cross_compiling" != no
; then
2313 if test -n "$ac_tool_prefix"; then
2314 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2315 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2318 if test "${ac_cv_prog_STRIP+set}" = set; then
2319 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 if test -n "$STRIP"; then
2322 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir
=.
2329 for ac_exec_ext
in '' $ac_executable_extensions; do
2330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2331 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 STRIP
=$ac_cv_prog_STRIP
2342 if test -n "$STRIP"; then
2343 { echo "$as_me:$LINENO: result: $STRIP" >&5
2344 echo "${ECHO_T}$STRIP" >&6; }
2346 { echo "$as_me:$LINENO: result: no" >&5
2347 echo "${ECHO_T}no" >&6; }
2352 if test -z "$ac_cv_prog_STRIP"; then
2354 # Extract the first word of "strip", so it can be a program name with args.
2355 set dummy strip
; ac_word
=$2
2356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2358 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 if test -n "$ac_ct_STRIP"; then
2362 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir
=.
2369 for ac_exec_ext
in '' $ac_executable_extensions; do
2370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2371 ac_cv_prog_ac_ct_STRIP
="strip"
2372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2382 if test -n "$ac_ct_STRIP"; then
2383 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2384 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2386 { echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6; }
2390 if test "x$ac_ct_STRIP" = x
; then
2393 case $cross_compiling:$ac_tool_warned in
2395 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2396 whose name does not start with the host triplet. If you think this
2397 configuration is useful to you, please write to autoconf@gnu.org." >&5
2398 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2399 whose name does not start with the host triplet. If you think this
2400 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2401 ac_tool_warned
=yes ;;
2406 STRIP
="$ac_cv_prog_STRIP"
2410 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2412 # We need awk for the "check" target. The system "awk" is bad on
2414 # Always define AMTAR for backward compatibility.
2416 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2418 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2425 pkg_modules
="opensync-1.0 glib-2.0"
2428 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2429 if test -n "$ac_tool_prefix"; then
2430 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2431 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
2432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2434 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
2442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2446 test -z "$as_dir" && as_dir
=.
2447 for ac_exec_ext
in '' $ac_executable_extensions; do
2448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2449 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
2461 if test -n "$PKG_CONFIG"; then
2462 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2463 echo "${ECHO_T}$PKG_CONFIG" >&6; }
2465 { echo "$as_me:$LINENO: result: no" >&5
2466 echo "${ECHO_T}no" >&6; }
2471 if test -z "$ac_cv_path_PKG_CONFIG"; then
2472 ac_pt_PKG_CONFIG
=$PKG_CONFIG
2473 # Extract the first word of "pkg-config", so it can be a program name with args.
2474 set dummy pkg-config
; ac_word
=$2
2475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2477 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 case $ac_pt_PKG_CONFIG in
2482 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir
=.
2490 for ac_exec_ext
in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
2504 if test -n "$ac_pt_PKG_CONFIG"; then
2505 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2506 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
2508 { echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6; }
2512 if test "x$ac_pt_PKG_CONFIG" = x
; then
2515 case $cross_compiling:$ac_tool_warned in
2517 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2518 whose name does not start with the host triplet. If you think this
2519 configuration is useful to you, please write to autoconf@gnu.org." >&5
2520 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2521 whose name does not start with the host triplet. If you think this
2522 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2523 ac_tool_warned
=yes ;;
2525 PKG_CONFIG
=$ac_pt_PKG_CONFIG
2528 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
2532 if test -n "$PKG_CONFIG"; then
2533 _pkg_min_version
=0.9.0
2534 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2535 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
2536 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2537 { echo "$as_me:$LINENO: result: yes" >&5
2538 echo "${ECHO_T}yes" >&6; }
2540 { echo "$as_me:$LINENO: result: no" >&5
2541 echo "${ECHO_T}no" >&6; }
2548 { echo "$as_me:$LINENO: checking for PACKAGE" >&5
2549 echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6; }
2551 if test -n "$PKG_CONFIG"; then
2552 if test -n "$PACKAGE_CFLAGS"; then
2553 pkg_cv_PACKAGE_CFLAGS
="$PACKAGE_CFLAGS"
2555 if test -n "$PKG_CONFIG" && \
2556 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
2557 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); }; then
2561 pkg_cv_PACKAGE_CFLAGS
=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
2569 if test -n "$PKG_CONFIG"; then
2570 if test -n "$PACKAGE_LIBS"; then
2571 pkg_cv_PACKAGE_LIBS
="$PACKAGE_LIBS"
2573 if test -n "$PKG_CONFIG" && \
2574 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
2575 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; then
2579 pkg_cv_PACKAGE_LIBS
=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
2590 if test $pkg_failed = yes; then
2592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2593 _pkg_short_errors_supported
=yes
2595 _pkg_short_errors_supported
=no
2597 if test $_pkg_short_errors_supported = yes; then
2598 PACKAGE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_modules"`
2600 PACKAGE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
2602 # Put the nasty error message in config.log where it belongs
2603 echo "$PACKAGE_PKG_ERRORS" >&5
2605 { { echo "$as_me:$LINENO: error: Package requirements ($pkg_modules) were not met:
2609 Consider adjusting the PKG_CONFIG_PATH environment variable if you
2610 installed software in a non-standard prefix.
2612 Alternatively, you may set the environment variables PACKAGE_CFLAGS
2613 and PACKAGE_LIBS to avoid the need to call pkg-config.
2614 See the pkg-config man page for more details.
2616 echo "$as_me: error: Package requirements ($pkg_modules) were not met:
2620 Consider adjusting the PKG_CONFIG_PATH environment variable if you
2621 installed software in a non-standard prefix.
2623 Alternatively, you may set the environment variables PACKAGE_CFLAGS
2624 and PACKAGE_LIBS to avoid the need to call pkg-config.
2625 See the pkg-config man page for more details.
2627 { (exit 1); exit 1; }; }
2628 elif test $pkg_failed = untried
; then
2629 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
2630 is in your PATH or set the PKG_CONFIG environment variable to the full
2633 Alternatively, you may set the environment variables PACKAGE_CFLAGS
2634 and PACKAGE_LIBS to avoid the need to call pkg-config.
2635 See the pkg-config man page for more details.
2637 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
2638 See \`config.log' for more details." >&5
2639 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
2640 is in your PATH or set the PKG_CONFIG environment variable to the full
2643 Alternatively, you may set the environment variables PACKAGE_CFLAGS
2644 and PACKAGE_LIBS to avoid the need to call pkg-config.
2645 See the pkg-config man page for more details.
2647 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
2648 See \`config.log' for more details." >&2;}
2649 { (exit 1); exit 1; }; }
2651 PACKAGE_CFLAGS
=$pkg_cv_PACKAGE_CFLAGS
2652 PACKAGE_LIBS
=$pkg_cv_PACKAGE_LIBS
2653 { echo "$as_me:$LINENO: result: yes" >&5
2654 echo "${ECHO_T}yes" >&6; }
2660 DEPDIR
="${am__leading_dot}deps"
2662 ac_config_commands
="$ac_config_commands depfiles"
2665 am_make
=${MAKE-make}
2666 cat > confinc
<< 'END'
2671 # If we don't find an include directive, just comment out the code.
2672 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2673 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2677 # First try GNU make style include.
2678 echo "include confinc" > confmf
2679 # We grep out `Entering directory' and `Leaving directory'
2680 # messages which can occur if `w' ends up in MAKEFLAGS.
2681 # In particular we don't look at `^make:' because GNU make might
2682 # be invoked under some other name (usually "gmake"), in which
2683 # case it prints its new name instead of `make'.
2684 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2689 # Now try BSD make style include.
2690 if test "$am__include" = "#"; then
2691 echo '.include "confinc"' > confmf
2692 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2693 am__include
=.include
2700 { echo "$as_me:$LINENO: result: $_am_result" >&5
2701 echo "${ECHO_T}$_am_result" >&6; }
2702 rm -f confinc confmf
2704 # Check whether --enable-dependency-tracking was given.
2705 if test "${enable_dependency_tracking+set}" = set; then
2706 enableval
=$enable_dependency_tracking;
2709 if test "x$enable_dependency_tracking" != xno
; then
2710 am_depcomp
="$ac_aux_dir/depcomp"
2715 if test "x$enable_dependency_tracking" != xno; then
2726 ac_cpp
='$CPP $CPPFLAGS'
2727 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2728 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2730 if test -n "$ac_tool_prefix"; then
2731 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2732 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2735 if test "${ac_cv_prog_CC+set}" = set; then
2736 echo $ECHO_N "(cached) $ECHO_C" >&6
2738 if test -n "$CC"; then
2739 ac_cv_prog_CC
="$CC" # Let the user override the test.
2741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir
=.
2746 for ac_exec_ext
in '' $ac_executable_extensions; do
2747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 if test -n "$CC"; then
2760 { echo "$as_me:$LINENO: result: $CC" >&5
2761 echo "${ECHO_T}$CC" >&6; }
2763 { echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6; }
2769 if test -z "$ac_cv_prog_CC"; then
2771 # Extract the first word of "gcc", so it can be a program name with args.
2772 set dummy gcc
; ac_word
=$2
2773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2775 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2778 if test -n "$ac_ct_CC"; then
2779 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir
=.
2786 for ac_exec_ext
in '' $ac_executable_extensions; do
2787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2788 ac_cv_prog_ac_ct_CC
="gcc"
2789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2799 if test -n "$ac_ct_CC"; then
2800 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2801 echo "${ECHO_T}$ac_ct_CC" >&6; }
2803 { echo "$as_me:$LINENO: result: no" >&5
2804 echo "${ECHO_T}no" >&6; }
2807 if test "x$ac_ct_CC" = x
; then
2810 case $cross_compiling:$ac_tool_warned in
2812 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2813 whose name does not start with the host triplet. If you think this
2814 configuration is useful to you, please write to autoconf@gnu.org." >&5
2815 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2816 whose name does not start with the host triplet. If you think this
2817 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2818 ac_tool_warned
=yes ;;
2826 if test -z "$CC"; then
2827 if test -n "$ac_tool_prefix"; then
2828 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2829 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2832 if test "${ac_cv_prog_CC+set}" = set; then
2833 echo $ECHO_N "(cached) $ECHO_C" >&6
2835 if test -n "$CC"; then
2836 ac_cv_prog_CC
="$CC" # Let the user override the test.
2838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2842 test -z "$as_dir" && as_dir
=.
2843 for ac_exec_ext
in '' $ac_executable_extensions; do
2844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2845 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2856 if test -n "$CC"; then
2857 { echo "$as_me:$LINENO: result: $CC" >&5
2858 echo "${ECHO_T}$CC" >&6; }
2860 { echo "$as_me:$LINENO: result: no" >&5
2861 echo "${ECHO_T}no" >&6; }
2867 if test -z "$CC"; then
2868 # Extract the first word of "cc", so it can be a program name with args.
2869 set dummy cc
; ac_word
=$2
2870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2872 if test "${ac_cv_prog_CC+set}" = set; then
2873 echo $ECHO_N "(cached) $ECHO_C" >&6
2875 if test -n "$CC"; then
2876 ac_cv_prog_CC
="$CC" # Let the user override the test.
2879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2883 test -z "$as_dir" && as_dir
=.
2884 for ac_exec_ext
in '' $ac_executable_extensions; do
2885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2886 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2887 ac_prog_rejected
=yes
2891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 if test $ac_prog_rejected = yes; then
2899 # We found a bogon in the path, so make sure we never use it.
2900 set dummy
$ac_cv_prog_CC
2902 if test $# != 0; then
2903 # We chose a different compiler from the bogus one.
2904 # However, it has the same basename, so the bogon will be chosen
2905 # first if we set CC to just the basename; use the full file name.
2907 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2913 if test -n "$CC"; then
2914 { echo "$as_me:$LINENO: result: $CC" >&5
2915 echo "${ECHO_T}$CC" >&6; }
2917 { echo "$as_me:$LINENO: result: no" >&5
2918 echo "${ECHO_T}no" >&6; }
2923 if test -z "$CC"; then
2924 if test -n "$ac_tool_prefix"; then
2925 for ac_prog
in cl.exe
2927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2928 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2931 if test "${ac_cv_prog_CC+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 if test -n "$CC"; then
2935 ac_cv_prog_CC
="$CC" # Let the user override the test.
2937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2941 test -z "$as_dir" && as_dir
=.
2942 for ac_exec_ext
in '' $ac_executable_extensions; do
2943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2944 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2955 if test -n "$CC"; then
2956 { echo "$as_me:$LINENO: result: $CC" >&5
2957 echo "${ECHO_T}$CC" >&6; }
2959 { echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6; }
2964 test -n "$CC" && break
2967 if test -z "$CC"; then
2969 for ac_prog
in cl.exe
2971 # Extract the first word of "$ac_prog", so it can be a program name with args.
2972 set dummy
$ac_prog; ac_word
=$2
2973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2975 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2976 echo $ECHO_N "(cached) $ECHO_C" >&6
2978 if test -n "$ac_ct_CC"; then
2979 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir
=.
2986 for ac_exec_ext
in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988 ac_cv_prog_ac_ct_CC
="$ac_prog"
2989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2999 if test -n "$ac_ct_CC"; then
3000 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3001 echo "${ECHO_T}$ac_ct_CC" >&6; }
3003 { echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6; }
3008 test -n "$ac_ct_CC" && break
3011 if test "x$ac_ct_CC" = x
; then
3014 case $cross_compiling:$ac_tool_warned in
3016 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3017 whose name does not start with the host triplet. If you think this
3018 configuration is useful to you, please write to autoconf@gnu.org." >&5
3019 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3020 whose name does not start with the host triplet. If you think this
3021 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3022 ac_tool_warned
=yes ;;
3031 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3032 See \`config.log' for more details." >&5
3033 echo "$as_me: error: no acceptable C compiler found in \$PATH
3034 See \`config.log' for more details." >&2;}
3035 { (exit 1); exit 1; }; }
3037 # Provide some information about the compiler.
3038 echo "$as_me:$LINENO: checking for C compiler version" >&5
3039 ac_compiler
=`set X $ac_compile; echo $2`
3040 { (ac_try
="$ac_compiler --version >&5"
3042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3046 (eval "$ac_compiler --version >&5") 2>&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }
3050 { (ac_try="$ac_compiler -v >&5"
3052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3053 *) ac_try_echo
=$ac_try;;
3055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3056 (eval "$ac_compiler -v >&5") 2>&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); }
3060 { (ac_try
="$ac_compiler -V >&5"
3062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3066 (eval "$ac_compiler -V >&5") 2>&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); }
3071 cat >conftest.$ac_ext <<_ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3086 ac_clean_files_save=$ac_clean_files
3087 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3088 # Try to create an executable without -o first, disregard a.out.
3089 # It will help us diagnose broken compilers, and finding out an intuition
3091 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3092 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3093 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3095 # List of possible output files, starting from the most likely.
3096 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
3097 # only as a last resort. b.out is created by i960 compilers.
3098 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
3100 # The IRIX 6 linker writes into existing files which may not be
3101 # executable, retaining their permissions. Remove them first so a
3102 # subsequent execution test works.
3104 for ac_file in $ac_files
3107 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3108 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3113 if { (ac_try="$ac_link_default"
3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3119 (eval "$ac_link_default") 2>&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }; then
3123 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3124 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3125 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3126 # so that the user can short-circuit this test for compilers unknown to
3128 for ac_file
in $ac_files ''
3130 test -f "$ac_file" ||
continue
3132 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3135 # We found the default executable, but exeext='' is most
3139 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3141 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3143 # We set ac_cv_exeext here because the later test for it is not
3144 # safe: cross compilers may not add the suffix if given an `-o'
3145 # argument, so we may need to know it at that point already.
3146 # Even if this section looks crufty: it has the advantage of
3153 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3159 { echo "$as_me:$LINENO: result: $ac_file" >&5
3160 echo "${ECHO_T}$ac_file" >&6; }
3161 if test -z "$ac_file"; then
3162 echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.
$ac_ext >&5
3165 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3166 See \`config.log' for more details." >&5
3167 echo "$as_me: error: C compiler cannot create executables
3168 See \`config.log' for more details." >&2;}
3169 { (exit 77); exit 77; }; }
3172 ac_exeext
=$ac_cv_exeext
3174 # Check that the compiler produces executables we can run. If not, either
3175 # the compiler is broken, or we cross compile.
3176 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3177 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3178 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3179 # If not cross compiling, check that we can run a simple program.
3180 if test "$cross_compiling" != yes; then
3181 if { ac_try
='./$ac_file'
3182 { (case "(($ac_try" in
3183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3187 (eval "$ac_try") 2>&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; }; then
3193 if test "$cross_compiling" = maybe; then
3196 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3197 If you meant to cross compile, use \`--host'.
3198 See \`config.log' for more details.
" >&5
3199 echo "$as_me: error
: cannot run C compiled programs.
3200 If you meant to cross compile
, use \
`--host'.
3201 See \`config.log
' for more details." >&2;}
3202 { (exit 1); exit 1; }; }
3206 { echo "$as_me:$LINENO: result: yes" >&5
3207 echo "${ECHO_T}yes" >&6; }
3209 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3210 ac_clean_files=$ac_clean_files_save
3211 # Check that the compiler produces executables we can run. If not, either
3212 # the compiler is broken, or we cross compile.
3213 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3214 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3215 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3216 echo "${ECHO_T}$cross_compiling" >&6; }
3218 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3219 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3220 if { (ac_try="$ac_link"
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3226 (eval "$ac_link") 2>&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); }; then
3230 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3231 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3232 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3234 for ac_file
in conftest.exe conftest conftest.
*; do
3235 test -f "$ac_file" ||
continue
3237 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3238 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3244 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3245 See \`config.log' for more details." >&5
3246 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3247 See \`config.log' for more details." >&2;}
3248 { (exit 1); exit 1; }; }
3251 rm -f conftest
$ac_cv_exeext
3252 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3253 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3255 rm -f conftest.
$ac_ext
3256 EXEEXT
=$ac_cv_exeext
3258 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3259 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3260 if test "${ac_cv_objext+set}" = set; then
3261 echo $ECHO_N "(cached) $ECHO_C" >&6
3263 cat >conftest.
$ac_ext <<_ACEOF
3266 cat confdefs.h
>>conftest.
$ac_ext
3267 cat >>conftest.
$ac_ext <<_ACEOF
3268 /* end confdefs.h. */
3278 rm -f conftest.o conftest.obj
3279 if { (ac_try
="$ac_compile"
3281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3282 *) ac_try_echo=$ac_try;;
3284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3285 (eval "$ac_compile") 2>&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; then
3289 for ac_file in conftest.o conftest.obj conftest.*; do
3290 test -f "$ac_file" || continue;
3292 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3293 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3298 echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.$ac_ext >&5
3301 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3302 See \`config.log
' for more details." >&5
3303 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3304 See \`config.log' for more details.
" >&2;}
3305 { (exit 1); exit 1; }; }
3308 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3310 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3311 echo "${ECHO_T}$ac_cv_objext" >&6; }
3312 OBJEXT=$ac_cv_objext
3314 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3315 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3316 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3317 echo $ECHO_N "(cached
) $ECHO_C" >&6
3319 cat >conftest.$ac_ext <<_ACEOF
3322 cat confdefs.h >>conftest.$ac_ext
3323 cat >>conftest.$ac_ext <<_ACEOF
3324 /* end confdefs.h. */
3337 rm -f conftest.$ac_objext
3338 if { (ac_try="$ac_compile"
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3344 (eval "$ac_compile") 2>conftest.er1
3346 grep -v '^ *+' conftest.er1 >conftest.err
3348 cat conftest.err >&5
3349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3350 (exit $ac_status); } && {
3351 test -z "$ac_c_werror_flag" ||
3352 test ! -s conftest.err
3353 } && test -s conftest.$ac_objext; then
3356 echo "$as_me: failed program was
:" >&5
3357 sed 's/^/| /' conftest.$ac_ext >&5
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3366 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3367 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3368 GCC=`test $ac_compiler_gnu = yes && echo yes`
3369 ac_test_CFLAGS=${CFLAGS+set}
3370 ac_save_CFLAGS=$CFLAGS
3371 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3372 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3373 if test "${ac_cv_prog_cc_g+set}" = set; then
3374 echo $ECHO_N "(cached
) $ECHO_C" >&6
3376 ac_save_c_werror_flag=$ac_c_werror_flag
3377 ac_c_werror_flag=yes
3380 cat >conftest.$ac_ext <<_ACEOF
3383 cat confdefs.h >>conftest.$ac_ext
3384 cat >>conftest.$ac_ext <<_ACEOF
3385 /* end confdefs.h. */
3395 rm -f conftest.$ac_objext
3396 if { (ac_try="$ac_compile"
3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3402 (eval "$ac_compile") 2>conftest.er1
3404 grep -v '^ *+' conftest.er1 >conftest.err
3406 cat conftest.err >&5
3407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3408 (exit $ac_status); } && {
3409 test -z "$ac_c_werror_flag" ||
3410 test ! -s conftest.err
3411 } && test -s conftest.$ac_objext; then
3414 echo "$as_me: failed program was
:" >&5
3415 sed 's/^/| /' conftest.$ac_ext >&5
3418 cat >conftest.$ac_ext <<_ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3433 rm -f conftest.$ac_objext
3434 if { (ac_try="$ac_compile"
3436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3439 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3440 (eval "$ac_compile") 2>conftest.er1
3442 grep -v '^ *+' conftest.er1 >conftest.err
3444 cat conftest.err >&5
3445 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3446 (exit $ac_status); } && {
3447 test -z "$ac_c_werror_flag" ||
3448 test ! -s conftest.err
3449 } && test -s conftest.$ac_objext; then
3452 echo "$as_me: failed program was
:" >&5
3453 sed 's/^/| /' conftest.$ac_ext >&5
3455 ac_c_werror_flag=$ac_save_c_werror_flag
3457 cat >conftest.$ac_ext <<_ACEOF
3460 cat confdefs.h >>conftest.$ac_ext
3461 cat >>conftest.$ac_ext <<_ACEOF
3462 /* end confdefs.h. */
3472 rm -f conftest.$ac_objext
3473 if { (ac_try="$ac_compile"
3475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3476 *) ac_try_echo=$ac_try;;
3478 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3479 (eval "$ac_compile") 2>conftest.er1
3481 grep -v '^ *+' conftest.er1 >conftest.err
3483 cat conftest.err >&5
3484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3485 (exit $ac_status); } && {
3486 test -z "$ac_c_werror_flag" ||
3487 test ! -s conftest.err
3488 } && test -s conftest.$ac_objext; then
3491 echo "$as_me: failed program was
:" >&5
3492 sed 's/^/| /' conftest.$ac_ext >&5
3497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3504 ac_c_werror_flag=$ac_save_c_werror_flag
3506 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3507 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3508 if test "$ac_test_CFLAGS" = set; then
3509 CFLAGS=$ac_save_CFLAGS
3510 elif test $ac_cv_prog_cc_g = yes; then
3511 if test "$GCC" = yes; then
3517 if test "$GCC" = yes; then
3523 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3524 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3525 if test "${ac_cv_prog_cc_c89+set}" = set; then
3526 echo $ECHO_N "(cached
) $ECHO_C" >&6
3528 ac_cv_prog_cc_c89=no
3530 cat >conftest.$ac_ext <<_ACEOF
3533 cat confdefs.h >>conftest.$ac_ext
3534 cat >>conftest.$ac_ext <<_ACEOF
3535 /* end confdefs.h. */
3538 #include <sys/types.h>
3539 #include <sys/stat.h>
3540 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3541 struct buf { int x; };
3542 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3543 static char *e (p, i)
3549 static char *f (char * (*g) (char **, int), char **p, ...)
3554 s = g (p, va_arg (v,int));
3559 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3560 function prototypes and stuff, but not '\xHH' hex character constants.
3561 These don't provoke an error unfortunately, instead are silently treated
3562 as 'x'. The following induces an error, until -std is added to get
3563 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3564 array size at least. It's necessary to write '\x00'==0 to get something
3565 that's true only with -std. */
3566 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3568 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3569 inside strings and character constants. */
3571 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3573 int test (int i, double x);
3574 struct s1 {int (*f) (int a);};
3575 struct s2 {int (*f) (double a);};
3576 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3582 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3587 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3588 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3590 CC="$ac_save_CC $ac_arg"
3591 rm -f conftest.$ac_objext
3592 if { (ac_try="$ac_compile"
3594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3595 *) ac_try_echo=$ac_try;;
3597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3598 (eval "$ac_compile") 2>conftest.er1
3600 grep -v '^ *+' conftest.er1 >conftest.err
3602 cat conftest.err >&5
3603 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3604 (exit $ac_status); } && {
3605 test -z "$ac_c_werror_flag" ||
3606 test ! -s conftest.err
3607 } && test -s conftest.$ac_objext; then
3608 ac_cv_prog_cc_c89=$ac_arg
3610 echo "$as_me: failed program was
:" >&5
3611 sed 's/^/| /' conftest.$ac_ext >&5
3616 rm -f core conftest.err conftest.$ac_objext
3617 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3619 rm -f conftest.$ac_ext
3624 case "x
$ac_cv_prog_cc_c89" in
3626 { echo "$as_me:$LINENO: result
: none needed
" >&5
3627 echo "${ECHO_T}none needed
" >&6; } ;;
3629 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3630 echo "${ECHO_T}unsupported
" >&6; } ;;
3632 CC="$CC $ac_cv_prog_cc_c89"
3633 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3634 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3639 ac_cpp='$CPP $CPPFLAGS'
3640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3644 depcc="$CC" am_compiler_list=
3646 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3647 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3648 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3649 echo $ECHO_N "(cached
) $ECHO_C" >&6
3651 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3652 # We make a subdir and do the tests there. Otherwise we can end up
3653 # making bogus files that we don't know about and never remove. For
3654 # instance it was reported that on HP-UX the gcc test will end up
3655 # making a dummy file named `D' -- because `-MD' means `put the output
3658 # Copy depcomp to subdir because otherwise we won't find it if we're
3659 # using a relative directory.
3660 cp "$am_depcomp" conftest.dir
3662 # We will build objects and dependencies in a subdirectory because
3663 # it helps to detect inapplicable dependency modes. For instance
3664 # both Tru64's cc and ICC support -MD to output dependencies as a
3665 # side effect of compilation, but ICC will put the dependencies in
3666 # the current directory while Tru64 will put them in the object
3670 am_cv_CC_dependencies_compiler_type=none
3671 if test "$am_compiler_list" = ""; then
3672 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3674 for depmode in $am_compiler_list; do
3675 # Setup a source with many dependencies, because some compilers
3676 # like to wrap large dependency lists on column 80 (with \), and
3677 # we should not choose a depcomp mode which is confused by this.
3679 # We need to recreate these files for each test, as the compiler may
3680 # overwrite some of them when testing with obscure command lines.
3681 # This happens at least with the AIX C compiler.
3683 for i in 1 2 3 4 5 6; do
3684 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3685 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3686 # Solaris 8's {/usr,}/bin/sh.
3687 touch sub/conftst$i.h
3689 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3693 # after this tag, mechanisms are not by side-effect, so they'll
3694 # only be used when explicitly requested
3695 if test "x
$enable_dependency_tracking" = xyes; then
3703 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3704 # mode. It turns out that the SunPro C++ compiler does not properly
3705 # handle `-M -o', and we need to detect this.
3706 if depmode=$depmode \
3707 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3708 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3709 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3710 >/dev/null 2>conftest.err &&
3711 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3712 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3713 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3714 # icc doesn't choke on unknown options, it will just issue warnings
3715 # or remarks (even with -Werror). So we grep stderr for any message
3716 # that says an option was ignored or not supported.
3717 # When given -MP, icc 7.0 and 7.1 complain thusly:
3718 # icc: Command line warning: ignoring option '-M'; no argument required
3719 # The diagnosis changed in icc 8.0:
3720 # icc: Command line remark: option '-MP' not supported
3721 if (grep 'ignoring option' conftest.err ||
3722 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3723 am_cv_CC_dependencies_compiler_type=$depmode
3732 am_cv_CC_dependencies_compiler_type=none
3736 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3737 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3738 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3743 test "x
$enable_dependency_tracking" != xno \
3744 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3746 am__fastdepCC_FALSE='#'
3748 am__fastdepCC_TRUE='#'
3749 am__fastdepCC_FALSE=
3754 { echo "$as_me:$LINENO: checking
for library containing strerror
" >&5
3755 echo $ECHO_N "checking
for library containing strerror...
$ECHO_C" >&6; }
3756 if test "${ac_cv_search_strerror+set}" = set; then
3757 echo $ECHO_N "(cached
) $ECHO_C" >&6
3759 ac_func_search_save_LIBS=$LIBS
3760 cat >conftest.$ac_ext <<_ACEOF
3763 cat confdefs.h >>conftest.$ac_ext
3764 cat >>conftest.$ac_ext <<_ACEOF
3765 /* end confdefs.h. */
3767 /* Override any GCC internal prototype to avoid an error.
3768 Use char because int might match the return type of a GCC
3769 builtin and then its argument prototype would still apply. */
3782 for ac_lib in '' cposix; do
3783 if test -z "$ac_lib"; then
3784 ac_res="none required
"
3787 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3789 rm -f conftest.$ac_objext conftest$ac_exeext
3790 if { (ac_try="$ac_link"
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_link") 2>conftest.er1
3798 grep -v '^ *+' conftest.er1 >conftest.err
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3802 (exit $ac_status); } && {
3803 test -z "$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3805 } && test -s conftest$ac_exeext &&
3806 $as_test_x conftest$ac_exeext; then
3807 ac_cv_search_strerror=$ac_res
3809 echo "$as_me: failed program was
:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3817 if test "${ac_cv_search_strerror+set}" = set; then
3821 if test "${ac_cv_search_strerror+set}" = set; then
3824 ac_cv_search_strerror=no
3827 LIBS=$ac_func_search_save_LIBS
3829 { echo "$as_me:$LINENO: result
: $ac_cv_search_strerror" >&5
3830 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3831 ac_res=$ac_cv_search_strerror
3832 if test "$ac_res" != no; then
3833 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3838 ac_cpp='$CPP $CPPFLAGS'
3839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3842 if test -n "$ac_tool_prefix"; then
3843 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3844 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3845 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3846 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3847 if test "${ac_cv_prog_CC+set}" = set; then
3848 echo $ECHO_N "(cached
) $ECHO_C" >&6
3850 if test -n "$CC"; then
3851 ac_cv_prog_CC="$CC" # Let the user override the test.
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3857 test -z "$as_dir" && as_dir=.
3858 for ac_exec_ext in '' $ac_executable_extensions; do
3859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3860 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3861 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3871 if test -n "$CC"; then
3872 { echo "$as_me:$LINENO: result
: $CC" >&5
3873 echo "${ECHO_T}$CC" >&6; }
3875 { echo "$as_me:$LINENO: result
: no
" >&5
3876 echo "${ECHO_T}no
" >&6; }
3881 if test -z "$ac_cv_prog_CC"; then
3883 # Extract the first word of "gcc
", so it can be a program name with args.
3884 set dummy gcc; ac_word=$2
3885 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3886 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3887 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3888 echo $ECHO_N "(cached
) $ECHO_C" >&6
3890 if test -n "$ac_ct_CC"; then
3891 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897 test -z "$as_dir" && as_dir=.
3898 for ac_exec_ext in '' $ac_executable_extensions; do
3899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3900 ac_cv_prog_ac_ct_CC="gcc
"
3901 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3910 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3911 if test -n "$ac_ct_CC"; then
3912 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3913 echo "${ECHO_T}$ac_ct_CC" >&6; }
3915 { echo "$as_me:$LINENO: result
: no
" >&5
3916 echo "${ECHO_T}no
" >&6; }
3919 if test "x
$ac_ct_CC" = x; then
3922 case $cross_compiling:$ac_tool_warned in
3924 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3925 whose name does not start with the
host triplet. If you think this
3926 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3927 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3928 whose name does not start with the
host triplet. If you think this
3929 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3930 ac_tool_warned=yes ;;
3938 if test -z "$CC"; then
3939 if test -n "$ac_tool_prefix"; then
3940 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3941 set dummy ${ac_tool_prefix}cc; ac_word=$2
3942 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3943 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3944 if test "${ac_cv_prog_CC+set}" = set; then
3945 echo $ECHO_N "(cached
) $ECHO_C" >&6
3947 if test -n "$CC"; then
3948 ac_cv_prog_CC="$CC" # Let the user override the test.
3950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir=.
3955 for ac_exec_ext in '' $ac_executable_extensions; do
3956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3957 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3958 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3968 if test -n "$CC"; then
3969 { echo "$as_me:$LINENO: result
: $CC" >&5
3970 echo "${ECHO_T}$CC" >&6; }
3972 { echo "$as_me:$LINENO: result
: no
" >&5
3973 echo "${ECHO_T}no
" >&6; }
3979 if test -z "$CC"; then
3980 # Extract the first word of "cc
", so it can be a program name with args.
3981 set dummy cc; ac_word=$2
3982 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3983 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3984 if test "${ac_cv_prog_CC+set}" = set; then
3985 echo $ECHO_N "(cached
) $ECHO_C" >&6
3987 if test -n "$CC"; then
3988 ac_cv_prog_CC="$CC" # Let the user override the test.
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3995 test -z "$as_dir" && as_dir=.
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3998 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3999 ac_prog_rejected=yes
4003 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4010 if test $ac_prog_rejected = yes; then
4011 # We found a bogon in the path, so make sure we never use it.
4012 set dummy $ac_cv_prog_CC
4014 if test $# != 0; then
4015 # We chose a different compiler from the bogus one.
4016 # However, it has the same basename, so the bogon will be chosen
4017 # first if we set CC to just the basename; use the full file name.
4019 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
4025 if test -n "$CC"; then
4026 { echo "$as_me:$LINENO: result
: $CC" >&5
4027 echo "${ECHO_T}$CC" >&6; }
4029 { echo "$as_me:$LINENO: result
: no
" >&5
4030 echo "${ECHO_T}no
" >&6; }
4035 if test -z "$CC"; then
4036 if test -n "$ac_tool_prefix"; then
4037 for ac_prog in cl.exe
4039 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4040 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4041 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4042 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4043 if test "${ac_cv_prog_CC+set}" = set; then
4044 echo $ECHO_N "(cached
) $ECHO_C" >&6
4046 if test -n "$CC"; then
4047 ac_cv_prog_CC="$CC" # Let the user override the test.
4049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4053 test -z "$as_dir" && as_dir=.
4054 for ac_exec_ext in '' $ac_executable_extensions; do
4055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4056 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4057 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4067 if test -n "$CC"; then
4068 { echo "$as_me:$LINENO: result
: $CC" >&5
4069 echo "${ECHO_T}$CC" >&6; }
4071 { echo "$as_me:$LINENO: result
: no
" >&5
4072 echo "${ECHO_T}no
" >&6; }
4076 test -n "$CC" && break
4079 if test -z "$CC"; then
4081 for ac_prog in cl.exe
4083 # Extract the first word of "$ac_prog", so it can be a program name with args.
4084 set dummy $ac_prog; ac_word=$2
4085 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4086 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4087 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4088 echo $ECHO_N "(cached
) $ECHO_C" >&6
4090 if test -n "$ac_ct_CC"; then
4091 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir=.
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4100 ac_cv_prog_ac_ct_CC="$ac_prog"
4101 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4110 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4111 if test -n "$ac_ct_CC"; then
4112 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
4113 echo "${ECHO_T}$ac_ct_CC" >&6; }
4115 { echo "$as_me:$LINENO: result
: no
" >&5
4116 echo "${ECHO_T}no
" >&6; }
4120 test -n "$ac_ct_CC" && break
4123 if test "x
$ac_ct_CC" = x; then
4126 case $cross_compiling:$ac_tool_warned in
4128 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4129 whose name does not start with the
host triplet. If you think this
4130 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4131 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4132 whose name does not start with the
host triplet. If you think this
4133 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4134 ac_tool_warned=yes ;;
4143 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4144 See \
`config.log' for more details." >&5
4145 echo "$as_me: error: no acceptable C compiler found in \$PATH
4146 See \`config.log
' for more details." >&2;}
4147 { (exit 1); exit 1; }; }
4149 # Provide some information about the compiler.
4150 echo "$as_me:$LINENO: checking for C compiler version" >&5
4151 ac_compiler=`set X $ac_compile; echo $2`
4152 { (ac_try="$ac_compiler --version >&5"
4154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4155 *) ac_try_echo=$ac_try;;
4157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4158 (eval "$ac_compiler --version >&5") 2>&5
4160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); }
4162 { (ac_try="$ac_compiler -v >&5"
4164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4165 *) ac_try_echo=$ac_try;;
4167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4168 (eval "$ac_compiler -v >&5") 2>&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); }
4172 { (ac_try="$ac_compiler -V >&5"
4174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175 *) ac_try_echo=$ac_try;;
4177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4178 (eval "$ac_compiler -V >&5") 2>&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); }
4183 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4184 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4185 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4186 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 cat >conftest.$ac_ext <<_ACEOF
4191 cat confdefs.h >>conftest.$ac_ext
4192 cat >>conftest.$ac_ext <<_ACEOF
4193 /* end confdefs.h. */
4206 rm -f conftest.$ac_objext
4207 if { (ac_try="$ac_compile"
4209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4210 *) ac_try_echo=$ac_try;;
4212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4213 (eval "$ac_compile") 2>conftest.er1
4215 grep -v '^
*+' conftest.er1 >conftest.err
4217 cat conftest.err >&5
4218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219 (exit $ac_status); } && {
4220 test -z "$ac_c_werror_flag" ||
4221 test ! -s conftest.err
4222 } && test -s conftest.$ac_objext; then
4225 echo "$as_me: failed program was:" >&5
4226 sed 's
/^
/|
/' conftest.$ac_ext >&5
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4235 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4236 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4237 GCC=`test $ac_compiler_gnu = yes && echo yes`
4238 ac_test_CFLAGS=${CFLAGS+set}
4239 ac_save_CFLAGS=$CFLAGS
4240 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4241 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4242 if test "${ac_cv_prog_cc_g+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 ac_save_c_werror_flag=$ac_c_werror_flag
4246 ac_c_werror_flag=yes
4249 cat >conftest.$ac_ext <<_ACEOF
4252 cat confdefs.h >>conftest.$ac_ext
4253 cat >>conftest.$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4264 rm -f conftest.$ac_objext
4265 if { (ac_try="$ac_compile"
4267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4271 (eval "$ac_compile") 2>conftest.er1
4273 grep -v '^
*+' conftest.er1 >conftest.err
4275 cat conftest.err >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); } && {
4278 test -z "$ac_c_werror_flag" ||
4279 test ! -s conftest.err
4280 } && test -s conftest.$ac_objext; then
4283 echo "$as_me: failed program was:" >&5
4284 sed 's
/^
/|
/' conftest.$ac_ext >&5
4287 cat >conftest.$ac_ext <<_ACEOF
4290 cat confdefs.h >>conftest.$ac_ext
4291 cat >>conftest.$ac_ext <<_ACEOF
4292 /* end confdefs.h. */
4302 rm -f conftest.$ac_objext
4303 if { (ac_try="$ac_compile"
4305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4306 *) ac_try_echo=$ac_try;;
4308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4309 (eval "$ac_compile") 2>conftest.er1
4311 grep -v '^
*+' conftest.er1 >conftest.err
4313 cat conftest.err >&5
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); } && {
4316 test -z "$ac_c_werror_flag" ||
4317 test ! -s conftest.err
4318 } && test -s conftest.$ac_objext; then
4321 echo "$as_me: failed program was:" >&5
4322 sed 's
/^
/|
/' conftest.$ac_ext >&5
4324 ac_c_werror_flag=$ac_save_c_werror_flag
4326 cat >conftest.$ac_ext <<_ACEOF
4329 cat confdefs.h >>conftest.$ac_ext
4330 cat >>conftest.$ac_ext <<_ACEOF
4331 /* end confdefs.h. */
4341 rm -f conftest.$ac_objext
4342 if { (ac_try="$ac_compile"
4344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4345 *) ac_try_echo=$ac_try;;
4347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4348 (eval "$ac_compile") 2>conftest.er1
4350 grep -v '^
*+' conftest.er1 >conftest.err
4352 cat conftest.err >&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); } && {
4355 test -z "$ac_c_werror_flag" ||
4356 test ! -s conftest.err
4357 } && test -s conftest.$ac_objext; then
4360 echo "$as_me: failed program was:" >&5
4361 sed 's
/^
/|
/' conftest.$ac_ext >&5
4366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4373 ac_c_werror_flag=$ac_save_c_werror_flag
4375 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4376 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4377 if test "$ac_test_CFLAGS" = set; then
4378 CFLAGS=$ac_save_CFLAGS
4379 elif test $ac_cv_prog_cc_g = yes; then
4380 if test "$GCC" = yes; then
4386 if test "$GCC" = yes; then
4392 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4393 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4394 if test "${ac_cv_prog_cc_c89+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 ac_cv_prog_cc_c89=no
4399 cat >conftest.$ac_ext <<_ACEOF
4402 cat confdefs.h >>conftest.$ac_ext
4403 cat >>conftest.$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4407 #include <sys/types.h>
4408 #include <sys/stat.h>
4409 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4410 struct buf
{ int x
; };
4411 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4412 static char
*e
(p
, i
)
4418 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4423 s
= g
(p
, va_arg
(v
,int
));
4428 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4429 function prototypes and stuff
, but not
'\xHH' hex character constants.
4430 These don
't provoke an error unfortunately, instead are silently treated
4431 as 'x
'. The following induces an error, until -std is added to get
4432 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4433 array size at least. It's necessary to
write '\x00'==0 to get something
4434 that
's true only with -std. */
4435 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4437 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4438 inside strings and character constants. */
4440 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4442 int test (int i, double x);
4443 struct s1 {int (*f) (int a);};
4444 struct s2 {int (*f) (double a);};
4445 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4451 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4456 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4457 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4459 CC="$ac_save_CC $ac_arg"
4460 rm -f conftest.$ac_objext
4461 if { (ac_try="$ac_compile"
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4467 (eval "$ac_compile") 2>conftest.er1
4469 grep -v '^
*+' conftest.er1 >conftest.err
4471 cat conftest.err >&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); } && {
4474 test -z "$ac_c_werror_flag" ||
4475 test ! -s conftest.err
4476 } && test -s conftest.$ac_objext; then
4477 ac_cv_prog_cc_c89=$ac_arg
4479 echo "$as_me: failed program was:" >&5
4480 sed 's
/^
/|
/' conftest.$ac_ext >&5
4485 rm -f core conftest.err conftest.$ac_objext
4486 test "x$ac_cv_prog_cc_c89" != "xno" && break
4488 rm -f conftest.$ac_ext
4493 case "x$ac_cv_prog_cc_c89" in
4495 { echo "$as_me:$LINENO: result: none needed" >&5
4496 echo "${ECHO_T}none needed" >&6; } ;;
4498 { echo "$as_me:$LINENO: result: unsupported" >&5
4499 echo "${ECHO_T}unsupported" >&6; } ;;
4501 CC="$CC $ac_cv_prog_cc_c89"
4502 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4503 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4508 ac_cpp='$CPP $CPPFLAGS'
4509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4510 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4513 depcc="$CC" am_compiler_list=
4515 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4516 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4517 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4520 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4521 # We make a subdir and do the tests there. Otherwise we can end up
4522 # making bogus files that we don't know about and never remove. For
4523 # instance it was reported that on HP-UX the gcc test will end up
4524 # making a dummy file named `D' -- because `-MD' means `put the output
4527 # Copy depcomp to subdir because otherwise we won't find it if we're
4528 # using a relative directory.
4529 cp "$am_depcomp" conftest.dir
4531 # We will build objects and dependencies in a subdirectory because
4532 # it helps to detect inapplicable dependency modes. For instance
4533 # both Tru64's cc and ICC support -MD to output dependencies as a
4534 # side effect of compilation, but ICC will put the dependencies in
4535 # the current directory while Tru64 will put them in the object
4539 am_cv_CC_dependencies_compiler_type
=none
4540 if test "$am_compiler_list" = ""; then
4541 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4543 for depmode
in $am_compiler_list; do
4544 # Setup a source with many dependencies, because some compilers
4545 # like to wrap large dependency lists on column 80 (with \), and
4546 # we should not choose a depcomp mode which is confused by this.
4548 # We need to recreate these files for each test, as the compiler may
4549 # overwrite some of them when testing with obscure command lines.
4550 # This happens at least with the AIX C compiler.
4552 for i
in 1 2 3 4 5 6; do
4553 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4554 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4555 # Solaris 8's {/usr,}/bin/sh.
4556 touch sub
/conftst
$i.h
4558 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4562 # after this tag, mechanisms are not by side-effect, so they'll
4563 # only be used when explicitly requested
4564 if test "x$enable_dependency_tracking" = xyes
; then
4572 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4573 # mode. It turns out that the SunPro C++ compiler does not properly
4574 # handle `-M -o', and we need to detect this.
4575 if depmode
=$depmode \
4576 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4577 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4578 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4579 >/dev
/null
2>conftest.err
&&
4580 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4581 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4582 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4583 # icc doesn't choke on unknown options, it will just issue warnings
4584 # or remarks (even with -Werror). So we grep stderr for any message
4585 # that says an option was ignored or not supported.
4586 # When given -MP, icc 7.0 and 7.1 complain thusly:
4587 # icc: Command line warning: ignoring option '-M'; no argument required
4588 # The diagnosis changed in icc 8.0:
4589 # icc: Command line remark: option '-MP' not supported
4590 if (grep 'ignoring option' conftest.err ||
4591 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4592 am_cv_CC_dependencies_compiler_type
=$depmode
4601 am_cv_CC_dependencies_compiler_type
=none
4605 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4606 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4607 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4612 test "x$enable_dependency_tracking" != xno \
4613 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4615 am__fastdepCC_FALSE
='#'
4617 am__fastdepCC_TRUE
='#'
4618 am__fastdepCC_FALSE
=
4623 ac_cpp
='$CPP $CPPFLAGS'
4624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4627 if test -n "$ac_tool_prefix"; then
4628 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4629 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4632 if test "${ac_cv_prog_CC+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 if test -n "$CC"; then
4636 ac_cv_prog_CC
="$CC" # Let the user override the test.
4638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4642 test -z "$as_dir" && as_dir
=.
4643 for ac_exec_ext
in '' $ac_executable_extensions; do
4644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4645 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4656 if test -n "$CC"; then
4657 { echo "$as_me:$LINENO: result: $CC" >&5
4658 echo "${ECHO_T}$CC" >&6; }
4660 { echo "$as_me:$LINENO: result: no" >&5
4661 echo "${ECHO_T}no" >&6; }
4666 if test -z "$ac_cv_prog_CC"; then
4668 # Extract the first word of "gcc", so it can be a program name with args.
4669 set dummy gcc
; ac_word
=$2
4670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4672 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4673 echo $ECHO_N "(cached) $ECHO_C" >&6
4675 if test -n "$ac_ct_CC"; then
4676 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4682 test -z "$as_dir" && as_dir
=.
4683 for ac_exec_ext
in '' $ac_executable_extensions; do
4684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4685 ac_cv_prog_ac_ct_CC
="gcc"
4686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4696 if test -n "$ac_ct_CC"; then
4697 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4698 echo "${ECHO_T}$ac_ct_CC" >&6; }
4700 { echo "$as_me:$LINENO: result: no" >&5
4701 echo "${ECHO_T}no" >&6; }
4704 if test "x$ac_ct_CC" = x
; then
4707 case $cross_compiling:$ac_tool_warned in
4709 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4710 whose name does not start with the host triplet. If you think this
4711 configuration is useful to you, please write to autoconf@gnu.org." >&5
4712 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4713 whose name does not start with the host triplet. If you think this
4714 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4715 ac_tool_warned
=yes ;;
4723 if test -z "$CC"; then
4724 if test -n "$ac_tool_prefix"; then
4725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4726 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4729 if test "${ac_cv_prog_CC+set}" = set; then
4730 echo $ECHO_N "(cached) $ECHO_C" >&6
4732 if test -n "$CC"; then
4733 ac_cv_prog_CC
="$CC" # Let the user override the test.
4735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4739 test -z "$as_dir" && as_dir
=.
4740 for ac_exec_ext
in '' $ac_executable_extensions; do
4741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4742 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4753 if test -n "$CC"; then
4754 { echo "$as_me:$LINENO: result: $CC" >&5
4755 echo "${ECHO_T}$CC" >&6; }
4757 { echo "$as_me:$LINENO: result: no" >&5
4758 echo "${ECHO_T}no" >&6; }
4764 if test -z "$CC"; then
4765 # Extract the first word of "cc", so it can be a program name with args.
4766 set dummy cc
; ac_word
=$2
4767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4769 if test "${ac_cv_prog_CC+set}" = set; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
4772 if test -n "$CC"; then
4773 ac_cv_prog_CC
="$CC" # Let the user override the test.
4776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4780 test -z "$as_dir" && as_dir
=.
4781 for ac_exec_ext
in '' $ac_executable_extensions; do
4782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4783 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4784 ac_prog_rejected
=yes
4788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4795 if test $ac_prog_rejected = yes; then
4796 # We found a bogon in the path, so make sure we never use it.
4797 set dummy
$ac_cv_prog_CC
4799 if test $# != 0; then
4800 # We chose a different compiler from the bogus one.
4801 # However, it has the same basename, so the bogon will be chosen
4802 # first if we set CC to just the basename; use the full file name.
4804 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4810 if test -n "$CC"; then
4811 { echo "$as_me:$LINENO: result: $CC" >&5
4812 echo "${ECHO_T}$CC" >&6; }
4814 { echo "$as_me:$LINENO: result: no" >&5
4815 echo "${ECHO_T}no" >&6; }
4820 if test -z "$CC"; then
4821 if test -n "$ac_tool_prefix"; then
4822 for ac_prog
in cl.exe
4824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4825 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4828 if test "${ac_cv_prog_CC+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 if test -n "$CC"; then
4832 ac_cv_prog_CC
="$CC" # Let the user override the test.
4834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4838 test -z "$as_dir" && as_dir
=.
4839 for ac_exec_ext
in '' $ac_executable_extensions; do
4840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4841 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4852 if test -n "$CC"; then
4853 { echo "$as_me:$LINENO: result: $CC" >&5
4854 echo "${ECHO_T}$CC" >&6; }
4856 { echo "$as_me:$LINENO: result: no" >&5
4857 echo "${ECHO_T}no" >&6; }
4861 test -n "$CC" && break
4864 if test -z "$CC"; then
4866 for ac_prog
in cl.exe
4868 # Extract the first word of "$ac_prog", so it can be a program name with args.
4869 set dummy
$ac_prog; ac_word
=$2
4870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4872 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 if test -n "$ac_ct_CC"; then
4876 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4882 test -z "$as_dir" && as_dir
=.
4883 for ac_exec_ext
in '' $ac_executable_extensions; do
4884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4885 ac_cv_prog_ac_ct_CC
="$ac_prog"
4886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4896 if test -n "$ac_ct_CC"; then
4897 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4898 echo "${ECHO_T}$ac_ct_CC" >&6; }
4900 { echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6; }
4905 test -n "$ac_ct_CC" && break
4908 if test "x$ac_ct_CC" = x
; then
4911 case $cross_compiling:$ac_tool_warned in
4913 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4914 whose name does not start with the host triplet. If you think this
4915 configuration is useful to you, please write to autoconf@gnu.org." >&5
4916 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4917 whose name does not start with the host triplet. If you think this
4918 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4919 ac_tool_warned
=yes ;;
4928 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4929 See \`config.log' for more details." >&5
4930 echo "$as_me: error: no acceptable C compiler found in \$PATH
4931 See \`config.log' for more details." >&2;}
4932 { (exit 1); exit 1; }; }
4934 # Provide some information about the compiler.
4935 echo "$as_me:$LINENO: checking for C compiler version" >&5
4936 ac_compiler
=`set X $ac_compile; echo $2`
4937 { (ac_try
="$ac_compiler --version >&5"
4939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4940 *) ac_try_echo=$ac_try;;
4942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4943 (eval "$ac_compiler --version >&5") 2>&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); }
4947 { (ac_try="$ac_compiler -v >&5"
4949 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4950 *) ac_try_echo
=$ac_try;;
4952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4953 (eval "$ac_compiler -v >&5") 2>&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); }
4957 { (ac_try
="$ac_compiler -V >&5"
4959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4960 *) ac_try_echo=$ac_try;;
4962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4963 (eval "$ac_compiler -V >&5") 2>&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); }
4968 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4969 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4970 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4971 echo $ECHO_N "(cached) $ECHO_C" >&6
4973 cat >conftest.$ac_ext <<_ACEOF
4976 cat confdefs.h >>conftest.$ac_ext
4977 cat >>conftest.$ac_ext <<_ACEOF
4978 /* end confdefs.h. */
4991 rm -f conftest.$ac_objext
4992 if { (ac_try="$ac_compile"
4994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4995 *) ac_try_echo
=$ac_try;;
4997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4998 (eval "$ac_compile") 2>conftest.er1
5000 grep -v '^ *+' conftest.er1
>conftest.err
5002 cat conftest.err
>&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); } && {
5005 test -z "$ac_c_werror_flag" ||
5006 test ! -s conftest.err
5007 } && test -s conftest.
$ac_objext; then
5010 echo "$as_me: failed program was:" >&5
5011 sed 's/^/| /' conftest.
$ac_ext >&5
5016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5017 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5020 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5021 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5022 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5023 ac_test_CFLAGS
=${CFLAGS+set}
5024 ac_save_CFLAGS
=$CFLAGS
5025 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5026 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5027 if test "${ac_cv_prog_cc_g+set}" = set; then
5028 echo $ECHO_N "(cached) $ECHO_C" >&6
5030 ac_save_c_werror_flag
=$ac_c_werror_flag
5031 ac_c_werror_flag
=yes
5034 cat >conftest.
$ac_ext <<_ACEOF
5037 cat confdefs.h
>>conftest.
$ac_ext
5038 cat >>conftest.
$ac_ext <<_ACEOF
5039 /* end confdefs.h. */
5049 rm -f conftest.
$ac_objext
5050 if { (ac_try
="$ac_compile"
5052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5053 *) ac_try_echo=$ac_try;;
5055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5056 (eval "$ac_compile") 2>conftest.er1
5058 grep -v '^ *+' conftest.er1 >conftest.err
5060 cat conftest.err >&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } && {
5063 test -z "$ac_c_werror_flag" ||
5064 test ! -s conftest.err
5065 } && test -s conftest.$ac_objext; then
5068 echo "$as_me: failed program was:" >&5
5069 sed 's/^/| /' conftest.$ac_ext >&5
5072 cat >conftest.$ac_ext <<_ACEOF
5075 cat confdefs.h >>conftest.$ac_ext
5076 cat >>conftest.$ac_ext <<_ACEOF
5077 /* end confdefs.h. */
5087 rm -f conftest.$ac_objext
5088 if { (ac_try="$ac_compile"
5090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5091 *) ac_try_echo
=$ac_try;;
5093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5094 (eval "$ac_compile") 2>conftest.er1
5096 grep -v '^ *+' conftest.er1
>conftest.err
5098 cat conftest.err
>&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); } && {
5101 test -z "$ac_c_werror_flag" ||
5102 test ! -s conftest.err
5103 } && test -s conftest.
$ac_objext; then
5106 echo "$as_me: failed program was:" >&5
5107 sed 's/^/| /' conftest.
$ac_ext >&5
5109 ac_c_werror_flag
=$ac_save_c_werror_flag
5111 cat >conftest.
$ac_ext <<_ACEOF
5114 cat confdefs.h
>>conftest.
$ac_ext
5115 cat >>conftest.
$ac_ext <<_ACEOF
5116 /* end confdefs.h. */
5126 rm -f conftest.
$ac_objext
5127 if { (ac_try
="$ac_compile"
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_compile") 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); } && {
5140 test -z "$ac_c_werror_flag" ||
5141 test ! -s conftest.err
5142 } && test -s conftest.$ac_objext; then
5145 echo "$as_me: failed program was:" >&5
5146 sed 's/^/| /' conftest.$ac_ext >&5
5151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5158 ac_c_werror_flag=$ac_save_c_werror_flag
5160 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5161 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5162 if test "$ac_test_CFLAGS" = set; then
5163 CFLAGS=$ac_save_CFLAGS
5164 elif test $ac_cv_prog_cc_g = yes; then
5165 if test "$GCC" = yes; then
5171 if test "$GCC" = yes; then
5177 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5178 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5179 if test "${ac_cv_prog_cc_c89+set}" = set; then
5180 echo $ECHO_N "(cached) $ECHO_C" >&6
5182 ac_cv_prog_cc_c89=no
5184 cat >conftest.$ac_ext <<_ACEOF
5187 cat confdefs.h >>conftest.$ac_ext
5188 cat >>conftest.$ac_ext <<_ACEOF
5189 /* end confdefs.h. */
5192 #include <sys/types.h>
5193 #include <sys/stat.h>
5194 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5195 struct buf { int x; };
5196 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5197 static char *e (p, i)
5203 static char *f (char * (*g) (char **, int), char **p, ...)
5208 s = g (p, va_arg (v,int));
5213 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5214 function prototypes and stuff, but not '\xHH' hex character constants.
5215 These don't provoke an error unfortunately, instead are silently treated
5216 as 'x'. The following induces an error, until -std is added to get
5217 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5218 array size at least. It's necessary to write '\x00'==0 to get something
5219 that's true only with -std. */
5220 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5222 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5223 inside strings and character constants. */
5225 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5227 int test (int i, double x);
5228 struct s1 {int (*f) (int a);};
5229 struct s2 {int (*f) (double a);};
5230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5236 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5241 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5242 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5244 CC="$ac_save_CC $ac_arg"
5245 rm -f conftest.$ac_objext
5246 if { (ac_try="$ac_compile"
5248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5249 *) ac_try_echo
=$ac_try;;
5251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5252 (eval "$ac_compile") 2>conftest.er1
5254 grep -v '^ *+' conftest.er1
>conftest.err
5256 cat conftest.err
>&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); } && {
5259 test -z "$ac_c_werror_flag" ||
5260 test ! -s conftest.err
5261 } && test -s conftest.
$ac_objext; then
5262 ac_cv_prog_cc_c89
=$ac_arg
5264 echo "$as_me: failed program was:" >&5
5265 sed 's/^/| /' conftest.
$ac_ext >&5
5270 rm -f core conftest.err conftest.
$ac_objext
5271 test "x$ac_cv_prog_cc_c89" != "xno" && break
5273 rm -f conftest.
$ac_ext
5278 case "x$ac_cv_prog_cc_c89" in
5280 { echo "$as_me:$LINENO: result: none needed" >&5
5281 echo "${ECHO_T}none needed" >&6; } ;;
5283 { echo "$as_me:$LINENO: result: unsupported" >&5
5284 echo "${ECHO_T}unsupported" >&6; } ;;
5286 CC
="$CC $ac_cv_prog_cc_c89"
5287 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5288 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5293 ac_cpp
='$CPP $CPPFLAGS'
5294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5298 depcc
="$CC" am_compiler_list
=
5300 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5301 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5302 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5306 # We make a subdir and do the tests there. Otherwise we can end up
5307 # making bogus files that we don't know about and never remove. For
5308 # instance it was reported that on HP-UX the gcc test will end up
5309 # making a dummy file named `D' -- because `-MD' means `put the output
5312 # Copy depcomp to subdir because otherwise we won't find it if we're
5313 # using a relative directory.
5314 cp "$am_depcomp" conftest.dir
5316 # We will build objects and dependencies in a subdirectory because
5317 # it helps to detect inapplicable dependency modes. For instance
5318 # both Tru64's cc and ICC support -MD to output dependencies as a
5319 # side effect of compilation, but ICC will put the dependencies in
5320 # the current directory while Tru64 will put them in the object
5324 am_cv_CC_dependencies_compiler_type
=none
5325 if test "$am_compiler_list" = ""; then
5326 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5328 for depmode
in $am_compiler_list; do
5329 # Setup a source with many dependencies, because some compilers
5330 # like to wrap large dependency lists on column 80 (with \), and
5331 # we should not choose a depcomp mode which is confused by this.
5333 # We need to recreate these files for each test, as the compiler may
5334 # overwrite some of them when testing with obscure command lines.
5335 # This happens at least with the AIX C compiler.
5337 for i
in 1 2 3 4 5 6; do
5338 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5339 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5340 # Solaris 8's {/usr,}/bin/sh.
5341 touch sub
/conftst
$i.h
5343 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5347 # after this tag, mechanisms are not by side-effect, so they'll
5348 # only be used when explicitly requested
5349 if test "x$enable_dependency_tracking" = xyes
; then
5357 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5358 # mode. It turns out that the SunPro C++ compiler does not properly
5359 # handle `-M -o', and we need to detect this.
5360 if depmode
=$depmode \
5361 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5362 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5363 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5364 >/dev
/null
2>conftest.err
&&
5365 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5366 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5367 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5368 # icc doesn't choke on unknown options, it will just issue warnings
5369 # or remarks (even with -Werror). So we grep stderr for any message
5370 # that says an option was ignored or not supported.
5371 # When given -MP, icc 7.0 and 7.1 complain thusly:
5372 # icc: Command line warning: ignoring option '-M'; no argument required
5373 # The diagnosis changed in icc 8.0:
5374 # icc: Command line remark: option '-MP' not supported
5375 if (grep 'ignoring option' conftest.err ||
5376 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5377 am_cv_CC_dependencies_compiler_type
=$depmode
5386 am_cv_CC_dependencies_compiler_type
=none
5390 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5391 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5392 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5397 test "x$enable_dependency_tracking" != xno \
5398 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5400 am__fastdepCC_FALSE
='#'
5402 am__fastdepCC_TRUE
='#'
5403 am__fastdepCC_FALSE
=
5408 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5411 ac_cpp
='$CPP $CPPFLAGS'
5412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5415 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5416 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5417 # On Suns, sometimes $CPP names a directory.
5418 if test -n "$CPP" && test -d "$CPP"; then
5421 if test -z "$CPP"; then
5422 if test "${ac_cv_prog_CPP+set}" = set; then
5423 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 # Double quotes because CPP needs to be expanded
5426 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5429 for ac_c_preproc_warn_flag
in '' yes
5431 # Use a header file that comes with gcc, so configuring glibc
5432 # with a fresh cross-compiler works.
5433 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5434 # <limits.h> exists even on freestanding compilers.
5435 # On the NeXT, cc -E runs the code through the compiler's parser,
5436 # not just through cpp. "Syntax error" is here to catch this case.
5437 cat >conftest.
$ac_ext <<_ACEOF
5440 cat confdefs.h
>>conftest.
$ac_ext
5441 cat >>conftest.
$ac_ext <<_ACEOF
5442 /* end confdefs.h. */
5444 # include <limits.h>
5446 # include <assert.h>
5450 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5453 *) ac_try_echo=$ac_try;;
5455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5458 grep -v '^ *+' conftest.er1 >conftest.err
5460 cat conftest.err >&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); } >/dev/null && {
5463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5464 test ! -s conftest.err
5468 echo "$as_me: failed program was:" >&5
5469 sed 's/^/| /' conftest.$ac_ext >&5
5471 # Broken: fails on valid input.
5475 rm -f conftest.err conftest.$ac_ext
5477 # OK, works on sane cases. Now check whether nonexistent headers
5478 # can be detected and how.
5479 cat >conftest.$ac_ext <<_ACEOF
5482 cat confdefs.h >>conftest.$ac_ext
5483 cat >>conftest.$ac_ext <<_ACEOF
5484 /* end confdefs.h. */
5485 #include <ac_nonexistent.h>
5487 if { (ac_try="$ac_cpp conftest.$ac_ext"
5489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5490 *) ac_try_echo
=$ac_try;;
5492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5495 grep -v '^ *+' conftest.er1
>conftest.err
5497 cat conftest.err
>&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } >/dev
/null
&& {
5500 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5501 test ! -s conftest.err
5503 # Broken: success on invalid input.
5506 echo "$as_me: failed program was:" >&5
5507 sed 's/^/| /' conftest.
$ac_ext >&5
5509 # Passes both tests.
5514 rm -f conftest.err conftest.
$ac_ext
5517 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5518 rm -f conftest.err conftest.
$ac_ext
5519 if $ac_preproc_ok; then
5531 { echo "$as_me:$LINENO: result: $CPP" >&5
5532 echo "${ECHO_T}$CPP" >&6; }
5534 for ac_c_preproc_warn_flag
in '' yes
5536 # Use a header file that comes with gcc, so configuring glibc
5537 # with a fresh cross-compiler works.
5538 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5539 # <limits.h> exists even on freestanding compilers.
5540 # On the NeXT, cc -E runs the code through the compiler's parser,
5541 # not just through cpp. "Syntax error" is here to catch this case.
5542 cat >conftest.
$ac_ext <<_ACEOF
5545 cat confdefs.h
>>conftest.
$ac_ext
5546 cat >>conftest.
$ac_ext <<_ACEOF
5547 /* end confdefs.h. */
5549 # include <limits.h>
5551 # include <assert.h>
5555 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5558 *) ac_try_echo=$ac_try;;
5560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5563 grep -v '^ *+' conftest.er1 >conftest.err
5565 cat conftest.err >&5
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); } >/dev/null && {
5568 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5569 test ! -s conftest.err
5573 echo "$as_me: failed program was:" >&5
5574 sed 's/^/| /' conftest.$ac_ext >&5
5576 # Broken: fails on valid input.
5580 rm -f conftest.err conftest.$ac_ext
5582 # OK, works on sane cases. Now check whether nonexistent headers
5583 # can be detected and how.
5584 cat >conftest.$ac_ext <<_ACEOF
5587 cat confdefs.h >>conftest.$ac_ext
5588 cat >>conftest.$ac_ext <<_ACEOF
5589 /* end confdefs.h. */
5590 #include <ac_nonexistent.h>
5592 if { (ac_try="$ac_cpp conftest.$ac_ext"
5594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5595 *) ac_try_echo
=$ac_try;;
5597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5600 grep -v '^ *+' conftest.er1
>conftest.err
5602 cat conftest.err
>&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); } >/dev
/null
&& {
5605 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5606 test ! -s conftest.err
5608 # Broken: success on invalid input.
5611 echo "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.
$ac_ext >&5
5614 # Passes both tests.
5619 rm -f conftest.err conftest.
$ac_ext
5622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5623 rm -f conftest.err conftest.
$ac_ext
5624 if $ac_preproc_ok; then
5627 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5628 See \`config.log' for more details." >&5
5629 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5630 See \`config.log' for more details." >&2;}
5631 { (exit 1); exit 1; }; }
5635 ac_cpp
='$CPP $CPPFLAGS'
5636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5641 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5642 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5643 if test "${ac_cv_path_GREP+set}" = set; then
5644 echo $ECHO_N "(cached) $ECHO_C" >&6
5646 # Extract the first word of "grep ggrep" to use in msg output
5647 if test -z "$GREP"; then
5648 set dummy
grep ggrep
; ac_prog_name
=$2
5649 if test "${ac_cv_path_GREP+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 ac_path_GREP_found
=false
5653 # Loop through the user's path and test for each of PROGNAME-LIST
5654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5658 test -z "$as_dir" && as_dir
=.
5659 for ac_prog
in grep ggrep
; do
5660 for ac_exec_ext
in '' $ac_executable_extensions; do
5661 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5662 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5663 # Check for GNU ac_path_GREP and select it if it is found.
5664 # Check for GNU $ac_path_GREP
5665 case `"$ac_path_GREP" --version 2>&1` in
5667 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5670 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5673 cat "conftest.in" "conftest.in" >"conftest.tmp"
5674 mv "conftest.tmp" "conftest.in"
5675 cp "conftest.in" "conftest.nl"
5676 echo 'GREP' >> "conftest.nl"
5677 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5678 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5679 ac_count
=`expr $ac_count + 1`
5680 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5681 # Best one so far, save it but keep looking for a better one
5682 ac_cv_path_GREP
="$ac_path_GREP"
5683 ac_path_GREP_max
=$ac_count
5685 # 10*(2^10) chars as input seems more than enough
5686 test $ac_count -gt 10 && break
5688 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5692 $ac_path_GREP_found && break 3
5702 GREP
="$ac_cv_path_GREP"
5703 if test -z "$GREP"; then
5704 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5705 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5706 { (exit 1); exit 1; }; }
5710 ac_cv_path_GREP
=$GREP
5715 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5716 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5717 GREP
="$ac_cv_path_GREP"
5720 { echo "$as_me:$LINENO: checking for egrep" >&5
5721 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5722 if test "${ac_cv_path_EGREP+set}" = set; then
5723 echo $ECHO_N "(cached) $ECHO_C" >&6
5725 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5726 then ac_cv_path_EGREP
="$GREP -E"
5728 # Extract the first word of "egrep" to use in msg output
5729 if test -z "$EGREP"; then
5730 set dummy
egrep; ac_prog_name
=$2
5731 if test "${ac_cv_path_EGREP+set}" = set; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 ac_path_EGREP_found
=false
5735 # Loop through the user's path and test for each of PROGNAME-LIST
5736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5737 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5740 test -z "$as_dir" && as_dir
=.
5741 for ac_prog
in egrep; do
5742 for ac_exec_ext
in '' $ac_executable_extensions; do
5743 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5744 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5745 # Check for GNU ac_path_EGREP and select it if it is found.
5746 # Check for GNU $ac_path_EGREP
5747 case `"$ac_path_EGREP" --version 2>&1` in
5749 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5752 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5755 cat "conftest.in" "conftest.in" >"conftest.tmp"
5756 mv "conftest.tmp" "conftest.in"
5757 cp "conftest.in" "conftest.nl"
5758 echo 'EGREP' >> "conftest.nl"
5759 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5760 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5761 ac_count
=`expr $ac_count + 1`
5762 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5763 # Best one so far, save it but keep looking for a better one
5764 ac_cv_path_EGREP
="$ac_path_EGREP"
5765 ac_path_EGREP_max
=$ac_count
5767 # 10*(2^10) chars as input seems more than enough
5768 test $ac_count -gt 10 && break
5770 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5774 $ac_path_EGREP_found && break 3
5784 EGREP
="$ac_cv_path_EGREP"
5785 if test -z "$EGREP"; then
5786 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5787 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5788 { (exit 1); exit 1; }; }
5792 ac_cv_path_EGREP
=$EGREP
5798 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5799 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5800 EGREP
="$ac_cv_path_EGREP"
5803 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5804 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5805 if test "${ac_cv_header_stdc+set}" = set; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 cat >conftest.
$ac_ext <<_ACEOF
5811 cat confdefs.h
>>conftest.
$ac_ext
5812 cat >>conftest.
$ac_ext <<_ACEOF
5813 /* end confdefs.h. */
5827 rm -f conftest.
$ac_objext
5828 if { (ac_try
="$ac_compile"
5830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5831 *) ac_try_echo=$ac_try;;
5833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5834 (eval "$ac_compile") 2>conftest.er1
5836 grep -v '^ *+' conftest.er1 >conftest.err
5838 cat conftest.err >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } && {
5841 test -z "$ac_c_werror_flag" ||
5842 test ! -s conftest.err
5843 } && test -s conftest.$ac_objext; then
5844 ac_cv_header_stdc=yes
5846 echo "$as_me: failed program was:" >&5
5847 sed 's/^/| /' conftest.$ac_ext >&5
5849 ac_cv_header_stdc=no
5852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5854 if test $ac_cv_header_stdc = yes; then
5855 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5856 cat >conftest.$ac_ext <<_ACEOF
5859 cat confdefs.h >>conftest.$ac_ext
5860 cat >>conftest.$ac_ext <<_ACEOF
5861 /* end confdefs.h. */
5865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5866 $EGREP "memchr" >/dev/null 2>&1; then
5869 ac_cv_header_stdc=no
5875 if test $ac_cv_header_stdc = yes; then
5876 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5877 cat >conftest.$ac_ext <<_ACEOF
5880 cat confdefs.h >>conftest.$ac_ext
5881 cat >>conftest.$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5887 $EGREP "free" >/dev/null 2>&1; then
5890 ac_cv_header_stdc=no
5896 if test $ac_cv_header_stdc = yes; then
5897 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5898 if test "$cross_compiling" = yes; then
5901 cat >conftest.$ac_ext <<_ACEOF
5904 cat confdefs.h >>conftest.$ac_ext
5905 cat >>conftest.$ac_ext <<_ACEOF
5906 /* end confdefs.h. */
5909 #if ((' ' & 0x0FF) == 0x020)
5910 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5911 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5913 # define ISLOWER(c) \
5914 (('a' <= (c) && (c) <= 'i') \
5915 || ('j' <= (c) && (c) <= 'r') \
5916 || ('s' <= (c) && (c) <= 'z'))
5917 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5920 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5925 for (i = 0; i < 256; i++)
5926 if (XOR (islower (i), ISLOWER (i))
5927 || toupper (i) != TOUPPER (i))
5932 rm -f conftest$ac_exeext
5933 if { (ac_try="$ac_link"
5935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5936 *) ac_try_echo
=$ac_try;;
5938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5939 (eval "$ac_link") 2>&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5943 { (case "(($ac_try" in
5944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5945 *) ac_try_echo=$ac_try;;
5947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5948 (eval "$ac_try") 2>&5
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); }; }; then
5954 echo "$as_me: program exited with status $ac_status" >&5
5955 echo "$as_me: failed program was:" >&5
5956 sed 's/^/| /' conftest.$ac_ext >&5
5959 ac_cv_header_stdc=no
5961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5967 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5968 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5969 if test $ac_cv_header_stdc = yes; then
5971 cat >>confdefs.h <<\_ACEOF
5972 #define STDC_HEADERS 1
5978 ac_cpp='$CXXCPP $CPPFLAGS'
5979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5982 if test -z "$CXX"; then
5983 if test -n "$CCC"; then
5986 if test -n "$ac_tool_prefix"; then
5987 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5989 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5990 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5993 if test "${ac_cv_prog_CXX+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 if test -n "$CXX"; then
5997 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 test -z "$as_dir" && as_dir=.
6004 for ac_exec_ext in '' $ac_executable_extensions; do
6005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6006 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 if test -n "$CXX"; then
6018 { echo "$as_me:$LINENO: result: $CXX" >&5
6019 echo "${ECHO_T}$CXX" >&6; }
6021 { echo "$as_me:$LINENO: result: no" >&5
6022 echo "${ECHO_T}no" >&6; }
6026 test -n "$CXX" && break
6029 if test -z "$CXX"; then
6031 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6033 # Extract the first word of "$ac_prog", so it can be a program name with args.
6034 set dummy $ac_prog; ac_word=$2
6035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6037 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6038 echo $ECHO_N "(cached) $ECHO_C" >&6
6040 if test -n "$ac_ct_CXX"; then
6041 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir=.
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050 ac_cv_prog_ac_ct_CXX="$ac_prog"
6051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6060 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6061 if test -n "$ac_ct_CXX"; then
6062 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6063 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6065 { echo "$as_me:$LINENO: result: no" >&5
6066 echo "${ECHO_T}no" >&6; }
6070 test -n "$ac_ct_CXX" && break
6073 if test "x$ac_ct_CXX" = x; then
6076 case $cross_compiling:$ac_tool_warned in
6078 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6079 whose name does not start with the host triplet. If you think this
6080 configuration is useful to you, please write to autoconf@gnu.org." >&5
6081 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6082 whose name does not start with the host triplet. If you think this
6083 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6084 ac_tool_warned=yes ;;
6092 # Provide some information about the compiler.
6093 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6094 ac_compiler=`set X
$ac_compile; echo $2`
6095 { (ac_try="$ac_compiler --version >&5"
6097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6098 *) ac_try_echo
=$ac_try;;
6100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6101 (eval "$ac_compiler --version >&5") 2>&5
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); }
6105 { (ac_try
="$ac_compiler -v >&5"
6107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6108 *) ac_try_echo=$ac_try;;
6110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6111 (eval "$ac_compiler -v >&5") 2>&5
6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 (exit $ac_status); }
6115 { (ac_try="$ac_compiler -V >&5"
6117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6118 *) ac_try_echo
=$ac_try;;
6120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6121 (eval "$ac_compiler -V >&5") 2>&5
6123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6124 (exit $ac_status); }
6126 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6127 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6128 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6129 echo $ECHO_N "(cached) $ECHO_C" >&6
6131 cat >conftest.
$ac_ext <<_ACEOF
6134 cat confdefs.h
>>conftest.
$ac_ext
6135 cat >>conftest.
$ac_ext <<_ACEOF
6136 /* end confdefs.h. */
6149 rm -f conftest.
$ac_objext
6150 if { (ac_try
="$ac_compile"
6152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6153 *) ac_try_echo=$ac_try;;
6155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6156 (eval "$ac_compile") 2>conftest.er1
6158 grep -v '^ *+' conftest.er1 >conftest.err
6160 cat conftest.err >&5
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); } && {
6163 test -z "$ac_cxx_werror_flag" ||
6164 test ! -s conftest.err
6165 } && test -s conftest.$ac_objext; then
6168 echo "$as_me: failed program was:" >&5
6169 sed 's/^/| /' conftest.$ac_ext >&5
6174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6175 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6178 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6179 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6180 GXX=`test $ac_compiler_gnu = yes && echo yes`
6181 ac_test_CXXFLAGS=${CXXFLAGS+set}
6182 ac_save_CXXFLAGS=$CXXFLAGS
6183 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6184 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6185 if test "${ac_cv_prog_cxx_g+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6189 ac_cxx_werror_flag=yes
6192 cat >conftest.$ac_ext <<_ACEOF
6195 cat confdefs.h >>conftest.$ac_ext
6196 cat >>conftest.$ac_ext <<_ACEOF
6197 /* end confdefs.h. */
6207 rm -f conftest.$ac_objext
6208 if { (ac_try="$ac_compile"
6210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6211 *) ac_try_echo
=$ac_try;;
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_compile") 2>conftest.er1
6216 grep -v '^ *+' conftest.er1
>conftest.err
6218 cat conftest.err
>&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } && {
6221 test -z "$ac_cxx_werror_flag" ||
6222 test ! -s conftest.err
6223 } && test -s conftest.
$ac_objext; then
6224 ac_cv_prog_cxx_g
=yes
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.
$ac_ext >&5
6230 cat >conftest.
$ac_ext <<_ACEOF
6233 cat confdefs.h
>>conftest.
$ac_ext
6234 cat >>conftest.
$ac_ext <<_ACEOF
6235 /* end confdefs.h. */
6245 rm -f conftest.
$ac_objext
6246 if { (ac_try
="$ac_compile"
6248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6249 *) ac_try_echo=$ac_try;;
6251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6252 (eval "$ac_compile") 2>conftest.er1
6254 grep -v '^ *+' conftest.er1 >conftest.err
6256 cat conftest.err >&5
6257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6258 (exit $ac_status); } && {
6259 test -z "$ac_cxx_werror_flag" ||
6260 test ! -s conftest.err
6261 } && test -s conftest.$ac_objext; then
6264 echo "$as_me: failed program was:" >&5
6265 sed 's/^/| /' conftest.$ac_ext >&5
6267 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6269 cat >conftest.$ac_ext <<_ACEOF
6272 cat confdefs.h >>conftest.$ac_ext
6273 cat >>conftest.$ac_ext <<_ACEOF
6274 /* end confdefs.h. */
6284 rm -f conftest.$ac_objext
6285 if { (ac_try="$ac_compile"
6287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6288 *) ac_try_echo
=$ac_try;;
6290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6291 (eval "$ac_compile") 2>conftest.er1
6293 grep -v '^ *+' conftest.er1
>conftest.err
6295 cat conftest.err
>&5
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); } && {
6298 test -z "$ac_cxx_werror_flag" ||
6299 test ! -s conftest.err
6300 } && test -s conftest.
$ac_objext; then
6301 ac_cv_prog_cxx_g
=yes
6303 echo "$as_me: failed program was:" >&5
6304 sed 's/^/| /' conftest.
$ac_ext >&5
6309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6316 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6318 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6319 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6320 if test "$ac_test_CXXFLAGS" = set; then
6321 CXXFLAGS
=$ac_save_CXXFLAGS
6322 elif test $ac_cv_prog_cxx_g = yes; then
6323 if test "$GXX" = yes; then
6329 if test "$GXX" = yes; then
6336 ac_cpp
='$CPP $CPPFLAGS'
6337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6341 depcc
="$CXX" am_compiler_list
=
6343 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6344 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6345 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6346 echo $ECHO_N "(cached) $ECHO_C" >&6
6348 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6349 # We make a subdir and do the tests there. Otherwise we can end up
6350 # making bogus files that we don't know about and never remove. For
6351 # instance it was reported that on HP-UX the gcc test will end up
6352 # making a dummy file named `D' -- because `-MD' means `put the output
6355 # Copy depcomp to subdir because otherwise we won't find it if we're
6356 # using a relative directory.
6357 cp "$am_depcomp" conftest.dir
6359 # We will build objects and dependencies in a subdirectory because
6360 # it helps to detect inapplicable dependency modes. For instance
6361 # both Tru64's cc and ICC support -MD to output dependencies as a
6362 # side effect of compilation, but ICC will put the dependencies in
6363 # the current directory while Tru64 will put them in the object
6367 am_cv_CXX_dependencies_compiler_type
=none
6368 if test "$am_compiler_list" = ""; then
6369 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6371 for depmode
in $am_compiler_list; do
6372 # Setup a source with many dependencies, because some compilers
6373 # like to wrap large dependency lists on column 80 (with \), and
6374 # we should not choose a depcomp mode which is confused by this.
6376 # We need to recreate these files for each test, as the compiler may
6377 # overwrite some of them when testing with obscure command lines.
6378 # This happens at least with the AIX C compiler.
6380 for i
in 1 2 3 4 5 6; do
6381 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6382 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6383 # Solaris 8's {/usr,}/bin/sh.
6384 touch sub
/conftst
$i.h
6386 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6390 # after this tag, mechanisms are not by side-effect, so they'll
6391 # only be used when explicitly requested
6392 if test "x$enable_dependency_tracking" = xyes
; then
6400 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6401 # mode. It turns out that the SunPro C++ compiler does not properly
6402 # handle `-M -o', and we need to detect this.
6403 if depmode
=$depmode \
6404 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6405 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6406 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6407 >/dev
/null
2>conftest.err
&&
6408 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6409 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6410 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6411 # icc doesn't choke on unknown options, it will just issue warnings
6412 # or remarks (even with -Werror). So we grep stderr for any message
6413 # that says an option was ignored or not supported.
6414 # When given -MP, icc 7.0 and 7.1 complain thusly:
6415 # icc: Command line warning: ignoring option '-M'; no argument required
6416 # The diagnosis changed in icc 8.0:
6417 # icc: Command line remark: option '-MP' not supported
6418 if (grep 'ignoring option' conftest.err ||
6419 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6420 am_cv_CXX_dependencies_compiler_type
=$depmode
6429 am_cv_CXX_dependencies_compiler_type
=none
6433 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6434 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6435 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6440 test "x$enable_dependency_tracking" != xno \
6441 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6442 am__fastdepCXX_TRUE
=
6443 am__fastdepCXX_FALSE
='#'
6445 am__fastdepCXX_TRUE
='#'
6446 am__fastdepCXX_FALSE
=
6450 # Check whether --enable-static was given.
6451 if test "${enable_static+set}" = set; then
6452 enableval
=$enable_static; p
=${PACKAGE-default}
6454 yes) enable_static
=yes ;;
6455 no
) enable_static
=no
;;
6458 # Look at the argument we got. We use all the common list separators.
6459 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6460 for pkg
in $enableval; do
6462 if test "X$pkg" = "X$p"; then
6475 # Check whether --enable-shared was given.
6476 if test "${enable_shared+set}" = set; then
6477 enableval
=$enable_shared; p
=${PACKAGE-default}
6479 yes) enable_shared
=yes ;;
6480 no
) enable_shared
=no
;;
6483 # Look at the argument we got. We use all the common list separators.
6484 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6485 for pkg
in $enableval; do
6487 if test "X$pkg" = "X$p"; then
6499 # Check whether --enable-fast-install was given.
6500 if test "${enable_fast_install+set}" = set; then
6501 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6503 yes) enable_fast_install
=yes ;;
6504 no
) enable_fast_install
=no
;;
6506 enable_fast_install
=no
6507 # Look at the argument we got. We use all the common list separators.
6508 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6509 for pkg
in $enableval; do
6511 if test "X$pkg" = "X$p"; then
6512 enable_fast_install
=yes
6519 enable_fast_install
=yes
6523 # Make sure we can run config.sub.
6524 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
6525 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6526 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6527 { (exit 1); exit 1; }; }
6529 { echo "$as_me:$LINENO: checking build system type" >&5
6530 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
6531 if test "${ac_cv_build+set}" = set; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 ac_build_alias
=$build_alias
6535 test "x$ac_build_alias" = x
&&
6536 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
6537 test "x$ac_build_alias" = x
&&
6538 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6539 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6540 { (exit 1); exit 1; }; }
6541 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6542 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6543 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6544 { (exit 1); exit 1; }; }
6547 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6548 echo "${ECHO_T}$ac_cv_build" >&6; }
6549 case $ac_cv_build in
6551 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
6552 echo "$as_me: error: invalid value of canonical build" >&2;}
6553 { (exit 1); exit 1; }; };;
6556 ac_save_IFS
=$IFS; IFS
='-'
6562 # Remember, the first character of IFS is used to create $*,
6563 # except with old shells:
6566 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
6569 { echo "$as_me:$LINENO: checking host system type" >&5
6570 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
6571 if test "${ac_cv_host+set}" = set; then
6572 echo $ECHO_N "(cached) $ECHO_C" >&6
6574 if test "x$host_alias" = x
; then
6575 ac_cv_host
=$ac_cv_build
6577 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6578 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
6579 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6580 { (exit 1); exit 1; }; }
6584 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6585 echo "${ECHO_T}$ac_cv_host" >&6; }
6588 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
6589 echo "$as_me: error: invalid value of canonical host" >&2;}
6590 { (exit 1); exit 1; }; };;
6593 ac_save_IFS
=$IFS; IFS
='-'
6599 # Remember, the first character of IFS is used to create $*,
6600 # except with old shells:
6603 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
6606 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6607 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
6608 if test "${lt_cv_path_SED+set}" = set; then
6609 echo $ECHO_N "(cached) $ECHO_C" >&6
6611 # Loop through the user's path and test for sed and gsed.
6612 # Then use that list of sed's as ones to test for truncation.
6613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6617 test -z "$as_dir" && as_dir
=.
6618 for lt_ac_prog
in sed gsed
; do
6619 for ac_exec_ext
in '' $ac_executable_extensions; do
6620 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
6621 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6629 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
6630 # along with /bin/sed that truncates output.
6631 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
6632 test ! -f $lt_ac_sed && continue
6633 cat /dev
/null
> conftest.
in
6635 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
6636 # Check for GNU sed and select it if it is found.
6637 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
6638 lt_cv_path_SED
=$lt_ac_sed
6642 cat conftest.
in conftest.
in >conftest.tmp
6643 mv conftest.tmp conftest.
in
6644 cp conftest.
in conftest.
nl
6646 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
6647 cmp -s conftest.out conftest.
nl ||
break
6648 # 10000 chars as input seems more than enough
6649 test $lt_ac_count -gt 10 && break
6650 lt_ac_count
=`expr $lt_ac_count + 1`
6651 if test $lt_ac_count -gt $lt_ac_max; then
6652 lt_ac_max
=$lt_ac_count
6653 lt_cv_path_SED
=$lt_ac_sed
6662 { echo "$as_me:$LINENO: result: $SED" >&5
6663 echo "${ECHO_T}$SED" >&6; }
6666 # Check whether --with-gnu-ld was given.
6667 if test "${with_gnu_ld+set}" = set; then
6668 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6674 if test "$GCC" = yes; then
6675 # Check if gcc -print-prog-name=ld gives a path.
6676 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6677 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6680 # gcc leaves a trailing carriage return which upsets mingw
6681 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6683 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6686 # Accept absolute paths.
6688 re_direlt
='/[^/][^/]*/\.\./'
6689 # Canonicalize the pathname of ld
6690 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
6691 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6692 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6694 test -z "$LD" && LD
="$ac_prog"
6697 # If it fails, then pretend we aren't using GCC.
6701 # If it is relative, then search for the first ld in PATH.
6705 elif test "$with_gnu_ld" = yes; then
6706 { echo "$as_me:$LINENO: checking for GNU ld" >&5
6707 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6709 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6710 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6712 if test "${lt_cv_path_LD+set}" = set; then
6713 echo $ECHO_N "(cached) $ECHO_C" >&6
6715 if test -z "$LD"; then
6716 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6717 for ac_dir
in $PATH; do
6719 test -z "$ac_dir" && ac_dir
=.
6720 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6721 lt_cv_path_LD
="$ac_dir/$ac_prog"
6722 # Check to see if the program is GNU ld. I'd rather use --version,
6723 # but apparently some variants of GNU ld only accept -v.
6724 # Break only if it was the GNU/non-GNU ld that we prefer.
6725 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6726 *GNU
* |
*'with BFD'*)
6727 test "$with_gnu_ld" != no
&& break
6730 test "$with_gnu_ld" != yes && break
6737 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6742 if test -n "$LD"; then
6743 { echo "$as_me:$LINENO: result: $LD" >&5
6744 echo "${ECHO_T}$LD" >&6; }
6746 { echo "$as_me:$LINENO: result: no" >&5
6747 echo "${ECHO_T}no" >&6; }
6749 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6750 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6751 { (exit 1); exit 1; }; }
6752 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6753 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6754 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6757 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6758 case `$LD -v 2>&1 </dev/null` in
6759 *GNU
* |
*'with BFD'*)
6760 lt_cv_prog_gnu_ld
=yes
6763 lt_cv_prog_gnu_ld
=no
6767 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6768 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6769 with_gnu_ld
=$lt_cv_prog_gnu_ld
6772 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6773 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6774 if test "${lt_cv_ld_reload_flag+set}" = set; then
6775 echo $ECHO_N "(cached) $ECHO_C" >&6
6777 lt_cv_ld_reload_flag
='-r'
6779 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6780 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6781 reload_flag
=$lt_cv_ld_reload_flag
6782 case $reload_flag in
6784 *) reload_flag
=" $reload_flag" ;;
6786 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6789 if test "$GCC" = yes; then
6790 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6792 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6797 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6798 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6799 if test "${lt_cv_path_NM+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6802 if test -n "$NM"; then
6803 # Let the user override the test.
6806 lt_nm_to_check
="${ac_tool_prefix}nm"
6807 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6808 lt_nm_to_check
="$lt_nm_to_check nm"
6810 for lt_tmp_nm
in $lt_nm_to_check; do
6811 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6812 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6814 test -z "$ac_dir" && ac_dir
=.
6815 tmp_nm
="$ac_dir/$lt_tmp_nm"
6816 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6817 # Check to see if the nm accepts a BSD-compat flag.
6818 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6819 # nm: unknown option "B" ignored
6820 # Tru64's nm complains that /dev/null is an invalid object file
6821 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6822 */dev
/null
* |
*'Invalid file or object type'*)
6823 lt_cv_path_NM
="$tmp_nm -B"
6827 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6829 lt_cv_path_NM
="$tmp_nm -p"
6833 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6834 continue # so that we can try to find one that supports BSD flags
6843 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6846 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6847 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6850 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6851 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6853 if test "$LN_S" = "ln -s"; then
6854 { echo "$as_me:$LINENO: result: yes" >&5
6855 echo "${ECHO_T}yes" >&6; }
6857 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6858 echo "${ECHO_T}no, using $LN_S" >&6; }
6861 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6862 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6863 if test "${lt_cv_deplibs_check_method+set}" = set; then
6864 echo $ECHO_N "(cached) $ECHO_C" >&6
6866 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6867 lt_cv_file_magic_test_file
=
6868 lt_cv_deplibs_check_method
='unknown'
6869 # Need to set the preceding variable on all platforms that support
6870 # interlibrary dependencies.
6871 # 'none' -- dependencies not supported.
6872 # `unknown' -- same as none, but documents that we really don't know.
6873 # 'pass_all' -- all dependencies passed with no checks.
6874 # 'test_compile' -- check by making test program.
6875 # 'file_magic [[regex]]' -- check by looking for files in library path
6876 # which responds to the $file_magic_cmd with a given extended regex.
6877 # If you have `file' or equivalent on your system and you're not sure
6878 # whether `pass_all' will *always* work, you probably want this one.
6882 lt_cv_deplibs_check_method
=pass_all
6886 lt_cv_deplibs_check_method
=pass_all
6890 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6891 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6892 lt_cv_file_magic_test_file
=/shlib
/libc.so
6896 # func_win32_libid is a shell function defined in ltmain.sh
6897 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6898 lt_cv_file_magic_cmd
='func_win32_libid'
6902 # Base MSYS/MinGW do not provide the 'file' command needed by
6903 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6904 # unless we find 'file', for example because we are cross-compiling.
6905 if ( file / ) >/dev
/null
2>&1; then
6906 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6907 lt_cv_file_magic_cmd
='func_win32_libid'
6909 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6910 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6914 darwin
* | rhapsody
*)
6915 lt_cv_deplibs_check_method
=pass_all
6918 freebsd
* | dragonfly
*)
6919 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
6922 # Not sure whether the presence of OpenBSD here was a mistake.
6923 # Let's accept both of them until this is cleared up.
6924 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6925 lt_cv_file_magic_cmd
=/usr
/bin
/file
6926 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6930 lt_cv_deplibs_check_method
=pass_all
6935 lt_cv_deplibs_check_method
=pass_all
6938 hpux10.20
* | hpux11
*)
6939 lt_cv_file_magic_cmd
=/usr
/bin
/file
6942 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6943 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6946 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]'
6947 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6950 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6951 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6957 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6958 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6961 irix5
* | irix6
* | nonstopux
*)
6963 *-32|
*"-32 ") libmagic
=32-bit;;
6964 *-n32|
*"-n32 ") libmagic
=N32
;;
6965 *-64|
*"-64 ") libmagic
=64-bit;;
6966 *) libmagic
=never-match
;;
6968 lt_cv_deplibs_check_method
=pass_all
6971 # This must be Linux ELF.
6972 linux
* | k
*bsd
*-gnu)
6973 lt_cv_deplibs_check_method
=pass_all
6976 netbsd
* | netbsdelf
*-gnu)
6977 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
6978 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6980 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6985 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6986 lt_cv_file_magic_cmd
=/usr
/bin
/file
6987 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6991 lt_cv_deplibs_check_method
=unknown
6995 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6996 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6998 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7002 osf3
* | osf4
* | osf5
*)
7003 lt_cv_deplibs_check_method
=pass_all
7007 lt_cv_deplibs_check_method
=pass_all
7011 lt_cv_deplibs_check_method
=pass_all
7015 case $host_vendor in
7017 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]'
7018 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7021 lt_cv_deplibs_check_method
=pass_all
7024 lt_cv_file_magic_cmd
='/bin/file'
7025 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7028 lt_cv_file_magic_cmd
='/bin/file'
7029 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7030 lt_cv_file_magic_test_file
=/lib
/libc.so
7033 lt_cv_deplibs_check_method
=pass_all
7036 lt_cv_deplibs_check_method
=pass_all
7041 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7042 lt_cv_deplibs_check_method
=pass_all
7047 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7048 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
7049 file_magic_cmd
=$lt_cv_file_magic_cmd
7050 deplibs_check_method
=$lt_cv_deplibs_check_method
7051 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7056 # If no C compiler was specified, use CC.
7059 # If no C compiler flags were specified, use CFLAGS.
7060 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7062 # Allow CC to be a program name with arguments.
7065 # Check whether --enable-libtool-lock was given.
7066 if test "${enable_libtool_lock+set}" = set; then
7067 enableval
=$enable_libtool_lock;
7070 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7072 # Some flags need to be propagated to the compiler or linker for good
7076 # Find out which ABI we are using.
7077 echo 'int i;' > conftest.
$ac_ext
7078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7079 (eval $ac_compile) 2>&5
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 (exit $ac_status); }; then
7083 case `/usr/bin/file conftest.$ac_objext` in
7095 # Find out which ABI we are using.
7096 echo '#line 7096 "configure"' > conftest.
$ac_ext
7097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7098 (eval $ac_compile) 2>&5
7100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7101 (exit $ac_status); }; then
7102 if test "$lt_cv_prog_gnu_ld" = yes; then
7103 case `/usr/bin/file conftest.$ac_objext` in
7105 LD
="${LD-ld} -melf32bsmip"
7108 LD
="${LD-ld} -melf32bmipn32"
7111 LD
="${LD-ld} -melf64bmip"
7115 case `/usr/bin/file conftest.$ac_objext` in
7131 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
7132 s390
*-*linux
*|sparc
*-*linux
*)
7133 # Find out which ABI we are using.
7134 echo 'int i;' > conftest.
$ac_ext
7135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7136 (eval $ac_compile) 2>&5
7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); }; then
7140 case `/usr/bin/file conftest.o` in
7143 x86_64-
*kfreebsd
*-gnu)
7144 LD
="${LD-ld} -m elf_i386_fbsd"
7147 LD
="${LD-ld} -m elf_i386"
7149 ppc64-
*linux
*|powerpc64-
*linux
*)
7150 LD
="${LD-ld} -m elf32ppclinux"
7153 LD
="${LD-ld} -m elf_s390"
7156 LD
="${LD-ld} -m elf32_sparc"
7162 x86_64-
*kfreebsd
*-gnu)
7163 LD
="${LD-ld} -m elf_x86_64_fbsd"
7166 LD
="${LD-ld} -m elf_x86_64"
7168 ppc
*-*linux
*|powerpc
*-*linux
*)
7169 LD
="${LD-ld} -m elf64ppc"
7172 LD
="${LD-ld} -m elf64_s390"
7175 LD
="${LD-ld} -m elf64_sparc"
7185 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7186 SAVE_CFLAGS
="$CFLAGS"
7187 CFLAGS
="$CFLAGS -belf"
7188 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7189 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7190 if test "${lt_cv_cc_needs_belf+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7194 ac_cpp
='$CPP $CPPFLAGS'
7195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7199 cat >conftest.
$ac_ext <<_ACEOF
7202 cat confdefs.h
>>conftest.
$ac_ext
7203 cat >>conftest.
$ac_ext <<_ACEOF
7204 /* end confdefs.h. */
7214 rm -f conftest.
$ac_objext conftest
$ac_exeext
7215 if { (ac_try
="$ac_link"
7217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7218 *) ac_try_echo=$ac_try;;
7220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7221 (eval "$ac_link") 2>conftest.er1
7223 grep -v '^ *+' conftest.er1 >conftest.err
7225 cat conftest.err >&5
7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227 (exit $ac_status); } && {
7228 test -z "$ac_c_werror_flag" ||
7229 test ! -s conftest.err
7230 } && test -s conftest$ac_exeext &&
7231 $as_test_x conftest$ac_exeext; then
7232 lt_cv_cc_needs_belf=yes
7234 echo "$as_me: failed program was:" >&5
7235 sed 's/^/| /' conftest.$ac_ext >&5
7237 lt_cv_cc_needs_belf=no
7240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7241 conftest$ac_exeext conftest.$ac_ext
7243 ac_cpp='$CPP $CPPFLAGS'
7244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7249 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7250 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7251 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7252 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7253 CFLAGS="$SAVE_CFLAGS"
7257 # Find out which ABI we are using.
7258 echo 'int i;' > conftest.$ac_ext
7259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7260 (eval $ac_compile) 2>&5
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); }; then
7264 case `/usr
/bin
/file conftest.o
` in
7266 case $lt_cv_prog_gnu_ld in
7267 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7269 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7283 need_locks="$enable_libtool_lock"
7286 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7296 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7297 inttypes.h stdint.h unistd.h
7299 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7300 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7303 echo $ECHO_N "(cached) $ECHO_C" >&6
7305 cat >conftest.$ac_ext <<_ACEOF
7308 cat confdefs.h >>conftest.$ac_ext
7309 cat >>conftest.$ac_ext <<_ACEOF
7310 /* end confdefs.h. */
7311 $ac_includes_default
7313 #include <$ac_header>
7315 rm -f conftest.$ac_objext
7316 if { (ac_try="$ac_compile"
7318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7319 *) ac_try_echo
=$ac_try;;
7321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7322 (eval "$ac_compile") 2>conftest.er1
7324 grep -v '^ *+' conftest.er1
>conftest.err
7326 cat conftest.err
>&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } && {
7329 test -z "$ac_c_werror_flag" ||
7330 test ! -s conftest.err
7331 } && test -s conftest.
$ac_objext; then
7332 eval "$as_ac_Header=yes"
7334 echo "$as_me: failed program was:" >&5
7335 sed 's/^/| /' conftest.
$ac_ext >&5
7337 eval "$as_ac_Header=no"
7340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7342 ac_res
=`eval echo '${'$as_ac_Header'}'`
7343 { echo "$as_me:$LINENO: result: $ac_res" >&5
7344 echo "${ECHO_T}$ac_res" >&6; }
7345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7346 cat >>confdefs.h
<<_ACEOF
7347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7356 for ac_header
in dlfcn.h
7358 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7359 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7360 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7362 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7363 echo $ECHO_N "(cached) $ECHO_C" >&6
7365 ac_res
=`eval echo '${'$as_ac_Header'}'`
7366 { echo "$as_me:$LINENO: result: $ac_res" >&5
7367 echo "${ECHO_T}$ac_res" >&6; }
7369 # Is the header compilable?
7370 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7372 cat >conftest.
$ac_ext <<_ACEOF
7375 cat confdefs.h
>>conftest.
$ac_ext
7376 cat >>conftest.
$ac_ext <<_ACEOF
7377 /* end confdefs.h. */
7378 $ac_includes_default
7379 #include <$ac_header>
7381 rm -f conftest.
$ac_objext
7382 if { (ac_try
="$ac_compile"
7384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7385 *) ac_try_echo=$ac_try;;
7387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7388 (eval "$ac_compile") 2>conftest.er1
7390 grep -v '^ *+' conftest.er1 >conftest.err
7392 cat conftest.err >&5
7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 (exit $ac_status); } && {
7395 test -z "$ac_c_werror_flag" ||
7396 test ! -s conftest.err
7397 } && test -s conftest.$ac_objext; then
7398 ac_header_compiler=yes
7400 echo "$as_me: failed program was:" >&5
7401 sed 's/^/| /' conftest.$ac_ext >&5
7403 ac_header_compiler=no
7406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7407 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7408 echo "${ECHO_T}$ac_header_compiler" >&6; }
7410 # Is the header present?
7411 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7412 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7413 cat >conftest.$ac_ext <<_ACEOF
7416 cat confdefs.h >>conftest.$ac_ext
7417 cat >>conftest.$ac_ext <<_ACEOF
7418 /* end confdefs.h. */
7419 #include <$ac_header>
7421 if { (ac_try="$ac_cpp conftest.$ac_ext"
7423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7424 *) ac_try_echo
=$ac_try;;
7426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7429 grep -v '^ *+' conftest.er1
>conftest.err
7431 cat conftest.err
>&5
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 (exit $ac_status); } >/dev
/null
&& {
7434 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7435 test ! -s conftest.err
7437 ac_header_preproc
=yes
7439 echo "$as_me: failed program was:" >&5
7440 sed 's/^/| /' conftest.
$ac_ext >&5
7442 ac_header_preproc
=no
7445 rm -f conftest.err conftest.
$ac_ext
7446 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7447 echo "${ECHO_T}$ac_header_preproc" >&6; }
7449 # So? What about this header?
7450 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7452 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7453 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7455 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7456 ac_header_preproc
=yes
7459 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7460 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7461 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7462 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7463 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7464 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7465 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7466 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7468 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7469 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7470 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7474 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7476 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7477 echo $ECHO_N "(cached) $ECHO_C" >&6
7479 eval "$as_ac_Header=\$ac_header_preproc"
7481 ac_res
=`eval echo '${'$as_ac_Header'}'`
7482 { echo "$as_me:$LINENO: result: $ac_res" >&5
7483 echo "${ECHO_T}$ac_res" >&6; }
7486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7487 cat >>confdefs.h
<<_ACEOF
7488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7497 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7498 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7499 (test "X$CXX" != "Xg++"))) ; then
7501 ac_cpp
='$CXXCPP $CPPFLAGS'
7502 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7503 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7504 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7505 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7506 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7507 if test -z "$CXXCPP"; then
7508 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 # Double quotes because CXXCPP needs to be expanded
7512 for CXXCPP
in "$CXX -E" "/lib/cpp"
7515 for ac_cxx_preproc_warn_flag
in '' yes
7517 # Use a header file that comes with gcc, so configuring glibc
7518 # with a fresh cross-compiler works.
7519 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7520 # <limits.h> exists even on freestanding compilers.
7521 # On the NeXT, cc -E runs the code through the compiler's parser,
7522 # not just through cpp. "Syntax error" is here to catch this case.
7523 cat >conftest.
$ac_ext <<_ACEOF
7526 cat confdefs.h
>>conftest.
$ac_ext
7527 cat >>conftest.
$ac_ext <<_ACEOF
7528 /* end confdefs.h. */
7530 # include <limits.h>
7532 # include <assert.h>
7536 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7539 *) ac_try_echo=$ac_try;;
7541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7542 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7544 grep -v '^ *+' conftest.er1 >conftest.err
7546 cat conftest.err >&5
7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548 (exit $ac_status); } >/dev/null && {
7549 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7550 test ! -s conftest.err
7554 echo "$as_me: failed program was:" >&5
7555 sed 's/^/| /' conftest.$ac_ext >&5
7557 # Broken: fails on valid input.
7561 rm -f conftest.err conftest.$ac_ext
7563 # OK, works on sane cases. Now check whether nonexistent headers
7564 # can be detected and how.
7565 cat >conftest.$ac_ext <<_ACEOF
7568 cat confdefs.h >>conftest.$ac_ext
7569 cat >>conftest.$ac_ext <<_ACEOF
7570 /* end confdefs.h. */
7571 #include <ac_nonexistent.h>
7573 if { (ac_try="$ac_cpp conftest.$ac_ext"
7575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7576 *) ac_try_echo
=$ac_try;;
7578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7581 grep -v '^ *+' conftest.er1
>conftest.err
7583 cat conftest.err
>&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); } >/dev
/null
&& {
7586 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7587 test ! -s conftest.err
7589 # Broken: success on invalid input.
7592 echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.
$ac_ext >&5
7595 # Passes both tests.
7600 rm -f conftest.err conftest.
$ac_ext
7603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7604 rm -f conftest.err conftest.
$ac_ext
7605 if $ac_preproc_ok; then
7610 ac_cv_prog_CXXCPP
=$CXXCPP
7613 CXXCPP
=$ac_cv_prog_CXXCPP
7615 ac_cv_prog_CXXCPP
=$CXXCPP
7617 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7618 echo "${ECHO_T}$CXXCPP" >&6; }
7620 for ac_cxx_preproc_warn_flag
in '' yes
7622 # Use a header file that comes with gcc, so configuring glibc
7623 # with a fresh cross-compiler works.
7624 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7625 # <limits.h> exists even on freestanding compilers.
7626 # On the NeXT, cc -E runs the code through the compiler's parser,
7627 # not just through cpp. "Syntax error" is here to catch this case.
7628 cat >conftest.
$ac_ext <<_ACEOF
7631 cat confdefs.h
>>conftest.
$ac_ext
7632 cat >>conftest.
$ac_ext <<_ACEOF
7633 /* end confdefs.h. */
7635 # include <limits.h>
7637 # include <assert.h>
7641 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7644 *) ac_try_echo=$ac_try;;
7646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7649 grep -v '^ *+' conftest.er1 >conftest.err
7651 cat conftest.err >&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); } >/dev/null && {
7654 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7655 test ! -s conftest.err
7659 echo "$as_me: failed program was:" >&5
7660 sed 's/^/| /' conftest.$ac_ext >&5
7662 # Broken: fails on valid input.
7666 rm -f conftest.err conftest.$ac_ext
7668 # OK, works on sane cases. Now check whether nonexistent headers
7669 # can be detected and how.
7670 cat >conftest.$ac_ext <<_ACEOF
7673 cat confdefs.h >>conftest.$ac_ext
7674 cat >>conftest.$ac_ext <<_ACEOF
7675 /* end confdefs.h. */
7676 #include <ac_nonexistent.h>
7678 if { (ac_try="$ac_cpp conftest.$ac_ext"
7680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7681 *) ac_try_echo
=$ac_try;;
7683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7684 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7686 grep -v '^ *+' conftest.er1
>conftest.err
7688 cat conftest.err
>&5
7689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690 (exit $ac_status); } >/dev
/null
&& {
7691 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7692 test ! -s conftest.err
7694 # Broken: success on invalid input.
7697 echo "$as_me: failed program was:" >&5
7698 sed 's/^/| /' conftest.
$ac_ext >&5
7700 # Passes both tests.
7705 rm -f conftest.err conftest.
$ac_ext
7708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7709 rm -f conftest.err conftest.
$ac_ext
7710 if $ac_preproc_ok; then
7713 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7714 See \`config.log' for more details." >&5
7715 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7716 See \`config.log' for more details." >&2;}
7717 { (exit 1); exit 1; }; }
7721 ac_cpp
='$CXXCPP $CPPFLAGS'
7722 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7723 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7724 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7730 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7731 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7732 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
7733 if test -n "$ac_tool_prefix"; then
7734 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
7736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7737 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7740 if test "${ac_cv_prog_F77+set}" = set; then
7741 echo $ECHO_N "(cached) $ECHO_C" >&6
7743 if test -n "$F77"; then
7744 ac_cv_prog_F77
="$F77" # Let the user override the test.
7746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7750 test -z "$as_dir" && as_dir
=.
7751 for ac_exec_ext
in '' $ac_executable_extensions; do
7752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7753 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
7754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7764 if test -n "$F77"; then
7765 { echo "$as_me:$LINENO: result: $F77" >&5
7766 echo "${ECHO_T}$F77" >&6; }
7768 { echo "$as_me:$LINENO: result: no" >&5
7769 echo "${ECHO_T}no" >&6; }
7773 test -n "$F77" && break
7776 if test -z "$F77"; then
7778 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
7780 # Extract the first word of "$ac_prog", so it can be a program name with args.
7781 set dummy
$ac_prog; ac_word
=$2
7782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7784 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7785 echo $ECHO_N "(cached) $ECHO_C" >&6
7787 if test -n "$ac_ct_F77"; then
7788 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
7790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7794 test -z "$as_dir" && as_dir
=.
7795 for ac_exec_ext
in '' $ac_executable_extensions; do
7796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7797 ac_cv_prog_ac_ct_F77
="$ac_prog"
7798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7807 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
7808 if test -n "$ac_ct_F77"; then
7809 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7810 echo "${ECHO_T}$ac_ct_F77" >&6; }
7812 { echo "$as_me:$LINENO: result: no" >&5
7813 echo "${ECHO_T}no" >&6; }
7817 test -n "$ac_ct_F77" && break
7820 if test "x$ac_ct_F77" = x
; then
7823 case $cross_compiling:$ac_tool_warned in
7825 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7826 whose name does not start with the host triplet. If you think this
7827 configuration is useful to you, please write to autoconf@gnu.org." >&5
7828 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7829 whose name does not start with the host triplet. If you think this
7830 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7831 ac_tool_warned
=yes ;;
7838 # Provide some information about the compiler.
7839 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7840 ac_compiler
=`set X $ac_compile; echo $2`
7841 { (ac_try
="$ac_compiler --version >&5"
7843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7844 *) ac_try_echo=$ac_try;;
7846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7847 (eval "$ac_compiler --version >&5") 2>&5
7849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850 (exit $ac_status); }
7851 { (ac_try="$ac_compiler -v >&5"
7853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7854 *) ac_try_echo
=$ac_try;;
7856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7857 (eval "$ac_compiler -v >&5") 2>&5
7859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860 (exit $ac_status); }
7861 { (ac_try
="$ac_compiler -V >&5"
7863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7864 *) ac_try_echo=$ac_try;;
7866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7867 (eval "$ac_compiler -V >&5") 2>&5
7869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870 (exit $ac_status); }
7873 # If we don't use `.F
' as extension, the preprocessor is not run on the
7874 # input file. (Note that this only needs to work for GNU compilers.)
7877 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7878 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7879 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7880 echo $ECHO_N "(cached) $ECHO_C" >&6
7882 cat >conftest.$ac_ext <<_ACEOF
7890 rm -f conftest.$ac_objext
7891 if { (ac_try="$ac_compile"
7893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7894 *) ac_try_echo=$ac_try;;
7896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7897 (eval "$ac_compile") 2>conftest.er1
7899 grep -v '^
*+' conftest.er1 >conftest.err
7901 cat conftest.err >&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); } && {
7904 test -z "$ac_f77_werror_flag" ||
7905 test ! -s conftest.err
7906 } && test -s conftest.$ac_objext; then
7909 echo "$as_me: failed program was:" >&5
7910 sed 's
/^
/|
/' conftest.$ac_ext >&5
7915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7916 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7919 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7920 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7922 ac_test_FFLAGS=${FFLAGS+set}
7923 ac_save_FFLAGS=$FFLAGS
7925 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7926 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7927 if test "${ac_cv_prog_f77_g+set}" = set; then
7928 echo $ECHO_N "(cached) $ECHO_C" >&6
7931 cat >conftest.$ac_ext <<_ACEOF
7936 rm -f conftest.$ac_objext
7937 if { (ac_try="$ac_compile"
7939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7940 *) ac_try_echo=$ac_try;;
7942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7943 (eval "$ac_compile") 2>conftest.er1
7945 grep -v '^
*+' conftest.er1 >conftest.err
7947 cat conftest.err >&5
7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); } && {
7950 test -z "$ac_f77_werror_flag" ||
7951 test ! -s conftest.err
7952 } && test -s conftest.$ac_objext; then
7953 ac_cv_prog_f77_g=yes
7955 echo "$as_me: failed program was:" >&5
7956 sed 's
/^
/|
/' conftest.$ac_ext >&5
7961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7964 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7965 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7966 if test "$ac_test_FFLAGS" = set; then
7967 FFLAGS=$ac_save_FFLAGS
7968 elif test $ac_cv_prog_f77_g = yes; then
7969 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7975 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7982 G77=`test $ac_compiler_gnu = yes && echo yes`
7984 ac_cpp='$CPP $CPPFLAGS'
7985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7986 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7991 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
7992 # find the maximum length of command line arguments
7993 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7994 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7995 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7996 echo $ECHO_N "(cached) $ECHO_C" >&6
8003 # On DJGPP, this test can blow up pretty badly due to problems in libc
8004 # (any single argument exceeding 2000 bytes causes a buffer overrun
8005 # during glob expansion). Even if it were fixed, the result of this
8006 # check would be larger than it should be.
8007 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
8011 # Under GNU Hurd, this test is not required because there is
8012 # no limit to the length of command line arguments.
8013 # Libtool will interpret -1 as no limit whatsoever
8014 lt_cv_sys_max_cmd_len
=-1;
8018 # On Win9x/ME, this test blows up -- it succeeds, but takes
8019 # about 5 minutes as the teststring grows exponentially.
8020 # Worse, since 9x/ME are not pre-emptively multitasking,
8021 # you end up with a "frozen" computer, even though with patience
8022 # the test eventually succeeds (with a max line length of 256k).
8023 # Instead, let's just punt: use the minimum linelength reported by
8024 # all of the supported platforms: 8192 (on NT/2K/XP).
8025 lt_cv_sys_max_cmd_len
=8192;
8029 # On AmigaOS with pdksh, this test takes hours, literally.
8030 # So we just punt and use a minimum line length of 8192.
8031 lt_cv_sys_max_cmd_len
=8192;
8034 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
8035 # This has been around since 386BSD, at least. Likely further.
8036 if test -x /sbin
/sysctl
; then
8037 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
8038 elif test -x /usr
/sbin
/sysctl
; then
8039 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
8041 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
8043 # And add a safety zone
8044 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8045 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8049 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8050 lt_cv_sys_max_cmd_len
=196608
8054 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8055 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8056 # nice to cause kernel panics so lets avoid the loop below.
8057 # First set a reasonable default.
8058 lt_cv_sys_max_cmd_len
=16384
8060 if test -x /sbin
/sysconfig
; then
8061 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8062 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
8067 lt_cv_sys_max_cmd_len
=102400
8069 sysv5
* | sco5v6
* | sysv4.2uw2
*)
8070 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8071 if test -n "$kargmax"; then
8072 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
8074 lt_cv_sys_max_cmd_len
=32768
8078 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
8079 if test -n "$lt_cv_sys_max_cmd_len"; then
8080 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8081 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8083 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
8084 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
8085 = "XX$teststring") >/dev
/null
2>&1 &&
8086 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
8087 lt_cv_sys_max_cmd_len
=$new_result &&
8088 test $i != 17 # 1/2 MB should be enough
8091 teststring
=$teststring$teststring
8094 # Add a significant safety factor because C++ compilers can tack on massive
8095 # amounts of additional arguments before passing them to the linker.
8096 # It appears as though 1/2 is a usable value.
8097 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
8104 if test -n $lt_cv_sys_max_cmd_len ; then
8105 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8106 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8108 { echo "$as_me:$LINENO: result: none" >&5
8109 echo "${ECHO_T}none" >&6; }
8116 # Check for command to grab the raw symbol name followed by C symbol from nm.
8117 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8118 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
8119 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8120 echo $ECHO_N "(cached) $ECHO_C" >&6
8123 # These are sane defaults that work on at least a few old systems.
8124 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8126 # Character class describing NM global symbol codes.
8127 symcode
='[BCDEGRST]'
8129 # Regexp to match symbols that can be accessed directly from C.
8130 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8132 # Transform an extracted symbol line into a proper C declaration
8133 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8135 # Transform an extracted symbol line into symbol name and symbol address
8136 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'"
8138 # Define system-specific variables.
8143 cygwin
* | mingw
* | pw32
*)
8144 symcode
='[ABCDGISTW]'
8146 hpux
*) # Its linker distinguishes data from code symbols
8147 if test "$host_cpu" = ia64
; then
8148 symcode
='[ABCDEGRST]'
8150 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8151 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'"
8153 linux
* | k
*bsd
*-gnu)
8154 if test "$host_cpu" = ia64
; then
8155 symcode
='[ABCDGIRSTW]'
8156 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8157 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'"
8161 symcode
='[BCDEGRST]'
8164 symcode
='[BCDEGQRST]'
8175 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8183 # Handle CRLF in mingw tool chain
8187 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8191 # If we're using GNU nm, then use its standard symbol codes.
8192 case `$NM -V 2>&1` in
8193 *GNU
* |
*'with BFD'*)
8194 symcode
='[ABCDGIRSTW]' ;;
8197 # Try without a prefix undercore, then with it.
8198 for ac_symprfx
in "" "_"; do
8200 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8201 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8203 # Write the raw and C identifiers.
8204 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8206 # Check to see that the pipe works correctly.
8210 cat > conftest.
$ac_ext <<EOF
8215 void nm_test_func(){}
8219 int main(){nm_test_var='a';nm_test_func();return(0);}
8222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8223 (eval $ac_compile) 2>&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }; then
8227 # Now try to grab the symbols.
8229 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8230 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 (exit $ac_status); } && test -s "$nlist"; then
8234 # Try sorting and uniquifying the output.
8235 if sort "$nlist" |
uniq > "$nlist"T
; then
8236 mv -f "$nlist"T
"$nlist"
8241 # Make sure that we snagged all the symbols we need.
8242 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
8243 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
8244 cat <<EOF > conftest.$ac_ext
8250 # Now generate the symbol file.
8251 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8253 cat <<EOF >> conftest.$ac_ext
8254 #if defined (__STDC__) && __STDC__
8255 # define lt_ptr_t void *
8257 # define lt_ptr_t char *
8261 /* The mapping between symbol names and symbols. */
8266 lt_preloaded_symbols[] =
8269 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
8270 cat <<\EOF
>> conftest.
$ac_ext
8278 # Now try linking the two files.
8279 mv conftest.
$ac_objext conftstm.
$ac_objext
8280 lt_save_LIBS
="$LIBS"
8281 lt_save_CFLAGS
="$CFLAGS"
8282 LIBS
="conftstm.$ac_objext"
8283 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8285 (eval $ac_link) 2>&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
8291 LIBS
="$lt_save_LIBS"
8292 CFLAGS
="$lt_save_CFLAGS"
8294 echo "cannot find nm_test_func in $nlist" >&5
8297 echo "cannot find nm_test_var in $nlist" >&5
8300 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8303 echo "$progname: failed program was:" >&5
8304 cat conftest.
$ac_ext >&5
8306 rm -rf conftest
* conftst
*
8308 # Do not use the global_symbol_pipe unless it works.
8309 if test "$pipe_works" = yes; then
8312 lt_cv_sys_global_symbol_pipe
=
8318 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8319 lt_cv_sys_global_symbol_to_cdecl
=
8321 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8322 { echo "$as_me:$LINENO: result: failed" >&5
8323 echo "${ECHO_T}failed" >&6; }
8325 { echo "$as_me:$LINENO: result: ok" >&5
8326 echo "${ECHO_T}ok" >&6; }
8329 { echo "$as_me:$LINENO: checking for objdir" >&5
8330 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8331 if test "${lt_cv_objdir+set}" = set; then
8332 echo $ECHO_N "(cached) $ECHO_C" >&6
8334 rm -f .libs
2>/dev
/null
8335 mkdir .libs
2>/dev
/null
8336 if test -d .libs
; then
8339 # MS-DOS does not allow filenames that begin with a dot.
8342 rmdir .libs
2>/dev
/null
8344 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8345 echo "${ECHO_T}$lt_cv_objdir" >&6; }
8346 objdir
=$lt_cv_objdir
8354 # AIX sometimes has problems with the GCC collect2 program. For some
8355 # reason, if we set the COLLECT_NAMES environment variable, the problems
8356 # vanish in a puff of smoke.
8357 if test "X${COLLECT_NAMES+set}" != Xset
; then
8359 export COLLECT_NAMES
8364 # Sed substitution that helps us do robust quoting. It backslashifies
8365 # metacharacters that are still active within double-quoted strings.
8366 Xsed
='sed -e 1s/^X//'
8367 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
8369 # Same as above, but do not quote variable references.
8370 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
8372 # Sed substitution to delay expansion of an escaped shell variable in a
8373 # double_quote_subst'ed string.
8374 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8376 # Sed substitution to avoid accidental globbing in evaled expressions
8377 no_glob_subst
='s/\*/\\\*/g'
8383 default_ofile
=libtool
8384 can_build_shared
=yes
8386 # All known linkers require a `.a' archive for static linking (except MSVC,
8387 # which needs '.lib').
8389 ltmain
="$ac_aux_dir/ltmain.sh"
8390 ofile
="$default_ofile"
8391 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8393 if test -n "$ac_tool_prefix"; then
8394 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8395 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8398 if test "${ac_cv_prog_AR+set}" = set; then
8399 echo $ECHO_N "(cached) $ECHO_C" >&6
8401 if test -n "$AR"; then
8402 ac_cv_prog_AR
="$AR" # Let the user override the test.
8404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8408 test -z "$as_dir" && as_dir
=.
8409 for ac_exec_ext
in '' $ac_executable_extensions; do
8410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8411 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8422 if test -n "$AR"; then
8423 { echo "$as_me:$LINENO: result: $AR" >&5
8424 echo "${ECHO_T}$AR" >&6; }
8426 { echo "$as_me:$LINENO: result: no" >&5
8427 echo "${ECHO_T}no" >&6; }
8432 if test -z "$ac_cv_prog_AR"; then
8434 # Extract the first word of "ar", so it can be a program name with args.
8435 set dummy
ar; ac_word
=$2
8436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8438 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8439 echo $ECHO_N "(cached) $ECHO_C" >&6
8441 if test -n "$ac_ct_AR"; then
8442 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8448 test -z "$as_dir" && as_dir
=.
8449 for ac_exec_ext
in '' $ac_executable_extensions; do
8450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8451 ac_cv_prog_ac_ct_AR
="ar"
8452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8461 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8462 if test -n "$ac_ct_AR"; then
8463 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8464 echo "${ECHO_T}$ac_ct_AR" >&6; }
8466 { echo "$as_me:$LINENO: result: no" >&5
8467 echo "${ECHO_T}no" >&6; }
8470 if test "x$ac_ct_AR" = x
; then
8473 case $cross_compiling:$ac_tool_warned in
8475 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8476 whose name does not start with the host triplet. If you think this
8477 configuration is useful to you, please write to autoconf@gnu.org." >&5
8478 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8479 whose name does not start with the host triplet. If you think this
8480 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8481 ac_tool_warned
=yes ;;
8489 if test -n "$ac_tool_prefix"; then
8490 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8491 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8494 if test "${ac_cv_prog_RANLIB+set}" = set; then
8495 echo $ECHO_N "(cached) $ECHO_C" >&6
8497 if test -n "$RANLIB"; then
8498 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8504 test -z "$as_dir" && as_dir
=.
8505 for ac_exec_ext
in '' $ac_executable_extensions; do
8506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8507 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8517 RANLIB
=$ac_cv_prog_RANLIB
8518 if test -n "$RANLIB"; then
8519 { echo "$as_me:$LINENO: result: $RANLIB" >&5
8520 echo "${ECHO_T}$RANLIB" >&6; }
8522 { echo "$as_me:$LINENO: result: no" >&5
8523 echo "${ECHO_T}no" >&6; }
8528 if test -z "$ac_cv_prog_RANLIB"; then
8529 ac_ct_RANLIB
=$RANLIB
8530 # Extract the first word of "ranlib", so it can be a program name with args.
8531 set dummy ranlib
; ac_word
=$2
8532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8534 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8535 echo $ECHO_N "(cached) $ECHO_C" >&6
8537 if test -n "$ac_ct_RANLIB"; then
8538 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8544 test -z "$as_dir" && as_dir
=.
8545 for ac_exec_ext
in '' $ac_executable_extensions; do
8546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8547 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8557 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8558 if test -n "$ac_ct_RANLIB"; then
8559 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8560 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8562 { echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6; }
8566 if test "x$ac_ct_RANLIB" = x
; then
8569 case $cross_compiling:$ac_tool_warned in
8571 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8572 whose name does not start with the host triplet. If you think this
8573 configuration is useful to you, please write to autoconf@gnu.org." >&5
8574 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8575 whose name does not start with the host triplet. If you think this
8576 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8577 ac_tool_warned
=yes ;;
8579 RANLIB
=$ac_ct_RANLIB
8582 RANLIB
="$ac_cv_prog_RANLIB"
8585 if test -n "$ac_tool_prefix"; then
8586 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8587 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8590 if test "${ac_cv_prog_STRIP+set}" = set; then
8591 echo $ECHO_N "(cached) $ECHO_C" >&6
8593 if test -n "$STRIP"; then
8594 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8600 test -z "$as_dir" && as_dir
=.
8601 for ac_exec_ext
in '' $ac_executable_extensions; do
8602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8603 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8613 STRIP
=$ac_cv_prog_STRIP
8614 if test -n "$STRIP"; then
8615 { echo "$as_me:$LINENO: result: $STRIP" >&5
8616 echo "${ECHO_T}$STRIP" >&6; }
8618 { echo "$as_me:$LINENO: result: no" >&5
8619 echo "${ECHO_T}no" >&6; }
8624 if test -z "$ac_cv_prog_STRIP"; then
8626 # Extract the first word of "strip", so it can be a program name with args.
8627 set dummy strip
; ac_word
=$2
8628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8630 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8633 if test -n "$ac_ct_STRIP"; then
8634 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8640 test -z "$as_dir" && as_dir
=.
8641 for ac_exec_ext
in '' $ac_executable_extensions; do
8642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8643 ac_cv_prog_ac_ct_STRIP
="strip"
8644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8653 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8654 if test -n "$ac_ct_STRIP"; then
8655 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8656 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8658 { echo "$as_me:$LINENO: result: no" >&5
8659 echo "${ECHO_T}no" >&6; }
8662 if test "x$ac_ct_STRIP" = x
; then
8665 case $cross_compiling:$ac_tool_warned in
8667 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8668 whose name does not start with the host triplet. If you think this
8669 configuration is useful to you, please write to autoconf@gnu.org." >&5
8670 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8671 whose name does not start with the host triplet. If you think this
8672 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8673 ac_tool_warned
=yes ;;
8678 STRIP
="$ac_cv_prog_STRIP"
8683 old_CFLAGS
="$CFLAGS"
8685 # Set sane defaults for various variables
8686 test -z "$AR" && AR
=ar
8687 test -z "$AR_FLAGS" && AR_FLAGS
=cru
8688 test -z "$AS" && AS
=as
8689 test -z "$CC" && CC
=cc
8690 test -z "$LTCC" && LTCC
=$CC
8691 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8692 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8693 test -z "$LD" && LD
=ld
8694 test -z "$LN_S" && LN_S
="ln -s"
8695 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8696 test -z "$NM" && NM
=nm
8697 test -z "$SED" && SED
=sed
8698 test -z "$OBJDUMP" && OBJDUMP
=objdump
8699 test -z "$RANLIB" && RANLIB
=:
8700 test -z "$STRIP" && STRIP
=:
8701 test -z "$ac_objext" && ac_objext
=o
8703 # Determine commands to create old-style static archives.
8704 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8705 old_postinstall_cmds
='chmod 644 $oldlib'
8706 old_postuninstall_cmds
=
8708 if test -n "$RANLIB"; then
8711 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8714 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8717 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8720 for cc_temp
in $compiler""; do
8722 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8723 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8728 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8731 # Only perform the check for file, if the check method requires it
8732 case $deplibs_check_method in
8734 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8735 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8736 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8737 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8738 echo $ECHO_N "(cached) $ECHO_C" >&6
8742 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8745 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8746 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8747 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8748 for ac_dir
in $ac_dummy; do
8750 test -z "$ac_dir" && ac_dir
=.
8751 if test -f $ac_dir/${ac_tool_prefix}file; then
8752 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8753 if test -n "$file_magic_test_file"; then
8754 case $deplibs_check_method in
8756 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8757 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8758 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8759 $EGREP "$file_magic_regex" > /dev
/null
; then
8764 *** Warning: the command libtool uses to detect shared libraries,
8765 *** $file_magic_cmd, produces output that libtool cannot recognize.
8766 *** The result is that libtool may fail to recognize shared libraries
8767 *** as such. This will affect the creation of libtool libraries that
8768 *** depend on shared libraries, but programs linked with such libtool
8769 *** libraries will work regardless of this problem. Nevertheless, you
8770 *** may want to report the problem to your system manager and/or to
8771 *** bug-libtool@gnu.org
8781 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8786 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8787 if test -n "$MAGIC_CMD"; then
8788 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8789 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8791 { echo "$as_me:$LINENO: result: no" >&5
8792 echo "${ECHO_T}no" >&6; }
8795 if test -z "$lt_cv_path_MAGIC_CMD"; then
8796 if test -n "$ac_tool_prefix"; then
8797 { echo "$as_me:$LINENO: checking for file" >&5
8798 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8799 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8800 echo $ECHO_N "(cached) $ECHO_C" >&6
8804 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8807 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8808 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8809 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8810 for ac_dir
in $ac_dummy; do
8812 test -z "$ac_dir" && ac_dir
=.
8813 if test -f $ac_dir/file; then
8814 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8815 if test -n "$file_magic_test_file"; then
8816 case $deplibs_check_method in
8818 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8819 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8820 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8821 $EGREP "$file_magic_regex" > /dev
/null
; then
8826 *** Warning: the command libtool uses to detect shared libraries,
8827 *** $file_magic_cmd, produces output that libtool cannot recognize.
8828 *** The result is that libtool may fail to recognize shared libraries
8829 *** as such. This will affect the creation of libtool libraries that
8830 *** depend on shared libraries, but programs linked with such libtool
8831 *** libraries will work regardless of this problem. Nevertheless, you
8832 *** may want to report the problem to your system manager and/or to
8833 *** bug-libtool@gnu.org
8843 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8848 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8849 if test -n "$MAGIC_CMD"; then
8850 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8851 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8853 { echo "$as_me:$LINENO: result: no" >&5
8854 echo "${ECHO_T}no" >&6; }
8868 rhapsody
* | darwin
*)
8869 if test -n "$ac_tool_prefix"; then
8870 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8871 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8874 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8875 echo $ECHO_N "(cached) $ECHO_C" >&6
8877 if test -n "$DSYMUTIL"; then
8878 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8884 test -z "$as_dir" && as_dir
=.
8885 for ac_exec_ext
in '' $ac_executable_extensions; do
8886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8887 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8897 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8898 if test -n "$DSYMUTIL"; then
8899 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8900 echo "${ECHO_T}$DSYMUTIL" >&6; }
8902 { echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6; }
8908 if test -z "$ac_cv_prog_DSYMUTIL"; then
8909 ac_ct_DSYMUTIL
=$DSYMUTIL
8910 # Extract the first word of "dsymutil", so it can be a program name with args.
8911 set dummy dsymutil
; ac_word
=$2
8912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8914 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8915 echo $ECHO_N "(cached) $ECHO_C" >&6
8917 if test -n "$ac_ct_DSYMUTIL"; then
8918 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8924 test -z "$as_dir" && as_dir
=.
8925 for ac_exec_ext
in '' $ac_executable_extensions; do
8926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8927 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8937 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8938 if test -n "$ac_ct_DSYMUTIL"; then
8939 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8940 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
8942 { echo "$as_me:$LINENO: result: no" >&5
8943 echo "${ECHO_T}no" >&6; }
8946 if test "x$ac_ct_DSYMUTIL" = x
; then
8949 case $cross_compiling:$ac_tool_warned in
8951 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8952 whose name does not start with the host triplet. If you think this
8953 configuration is useful to you, please write to autoconf@gnu.org." >&5
8954 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8955 whose name does not start with the host triplet. If you think this
8956 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8957 ac_tool_warned
=yes ;;
8959 DSYMUTIL
=$ac_ct_DSYMUTIL
8962 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8965 if test -n "$ac_tool_prefix"; then
8966 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8967 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8970 if test "${ac_cv_prog_NMEDIT+set}" = set; then
8971 echo $ECHO_N "(cached) $ECHO_C" >&6
8973 if test -n "$NMEDIT"; then
8974 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8980 test -z "$as_dir" && as_dir
=.
8981 for ac_exec_ext
in '' $ac_executable_extensions; do
8982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8983 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8993 NMEDIT
=$ac_cv_prog_NMEDIT
8994 if test -n "$NMEDIT"; then
8995 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
8996 echo "${ECHO_T}$NMEDIT" >&6; }
8998 { echo "$as_me:$LINENO: result: no" >&5
8999 echo "${ECHO_T}no" >&6; }
9004 if test -z "$ac_cv_prog_NMEDIT"; then
9005 ac_ct_NMEDIT
=$NMEDIT
9006 # Extract the first word of "nmedit", so it can be a program name with args.
9007 set dummy nmedit
; ac_word
=$2
9008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9010 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
9011 echo $ECHO_N "(cached) $ECHO_C" >&6
9013 if test -n "$ac_ct_NMEDIT"; then
9014 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
9016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9020 test -z "$as_dir" && as_dir
=.
9021 for ac_exec_ext
in '' $ac_executable_extensions; do
9022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9023 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
9024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9033 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
9034 if test -n "$ac_ct_NMEDIT"; then
9035 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
9036 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
9038 { echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6; }
9042 if test "x$ac_ct_NMEDIT" = x
; then
9045 case $cross_compiling:$ac_tool_warned in
9047 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9048 whose name does not start with the host triplet. If you think this
9049 configuration is useful to you, please write to autoconf@gnu.org." >&5
9050 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9051 whose name does not start with the host triplet. If you think this
9052 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9053 ac_tool_warned
=yes ;;
9055 NMEDIT
=$ac_ct_NMEDIT
9058 NMEDIT
="$ac_cv_prog_NMEDIT"
9062 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
9063 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
9064 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9065 echo $ECHO_N "(cached) $ECHO_C" >&6
9067 lt_cv_apple_cc_single_mod
=no
9068 if test -z "${LT_MULTI_MODULE}"; then
9069 # By default we will add the -single_module flag. You can override
9070 # by either setting the environment variable LT_MULTI_MODULE
9071 # non-empty at configure time, or by adding -multi_module to the
9073 echo "int foo(void){return 1;}" > conftest.c
9074 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9075 -dynamiclib ${wl}-single_module conftest.c
9076 if test -f libconftest.dylib
; then
9077 lt_cv_apple_cc_single_mod
=yes
9078 rm -rf libconftest.dylib
*
9083 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
9084 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
9085 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
9086 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
9087 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
9088 echo $ECHO_N "(cached) $ECHO_C" >&6
9090 lt_cv_ld_exported_symbols_list
=no
9091 save_LDFLAGS
=$LDFLAGS
9092 echo "_main" > conftest.sym
9093 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9094 cat >conftest.
$ac_ext <<_ACEOF
9097 cat confdefs.h
>>conftest.
$ac_ext
9098 cat >>conftest.
$ac_ext <<_ACEOF
9099 /* end confdefs.h. */
9109 rm -f conftest.
$ac_objext conftest
$ac_exeext
9110 if { (ac_try
="$ac_link"
9112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9113 *) ac_try_echo=$ac_try;;
9115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9116 (eval "$ac_link") 2>conftest.er1
9118 grep -v '^ *+' conftest.er1 >conftest.err
9120 cat conftest.err >&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); } && {
9123 test -z "$ac_c_werror_flag" ||
9124 test ! -s conftest.err
9125 } && test -s conftest$ac_exeext &&
9126 $as_test_x conftest$ac_exeext; then
9127 lt_cv_ld_exported_symbols_list=yes
9129 echo "$as_me: failed program was:" >&5
9130 sed 's/^/| /' conftest.$ac_ext >&5
9132 lt_cv_ld_exported_symbols_list=no
9135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9136 conftest$ac_exeext conftest.$ac_ext
9137 LDFLAGS="$save_LDFLAGS"
9140 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
9141 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
9143 rhapsody* | darwin1.[0123])
9144 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9146 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9148 # if running on 10.5 or later, the deployment target defaults
9149 # to the OS version, if on x86, and 10.4, the deployment
9150 # target defaults to 10.4. Don't you love it?
9151 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9152 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9153 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9155 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9157 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9161 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9162 _lt_dar_single_mod='$single_module'
9164 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9165 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9167 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
9169 if test "$DSYMUTIL" != ":"; then
9170 _lt_dsymutil="~$DSYMUTIL \$lib || :"
9181 # Check whether --enable-libtool-lock was given.
9182 if test "${enable_libtool_lock+set}" = set; then
9183 enableval=$enable_libtool_lock;
9186 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9189 # Check whether --with-pic was given.
9190 if test "${with_pic+set}" = set; then
9191 withval=$with_pic; pic_mode="$withval"
9196 test -z "$pic_mode" && pic_mode=default
9198 # Use C for the default configuration in the libtool script
9202 ac_cpp='$CPP $CPPFLAGS'
9203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9208 # Source file extension for C test sources.
9211 # Object file extension for compiled C test sources.
9215 # Code to be used in simple compile tests
9216 lt_simple_compile_test_code="int some_variable = 0;"
9218 # Code to be used in simple link tests
9219 lt_simple_link_test_code='int main(){return(0);}'
9222 # If no C compiler was specified, use CC.
9225 # If no C compiler flags were specified, use CFLAGS.
9226 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9228 # Allow CC to be a program name with arguments.
9232 # save warnings/boilerplate of simple test code
9233 ac_outfile=conftest.$ac_objext
9234 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9235 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9236 _lt_compiler_boilerplate=`cat conftest.err
`
9239 ac_outfile=conftest.$ac_objext
9240 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9241 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9242 _lt_linker_boilerplate=`cat conftest.err
`
9247 lt_prog_compiler_no_builtin_flag=
9249 if test "$GCC" = yes; then
9250 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9253 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9254 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9255 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9256 echo $ECHO_N "(cached) $ECHO_C" >&6
9258 lt_cv_prog_compiler_rtti_exceptions=no
9259 ac_outfile=conftest.$ac_objext
9260 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9261 lt_compiler_flag="-fno-rtti -fno-exceptions"
9262 # Insert the option either (1) after the last *FLAGS variable, or
9263 # (2) before a word containing "conftest.", or (3) at the end.
9264 # Note that $ac_compile itself does not contain backslashes and begins
9265 # with a dollar sign (not a hyphen), so the echo should work correctly.
9266 # The option is referenced via a variable to avoid confusing sed.
9267 lt_compile=`echo "$ac_compile" |
$SED \
9268 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9269 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9270 -e 's:$: $lt_compiler_flag:'`
9271 (eval echo "\"\$as_me:9271: $lt_compile\"" >&5)
9272 (eval "$lt_compile" 2>conftest.err)
9274 cat conftest.err >&5
9275 echo "$as_me:9275: \$? = $ac_status" >&5
9276 if (exit $ac_status) && test -s "$ac_outfile"; then
9277 # The compiler can only warn and ignore the option if not recognized
9278 # So say no if there are warnings other than the usual output.
9279 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9280 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9281 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9282 lt_cv_prog_compiler_rtti_exceptions=yes
9288 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9289 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9291 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9292 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9299 lt_prog_compiler_wl=
9300 lt_prog_compiler_pic=
9301 lt_prog_compiler_static=
9303 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9304 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9306 if test "$GCC" = yes; then
9307 lt_prog_compiler_wl='-Wl,'
9308 lt_prog_compiler_static='-static'
9312 # All AIX code is PIC.
9313 if test "$host_cpu" = ia64; then
9314 # AIX 5 now supports IA64 processor
9315 lt_prog_compiler_static='-Bstatic'
9320 # FIXME: we need at least 68020 code to build shared libraries, but
9321 # adding the `-m68020' flag to GCC prevents building anything better,
9323 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9326 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9327 # PIC is the default for these OSes.
9330 mingw
* | cygwin
* | pw32
* | os2
*)
9331 # This hack is so that the source file can tell whether it is being
9332 # built for inclusion in a dll (and should export symbols for example).
9333 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9334 # (--disable-auto-import) libraries
9335 lt_prog_compiler_pic
='-DDLL_EXPORT'
9338 darwin
* | rhapsody
*)
9339 # PIC is the default on this platform
9340 # Common symbols not allowed in MH_DYLIB files
9341 lt_prog_compiler_pic
='-fno-common'
9345 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9346 # Instead, we relocate shared libraries at runtime.
9350 # Just because we use GCC doesn't mean we suddenly get shared libraries
9351 # on systems that don't support them.
9352 lt_prog_compiler_can_build_shared
=no
9357 if test -d /usr
/nec
; then
9358 lt_prog_compiler_pic
=-Kconform_pic
9363 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9370 lt_prog_compiler_pic
='-fPIC'
9376 lt_prog_compiler_pic
='-fPIC'
9380 # PORTME Check for flag to pass linker flags through the system compiler.
9383 lt_prog_compiler_wl
='-Wl,'
9384 if test "$host_cpu" = ia64
; then
9385 # AIX 5 now supports IA64 processor
9386 lt_prog_compiler_static
='-Bstatic'
9388 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9392 # PIC is the default on this platform
9393 # Common symbols not allowed in MH_DYLIB files
9394 case $cc_basename in
9396 lt_prog_compiler_pic
='-qnocommon'
9397 lt_prog_compiler_wl
='-Wl,'
9402 mingw
* | cygwin
* | pw32
* | os2
*)
9403 # This hack is so that the source file can tell whether it is being
9404 # built for inclusion in a dll (and should export symbols for example).
9405 lt_prog_compiler_pic
='-DDLL_EXPORT'
9408 hpux9
* | hpux10
* | hpux11
*)
9409 lt_prog_compiler_wl
='-Wl,'
9410 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9417 lt_prog_compiler_pic
='+Z'
9420 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9421 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9424 irix5
* | irix6
* | nonstopux
*)
9425 lt_prog_compiler_wl
='-Wl,'
9426 # PIC (with -KPIC) is the default.
9427 lt_prog_compiler_static
='-non_shared'
9431 lt_prog_compiler_pic
='-KPIC'
9432 lt_prog_compiler_static
='-Bstatic'
9435 linux
* | k
*bsd
*-gnu)
9436 case $cc_basename in
9438 lt_prog_compiler_wl
='-Wl,'
9439 lt_prog_compiler_pic
='-KPIC'
9440 lt_prog_compiler_static
='-static'
9442 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
9443 # Portland Group compilers (*not* the Pentium gcc compiler,
9444 # which looks to be a dead project)
9445 lt_prog_compiler_wl
='-Wl,'
9446 lt_prog_compiler_pic
='-fpic'
9447 lt_prog_compiler_static
='-Bstatic'
9450 lt_prog_compiler_wl
='-Wl,'
9451 # All Alpha code is PIC.
9452 lt_prog_compiler_static
='-non_shared'
9455 case `$CC -V 2>&1 | sed 5q` in
9458 lt_prog_compiler_pic
='-KPIC'
9459 lt_prog_compiler_static
='-Bstatic'
9460 lt_prog_compiler_wl
='-Wl,'
9463 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9464 lt_prog_compiler_pic
='-KPIC'
9465 lt_prog_compiler_static
='-Bstatic'
9466 lt_prog_compiler_wl
=''
9473 osf3
* | osf4
* | osf5
*)
9474 lt_prog_compiler_wl
='-Wl,'
9475 # All OSF/1 code is PIC.
9476 lt_prog_compiler_static
='-non_shared'
9480 lt_prog_compiler_static
='-non_shared'
9484 lt_prog_compiler_pic
='-KPIC'
9485 lt_prog_compiler_static
='-Bstatic'
9486 case $cc_basename in
9488 lt_prog_compiler_wl
='-Qoption ld ';;
9490 lt_prog_compiler_wl
='-Wl,';;
9495 lt_prog_compiler_wl
='-Qoption ld '
9496 lt_prog_compiler_pic
='-PIC'
9497 lt_prog_compiler_static
='-Bstatic'
9500 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9501 lt_prog_compiler_wl
='-Wl,'
9502 lt_prog_compiler_pic
='-KPIC'
9503 lt_prog_compiler_static
='-Bstatic'
9507 if test -d /usr
/nec
;then
9508 lt_prog_compiler_pic
='-Kconform_pic'
9509 lt_prog_compiler_static
='-Bstatic'
9513 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9514 lt_prog_compiler_wl
='-Wl,'
9515 lt_prog_compiler_pic
='-KPIC'
9516 lt_prog_compiler_static
='-Bstatic'
9520 lt_prog_compiler_wl
='-Wl,'
9521 lt_prog_compiler_can_build_shared
=no
9525 lt_prog_compiler_pic
='-pic'
9526 lt_prog_compiler_static
='-Bstatic'
9530 lt_prog_compiler_can_build_shared
=no
9535 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9536 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9539 # Check to make sure the PIC flag actually works.
9541 if test -n "$lt_prog_compiler_pic"; then
9543 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9544 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9545 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9546 echo $ECHO_N "(cached) $ECHO_C" >&6
9548 lt_cv_prog_compiler_pic_works
=no
9549 ac_outfile
=conftest.
$ac_objext
9550 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9551 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9552 # Insert the option either (1) after the last *FLAGS variable, or
9553 # (2) before a word containing "conftest.", or (3) at the end.
9554 # Note that $ac_compile itself does not contain backslashes and begins
9555 # with a dollar sign (not a hyphen), so the echo should work correctly.
9556 # The option is referenced via a variable to avoid confusing sed.
9557 lt_compile
=`echo "$ac_compile" | $SED \
9558 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9559 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9560 -e 's:$: $lt_compiler_flag:'`
9561 (eval echo "\"\$as_me:9561: $lt_compile\"" >&5)
9562 (eval "$lt_compile" 2>conftest.err
)
9564 cat conftest.err
>&5
9565 echo "$as_me:9565: \$? = $ac_status" >&5
9566 if (exit $ac_status) && test -s "$ac_outfile"; then
9567 # The compiler can only warn and ignore the option if not recognized
9568 # So say no if there are warnings other than the usual output.
9569 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9570 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9571 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9572 lt_cv_prog_compiler_pic_works
=yes
9578 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9579 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
9581 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9582 case $lt_prog_compiler_pic in
9584 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9587 lt_prog_compiler_pic
=
9588 lt_prog_compiler_can_build_shared
=no
9593 # For platforms which do not support PIC, -DPIC is meaningless:
9595 lt_prog_compiler_pic
=
9598 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9603 # Check to make sure the static flag actually works.
9605 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9606 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9607 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9608 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9609 echo $ECHO_N "(cached) $ECHO_C" >&6
9611 lt_cv_prog_compiler_static_works
=no
9612 save_LDFLAGS
="$LDFLAGS"
9613 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9614 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9615 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9616 # The linker can only warn and ignore the option if not recognized
9617 # So say no if there are warnings
9618 if test -s conftest.err
; then
9619 # Append any errors to the config.log.
9620 cat conftest.err
1>&5
9621 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9622 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9623 if diff conftest.exp conftest.er2
>/dev
/null
; then
9624 lt_cv_prog_compiler_static_works
=yes
9627 lt_cv_prog_compiler_static_works
=yes
9631 LDFLAGS
="$save_LDFLAGS"
9634 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9635 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
9637 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9640 lt_prog_compiler_static
=
9644 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9645 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9646 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9647 echo $ECHO_N "(cached) $ECHO_C" >&6
9649 lt_cv_prog_compiler_c_o
=no
9650 $rm -r conftest
2>/dev
/null
9654 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9656 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9657 # Insert the option either (1) after the last *FLAGS variable, or
9658 # (2) before a word containing "conftest.", or (3) at the end.
9659 # Note that $ac_compile itself does not contain backslashes and begins
9660 # with a dollar sign (not a hyphen), so the echo should work correctly.
9661 lt_compile
=`echo "$ac_compile" | $SED \
9662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9664 -e 's:$: $lt_compiler_flag:'`
9665 (eval echo "\"\$as_me:9665: $lt_compile\"" >&5)
9666 (eval "$lt_compile" 2>out
/conftest.err
)
9668 cat out
/conftest.err
>&5
9669 echo "$as_me:9669: \$? = $ac_status" >&5
9670 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9672 # The compiler can only warn and ignore the option if not recognized
9673 # So say no if there are warnings
9674 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9675 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9676 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9677 lt_cv_prog_compiler_c_o
=yes
9682 # SGI C++ compiler will create directory out/ii_files/ for
9683 # template instantiation
9684 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
9685 $rm out
/* && rmdir out
9691 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9692 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9695 hard_links
="nottested"
9696 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9697 # do not overwrite the value of need_locks provided by the user
9698 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9699 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9702 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9704 ln conftest.a conftest.b
2>&5 || hard_links
=no
9705 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9706 { echo "$as_me:$LINENO: result: $hard_links" >&5
9707 echo "${ECHO_T}$hard_links" >&6; }
9708 if test "$hard_links" = no
; then
9709 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9710 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9717 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9718 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9721 allow_undefined_flag
=
9722 enable_shared_with_static_runtimes
=no
9724 archive_expsym_cmds
=
9725 old_archive_From_new_cmds
=
9726 old_archive_from_expsyms_cmds
=
9727 export_dynamic_flag_spec
=
9728 whole_archive_flag_spec
=
9729 thread_safe_flag_spec
=
9730 hardcode_libdir_flag_spec
=
9731 hardcode_libdir_flag_spec_ld
=
9732 hardcode_libdir_separator
=
9735 hardcode_shlibpath_var
=unsupported
9736 link_all_deplibs
=unknown
9737 hardcode_automatic
=no
9740 always_export_symbols
=no
9741 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9742 # include_expsyms should be a list of space-separated symbols to be *always*
9743 # included in the symbol list
9745 # exclude_expsyms can be an extended regexp of symbols to exclude
9746 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9747 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9748 # as well as any symbol that contains `d'.
9749 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9750 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9751 # platforms (ab)use it in PIC code, but their linkers get confused if
9752 # the symbol is explicitly referenced. Since portable code cannot
9753 # rely on this symbol name, it's probably fine to never include it in
9754 # preloaded symbol tables.
9755 # Exclude shared library initialization/finalization symbols.
9756 extract_expsyms_cmds
=
9757 # Just being paranoid about ensuring that cc_basename is set.
9758 for cc_temp
in $compiler""; do
9760 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9761 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9766 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9769 cygwin
* | mingw
* | pw32
*)
9770 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9771 # When not using gcc, we currently assume that we are using
9772 # Microsoft Visual C++.
9773 if test "$GCC" != yes; then
9778 # we just hope/assume this is gcc and not c89 (= MSVC++)
9787 if test "$with_gnu_ld" = yes; then
9788 # If archive_cmds runs LD, not CC, wlarc should be empty
9791 # Set some defaults for GNU ld with shared library support. These
9792 # are reset later if shared libraries are not supported. Putting them
9793 # here allows them to be overridden if necessary.
9794 runpath_var
=LD_RUN_PATH
9795 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
9796 export_dynamic_flag_spec
='${wl}--export-dynamic'
9797 # ancient GNU ld didn't support --whole-archive et. al.
9798 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
9799 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9801 whole_archive_flag_spec
=
9803 supports_anon_versioning
=no
9804 case `$LD -v 2>/dev/null` in
9805 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9806 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9807 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9808 *\
2.11.
*) ;; # other 2.11 versions
9809 *) supports_anon_versioning
=yes ;;
9812 # See if GNU ld supports shared libraries.
9815 # On AIX/PPC, the GNU linker is very broken
9816 if test "$host_cpu" != ia64
; then
9820 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9821 *** to be unable to reliably create shared libraries on AIX.
9822 *** Therefore, libtool is disabling shared libraries support. If you
9823 *** really care for shared libraries, you may want to modify your PATH
9824 *** so that a non-GNU linker is found, and then restart.
9831 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)'
9832 hardcode_libdir_flag_spec
='-L$libdir'
9833 hardcode_minus_L
=yes
9835 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9836 # that the semantics of dynamic libraries on AmigaOS, at least up
9837 # to version 4, is to share data among multiple programs linked
9838 # with the same dynamic library. Since this doesn't match the
9839 # behavior of shared libraries on other platforms, we can't use
9845 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9846 allow_undefined_flag
=unsupported
9847 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9848 # support --undefined. This deserves some investigation. FIXME
9849 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9855 cygwin
* | mingw
* | pw32
*)
9856 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9857 # as there is no search path for DLLs.
9858 hardcode_libdir_flag_spec
='-L$libdir'
9859 allow_undefined_flag
=unsupported
9860 always_export_symbols
=no
9861 enable_shared_with_static_runtimes
=yes
9862 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9864 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
9865 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9866 # If the export-symbols file already is a .def file (1st line
9867 # is EXPORTS), use it as is; otherwise, prepend...
9868 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9869 cp $export_symbols $output_objdir/$soname.def;
9871 echo EXPORTS > $output_objdir/$soname.def;
9872 cat $export_symbols >> $output_objdir/$soname.def;
9874 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9882 hardcode_shlibpath_var
=no
9883 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9884 export_dynamic_flag_spec
='${wl}-E'
9885 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9886 # Instead, shared libraries are loaded at an image base (0x10000000 by
9887 # default) and relocated if they conflict, which is a slow very memory
9888 # consuming and fragmenting process. To avoid this, we pick a random,
9889 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9890 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9891 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9892 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'
9895 gnu
* | linux
* | k
*bsd
*-gnu)
9896 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9898 case $cc_basename,$host_cpu in
9899 pgcc
*) # Portland Group C compiler
9900 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'
9901 tmp_addflag
=' $pic_flag'
9903 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9904 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'
9905 tmp_addflag
=' $pic_flag -Mnomain' ;;
9906 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9907 tmp_addflag
=' -i_dynamic' ;;
9908 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9909 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9910 ifc
* | ifort
*) # Intel Fortran compiler
9911 tmp_addflag
=' -nofor_main' ;;
9913 case `$CC -V 2>&1 | sed 5q` in
9914 *Sun\ C
*) # Sun C 5.9
9915 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
9916 tmp_sharedflag
='-G' ;;
9917 *Sun\ F
*) # Sun Fortran 8.3
9918 tmp_sharedflag
='-G' ;;
9920 tmp_sharedflag
='-shared' ;;
9922 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9924 if test $supports_anon_versioning = yes; then
9925 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
9926 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9927 $echo "local: *; };" >> $output_objdir/$libname.ver~
9928 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9936 netbsd
* | netbsdelf
*-gnu)
9937 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9938 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9941 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9942 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9947 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
9951 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9952 *** create shared libraries on Solaris systems. Therefore, libtool
9953 *** is disabling shared libraries support. We urge you to upgrade GNU
9954 *** binutils to release 2.9.1 or newer. Another option is to modify
9955 *** your PATH or compiler configuration so that the native linker is
9956 *** used, and then restart.
9959 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9960 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9961 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9967 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9968 case `$LD -v 2>&1` in
9969 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9973 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9974 *** reliably create shared libraries on SCO systems. Therefore, libtool
9975 *** is disabling shared libraries support. We urge you to upgrade GNU
9976 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9977 *** your PATH or compiler configuration so that the native linker is
9978 *** used, and then restart.
9983 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9984 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9985 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9986 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9995 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9998 hardcode_shlibpath_var
=no
10002 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10003 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10004 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10011 if test "$ld_shlibs" = no
; then
10013 hardcode_libdir_flag_spec
=
10014 export_dynamic_flag_spec
=
10015 whole_archive_flag_spec
=
10018 # PORTME fill in a description of your system's linker (not GNU ld)
10021 allow_undefined_flag
=unsupported
10022 always_export_symbols
=yes
10023 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'
10024 # Note: this linker hardcodes the directories in LIBPATH if there
10025 # are no directories specified by -L.
10026 hardcode_minus_L
=yes
10027 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10028 # Neither direct hardcoding nor static linking is supported with a
10030 hardcode_direct
=unsupported
10035 if test "$host_cpu" = ia64
; then
10036 # On IA64, the linker does run time linking by default, so we don't
10037 # have to do anything special.
10038 aix_use_runtimelinking
=no
10039 exp_sym_flag
='-Bexport'
10042 # If we're using GNU nm, then we don't want the "-C" option.
10043 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10044 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
10045 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'
10047 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'
10049 aix_use_runtimelinking
=no
10051 # Test if we are trying to use run time linking or normal
10052 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10053 # need to do runtime linking.
10054 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10055 for ld_flag
in $LDFLAGS; do
10056 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10057 aix_use_runtimelinking
=yes
10064 exp_sym_flag
='-bexport'
10065 no_entry_flag
='-bnoentry'
10068 # When large executables or shared objects are built, AIX ld can
10069 # have problems creating the table of contents. If linking a library
10070 # or program results in "error TOC overflow" add -mminimal-toc to
10071 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10072 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10075 hardcode_direct
=yes
10076 hardcode_libdir_separator
=':'
10077 link_all_deplibs
=yes
10079 if test "$GCC" = yes; then
10080 case $host_os in aix4.
[012]|aix4.
[012].
*)
10081 # We only want to do this on AIX 4.2 and lower, the check
10082 # below for broken collect2 doesn't work under 4.3+
10083 collect2name
=`${CC} -print-prog-name=collect2`
10084 if test -f "$collect2name" && \
10085 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10087 # We have reworked collect2
10090 # We have old collect2
10091 hardcode_direct
=unsupported
10092 # It fails to find uninstalled libraries when the uninstalled
10093 # path is not listed in the libpath. Setting hardcode_minus_L
10094 # to unsupported forces relinking
10095 hardcode_minus_L
=yes
10096 hardcode_libdir_flag_spec
='-L$libdir'
10097 hardcode_libdir_separator
=
10101 shared_flag
='-shared'
10102 if test "$aix_use_runtimelinking" = yes; then
10103 shared_flag
="$shared_flag "'${wl}-G'
10107 if test "$host_cpu" = ia64
; then
10108 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10109 # chokes on -Wl,-G. The following line is correct:
10112 if test "$aix_use_runtimelinking" = yes; then
10113 shared_flag
='${wl}-G'
10115 shared_flag
='${wl}-bM:SRE'
10120 # It seems that -bexpall does not export symbols beginning with
10121 # underscore (_), so it is better to generate a list of symbols to export.
10122 always_export_symbols
=yes
10123 if test "$aix_use_runtimelinking" = yes; then
10124 # Warning - without using the other runtime loading flags (-brtl),
10125 # -berok will link without error, but may produce a broken library.
10126 allow_undefined_flag
='-berok'
10127 # Determine the default libpath from the value encoded in an empty executable.
10128 cat >conftest.
$ac_ext <<_ACEOF
10131 cat confdefs.h
>>conftest.
$ac_ext
10132 cat >>conftest.
$ac_ext <<_ACEOF
10133 /* end confdefs.h. */
10143 rm -f conftest.
$ac_objext conftest
$ac_exeext
10144 if { (ac_try
="$ac_link"
10145 case "(($ac_try" in
10146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10147 *) ac_try_echo=$ac_try;;
10149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10150 (eval "$ac_link") 2>conftest.er1
10152 grep -v '^ *+' conftest.er1 >conftest.err
10154 cat conftest.err >&5
10155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156 (exit $ac_status); } && {
10157 test -z "$ac_c_werror_flag" ||
10158 test ! -s conftest.err
10159 } && test -s conftest$ac_exeext &&
10160 $as_test_x conftest$ac_exeext; then
10162 lt_aix_libpath_sed='
10163 /Import File Strings/,/^$/ {
10169 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10170 # Check for a 64-bit object if we didn't find anything.
10171 if test -z "$aix_libpath"; then
10172 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10175 echo "$as_me: failed program was:" >&5
10176 sed 's/^/| /' conftest.$ac_ext >&5
10181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10182 conftest$ac_exeext conftest.$ac_ext
10183 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10185 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10186 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"
10188 if test "$host_cpu" = ia64; then
10189 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10190 allow_undefined_flag="-z nodefs"
10191 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"
10193 # Determine the default libpath from the value encoded in an empty executable.
10194 cat >conftest.$ac_ext <<_ACEOF
10197 cat confdefs.h >>conftest.$ac_ext
10198 cat >>conftest.$ac_ext <<_ACEOF
10199 /* end confdefs.h. */
10209 rm -f conftest.$ac_objext conftest$ac_exeext
10210 if { (ac_try="$ac_link"
10211 case "(($ac_try" in
10212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10213 *) ac_try_echo
=$ac_try;;
10215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10216 (eval "$ac_link") 2>conftest.er1
10218 grep -v '^ *+' conftest.er1
>conftest.err
10220 cat conftest.err
>&5
10221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10222 (exit $ac_status); } && {
10223 test -z "$ac_c_werror_flag" ||
10224 test ! -s conftest.err
10225 } && test -s conftest
$ac_exeext &&
10226 $as_test_x conftest
$ac_exeext; then
10228 lt_aix_libpath_sed
='
10229 /Import File Strings/,/^$/ {
10235 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10236 # Check for a 64-bit object if we didn't find anything.
10237 if test -z "$aix_libpath"; then
10238 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10241 echo "$as_me: failed program was:" >&5
10242 sed 's/^/| /' conftest.
$ac_ext >&5
10247 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10248 conftest
$ac_exeext conftest.
$ac_ext
10249 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10251 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10252 # Warning - without using the other run time loading flags,
10253 # -berok will link without error, but may produce a broken library.
10254 no_undefined_flag
=' ${wl}-bernotok'
10255 allow_undefined_flag
=' ${wl}-berok'
10256 # Exported symbols can be pulled into shared objects from archives
10257 whole_archive_flag_spec
='$convenience'
10258 archive_cmds_need_lc
=yes
10259 # This is similar to how AIX traditionally builds its shared libraries.
10260 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'
10266 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)'
10267 hardcode_libdir_flag_spec
='-L$libdir'
10268 hardcode_minus_L
=yes
10269 # see comment about different semantics on the GNU ld section
10274 export_dynamic_flag_spec
=-rdynamic
10277 cygwin
* | mingw
* | pw32
*)
10278 # When not using gcc, we currently assume that we are using
10279 # Microsoft Visual C++.
10280 # hardcode_libdir_flag_spec is actually meaningless, as there is
10281 # no search path for DLLs.
10282 hardcode_libdir_flag_spec
=' '
10283 allow_undefined_flag
=unsupported
10284 # Tell ltmain to make .lib files, not .a files.
10286 # Tell ltmain to make .dll files, not .so files.
10288 # FIXME: Setting linknames here is a bad hack.
10289 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10290 # The linker will automatically build a .lib file if we build a DLL.
10291 old_archive_From_new_cmds
='true'
10292 # FIXME: Should let the user specify the lib program.
10293 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10294 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10295 enable_shared_with_static_runtimes
=yes
10298 darwin
* | rhapsody
*)
10300 rhapsody
* | darwin1.
[012])
10301 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
10304 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10305 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10307 case ${MACOSX_DEPLOYMENT_TARGET} in
10309 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10312 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
10318 archive_cmds_need_lc
=no
10320 hardcode_automatic
=yes
10321 hardcode_shlibpath_var
=unsupported
10322 whole_archive_flag_spec
=''
10323 link_all_deplibs
=yes
10324 if test "$GCC" = yes ; then
10325 output_verbose_link_cmd
='echo'
10326 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10327 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10328 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10329 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10331 case $cc_basename in
10333 output_verbose_link_cmd
='echo'
10334 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10335 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10336 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10337 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10338 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}'
10348 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10349 hardcode_libdir_flag_spec
='-L$libdir'
10350 hardcode_shlibpath_var
=no
10357 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10358 # support. Future versions do this automatically, but an explicit c++rt0.o
10359 # does not break anything, and helps significantly (at the cost of a little
10362 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10363 hardcode_libdir_flag_spec
='-R$libdir'
10364 hardcode_direct
=yes
10365 hardcode_shlibpath_var
=no
10368 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10370 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10371 hardcode_direct
=yes
10372 hardcode_minus_L
=yes
10373 hardcode_shlibpath_var
=no
10376 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10377 freebsd
* | dragonfly
*)
10378 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10379 hardcode_libdir_flag_spec
='-R$libdir'
10380 hardcode_direct
=yes
10381 hardcode_shlibpath_var
=no
10385 if test "$GCC" = yes; then
10386 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'
10388 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'
10390 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10391 hardcode_libdir_separator
=:
10392 hardcode_direct
=yes
10394 # hardcode_minus_L: Not really in the search PATH,
10395 # but as the default location of the library.
10396 hardcode_minus_L
=yes
10397 export_dynamic_flag_spec
='${wl}-E'
10401 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10402 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10404 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10406 if test "$with_gnu_ld" = no
; then
10407 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10408 hardcode_libdir_separator
=:
10410 hardcode_direct
=yes
10411 export_dynamic_flag_spec
='${wl}-E'
10413 # hardcode_minus_L: Not really in the search PATH,
10414 # but as the default location of the library.
10415 hardcode_minus_L
=yes
10420 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10423 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10426 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10429 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10435 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10438 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10441 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10445 if test "$with_gnu_ld" = no
; then
10446 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10447 hardcode_libdir_separator
=:
10451 hardcode_libdir_flag_spec_ld
='+b $libdir'
10453 hardcode_shlibpath_var
=no
10456 hardcode_direct
=yes
10457 export_dynamic_flag_spec
='${wl}-E'
10459 # hardcode_minus_L: Not really in the search PATH,
10460 # but as the default location of the library.
10461 hardcode_minus_L
=yes
10467 irix5
* | irix6
* | nonstopux
*)
10468 if test "$GCC" = yes; then
10469 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'
10471 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'
10472 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10474 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10475 hardcode_libdir_separator
=:
10476 link_all_deplibs
=yes
10479 netbsd
* | netbsdelf
*-gnu)
10480 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10481 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10483 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10485 hardcode_libdir_flag_spec
='-R$libdir'
10486 hardcode_direct
=yes
10487 hardcode_shlibpath_var
=no
10491 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10492 hardcode_direct
=yes
10493 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10494 hardcode_libdir_separator
=:
10495 hardcode_shlibpath_var
=no
10499 if test -f /usr
/libexec
/ld.so
; then
10500 hardcode_direct
=yes
10501 hardcode_shlibpath_var
=no
10502 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10503 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10504 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10505 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10506 export_dynamic_flag_spec
='${wl}-E'
10509 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10510 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10511 hardcode_libdir_flag_spec
='-R$libdir'
10514 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10515 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10525 hardcode_libdir_flag_spec
='-L$libdir'
10526 hardcode_minus_L
=yes
10527 allow_undefined_flag
=unsupported
10528 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'
10529 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10533 if test "$GCC" = yes; then
10534 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10535 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'
10537 allow_undefined_flag
=' -expect_unresolved \*'
10538 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'
10540 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10541 hardcode_libdir_separator
=:
10544 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10545 if test "$GCC" = yes; then
10546 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10547 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'
10548 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10550 allow_undefined_flag
=' -expect_unresolved \*'
10551 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'
10552 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10553 $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'
10555 # Both c and cxx compiler support -rpath directly
10556 hardcode_libdir_flag_spec
='-rpath $libdir'
10558 hardcode_libdir_separator
=:
10562 no_undefined_flag
=' -z text'
10563 if test "$GCC" = yes; then
10565 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10566 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10567 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10570 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10571 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10572 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10574 hardcode_libdir_flag_spec
='-R$libdir'
10575 hardcode_shlibpath_var
=no
10577 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10579 # The compiler driver will combine and reorder linker options,
10580 # but understands `-z linker_flag'. GCC discards it without `$wl',
10581 # but is careful enough not to reorder.
10582 # Supported since Solaris 2.6 (maybe 2.5.1?)
10583 if test "$GCC" = yes; then
10584 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10586 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10590 link_all_deplibs
=yes
10594 if test "x$host_vendor" = xsequent
; then
10595 # Use $CC to link under sequent, because it throws in some extra .o
10596 # files that make .init and .fini sections work.
10597 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10599 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10601 hardcode_libdir_flag_spec
='-L$libdir'
10602 hardcode_direct
=yes
10603 hardcode_minus_L
=yes
10604 hardcode_shlibpath_var
=no
10608 case $host_vendor in
10610 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10611 hardcode_direct
=yes # is this really true???
10614 ## LD is ld it makes a PLAMLIB
10615 ## CC just makes a GrossModule.
10616 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10617 reload_cmds
='$CC -r -o $output$reload_objs'
10621 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10622 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10625 runpath_var
='LD_RUN_PATH'
10626 hardcode_shlibpath_var
=no
10630 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10631 hardcode_shlibpath_var
=no
10632 export_dynamic_flag_spec
='-Bexport'
10636 if test -d /usr
/nec
; then
10637 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10638 hardcode_shlibpath_var
=no
10639 runpath_var
=LD_RUN_PATH
10640 hardcode_runpath_var
=yes
10645 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10646 no_undefined_flag
='${wl}-z,text'
10647 archive_cmds_need_lc
=no
10648 hardcode_shlibpath_var
=no
10649 runpath_var
='LD_RUN_PATH'
10651 if test "$GCC" = yes; then
10652 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10653 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10655 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10656 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10660 sysv5
* | sco3.2v5
* | sco5v6
*)
10661 # Note: We can NOT use -z defs as we might desire, because we do not
10662 # link with -lc, and that would cause any symbols used from libc to
10663 # always be unresolved, which means just about no library would
10664 # ever link correctly. If we're not using GNU ld we use -z text
10665 # though, which does catch some bad symbols but isn't as heavy-handed
10667 no_undefined_flag
='${wl}-z,text'
10668 allow_undefined_flag
='${wl}-z,nodefs'
10669 archive_cmds_need_lc
=no
10670 hardcode_shlibpath_var
=no
10671 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
10672 hardcode_libdir_separator
=':'
10673 link_all_deplibs
=yes
10674 export_dynamic_flag_spec
='${wl}-Bexport'
10675 runpath_var
='LD_RUN_PATH'
10677 if test "$GCC" = yes; then
10678 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10679 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10681 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10682 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10687 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10688 hardcode_libdir_flag_spec
='-L$libdir'
10689 hardcode_shlibpath_var
=no
10698 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10699 echo "${ECHO_T}$ld_shlibs" >&6; }
10700 test "$ld_shlibs" = no
&& can_build_shared
=no
10703 # Do we need to explicitly link libc?
10705 case "x$archive_cmds_need_lc" in
10707 # Assume -lc should be added
10708 archive_cmds_need_lc
=yes
10710 if test "$enable_shared" = yes && test "$GCC" = yes; then
10711 case $archive_cmds in
10713 # FIXME: we may have to deal with multi-command sequences.
10716 # Test whether the compiler implicitly links with -lc since on some
10717 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10718 # to ld, don't add -lc before -lgcc.
10719 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10720 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10722 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10725 (eval $ac_compile) 2>&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); } 2>conftest.err
; then
10731 libobjs
=conftest.
$ac_objext
10733 wl
=$lt_prog_compiler_wl
10734 pic_flag
=$lt_prog_compiler_pic
10740 lt_save_allow_undefined_flag
=$allow_undefined_flag
10741 allow_undefined_flag
=
10742 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10743 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); }
10748 archive_cmds_need_lc
=no
10750 archive_cmds_need_lc
=yes
10752 allow_undefined_flag
=$lt_save_allow_undefined_flag
10754 cat conftest.err
1>&5
10757 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10758 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10765 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10766 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10767 library_names_spec
=
10768 libname_spec
='lib$name'
10772 postuninstall_cmds
=
10776 shlibpath_overrides_runpath
=unknown
10778 dynamic_linker
="$host_os ld.so"
10779 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10781 if test "$GCC" = yes; then
10783 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10784 *) lt_awk_arg
="/^libraries:/" ;;
10786 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10787 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
10788 # if the path contains ";" then we assume it to be the separator
10789 # otherwise default to the standard path separator (i.e. ":") - it is
10790 # assumed that no part of a normal pathname contains ";" but that should
10791 # okay in the real world where ";" in dirpaths is itself problematic.
10792 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10794 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10796 # Ok, now we have the path, separated by spaces, we can step through it
10797 # and add multilib dir if necessary.
10798 lt_tmp_lt_search_path_spec
=
10799 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10800 for lt_sys_path
in $lt_search_path_spec; do
10801 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10802 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10804 test -d "$lt_sys_path" && \
10805 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10808 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
10809 BEGIN {RS=" "; FS="/|\n";} {
10812 for (lt_i = NF; lt_i > 0; lt_i--) {
10813 if ($lt_i != "" && $lt_i != ".") {
10814 if ($lt_i == "..") {
10817 if (lt_count == 0) {
10818 lt_foo="/" $lt_i lt_foo;
10825 if (lt_foo != "") { lt_freq[lt_foo]++; }
10826 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10828 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
10830 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10832 need_lib_prefix
=unknown
10833 hardcode_into_libs
=no
10835 # when you set need_version to no, make sure it does not cause -set_version
10836 # flags to be left without arguments
10837 need_version
=unknown
10842 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10843 shlibpath_var
=LIBPATH
10845 # AIX 3 has no versioning support, so we append a major version to the name.
10846 soname_spec
='${libname}${release}${shared_ext}$major'
10853 hardcode_into_libs
=yes
10854 if test "$host_cpu" = ia64
; then
10855 # AIX 5 supports IA64
10856 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10857 shlibpath_var
=LD_LIBRARY_PATH
10859 # With GCC up to 2.95.x, collect2 would create an import file
10860 # for dependence libraries. The import file would start with
10861 # the line `#! .'. This would cause the generated library to
10862 # depend on `.', always an invalid library. This was fixed in
10863 # development snapshots of GCC prior to 3.0.
10865 aix4 | aix4.
[01] | aix4.
[01].
*)
10866 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10868 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
10871 can_build_shared
=no
10875 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10876 # soname into executable. Probably we can add versioning support to
10877 # collect2, so additional links can be useful in future.
10878 if test "$aix_use_runtimelinking" = yes; then
10879 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10880 # instead of lib<name>.a to let people know that these are not
10881 # typical AIX shared libraries.
10882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884 # We preserve .a as extension for shared libraries through AIX4.2
10885 # and later when we are not doing run time linking.
10886 library_names_spec
='${libname}${release}.a $libname.a'
10887 soname_spec
='${libname}${release}${shared_ext}$major'
10889 shlibpath_var
=LIBPATH
10894 library_names_spec
='$libname.ixlibrary $libname.a'
10895 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10896 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'
10900 library_names_spec
='${libname}${shared_ext}'
10901 dynamic_linker
="$host_os ld.so"
10902 shlibpath_var
=LIBRARY_PATH
10908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909 soname_spec
='${libname}${release}${shared_ext}$major'
10910 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10911 shlibpath_var
=LD_LIBRARY_PATH
10912 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10913 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10914 # the default ld.so.conf also contains /usr/contrib/lib and
10915 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10916 # libtool to hard-code these into programs
10919 cygwin
* | mingw
* | pw32
*)
10920 version_type
=windows
10925 case $GCC,$host_os in
10926 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10927 library_names_spec
='$libname.dll.a'
10928 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10929 postinstall_cmds
='base_file=`basename \${file}`~
10930 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10931 dldir=$destdir/`dirname \$dlpath`~
10932 test -d \$dldir || mkdir -p \$dldir~
10933 $install_prog $dir/$dlname \$dldir/$dlname~
10934 chmod a+x \$dldir/$dlname'
10935 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10936 dlpath=$dir/\$dldll~
10938 shlibpath_overrides_runpath
=yes
10942 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10943 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10944 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10947 # MinGW DLLs use traditional 'lib' prefix
10948 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10949 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10950 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
10951 # It is most probably a Windows format PATH printed by
10952 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10953 # path with ; separators, and with drive letters. We can handle the
10954 # drive letters (cygwin fileutils understands them), so leave them,
10955 # especially as we might pass files found there to a mingw objdump,
10956 # which wouldn't understand a cygwinified path. Ahh.
10957 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10959 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10963 # pw32 DLLs use 'pw' prefix rather than 'lib'
10964 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10970 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10973 dynamic_linker
='Win32 ld.exe'
10974 # FIXME: first we should search . and the directory the executable is in
10978 darwin
* | rhapsody
*)
10979 dynamic_linker
="$host_os dyld"
10980 version_type
=darwin
10983 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10984 soname_spec
='${libname}${release}${major}$shared_ext'
10985 shlibpath_overrides_runpath
=yes
10986 shlibpath_var
=DYLD_LIBRARY_PATH
10987 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10989 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10990 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10998 soname_spec
='${libname}${release}${shared_ext}$major'
10999 shlibpath_var
=LD_LIBRARY_PATH
11006 freebsd
* | dragonfly
*)
11007 # DragonFly does not have aout. When/if they implement a new
11008 # versioning mechanism, adjust this.
11009 if test -x /usr
/bin
/objformat
; then
11010 objformat
=`/usr/bin/objformat`
11013 freebsd
[123]*) objformat
=aout
;;
11014 *) objformat
=elf
;;
11017 version_type
=freebsd-
$objformat
11018 case $version_type in
11020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11029 shlibpath_var
=LD_LIBRARY_PATH
11032 shlibpath_overrides_runpath
=yes
11034 freebsd3.
[01]* | freebsdelf3.
[01]*)
11035 shlibpath_overrides_runpath
=yes
11036 hardcode_into_libs
=yes
11038 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11039 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11040 shlibpath_overrides_runpath
=no
11041 hardcode_into_libs
=yes
11043 *) # from 4.6 on, and DragonFly
11044 shlibpath_overrides_runpath
=yes
11045 hardcode_into_libs
=yes
11054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11055 soname_spec
='${libname}${release}${shared_ext}$major'
11056 shlibpath_var
=LD_LIBRARY_PATH
11057 hardcode_into_libs
=yes
11060 hpux9
* | hpux10
* | hpux11
*)
11061 # Give a soname corresponding to the major version so that dld.sl refuses to
11062 # link against other versions.
11069 hardcode_into_libs
=yes
11070 dynamic_linker
="$host_os dld.so"
11071 shlibpath_var
=LD_LIBRARY_PATH
11072 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 soname_spec
='${libname}${release}${shared_ext}$major'
11075 if test "X$HPUX_IA64_MODE" = X32
; then
11076 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11078 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11080 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11084 hardcode_into_libs
=yes
11085 dynamic_linker
="$host_os dld.sl"
11086 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11087 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11089 soname_spec
='${libname}${release}${shared_ext}$major'
11090 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11091 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11095 dynamic_linker
="$host_os dld.sl"
11096 shlibpath_var
=SHLIB_PATH
11097 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11099 soname_spec
='${libname}${release}${shared_ext}$major'
11102 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11103 postinstall_cmds
='chmod 555 $lib'
11110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11111 soname_spec
='${libname}${release}${shared_ext}$major'
11112 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11113 shlibpath_var
=LD_LIBRARY_PATH
11114 shlibpath_overrides_runpath
=no
11115 hardcode_into_libs
=yes
11118 irix5
* | irix6
* | nonstopux
*)
11120 nonstopux
*) version_type
=nonstopux
;;
11122 if test "$lt_cv_prog_gnu_ld" = yes; then
11130 soname_spec
='${libname}${release}${shared_ext}$major'
11131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11133 irix5
* | nonstopux
*)
11134 libsuff
= shlibsuff
=
11137 case $LD in # libtool.m4 will add one of these switches to LD
11138 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11139 libsuff
= shlibsuff
= libmagic
=32-bit;;
11140 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11141 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11142 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11143 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11144 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11148 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11149 shlibpath_overrides_runpath
=no
11150 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11151 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11152 hardcode_into_libs
=yes
11155 # No shared lib support for Linux oldld, aout, or coff.
11156 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11160 # This must be Linux ELF.
11161 linux
* | k
*bsd
*-gnu)
11165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11166 soname_spec
='${libname}${release}${shared_ext}$major'
11167 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11168 shlibpath_var
=LD_LIBRARY_PATH
11169 shlibpath_overrides_runpath
=no
11170 # This implies no fast_install, which is unacceptable.
11171 # Some rework will be needed to allow for fast_install
11172 # before this can be enabled.
11173 hardcode_into_libs
=yes
11175 # Append ld.so.conf contents to the search path
11176 if test -f /etc
/ld.so.conf
; then
11177 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11178 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11181 # We used to test for /lib/ld.so.1 and disable shared libraries on
11182 # powerpc, because MkLinux only supported shared libraries with the
11183 # GNU dynamic linker. Since this was broken with cross compilers,
11184 # most powerpc-linux boxes support dynamic linking these days and
11185 # people can always --disable-shared, the test was removed, and we
11186 # assume the GNU/Linux dynamic linker is in use.
11187 dynamic_linker
='GNU/Linux ld.so'
11194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11195 soname_spec
='${libname}${release}${shared_ext}$major'
11196 shlibpath_var
=LD_LIBRARY_PATH
11197 shlibpath_overrides_runpath
=no
11198 hardcode_into_libs
=yes
11199 dynamic_linker
='NetBSD ld.elf_so'
11206 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11208 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11209 dynamic_linker
='NetBSD (a.out) ld.so'
11211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11212 soname_spec
='${libname}${release}${shared_ext}$major'
11213 dynamic_linker
='NetBSD ld.elf_so'
11215 shlibpath_var
=LD_LIBRARY_PATH
11216 shlibpath_overrides_runpath
=yes
11217 hardcode_into_libs
=yes
11222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11223 shlibpath_var
=LD_LIBRARY_PATH
11224 shlibpath_overrides_runpath
=yes
11231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11232 soname_spec
='${libname}${release}${shared_ext}$major'
11233 shlibpath_var
=LD_LIBRARY_PATH
11234 shlibpath_overrides_runpath
=yes
11239 sys_lib_dlsearch_path_spec
="/usr/lib"
11241 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11243 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11244 *) need_version
=no
;;
11246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11247 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11248 shlibpath_var
=LD_LIBRARY_PATH
11249 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11251 openbsd2.
[89] | openbsd2.
[89].
*)
11252 shlibpath_overrides_runpath
=no
11255 shlibpath_overrides_runpath
=yes
11259 shlibpath_overrides_runpath
=yes
11264 libname_spec
='$name'
11267 library_names_spec
='$libname${shared_ext} $libname.a'
11268 dynamic_linker
='OS/2 ld.exe'
11269 shlibpath_var
=LIBPATH
11272 osf3
* | osf4
* | osf5
*)
11276 soname_spec
='${libname}${release}${shared_ext}$major'
11277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11278 shlibpath_var
=LD_LIBRARY_PATH
11279 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11280 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11292 soname_spec
='${libname}${release}${shared_ext}$major'
11293 shlibpath_var
=LD_LIBRARY_PATH
11294 shlibpath_overrides_runpath
=yes
11295 hardcode_into_libs
=yes
11296 # ldd complains unless libraries are executable
11297 postinstall_cmds
='chmod +x $lib'
11302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11303 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11304 shlibpath_var
=LD_LIBRARY_PATH
11305 shlibpath_overrides_runpath
=yes
11306 if test "$with_gnu_ld" = yes; then
11314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11315 soname_spec
='${libname}${release}${shared_ext}$major'
11316 shlibpath_var
=LD_LIBRARY_PATH
11317 case $host_vendor in
11319 shlibpath_overrides_runpath
=no
11321 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11322 runpath_var
=LD_RUN_PATH
11330 shlibpath_overrides_runpath
=no
11331 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11337 if test -d /usr
/nec
;then
11339 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11340 soname_spec
='$libname${shared_ext}.$major'
11341 shlibpath_var
=LD_LIBRARY_PATH
11345 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11346 version_type
=freebsd-elf
11349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11350 soname_spec
='${libname}${release}${shared_ext}$major'
11351 shlibpath_var
=LD_LIBRARY_PATH
11352 hardcode_into_libs
=yes
11353 if test "$with_gnu_ld" = yes; then
11354 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11355 shlibpath_overrides_runpath
=no
11357 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11358 shlibpath_overrides_runpath
=yes
11361 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11365 sys_lib_dlsearch_path_spec
='/usr/lib'
11370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11371 soname_spec
='${libname}${release}${shared_ext}$major'
11372 shlibpath_var
=LD_LIBRARY_PATH
11379 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11380 echo "${ECHO_T}$dynamic_linker" >&6; }
11381 test "$dynamic_linker" = no
&& can_build_shared
=no
11383 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11384 echo $ECHO_N "(cached) $ECHO_C" >&6
11386 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
11389 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11390 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11391 echo $ECHO_N "(cached) $ECHO_C" >&6
11393 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
11396 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11398 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11399 if test "$GCC" = yes; then
11400 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11403 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11404 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11406 if test -n "$hardcode_libdir_flag_spec" || \
11407 test -n "$runpath_var" || \
11408 test "X$hardcode_automatic" = "Xyes" ; then
11410 # We can hardcode non-existant directories.
11411 if test "$hardcode_direct" != no
&&
11412 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11413 # have to relink, otherwise we might link with an installed library
11414 # when we should be linking with a yet-to-be-installed one
11415 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11416 test "$hardcode_minus_L" != no
; then
11417 # Linking always hardcodes the temporary library directory.
11418 hardcode_action
=relink
11420 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11421 hardcode_action
=immediate
11424 # We cannot hardcode anything, or else we can only hardcode existing
11426 hardcode_action
=unsupported
11428 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
11429 echo "${ECHO_T}$hardcode_action" >&6; }
11431 if test "$hardcode_action" = relink
; then
11432 # Fast installation is not supported
11433 enable_fast_install
=no
11434 elif test "$shlibpath_overrides_runpath" = yes ||
11435 test "$enable_shared" = no
; then
11436 # Fast installation is not necessary
11437 enable_fast_install
=needless
11442 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11443 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11444 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
11445 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11446 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11447 { echo "$as_me:$LINENO: result: yes" >&5
11448 echo "${ECHO_T}yes" >&6; }
11450 # FIXME - insert some real tests, host_os isn't really good enough
11453 if test -n "$STRIP" ; then
11454 striplib
="$STRIP -x"
11455 old_striplib
="$STRIP -S"
11456 { echo "$as_me:$LINENO: result: yes" >&5
11457 echo "${ECHO_T}yes" >&6; }
11459 { echo "$as_me:$LINENO: result: no" >&5
11460 echo "${ECHO_T}no" >&6; }
11464 { echo "$as_me:$LINENO: result: no" >&5
11465 echo "${ECHO_T}no" >&6; }
11470 if test "x$enable_dlopen" != xyes
; then
11471 enable_dlopen
=unknown
11472 enable_dlopen_self
=unknown
11473 enable_dlopen_self_static
=unknown
11480 lt_cv_dlopen
="load_add_on"
11482 lt_cv_dlopen_self
=yes
11486 lt_cv_dlopen
="LoadLibrary"
11491 lt_cv_dlopen
="dlopen"
11496 # if libdl is installed we need to link against it
11497 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11498 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11499 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11500 echo $ECHO_N "(cached) $ECHO_C" >&6
11502 ac_check_lib_save_LIBS
=$LIBS
11504 cat >conftest.
$ac_ext <<_ACEOF
11507 cat confdefs.h
>>conftest.
$ac_ext
11508 cat >>conftest.
$ac_ext <<_ACEOF
11509 /* end confdefs.h. */
11511 /* Override any GCC internal prototype to avoid an error.
11512 Use char because int might match the return type of a GCC
11513 builtin and then its argument prototype would still apply. */
11526 rm -f conftest.
$ac_objext conftest
$ac_exeext
11527 if { (ac_try
="$ac_link"
11528 case "(($ac_try" in
11529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11530 *) ac_try_echo=$ac_try;;
11532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11533 (eval "$ac_link") 2>conftest.er1
11535 grep -v '^ *+' conftest.er1 >conftest.err
11537 cat conftest.err >&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); } && {
11540 test -z "$ac_c_werror_flag" ||
11541 test ! -s conftest.err
11542 } && test -s conftest$ac_exeext &&
11543 $as_test_x conftest$ac_exeext; then
11544 ac_cv_lib_dl_dlopen=yes
11546 echo "$as_me: failed program was:" >&5
11547 sed 's/^/| /' conftest.$ac_ext >&5
11549 ac_cv_lib_dl_dlopen=no
11552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11553 conftest$ac_exeext conftest.$ac_ext
11554 LIBS=$ac_check_lib_save_LIBS
11556 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11557 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11558 if test $ac_cv_lib_dl_dlopen = yes; then
11559 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11562 lt_cv_dlopen="dyld"
11564 lt_cv_dlopen_self=yes
11571 { echo "$as_me:$LINENO: checking for shl_load" >&5
11572 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11573 if test "${ac_cv_func_shl_load+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 cat >conftest.$ac_ext <<_ACEOF
11579 cat confdefs.h >>conftest.$ac_ext
11580 cat >>conftest.$ac_ext <<_ACEOF
11581 /* end confdefs.h. */
11582 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11584 #define shl_load innocuous_shl_load
11586 /* System header to define __stub macros and hopefully few prototypes,
11587 which can conflict with char shl_load (); below.
11588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11589 <limits.h> exists even on freestanding compilers. */
11592 # include <limits.h>
11594 # include <assert.h>
11599 /* Override any GCC internal prototype to avoid an error.
11600 Use char because int might match the return type of a GCC
11601 builtin and then its argument prototype would still apply. */
11606 /* The GNU C library defines this for functions which it implements
11607 to always fail with ENOSYS. Some functions are actually named
11608 something starting with __ and the normal name is an alias. */
11609 #if defined __stub_shl_load || defined __stub___shl_load
11616 return shl_load ();
11621 rm -f conftest.$ac_objext conftest$ac_exeext
11622 if { (ac_try="$ac_link"
11623 case "(($ac_try" in
11624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11625 *) ac_try_echo
=$ac_try;;
11627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11628 (eval "$ac_link") 2>conftest.er1
11630 grep -v '^ *+' conftest.er1
>conftest.err
11632 cat conftest.err
>&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); } && {
11635 test -z "$ac_c_werror_flag" ||
11636 test ! -s conftest.err
11637 } && test -s conftest
$ac_exeext &&
11638 $as_test_x conftest
$ac_exeext; then
11639 ac_cv_func_shl_load
=yes
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.
$ac_ext >&5
11644 ac_cv_func_shl_load
=no
11647 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11648 conftest
$ac_exeext conftest.
$ac_ext
11650 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11651 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11652 if test $ac_cv_func_shl_load = yes; then
11653 lt_cv_dlopen
="shl_load"
11655 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11656 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11657 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11660 ac_check_lib_save_LIBS
=$LIBS
11662 cat >conftest.
$ac_ext <<_ACEOF
11665 cat confdefs.h
>>conftest.
$ac_ext
11666 cat >>conftest.
$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11669 /* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11679 return shl_load ();
11684 rm -f conftest.
$ac_objext conftest
$ac_exeext
11685 if { (ac_try
="$ac_link"
11686 case "(($ac_try" in
11687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11688 *) ac_try_echo=$ac_try;;
11690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11691 (eval "$ac_link") 2>conftest.er1
11693 grep -v '^ *+' conftest.er1 >conftest.err
11695 cat conftest.err >&5
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 (exit $ac_status); } && {
11698 test -z "$ac_c_werror_flag" ||
11699 test ! -s conftest.err
11700 } && test -s conftest$ac_exeext &&
11701 $as_test_x conftest$ac_exeext; then
11702 ac_cv_lib_dld_shl_load=yes
11704 echo "$as_me: failed program was:" >&5
11705 sed 's/^/| /' conftest.$ac_ext >&5
11707 ac_cv_lib_dld_shl_load=no
11710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11711 conftest$ac_exeext conftest.$ac_ext
11712 LIBS=$ac_check_lib_save_LIBS
11714 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11715 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11716 if test $ac_cv_lib_dld_shl_load = yes; then
11717 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11719 { echo "$as_me:$LINENO: checking for dlopen" >&5
11720 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11721 if test "${ac_cv_func_dlopen+set}" = set; then
11722 echo $ECHO_N "(cached) $ECHO_C" >&6
11724 cat >conftest.$ac_ext <<_ACEOF
11727 cat confdefs.h >>conftest.$ac_ext
11728 cat >>conftest.$ac_ext <<_ACEOF
11729 /* end confdefs.h. */
11730 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11732 #define dlopen innocuous_dlopen
11734 /* System header to define __stub macros and hopefully few prototypes,
11735 which can conflict with char dlopen (); below.
11736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11737 <limits.h> exists even on freestanding compilers. */
11740 # include <limits.h>
11742 # include <assert.h>
11747 /* Override any GCC internal prototype to avoid an error.
11748 Use char because int might match the return type of a GCC
11749 builtin and then its argument prototype would still apply. */
11754 /* The GNU C library defines this for functions which it implements
11755 to always fail with ENOSYS. Some functions are actually named
11756 something starting with __ and the normal name is an alias. */
11757 #if defined __stub_dlopen || defined __stub___dlopen
11769 rm -f conftest.$ac_objext conftest$ac_exeext
11770 if { (ac_try="$ac_link"
11771 case "(($ac_try" in
11772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11773 *) ac_try_echo
=$ac_try;;
11775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11776 (eval "$ac_link") 2>conftest.er1
11778 grep -v '^ *+' conftest.er1
>conftest.err
11780 cat conftest.err
>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); } && {
11783 test -z "$ac_c_werror_flag" ||
11784 test ! -s conftest.err
11785 } && test -s conftest
$ac_exeext &&
11786 $as_test_x conftest
$ac_exeext; then
11787 ac_cv_func_dlopen
=yes
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.
$ac_ext >&5
11792 ac_cv_func_dlopen
=no
11795 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11796 conftest
$ac_exeext conftest.
$ac_ext
11798 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11799 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11800 if test $ac_cv_func_dlopen = yes; then
11801 lt_cv_dlopen
="dlopen"
11803 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11804 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11805 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 ac_check_lib_save_LIBS
=$LIBS
11810 cat >conftest.
$ac_ext <<_ACEOF
11813 cat confdefs.h
>>conftest.
$ac_ext
11814 cat >>conftest.
$ac_ext <<_ACEOF
11815 /* end confdefs.h. */
11817 /* Override any GCC internal prototype to avoid an error.
11818 Use char because int might match the return type of a GCC
11819 builtin and then its argument prototype would still apply. */
11832 rm -f conftest.
$ac_objext conftest
$ac_exeext
11833 if { (ac_try
="$ac_link"
11834 case "(($ac_try" in
11835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11836 *) ac_try_echo=$ac_try;;
11838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11839 (eval "$ac_link") 2>conftest.er1
11841 grep -v '^ *+' conftest.er1 >conftest.err
11843 cat conftest.err >&5
11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); } && {
11846 test -z "$ac_c_werror_flag" ||
11847 test ! -s conftest.err
11848 } && test -s conftest$ac_exeext &&
11849 $as_test_x conftest$ac_exeext; then
11850 ac_cv_lib_dl_dlopen=yes
11852 echo "$as_me: failed program was:" >&5
11853 sed 's/^/| /' conftest.$ac_ext >&5
11855 ac_cv_lib_dl_dlopen=no
11858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11859 conftest$ac_exeext conftest.$ac_ext
11860 LIBS=$ac_check_lib_save_LIBS
11862 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11863 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11864 if test $ac_cv_lib_dl_dlopen = yes; then
11865 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11867 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11868 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11869 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11870 echo $ECHO_N "(cached) $ECHO_C" >&6
11872 ac_check_lib_save_LIBS=$LIBS
11873 LIBS="-lsvld $LIBS"
11874 cat >conftest.$ac_ext <<_ACEOF
11877 cat confdefs.h >>conftest.$ac_ext
11878 cat >>conftest.$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11896 rm -f conftest.$ac_objext conftest$ac_exeext
11897 if { (ac_try="$ac_link"
11898 case "(($ac_try" in
11899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11900 *) ac_try_echo
=$ac_try;;
11902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11903 (eval "$ac_link") 2>conftest.er1
11905 grep -v '^ *+' conftest.er1
>conftest.err
11907 cat conftest.err
>&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); } && {
11910 test -z "$ac_c_werror_flag" ||
11911 test ! -s conftest.err
11912 } && test -s conftest
$ac_exeext &&
11913 $as_test_x conftest
$ac_exeext; then
11914 ac_cv_lib_svld_dlopen
=yes
11916 echo "$as_me: failed program was:" >&5
11917 sed 's/^/| /' conftest.
$ac_ext >&5
11919 ac_cv_lib_svld_dlopen
=no
11922 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11923 conftest
$ac_exeext conftest.
$ac_ext
11924 LIBS
=$ac_check_lib_save_LIBS
11926 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11927 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11928 if test $ac_cv_lib_svld_dlopen = yes; then
11929 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11931 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11932 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11933 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11934 echo $ECHO_N "(cached) $ECHO_C" >&6
11936 ac_check_lib_save_LIBS
=$LIBS
11938 cat >conftest.
$ac_ext <<_ACEOF
11941 cat confdefs.h
>>conftest.
$ac_ext
11942 cat >>conftest.
$ac_ext <<_ACEOF
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11955 return dld_link ();
11960 rm -f conftest.
$ac_objext conftest
$ac_exeext
11961 if { (ac_try
="$ac_link"
11962 case "(($ac_try" in
11963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11964 *) ac_try_echo=$ac_try;;
11966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11967 (eval "$ac_link") 2>conftest.er1
11969 grep -v '^ *+' conftest.er1 >conftest.err
11971 cat conftest.err >&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); } && {
11974 test -z "$ac_c_werror_flag" ||
11975 test ! -s conftest.err
11976 } && test -s conftest$ac_exeext &&
11977 $as_test_x conftest$ac_exeext; then
11978 ac_cv_lib_dld_dld_link=yes
11980 echo "$as_me: failed program was:" >&5
11981 sed 's/^/| /' conftest.$ac_ext >&5
11983 ac_cv_lib_dld_dld_link=no
11986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11987 conftest$ac_exeext conftest.$ac_ext
11988 LIBS=$ac_check_lib_save_LIBS
11990 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11991 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11992 if test $ac_cv_lib_dld_dld_link = yes; then
11993 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12014 if test "x$lt_cv_dlopen" != xno; then
12020 case $lt_cv_dlopen in
12022 save_CPPFLAGS="$CPPFLAGS"
12023 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12025 save_LDFLAGS="$LDFLAGS"
12026 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12029 LIBS="$lt_cv_dlopen_libs $LIBS"
12031 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12032 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12033 if test "${lt_cv_dlopen_self+set}" = set; then
12034 echo $ECHO_N "(cached) $ECHO_C" >&6
12036 if test "$cross_compiling" = yes; then :
12037 lt_cv_dlopen_self=cross
12039 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12040 lt_status=$lt_dlunknown
12041 cat > conftest.$ac_ext <<EOF
12042 #line 12042 "configure"
12043 #include "confdefs.h"
12052 # define LT_DLGLOBAL RTLD_GLOBAL
12055 # define LT_DLGLOBAL DL_GLOBAL
12057 # define LT_DLGLOBAL 0
12061 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12062 find out it does not work in some platform. */
12063 #ifndef LT_DLLAZY_OR_NOW
12065 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12068 # define LT_DLLAZY_OR_NOW DL_LAZY
12071 # define LT_DLLAZY_OR_NOW RTLD_NOW
12074 # define LT_DLLAZY_OR_NOW DL_NOW
12076 # define LT_DLLAZY_OR_NOW 0
12084 extern "C" void exit (int);
12087 void fnord() { int i=42;}
12090 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12091 int status = $lt_dlunknown;
12095 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12096 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12097 /* dlclose (self); */
12105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12106 (eval $ac_link) 2>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12110 (./conftest; exit; ) >&5 2>/dev/null
12112 case x$lt_status in
12113 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12114 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12115 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12118 # compilation failed
12119 lt_cv_dlopen_self=no
12126 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12127 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12129 if test "x$lt_cv_dlopen_self" = xyes; then
12130 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12131 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12132 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12133 if test "${lt_cv_dlopen_self_static+set}" = set; then
12134 echo $ECHO_N "(cached) $ECHO_C" >&6
12136 if test "$cross_compiling" = yes; then :
12137 lt_cv_dlopen_self_static=cross
12139 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12140 lt_status=$lt_dlunknown
12141 cat > conftest.$ac_ext <<EOF
12142 #line 12142 "configure"
12143 #include "confdefs.h"
12152 # define LT_DLGLOBAL RTLD_GLOBAL
12155 # define LT_DLGLOBAL DL_GLOBAL
12157 # define LT_DLGLOBAL 0
12161 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12162 find out it does not work in some platform. */
12163 #ifndef LT_DLLAZY_OR_NOW
12165 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12168 # define LT_DLLAZY_OR_NOW DL_LAZY
12171 # define LT_DLLAZY_OR_NOW RTLD_NOW
12174 # define LT_DLLAZY_OR_NOW DL_NOW
12176 # define LT_DLLAZY_OR_NOW 0
12184 extern "C" void exit (int);
12187 void fnord() { int i=42;}
12190 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12191 int status = $lt_dlunknown;
12195 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12196 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12197 /* dlclose (self); */
12205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12206 (eval $ac_link) 2>&5
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12210 (./conftest; exit; ) >&5 2>/dev/null
12212 case x$lt_status in
12213 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12214 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12215 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12218 # compilation failed
12219 lt_cv_dlopen_self_static=no
12226 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12227 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12230 CPPFLAGS="$save_CPPFLAGS"
12231 LDFLAGS="$save_LDFLAGS"
12236 case $lt_cv_dlopen_self in
12237 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12238 *) enable_dlopen_self=unknown ;;
12241 case $lt_cv_dlopen_self_static in
12242 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12243 *) enable_dlopen_self_static=unknown ;;
12248 # Report which library types will actually be built
12249 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12250 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12251 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
12252 echo "${ECHO_T}$can_build_shared" >&6; }
12254 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12255 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12256 test "$can_build_shared" = "no" && enable_shared=no
12258 # On AIX, shared libraries and static libraries use the same namespace, and
12259 # are all built from PIC.
12262 test "$enable_shared" = yes && enable_static=no
12263 if test -n "$RANLIB"; then
12264 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12265 postinstall_cmds='$RANLIB $lib'
12270 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12271 test "$enable_shared" = yes && enable_static=no
12275 { echo "$as_me:$LINENO: result: $enable_shared" >&5
12276 echo "${ECHO_T}$enable_shared" >&6; }
12278 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12279 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12280 # Make sure either enable_shared or enable_static is yes.
12281 test "$enable_shared" = yes || enable_static=yes
12282 { echo "$as_me:$LINENO: result: $enable_static" >&5
12283 echo "${ECHO_T}$enable_static" >&6; }
12285 # The else clause should only fire when bootstrapping the
12286 # libtool distribution, otherwise you forgot to ship ltmain.sh
12287 # with your package, and you will get complaints that there are
12288 # no rules to generate ltmain.sh.
12289 if test -f "$ltmain"; then
12290 # See if we are running on zsh, and set the options which allow our commands through
12291 # without removal of \ escapes.
12292 if test -n "${ZSH_VERSION+set}" ; then
12293 setopt NO_GLOB_SUBST
12295 # Now quote all the things that may contain metacharacters while being
12296 # careful not to overquote the AC_SUBSTed values. We take copies of the
12297 # variables and quote the copies for generation of the libtool script.
12298 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12300 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12301 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12302 deplibs_check_method reload_flag reload_cmds need_locks \
12303 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12304 lt_cv_sys_global_symbol_to_c_name_address \
12305 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12306 old_postinstall_cmds old_postuninstall_cmds \
12310 lt_prog_compiler_wl \
12311 lt_prog_compiler_pic \
12312 lt_prog_compiler_static \
12313 lt_prog_compiler_no_builtin_flag \
12314 export_dynamic_flag_spec \
12315 thread_safe_flag_spec \
12316 whole_archive_flag_spec \
12317 enable_shared_with_static_runtimes \
12319 old_archive_from_new_cmds \
12324 compiler_lib_search_path \
12325 compiler_lib_search_dirs \
12327 archive_expsym_cmds \
12329 postuninstall_cmds \
12330 old_archive_from_expsyms_cmds \
12331 allow_undefined_flag \
12332 no_undefined_flag \
12333 export_symbols_cmds \
12334 hardcode_libdir_flag_spec \
12335 hardcode_libdir_flag_spec_ld \
12336 hardcode_libdir_separator \
12337 hardcode_automatic \
12339 module_expsym_cmds \
12340 lt_cv_prog_compiler_c_o \
12343 include_expsyms; do
12346 old_archive_cmds | \
12347 old_archive_from_new_cmds | \
12349 archive_expsym_cmds | \
12351 module_expsym_cmds | \
12352 old_archive_from_expsyms_cmds | \
12353 export_symbols_cmds | \
12354 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12355 postinstall_cmds | postuninstall_cmds | \
12356 old_postinstall_cmds | old_postuninstall_cmds | \
12357 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12358 # Double-quote double-evaled strings.
12359 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
12362 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
12368 *'\$0 --fallback-echo"')
12369 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12373 cfgfile="${ofile}T"
12374 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12376 { echo "$as_me:$LINENO: creating $ofile" >&5
12377 echo "$as_me: creating $ofile" >&6;}
12379 cat <<__EOF__ >> "$cfgfile"
12382 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
12383 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12384 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12386 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
12387 # Free Software Foundation, Inc.
12389 # This file is part of GNU Libtool:
12390 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12392 # This program is free software; you can redistribute it and/or modify
12393 # it under the terms of the GNU General Public License as published by
12394 # the Free Software Foundation; either version 2 of the License, or
12395 # (at your option) any later version.
12397 # This program is distributed in the hope that it will be useful, but
12398 # WITHOUT ANY WARRANTY; without even the implied warranty of
12399 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12400 # General Public License for more details.
12402 # You should have received a copy of the GNU General Public License
12403 # along with this program; if not, write to the Free Software
12404 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12406 # As a special exception to the GNU General Public License, if you
12407 # distribute this file as part of a program that contains a
12408 # configuration script generated by Autoconf, you may include it under
12409 # the same distribution terms that you use for the rest of that program.
12411 # A sed program that does not truncate output.
12414 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12415 Xsed="$SED -e 1s/^X//"
12417 # The HP-UX ksh and POSIX shell print the target directory to stdout
12418 # if CDPATH is set.
12419 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12421 # The names of the tagged configurations supported by this script.
12424 # ### BEGIN LIBTOOL CONFIG
12426 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
12428 # Shell to use when invoking shell scripts.
12431 # Whether or not to build shared libraries.
12432 build_libtool_libs=$enable_shared
12434 # Whether or not to build static libraries.
12435 build_old_libs=$enable_static
12437 # Whether or not to add -lc for building shared libraries.
12438 build_libtool_need_lc=$archive_cmds_need_lc
12440 # Whether or not to disallow shared libs when runtime libs are static
12441 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12443 # Whether or not to optimize for fast installation.
12444 fast_install=$enable_fast_install
12447 host_alias=$host_alias
12451 # The build system.
12452 build_alias=$build_alias
12456 # An echo program that does not interpret backslashes.
12461 AR_FLAGS=$lt_AR_FLAGS
12466 # LTCC compiler flags.
12467 LTCFLAGS=$lt_LTCFLAGS
12469 # A language-specific compiler.
12472 # Is the compiler the GNU C compiler?
12478 # The linker used to build libraries.
12481 # Whether we need hard or soft links.
12484 # A BSD-compatible nm program.
12487 # A symbol stripping program
12490 # Used to examine libraries when file_magic_cmd begins "file"
12491 MAGIC_CMD=$MAGIC_CMD
12493 # Used on cygwin: DLL creation program.
12496 # Used on cygwin: object dumper.
12499 # Used on cygwin: assembler.
12502 # The name of the directory that contains temporary libtool files.
12505 # How to create reloadable object files.
12506 reload_flag=$lt_reload_flag
12507 reload_cmds=$lt_reload_cmds
12509 # How to pass a linker flag through the compiler.
12510 wl=$lt_lt_prog_compiler_wl
12512 # Object file suffix (normally "o").
12513 objext="$ac_objext"
12515 # Old archive suffix (normally "a").
12518 # Shared library suffix (normally ".so").
12519 shrext_cmds='$shrext_cmds'
12521 # Executable file suffix (normally "").
12524 # Additional compiler flags for building library objects.
12525 pic_flag=$lt_lt_prog_compiler_pic
12528 # What is the maximum length of a command?
12529 max_cmd_len=$lt_cv_sys_max_cmd_len
12531 # Does compiler simultaneously support -c and -o options?
12532 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12534 # Must we lock files when doing compilation?
12535 need_locks=$lt_need_locks
12537 # Do we need the lib prefix for modules?
12538 need_lib_prefix=$need_lib_prefix
12540 # Do we need a version for libraries?
12541 need_version=$need_version
12543 # Whether dlopen is supported.
12544 dlopen_support=$enable_dlopen
12546 # Whether dlopen of programs is supported.
12547 dlopen_self=$enable_dlopen_self
12549 # Whether dlopen of statically linked programs is supported.
12550 dlopen_self_static=$enable_dlopen_self_static
12552 # Compiler flag to prevent dynamic linking.
12553 link_static_flag=$lt_lt_prog_compiler_static
12555 # Compiler flag to turn off builtin functions.
12556 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12558 # Compiler flag to allow reflexive dlopens.
12559 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12561 # Compiler flag to generate shared objects directly from archives.
12562 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12564 # Compiler flag to generate thread-safe objects.
12565 thread_safe_flag_spec=$lt_thread_safe_flag_spec
12567 # Library versioning type.
12568 version_type=$version_type
12570 # Format of library name prefix.
12571 libname_spec=$lt_libname_spec
12573 # List of archive names. First name is the real one, the rest are links.
12574 # The last name is the one that the linker finds with -lNAME.
12575 library_names_spec=$lt_library_names_spec
12577 # The coded name of the library, if different from the real name.
12578 soname_spec=$lt_soname_spec
12580 # Commands used to build and install an old-style archive.
12582 old_archive_cmds=$lt_old_archive_cmds
12583 old_postinstall_cmds=$lt_old_postinstall_cmds
12584 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12586 # Create an old-style archive from a shared archive.
12587 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12589 # Create a temporary old-style archive to link instead of a shared archive.
12590 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12592 # Commands used to build and install a shared archive.
12593 archive_cmds=$lt_archive_cmds
12594 archive_expsym_cmds=$lt_archive_expsym_cmds
12595 postinstall_cmds=$lt_postinstall_cmds
12596 postuninstall_cmds=$lt_postuninstall_cmds
12598 # Commands used to build a loadable module (assumed same as above if empty)
12599 module_cmds=$lt_module_cmds
12600 module_expsym_cmds=$lt_module_expsym_cmds
12602 # Commands to strip libraries.
12603 old_striplib=$lt_old_striplib
12604 striplib=$lt_striplib
12606 # Dependencies to place before the objects being linked to create a
12608 predep_objects=$lt_predep_objects
12610 # Dependencies to place after the objects being linked to create a
12612 postdep_objects=$lt_postdep_objects
12614 # Dependencies to place before the objects being linked to create a
12616 predeps=$lt_predeps
12618 # Dependencies to place after the objects being linked to create a
12620 postdeps=$lt_postdeps
12622 # The directories searched by this compiler when creating a shared
12624 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
12626 # The library search path used internally by the compiler when linking
12627 # a shared library.
12628 compiler_lib_search_path=$lt_compiler_lib_search_path
12630 # Method to check whether dependent libraries are shared objects.
12631 deplibs_check_method=$lt_deplibs_check_method
12633 # Command to use when deplibs_check_method == file_magic.
12634 file_magic_cmd=$lt_file_magic_cmd
12636 # Flag that allows shared libraries with undefined symbols to be built.
12637 allow_undefined_flag=$lt_allow_undefined_flag
12639 # Flag that forces no undefined symbols.
12640 no_undefined_flag=$lt_no_undefined_flag
12642 # Commands used to finish a libtool library installation in a directory.
12643 finish_cmds=$lt_finish_cmds
12645 # Same as above, but a single script fragment to be evaled but not shown.
12646 finish_eval=$lt_finish_eval
12648 # Take the output of nm and produce a listing of raw symbols and C names.
12649 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12651 # Transform the output of nm in a proper C declaration
12652 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12654 # Transform the output of nm in a C name address pair
12655 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12657 # This is the shared library runtime path variable.
12658 runpath_var=$runpath_var
12660 # This is the shared library path variable.
12661 shlibpath_var=$shlibpath_var
12663 # Is shlibpath searched before the hard-coded library search path?
12664 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12666 # How to hardcode a shared library path into an executable.
12667 hardcode_action=$hardcode_action
12669 # Whether we should hardcode library paths into libraries.
12670 hardcode_into_libs=$hardcode_into_libs
12672 # Flag to hardcode \$libdir into a binary during linking.
12673 # This must work even if \$libdir does not exist.
12674 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12676 # If ld is used when linking, flag to hardcode \$libdir into
12677 # a binary during linking. This must work even if \$libdir does
12679 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12681 # Whether we need a single -rpath flag with a separated argument.
12682 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12684 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12685 # resulting binary.
12686 hardcode_direct=$hardcode_direct
12688 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12689 # resulting binary.
12690 hardcode_minus_L=$hardcode_minus_L
12692 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12693 # the resulting binary.
12694 hardcode_shlibpath_var=$hardcode_shlibpath_var
12696 # Set to yes if building a shared library automatically hardcodes DIR into the library
12697 # and all subsequent libraries and executables linked against it.
12698 hardcode_automatic=$hardcode_automatic
12700 # Variables whose values should be saved in libtool wrapper scripts and
12701 # restored at relink time.
12702 variables_saved_for_relink="$variables_saved_for_relink"
12704 # Whether libtool must link a program against all its dependency libraries.
12705 link_all_deplibs=$link_all_deplibs
12707 # Compile-time system search path for libraries
12708 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12710 # Run-time system search path for libraries
12711 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12713 # Fix the shell variable \$srcfile for the compiler.
12714 fix_srcfile_path=$lt_fix_srcfile_path
12716 # Set to yes if exported symbols are required.
12717 always_export_symbols=$always_export_symbols
12719 # The commands to list exported symbols.
12720 export_symbols_cmds=$lt_export_symbols_cmds
12722 # The commands to extract the exported symbol list from a shared archive.
12723 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12725 # Symbols that should not be listed in the preloaded symbols.
12726 exclude_expsyms=$lt_exclude_expsyms
12728 # Symbols that must always be exported.
12729 include_expsyms=$lt_include_expsyms
12731 # ### END LIBTOOL CONFIG
12738 cat <<\EOF >> "$cfgfile"
12740 # AIX sometimes has problems with the GCC collect2 program. For some
12741 # reason, if we set the COLLECT_NAMES environment variable, the problems
12742 # vanish in a puff of smoke.
12743 if test "X${COLLECT_NAMES+set}" != Xset; then
12745 export COLLECT_NAMES
12751 # We use sed instead of cat because bash on DJGPP gets confused if
12752 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12753 # text mode, it properly converts lines to CR/LF. This bash problem
12754 # is reportedly fixed, but why not run on old versions too?
12755 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12757 mv -f "$cfgfile" "$ofile" || \
12758 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12762 # If there is no Makefile yet, we rely on a make rule to execute
12763 # `config.status
--recheck' to rerun these tests and create the
12764 # libtool script then.
12765 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
12766 if test -f "$ltmain_in"; then
12767 test -f Makefile && make "$ltmain"
12773 ac_cpp='$CPP $CPPFLAGS'
12774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12775 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12781 # Check whether --with-tags was given.
12782 if test "${with_tags+set}" = set; then
12783 withval=$with_tags; tagnames="$withval"
12787 if test -f "$ltmain" && test -n "$tagnames"; then
12788 if test ! -f "${ofile}"; then
12789 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
12790 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
12793 if test -z "$LTCC"; then
12794 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
12795 if test -z "$LTCC"; then
12796 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12797 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
12799 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
12800 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
12803 if test -z "$LTCFLAGS"; then
12804 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
12807 # Extract list of available tagged configurations in $ofile.
12808 # Note that this assumes the entire list is on one line.
12809 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12811 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12812 for tagname in $tagnames; do
12814 # Check whether tagname contains only valid characters
12815 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12817 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12818 echo "$as_me: error: invalid tag name: $tagname" >&2;}
12819 { (exit 1); exit 1; }; }
12823 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12825 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12826 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12827 { (exit 1); exit 1; }; }
12830 # Update the list of available tags.
12831 if test -n "$tagname"; then
12832 echo appending configuration tag \"$tagname\" to $ofile
12836 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12837 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
12838 (test "X$CXX" != "Xg++"))) ; then
12840 ac_cpp='$CXXCPP $CPPFLAGS'
12841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12848 archive_cmds_need_lc_CXX=no
12849 allow_undefined_flag_CXX=
12850 always_export_symbols_CXX=no
12851 archive_expsym_cmds_CXX=
12852 export_dynamic_flag_spec_CXX=
12853 hardcode_direct_CXX=no
12854 hardcode_libdir_flag_spec_CXX=
12855 hardcode_libdir_flag_spec_ld_CXX=
12856 hardcode_libdir_separator_CXX=
12857 hardcode_minus_L_CXX=no
12858 hardcode_shlibpath_var_CXX=unsupported
12859 hardcode_automatic_CXX=no
12861 module_expsym_cmds_CXX=
12862 link_all_deplibs_CXX=unknown
12863 old_archive_cmds_CXX=$old_archive_cmds
12864 no_undefined_flag_CXX=
12865 whole_archive_flag_spec_CXX=
12866 enable_shared_with_static_runtimes_CXX=no
12868 # Dependencies to place before and after the object being linked:
12869 predep_objects_CXX=
12870 postdep_objects_CXX=
12873 compiler_lib_search_path_CXX=
12874 compiler_lib_search_dirs_CXX=
12876 # Source file extension for C++ test sources.
12879 # Object file extension for compiled C++ test sources.
12883 # Code to be used in simple compile tests
12884 lt_simple_compile_test_code="int some_variable = 0;"
12886 # Code to be used in simple link tests
12887 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12889 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12891 # If no C compiler was specified, use CC.
12894 # If no C compiler flags were specified, use CFLAGS.
12895 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12897 # Allow CC to be a program name with arguments.
12901 # save warnings/boilerplate of simple test code
12902 ac_outfile=conftest.$ac_objext
12903 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12904 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12905 _lt_compiler_boilerplate=`cat conftest.err
`
12908 ac_outfile=conftest.$ac_objext
12909 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12910 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12911 _lt_linker_boilerplate=`cat conftest.err
`
12915 # Allow CC to be a program name with arguments.
12920 lt_save_with_gnu_ld=$with_gnu_ld
12921 lt_save_path_LD=$lt_cv_path_LD
12922 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12923 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12925 $as_unset lt_cv_prog_gnu_ld
12927 if test -n "${lt_cv_path_LDCXX+set}"; then
12928 lt_cv_path_LD=$lt_cv_path_LDCXX
12930 $as_unset lt_cv_path_LD
12932 test -z "${LDCXX+set}" || LD=$LDCXX
12936 for cc_temp in $compiler""; do
12938 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12939 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12944 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12947 # We don't want -fno-exception wen compiling C++ code, so set the
12948 # no_builtin_flag separately
12949 if test "$GXX" = yes; then
12950 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12952 lt_prog_compiler_no_builtin_flag_CXX=
12955 if test "$GXX" = yes; then
12956 # Set up default GNU C++ configuration
12959 # Check whether --with-gnu-ld was given.
12960 if test "${with_gnu_ld+set}" = set; then
12961 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12967 if test "$GCC" = yes; then
12968 # Check if gcc -print-prog-name=ld gives a path.
12969 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12970 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12973 # gcc leaves a trailing carriage return which upsets mingw
12974 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
12976 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
12979 # Accept absolute paths.
12981 re_direlt='/[^/][^/]*/\.\./'
12982 # Canonicalize the pathname of ld
12983 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
12984 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12985 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
12987 test -z "$LD" && LD="$ac_prog"
12990 # If it fails, then pretend we aren't using GCC.
12994 # If it is relative, then search for the first ld in PATH.
12995 with_gnu_ld=unknown
12998 elif test "$with_gnu_ld" = yes; then
12999 { echo "$as_me:$LINENO: checking for GNU ld" >&5
13000 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13002 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13003 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13005 if test "${lt_cv_path_LD+set}" = set; then
13006 echo $ECHO_N "(cached) $ECHO_C" >&6
13008 if test -z "$LD"; then
13009 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13010 for ac_dir in $PATH; do
13012 test -z "$ac_dir" && ac_dir=.
13013 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13014 lt_cv_path_LD="$ac_dir/$ac_prog"
13015 # Check to see if the program is GNU ld. I'd rather use --version,
13016 # but apparently some variants of GNU ld only accept -v.
13017 # Break only if it was the GNU/non-GNU ld that we prefer.
13018 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
13019 *GNU* | *'with BFD'*)
13020 test "$with_gnu_ld" != no && break
13023 test "$with_gnu_ld" != yes && break
13030 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13034 LD="$lt_cv_path_LD"
13035 if test -n "$LD"; then
13036 { echo "$as_me:$LINENO: result: $LD" >&5
13037 echo "${ECHO_T}$LD" >&6; }
13039 { echo "$as_me:$LINENO: result: no" >&5
13040 echo "${ECHO_T}no" >&6; }
13042 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13043 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13044 { (exit 1); exit 1; }; }
13045 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13046 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13047 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13048 echo $ECHO_N "(cached) $ECHO_C" >&6
13050 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13051 case `$LD -v 2>&1 </dev
/null
` in
13052 *GNU* | *'with BFD'*)
13053 lt_cv_prog_gnu_ld=yes
13056 lt_cv_prog_gnu_ld=no
13060 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13061 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13062 with_gnu_ld=$lt_cv_prog_gnu_ld
13066 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13067 # archiving commands below assume that GNU ld is being used.
13068 if test "$with_gnu_ld" = yes; then
13069 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13070 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'
13072 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13073 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13075 # If archive_cmds runs LD, not CC, wlarc should be empty
13076 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13077 # investigate it a little bit more. (MM)
13080 # ancient GNU ld didn't support --whole-archive et. al.
13081 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
13082 grep 'no-whole-archive' > /dev/null; then
13083 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13085 whole_archive_flag_spec_CXX=
13091 # A generic and very simple default shared library creation
13092 # command for GNU C++ for the case where it uses the native
13093 # linker, instead of GNU ld. If possible, this setting should
13094 # overridden to take advantage of the native linker features on
13095 # the platform it is being used on.
13096 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13099 # Commands to make compiler produce verbose output that lists
13100 # what "hidden" libraries, object files and flags are used when
13101 # linking a shared library.
13102 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13110 # PORTME: fill in a description of your system's C++ link characteristics
13111 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13112 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13116 # FIXME: insert proper C++ library support
13120 if test "$host_cpu" = ia64; then
13121 # On IA64, the linker does run time linking by default, so we don't
13122 # have to do anything special.
13123 aix_use_runtimelinking=no
13124 exp_sym_flag='-Bexport'
13127 aix_use_runtimelinking=no
13129 # Test if we are trying to use run time linking or normal
13130 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13131 # need to do runtime linking.
13132 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13133 for ld_flag in $LDFLAGS; do
13136 aix_use_runtimelinking=yes
13144 exp_sym_flag='-bexport'
13145 no_entry_flag='-bnoentry'
13148 # When large executables or shared objects are built, AIX ld can
13149 # have problems creating the table of contents. If linking a library
13150 # or program results in "error TOC overflow" add -mminimal-toc to
13151 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13152 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13154 archive_cmds_CXX=''
13155 hardcode_direct_CXX=yes
13156 hardcode_libdir_separator_CXX=':'
13157 link_all_deplibs_CXX=yes
13159 if test "$GXX" = yes; then
13160 case $host_os in aix4.[012]|aix4.[012].*)
13161 # We only want to do this on AIX 4.2 and lower, the check
13162 # below for broken collect2 doesn't work under 4.3+
13163 collect2name=`${CC} -print-prog-name=collect2
`
13164 if test -f "$collect2name" && \
13165 strings "$collect2name" | grep resolve_lib_name >/dev/null
13167 # We have reworked collect2
13170 # We have old collect2
13171 hardcode_direct_CXX=unsupported
13172 # It fails to find uninstalled libraries when the uninstalled
13173 # path is not listed in the libpath. Setting hardcode_minus_L
13174 # to unsupported forces relinking
13175 hardcode_minus_L_CXX=yes
13176 hardcode_libdir_flag_spec_CXX='-L$libdir'
13177 hardcode_libdir_separator_CXX=
13181 shared_flag='-shared'
13182 if test "$aix_use_runtimelinking" = yes; then
13183 shared_flag="$shared_flag "'${wl}-G'
13187 if test "$host_cpu" = ia64; then
13188 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13189 # chokes on -Wl,-G. The following line is correct:
13192 if test "$aix_use_runtimelinking" = yes; then
13193 shared_flag='${wl}-G'
13195 shared_flag='${wl}-bM:SRE'
13200 # It seems that -bexpall does not export symbols beginning with
13201 # underscore (_), so it is better to generate a list of symbols to export.
13202 always_export_symbols_CXX=yes
13203 if test "$aix_use_runtimelinking" = yes; then
13204 # Warning - without using the other runtime loading flags (-brtl),
13205 # -berok will link without error, but may produce a broken library.
13206 allow_undefined_flag_CXX='-berok'
13207 # Determine the default libpath from the value encoded in an empty executable.
13208 cat >conftest.$ac_ext <<_ACEOF
13211 cat confdefs.h >>conftest.$ac_ext
13212 cat >>conftest.$ac_ext <<_ACEOF
13213 /* end confdefs.h. */
13223 rm -f conftest.$ac_objext conftest$ac_exeext
13224 if { (ac_try="$ac_link"
13225 case "(($ac_try" in
13226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13227 *) ac_try_echo
=$ac_try;;
13229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13230 (eval "$ac_link") 2>conftest.er1
13232 grep -v '^ *+' conftest.er1
>conftest.err
13234 cat conftest.err
>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); } && {
13237 test -z "$ac_cxx_werror_flag" ||
13238 test ! -s conftest.err
13239 } && test -s conftest
$ac_exeext &&
13240 $as_test_x conftest
$ac_exeext; then
13242 lt_aix_libpath_sed
='
13243 /Import File Strings/,/^$/ {
13249 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13250 # Check for a 64-bit object if we didn't find anything.
13251 if test -z "$aix_libpath"; then
13252 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13255 echo "$as_me: failed program was:" >&5
13256 sed 's/^/| /' conftest.
$ac_ext >&5
13261 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13262 conftest
$ac_exeext conftest.
$ac_ext
13263 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13265 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13267 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"
13269 if test "$host_cpu" = ia64
; then
13270 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13271 allow_undefined_flag_CXX
="-z nodefs"
13272 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"
13274 # Determine the default libpath from the value encoded in an empty executable.
13275 cat >conftest.
$ac_ext <<_ACEOF
13278 cat confdefs.h
>>conftest.
$ac_ext
13279 cat >>conftest.
$ac_ext <<_ACEOF
13280 /* end confdefs.h. */
13290 rm -f conftest.
$ac_objext conftest
$ac_exeext
13291 if { (ac_try
="$ac_link"
13292 case "(($ac_try" in
13293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13294 *) ac_try_echo=$ac_try;;
13296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13297 (eval "$ac_link") 2>conftest.er1
13299 grep -v '^ *+' conftest.er1 >conftest.err
13301 cat conftest.err >&5
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); } && {
13304 test -z "$ac_cxx_werror_flag" ||
13305 test ! -s conftest.err
13306 } && test -s conftest$ac_exeext &&
13307 $as_test_x conftest$ac_exeext; then
13309 lt_aix_libpath_sed='
13310 /Import File Strings/,/^$/ {
13316 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
13317 # Check for a 64-bit object if we didn't find anything.
13318 if test -z "$aix_libpath"; then
13319 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.$ac_ext >&5
13328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13329 conftest$ac_exeext conftest.$ac_ext
13330 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13332 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13333 # Warning - without using the other run time loading flags,
13334 # -berok will link without error, but may produce a broken library.
13335 no_undefined_flag_CXX=' ${wl}-bernotok'
13336 allow_undefined_flag_CXX=' ${wl}-berok'
13337 # Exported symbols can be pulled into shared objects from archives
13338 whole_archive_flag_spec_CXX='$convenience'
13339 archive_cmds_need_lc_CXX=yes
13340 # This is similar to how AIX traditionally builds its shared libraries.
13341 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'
13347 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13348 allow_undefined_flag_CXX=unsupported
13349 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13350 # support --undefined. This deserves some investigation. FIXME
13351 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13358 case $cc_basename in
13360 # FIXME: insert proper C++ library support
13366 cygwin* | mingw* | pw32*)
13367 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13368 # as there is no search path for DLLs.
13369 hardcode_libdir_flag_spec_CXX='-L$libdir'
13370 allow_undefined_flag_CXX=unsupported
13371 always_export_symbols_CXX=no
13372 enable_shared_with_static_runtimes_CXX=yes
13374 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13375 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'
13376 # If the export-symbols file already is a .def file (1st line
13377 # is EXPORTS), use it as is; otherwise, prepend...
13378 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
13379 cp $export_symbols $output_objdir/$soname.def;
13381 echo EXPORTS > $output_objdir/$soname.def;
13382 cat $export_symbols >> $output_objdir/$soname.def;
13384 $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'
13389 darwin* | rhapsody*)
13390 archive_cmds_need_lc_CXX=no
13391 hardcode_direct_CXX=no
13392 hardcode_automatic_CXX=yes
13393 hardcode_shlibpath_var_CXX=unsupported
13394 whole_archive_flag_spec_CXX=''
13395 link_all_deplibs_CXX=yes
13396 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13397 if test "$GXX" = yes ; then
13398 output_verbose_link_cmd='echo'
13399 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13400 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13401 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13402 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13403 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13404 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13405 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13408 case $cc_basename in
13410 output_verbose_link_cmd='echo'
13411 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
13412 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13413 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13414 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13415 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}'
13425 case $cc_basename in
13427 # FIXME: insert proper C++ library support
13431 # Green Hills C++ Compiler
13432 # FIXME: insert proper C++ library support
13436 # FIXME: insert proper C++ library support
13442 # C++ shared libraries reported to be fairly broken before switch to ELF
13446 archive_cmds_need_lc_CXX=no
13448 freebsd* | dragonfly*)
13449 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13456 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13457 hardcode_libdir_separator_CXX=:
13458 export_dynamic_flag_spec_CXX='${wl}-E'
13459 hardcode_direct_CXX=yes
13460 hardcode_minus_L_CXX=yes # Not in the search PATH,
13461 # but as the default
13462 # location of the library.
13464 case $cc_basename in
13466 # FIXME: insert proper C++ library support
13470 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'
13471 # Commands to make compiler produce verbose output that lists
13472 # what "hidden" libraries, object files and flags are used when
13473 # linking a shared library.
13475 # There doesn't appear to be a way to prevent this compiler from
13476 # explicitly linking system object files so we need to strip them
13477 # from the output so that they don't get included in the library
13479 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'
13482 if test "$GXX" = yes; then
13483 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'
13485 # FIXME: insert proper C++ library support
13492 if test $with_gnu_ld = no; then
13493 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13494 hardcode_libdir_separator_CXX=:
13499 export_dynamic_flag_spec_CXX='${wl}-E'
13505 hardcode_direct_CXX=no
13506 hardcode_shlibpath_var_CXX=no
13509 hardcode_direct_CXX=yes
13510 hardcode_minus_L_CXX=yes # Not in the search PATH,
13511 # but as the default
13512 # location of the library.
13516 case $cc_basename in
13518 # FIXME: insert proper C++ library support
13524 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13527 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13530 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13533 # Commands to make compiler produce verbose output that lists
13534 # what "hidden" libraries, object files and flags are used when
13535 # linking a shared library.
13537 # There doesn't appear to be a way to prevent this compiler from
13538 # explicitly linking system object files so we need to strip them
13539 # from the output so that they don't get included in the library
13541 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'
13544 if test "$GXX" = yes; then
13545 if test $with_gnu_ld = no; then
13548 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13551 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13554 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'
13559 # FIXME: insert proper C++ library support
13566 hardcode_direct_CXX=no
13567 hardcode_shlibpath_var_CXX=no
13568 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13569 export_dynamic_flag_spec_CXX='${wl}-E'
13570 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13571 # Instead, shared libraries are loaded at an image base (0x10000000 by
13572 # default) and relocated if they conflict, which is a slow very memory
13573 # consuming and fragmenting process. To avoid this, we pick a random,
13574 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13575 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13576 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'
13577 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'
13580 case $cc_basename in
13583 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'
13585 # Archives containing C++ object files must be created using
13586 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13587 # necessary to make sure instantiated templates are included
13589 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13592 if test "$GXX" = yes; then
13593 if test "$with_gnu_ld" = no; then
13594 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'
13596 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'
13599 link_all_deplibs_CXX=yes
13602 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13603 hardcode_libdir_separator_CXX=:
13605 linux* | k*bsd*-gnu)
13606 case $cc_basename in
13608 # Kuck and Associates, Inc. (KAI) C++ Compiler
13610 # KCC will only create a shared library if the output file
13611 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13612 # to its proper name (with version) after linking.
13613 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'
13614 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'
13615 # Commands to make compiler produce verbose output that lists
13616 # what "hidden" libraries, object files and flags are used when
13617 # linking a shared library.
13619 # There doesn't appear to be a way to prevent this compiler from
13620 # explicitly linking system object files so we need to strip them
13621 # from the output so that they don't get included in the library
13623 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'
13625 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
13626 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13628 # Archives containing C++ object files must be created using
13629 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13630 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13635 # version 8.0 and above of icpc choke on multiply defined symbols
13636 # if we add $predep_objects and $postdep_objects, however 7.1 and
13637 # earlier do not add the objects themselves.
13638 case `$CC -V 2>&1` in
13640 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13641 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'
13643 *) # Version 8.0 or newer
13646 ia64
*) tmp_idyn
=' -i_dynamic';;
13648 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13649 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'
13652 archive_cmds_need_lc_CXX
=no
13653 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13654 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13655 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13658 # Portland Group C++ compiler
13659 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13660 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'
13662 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13663 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13664 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'
13668 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13669 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'
13671 runpath_var
=LD_RUN_PATH
13672 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13673 hardcode_libdir_separator_CXX
=:
13675 # Commands to make compiler produce verbose output that lists
13676 # what "hidden" libraries, object files and flags are used when
13677 # linking a shared library.
13679 # There doesn't appear to be a way to prevent this compiler from
13680 # explicitly linking system object files so we need to strip them
13681 # from the output so that they don't get included in the library
13683 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'
13686 case `$CC -V 2>&1 | sed 5q` in
13689 no_undefined_flag_CXX
=' -zdefs'
13690 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13691 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13692 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13693 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13695 # Not sure whether something based on
13696 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13698 output_verbose_link_cmd
='echo'
13700 # Archives containing C++ object files must be created using
13701 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13702 # necessary to make sure instantiated templates are included
13704 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13711 # FIXME: insert proper C++ library support
13715 # FIXME: insert proper C++ library support
13719 case $cc_basename in
13721 # FIXME: insert proper C++ library support
13725 # FIXME: insert proper C++ library support
13730 netbsd
* | netbsdelf
*-gnu)
13731 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13732 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13734 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13735 hardcode_direct_CXX
=yes
13736 hardcode_shlibpath_var_CXX
=no
13738 # Workaround some broken pre-1.5 toolchains
13739 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13742 # C++ shared libraries are fairly broken
13746 if test -f /usr
/libexec
/ld.so
; then
13747 hardcode_direct_CXX
=yes
13748 hardcode_shlibpath_var_CXX
=no
13749 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13750 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13751 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13752 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13753 export_dynamic_flag_spec_CXX
='${wl}-E'
13754 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13756 output_verbose_link_cmd
='echo'
13762 case $cc_basename in
13764 # Kuck and Associates, Inc. (KAI) C++ Compiler
13766 # KCC will only create a shared library if the output file
13767 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13768 # to its proper name (with version) after linking.
13769 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'
13771 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13772 hardcode_libdir_separator_CXX
=:
13774 # Archives containing C++ object files must be created using
13775 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13776 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13780 # Rational C++ 2.4.1
13781 # FIXME: insert proper C++ library support
13785 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13786 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'
13788 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13789 hardcode_libdir_separator_CXX
=:
13791 # Commands to make compiler produce verbose output that lists
13792 # what "hidden" libraries, object files and flags are used when
13793 # linking a shared library.
13795 # There doesn't appear to be a way to prevent this compiler from
13796 # explicitly linking system object files so we need to strip them
13797 # from the output so that they don't get included in the library
13799 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'
13802 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13803 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13804 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'
13806 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13807 hardcode_libdir_separator_CXX
=:
13809 # Commands to make compiler produce verbose output that lists
13810 # what "hidden" libraries, object files and flags are used when
13811 # linking a shared library.
13812 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13815 # FIXME: insert proper C++ library support
13822 case $cc_basename in
13824 # Kuck and Associates, Inc. (KAI) C++ Compiler
13826 # KCC will only create a shared library if the output file
13827 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13828 # to its proper name (with version) after linking.
13829 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'
13831 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13832 hardcode_libdir_separator_CXX
=:
13834 # Archives containing C++ object files must be created using
13835 # the KAI C++ compiler.
13836 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
13839 # Rational C++ 2.4.1
13840 # FIXME: insert proper C++ library support
13844 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13845 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'
13846 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13847 echo "-hidden">> $lib.exp~
13848 $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~
13851 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13852 hardcode_libdir_separator_CXX
=:
13854 # Commands to make compiler produce verbose output that lists
13855 # what "hidden" libraries, object files and flags are used when
13856 # linking a shared library.
13858 # There doesn't appear to be a way to prevent this compiler from
13859 # explicitly linking system object files so we need to strip them
13860 # from the output so that they don't get included in the library
13862 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'
13865 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13866 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13867 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'
13869 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13870 hardcode_libdir_separator_CXX
=:
13872 # Commands to make compiler produce verbose output that lists
13873 # what "hidden" libraries, object files and flags are used when
13874 # linking a shared library.
13875 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13878 # FIXME: insert proper C++ library support
13885 # FIXME: insert proper C++ library support
13889 case $cc_basename in
13892 # FIXME: insert proper C++ library support
13897 # FIXME: insert proper C++ library support
13901 # FIXME: insert proper C++ library support
13907 case $cc_basename in
13909 # Sun C++ 4.2, 5.x and Centerline C++
13910 archive_cmds_need_lc_CXX
=yes
13911 no_undefined_flag_CXX
=' -zdefs'
13912 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13913 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13914 $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'
13916 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13917 hardcode_shlibpath_var_CXX
=no
13919 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13921 # The compiler driver will combine and reorder linker options,
13922 # but understands `-z linker_flag'.
13923 # Supported since Solaris 2.6 (maybe 2.5.1?)
13924 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13927 link_all_deplibs_CXX
=yes
13929 output_verbose_link_cmd
='echo'
13931 # Archives containing C++ object files must be created using
13932 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13933 # necessary to make sure instantiated templates are included
13935 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13938 # Green Hills C++ Compiler
13939 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13941 # The C++ compiler must be used to create the archive.
13942 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13945 # GNU C++ compiler with Solaris linker
13946 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13947 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13948 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
13949 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13950 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13951 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13953 # Commands to make compiler produce verbose output that lists
13954 # what "hidden" libraries, object files and flags are used when
13955 # linking a shared library.
13956 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13958 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13960 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13961 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13962 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13964 # Commands to make compiler produce verbose output that lists
13965 # what "hidden" libraries, object files and flags are used when
13966 # linking a shared library.
13967 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13970 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13972 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13974 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13981 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13982 no_undefined_flag_CXX
='${wl}-z,text'
13983 archive_cmds_need_lc_CXX
=no
13984 hardcode_shlibpath_var_CXX
=no
13985 runpath_var
='LD_RUN_PATH'
13987 case $cc_basename in
13989 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13990 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13993 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13994 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13998 sysv5
* | sco3.2v5
* | sco5v6
*)
13999 # Note: We can NOT use -z defs as we might desire, because we do not
14000 # link with -lc, and that would cause any symbols used from libc to
14001 # always be unresolved, which means just about no library would
14002 # ever link correctly. If we're not using GNU ld we use -z text
14003 # though, which does catch some bad symbols but isn't as heavy-handed
14005 # For security reasons, it is highly recommended that you always
14006 # use absolute paths for naming shared libraries, and exclude the
14007 # DT_RUNPATH tag from executables and libraries. But doing so
14008 # requires that you compile everything twice, which is a pain.
14009 # So that behaviour is only enabled if SCOABSPATH is set to a
14010 # non-empty value in the environment. Most likely only useful for
14011 # creating official distributions of packages.
14012 # This is a hack until libtool officially supports absolute path
14013 # names for shared libraries.
14014 no_undefined_flag_CXX
='${wl}-z,text'
14015 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14016 archive_cmds_need_lc_CXX
=no
14017 hardcode_shlibpath_var_CXX
=no
14018 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14019 hardcode_libdir_separator_CXX
=':'
14020 link_all_deplibs_CXX
=yes
14021 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14022 runpath_var
='LD_RUN_PATH'
14024 case $cc_basename in
14026 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14027 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14030 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14031 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14036 case $cc_basename in
14038 # NonStop-UX NCC 3.20
14039 # FIXME: insert proper C++ library support
14043 # FIXME: insert proper C++ library support
14049 # FIXME: insert proper C++ library support
14053 # FIXME: insert proper C++ library support
14057 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14058 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14059 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14064 cat > conftest.
$ac_ext <<EOF
14068 Foo (void) { a = 0; }
14074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14075 (eval $ac_compile) 2>&5
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); }; then
14079 # Parse the compiler output and extract the necessary
14080 # objects, libraries and library flags.
14082 # Sentinel used to keep track of whether or not we are before
14083 # the conftest object file.
14084 pre_test_object_deps_done
=no
14086 # The `*' in the case matches for architectures that use `case' in
14087 # $output_verbose_cmd can trigger glob expansion during the loop
14088 # eval without this substitution.
14089 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14091 for p
in `eval $output_verbose_link_cmd`; do
14095 # Some compilers place space between "-{L,R}" and the path.
14096 # Remove the space.
14097 if test $p = "-L" \
14098 ||
test $p = "-R"; then
14105 if test "$pre_test_object_deps_done" = no
; then
14108 # Internal compiler library paths should come after those
14109 # provided the user. The postdeps already come after the
14110 # user supplied libs so there is no need to process them.
14111 if test -z "$compiler_lib_search_path_CXX"; then
14112 compiler_lib_search_path_CXX
="${prev}${p}"
14114 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14117 # The "-l" case would never come before the object being
14118 # linked, so don't bother handling this case.
14121 if test -z "$postdeps_CXX"; then
14122 postdeps_CXX
="${prev}${p}"
14124 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14130 # This assumes that the test object file only shows up
14131 # once in the compiler output.
14132 if test "$p" = "conftest.$objext"; then
14133 pre_test_object_deps_done
=yes
14137 if test "$pre_test_object_deps_done" = no
; then
14138 if test -z "$predep_objects_CXX"; then
14139 predep_objects_CXX
="$p"
14141 predep_objects_CXX
="$predep_objects_CXX $p"
14144 if test -z "$postdep_objects_CXX"; then
14145 postdep_objects_CXX
="$p"
14147 postdep_objects_CXX
="$postdep_objects_CXX $p"
14152 *) ;; # Ignore the rest.
14160 echo "libtool.m4: error: problem compiling CXX test program"
14163 $rm -f confest.
$objext
14165 compiler_lib_search_dirs_CXX
=
14166 if test -n "$compiler_lib_search_path_CXX"; then
14167 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14170 # PORTME: override above test on systems where it is broken
14173 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14174 # hack all around it, let's just trust "g++" to DTRT.
14175 predep_objects_CXX
=
14176 postdep_objects_CXX
=
14181 case `$CC -V 2>&1 | sed 5q` in
14185 # The more standards-conforming stlport4 library is
14186 # incompatible with the Cstd library. Avoid specifying
14187 # it if it's in CXXFLAGS. Ignore libCrun as
14188 # -library=stlport4 depends on it.
14189 case " $CXX $CXXFLAGS " in
14190 *" -library=stlport4 "*)
14191 solaris_use_stlport4
=yes
14194 if test "$solaris_use_stlport4" != yes; then
14195 postdeps_CXX
='-library=Cstd -library=Crun'
14202 case $cc_basename in
14204 # The more standards-conforming stlport4 library is
14205 # incompatible with the Cstd library. Avoid specifying
14206 # it if it's in CXXFLAGS. Ignore libCrun as
14207 # -library=stlport4 depends on it.
14208 case " $CXX $CXXFLAGS " in
14209 *" -library=stlport4 "*)
14210 solaris_use_stlport4
=yes
14214 # Adding this requires a known-good setup of shared libraries for
14215 # Sun compiler versions before 5.6, else PIC objects from an old
14216 # archive will be linked into the output, leading to subtle bugs.
14217 if test "$solaris_use_stlport4" != yes; then
14218 postdeps_CXX
='-library=Cstd -library=Crun'
14225 case " $postdeps_CXX " in
14226 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14229 lt_prog_compiler_wl_CXX
=
14230 lt_prog_compiler_pic_CXX
=
14231 lt_prog_compiler_static_CXX
=
14233 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14234 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14236 # C++ specific cases for pic, static, wl, etc.
14237 if test "$GXX" = yes; then
14238 lt_prog_compiler_wl_CXX
='-Wl,'
14239 lt_prog_compiler_static_CXX
='-static'
14243 # All AIX code is PIC.
14244 if test "$host_cpu" = ia64
; then
14245 # AIX 5 now supports IA64 processor
14246 lt_prog_compiler_static_CXX
='-Bstatic'
14250 # FIXME: we need at least 68020 code to build shared libraries, but
14251 # adding the `-m68020' flag to GCC prevents building anything better,
14253 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14255 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14256 # PIC is the default for these OSes.
14258 mingw
* | cygwin
* | os2
* | pw32
*)
14259 # This hack is so that the source file can tell whether it is being
14260 # built for inclusion in a dll (and should export symbols for example).
14261 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14262 # (--disable-auto-import) libraries
14263 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14265 darwin
* | rhapsody
*)
14266 # PIC is the default on this platform
14267 # Common symbols not allowed in MH_DYLIB files
14268 lt_prog_compiler_pic_CXX
='-fno-common'
14271 # DJGPP does not support shared libraries at all
14272 lt_prog_compiler_pic_CXX
=
14275 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14276 # Instead, we relocate shared libraries at runtime.
14279 if test -d /usr
/nec
; then
14280 lt_prog_compiler_pic_CXX
=-Kconform_pic
14284 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14285 # not for PA HP-UX.
14290 lt_prog_compiler_pic_CXX
='-fPIC'
14295 lt_prog_compiler_pic_CXX
='-fPIC'
14301 # All AIX code is PIC.
14302 if test "$host_cpu" = ia64
; then
14303 # AIX 5 now supports IA64 processor
14304 lt_prog_compiler_static_CXX
='-Bstatic'
14306 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14310 case $cc_basename in
14312 # Green Hills C++ Compiler
14313 # _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"
14318 # PIC is the default on this platform
14319 # Common symbols not allowed in MH_DYLIB files
14320 case $cc_basename in
14322 lt_prog_compiler_pic_CXX
='-qnocommon'
14323 lt_prog_compiler_wl_CXX
='-Wl,'
14328 case $cc_basename in
14330 lt_prog_compiler_pic_CXX
='-KPIC'
14333 # Green Hills C++ Compiler
14334 lt_prog_compiler_pic_CXX
='-pic'
14340 freebsd
* | dragonfly
*)
14341 # FreeBSD uses GNU C++
14343 hpux9
* | hpux10
* | hpux11
*)
14344 case $cc_basename in
14346 lt_prog_compiler_wl_CXX
='-Wl,'
14347 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14348 if test "$host_cpu" != ia64
; then
14349 lt_prog_compiler_pic_CXX
='+Z'
14353 lt_prog_compiler_wl_CXX
='-Wl,'
14354 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14360 lt_prog_compiler_pic_CXX
='+Z'
14369 # This is c89, which is MS Visual C++ (no shared libs)
14370 # Anyone wants to do a port?
14372 irix5
* | irix6
* | nonstopux
*)
14373 case $cc_basename in
14375 lt_prog_compiler_wl_CXX
='-Wl,'
14376 lt_prog_compiler_static_CXX
='-non_shared'
14377 # CC pic flag -KPIC is the default.
14383 linux
* | k
*bsd
*-gnu)
14384 case $cc_basename in
14387 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14388 lt_prog_compiler_pic_CXX
='-fPIC'
14392 lt_prog_compiler_wl_CXX
='-Wl,'
14393 lt_prog_compiler_pic_CXX
='-KPIC'
14394 lt_prog_compiler_static_CXX
='-static'
14397 # Portland Group C++ compiler.
14398 lt_prog_compiler_wl_CXX
='-Wl,'
14399 lt_prog_compiler_pic_CXX
='-fpic'
14400 lt_prog_compiler_static_CXX
='-Bstatic'
14404 # Make sure the PIC flag is empty. It appears that all Alpha
14405 # Linux and Compaq Tru64 Unix objects are PIC.
14406 lt_prog_compiler_pic_CXX
=
14407 lt_prog_compiler_static_CXX
='-non_shared'
14410 case `$CC -V 2>&1 | sed 5q` in
14413 lt_prog_compiler_pic_CXX
='-KPIC'
14414 lt_prog_compiler_static_CXX
='-Bstatic'
14415 lt_prog_compiler_wl_CXX
='-Qoption ld '
14426 case $cc_basename in
14428 lt_prog_compiler_pic_CXX
='-W c,exportall'
14434 netbsd
* | netbsdelf
*-gnu)
14436 osf3
* | osf4
* | osf5
*)
14437 case $cc_basename in
14439 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14442 # Rational C++ 2.4.1
14443 lt_prog_compiler_pic_CXX
='-pic'
14446 # Digital/Compaq C++
14447 lt_prog_compiler_wl_CXX
='-Wl,'
14448 # Make sure the PIC flag is empty. It appears that all Alpha
14449 # Linux and Compaq Tru64 Unix objects are PIC.
14450 lt_prog_compiler_pic_CXX
=
14451 lt_prog_compiler_static_CXX
='-non_shared'
14460 case $cc_basename in
14462 # Sun C++ 4.2, 5.x and Centerline C++
14463 lt_prog_compiler_pic_CXX
='-KPIC'
14464 lt_prog_compiler_static_CXX
='-Bstatic'
14465 lt_prog_compiler_wl_CXX
='-Qoption ld '
14468 # Green Hills C++ Compiler
14469 lt_prog_compiler_pic_CXX
='-PIC'
14476 case $cc_basename in
14479 lt_prog_compiler_pic_CXX
='-pic'
14480 lt_prog_compiler_static_CXX
='-Bstatic'
14484 lt_prog_compiler_pic_CXX
='-pic'
14491 case $cc_basename in
14493 # NonStop-UX NCC 3.20
14494 lt_prog_compiler_pic_CXX
='-KPIC'
14500 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14501 case $cc_basename in
14503 lt_prog_compiler_wl_CXX
='-Wl,'
14504 lt_prog_compiler_pic_CXX
='-KPIC'
14505 lt_prog_compiler_static_CXX
='-Bstatic'
14512 lt_prog_compiler_can_build_shared_CXX
=no
14517 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14518 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14521 # Check to make sure the PIC flag actually works.
14523 if test -n "$lt_prog_compiler_pic_CXX"; then
14525 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14526 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14527 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14528 echo $ECHO_N "(cached) $ECHO_C" >&6
14530 lt_cv_prog_compiler_pic_works_CXX
=no
14531 ac_outfile
=conftest.
$ac_objext
14532 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14533 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14534 # Insert the option either (1) after the last *FLAGS variable, or
14535 # (2) before a word containing "conftest.", or (3) at the end.
14536 # Note that $ac_compile itself does not contain backslashes and begins
14537 # with a dollar sign (not a hyphen), so the echo should work correctly.
14538 # The option is referenced via a variable to avoid confusing sed.
14539 lt_compile
=`echo "$ac_compile" | $SED \
14540 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14541 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14542 -e 's:$: $lt_compiler_flag:'`
14543 (eval echo "\"\$as_me:14543: $lt_compile\"" >&5)
14544 (eval "$lt_compile" 2>conftest.err
)
14546 cat conftest.err
>&5
14547 echo "$as_me:14547: \$? = $ac_status" >&5
14548 if (exit $ac_status) && test -s "$ac_outfile"; then
14549 # The compiler can only warn and ignore the option if not recognized
14550 # So say no if there are warnings other than the usual output.
14551 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14552 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14553 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14554 lt_cv_prog_compiler_pic_works_CXX
=yes
14560 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14561 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14563 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14564 case $lt_prog_compiler_pic_CXX in
14566 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14569 lt_prog_compiler_pic_CXX
=
14570 lt_prog_compiler_can_build_shared_CXX
=no
14575 # For platforms which do not support PIC, -DPIC is meaningless:
14577 lt_prog_compiler_pic_CXX
=
14580 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14585 # Check to make sure the static flag actually works.
14587 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14588 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14589 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14590 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14591 echo $ECHO_N "(cached) $ECHO_C" >&6
14593 lt_cv_prog_compiler_static_works_CXX
=no
14594 save_LDFLAGS
="$LDFLAGS"
14595 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14596 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14597 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14598 # The linker can only warn and ignore the option if not recognized
14599 # So say no if there are warnings
14600 if test -s conftest.err
; then
14601 # Append any errors to the config.log.
14602 cat conftest.err
1>&5
14603 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14604 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14605 if diff conftest.exp conftest.er2
>/dev
/null
; then
14606 lt_cv_prog_compiler_static_works_CXX
=yes
14609 lt_cv_prog_compiler_static_works_CXX
=yes
14613 LDFLAGS
="$save_LDFLAGS"
14616 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14617 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
14619 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14622 lt_prog_compiler_static_CXX
=
14626 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14627 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14628 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14629 echo $ECHO_N "(cached) $ECHO_C" >&6
14631 lt_cv_prog_compiler_c_o_CXX
=no
14632 $rm -r conftest
2>/dev
/null
14636 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14638 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14639 # Insert the option either (1) after the last *FLAGS variable, or
14640 # (2) before a word containing "conftest.", or (3) at the end.
14641 # Note that $ac_compile itself does not contain backslashes and begins
14642 # with a dollar sign (not a hyphen), so the echo should work correctly.
14643 lt_compile
=`echo "$ac_compile" | $SED \
14644 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14645 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14646 -e 's:$: $lt_compiler_flag:'`
14647 (eval echo "\"\$as_me:14647: $lt_compile\"" >&5)
14648 (eval "$lt_compile" 2>out
/conftest.err
)
14650 cat out
/conftest.err
>&5
14651 echo "$as_me:14651: \$? = $ac_status" >&5
14652 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14654 # The compiler can only warn and ignore the option if not recognized
14655 # So say no if there are warnings
14656 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14657 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14658 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14659 lt_cv_prog_compiler_c_o_CXX
=yes
14664 # SGI C++ compiler will create directory out/ii_files/ for
14665 # template instantiation
14666 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14667 $rm out
/* && rmdir out
14673 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14674 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14677 hard_links
="nottested"
14678 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14679 # do not overwrite the value of need_locks provided by the user
14680 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14681 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14684 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14686 ln conftest.a conftest.b
2>&5 || hard_links
=no
14687 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14688 { echo "$as_me:$LINENO: result: $hard_links" >&5
14689 echo "${ECHO_T}$hard_links" >&6; }
14690 if test "$hard_links" = no
; then
14691 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14692 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14699 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14700 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14702 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14705 # If we're using GNU nm, then we don't want the "-C" option.
14706 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14707 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14708 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'
14710 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'
14714 export_symbols_cmds_CXX
="$ltdll_cmds"
14717 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'
14719 linux
* | k
*bsd
*-gnu)
14720 link_all_deplibs_CXX
=no
14723 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14726 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14728 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14729 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14730 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14733 # Do we need to explicitly link libc?
14735 case "x$archive_cmds_need_lc_CXX" in
14737 # Assume -lc should be added
14738 archive_cmds_need_lc_CXX
=yes
14740 if test "$enable_shared" = yes && test "$GCC" = yes; then
14741 case $archive_cmds_CXX in
14743 # FIXME: we may have to deal with multi-command sequences.
14746 # Test whether the compiler implicitly links with -lc since on some
14747 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14748 # to ld, don't add -lc before -lgcc.
14749 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14750 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14752 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14755 (eval $ac_compile) 2>&5
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); } 2>conftest.err
; then
14761 libobjs
=conftest.
$ac_objext
14763 wl
=$lt_prog_compiler_wl_CXX
14764 pic_flag
=$lt_prog_compiler_pic_CXX
14770 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14771 allow_undefined_flag_CXX
=
14772 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14773 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14776 (exit $ac_status); }
14778 archive_cmds_need_lc_CXX
=no
14780 archive_cmds_need_lc_CXX
=yes
14782 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14784 cat conftest.err
1>&5
14787 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14788 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14795 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14796 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14797 library_names_spec
=
14798 libname_spec
='lib$name'
14802 postuninstall_cmds
=
14806 shlibpath_overrides_runpath
=unknown
14808 dynamic_linker
="$host_os ld.so"
14809 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14811 need_lib_prefix
=unknown
14812 hardcode_into_libs
=no
14814 # when you set need_version to no, make sure it does not cause -set_version
14815 # flags to be left without arguments
14816 need_version
=unknown
14821 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14822 shlibpath_var
=LIBPATH
14824 # AIX 3 has no versioning support, so we append a major version to the name.
14825 soname_spec
='${libname}${release}${shared_ext}$major'
14832 hardcode_into_libs
=yes
14833 if test "$host_cpu" = ia64
; then
14834 # AIX 5 supports IA64
14835 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14836 shlibpath_var
=LD_LIBRARY_PATH
14838 # With GCC up to 2.95.x, collect2 would create an import file
14839 # for dependence libraries. The import file would start with
14840 # the line `#! .'. This would cause the generated library to
14841 # depend on `.', always an invalid library. This was fixed in
14842 # development snapshots of GCC prior to 3.0.
14844 aix4 | aix4.
[01] | aix4.
[01].
*)
14845 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14847 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14850 can_build_shared
=no
14854 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14855 # soname into executable. Probably we can add versioning support to
14856 # collect2, so additional links can be useful in future.
14857 if test "$aix_use_runtimelinking" = yes; then
14858 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14859 # instead of lib<name>.a to let people know that these are not
14860 # typical AIX shared libraries.
14861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14863 # We preserve .a as extension for shared libraries through AIX4.2
14864 # and later when we are not doing run time linking.
14865 library_names_spec
='${libname}${release}.a $libname.a'
14866 soname_spec
='${libname}${release}${shared_ext}$major'
14868 shlibpath_var
=LIBPATH
14873 library_names_spec
='$libname.ixlibrary $libname.a'
14874 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14875 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'
14879 library_names_spec
='${libname}${shared_ext}'
14880 dynamic_linker
="$host_os ld.so"
14881 shlibpath_var
=LIBRARY_PATH
14887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14888 soname_spec
='${libname}${release}${shared_ext}$major'
14889 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14890 shlibpath_var
=LD_LIBRARY_PATH
14891 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14892 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14893 # the default ld.so.conf also contains /usr/contrib/lib and
14894 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14895 # libtool to hard-code these into programs
14898 cygwin
* | mingw
* | pw32
*)
14899 version_type
=windows
14904 case $GCC,$host_os in
14905 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14906 library_names_spec
='$libname.dll.a'
14907 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14908 postinstall_cmds
='base_file=`basename \${file}`~
14909 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14910 dldir=$destdir/`dirname \$dlpath`~
14911 test -d \$dldir || mkdir -p \$dldir~
14912 $install_prog $dir/$dlname \$dldir/$dlname~
14913 chmod a+x \$dldir/$dlname'
14914 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14915 dlpath=$dir/\$dldll~
14917 shlibpath_overrides_runpath
=yes
14921 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14922 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14923 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14926 # MinGW DLLs use traditional 'lib' prefix
14927 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14928 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14929 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14930 # It is most probably a Windows format PATH printed by
14931 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14932 # path with ; separators, and with drive letters. We can handle the
14933 # drive letters (cygwin fileutils understands them), so leave them,
14934 # especially as we might pass files found there to a mingw objdump,
14935 # which wouldn't understand a cygwinified path. Ahh.
14936 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14938 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14942 # pw32 DLLs use 'pw' prefix rather than 'lib'
14943 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14949 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14952 dynamic_linker
='Win32 ld.exe'
14953 # FIXME: first we should search . and the directory the executable is in
14957 darwin
* | rhapsody
*)
14958 dynamic_linker
="$host_os dyld"
14959 version_type
=darwin
14962 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14963 soname_spec
='${libname}${release}${major}$shared_ext'
14964 shlibpath_overrides_runpath
=yes
14965 shlibpath_var
=DYLD_LIBRARY_PATH
14966 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14968 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14976 soname_spec
='${libname}${release}${shared_ext}$major'
14977 shlibpath_var
=LD_LIBRARY_PATH
14984 freebsd
* | dragonfly
*)
14985 # DragonFly does not have aout. When/if they implement a new
14986 # versioning mechanism, adjust this.
14987 if test -x /usr
/bin
/objformat
; then
14988 objformat
=`/usr/bin/objformat`
14991 freebsd
[123]*) objformat
=aout
;;
14992 *) objformat
=elf
;;
14995 version_type
=freebsd-
$objformat
14996 case $version_type in
14998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15003 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15007 shlibpath_var
=LD_LIBRARY_PATH
15010 shlibpath_overrides_runpath
=yes
15012 freebsd3.
[01]* | freebsdelf3.
[01]*)
15013 shlibpath_overrides_runpath
=yes
15014 hardcode_into_libs
=yes
15016 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15017 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15018 shlibpath_overrides_runpath
=no
15019 hardcode_into_libs
=yes
15021 *) # from 4.6 on, and DragonFly
15022 shlibpath_overrides_runpath
=yes
15023 hardcode_into_libs
=yes
15032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15033 soname_spec
='${libname}${release}${shared_ext}$major'
15034 shlibpath_var
=LD_LIBRARY_PATH
15035 hardcode_into_libs
=yes
15038 hpux9
* | hpux10
* | hpux11
*)
15039 # Give a soname corresponding to the major version so that dld.sl refuses to
15040 # link against other versions.
15047 hardcode_into_libs
=yes
15048 dynamic_linker
="$host_os dld.so"
15049 shlibpath_var
=LD_LIBRARY_PATH
15050 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15052 soname_spec
='${libname}${release}${shared_ext}$major'
15053 if test "X$HPUX_IA64_MODE" = X32
; then
15054 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15056 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15058 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15062 hardcode_into_libs
=yes
15063 dynamic_linker
="$host_os dld.sl"
15064 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15065 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15067 soname_spec
='${libname}${release}${shared_ext}$major'
15068 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15069 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15073 dynamic_linker
="$host_os dld.sl"
15074 shlibpath_var
=SHLIB_PATH
15075 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15077 soname_spec
='${libname}${release}${shared_ext}$major'
15080 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15081 postinstall_cmds
='chmod 555 $lib'
15088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15089 soname_spec
='${libname}${release}${shared_ext}$major'
15090 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15091 shlibpath_var
=LD_LIBRARY_PATH
15092 shlibpath_overrides_runpath
=no
15093 hardcode_into_libs
=yes
15096 irix5
* | irix6
* | nonstopux
*)
15098 nonstopux
*) version_type
=nonstopux
;;
15100 if test "$lt_cv_prog_gnu_ld" = yes; then
15108 soname_spec
='${libname}${release}${shared_ext}$major'
15109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15111 irix5
* | nonstopux
*)
15112 libsuff
= shlibsuff
=
15115 case $LD in # libtool.m4 will add one of these switches to LD
15116 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15117 libsuff
= shlibsuff
= libmagic
=32-bit;;
15118 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15119 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15120 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15121 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15122 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15126 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15127 shlibpath_overrides_runpath
=no
15128 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15129 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15130 hardcode_into_libs
=yes
15133 # No shared lib support for Linux oldld, aout, or coff.
15134 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15138 # This must be Linux ELF.
15139 linux
* | k
*bsd
*-gnu)
15143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15144 soname_spec
='${libname}${release}${shared_ext}$major'
15145 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15146 shlibpath_var
=LD_LIBRARY_PATH
15147 shlibpath_overrides_runpath
=no
15148 # This implies no fast_install, which is unacceptable.
15149 # Some rework will be needed to allow for fast_install
15150 # before this can be enabled.
15151 hardcode_into_libs
=yes
15153 # Append ld.so.conf contents to the search path
15154 if test -f /etc
/ld.so.conf
; then
15155 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15156 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15159 # We used to test for /lib/ld.so.1 and disable shared libraries on
15160 # powerpc, because MkLinux only supported shared libraries with the
15161 # GNU dynamic linker. Since this was broken with cross compilers,
15162 # most powerpc-linux boxes support dynamic linking these days and
15163 # people can always --disable-shared, the test was removed, and we
15164 # assume the GNU/Linux dynamic linker is in use.
15165 dynamic_linker
='GNU/Linux ld.so'
15172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15173 soname_spec
='${libname}${release}${shared_ext}$major'
15174 shlibpath_var
=LD_LIBRARY_PATH
15175 shlibpath_overrides_runpath
=no
15176 hardcode_into_libs
=yes
15177 dynamic_linker
='NetBSD ld.elf_so'
15184 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15186 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15187 dynamic_linker
='NetBSD (a.out) ld.so'
15189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15190 soname_spec
='${libname}${release}${shared_ext}$major'
15191 dynamic_linker
='NetBSD ld.elf_so'
15193 shlibpath_var
=LD_LIBRARY_PATH
15194 shlibpath_overrides_runpath
=yes
15195 hardcode_into_libs
=yes
15200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15201 shlibpath_var
=LD_LIBRARY_PATH
15202 shlibpath_overrides_runpath
=yes
15209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15210 soname_spec
='${libname}${release}${shared_ext}$major'
15211 shlibpath_var
=LD_LIBRARY_PATH
15212 shlibpath_overrides_runpath
=yes
15217 sys_lib_dlsearch_path_spec
="/usr/lib"
15219 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15221 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15222 *) need_version
=no
;;
15224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15225 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15226 shlibpath_var
=LD_LIBRARY_PATH
15227 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15229 openbsd2.
[89] | openbsd2.
[89].
*)
15230 shlibpath_overrides_runpath
=no
15233 shlibpath_overrides_runpath
=yes
15237 shlibpath_overrides_runpath
=yes
15242 libname_spec
='$name'
15245 library_names_spec
='$libname${shared_ext} $libname.a'
15246 dynamic_linker
='OS/2 ld.exe'
15247 shlibpath_var
=LIBPATH
15250 osf3
* | osf4
* | osf5
*)
15254 soname_spec
='${libname}${release}${shared_ext}$major'
15255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15256 shlibpath_var
=LD_LIBRARY_PATH
15257 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15258 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15270 soname_spec
='${libname}${release}${shared_ext}$major'
15271 shlibpath_var
=LD_LIBRARY_PATH
15272 shlibpath_overrides_runpath
=yes
15273 hardcode_into_libs
=yes
15274 # ldd complains unless libraries are executable
15275 postinstall_cmds
='chmod +x $lib'
15280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15281 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15282 shlibpath_var
=LD_LIBRARY_PATH
15283 shlibpath_overrides_runpath
=yes
15284 if test "$with_gnu_ld" = yes; then
15292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15293 soname_spec
='${libname}${release}${shared_ext}$major'
15294 shlibpath_var
=LD_LIBRARY_PATH
15295 case $host_vendor in
15297 shlibpath_overrides_runpath
=no
15299 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15300 runpath_var
=LD_RUN_PATH
15308 shlibpath_overrides_runpath
=no
15309 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15315 if test -d /usr
/nec
;then
15317 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15318 soname_spec
='$libname${shared_ext}.$major'
15319 shlibpath_var
=LD_LIBRARY_PATH
15323 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15324 version_type
=freebsd-elf
15327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15328 soname_spec
='${libname}${release}${shared_ext}$major'
15329 shlibpath_var
=LD_LIBRARY_PATH
15330 hardcode_into_libs
=yes
15331 if test "$with_gnu_ld" = yes; then
15332 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15333 shlibpath_overrides_runpath
=no
15335 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15336 shlibpath_overrides_runpath
=yes
15339 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15343 sys_lib_dlsearch_path_spec
='/usr/lib'
15348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15349 soname_spec
='${libname}${release}${shared_ext}$major'
15350 shlibpath_var
=LD_LIBRARY_PATH
15357 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15358 echo "${ECHO_T}$dynamic_linker" >&6; }
15359 test "$dynamic_linker" = no
&& can_build_shared
=no
15361 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15362 echo $ECHO_N "(cached) $ECHO_C" >&6
15364 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
15367 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15368 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15371 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
15374 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15376 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15377 if test "$GCC" = yes; then
15378 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15381 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15382 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15383 hardcode_action_CXX
=
15384 if test -n "$hardcode_libdir_flag_spec_CXX" || \
15385 test -n "$runpath_var_CXX" || \
15386 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15388 # We can hardcode non-existant directories.
15389 if test "$hardcode_direct_CXX" != no
&&
15390 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15391 # have to relink, otherwise we might link with an installed library
15392 # when we should be linking with a yet-to-be-installed one
15393 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15394 test "$hardcode_minus_L_CXX" != no
; then
15395 # Linking always hardcodes the temporary library directory.
15396 hardcode_action_CXX
=relink
15398 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15399 hardcode_action_CXX
=immediate
15402 # We cannot hardcode anything, or else we can only hardcode existing
15404 hardcode_action_CXX
=unsupported
15406 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15407 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15409 if test "$hardcode_action_CXX" = relink
; then
15410 # Fast installation is not supported
15411 enable_fast_install
=no
15412 elif test "$shlibpath_overrides_runpath" = yes ||
15413 test "$enable_shared" = no
; then
15414 # Fast installation is not necessary
15415 enable_fast_install
=needless
15419 # The else clause should only fire when bootstrapping the
15420 # libtool distribution, otherwise you forgot to ship ltmain.sh
15421 # with your package, and you will get complaints that there are
15422 # no rules to generate ltmain.sh.
15423 if test -f "$ltmain"; then
15424 # See if we are running on zsh, and set the options which allow our commands through
15425 # without removal of \ escapes.
15426 if test -n "${ZSH_VERSION+set}" ; then
15427 setopt NO_GLOB_SUBST
15429 # Now quote all the things that may contain metacharacters while being
15430 # careful not to overquote the AC_SUBSTed values. We take copies of the
15431 # variables and quote the copies for generation of the libtool script.
15432 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15434 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15435 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15436 deplibs_check_method reload_flag reload_cmds need_locks \
15437 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15438 lt_cv_sys_global_symbol_to_c_name_address \
15439 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15440 old_postinstall_cmds old_postuninstall_cmds \
15444 lt_prog_compiler_wl_CXX \
15445 lt_prog_compiler_pic_CXX \
15446 lt_prog_compiler_static_CXX \
15447 lt_prog_compiler_no_builtin_flag_CXX \
15448 export_dynamic_flag_spec_CXX \
15449 thread_safe_flag_spec_CXX \
15450 whole_archive_flag_spec_CXX \
15451 enable_shared_with_static_runtimes_CXX \
15452 old_archive_cmds_CXX \
15453 old_archive_from_new_cmds_CXX \
15454 predep_objects_CXX \
15455 postdep_objects_CXX \
15458 compiler_lib_search_path_CXX \
15459 compiler_lib_search_dirs_CXX \
15461 archive_expsym_cmds_CXX \
15462 postinstall_cmds_CXX \
15463 postuninstall_cmds_CXX \
15464 old_archive_from_expsyms_cmds_CXX \
15465 allow_undefined_flag_CXX \
15466 no_undefined_flag_CXX \
15467 export_symbols_cmds_CXX \
15468 hardcode_libdir_flag_spec_CXX \
15469 hardcode_libdir_flag_spec_ld_CXX \
15470 hardcode_libdir_separator_CXX \
15471 hardcode_automatic_CXX \
15473 module_expsym_cmds_CXX \
15474 lt_cv_prog_compiler_c_o_CXX \
15475 fix_srcfile_path_CXX \
15476 exclude_expsyms_CXX \
15477 include_expsyms_CXX
; do
15480 old_archive_cmds_CXX | \
15481 old_archive_from_new_cmds_CXX | \
15482 archive_cmds_CXX | \
15483 archive_expsym_cmds_CXX | \
15484 module_cmds_CXX | \
15485 module_expsym_cmds_CXX | \
15486 old_archive_from_expsyms_cmds_CXX | \
15487 export_symbols_cmds_CXX | \
15488 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15489 postinstall_cmds | postuninstall_cmds | \
15490 old_postinstall_cmds | old_postuninstall_cmds | \
15491 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15492 # Double-quote double-evaled strings.
15493 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15496 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15502 *'\$0 --fallback-echo"')
15503 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15509 cat <<__EOF__ >> "$cfgfile"
15510 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15512 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15514 # Shell to use when invoking shell scripts.
15517 # Whether or not to build shared libraries.
15518 build_libtool_libs=$enable_shared
15520 # Whether or not to build static libraries.
15521 build_old_libs=$enable_static
15523 # Whether or not to add -lc for building shared libraries.
15524 build_libtool_need_lc=$archive_cmds_need_lc_CXX
15526 # Whether or not to disallow shared libs when runtime libs are static
15527 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15529 # Whether or not to optimize for fast installation.
15530 fast_install=$enable_fast_install
15533 host_alias=$host_alias
15537 # The build system.
15538 build_alias=$build_alias
15542 # An echo program that does not interpret backslashes.
15547 AR_FLAGS=$lt_AR_FLAGS
15552 # LTCC compiler flags.
15553 LTCFLAGS=$lt_LTCFLAGS
15555 # A language-specific compiler.
15556 CC=$lt_compiler_CXX
15558 # Is the compiler the GNU C compiler?
15564 # The linker used to build libraries.
15567 # Whether we need hard or soft links.
15570 # A BSD-compatible nm program.
15573 # A symbol stripping program
15576 # Used to examine libraries when file_magic_cmd begins "file"
15577 MAGIC_CMD=$MAGIC_CMD
15579 # Used on cygwin: DLL creation program.
15582 # Used on cygwin: object dumper.
15585 # Used on cygwin: assembler.
15588 # The name of the directory that contains temporary libtool files.
15591 # How to create reloadable object files.
15592 reload_flag=$lt_reload_flag
15593 reload_cmds=$lt_reload_cmds
15595 # How to pass a linker flag through the compiler.
15596 wl=$lt_lt_prog_compiler_wl_CXX
15598 # Object file suffix (normally "o").
15599 objext="$ac_objext"
15601 # Old archive suffix (normally "a").
15604 # Shared library suffix (normally ".so").
15605 shrext_cmds='$shrext_cmds'
15607 # Executable file suffix (normally "").
15610 # Additional compiler flags for building library objects.
15611 pic_flag=$lt_lt_prog_compiler_pic_CXX
15614 # What is the maximum length of a command?
15615 max_cmd_len=$lt_cv_sys_max_cmd_len
15617 # Does compiler simultaneously support -c and -o options?
15618 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15620 # Must we lock files when doing compilation?
15621 need_locks=$lt_need_locks
15623 # Do we need the lib prefix for modules?
15624 need_lib_prefix=$need_lib_prefix
15626 # Do we need a version for libraries?
15627 need_version=$need_version
15629 # Whether dlopen is supported.
15630 dlopen_support=$enable_dlopen
15632 # Whether dlopen of programs is supported.
15633 dlopen_self=$enable_dlopen_self
15635 # Whether dlopen of statically linked programs is supported.
15636 dlopen_self_static=$enable_dlopen_self_static
15638 # Compiler flag to prevent dynamic linking.
15639 link_static_flag=$lt_lt_prog_compiler_static_CXX
15641 # Compiler flag to turn off builtin functions.
15642 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15644 # Compiler flag to allow reflexive dlopens.
15645 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15647 # Compiler flag to generate shared objects directly from archives.
15648 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15650 # Compiler flag to generate thread-safe objects.
15651 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15653 # Library versioning type.
15654 version_type=$version_type
15656 # Format of library name prefix.
15657 libname_spec=$lt_libname_spec
15659 # List of archive names. First name is the real one, the rest are links.
15660 # The last name is the one that the linker finds with -lNAME.
15661 library_names_spec=$lt_library_names_spec
15663 # The coded name of the library, if different from the real name.
15664 soname_spec=$lt_soname_spec
15666 # Commands used to build and install an old-style archive.
15668 old_archive_cmds=$lt_old_archive_cmds_CXX
15669 old_postinstall_cmds=$lt_old_postinstall_cmds
15670 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15672 # Create an old-style archive from a shared archive.
15673 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15675 # Create a temporary old-style archive to link instead of a shared archive.
15676 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15678 # Commands used to build and install a shared archive.
15679 archive_cmds=$lt_archive_cmds_CXX
15680 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15681 postinstall_cmds=$lt_postinstall_cmds
15682 postuninstall_cmds=$lt_postuninstall_cmds
15684 # Commands used to build a loadable module (assumed same as above if empty)
15685 module_cmds=$lt_module_cmds_CXX
15686 module_expsym_cmds=$lt_module_expsym_cmds_CXX
15688 # Commands to strip libraries.
15689 old_striplib=$lt_old_striplib
15690 striplib=$lt_striplib
15692 # Dependencies to place before the objects being linked to create a
15694 predep_objects=$lt_predep_objects_CXX
15696 # Dependencies to place after the objects being linked to create a
15698 postdep_objects=$lt_postdep_objects_CXX
15700 # Dependencies to place before the objects being linked to create a
15702 predeps=$lt_predeps_CXX
15704 # Dependencies to place after the objects being linked to create a
15706 postdeps=$lt_postdeps_CXX
15708 # The directories searched by this compiler when creating a shared
15710 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
15712 # The library search path used internally by the compiler when linking
15713 # a shared library.
15714 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15716 # Method to check whether dependent libraries are shared objects.
15717 deplibs_check_method=$lt_deplibs_check_method
15719 # Command to use when deplibs_check_method == file_magic.
15720 file_magic_cmd=$lt_file_magic_cmd
15722 # Flag that allows shared libraries with undefined symbols to be built.
15723 allow_undefined_flag=$lt_allow_undefined_flag_CXX
15725 # Flag that forces no undefined symbols.
15726 no_undefined_flag=$lt_no_undefined_flag_CXX
15728 # Commands used to finish a libtool library installation in a directory.
15729 finish_cmds=$lt_finish_cmds
15731 # Same as above, but a single script fragment to be evaled but not shown.
15732 finish_eval=$lt_finish_eval
15734 # Take the output of nm and produce a listing of raw symbols and C names.
15735 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15737 # Transform the output of nm in a proper C declaration
15738 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15740 # Transform the output of nm in a C name address pair
15741 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15743 # This is the shared library runtime path variable.
15744 runpath_var=$runpath_var
15746 # This is the shared library path variable.
15747 shlibpath_var=$shlibpath_var
15749 # Is shlibpath searched before the hard-coded library search path?
15750 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15752 # How to hardcode a shared library path into an executable.
15753 hardcode_action=$hardcode_action_CXX
15755 # Whether we should hardcode library paths into libraries.
15756 hardcode_into_libs=$hardcode_into_libs
15758 # Flag to hardcode \$libdir into a binary during linking.
15759 # This must work even if \$libdir does not exist.
15760 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15762 # If ld is used when linking, flag to hardcode \$libdir into
15763 # a binary during linking. This must work even if \$libdir does
15765 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15767 # Whether we need a single -rpath flag with a separated argument.
15768 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15770 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15771 # resulting binary.
15772 hardcode_direct=$hardcode_direct_CXX
15774 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15775 # resulting binary.
15776 hardcode_minus_L=$hardcode_minus_L_CXX
15778 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15779 # the resulting binary.
15780 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15782 # Set to yes if building a shared library automatically hardcodes DIR into the library
15783 # and all subsequent libraries and executables linked against it.
15784 hardcode_automatic=$hardcode_automatic_CXX
15786 # Variables whose values should be saved in libtool wrapper scripts and
15787 # restored at relink time.
15788 variables_saved_for_relink="$variables_saved_for_relink"
15790 # Whether libtool must link a program against all its dependency libraries.
15791 link_all_deplibs=$link_all_deplibs_CXX
15793 # Compile-time system search path for libraries
15794 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15796 # Run-time system search path for libraries
15797 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15799 # Fix the shell variable \$srcfile for the compiler.
15800 fix_srcfile_path=$lt_fix_srcfile_path
15802 # Set to yes if exported symbols are required.
15803 always_export_symbols=$always_export_symbols_CXX
15805 # The commands to list exported symbols.
15806 export_symbols_cmds=$lt_export_symbols_cmds_CXX
15808 # The commands to extract the exported symbol list from a shared archive.
15809 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15811 # Symbols that should not be listed in the preloaded symbols.
15812 exclude_expsyms=$lt_exclude_expsyms_CXX
15814 # Symbols that must always be exported.
15815 include_expsyms=$lt_include_expsyms_CXX
15817 # ### END LIBTOOL TAG CONFIG: $tagname
15823 # If there is no Makefile yet, we rely on a make rule to execute
15824 # `config.status --recheck' to rerun these tests and create the
15825 # libtool script then.
15826 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15827 if test -f "$ltmain_in"; then
15828 test -f Makefile
&& make "$ltmain"
15834 ac_cpp
='$CPP $CPPFLAGS'
15835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15843 with_gnu_ldcxx
=$with_gnu_ld
15844 with_gnu_ld
=$lt_save_with_gnu_ld
15845 lt_cv_path_LDCXX
=$lt_cv_path_LD
15846 lt_cv_path_LD
=$lt_save_path_LD
15847 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15848 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15856 if test -n "$F77" && test "X$F77" != "Xno"; then
15859 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15860 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15861 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
15864 archive_cmds_need_lc_F77
=no
15865 allow_undefined_flag_F77
=
15866 always_export_symbols_F77
=no
15867 archive_expsym_cmds_F77
=
15868 export_dynamic_flag_spec_F77
=
15869 hardcode_direct_F77
=no
15870 hardcode_libdir_flag_spec_F77
=
15871 hardcode_libdir_flag_spec_ld_F77
=
15872 hardcode_libdir_separator_F77
=
15873 hardcode_minus_L_F77
=no
15874 hardcode_automatic_F77
=no
15876 module_expsym_cmds_F77
=
15877 link_all_deplibs_F77
=unknown
15878 old_archive_cmds_F77
=$old_archive_cmds
15879 no_undefined_flag_F77
=
15880 whole_archive_flag_spec_F77
=
15881 enable_shared_with_static_runtimes_F77
=no
15883 # Source file extension for f77 test sources.
15886 # Object file extension for compiled f77 test sources.
15890 # Code to be used in simple compile tests
15891 lt_simple_compile_test_code
="\
15897 # Code to be used in simple link tests
15898 lt_simple_link_test_code
="\
15903 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15905 # If no C compiler was specified, use CC.
15908 # If no C compiler flags were specified, use CFLAGS.
15909 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15911 # Allow CC to be a program name with arguments.
15915 # save warnings/boilerplate of simple test code
15916 ac_outfile
=conftest.
$ac_objext
15917 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15918 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15919 _lt_compiler_boilerplate
=`cat conftest.err`
15922 ac_outfile
=conftest.
$ac_objext
15923 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15924 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15925 _lt_linker_boilerplate
=`cat conftest.err`
15929 # Allow CC to be a program name with arguments.
15934 for cc_temp
in $compiler""; do
15936 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15937 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15942 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15945 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15946 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15947 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
15948 echo "${ECHO_T}$can_build_shared" >&6; }
15950 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15951 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15952 test "$can_build_shared" = "no" && enable_shared
=no
15954 # On AIX, shared libraries and static libraries use the same namespace, and
15955 # are all built from PIC.
15958 test "$enable_shared" = yes && enable_static
=no
15959 if test -n "$RANLIB"; then
15960 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
15961 postinstall_cmds
='$RANLIB $lib'
15965 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
15966 test "$enable_shared" = yes && enable_static
=no
15970 { echo "$as_me:$LINENO: result: $enable_shared" >&5
15971 echo "${ECHO_T}$enable_shared" >&6; }
15973 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15974 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15975 # Make sure either enable_shared or enable_static is yes.
15976 test "$enable_shared" = yes || enable_static
=yes
15977 { echo "$as_me:$LINENO: result: $enable_static" >&5
15978 echo "${ECHO_T}$enable_static" >&6; }
15983 lt_prog_compiler_wl_F77
=
15984 lt_prog_compiler_pic_F77
=
15985 lt_prog_compiler_static_F77
=
15987 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15988 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15990 if test "$GCC" = yes; then
15991 lt_prog_compiler_wl_F77
='-Wl,'
15992 lt_prog_compiler_static_F77
='-static'
15996 # All AIX code is PIC.
15997 if test "$host_cpu" = ia64
; then
15998 # AIX 5 now supports IA64 processor
15999 lt_prog_compiler_static_F77
='-Bstatic'
16004 # FIXME: we need at least 68020 code to build shared libraries, but
16005 # adding the `-m68020' flag to GCC prevents building anything better,
16007 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
16010 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16011 # PIC is the default for these OSes.
16014 mingw
* | cygwin
* | pw32
* | os2
*)
16015 # This hack is so that the source file can tell whether it is being
16016 # built for inclusion in a dll (and should export symbols for example).
16017 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16018 # (--disable-auto-import) libraries
16019 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
16022 darwin
* | rhapsody
*)
16023 # PIC is the default on this platform
16024 # Common symbols not allowed in MH_DYLIB files
16025 lt_prog_compiler_pic_F77
='-fno-common'
16029 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16030 # Instead, we relocate shared libraries at runtime.
16034 # Just because we use GCC doesn't mean we suddenly get shared libraries
16035 # on systems that don't support them.
16036 lt_prog_compiler_can_build_shared_F77
=no
16041 if test -d /usr
/nec
; then
16042 lt_prog_compiler_pic_F77
=-Kconform_pic
16047 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16048 # not for PA HP-UX.
16054 lt_prog_compiler_pic_F77
='-fPIC'
16060 lt_prog_compiler_pic_F77
='-fPIC'
16064 # PORTME Check for flag to pass linker flags through the system compiler.
16067 lt_prog_compiler_wl_F77
='-Wl,'
16068 if test "$host_cpu" = ia64
; then
16069 # AIX 5 now supports IA64 processor
16070 lt_prog_compiler_static_F77
='-Bstatic'
16072 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
16076 # PIC is the default on this platform
16077 # Common symbols not allowed in MH_DYLIB files
16078 case $cc_basename in
16080 lt_prog_compiler_pic_F77
='-qnocommon'
16081 lt_prog_compiler_wl_F77
='-Wl,'
16086 mingw
* | cygwin
* | pw32
* | os2
*)
16087 # This hack is so that the source file can tell whether it is being
16088 # built for inclusion in a dll (and should export symbols for example).
16089 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
16092 hpux9
* | hpux10
* | hpux11
*)
16093 lt_prog_compiler_wl_F77
='-Wl,'
16094 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16095 # not for PA HP-UX.
16101 lt_prog_compiler_pic_F77
='+Z'
16104 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16105 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
16108 irix5
* | irix6
* | nonstopux
*)
16109 lt_prog_compiler_wl_F77
='-Wl,'
16110 # PIC (with -KPIC) is the default.
16111 lt_prog_compiler_static_F77
='-non_shared'
16115 lt_prog_compiler_pic_F77
='-KPIC'
16116 lt_prog_compiler_static_F77
='-Bstatic'
16119 linux
* | k
*bsd
*-gnu)
16120 case $cc_basename in
16122 lt_prog_compiler_wl_F77
='-Wl,'
16123 lt_prog_compiler_pic_F77
='-KPIC'
16124 lt_prog_compiler_static_F77
='-static'
16126 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16127 # Portland Group compilers (*not* the Pentium gcc compiler,
16128 # which looks to be a dead project)
16129 lt_prog_compiler_wl_F77
='-Wl,'
16130 lt_prog_compiler_pic_F77
='-fpic'
16131 lt_prog_compiler_static_F77
='-Bstatic'
16134 lt_prog_compiler_wl_F77
='-Wl,'
16135 # All Alpha code is PIC.
16136 lt_prog_compiler_static_F77
='-non_shared'
16139 case `$CC -V 2>&1 | sed 5q` in
16142 lt_prog_compiler_pic_F77
='-KPIC'
16143 lt_prog_compiler_static_F77
='-Bstatic'
16144 lt_prog_compiler_wl_F77
='-Wl,'
16147 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16148 lt_prog_compiler_pic_F77
='-KPIC'
16149 lt_prog_compiler_static_F77
='-Bstatic'
16150 lt_prog_compiler_wl_F77
=''
16157 osf3
* | osf4
* | osf5
*)
16158 lt_prog_compiler_wl_F77
='-Wl,'
16159 # All OSF/1 code is PIC.
16160 lt_prog_compiler_static_F77
='-non_shared'
16164 lt_prog_compiler_static_F77
='-non_shared'
16168 lt_prog_compiler_pic_F77
='-KPIC'
16169 lt_prog_compiler_static_F77
='-Bstatic'
16170 case $cc_basename in
16171 f77
* | f90
* | f95
*)
16172 lt_prog_compiler_wl_F77
='-Qoption ld ';;
16174 lt_prog_compiler_wl_F77
='-Wl,';;
16179 lt_prog_compiler_wl_F77
='-Qoption ld '
16180 lt_prog_compiler_pic_F77
='-PIC'
16181 lt_prog_compiler_static_F77
='-Bstatic'
16184 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16185 lt_prog_compiler_wl_F77
='-Wl,'
16186 lt_prog_compiler_pic_F77
='-KPIC'
16187 lt_prog_compiler_static_F77
='-Bstatic'
16191 if test -d /usr
/nec
;then
16192 lt_prog_compiler_pic_F77
='-Kconform_pic'
16193 lt_prog_compiler_static_F77
='-Bstatic'
16197 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16198 lt_prog_compiler_wl_F77
='-Wl,'
16199 lt_prog_compiler_pic_F77
='-KPIC'
16200 lt_prog_compiler_static_F77
='-Bstatic'
16204 lt_prog_compiler_wl_F77
='-Wl,'
16205 lt_prog_compiler_can_build_shared_F77
=no
16209 lt_prog_compiler_pic_F77
='-pic'
16210 lt_prog_compiler_static_F77
='-Bstatic'
16214 lt_prog_compiler_can_build_shared_F77
=no
16219 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16220 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
16223 # Check to make sure the PIC flag actually works.
16225 if test -n "$lt_prog_compiler_pic_F77"; then
16227 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16228 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
16229 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
16230 echo $ECHO_N "(cached) $ECHO_C" >&6
16232 lt_cv_prog_compiler_pic_works_F77
=no
16233 ac_outfile
=conftest.
$ac_objext
16234 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16235 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
16236 # Insert the option either (1) after the last *FLAGS variable, or
16237 # (2) before a word containing "conftest.", or (3) at the end.
16238 # Note that $ac_compile itself does not contain backslashes and begins
16239 # with a dollar sign (not a hyphen), so the echo should work correctly.
16240 # The option is referenced via a variable to avoid confusing sed.
16241 lt_compile
=`echo "$ac_compile" | $SED \
16242 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16243 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16244 -e 's:$: $lt_compiler_flag:'`
16245 (eval echo "\"\$as_me:16245: $lt_compile\"" >&5)
16246 (eval "$lt_compile" 2>conftest.err
)
16248 cat conftest.err
>&5
16249 echo "$as_me:16249: \$? = $ac_status" >&5
16250 if (exit $ac_status) && test -s "$ac_outfile"; then
16251 # The compiler can only warn and ignore the option if not recognized
16252 # So say no if there are warnings other than the usual output.
16253 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16254 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16255 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16256 lt_cv_prog_compiler_pic_works_F77
=yes
16262 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
16263 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
16265 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
16266 case $lt_prog_compiler_pic_F77 in
16268 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
16271 lt_prog_compiler_pic_F77
=
16272 lt_prog_compiler_can_build_shared_F77
=no
16277 # For platforms which do not support PIC, -DPIC is meaningless:
16279 lt_prog_compiler_pic_F77
=
16282 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
16287 # Check to make sure the static flag actually works.
16289 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
16290 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16291 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16292 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
16293 echo $ECHO_N "(cached) $ECHO_C" >&6
16295 lt_cv_prog_compiler_static_works_F77
=no
16296 save_LDFLAGS
="$LDFLAGS"
16297 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16298 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16299 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16300 # The linker can only warn and ignore the option if not recognized
16301 # So say no if there are warnings
16302 if test -s conftest.err
; then
16303 # Append any errors to the config.log.
16304 cat conftest.err
1>&5
16305 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16306 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16307 if diff conftest.exp conftest.er2
>/dev
/null
; then
16308 lt_cv_prog_compiler_static_works_F77
=yes
16311 lt_cv_prog_compiler_static_works_F77
=yes
16315 LDFLAGS
="$save_LDFLAGS"
16318 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
16319 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
16321 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
16324 lt_prog_compiler_static_F77
=
16328 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16329 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16330 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 lt_cv_prog_compiler_c_o_F77
=no
16334 $rm -r conftest
2>/dev
/null
16338 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16340 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16341 # Insert the option either (1) after the last *FLAGS variable, or
16342 # (2) before a word containing "conftest.", or (3) at the end.
16343 # Note that $ac_compile itself does not contain backslashes and begins
16344 # with a dollar sign (not a hyphen), so the echo should work correctly.
16345 lt_compile
=`echo "$ac_compile" | $SED \
16346 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16347 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16348 -e 's:$: $lt_compiler_flag:'`
16349 (eval echo "\"\$as_me:16349: $lt_compile\"" >&5)
16350 (eval "$lt_compile" 2>out
/conftest.err
)
16352 cat out
/conftest.err
>&5
16353 echo "$as_me:16353: \$? = $ac_status" >&5
16354 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16356 # The compiler can only warn and ignore the option if not recognized
16357 # So say no if there are warnings
16358 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16359 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16360 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16361 lt_cv_prog_compiler_c_o_F77
=yes
16366 # SGI C++ compiler will create directory out/ii_files/ for
16367 # template instantiation
16368 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16369 $rm out
/* && rmdir out
16375 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16376 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
16379 hard_links
="nottested"
16380 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
16381 # do not overwrite the value of need_locks provided by the user
16382 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16383 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16386 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16388 ln conftest.a conftest.b
2>&5 || hard_links
=no
16389 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16390 { echo "$as_me:$LINENO: result: $hard_links" >&5
16391 echo "${ECHO_T}$hard_links" >&6; }
16392 if test "$hard_links" = no
; then
16393 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16394 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16401 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16402 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16405 allow_undefined_flag_F77
=
16406 enable_shared_with_static_runtimes_F77
=no
16408 archive_expsym_cmds_F77
=
16409 old_archive_From_new_cmds_F77
=
16410 old_archive_from_expsyms_cmds_F77
=
16411 export_dynamic_flag_spec_F77
=
16412 whole_archive_flag_spec_F77
=
16413 thread_safe_flag_spec_F77
=
16414 hardcode_libdir_flag_spec_F77
=
16415 hardcode_libdir_flag_spec_ld_F77
=
16416 hardcode_libdir_separator_F77
=
16417 hardcode_direct_F77
=no
16418 hardcode_minus_L_F77
=no
16419 hardcode_shlibpath_var_F77
=unsupported
16420 link_all_deplibs_F77
=unknown
16421 hardcode_automatic_F77
=no
16423 module_expsym_cmds_F77
=
16424 always_export_symbols_F77
=no
16425 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16426 # include_expsyms should be a list of space-separated symbols to be *always*
16427 # included in the symbol list
16428 include_expsyms_F77
=
16429 # exclude_expsyms can be an extended regexp of symbols to exclude
16430 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16431 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16432 # as well as any symbol that contains `d'.
16433 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16434 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16435 # platforms (ab)use it in PIC code, but their linkers get confused if
16436 # the symbol is explicitly referenced. Since portable code cannot
16437 # rely on this symbol name, it's probably fine to never include it in
16438 # preloaded symbol tables.
16439 # Exclude shared library initialization/finalization symbols.
16440 extract_expsyms_cmds
=
16441 # Just being paranoid about ensuring that cc_basename is set.
16442 for cc_temp
in $compiler""; do
16444 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16445 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16450 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16453 cygwin
* | mingw
* | pw32
*)
16454 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16455 # When not using gcc, we currently assume that we are using
16456 # Microsoft Visual C++.
16457 if test "$GCC" != yes; then
16462 # we just hope/assume this is gcc and not c89 (= MSVC++)
16471 if test "$with_gnu_ld" = yes; then
16472 # If archive_cmds runs LD, not CC, wlarc should be empty
16475 # Set some defaults for GNU ld with shared library support. These
16476 # are reset later if shared libraries are not supported. Putting them
16477 # here allows them to be overridden if necessary.
16478 runpath_var
=LD_RUN_PATH
16479 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
16480 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
16481 # ancient GNU ld didn't support --whole-archive et. al.
16482 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16483 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16485 whole_archive_flag_spec_F77
=
16487 supports_anon_versioning
=no
16488 case `$LD -v 2>/dev/null` in
16489 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16490 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16491 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16492 *\
2.11.
*) ;; # other 2.11 versions
16493 *) supports_anon_versioning
=yes ;;
16496 # See if GNU ld supports shared libraries.
16499 # On AIX/PPC, the GNU linker is very broken
16500 if test "$host_cpu" != ia64
; then
16504 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16505 *** to be unable to reliably create shared libraries on AIX.
16506 *** Therefore, libtool is disabling shared libraries support. If you
16507 *** really care for shared libraries, you may want to modify your PATH
16508 *** so that a non-GNU linker is found, and then restart.
16515 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)'
16516 hardcode_libdir_flag_spec_F77
='-L$libdir'
16517 hardcode_minus_L_F77
=yes
16519 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16520 # that the semantics of dynamic libraries on AmigaOS, at least up
16521 # to version 4, is to share data among multiple programs linked
16522 # with the same dynamic library. Since this doesn't match the
16523 # behavior of shared libraries on other platforms, we can't use
16529 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16530 allow_undefined_flag_F77
=unsupported
16531 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16532 # support --undefined. This deserves some investigation. FIXME
16533 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16539 cygwin
* | mingw
* | pw32
*)
16540 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16541 # as there is no search path for DLLs.
16542 hardcode_libdir_flag_spec_F77
='-L$libdir'
16543 allow_undefined_flag_F77
=unsupported
16544 always_export_symbols_F77
=no
16545 enable_shared_with_static_runtimes_F77
=yes
16546 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16548 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16549 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16550 # If the export-symbols file already is a .def file (1st line
16551 # is EXPORTS), use it as is; otherwise, prepend...
16552 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16553 cp $export_symbols $output_objdir/$soname.def;
16555 echo EXPORTS > $output_objdir/$soname.def;
16556 cat $export_symbols >> $output_objdir/$soname.def;
16558 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16565 hardcode_direct_F77
=no
16566 hardcode_shlibpath_var_F77
=no
16567 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16568 export_dynamic_flag_spec_F77
='${wl}-E'
16569 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16570 # Instead, shared libraries are loaded at an image base (0x10000000 by
16571 # default) and relocated if they conflict, which is a slow very memory
16572 # consuming and fragmenting process. To avoid this, we pick a random,
16573 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16574 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16575 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'
16576 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'
16579 gnu
* | linux
* | k
*bsd
*-gnu)
16580 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16582 case $cc_basename,$host_cpu in
16583 pgcc
*) # Portland Group C compiler
16584 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'
16585 tmp_addflag
=' $pic_flag'
16587 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16588 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'
16589 tmp_addflag
=' $pic_flag -Mnomain' ;;
16590 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16591 tmp_addflag
=' -i_dynamic' ;;
16592 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16593 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16594 ifc
* | ifort
*) # Intel Fortran compiler
16595 tmp_addflag
=' -nofor_main' ;;
16597 case `$CC -V 2>&1 | sed 5q` in
16598 *Sun\ C
*) # Sun C 5.9
16599 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16600 tmp_sharedflag
='-G' ;;
16601 *Sun\ F
*) # Sun Fortran 8.3
16602 tmp_sharedflag
='-G' ;;
16604 tmp_sharedflag
='-shared' ;;
16606 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16608 if test $supports_anon_versioning = yes; then
16609 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
16610 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16611 $echo "local: *; };" >> $output_objdir/$libname.ver~
16612 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16614 link_all_deplibs_F77
=no
16620 netbsd
* | netbsdelf
*-gnu)
16621 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16622 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16625 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16626 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16631 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16635 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16636 *** create shared libraries on Solaris systems. Therefore, libtool
16637 *** is disabling shared libraries support. We urge you to upgrade GNU
16638 *** binutils to release 2.9.1 or newer. Another option is to modify
16639 *** your PATH or compiler configuration so that the native linker is
16640 *** used, and then restart.
16643 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16644 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16645 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16651 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16652 case `$LD -v 2>&1` in
16653 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16657 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16658 *** reliably create shared libraries on SCO systems. Therefore, libtool
16659 *** is disabling shared libraries support. We urge you to upgrade GNU
16660 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16661 *** your PATH or compiler configuration so that the native linker is
16662 *** used, and then restart.
16667 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16668 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16669 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16670 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16679 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16681 hardcode_direct_F77
=yes
16682 hardcode_shlibpath_var_F77
=no
16686 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16687 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16688 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16695 if test "$ld_shlibs_F77" = no
; then
16697 hardcode_libdir_flag_spec_F77
=
16698 export_dynamic_flag_spec_F77
=
16699 whole_archive_flag_spec_F77
=
16702 # PORTME fill in a description of your system's linker (not GNU ld)
16705 allow_undefined_flag_F77
=unsupported
16706 always_export_symbols_F77
=yes
16707 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'
16708 # Note: this linker hardcodes the directories in LIBPATH if there
16709 # are no directories specified by -L.
16710 hardcode_minus_L_F77
=yes
16711 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16712 # Neither direct hardcoding nor static linking is supported with a
16714 hardcode_direct_F77
=unsupported
16719 if test "$host_cpu" = ia64
; then
16720 # On IA64, the linker does run time linking by default, so we don't
16721 # have to do anything special.
16722 aix_use_runtimelinking
=no
16723 exp_sym_flag
='-Bexport'
16726 # If we're using GNU nm, then we don't want the "-C" option.
16727 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16728 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16729 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'
16731 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'
16733 aix_use_runtimelinking
=no
16735 # Test if we are trying to use run time linking or normal
16736 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16737 # need to do runtime linking.
16738 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16739 for ld_flag
in $LDFLAGS; do
16740 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16741 aix_use_runtimelinking
=yes
16748 exp_sym_flag
='-bexport'
16749 no_entry_flag
='-bnoentry'
16752 # When large executables or shared objects are built, AIX ld can
16753 # have problems creating the table of contents. If linking a library
16754 # or program results in "error TOC overflow" add -mminimal-toc to
16755 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16756 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16758 archive_cmds_F77
=''
16759 hardcode_direct_F77
=yes
16760 hardcode_libdir_separator_F77
=':'
16761 link_all_deplibs_F77
=yes
16763 if test "$GCC" = yes; then
16764 case $host_os in aix4.
[012]|aix4.
[012].
*)
16765 # We only want to do this on AIX 4.2 and lower, the check
16766 # below for broken collect2 doesn't work under 4.3+
16767 collect2name
=`${CC} -print-prog-name=collect2`
16768 if test -f "$collect2name" && \
16769 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16771 # We have reworked collect2
16774 # We have old collect2
16775 hardcode_direct_F77
=unsupported
16776 # It fails to find uninstalled libraries when the uninstalled
16777 # path is not listed in the libpath. Setting hardcode_minus_L
16778 # to unsupported forces relinking
16779 hardcode_minus_L_F77
=yes
16780 hardcode_libdir_flag_spec_F77
='-L$libdir'
16781 hardcode_libdir_separator_F77
=
16785 shared_flag
='-shared'
16786 if test "$aix_use_runtimelinking" = yes; then
16787 shared_flag
="$shared_flag "'${wl}-G'
16791 if test "$host_cpu" = ia64
; then
16792 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16793 # chokes on -Wl,-G. The following line is correct:
16796 if test "$aix_use_runtimelinking" = yes; then
16797 shared_flag
='${wl}-G'
16799 shared_flag
='${wl}-bM:SRE'
16804 # It seems that -bexpall does not export symbols beginning with
16805 # underscore (_), so it is better to generate a list of symbols to export.
16806 always_export_symbols_F77
=yes
16807 if test "$aix_use_runtimelinking" = yes; then
16808 # Warning - without using the other runtime loading flags (-brtl),
16809 # -berok will link without error, but may produce a broken library.
16810 allow_undefined_flag_F77
='-berok'
16811 # Determine the default libpath from the value encoded in an empty executable.
16812 cat >conftest.
$ac_ext <<_ACEOF
16817 rm -f conftest.
$ac_objext conftest
$ac_exeext
16818 if { (ac_try
="$ac_link"
16819 case "(($ac_try" in
16820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16821 *) ac_try_echo=$ac_try;;
16823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16824 (eval "$ac_link") 2>conftest.er1
16826 grep -v '^ *+' conftest.er1 >conftest.err
16828 cat conftest.err >&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); } && {
16831 test -z "$ac_f77_werror_flag" ||
16832 test ! -s conftest.err
16833 } && test -s conftest$ac_exeext &&
16834 $as_test_x conftest$ac_exeext; then
16836 lt_aix_libpath_sed='
16837 /Import File Strings/,/^$/ {
16843 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
16844 # Check for a 64-bit object if we didn't find anything.
16845 if test -z "$aix_libpath"; then
16846 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
16849 echo "$as_me: failed program was:" >&5
16850 sed 's/^/| /' conftest.$ac_ext >&5
16855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16856 conftest$ac_exeext conftest.$ac_ext
16857 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16859 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16860 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"
16862 if test "$host_cpu" = ia64; then
16863 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16864 allow_undefined_flag_F77="-z nodefs"
16865 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"
16867 # Determine the default libpath from the value encoded in an empty executable.
16868 cat >conftest.$ac_ext <<_ACEOF
16873 rm -f conftest.$ac_objext conftest$ac_exeext
16874 if { (ac_try="$ac_link"
16875 case "(($ac_try" in
16876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16877 *) ac_try_echo
=$ac_try;;
16879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16880 (eval "$ac_link") 2>conftest.er1
16882 grep -v '^ *+' conftest.er1
>conftest.err
16884 cat conftest.err
>&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); } && {
16887 test -z "$ac_f77_werror_flag" ||
16888 test ! -s conftest.err
16889 } && test -s conftest
$ac_exeext &&
16890 $as_test_x conftest
$ac_exeext; then
16892 lt_aix_libpath_sed
='
16893 /Import File Strings/,/^$/ {
16899 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16900 # Check for a 64-bit object if we didn't find anything.
16901 if test -z "$aix_libpath"; then
16902 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.
$ac_ext >&5
16911 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16912 conftest
$ac_exeext conftest.
$ac_ext
16913 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16915 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
16916 # Warning - without using the other run time loading flags,
16917 # -berok will link without error, but may produce a broken library.
16918 no_undefined_flag_F77
=' ${wl}-bernotok'
16919 allow_undefined_flag_F77
=' ${wl}-berok'
16920 # Exported symbols can be pulled into shared objects from archives
16921 whole_archive_flag_spec_F77
='$convenience'
16922 archive_cmds_need_lc_F77
=yes
16923 # This is similar to how AIX traditionally builds its shared libraries.
16924 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'
16930 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)'
16931 hardcode_libdir_flag_spec_F77
='-L$libdir'
16932 hardcode_minus_L_F77
=yes
16933 # see comment about different semantics on the GNU ld section
16938 export_dynamic_flag_spec_F77
=-rdynamic
16941 cygwin
* | mingw
* | pw32
*)
16942 # When not using gcc, we currently assume that we are using
16943 # Microsoft Visual C++.
16944 # hardcode_libdir_flag_spec is actually meaningless, as there is
16945 # no search path for DLLs.
16946 hardcode_libdir_flag_spec_F77
=' '
16947 allow_undefined_flag_F77
=unsupported
16948 # Tell ltmain to make .lib files, not .a files.
16950 # Tell ltmain to make .dll files, not .so files.
16952 # FIXME: Setting linknames here is a bad hack.
16953 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16954 # The linker will automatically build a .lib file if we build a DLL.
16955 old_archive_From_new_cmds_F77
='true'
16956 # FIXME: Should let the user specify the lib program.
16957 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16958 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
16959 enable_shared_with_static_runtimes_F77
=yes
16962 darwin
* | rhapsody
*)
16964 rhapsody
* | darwin1.
[012])
16965 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
16968 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16969 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16971 case ${MACOSX_DEPLOYMENT_TARGET} in
16973 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16976 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
16982 archive_cmds_need_lc_F77
=no
16983 hardcode_direct_F77
=no
16984 hardcode_automatic_F77
=yes
16985 hardcode_shlibpath_var_F77
=unsupported
16986 whole_archive_flag_spec_F77
=''
16987 link_all_deplibs_F77
=yes
16988 if test "$GCC" = yes ; then
16989 output_verbose_link_cmd
='echo'
16990 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
16991 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16992 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
16993 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
16995 case $cc_basename in
16997 output_verbose_link_cmd
='echo'
16998 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16999 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17000 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17001 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17002 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}'
17012 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17013 hardcode_libdir_flag_spec_F77
='-L$libdir'
17014 hardcode_shlibpath_var_F77
=no
17021 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17022 # support. Future versions do this automatically, but an explicit c++rt0.o
17023 # does not break anything, and helps significantly (at the cost of a little
17026 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17027 hardcode_libdir_flag_spec_F77
='-R$libdir'
17028 hardcode_direct_F77
=yes
17029 hardcode_shlibpath_var_F77
=no
17032 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17034 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17035 hardcode_direct_F77
=yes
17036 hardcode_minus_L_F77
=yes
17037 hardcode_shlibpath_var_F77
=no
17040 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17041 freebsd
* | dragonfly
*)
17042 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17043 hardcode_libdir_flag_spec_F77
='-R$libdir'
17044 hardcode_direct_F77
=yes
17045 hardcode_shlibpath_var_F77
=no
17049 if test "$GCC" = yes; then
17050 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'
17052 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'
17054 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
17055 hardcode_libdir_separator_F77
=:
17056 hardcode_direct_F77
=yes
17058 # hardcode_minus_L: Not really in the search PATH,
17059 # but as the default location of the library.
17060 hardcode_minus_L_F77
=yes
17061 export_dynamic_flag_spec_F77
='${wl}-E'
17065 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17066 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17068 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17070 if test "$with_gnu_ld" = no
; then
17071 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
17072 hardcode_libdir_separator_F77
=:
17074 hardcode_direct_F77
=yes
17075 export_dynamic_flag_spec_F77
='${wl}-E'
17077 # hardcode_minus_L: Not really in the search PATH,
17078 # but as the default location of the library.
17079 hardcode_minus_L_F77
=yes
17084 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17087 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17090 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17093 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17099 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17102 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17105 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17109 if test "$with_gnu_ld" = no
; then
17110 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
17111 hardcode_libdir_separator_F77
=:
17115 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
17116 hardcode_direct_F77
=no
17117 hardcode_shlibpath_var_F77
=no
17120 hardcode_direct_F77
=yes
17121 export_dynamic_flag_spec_F77
='${wl}-E'
17123 # hardcode_minus_L: Not really in the search PATH,
17124 # but as the default location of the library.
17125 hardcode_minus_L_F77
=yes
17131 irix5
* | irix6
* | nonstopux
*)
17132 if test "$GCC" = yes; then
17133 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'
17135 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'
17136 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
17138 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17139 hardcode_libdir_separator_F77
=:
17140 link_all_deplibs_F77
=yes
17143 netbsd
* | netbsdelf
*-gnu)
17144 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17145 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17147 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17149 hardcode_libdir_flag_spec_F77
='-R$libdir'
17150 hardcode_direct_F77
=yes
17151 hardcode_shlibpath_var_F77
=no
17155 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17156 hardcode_direct_F77
=yes
17157 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17158 hardcode_libdir_separator_F77
=:
17159 hardcode_shlibpath_var_F77
=no
17163 if test -f /usr
/libexec
/ld.so
; then
17164 hardcode_direct_F77
=yes
17165 hardcode_shlibpath_var_F77
=no
17166 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17167 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17168 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17169 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
17170 export_dynamic_flag_spec_F77
='${wl}-E'
17173 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17174 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17175 hardcode_libdir_flag_spec_F77
='-R$libdir'
17178 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17179 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
17189 hardcode_libdir_flag_spec_F77
='-L$libdir'
17190 hardcode_minus_L_F77
=yes
17191 allow_undefined_flag_F77
=unsupported
17192 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'
17193 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17197 if test "$GCC" = yes; then
17198 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
17199 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'
17201 allow_undefined_flag_F77
=' -expect_unresolved \*'
17202 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'
17204 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17205 hardcode_libdir_separator_F77
=:
17208 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17209 if test "$GCC" = yes; then
17210 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
17211 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'
17212 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17214 allow_undefined_flag_F77
=' -expect_unresolved \*'
17215 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'
17216 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~
17217 $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'
17219 # Both c and cxx compiler support -rpath directly
17220 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
17222 hardcode_libdir_separator_F77
=:
17226 no_undefined_flag_F77
=' -z text'
17227 if test "$GCC" = yes; then
17229 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17230 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17231 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17234 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17235 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17236 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17238 hardcode_libdir_flag_spec_F77
='-R$libdir'
17239 hardcode_shlibpath_var_F77
=no
17241 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17243 # The compiler driver will combine and reorder linker options,
17244 # but understands `-z linker_flag'. GCC discards it without `$wl',
17245 # but is careful enough not to reorder.
17246 # Supported since Solaris 2.6 (maybe 2.5.1?)
17247 if test "$GCC" = yes; then
17248 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17250 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
17254 link_all_deplibs_F77
=yes
17258 if test "x$host_vendor" = xsequent
; then
17259 # Use $CC to link under sequent, because it throws in some extra .o
17260 # files that make .init and .fini sections work.
17261 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17263 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17265 hardcode_libdir_flag_spec_F77
='-L$libdir'
17266 hardcode_direct_F77
=yes
17267 hardcode_minus_L_F77
=yes
17268 hardcode_shlibpath_var_F77
=no
17272 case $host_vendor in
17274 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17275 hardcode_direct_F77
=yes # is this really true???
17278 ## LD is ld it makes a PLAMLIB
17279 ## CC just makes a GrossModule.
17280 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17281 reload_cmds_F77
='$CC -r -o $output$reload_objs'
17282 hardcode_direct_F77
=no
17285 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17286 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
17289 runpath_var
='LD_RUN_PATH'
17290 hardcode_shlibpath_var_F77
=no
17294 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17295 hardcode_shlibpath_var_F77
=no
17296 export_dynamic_flag_spec_F77
='-Bexport'
17300 if test -d /usr
/nec
; then
17301 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17302 hardcode_shlibpath_var_F77
=no
17303 runpath_var
=LD_RUN_PATH
17304 hardcode_runpath_var
=yes
17309 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17310 no_undefined_flag_F77
='${wl}-z,text'
17311 archive_cmds_need_lc_F77
=no
17312 hardcode_shlibpath_var_F77
=no
17313 runpath_var
='LD_RUN_PATH'
17315 if test "$GCC" = yes; then
17316 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17317 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17319 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17320 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17324 sysv5
* | sco3.2v5
* | sco5v6
*)
17325 # Note: We can NOT use -z defs as we might desire, because we do not
17326 # link with -lc, and that would cause any symbols used from libc to
17327 # always be unresolved, which means just about no library would
17328 # ever link correctly. If we're not using GNU ld we use -z text
17329 # though, which does catch some bad symbols but isn't as heavy-handed
17331 no_undefined_flag_F77
='${wl}-z,text'
17332 allow_undefined_flag_F77
='${wl}-z,nodefs'
17333 archive_cmds_need_lc_F77
=no
17334 hardcode_shlibpath_var_F77
=no
17335 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17336 hardcode_libdir_separator_F77
=':'
17337 link_all_deplibs_F77
=yes
17338 export_dynamic_flag_spec_F77
='${wl}-Bexport'
17339 runpath_var
='LD_RUN_PATH'
17341 if test "$GCC" = yes; then
17342 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17343 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17345 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17346 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17351 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17352 hardcode_libdir_flag_spec_F77
='-L$libdir'
17353 hardcode_shlibpath_var_F77
=no
17362 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17363 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17364 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
17367 # Do we need to explicitly link libc?
17369 case "x$archive_cmds_need_lc_F77" in
17371 # Assume -lc should be added
17372 archive_cmds_need_lc_F77
=yes
17374 if test "$enable_shared" = yes && test "$GCC" = yes; then
17375 case $archive_cmds_F77 in
17377 # FIXME: we may have to deal with multi-command sequences.
17380 # Test whether the compiler implicitly links with -lc since on some
17381 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17382 # to ld, don't add -lc before -lgcc.
17383 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17384 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17386 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17389 (eval $ac_compile) 2>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } 2>conftest.err
; then
17395 libobjs
=conftest.
$ac_objext
17397 wl
=$lt_prog_compiler_wl_F77
17398 pic_flag
=$lt_prog_compiler_pic_F77
17404 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
17405 allow_undefined_flag_F77
=
17406 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17407 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); }
17412 archive_cmds_need_lc_F77
=no
17414 archive_cmds_need_lc_F77
=yes
17416 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
17418 cat conftest.err
1>&5
17421 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17422 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
17429 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17430 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17431 library_names_spec
=
17432 libname_spec
='lib$name'
17436 postuninstall_cmds
=
17440 shlibpath_overrides_runpath
=unknown
17442 dynamic_linker
="$host_os ld.so"
17443 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17445 need_lib_prefix
=unknown
17446 hardcode_into_libs
=no
17448 # when you set need_version to no, make sure it does not cause -set_version
17449 # flags to be left without arguments
17450 need_version
=unknown
17455 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17456 shlibpath_var
=LIBPATH
17458 # AIX 3 has no versioning support, so we append a major version to the name.
17459 soname_spec
='${libname}${release}${shared_ext}$major'
17466 hardcode_into_libs
=yes
17467 if test "$host_cpu" = ia64
; then
17468 # AIX 5 supports IA64
17469 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17470 shlibpath_var
=LD_LIBRARY_PATH
17472 # With GCC up to 2.95.x, collect2 would create an import file
17473 # for dependence libraries. The import file would start with
17474 # the line `#! .'. This would cause the generated library to
17475 # depend on `.', always an invalid library. This was fixed in
17476 # development snapshots of GCC prior to 3.0.
17478 aix4 | aix4.
[01] | aix4.
[01].
*)
17479 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17481 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17484 can_build_shared
=no
17488 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17489 # soname into executable. Probably we can add versioning support to
17490 # collect2, so additional links can be useful in future.
17491 if test "$aix_use_runtimelinking" = yes; then
17492 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17493 # instead of lib<name>.a to let people know that these are not
17494 # typical AIX shared libraries.
17495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17497 # We preserve .a as extension for shared libraries through AIX4.2
17498 # and later when we are not doing run time linking.
17499 library_names_spec
='${libname}${release}.a $libname.a'
17500 soname_spec
='${libname}${release}${shared_ext}$major'
17502 shlibpath_var
=LIBPATH
17507 library_names_spec
='$libname.ixlibrary $libname.a'
17508 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17509 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'
17513 library_names_spec
='${libname}${shared_ext}'
17514 dynamic_linker
="$host_os ld.so"
17515 shlibpath_var
=LIBRARY_PATH
17521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17522 soname_spec
='${libname}${release}${shared_ext}$major'
17523 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17524 shlibpath_var
=LD_LIBRARY_PATH
17525 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17526 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17527 # the default ld.so.conf also contains /usr/contrib/lib and
17528 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17529 # libtool to hard-code these into programs
17532 cygwin
* | mingw
* | pw32
*)
17533 version_type
=windows
17538 case $GCC,$host_os in
17539 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17540 library_names_spec
='$libname.dll.a'
17541 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17542 postinstall_cmds
='base_file=`basename \${file}`~
17543 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17544 dldir=$destdir/`dirname \$dlpath`~
17545 test -d \$dldir || mkdir -p \$dldir~
17546 $install_prog $dir/$dlname \$dldir/$dlname~
17547 chmod a+x \$dldir/$dlname'
17548 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17549 dlpath=$dir/\$dldll~
17551 shlibpath_overrides_runpath
=yes
17555 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17556 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17557 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17560 # MinGW DLLs use traditional 'lib' prefix
17561 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17562 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17563 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17564 # It is most probably a Windows format PATH printed by
17565 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17566 # path with ; separators, and with drive letters. We can handle the
17567 # drive letters (cygwin fileutils understands them), so leave them,
17568 # especially as we might pass files found there to a mingw objdump,
17569 # which wouldn't understand a cygwinified path. Ahh.
17570 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17572 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17576 # pw32 DLLs use 'pw' prefix rather than 'lib'
17577 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17583 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17586 dynamic_linker
='Win32 ld.exe'
17587 # FIXME: first we should search . and the directory the executable is in
17591 darwin
* | rhapsody
*)
17592 dynamic_linker
="$host_os dyld"
17593 version_type
=darwin
17596 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17597 soname_spec
='${libname}${release}${major}$shared_ext'
17598 shlibpath_overrides_runpath
=yes
17599 shlibpath_var
=DYLD_LIBRARY_PATH
17600 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17602 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17610 soname_spec
='${libname}${release}${shared_ext}$major'
17611 shlibpath_var
=LD_LIBRARY_PATH
17618 freebsd
* | dragonfly
*)
17619 # DragonFly does not have aout. When/if they implement a new
17620 # versioning mechanism, adjust this.
17621 if test -x /usr
/bin
/objformat
; then
17622 objformat
=`/usr/bin/objformat`
17625 freebsd
[123]*) objformat
=aout
;;
17626 *) objformat
=elf
;;
17629 version_type
=freebsd-
$objformat
17630 case $version_type in
17632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17637 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17641 shlibpath_var
=LD_LIBRARY_PATH
17644 shlibpath_overrides_runpath
=yes
17646 freebsd3.
[01]* | freebsdelf3.
[01]*)
17647 shlibpath_overrides_runpath
=yes
17648 hardcode_into_libs
=yes
17650 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17651 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17652 shlibpath_overrides_runpath
=no
17653 hardcode_into_libs
=yes
17655 *) # from 4.6 on, and DragonFly
17656 shlibpath_overrides_runpath
=yes
17657 hardcode_into_libs
=yes
17666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17667 soname_spec
='${libname}${release}${shared_ext}$major'
17668 shlibpath_var
=LD_LIBRARY_PATH
17669 hardcode_into_libs
=yes
17672 hpux9
* | hpux10
* | hpux11
*)
17673 # Give a soname corresponding to the major version so that dld.sl refuses to
17674 # link against other versions.
17681 hardcode_into_libs
=yes
17682 dynamic_linker
="$host_os dld.so"
17683 shlibpath_var
=LD_LIBRARY_PATH
17684 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17686 soname_spec
='${libname}${release}${shared_ext}$major'
17687 if test "X$HPUX_IA64_MODE" = X32
; then
17688 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17690 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17692 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17696 hardcode_into_libs
=yes
17697 dynamic_linker
="$host_os dld.sl"
17698 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17699 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17701 soname_spec
='${libname}${release}${shared_ext}$major'
17702 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17703 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17707 dynamic_linker
="$host_os dld.sl"
17708 shlibpath_var
=SHLIB_PATH
17709 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17711 soname_spec
='${libname}${release}${shared_ext}$major'
17714 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17715 postinstall_cmds
='chmod 555 $lib'
17722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17723 soname_spec
='${libname}${release}${shared_ext}$major'
17724 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17725 shlibpath_var
=LD_LIBRARY_PATH
17726 shlibpath_overrides_runpath
=no
17727 hardcode_into_libs
=yes
17730 irix5
* | irix6
* | nonstopux
*)
17732 nonstopux
*) version_type
=nonstopux
;;
17734 if test "$lt_cv_prog_gnu_ld" = yes; then
17742 soname_spec
='${libname}${release}${shared_ext}$major'
17743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17745 irix5
* | nonstopux
*)
17746 libsuff
= shlibsuff
=
17749 case $LD in # libtool.m4 will add one of these switches to LD
17750 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17751 libsuff
= shlibsuff
= libmagic
=32-bit;;
17752 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17753 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17754 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17755 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17756 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17760 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17761 shlibpath_overrides_runpath
=no
17762 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17763 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17764 hardcode_into_libs
=yes
17767 # No shared lib support for Linux oldld, aout, or coff.
17768 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17772 # This must be Linux ELF.
17773 linux
* | k
*bsd
*-gnu)
17777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17778 soname_spec
='${libname}${release}${shared_ext}$major'
17779 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17780 shlibpath_var
=LD_LIBRARY_PATH
17781 shlibpath_overrides_runpath
=no
17782 # This implies no fast_install, which is unacceptable.
17783 # Some rework will be needed to allow for fast_install
17784 # before this can be enabled.
17785 hardcode_into_libs
=yes
17787 # Append ld.so.conf contents to the search path
17788 if test -f /etc
/ld.so.conf
; then
17789 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17790 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17793 # We used to test for /lib/ld.so.1 and disable shared libraries on
17794 # powerpc, because MkLinux only supported shared libraries with the
17795 # GNU dynamic linker. Since this was broken with cross compilers,
17796 # most powerpc-linux boxes support dynamic linking these days and
17797 # people can always --disable-shared, the test was removed, and we
17798 # assume the GNU/Linux dynamic linker is in use.
17799 dynamic_linker
='GNU/Linux ld.so'
17806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17807 soname_spec
='${libname}${release}${shared_ext}$major'
17808 shlibpath_var
=LD_LIBRARY_PATH
17809 shlibpath_overrides_runpath
=no
17810 hardcode_into_libs
=yes
17811 dynamic_linker
='NetBSD ld.elf_so'
17818 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17820 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17821 dynamic_linker
='NetBSD (a.out) ld.so'
17823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17824 soname_spec
='${libname}${release}${shared_ext}$major'
17825 dynamic_linker
='NetBSD ld.elf_so'
17827 shlibpath_var
=LD_LIBRARY_PATH
17828 shlibpath_overrides_runpath
=yes
17829 hardcode_into_libs
=yes
17834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17835 shlibpath_var
=LD_LIBRARY_PATH
17836 shlibpath_overrides_runpath
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
17846 shlibpath_overrides_runpath
=yes
17851 sys_lib_dlsearch_path_spec
="/usr/lib"
17853 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17855 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17856 *) need_version
=no
;;
17858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17859 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17860 shlibpath_var
=LD_LIBRARY_PATH
17861 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17863 openbsd2.
[89] | openbsd2.
[89].
*)
17864 shlibpath_overrides_runpath
=no
17867 shlibpath_overrides_runpath
=yes
17871 shlibpath_overrides_runpath
=yes
17876 libname_spec
='$name'
17879 library_names_spec
='$libname${shared_ext} $libname.a'
17880 dynamic_linker
='OS/2 ld.exe'
17881 shlibpath_var
=LIBPATH
17884 osf3
* | osf4
* | osf5
*)
17888 soname_spec
='${libname}${release}${shared_ext}$major'
17889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17890 shlibpath_var
=LD_LIBRARY_PATH
17891 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17892 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17904 soname_spec
='${libname}${release}${shared_ext}$major'
17905 shlibpath_var
=LD_LIBRARY_PATH
17906 shlibpath_overrides_runpath
=yes
17907 hardcode_into_libs
=yes
17908 # ldd complains unless libraries are executable
17909 postinstall_cmds
='chmod +x $lib'
17914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17915 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17916 shlibpath_var
=LD_LIBRARY_PATH
17917 shlibpath_overrides_runpath
=yes
17918 if test "$with_gnu_ld" = yes; then
17926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17927 soname_spec
='${libname}${release}${shared_ext}$major'
17928 shlibpath_var
=LD_LIBRARY_PATH
17929 case $host_vendor in
17931 shlibpath_overrides_runpath
=no
17933 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17934 runpath_var
=LD_RUN_PATH
17942 shlibpath_overrides_runpath
=no
17943 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17949 if test -d /usr
/nec
;then
17951 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17952 soname_spec
='$libname${shared_ext}.$major'
17953 shlibpath_var
=LD_LIBRARY_PATH
17957 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17958 version_type
=freebsd-elf
17961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17962 soname_spec
='${libname}${release}${shared_ext}$major'
17963 shlibpath_var
=LD_LIBRARY_PATH
17964 hardcode_into_libs
=yes
17965 if test "$with_gnu_ld" = yes; then
17966 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17967 shlibpath_overrides_runpath
=no
17969 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17970 shlibpath_overrides_runpath
=yes
17973 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17977 sys_lib_dlsearch_path_spec
='/usr/lib'
17982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17983 soname_spec
='${libname}${release}${shared_ext}$major'
17984 shlibpath_var
=LD_LIBRARY_PATH
17991 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17992 echo "${ECHO_T}$dynamic_linker" >&6; }
17993 test "$dynamic_linker" = no
&& can_build_shared
=no
17995 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17996 echo $ECHO_N "(cached) $ECHO_C" >&6
17998 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
18001 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
18002 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18003 echo $ECHO_N "(cached) $ECHO_C" >&6
18005 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
18008 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
18010 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18011 if test "$GCC" = yes; then
18012 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18015 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18016 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18017 hardcode_action_F77
=
18018 if test -n "$hardcode_libdir_flag_spec_F77" || \
18019 test -n "$runpath_var_F77" || \
18020 test "X$hardcode_automatic_F77" = "Xyes" ; then
18022 # We can hardcode non-existant directories.
18023 if test "$hardcode_direct_F77" != no
&&
18024 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18025 # have to relink, otherwise we might link with an installed library
18026 # when we should be linking with a yet-to-be-installed one
18027 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18028 test "$hardcode_minus_L_F77" != no
; then
18029 # Linking always hardcodes the temporary library directory.
18030 hardcode_action_F77
=relink
18032 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18033 hardcode_action_F77
=immediate
18036 # We cannot hardcode anything, or else we can only hardcode existing
18038 hardcode_action_F77
=unsupported
18040 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18041 echo "${ECHO_T}$hardcode_action_F77" >&6; }
18043 if test "$hardcode_action_F77" = relink
; then
18044 # Fast installation is not supported
18045 enable_fast_install
=no
18046 elif test "$shlibpath_overrides_runpath" = yes ||
18047 test "$enable_shared" = no
; then
18048 # Fast installation is not necessary
18049 enable_fast_install
=needless
18053 # The else clause should only fire when bootstrapping the
18054 # libtool distribution, otherwise you forgot to ship ltmain.sh
18055 # with your package, and you will get complaints that there are
18056 # no rules to generate ltmain.sh.
18057 if test -f "$ltmain"; then
18058 # See if we are running on zsh, and set the options which allow our commands through
18059 # without removal of \ escapes.
18060 if test -n "${ZSH_VERSION+set}" ; then
18061 setopt NO_GLOB_SUBST
18063 # Now quote all the things that may contain metacharacters while being
18064 # careful not to overquote the AC_SUBSTed values. We take copies of the
18065 # variables and quote the copies for generation of the libtool script.
18066 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18068 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18069 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18070 deplibs_check_method reload_flag reload_cmds need_locks \
18071 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18072 lt_cv_sys_global_symbol_to_c_name_address \
18073 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18074 old_postinstall_cmds old_postuninstall_cmds \
18078 lt_prog_compiler_wl_F77 \
18079 lt_prog_compiler_pic_F77 \
18080 lt_prog_compiler_static_F77 \
18081 lt_prog_compiler_no_builtin_flag_F77 \
18082 export_dynamic_flag_spec_F77 \
18083 thread_safe_flag_spec_F77 \
18084 whole_archive_flag_spec_F77 \
18085 enable_shared_with_static_runtimes_F77 \
18086 old_archive_cmds_F77 \
18087 old_archive_from_new_cmds_F77 \
18088 predep_objects_F77 \
18089 postdep_objects_F77 \
18092 compiler_lib_search_path_F77 \
18093 compiler_lib_search_dirs_F77 \
18095 archive_expsym_cmds_F77 \
18096 postinstall_cmds_F77 \
18097 postuninstall_cmds_F77 \
18098 old_archive_from_expsyms_cmds_F77 \
18099 allow_undefined_flag_F77 \
18100 no_undefined_flag_F77 \
18101 export_symbols_cmds_F77 \
18102 hardcode_libdir_flag_spec_F77 \
18103 hardcode_libdir_flag_spec_ld_F77 \
18104 hardcode_libdir_separator_F77 \
18105 hardcode_automatic_F77 \
18107 module_expsym_cmds_F77 \
18108 lt_cv_prog_compiler_c_o_F77 \
18109 fix_srcfile_path_F77 \
18110 exclude_expsyms_F77 \
18111 include_expsyms_F77
; do
18114 old_archive_cmds_F77 | \
18115 old_archive_from_new_cmds_F77 | \
18116 archive_cmds_F77 | \
18117 archive_expsym_cmds_F77 | \
18118 module_cmds_F77 | \
18119 module_expsym_cmds_F77 | \
18120 old_archive_from_expsyms_cmds_F77 | \
18121 export_symbols_cmds_F77 | \
18122 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18123 postinstall_cmds | postuninstall_cmds | \
18124 old_postinstall_cmds | old_postuninstall_cmds | \
18125 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18126 # Double-quote double-evaled strings.
18127 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18130 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18136 *'\$0 --fallback-echo"')
18137 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18143 cat <<__EOF__ >> "$cfgfile"
18144 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18146 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18148 # Shell to use when invoking shell scripts.
18151 # Whether or not to build shared libraries.
18152 build_libtool_libs=$enable_shared
18154 # Whether or not to build static libraries.
18155 build_old_libs=$enable_static
18157 # Whether or not to add -lc for building shared libraries.
18158 build_libtool_need_lc=$archive_cmds_need_lc_F77
18160 # Whether or not to disallow shared libs when runtime libs are static
18161 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18163 # Whether or not to optimize for fast installation.
18164 fast_install=$enable_fast_install
18167 host_alias=$host_alias
18171 # The build system.
18172 build_alias=$build_alias
18176 # An echo program that does not interpret backslashes.
18181 AR_FLAGS=$lt_AR_FLAGS
18186 # LTCC compiler flags.
18187 LTCFLAGS=$lt_LTCFLAGS
18189 # A language-specific compiler.
18190 CC=$lt_compiler_F77
18192 # Is the compiler the GNU C compiler?
18198 # The linker used to build libraries.
18201 # Whether we need hard or soft links.
18204 # A BSD-compatible nm program.
18207 # A symbol stripping program
18210 # Used to examine libraries when file_magic_cmd begins "file"
18211 MAGIC_CMD=$MAGIC_CMD
18213 # Used on cygwin: DLL creation program.
18216 # Used on cygwin: object dumper.
18219 # Used on cygwin: assembler.
18222 # The name of the directory that contains temporary libtool files.
18225 # How to create reloadable object files.
18226 reload_flag=$lt_reload_flag
18227 reload_cmds=$lt_reload_cmds
18229 # How to pass a linker flag through the compiler.
18230 wl=$lt_lt_prog_compiler_wl_F77
18232 # Object file suffix (normally "o").
18233 objext="$ac_objext"
18235 # Old archive suffix (normally "a").
18238 # Shared library suffix (normally ".so").
18239 shrext_cmds='$shrext_cmds'
18241 # Executable file suffix (normally "").
18244 # Additional compiler flags for building library objects.
18245 pic_flag=$lt_lt_prog_compiler_pic_F77
18248 # What is the maximum length of a command?
18249 max_cmd_len=$lt_cv_sys_max_cmd_len
18251 # Does compiler simultaneously support -c and -o options?
18252 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18254 # Must we lock files when doing compilation?
18255 need_locks=$lt_need_locks
18257 # Do we need the lib prefix for modules?
18258 need_lib_prefix=$need_lib_prefix
18260 # Do we need a version for libraries?
18261 need_version=$need_version
18263 # Whether dlopen is supported.
18264 dlopen_support=$enable_dlopen
18266 # Whether dlopen of programs is supported.
18267 dlopen_self=$enable_dlopen_self
18269 # Whether dlopen of statically linked programs is supported.
18270 dlopen_self_static=$enable_dlopen_self_static
18272 # Compiler flag to prevent dynamic linking.
18273 link_static_flag=$lt_lt_prog_compiler_static_F77
18275 # Compiler flag to turn off builtin functions.
18276 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18278 # Compiler flag to allow reflexive dlopens.
18279 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18281 # Compiler flag to generate shared objects directly from archives.
18282 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18284 # Compiler flag to generate thread-safe objects.
18285 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18287 # Library versioning type.
18288 version_type=$version_type
18290 # Format of library name prefix.
18291 libname_spec=$lt_libname_spec
18293 # List of archive names. First name is the real one, the rest are links.
18294 # The last name is the one that the linker finds with -lNAME.
18295 library_names_spec=$lt_library_names_spec
18297 # The coded name of the library, if different from the real name.
18298 soname_spec=$lt_soname_spec
18300 # Commands used to build and install an old-style archive.
18302 old_archive_cmds=$lt_old_archive_cmds_F77
18303 old_postinstall_cmds=$lt_old_postinstall_cmds
18304 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18306 # Create an old-style archive from a shared archive.
18307 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18309 # Create a temporary old-style archive to link instead of a shared archive.
18310 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18312 # Commands used to build and install a shared archive.
18313 archive_cmds=$lt_archive_cmds_F77
18314 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18315 postinstall_cmds=$lt_postinstall_cmds
18316 postuninstall_cmds=$lt_postuninstall_cmds
18318 # Commands used to build a loadable module (assumed same as above if empty)
18319 module_cmds=$lt_module_cmds_F77
18320 module_expsym_cmds=$lt_module_expsym_cmds_F77
18322 # Commands to strip libraries.
18323 old_striplib=$lt_old_striplib
18324 striplib=$lt_striplib
18326 # Dependencies to place before the objects being linked to create a
18328 predep_objects=$lt_predep_objects_F77
18330 # Dependencies to place after the objects being linked to create a
18332 postdep_objects=$lt_postdep_objects_F77
18334 # Dependencies to place before the objects being linked to create a
18336 predeps=$lt_predeps_F77
18338 # Dependencies to place after the objects being linked to create a
18340 postdeps=$lt_postdeps_F77
18342 # The directories searched by this compiler when creating a shared
18344 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
18346 # The library search path used internally by the compiler when linking
18347 # a shared library.
18348 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18350 # Method to check whether dependent libraries are shared objects.
18351 deplibs_check_method=$lt_deplibs_check_method
18353 # Command to use when deplibs_check_method == file_magic.
18354 file_magic_cmd=$lt_file_magic_cmd
18356 # Flag that allows shared libraries with undefined symbols to be built.
18357 allow_undefined_flag=$lt_allow_undefined_flag_F77
18359 # Flag that forces no undefined symbols.
18360 no_undefined_flag=$lt_no_undefined_flag_F77
18362 # Commands used to finish a libtool library installation in a directory.
18363 finish_cmds=$lt_finish_cmds
18365 # Same as above, but a single script fragment to be evaled but not shown.
18366 finish_eval=$lt_finish_eval
18368 # Take the output of nm and produce a listing of raw symbols and C names.
18369 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18371 # Transform the output of nm in a proper C declaration
18372 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18374 # Transform the output of nm in a C name address pair
18375 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18377 # This is the shared library runtime path variable.
18378 runpath_var=$runpath_var
18380 # This is the shared library path variable.
18381 shlibpath_var=$shlibpath_var
18383 # Is shlibpath searched before the hard-coded library search path?
18384 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18386 # How to hardcode a shared library path into an executable.
18387 hardcode_action=$hardcode_action_F77
18389 # Whether we should hardcode library paths into libraries.
18390 hardcode_into_libs=$hardcode_into_libs
18392 # Flag to hardcode \$libdir into a binary during linking.
18393 # This must work even if \$libdir does not exist.
18394 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18396 # If ld is used when linking, flag to hardcode \$libdir into
18397 # a binary during linking. This must work even if \$libdir does
18399 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18401 # Whether we need a single -rpath flag with a separated argument.
18402 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18404 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18405 # resulting binary.
18406 hardcode_direct=$hardcode_direct_F77
18408 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18409 # resulting binary.
18410 hardcode_minus_L=$hardcode_minus_L_F77
18412 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18413 # the resulting binary.
18414 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18416 # Set to yes if building a shared library automatically hardcodes DIR into the library
18417 # and all subsequent libraries and executables linked against it.
18418 hardcode_automatic=$hardcode_automatic_F77
18420 # Variables whose values should be saved in libtool wrapper scripts and
18421 # restored at relink time.
18422 variables_saved_for_relink="$variables_saved_for_relink"
18424 # Whether libtool must link a program against all its dependency libraries.
18425 link_all_deplibs=$link_all_deplibs_F77
18427 # Compile-time system search path for libraries
18428 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18430 # Run-time system search path for libraries
18431 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18433 # Fix the shell variable \$srcfile for the compiler.
18434 fix_srcfile_path=$lt_fix_srcfile_path
18436 # Set to yes if exported symbols are required.
18437 always_export_symbols=$always_export_symbols_F77
18439 # The commands to list exported symbols.
18440 export_symbols_cmds=$lt_export_symbols_cmds_F77
18442 # The commands to extract the exported symbol list from a shared archive.
18443 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18445 # Symbols that should not be listed in the preloaded symbols.
18446 exclude_expsyms=$lt_exclude_expsyms_F77
18448 # Symbols that must always be exported.
18449 include_expsyms=$lt_include_expsyms_F77
18451 # ### END LIBTOOL TAG CONFIG: $tagname
18457 # If there is no Makefile yet, we rely on a make rule to execute
18458 # `config.status --recheck' to rerun these tests and create the
18459 # libtool script then.
18460 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18461 if test -f "$ltmain_in"; then
18462 test -f Makefile
&& make "$ltmain"
18468 ac_cpp
='$CPP $CPPFLAGS'
18469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18481 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18484 # Source file extension for Java test sources.
18487 # Object file extension for compiled Java test sources.
18491 # Code to be used in simple compile tests
18492 lt_simple_compile_test_code
="class foo {}"
18494 # Code to be used in simple link tests
18495 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
18497 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18499 # If no C compiler was specified, use CC.
18502 # If no C compiler flags were specified, use CFLAGS.
18503 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18505 # Allow CC to be a program name with arguments.
18509 # save warnings/boilerplate of simple test code
18510 ac_outfile
=conftest.
$ac_objext
18511 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18512 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18513 _lt_compiler_boilerplate
=`cat conftest.err`
18516 ac_outfile
=conftest.
$ac_objext
18517 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18518 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18519 _lt_linker_boilerplate
=`cat conftest.err`
18523 # Allow CC to be a program name with arguments.
18528 for cc_temp
in $compiler""; do
18530 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18531 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18536 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18539 # GCJ did not exist at the time GCC didn't implicitly link libc in.
18540 archive_cmds_need_lc_GCJ
=no
18542 old_archive_cmds_GCJ
=$old_archive_cmds
18545 lt_prog_compiler_no_builtin_flag_GCJ
=
18547 if test "$GCC" = yes; then
18548 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
18551 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18552 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18553 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18554 echo $ECHO_N "(cached) $ECHO_C" >&6
18556 lt_cv_prog_compiler_rtti_exceptions
=no
18557 ac_outfile
=conftest.
$ac_objext
18558 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18559 lt_compiler_flag
="-fno-rtti -fno-exceptions"
18560 # Insert the option either (1) after the last *FLAGS variable, or
18561 # (2) before a word containing "conftest.", or (3) at the end.
18562 # Note that $ac_compile itself does not contain backslashes and begins
18563 # with a dollar sign (not a hyphen), so the echo should work correctly.
18564 # The option is referenced via a variable to avoid confusing sed.
18565 lt_compile
=`echo "$ac_compile" | $SED \
18566 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18567 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18568 -e 's:$: $lt_compiler_flag:'`
18569 (eval echo "\"\$as_me:18569: $lt_compile\"" >&5)
18570 (eval "$lt_compile" 2>conftest.err
)
18572 cat conftest.err
>&5
18573 echo "$as_me:18573: \$? = $ac_status" >&5
18574 if (exit $ac_status) && test -s "$ac_outfile"; then
18575 # The compiler can only warn and ignore the option if not recognized
18576 # So say no if there are warnings other than the usual output.
18577 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
18578 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18579 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
18580 lt_cv_prog_compiler_rtti_exceptions
=yes
18586 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18587 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18589 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
18590 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18597 lt_prog_compiler_wl_GCJ
=
18598 lt_prog_compiler_pic_GCJ
=
18599 lt_prog_compiler_static_GCJ
=
18601 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18602 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18604 if test "$GCC" = yes; then
18605 lt_prog_compiler_wl_GCJ
='-Wl,'
18606 lt_prog_compiler_static_GCJ
='-static'
18610 # All AIX code is PIC.
18611 if test "$host_cpu" = ia64
; then
18612 # AIX 5 now supports IA64 processor
18613 lt_prog_compiler_static_GCJ
='-Bstatic'
18618 # FIXME: we need at least 68020 code to build shared libraries, but
18619 # adding the `-m68020' flag to GCC prevents building anything better,
18621 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
18624 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
18625 # PIC is the default for these OSes.
18628 mingw
* | cygwin
* | pw32
* | os2
*)
18629 # This hack is so that the source file can tell whether it is being
18630 # built for inclusion in a dll (and should export symbols for example).
18631 # Although the cygwin gcc ignores -fPIC, still need this for old-style
18632 # (--disable-auto-import) libraries
18636 darwin
* | rhapsody
*)
18637 # PIC is the default on this platform
18638 # Common symbols not allowed in MH_DYLIB files
18639 lt_prog_compiler_pic_GCJ
='-fno-common'
18643 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18644 # Instead, we relocate shared libraries at runtime.
18648 # Just because we use GCC doesn't mean we suddenly get shared libraries
18649 # on systems that don't support them.
18650 lt_prog_compiler_can_build_shared_GCJ
=no
18655 if test -d /usr
/nec
; then
18656 lt_prog_compiler_pic_GCJ
=-Kconform_pic
18661 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18662 # not for PA HP-UX.
18668 lt_prog_compiler_pic_GCJ
='-fPIC'
18674 lt_prog_compiler_pic_GCJ
='-fPIC'
18678 # PORTME Check for flag to pass linker flags through the system compiler.
18681 lt_prog_compiler_wl_GCJ
='-Wl,'
18682 if test "$host_cpu" = ia64
; then
18683 # AIX 5 now supports IA64 processor
18684 lt_prog_compiler_static_GCJ
='-Bstatic'
18686 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
18690 # PIC is the default on this platform
18691 # Common symbols not allowed in MH_DYLIB files
18692 case $cc_basename in
18694 lt_prog_compiler_pic_GCJ
='-qnocommon'
18695 lt_prog_compiler_wl_GCJ
='-Wl,'
18700 mingw
* | cygwin
* | pw32
* | os2
*)
18701 # This hack is so that the source file can tell whether it is being
18702 # built for inclusion in a dll (and should export symbols for example).
18706 hpux9
* | hpux10
* | hpux11
*)
18707 lt_prog_compiler_wl_GCJ
='-Wl,'
18708 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18709 # not for PA HP-UX.
18715 lt_prog_compiler_pic_GCJ
='+Z'
18718 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18719 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
18722 irix5
* | irix6
* | nonstopux
*)
18723 lt_prog_compiler_wl_GCJ
='-Wl,'
18724 # PIC (with -KPIC) is the default.
18725 lt_prog_compiler_static_GCJ
='-non_shared'
18729 lt_prog_compiler_pic_GCJ
='-KPIC'
18730 lt_prog_compiler_static_GCJ
='-Bstatic'
18733 linux
* | k
*bsd
*-gnu)
18734 case $cc_basename in
18736 lt_prog_compiler_wl_GCJ
='-Wl,'
18737 lt_prog_compiler_pic_GCJ
='-KPIC'
18738 lt_prog_compiler_static_GCJ
='-static'
18740 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
18741 # Portland Group compilers (*not* the Pentium gcc compiler,
18742 # which looks to be a dead project)
18743 lt_prog_compiler_wl_GCJ
='-Wl,'
18744 lt_prog_compiler_pic_GCJ
='-fpic'
18745 lt_prog_compiler_static_GCJ
='-Bstatic'
18748 lt_prog_compiler_wl_GCJ
='-Wl,'
18749 # All Alpha code is PIC.
18750 lt_prog_compiler_static_GCJ
='-non_shared'
18753 case `$CC -V 2>&1 | sed 5q` in
18756 lt_prog_compiler_pic_GCJ
='-KPIC'
18757 lt_prog_compiler_static_GCJ
='-Bstatic'
18758 lt_prog_compiler_wl_GCJ
='-Wl,'
18761 # Sun Fortran 8.3 passes all unrecognized flags to the linker
18762 lt_prog_compiler_pic_GCJ
='-KPIC'
18763 lt_prog_compiler_static_GCJ
='-Bstatic'
18764 lt_prog_compiler_wl_GCJ
=''
18771 osf3
* | osf4
* | osf5
*)
18772 lt_prog_compiler_wl_GCJ
='-Wl,'
18773 # All OSF/1 code is PIC.
18774 lt_prog_compiler_static_GCJ
='-non_shared'
18778 lt_prog_compiler_static_GCJ
='-non_shared'
18782 lt_prog_compiler_pic_GCJ
='-KPIC'
18783 lt_prog_compiler_static_GCJ
='-Bstatic'
18784 case $cc_basename in
18785 f77
* | f90
* | f95
*)
18786 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
18788 lt_prog_compiler_wl_GCJ
='-Wl,';;
18793 lt_prog_compiler_wl_GCJ
='-Qoption ld '
18794 lt_prog_compiler_pic_GCJ
='-PIC'
18795 lt_prog_compiler_static_GCJ
='-Bstatic'
18798 sysv4 | sysv4.2uw2
* | sysv4.3
*)
18799 lt_prog_compiler_wl_GCJ
='-Wl,'
18800 lt_prog_compiler_pic_GCJ
='-KPIC'
18801 lt_prog_compiler_static_GCJ
='-Bstatic'
18805 if test -d /usr
/nec
;then
18806 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
18807 lt_prog_compiler_static_GCJ
='-Bstatic'
18811 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
18812 lt_prog_compiler_wl_GCJ
='-Wl,'
18813 lt_prog_compiler_pic_GCJ
='-KPIC'
18814 lt_prog_compiler_static_GCJ
='-Bstatic'
18818 lt_prog_compiler_wl_GCJ
='-Wl,'
18819 lt_prog_compiler_can_build_shared_GCJ
=no
18823 lt_prog_compiler_pic_GCJ
='-pic'
18824 lt_prog_compiler_static_GCJ
='-Bstatic'
18828 lt_prog_compiler_can_build_shared_GCJ
=no
18833 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18834 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18837 # Check to make sure the PIC flag actually works.
18839 if test -n "$lt_prog_compiler_pic_GCJ"; then
18841 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18842 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18843 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
18844 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 lt_cv_prog_compiler_pic_works_GCJ
=no
18847 ac_outfile
=conftest.
$ac_objext
18848 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18849 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
18850 # Insert the option either (1) after the last *FLAGS variable, or
18851 # (2) before a word containing "conftest.", or (3) at the end.
18852 # Note that $ac_compile itself does not contain backslashes and begins
18853 # with a dollar sign (not a hyphen), so the echo should work correctly.
18854 # The option is referenced via a variable to avoid confusing sed.
18855 lt_compile
=`echo "$ac_compile" | $SED \
18856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18858 -e 's:$: $lt_compiler_flag:'`
18859 (eval echo "\"\$as_me:18859: $lt_compile\"" >&5)
18860 (eval "$lt_compile" 2>conftest.err
)
18862 cat conftest.err
>&5
18863 echo "$as_me:18863: \$? = $ac_status" >&5
18864 if (exit $ac_status) && test -s "$ac_outfile"; then
18865 # The compiler can only warn and ignore the option if not recognized
18866 # So say no if there are warnings other than the usual output.
18867 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
18868 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18869 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
18870 lt_cv_prog_compiler_pic_works_GCJ
=yes
18876 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
18877 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18879 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
18880 case $lt_prog_compiler_pic_GCJ in
18882 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
18885 lt_prog_compiler_pic_GCJ
=
18886 lt_prog_compiler_can_build_shared_GCJ
=no
18891 # For platforms which do not support PIC, -DPIC is meaningless:
18893 lt_prog_compiler_pic_GCJ
=
18896 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
18901 # Check to make sure the static flag actually works.
18903 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
18904 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18905 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18906 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
18907 echo $ECHO_N "(cached) $ECHO_C" >&6
18909 lt_cv_prog_compiler_static_works_GCJ
=no
18910 save_LDFLAGS
="$LDFLAGS"
18911 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18912 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
18913 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18914 # The linker can only warn and ignore the option if not recognized
18915 # So say no if there are warnings
18916 if test -s conftest.err
; then
18917 # Append any errors to the config.log.
18918 cat conftest.err
1>&5
18919 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
18920 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18921 if diff conftest.exp conftest.er2
>/dev
/null
; then
18922 lt_cv_prog_compiler_static_works_GCJ
=yes
18925 lt_cv_prog_compiler_static_works_GCJ
=yes
18929 LDFLAGS
="$save_LDFLAGS"
18932 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
18933 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18935 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
18938 lt_prog_compiler_static_GCJ
=
18942 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18943 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18944 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18945 echo $ECHO_N "(cached) $ECHO_C" >&6
18947 lt_cv_prog_compiler_c_o_GCJ
=no
18948 $rm -r conftest
2>/dev
/null
18952 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18954 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18955 # Insert the option either (1) after the last *FLAGS variable, or
18956 # (2) before a word containing "conftest.", or (3) at the end.
18957 # Note that $ac_compile itself does not contain backslashes and begins
18958 # with a dollar sign (not a hyphen), so the echo should work correctly.
18959 lt_compile
=`echo "$ac_compile" | $SED \
18960 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18961 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18962 -e 's:$: $lt_compiler_flag:'`
18963 (eval echo "\"\$as_me:18963: $lt_compile\"" >&5)
18964 (eval "$lt_compile" 2>out
/conftest.err
)
18966 cat out
/conftest.err
>&5
18967 echo "$as_me:18967: \$? = $ac_status" >&5
18968 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18970 # The compiler can only warn and ignore the option if not recognized
18971 # So say no if there are warnings
18972 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
18973 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18974 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18975 lt_cv_prog_compiler_c_o_GCJ
=yes
18980 # SGI C++ compiler will create directory out/ii_files/ for
18981 # template instantiation
18982 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
18983 $rm out
/* && rmdir out
18989 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18990 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18993 hard_links
="nottested"
18994 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
18995 # do not overwrite the value of need_locks provided by the user
18996 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18997 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19000 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19002 ln conftest.a conftest.b
2>&5 || hard_links
=no
19003 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19004 { echo "$as_me:$LINENO: result: $hard_links" >&5
19005 echo "${ECHO_T}$hard_links" >&6; }
19006 if test "$hard_links" = no
; then
19007 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19008 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19015 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19016 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19019 allow_undefined_flag_GCJ
=
19020 enable_shared_with_static_runtimes_GCJ
=no
19022 archive_expsym_cmds_GCJ
=
19023 old_archive_From_new_cmds_GCJ
=
19024 old_archive_from_expsyms_cmds_GCJ
=
19025 export_dynamic_flag_spec_GCJ
=
19026 whole_archive_flag_spec_GCJ
=
19027 thread_safe_flag_spec_GCJ
=
19028 hardcode_libdir_flag_spec_GCJ
=
19029 hardcode_libdir_flag_spec_ld_GCJ
=
19030 hardcode_libdir_separator_GCJ
=
19031 hardcode_direct_GCJ
=no
19032 hardcode_minus_L_GCJ
=no
19033 hardcode_shlibpath_var_GCJ
=unsupported
19034 link_all_deplibs_GCJ
=unknown
19035 hardcode_automatic_GCJ
=no
19037 module_expsym_cmds_GCJ
=
19038 always_export_symbols_GCJ
=no
19039 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19040 # include_expsyms should be a list of space-separated symbols to be *always*
19041 # included in the symbol list
19042 include_expsyms_GCJ
=
19043 # exclude_expsyms can be an extended regexp of symbols to exclude
19044 # it will be wrapped by ` (' and `)$', so one must not match beginning or
19045 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19046 # as well as any symbol that contains `d'.
19047 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19048 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19049 # platforms (ab)use it in PIC code, but their linkers get confused if
19050 # the symbol is explicitly referenced. Since portable code cannot
19051 # rely on this symbol name, it's probably fine to never include it in
19052 # preloaded symbol tables.
19053 # Exclude shared library initialization/finalization symbols.
19054 extract_expsyms_cmds
=
19055 # Just being paranoid about ensuring that cc_basename is set.
19056 for cc_temp
in $compiler""; do
19058 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19059 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19064 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19067 cygwin
* | mingw
* | pw32
*)
19068 # FIXME: the MSVC++ port hasn't been tested in a loooong time
19069 # When not using gcc, we currently assume that we are using
19070 # Microsoft Visual C++.
19071 if test "$GCC" != yes; then
19076 # we just hope/assume this is gcc and not c89 (= MSVC++)
19085 if test "$with_gnu_ld" = yes; then
19086 # If archive_cmds runs LD, not CC, wlarc should be empty
19089 # Set some defaults for GNU ld with shared library support. These
19090 # are reset later if shared libraries are not supported. Putting them
19091 # here allows them to be overridden if necessary.
19092 runpath_var
=LD_RUN_PATH
19093 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
19094 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
19095 # ancient GNU ld didn't support --whole-archive et. al.
19096 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
19097 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19099 whole_archive_flag_spec_GCJ
=
19101 supports_anon_versioning
=no
19102 case `$LD -v 2>/dev/null` in
19103 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
19104 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
19105 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
19106 *\
2.11.
*) ;; # other 2.11 versions
19107 *) supports_anon_versioning
=yes ;;
19110 # See if GNU ld supports shared libraries.
19113 # On AIX/PPC, the GNU linker is very broken
19114 if test "$host_cpu" != ia64
; then
19118 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
19119 *** to be unable to reliably create shared libraries on AIX.
19120 *** Therefore, libtool is disabling shared libraries support. If you
19121 *** really care for shared libraries, you may want to modify your PATH
19122 *** so that a non-GNU linker is found, and then restart.
19129 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)'
19130 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19131 hardcode_minus_L_GCJ
=yes
19133 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19134 # that the semantics of dynamic libraries on AmigaOS, at least up
19135 # to version 4, is to share data among multiple programs linked
19136 # with the same dynamic library. Since this doesn't match the
19137 # behavior of shared libraries on other platforms, we can't use
19143 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19144 allow_undefined_flag_GCJ
=unsupported
19145 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19146 # support --undefined. This deserves some investigation. FIXME
19147 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19153 cygwin
* | mingw
* | pw32
*)
19154 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19155 # as there is no search path for DLLs.
19156 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19157 allow_undefined_flag_GCJ
=unsupported
19158 always_export_symbols_GCJ
=no
19159 enable_shared_with_static_runtimes_GCJ
=yes
19160 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
19162 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
19163 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19164 # If the export-symbols file already is a .def file (1st line
19165 # is EXPORTS), use it as is; otherwise, prepend...
19166 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19167 cp $export_symbols $output_objdir/$soname.def;
19169 echo EXPORTS > $output_objdir/$soname.def;
19170 cat $export_symbols >> $output_objdir/$soname.def;
19172 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19179 hardcode_direct_GCJ
=no
19180 hardcode_shlibpath_var_GCJ
=no
19181 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19182 export_dynamic_flag_spec_GCJ
='${wl}-E'
19183 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19184 # Instead, shared libraries are loaded at an image base (0x10000000 by
19185 # default) and relocated if they conflict, which is a slow very memory
19186 # consuming and fragmenting process. To avoid this, we pick a random,
19187 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19188 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19189 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'
19190 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'
19193 gnu
* | linux
* | k
*bsd
*-gnu)
19194 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19196 case $cc_basename,$host_cpu in
19197 pgcc
*) # Portland Group C compiler
19198 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'
19199 tmp_addflag
=' $pic_flag'
19201 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
19202 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'
19203 tmp_addflag
=' $pic_flag -Mnomain' ;;
19204 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
19205 tmp_addflag
=' -i_dynamic' ;;
19206 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
19207 tmp_addflag
=' -i_dynamic -nofor_main' ;;
19208 ifc
* | ifort
*) # Intel Fortran compiler
19209 tmp_addflag
=' -nofor_main' ;;
19211 case `$CC -V 2>&1 | sed 5q` in
19212 *Sun\ C
*) # Sun C 5.9
19213 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19214 tmp_sharedflag
='-G' ;;
19215 *Sun\ F
*) # Sun Fortran 8.3
19216 tmp_sharedflag
='-G' ;;
19218 tmp_sharedflag
='-shared' ;;
19220 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19222 if test $supports_anon_versioning = yes; then
19223 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
19224 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19225 $echo "local: *; };" >> $output_objdir/$libname.ver~
19226 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19228 link_all_deplibs_GCJ
=no
19234 netbsd
* | netbsdelf
*-gnu)
19235 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19236 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19239 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19240 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19245 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
19249 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
19250 *** create shared libraries on Solaris systems. Therefore, libtool
19251 *** is disabling shared libraries support. We urge you to upgrade GNU
19252 *** binutils to release 2.9.1 or newer. Another option is to modify
19253 *** your PATH or compiler configuration so that the native linker is
19254 *** used, and then restart.
19257 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19258 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19259 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19265 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
19266 case `$LD -v 2>&1` in
19267 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
19271 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
19272 *** reliably create shared libraries on SCO systems. Therefore, libtool
19273 *** is disabling shared libraries support. We urge you to upgrade GNU
19274 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
19275 *** your PATH or compiler configuration so that the native linker is
19276 *** used, and then restart.
19281 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19282 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
19283 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
19284 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
19293 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19295 hardcode_direct_GCJ
=yes
19296 hardcode_shlibpath_var_GCJ
=no
19300 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19301 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19302 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19309 if test "$ld_shlibs_GCJ" = no
; then
19311 hardcode_libdir_flag_spec_GCJ
=
19312 export_dynamic_flag_spec_GCJ
=
19313 whole_archive_flag_spec_GCJ
=
19316 # PORTME fill in a description of your system's linker (not GNU ld)
19319 allow_undefined_flag_GCJ
=unsupported
19320 always_export_symbols_GCJ
=yes
19321 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'
19322 # Note: this linker hardcodes the directories in LIBPATH if there
19323 # are no directories specified by -L.
19324 hardcode_minus_L_GCJ
=yes
19325 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
19326 # Neither direct hardcoding nor static linking is supported with a
19328 hardcode_direct_GCJ
=unsupported
19333 if test "$host_cpu" = ia64
; then
19334 # On IA64, the linker does run time linking by default, so we don't
19335 # have to do anything special.
19336 aix_use_runtimelinking
=no
19337 exp_sym_flag
='-Bexport'
19340 # If we're using GNU nm, then we don't want the "-C" option.
19341 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19342 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19343 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'
19345 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'
19347 aix_use_runtimelinking
=no
19349 # Test if we are trying to use run time linking or normal
19350 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19351 # need to do runtime linking.
19352 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
19353 for ld_flag
in $LDFLAGS; do
19354 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
19355 aix_use_runtimelinking
=yes
19362 exp_sym_flag
='-bexport'
19363 no_entry_flag
='-bnoentry'
19366 # When large executables or shared objects are built, AIX ld can
19367 # have problems creating the table of contents. If linking a library
19368 # or program results in "error TOC overflow" add -mminimal-toc to
19369 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19370 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19372 archive_cmds_GCJ
=''
19373 hardcode_direct_GCJ
=yes
19374 hardcode_libdir_separator_GCJ
=':'
19375 link_all_deplibs_GCJ
=yes
19377 if test "$GCC" = yes; then
19378 case $host_os in aix4.
[012]|aix4.
[012].
*)
19379 # We only want to do this on AIX 4.2 and lower, the check
19380 # below for broken collect2 doesn't work under 4.3+
19381 collect2name
=`${CC} -print-prog-name=collect2`
19382 if test -f "$collect2name" && \
19383 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
19385 # We have reworked collect2
19388 # We have old collect2
19389 hardcode_direct_GCJ
=unsupported
19390 # It fails to find uninstalled libraries when the uninstalled
19391 # path is not listed in the libpath. Setting hardcode_minus_L
19392 # to unsupported forces relinking
19393 hardcode_minus_L_GCJ
=yes
19394 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19395 hardcode_libdir_separator_GCJ
=
19399 shared_flag
='-shared'
19400 if test "$aix_use_runtimelinking" = yes; then
19401 shared_flag
="$shared_flag "'${wl}-G'
19405 if test "$host_cpu" = ia64
; then
19406 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19407 # chokes on -Wl,-G. The following line is correct:
19410 if test "$aix_use_runtimelinking" = yes; then
19411 shared_flag
='${wl}-G'
19413 shared_flag
='${wl}-bM:SRE'
19418 # It seems that -bexpall does not export symbols beginning with
19419 # underscore (_), so it is better to generate a list of symbols to export.
19420 always_export_symbols_GCJ
=yes
19421 if test "$aix_use_runtimelinking" = yes; then
19422 # Warning - without using the other runtime loading flags (-brtl),
19423 # -berok will link without error, but may produce a broken library.
19424 allow_undefined_flag_GCJ
='-berok'
19425 # Determine the default libpath from the value encoded in an empty executable.
19426 cat >conftest.
$ac_ext <<_ACEOF
19429 cat confdefs.h
>>conftest.
$ac_ext
19430 cat >>conftest.
$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19441 rm -f conftest.
$ac_objext conftest
$ac_exeext
19442 if { (ac_try
="$ac_link"
19443 case "(($ac_try" in
19444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_link") 2>conftest.er1
19450 grep -v '^ *+' conftest.er1 >conftest.err
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest$ac_exeext &&
19458 $as_test_x conftest$ac_exeext; then
19460 lt_aix_libpath_sed='
19461 /Import File Strings/,/^$/ {
19467 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
19468 # Check for a 64-bit object if we didn't find anything.
19469 if test -z "$aix_libpath"; then
19470 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
19473 echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19480 conftest$ac_exeext conftest.$ac_ext
19481 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19483 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19484 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"
19486 if test "$host_cpu" = ia64; then
19487 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19488 allow_undefined_flag_GCJ="-z nodefs"
19489 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"
19491 # Determine the default libpath from the value encoded in an empty executable.
19492 cat >conftest.$ac_ext <<_ACEOF
19495 cat confdefs.h >>conftest.$ac_ext
19496 cat >>conftest.$ac_ext <<_ACEOF
19497 /* end confdefs.h. */
19507 rm -f conftest.$ac_objext conftest$ac_exeext
19508 if { (ac_try="$ac_link"
19509 case "(($ac_try" in
19510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19511 *) ac_try_echo
=$ac_try;;
19513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19514 (eval "$ac_link") 2>conftest.er1
19516 grep -v '^ *+' conftest.er1
>conftest.err
19518 cat conftest.err
>&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); } && {
19521 test -z "$ac_c_werror_flag" ||
19522 test ! -s conftest.err
19523 } && test -s conftest
$ac_exeext &&
19524 $as_test_x conftest
$ac_exeext; then
19526 lt_aix_libpath_sed
='
19527 /Import File Strings/,/^$/ {
19533 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19534 # Check for a 64-bit object if we didn't find anything.
19535 if test -z "$aix_libpath"; then
19536 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19539 echo "$as_me: failed program was:" >&5
19540 sed 's/^/| /' conftest.
$ac_ext >&5
19545 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19546 conftest
$ac_exeext conftest.
$ac_ext
19547 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
19549 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
19550 # Warning - without using the other run time loading flags,
19551 # -berok will link without error, but may produce a broken library.
19552 no_undefined_flag_GCJ
=' ${wl}-bernotok'
19553 allow_undefined_flag_GCJ
=' ${wl}-berok'
19554 # Exported symbols can be pulled into shared objects from archives
19555 whole_archive_flag_spec_GCJ
='$convenience'
19556 archive_cmds_need_lc_GCJ
=yes
19557 # This is similar to how AIX traditionally builds its shared libraries.
19558 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'
19564 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)'
19565 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19566 hardcode_minus_L_GCJ
=yes
19567 # see comment about different semantics on the GNU ld section
19572 export_dynamic_flag_spec_GCJ
=-rdynamic
19575 cygwin
* | mingw
* | pw32
*)
19576 # When not using gcc, we currently assume that we are using
19577 # Microsoft Visual C++.
19578 # hardcode_libdir_flag_spec is actually meaningless, as there is
19579 # no search path for DLLs.
19580 hardcode_libdir_flag_spec_GCJ
=' '
19581 allow_undefined_flag_GCJ
=unsupported
19582 # Tell ltmain to make .lib files, not .a files.
19584 # Tell ltmain to make .dll files, not .so files.
19586 # FIXME: Setting linknames here is a bad hack.
19587 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19588 # The linker will automatically build a .lib file if we build a DLL.
19589 old_archive_From_new_cmds_GCJ
='true'
19590 # FIXME: Should let the user specify the lib program.
19591 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
19592 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
19593 enable_shared_with_static_runtimes_GCJ
=yes
19596 darwin
* | rhapsody
*)
19598 rhapsody
* | darwin1.
[012])
19599 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
19602 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19603 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19605 case ${MACOSX_DEPLOYMENT_TARGET} in
19607 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19610 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
19616 archive_cmds_need_lc_GCJ
=no
19617 hardcode_direct_GCJ
=no
19618 hardcode_automatic_GCJ
=yes
19619 hardcode_shlibpath_var_GCJ
=unsupported
19620 whole_archive_flag_spec_GCJ
=''
19621 link_all_deplibs_GCJ
=yes
19622 if test "$GCC" = yes ; then
19623 output_verbose_link_cmd
='echo'
19624 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
19625 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19626 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
19627 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
19629 case $cc_basename in
19631 output_verbose_link_cmd
='echo'
19632 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19633 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19634 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19635 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19636 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}'
19646 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19647 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19648 hardcode_shlibpath_var_GCJ
=no
19655 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19656 # support. Future versions do this automatically, but an explicit c++rt0.o
19657 # does not break anything, and helps significantly (at the cost of a little
19660 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19661 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19662 hardcode_direct_GCJ
=yes
19663 hardcode_shlibpath_var_GCJ
=no
19666 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19668 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19669 hardcode_direct_GCJ
=yes
19670 hardcode_minus_L_GCJ
=yes
19671 hardcode_shlibpath_var_GCJ
=no
19674 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19675 freebsd
* | dragonfly
*)
19676 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19677 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19678 hardcode_direct_GCJ
=yes
19679 hardcode_shlibpath_var_GCJ
=no
19683 if test "$GCC" = yes; then
19684 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'
19686 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'
19688 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19689 hardcode_libdir_separator_GCJ
=:
19690 hardcode_direct_GCJ
=yes
19692 # hardcode_minus_L: Not really in the search PATH,
19693 # but as the default location of the library.
19694 hardcode_minus_L_GCJ
=yes
19695 export_dynamic_flag_spec_GCJ
='${wl}-E'
19699 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19700 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19702 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19704 if test "$with_gnu_ld" = no
; then
19705 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19706 hardcode_libdir_separator_GCJ
=:
19708 hardcode_direct_GCJ
=yes
19709 export_dynamic_flag_spec_GCJ
='${wl}-E'
19711 # hardcode_minus_L: Not really in the search PATH,
19712 # but as the default location of the library.
19713 hardcode_minus_L_GCJ
=yes
19718 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19721 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19724 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19727 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19733 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19736 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19739 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19743 if test "$with_gnu_ld" = no
; then
19744 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19745 hardcode_libdir_separator_GCJ
=:
19749 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
19750 hardcode_direct_GCJ
=no
19751 hardcode_shlibpath_var_GCJ
=no
19754 hardcode_direct_GCJ
=yes
19755 export_dynamic_flag_spec_GCJ
='${wl}-E'
19757 # hardcode_minus_L: Not really in the search PATH,
19758 # but as the default location of the library.
19759 hardcode_minus_L_GCJ
=yes
19765 irix5
* | irix6
* | nonstopux
*)
19766 if test "$GCC" = yes; then
19767 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'
19769 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'
19770 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
19772 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19773 hardcode_libdir_separator_GCJ
=:
19774 link_all_deplibs_GCJ
=yes
19777 netbsd
* | netbsdelf
*-gnu)
19778 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19779 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19781 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19783 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19784 hardcode_direct_GCJ
=yes
19785 hardcode_shlibpath_var_GCJ
=no
19789 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19790 hardcode_direct_GCJ
=yes
19791 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19792 hardcode_libdir_separator_GCJ
=:
19793 hardcode_shlibpath_var_GCJ
=no
19797 if test -f /usr
/libexec
/ld.so
; then
19798 hardcode_direct_GCJ
=yes
19799 hardcode_shlibpath_var_GCJ
=no
19800 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19801 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19802 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19803 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19804 export_dynamic_flag_spec_GCJ
='${wl}-E'
19807 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
19808 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19809 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19812 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19813 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19823 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19824 hardcode_minus_L_GCJ
=yes
19825 allow_undefined_flag_GCJ
=unsupported
19826 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'
19827 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19831 if test "$GCC" = yes; then
19832 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19833 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'
19835 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19836 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'
19838 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19839 hardcode_libdir_separator_GCJ
=:
19842 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
19843 if test "$GCC" = yes; then
19844 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19845 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'
19846 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19848 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19849 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'
19850 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~
19851 $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'
19853 # Both c and cxx compiler support -rpath directly
19854 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
19856 hardcode_libdir_separator_GCJ
=:
19860 no_undefined_flag_GCJ
=' -z text'
19861 if test "$GCC" = yes; then
19863 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19864 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19865 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19868 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19869 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19870 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19872 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19873 hardcode_shlibpath_var_GCJ
=no
19875 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19877 # The compiler driver will combine and reorder linker options,
19878 # but understands `-z linker_flag'. GCC discards it without `$wl',
19879 # but is careful enough not to reorder.
19880 # Supported since Solaris 2.6 (maybe 2.5.1?)
19881 if test "$GCC" = yes; then
19882 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19884 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
19888 link_all_deplibs_GCJ
=yes
19892 if test "x$host_vendor" = xsequent
; then
19893 # Use $CC to link under sequent, because it throws in some extra .o
19894 # files that make .init and .fini sections work.
19895 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19897 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19899 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19900 hardcode_direct_GCJ
=yes
19901 hardcode_minus_L_GCJ
=yes
19902 hardcode_shlibpath_var_GCJ
=no
19906 case $host_vendor in
19908 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19909 hardcode_direct_GCJ
=yes # is this really true???
19912 ## LD is ld it makes a PLAMLIB
19913 ## CC just makes a GrossModule.
19914 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19915 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
19916 hardcode_direct_GCJ
=no
19919 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19920 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
19923 runpath_var
='LD_RUN_PATH'
19924 hardcode_shlibpath_var_GCJ
=no
19928 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19929 hardcode_shlibpath_var_GCJ
=no
19930 export_dynamic_flag_spec_GCJ
='-Bexport'
19934 if test -d /usr
/nec
; then
19935 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19936 hardcode_shlibpath_var_GCJ
=no
19937 runpath_var
=LD_RUN_PATH
19938 hardcode_runpath_var
=yes
19943 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19944 no_undefined_flag_GCJ
='${wl}-z,text'
19945 archive_cmds_need_lc_GCJ
=no
19946 hardcode_shlibpath_var_GCJ
=no
19947 runpath_var
='LD_RUN_PATH'
19949 if test "$GCC" = yes; then
19950 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19951 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19953 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19954 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19958 sysv5
* | sco3.2v5
* | sco5v6
*)
19959 # Note: We can NOT use -z defs as we might desire, because we do not
19960 # link with -lc, and that would cause any symbols used from libc to
19961 # always be unresolved, which means just about no library would
19962 # ever link correctly. If we're not using GNU ld we use -z text
19963 # though, which does catch some bad symbols but isn't as heavy-handed
19965 no_undefined_flag_GCJ
='${wl}-z,text'
19966 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
19967 archive_cmds_need_lc_GCJ
=no
19968 hardcode_shlibpath_var_GCJ
=no
19969 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19970 hardcode_libdir_separator_GCJ
=':'
19971 link_all_deplibs_GCJ
=yes
19972 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
19973 runpath_var
='LD_RUN_PATH'
19975 if test "$GCC" = yes; then
19976 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19977 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19979 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19980 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19985 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19986 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19987 hardcode_shlibpath_var_GCJ
=no
19996 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19997 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19998 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
20001 # Do we need to explicitly link libc?
20003 case "x$archive_cmds_need_lc_GCJ" in
20005 # Assume -lc should be added
20006 archive_cmds_need_lc_GCJ
=yes
20008 if test "$enable_shared" = yes && test "$GCC" = yes; then
20009 case $archive_cmds_GCJ in
20011 # FIXME: we may have to deal with multi-command sequences.
20014 # Test whether the compiler implicitly links with -lc since on some
20015 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20016 # to ld, don't add -lc before -lgcc.
20017 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20018 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20020 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
20022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20023 (eval $ac_compile) 2>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } 2>conftest.err
; then
20029 libobjs
=conftest.
$ac_objext
20031 wl
=$lt_prog_compiler_wl_GCJ
20032 pic_flag
=$lt_prog_compiler_pic_GCJ
20038 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
20039 allow_undefined_flag_GCJ
=
20040 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20041 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); }
20046 archive_cmds_need_lc_GCJ
=no
20048 archive_cmds_need_lc_GCJ
=yes
20050 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
20052 cat conftest.err
1>&5
20055 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20056 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20063 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20064 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20065 library_names_spec
=
20066 libname_spec
='lib$name'
20070 postuninstall_cmds
=
20074 shlibpath_overrides_runpath
=unknown
20076 dynamic_linker
="$host_os ld.so"
20077 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
20079 need_lib_prefix
=unknown
20080 hardcode_into_libs
=no
20082 # when you set need_version to no, make sure it does not cause -set_version
20083 # flags to be left without arguments
20084 need_version
=unknown
20089 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
20090 shlibpath_var
=LIBPATH
20092 # AIX 3 has no versioning support, so we append a major version to the name.
20093 soname_spec
='${libname}${release}${shared_ext}$major'
20100 hardcode_into_libs
=yes
20101 if test "$host_cpu" = ia64
; then
20102 # AIX 5 supports IA64
20103 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20104 shlibpath_var
=LD_LIBRARY_PATH
20106 # With GCC up to 2.95.x, collect2 would create an import file
20107 # for dependence libraries. The import file would start with
20108 # the line `#! .'. This would cause the generated library to
20109 # depend on `.', always an invalid library. This was fixed in
20110 # development snapshots of GCC prior to 3.0.
20112 aix4 | aix4.
[01] | aix4.
[01].
*)
20113 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20115 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
20118 can_build_shared
=no
20122 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20123 # soname into executable. Probably we can add versioning support to
20124 # collect2, so additional links can be useful in future.
20125 if test "$aix_use_runtimelinking" = yes; then
20126 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20127 # instead of lib<name>.a to let people know that these are not
20128 # typical AIX shared libraries.
20129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20131 # We preserve .a as extension for shared libraries through AIX4.2
20132 # and later when we are not doing run time linking.
20133 library_names_spec
='${libname}${release}.a $libname.a'
20134 soname_spec
='${libname}${release}${shared_ext}$major'
20136 shlibpath_var
=LIBPATH
20141 library_names_spec
='$libname.ixlibrary $libname.a'
20142 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20143 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'
20147 library_names_spec
='${libname}${shared_ext}'
20148 dynamic_linker
="$host_os ld.so"
20149 shlibpath_var
=LIBRARY_PATH
20155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20156 soname_spec
='${libname}${release}${shared_ext}$major'
20157 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
20158 shlibpath_var
=LD_LIBRARY_PATH
20159 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20160 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
20161 # the default ld.so.conf also contains /usr/contrib/lib and
20162 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20163 # libtool to hard-code these into programs
20166 cygwin
* | mingw
* | pw32
*)
20167 version_type
=windows
20172 case $GCC,$host_os in
20173 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
20174 library_names_spec
='$libname.dll.a'
20175 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20176 postinstall_cmds
='base_file=`basename \${file}`~
20177 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20178 dldir=$destdir/`dirname \$dlpath`~
20179 test -d \$dldir || mkdir -p \$dldir~
20180 $install_prog $dir/$dlname \$dldir/$dlname~
20181 chmod a+x \$dldir/$dlname'
20182 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20183 dlpath=$dir/\$dldll~
20185 shlibpath_overrides_runpath
=yes
20189 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20190 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20191 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20194 # MinGW DLLs use traditional 'lib' prefix
20195 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20196 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20197 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
20198 # It is most probably a Windows format PATH printed by
20199 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20200 # path with ; separators, and with drive letters. We can handle the
20201 # drive letters (cygwin fileutils understands them), so leave them,
20202 # especially as we might pass files found there to a mingw objdump,
20203 # which wouldn't understand a cygwinified path. Ahh.
20204 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20206 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20210 # pw32 DLLs use 'pw' prefix rather than 'lib'
20211 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20217 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20220 dynamic_linker
='Win32 ld.exe'
20221 # FIXME: first we should search . and the directory the executable is in
20225 darwin
* | rhapsody
*)
20226 dynamic_linker
="$host_os dyld"
20227 version_type
=darwin
20230 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20231 soname_spec
='${libname}${release}${major}$shared_ext'
20232 shlibpath_overrides_runpath
=yes
20233 shlibpath_var
=DYLD_LIBRARY_PATH
20234 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
20236 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20244 soname_spec
='${libname}${release}${shared_ext}$major'
20245 shlibpath_var
=LD_LIBRARY_PATH
20252 freebsd
* | dragonfly
*)
20253 # DragonFly does not have aout. When/if they implement a new
20254 # versioning mechanism, adjust this.
20255 if test -x /usr
/bin
/objformat
; then
20256 objformat
=`/usr/bin/objformat`
20259 freebsd
[123]*) objformat
=aout
;;
20260 *) objformat
=elf
;;
20263 version_type
=freebsd-
$objformat
20264 case $version_type in
20266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20271 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20275 shlibpath_var
=LD_LIBRARY_PATH
20278 shlibpath_overrides_runpath
=yes
20280 freebsd3.
[01]* | freebsdelf3.
[01]*)
20281 shlibpath_overrides_runpath
=yes
20282 hardcode_into_libs
=yes
20284 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20285 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20286 shlibpath_overrides_runpath
=no
20287 hardcode_into_libs
=yes
20289 *) # from 4.6 on, and DragonFly
20290 shlibpath_overrides_runpath
=yes
20291 hardcode_into_libs
=yes
20300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20301 soname_spec
='${libname}${release}${shared_ext}$major'
20302 shlibpath_var
=LD_LIBRARY_PATH
20303 hardcode_into_libs
=yes
20306 hpux9
* | hpux10
* | hpux11
*)
20307 # Give a soname corresponding to the major version so that dld.sl refuses to
20308 # link against other versions.
20315 hardcode_into_libs
=yes
20316 dynamic_linker
="$host_os dld.so"
20317 shlibpath_var
=LD_LIBRARY_PATH
20318 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20320 soname_spec
='${libname}${release}${shared_ext}$major'
20321 if test "X$HPUX_IA64_MODE" = X32
; then
20322 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20324 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20326 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20330 hardcode_into_libs
=yes
20331 dynamic_linker
="$host_os dld.sl"
20332 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20333 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20335 soname_spec
='${libname}${release}${shared_ext}$major'
20336 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20337 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20341 dynamic_linker
="$host_os dld.sl"
20342 shlibpath_var
=SHLIB_PATH
20343 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20345 soname_spec
='${libname}${release}${shared_ext}$major'
20348 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20349 postinstall_cmds
='chmod 555 $lib'
20356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20357 soname_spec
='${libname}${release}${shared_ext}$major'
20358 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20359 shlibpath_var
=LD_LIBRARY_PATH
20360 shlibpath_overrides_runpath
=no
20361 hardcode_into_libs
=yes
20364 irix5
* | irix6
* | nonstopux
*)
20366 nonstopux
*) version_type
=nonstopux
;;
20368 if test "$lt_cv_prog_gnu_ld" = yes; then
20376 soname_spec
='${libname}${release}${shared_ext}$major'
20377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20379 irix5
* | nonstopux
*)
20380 libsuff
= shlibsuff
=
20383 case $LD in # libtool.m4 will add one of these switches to LD
20384 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20385 libsuff
= shlibsuff
= libmagic
=32-bit;;
20386 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20387 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20388 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20389 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20390 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20394 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20395 shlibpath_overrides_runpath
=no
20396 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20397 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20398 hardcode_into_libs
=yes
20401 # No shared lib support for Linux oldld, aout, or coff.
20402 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20406 # This must be Linux ELF.
20407 linux
* | k
*bsd
*-gnu)
20411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20412 soname_spec
='${libname}${release}${shared_ext}$major'
20413 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20414 shlibpath_var
=LD_LIBRARY_PATH
20415 shlibpath_overrides_runpath
=no
20416 # This implies no fast_install, which is unacceptable.
20417 # Some rework will be needed to allow for fast_install
20418 # before this can be enabled.
20419 hardcode_into_libs
=yes
20421 # Append ld.so.conf contents to the search path
20422 if test -f /etc
/ld.so.conf
; then
20423 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
20424 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20427 # We used to test for /lib/ld.so.1 and disable shared libraries on
20428 # powerpc, because MkLinux only supported shared libraries with the
20429 # GNU dynamic linker. Since this was broken with cross compilers,
20430 # most powerpc-linux boxes support dynamic linking these days and
20431 # people can always --disable-shared, the test was removed, and we
20432 # assume the GNU/Linux dynamic linker is in use.
20433 dynamic_linker
='GNU/Linux ld.so'
20440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20441 soname_spec
='${libname}${release}${shared_ext}$major'
20442 shlibpath_var
=LD_LIBRARY_PATH
20443 shlibpath_overrides_runpath
=no
20444 hardcode_into_libs
=yes
20445 dynamic_linker
='NetBSD ld.elf_so'
20452 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20454 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20455 dynamic_linker
='NetBSD (a.out) ld.so'
20457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20458 soname_spec
='${libname}${release}${shared_ext}$major'
20459 dynamic_linker
='NetBSD ld.elf_so'
20461 shlibpath_var
=LD_LIBRARY_PATH
20462 shlibpath_overrides_runpath
=yes
20463 hardcode_into_libs
=yes
20468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20469 shlibpath_var
=LD_LIBRARY_PATH
20470 shlibpath_overrides_runpath
=yes
20477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20478 soname_spec
='${libname}${release}${shared_ext}$major'
20479 shlibpath_var
=LD_LIBRARY_PATH
20480 shlibpath_overrides_runpath
=yes
20485 sys_lib_dlsearch_path_spec
="/usr/lib"
20487 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20489 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20490 *) need_version
=no
;;
20492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20493 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20494 shlibpath_var
=LD_LIBRARY_PATH
20495 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20497 openbsd2.
[89] | openbsd2.
[89].
*)
20498 shlibpath_overrides_runpath
=no
20501 shlibpath_overrides_runpath
=yes
20505 shlibpath_overrides_runpath
=yes
20510 libname_spec
='$name'
20513 library_names_spec
='$libname${shared_ext} $libname.a'
20514 dynamic_linker
='OS/2 ld.exe'
20515 shlibpath_var
=LIBPATH
20518 osf3
* | osf4
* | osf5
*)
20522 soname_spec
='${libname}${release}${shared_ext}$major'
20523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20524 shlibpath_var
=LD_LIBRARY_PATH
20525 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20526 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20538 soname_spec
='${libname}${release}${shared_ext}$major'
20539 shlibpath_var
=LD_LIBRARY_PATH
20540 shlibpath_overrides_runpath
=yes
20541 hardcode_into_libs
=yes
20542 # ldd complains unless libraries are executable
20543 postinstall_cmds
='chmod +x $lib'
20548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20549 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20550 shlibpath_var
=LD_LIBRARY_PATH
20551 shlibpath_overrides_runpath
=yes
20552 if test "$with_gnu_ld" = yes; then
20560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20561 soname_spec
='${libname}${release}${shared_ext}$major'
20562 shlibpath_var
=LD_LIBRARY_PATH
20563 case $host_vendor in
20565 shlibpath_overrides_runpath
=no
20567 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20568 runpath_var
=LD_RUN_PATH
20576 shlibpath_overrides_runpath
=no
20577 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20583 if test -d /usr
/nec
;then
20585 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20586 soname_spec
='$libname${shared_ext}.$major'
20587 shlibpath_var
=LD_LIBRARY_PATH
20591 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20592 version_type
=freebsd-elf
20595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20596 soname_spec
='${libname}${release}${shared_ext}$major'
20597 shlibpath_var
=LD_LIBRARY_PATH
20598 hardcode_into_libs
=yes
20599 if test "$with_gnu_ld" = yes; then
20600 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20601 shlibpath_overrides_runpath
=no
20603 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20604 shlibpath_overrides_runpath
=yes
20607 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20611 sys_lib_dlsearch_path_spec
='/usr/lib'
20616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20617 soname_spec
='${libname}${release}${shared_ext}$major'
20618 shlibpath_var
=LD_LIBRARY_PATH
20625 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20626 echo "${ECHO_T}$dynamic_linker" >&6; }
20627 test "$dynamic_linker" = no
&& can_build_shared
=no
20629 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20630 echo $ECHO_N "(cached) $ECHO_C" >&6
20632 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
20635 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
20636 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20637 echo $ECHO_N "(cached) $ECHO_C" >&6
20639 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
20642 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
20644 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20645 if test "$GCC" = yes; then
20646 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20649 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20650 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20651 hardcode_action_GCJ
=
20652 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20653 test -n "$runpath_var_GCJ" || \
20654 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
20656 # We can hardcode non-existant directories.
20657 if test "$hardcode_direct_GCJ" != no
&&
20658 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20659 # have to relink, otherwise we might link with an installed library
20660 # when we should be linking with a yet-to-be-installed one
20661 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20662 test "$hardcode_minus_L_GCJ" != no
; then
20663 # Linking always hardcodes the temporary library directory.
20664 hardcode_action_GCJ
=relink
20666 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20667 hardcode_action_GCJ
=immediate
20670 # We cannot hardcode anything, or else we can only hardcode existing
20672 hardcode_action_GCJ
=unsupported
20674 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20675 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20677 if test "$hardcode_action_GCJ" = relink
; then
20678 # Fast installation is not supported
20679 enable_fast_install
=no
20680 elif test "$shlibpath_overrides_runpath" = yes ||
20681 test "$enable_shared" = no
; then
20682 # Fast installation is not necessary
20683 enable_fast_install
=needless
20687 # The else clause should only fire when bootstrapping the
20688 # libtool distribution, otherwise you forgot to ship ltmain.sh
20689 # with your package, and you will get complaints that there are
20690 # no rules to generate ltmain.sh.
20691 if test -f "$ltmain"; then
20692 # See if we are running on zsh, and set the options which allow our commands through
20693 # without removal of \ escapes.
20694 if test -n "${ZSH_VERSION+set}" ; then
20695 setopt NO_GLOB_SUBST
20697 # Now quote all the things that may contain metacharacters while being
20698 # careful not to overquote the AC_SUBSTed values. We take copies of the
20699 # variables and quote the copies for generation of the libtool script.
20700 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20702 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20703 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20704 deplibs_check_method reload_flag reload_cmds need_locks \
20705 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20706 lt_cv_sys_global_symbol_to_c_name_address \
20707 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20708 old_postinstall_cmds old_postuninstall_cmds \
20712 lt_prog_compiler_wl_GCJ \
20713 lt_prog_compiler_pic_GCJ \
20714 lt_prog_compiler_static_GCJ \
20715 lt_prog_compiler_no_builtin_flag_GCJ \
20716 export_dynamic_flag_spec_GCJ \
20717 thread_safe_flag_spec_GCJ \
20718 whole_archive_flag_spec_GCJ \
20719 enable_shared_with_static_runtimes_GCJ \
20720 old_archive_cmds_GCJ \
20721 old_archive_from_new_cmds_GCJ \
20722 predep_objects_GCJ \
20723 postdep_objects_GCJ \
20726 compiler_lib_search_path_GCJ \
20727 compiler_lib_search_dirs_GCJ \
20729 archive_expsym_cmds_GCJ \
20730 postinstall_cmds_GCJ \
20731 postuninstall_cmds_GCJ \
20732 old_archive_from_expsyms_cmds_GCJ \
20733 allow_undefined_flag_GCJ \
20734 no_undefined_flag_GCJ \
20735 export_symbols_cmds_GCJ \
20736 hardcode_libdir_flag_spec_GCJ \
20737 hardcode_libdir_flag_spec_ld_GCJ \
20738 hardcode_libdir_separator_GCJ \
20739 hardcode_automatic_GCJ \
20741 module_expsym_cmds_GCJ \
20742 lt_cv_prog_compiler_c_o_GCJ \
20743 fix_srcfile_path_GCJ \
20744 exclude_expsyms_GCJ \
20745 include_expsyms_GCJ
; do
20748 old_archive_cmds_GCJ | \
20749 old_archive_from_new_cmds_GCJ | \
20750 archive_cmds_GCJ | \
20751 archive_expsym_cmds_GCJ | \
20752 module_cmds_GCJ | \
20753 module_expsym_cmds_GCJ | \
20754 old_archive_from_expsyms_cmds_GCJ | \
20755 export_symbols_cmds_GCJ | \
20756 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20757 postinstall_cmds | postuninstall_cmds | \
20758 old_postinstall_cmds | old_postuninstall_cmds | \
20759 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20760 # Double-quote double-evaled strings.
20761 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20764 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20770 *'\$0 --fallback-echo"')
20771 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20777 cat <<__EOF__ >> "$cfgfile"
20778 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20780 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20782 # Shell to use when invoking shell scripts.
20785 # Whether or not to build shared libraries.
20786 build_libtool_libs=$enable_shared
20788 # Whether or not to build static libraries.
20789 build_old_libs=$enable_static
20791 # Whether or not to add -lc for building shared libraries.
20792 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20794 # Whether or not to disallow shared libs when runtime libs are static
20795 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20797 # Whether or not to optimize for fast installation.
20798 fast_install=$enable_fast_install
20801 host_alias=$host_alias
20805 # The build system.
20806 build_alias=$build_alias
20810 # An echo program that does not interpret backslashes.
20815 AR_FLAGS=$lt_AR_FLAGS
20820 # LTCC compiler flags.
20821 LTCFLAGS=$lt_LTCFLAGS
20823 # A language-specific compiler.
20824 CC=$lt_compiler_GCJ
20826 # Is the compiler the GNU C compiler?
20832 # The linker used to build libraries.
20835 # Whether we need hard or soft links.
20838 # A BSD-compatible nm program.
20841 # A symbol stripping program
20844 # Used to examine libraries when file_magic_cmd begins "file"
20845 MAGIC_CMD=$MAGIC_CMD
20847 # Used on cygwin: DLL creation program.
20850 # Used on cygwin: object dumper.
20853 # Used on cygwin: assembler.
20856 # The name of the directory that contains temporary libtool files.
20859 # How to create reloadable object files.
20860 reload_flag=$lt_reload_flag
20861 reload_cmds=$lt_reload_cmds
20863 # How to pass a linker flag through the compiler.
20864 wl=$lt_lt_prog_compiler_wl_GCJ
20866 # Object file suffix (normally "o").
20867 objext="$ac_objext"
20869 # Old archive suffix (normally "a").
20872 # Shared library suffix (normally ".so").
20873 shrext_cmds='$shrext_cmds'
20875 # Executable file suffix (normally "").
20878 # Additional compiler flags for building library objects.
20879 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20882 # What is the maximum length of a command?
20883 max_cmd_len=$lt_cv_sys_max_cmd_len
20885 # Does compiler simultaneously support -c and -o options?
20886 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20888 # Must we lock files when doing compilation?
20889 need_locks=$lt_need_locks
20891 # Do we need the lib prefix for modules?
20892 need_lib_prefix=$need_lib_prefix
20894 # Do we need a version for libraries?
20895 need_version=$need_version
20897 # Whether dlopen is supported.
20898 dlopen_support=$enable_dlopen
20900 # Whether dlopen of programs is supported.
20901 dlopen_self=$enable_dlopen_self
20903 # Whether dlopen of statically linked programs is supported.
20904 dlopen_self_static=$enable_dlopen_self_static
20906 # Compiler flag to prevent dynamic linking.
20907 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20909 # Compiler flag to turn off builtin functions.
20910 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20912 # Compiler flag to allow reflexive dlopens.
20913 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20915 # Compiler flag to generate shared objects directly from archives.
20916 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20918 # Compiler flag to generate thread-safe objects.
20919 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20921 # Library versioning type.
20922 version_type=$version_type
20924 # Format of library name prefix.
20925 libname_spec=$lt_libname_spec
20927 # List of archive names. First name is the real one, the rest are links.
20928 # The last name is the one that the linker finds with -lNAME.
20929 library_names_spec=$lt_library_names_spec
20931 # The coded name of the library, if different from the real name.
20932 soname_spec=$lt_soname_spec
20934 # Commands used to build and install an old-style archive.
20936 old_archive_cmds=$lt_old_archive_cmds_GCJ
20937 old_postinstall_cmds=$lt_old_postinstall_cmds
20938 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20940 # Create an old-style archive from a shared archive.
20941 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20943 # Create a temporary old-style archive to link instead of a shared archive.
20944 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20946 # Commands used to build and install a shared archive.
20947 archive_cmds=$lt_archive_cmds_GCJ
20948 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20949 postinstall_cmds=$lt_postinstall_cmds
20950 postuninstall_cmds=$lt_postuninstall_cmds
20952 # Commands used to build a loadable module (assumed same as above if empty)
20953 module_cmds=$lt_module_cmds_GCJ
20954 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20956 # Commands to strip libraries.
20957 old_striplib=$lt_old_striplib
20958 striplib=$lt_striplib
20960 # Dependencies to place before the objects being linked to create a
20962 predep_objects=$lt_predep_objects_GCJ
20964 # Dependencies to place after the objects being linked to create a
20966 postdep_objects=$lt_postdep_objects_GCJ
20968 # Dependencies to place before the objects being linked to create a
20970 predeps=$lt_predeps_GCJ
20972 # Dependencies to place after the objects being linked to create a
20974 postdeps=$lt_postdeps_GCJ
20976 # The directories searched by this compiler when creating a shared
20978 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
20980 # The library search path used internally by the compiler when linking
20981 # a shared library.
20982 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20984 # Method to check whether dependent libraries are shared objects.
20985 deplibs_check_method=$lt_deplibs_check_method
20987 # Command to use when deplibs_check_method == file_magic.
20988 file_magic_cmd=$lt_file_magic_cmd
20990 # Flag that allows shared libraries with undefined symbols to be built.
20991 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20993 # Flag that forces no undefined symbols.
20994 no_undefined_flag=$lt_no_undefined_flag_GCJ
20996 # Commands used to finish a libtool library installation in a directory.
20997 finish_cmds=$lt_finish_cmds
20999 # Same as above, but a single script fragment to be evaled but not shown.
21000 finish_eval=$lt_finish_eval
21002 # Take the output of nm and produce a listing of raw symbols and C names.
21003 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21005 # Transform the output of nm in a proper C declaration
21006 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21008 # Transform the output of nm in a C name address pair
21009 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21011 # This is the shared library runtime path variable.
21012 runpath_var=$runpath_var
21014 # This is the shared library path variable.
21015 shlibpath_var=$shlibpath_var
21017 # Is shlibpath searched before the hard-coded library search path?
21018 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21020 # How to hardcode a shared library path into an executable.
21021 hardcode_action=$hardcode_action_GCJ
21023 # Whether we should hardcode library paths into libraries.
21024 hardcode_into_libs=$hardcode_into_libs
21026 # Flag to hardcode \$libdir into a binary during linking.
21027 # This must work even if \$libdir does not exist.
21028 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
21030 # If ld is used when linking, flag to hardcode \$libdir into
21031 # a binary during linking. This must work even if \$libdir does
21033 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
21035 # Whether we need a single -rpath flag with a separated argument.
21036 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
21038 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21039 # resulting binary.
21040 hardcode_direct=$hardcode_direct_GCJ
21042 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21043 # resulting binary.
21044 hardcode_minus_L=$hardcode_minus_L_GCJ
21046 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21047 # the resulting binary.
21048 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
21050 # Set to yes if building a shared library automatically hardcodes DIR into the library
21051 # and all subsequent libraries and executables linked against it.
21052 hardcode_automatic=$hardcode_automatic_GCJ
21054 # Variables whose values should be saved in libtool wrapper scripts and
21055 # restored at relink time.
21056 variables_saved_for_relink="$variables_saved_for_relink"
21058 # Whether libtool must link a program against all its dependency libraries.
21059 link_all_deplibs=$link_all_deplibs_GCJ
21061 # Compile-time system search path for libraries
21062 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21064 # Run-time system search path for libraries
21065 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21067 # Fix the shell variable \$srcfile for the compiler.
21068 fix_srcfile_path=$lt_fix_srcfile_path
21070 # Set to yes if exported symbols are required.
21071 always_export_symbols=$always_export_symbols_GCJ
21073 # The commands to list exported symbols.
21074 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
21076 # The commands to extract the exported symbol list from a shared archive.
21077 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21079 # Symbols that should not be listed in the preloaded symbols.
21080 exclude_expsyms=$lt_exclude_expsyms_GCJ
21082 # Symbols that must always be exported.
21083 include_expsyms=$lt_include_expsyms_GCJ
21085 # ### END LIBTOOL TAG CONFIG: $tagname
21091 # If there is no Makefile yet, we rely on a make rule to execute
21092 # `config.status --recheck' to rerun these tests and create the
21093 # libtool script then.
21094 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21095 if test -f "$ltmain_in"; then
21096 test -f Makefile
&& make "$ltmain"
21102 ac_cpp
='$CPP $CPPFLAGS'
21103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21117 # Source file extension for RC test sources.
21120 # Object file extension for compiled RC test sources.
21124 # Code to be used in simple compile tests
21125 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
21127 # Code to be used in simple link tests
21128 lt_simple_link_test_code
="$lt_simple_compile_test_code"
21130 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21132 # If no C compiler was specified, use CC.
21135 # If no C compiler flags were specified, use CFLAGS.
21136 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
21138 # Allow CC to be a program name with arguments.
21142 # save warnings/boilerplate of simple test code
21143 ac_outfile
=conftest.
$ac_objext
21144 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
21145 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21146 _lt_compiler_boilerplate
=`cat conftest.err`
21149 ac_outfile
=conftest.
$ac_objext
21150 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
21151 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21152 _lt_linker_boilerplate
=`cat conftest.err`
21156 # Allow CC to be a program name with arguments.
21161 for cc_temp
in $compiler""; do
21163 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21164 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21169 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21171 lt_cv_prog_compiler_c_o_RC
=yes
21173 # The else clause should only fire when bootstrapping the
21174 # libtool distribution, otherwise you forgot to ship ltmain.sh
21175 # with your package, and you will get complaints that there are
21176 # no rules to generate ltmain.sh.
21177 if test -f "$ltmain"; then
21178 # See if we are running on zsh, and set the options which allow our commands through
21179 # without removal of \ escapes.
21180 if test -n "${ZSH_VERSION+set}" ; then
21181 setopt NO_GLOB_SUBST
21183 # Now quote all the things that may contain metacharacters while being
21184 # careful not to overquote the AC_SUBSTed values. We take copies of the
21185 # variables and quote the copies for generation of the libtool script.
21186 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21188 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21189 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21190 deplibs_check_method reload_flag reload_cmds need_locks \
21191 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21192 lt_cv_sys_global_symbol_to_c_name_address \
21193 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21194 old_postinstall_cmds old_postuninstall_cmds \
21198 lt_prog_compiler_wl_RC \
21199 lt_prog_compiler_pic_RC \
21200 lt_prog_compiler_static_RC \
21201 lt_prog_compiler_no_builtin_flag_RC \
21202 export_dynamic_flag_spec_RC \
21203 thread_safe_flag_spec_RC \
21204 whole_archive_flag_spec_RC \
21205 enable_shared_with_static_runtimes_RC \
21206 old_archive_cmds_RC \
21207 old_archive_from_new_cmds_RC \
21208 predep_objects_RC \
21209 postdep_objects_RC \
21212 compiler_lib_search_path_RC \
21213 compiler_lib_search_dirs_RC \
21215 archive_expsym_cmds_RC \
21216 postinstall_cmds_RC \
21217 postuninstall_cmds_RC \
21218 old_archive_from_expsyms_cmds_RC \
21219 allow_undefined_flag_RC \
21220 no_undefined_flag_RC \
21221 export_symbols_cmds_RC \
21222 hardcode_libdir_flag_spec_RC \
21223 hardcode_libdir_flag_spec_ld_RC \
21224 hardcode_libdir_separator_RC \
21225 hardcode_automatic_RC \
21227 module_expsym_cmds_RC \
21228 lt_cv_prog_compiler_c_o_RC \
21229 fix_srcfile_path_RC \
21230 exclude_expsyms_RC \
21231 include_expsyms_RC
; do
21234 old_archive_cmds_RC | \
21235 old_archive_from_new_cmds_RC | \
21236 archive_cmds_RC | \
21237 archive_expsym_cmds_RC | \
21239 module_expsym_cmds_RC | \
21240 old_archive_from_expsyms_cmds_RC | \
21241 export_symbols_cmds_RC | \
21242 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21243 postinstall_cmds | postuninstall_cmds | \
21244 old_postinstall_cmds | old_postuninstall_cmds | \
21245 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
21246 # Double-quote double-evaled strings.
21247 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21250 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21256 *'\$0 --fallback-echo"')
21257 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21263 cat <<__EOF__ >> "$cfgfile"
21264 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21266 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21268 # Shell to use when invoking shell scripts.
21271 # Whether or not to build shared libraries.
21272 build_libtool_libs=$enable_shared
21274 # Whether or not to build static libraries.
21275 build_old_libs=$enable_static
21277 # Whether or not to add -lc for building shared libraries.
21278 build_libtool_need_lc=$archive_cmds_need_lc_RC
21280 # Whether or not to disallow shared libs when runtime libs are static
21281 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
21283 # Whether or not to optimize for fast installation.
21284 fast_install=$enable_fast_install
21287 host_alias=$host_alias
21291 # The build system.
21292 build_alias=$build_alias
21296 # An echo program that does not interpret backslashes.
21301 AR_FLAGS=$lt_AR_FLAGS
21306 # LTCC compiler flags.
21307 LTCFLAGS=$lt_LTCFLAGS
21309 # A language-specific compiler.
21312 # Is the compiler the GNU C compiler?
21318 # The linker used to build libraries.
21321 # Whether we need hard or soft links.
21324 # A BSD-compatible nm program.
21327 # A symbol stripping program
21330 # Used to examine libraries when file_magic_cmd begins "file"
21331 MAGIC_CMD=$MAGIC_CMD
21333 # Used on cygwin: DLL creation program.
21336 # Used on cygwin: object dumper.
21339 # Used on cygwin: assembler.
21342 # The name of the directory that contains temporary libtool files.
21345 # How to create reloadable object files.
21346 reload_flag=$lt_reload_flag
21347 reload_cmds=$lt_reload_cmds
21349 # How to pass a linker flag through the compiler.
21350 wl=$lt_lt_prog_compiler_wl_RC
21352 # Object file suffix (normally "o").
21353 objext="$ac_objext"
21355 # Old archive suffix (normally "a").
21358 # Shared library suffix (normally ".so").
21359 shrext_cmds='$shrext_cmds'
21361 # Executable file suffix (normally "").
21364 # Additional compiler flags for building library objects.
21365 pic_flag=$lt_lt_prog_compiler_pic_RC
21368 # What is the maximum length of a command?
21369 max_cmd_len=$lt_cv_sys_max_cmd_len
21371 # Does compiler simultaneously support -c and -o options?
21372 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21374 # Must we lock files when doing compilation?
21375 need_locks=$lt_need_locks
21377 # Do we need the lib prefix for modules?
21378 need_lib_prefix=$need_lib_prefix
21380 # Do we need a version for libraries?
21381 need_version=$need_version
21383 # Whether dlopen is supported.
21384 dlopen_support=$enable_dlopen
21386 # Whether dlopen of programs is supported.
21387 dlopen_self=$enable_dlopen_self
21389 # Whether dlopen of statically linked programs is supported.
21390 dlopen_self_static=$enable_dlopen_self_static
21392 # Compiler flag to prevent dynamic linking.
21393 link_static_flag=$lt_lt_prog_compiler_static_RC
21395 # Compiler flag to turn off builtin functions.
21396 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21398 # Compiler flag to allow reflexive dlopens.
21399 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21401 # Compiler flag to generate shared objects directly from archives.
21402 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21404 # Compiler flag to generate thread-safe objects.
21405 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21407 # Library versioning type.
21408 version_type=$version_type
21410 # Format of library name prefix.
21411 libname_spec=$lt_libname_spec
21413 # List of archive names. First name is the real one, the rest are links.
21414 # The last name is the one that the linker finds with -lNAME.
21415 library_names_spec=$lt_library_names_spec
21417 # The coded name of the library, if different from the real name.
21418 soname_spec=$lt_soname_spec
21420 # Commands used to build and install an old-style archive.
21422 old_archive_cmds=$lt_old_archive_cmds_RC
21423 old_postinstall_cmds=$lt_old_postinstall_cmds
21424 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21426 # Create an old-style archive from a shared archive.
21427 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21429 # Create a temporary old-style archive to link instead of a shared archive.
21430 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21432 # Commands used to build and install a shared archive.
21433 archive_cmds=$lt_archive_cmds_RC
21434 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21435 postinstall_cmds=$lt_postinstall_cmds
21436 postuninstall_cmds=$lt_postuninstall_cmds
21438 # Commands used to build a loadable module (assumed same as above if empty)
21439 module_cmds=$lt_module_cmds_RC
21440 module_expsym_cmds=$lt_module_expsym_cmds_RC
21442 # Commands to strip libraries.
21443 old_striplib=$lt_old_striplib
21444 striplib=$lt_striplib
21446 # Dependencies to place before the objects being linked to create a
21448 predep_objects=$lt_predep_objects_RC
21450 # Dependencies to place after the objects being linked to create a
21452 postdep_objects=$lt_postdep_objects_RC
21454 # Dependencies to place before the objects being linked to create a
21456 predeps=$lt_predeps_RC
21458 # Dependencies to place after the objects being linked to create a
21460 postdeps=$lt_postdeps_RC
21462 # The directories searched by this compiler when creating a shared
21464 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
21466 # The library search path used internally by the compiler when linking
21467 # a shared library.
21468 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21470 # Method to check whether dependent libraries are shared objects.
21471 deplibs_check_method=$lt_deplibs_check_method
21473 # Command to use when deplibs_check_method == file_magic.
21474 file_magic_cmd=$lt_file_magic_cmd
21476 # Flag that allows shared libraries with undefined symbols to be built.
21477 allow_undefined_flag=$lt_allow_undefined_flag_RC
21479 # Flag that forces no undefined symbols.
21480 no_undefined_flag=$lt_no_undefined_flag_RC
21482 # Commands used to finish a libtool library installation in a directory.
21483 finish_cmds=$lt_finish_cmds
21485 # Same as above, but a single script fragment to be evaled but not shown.
21486 finish_eval=$lt_finish_eval
21488 # Take the output of nm and produce a listing of raw symbols and C names.
21489 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21491 # Transform the output of nm in a proper C declaration
21492 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21494 # Transform the output of nm in a C name address pair
21495 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21497 # This is the shared library runtime path variable.
21498 runpath_var=$runpath_var
21500 # This is the shared library path variable.
21501 shlibpath_var=$shlibpath_var
21503 # Is shlibpath searched before the hard-coded library search path?
21504 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21506 # How to hardcode a shared library path into an executable.
21507 hardcode_action=$hardcode_action_RC
21509 # Whether we should hardcode library paths into libraries.
21510 hardcode_into_libs=$hardcode_into_libs
21512 # Flag to hardcode \$libdir into a binary during linking.
21513 # This must work even if \$libdir does not exist.
21514 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21516 # If ld is used when linking, flag to hardcode \$libdir into
21517 # a binary during linking. This must work even if \$libdir does
21519 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21521 # Whether we need a single -rpath flag with a separated argument.
21522 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21524 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21525 # resulting binary.
21526 hardcode_direct=$hardcode_direct_RC
21528 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21529 # resulting binary.
21530 hardcode_minus_L=$hardcode_minus_L_RC
21532 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21533 # the resulting binary.
21534 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21536 # Set to yes if building a shared library automatically hardcodes DIR into the library
21537 # and all subsequent libraries and executables linked against it.
21538 hardcode_automatic=$hardcode_automatic_RC
21540 # Variables whose values should be saved in libtool wrapper scripts and
21541 # restored at relink time.
21542 variables_saved_for_relink="$variables_saved_for_relink"
21544 # Whether libtool must link a program against all its dependency libraries.
21545 link_all_deplibs=$link_all_deplibs_RC
21547 # Compile-time system search path for libraries
21548 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21550 # Run-time system search path for libraries
21551 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21553 # Fix the shell variable \$srcfile for the compiler.
21554 fix_srcfile_path=$lt_fix_srcfile_path
21556 # Set to yes if exported symbols are required.
21557 always_export_symbols=$always_export_symbols_RC
21559 # The commands to list exported symbols.
21560 export_symbols_cmds=$lt_export_symbols_cmds_RC
21562 # The commands to extract the exported symbol list from a shared archive.
21563 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21565 # Symbols that should not be listed in the preloaded symbols.
21566 exclude_expsyms=$lt_exclude_expsyms_RC
21568 # Symbols that must always be exported.
21569 include_expsyms=$lt_include_expsyms_RC
21571 # ### END LIBTOOL TAG CONFIG: $tagname
21577 # If there is no Makefile yet, we rely on a make rule to execute
21578 # `config.status --recheck' to rerun these tests and create the
21579 # libtool script then.
21580 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21581 if test -f "$ltmain_in"; then
21582 test -f Makefile
&& make "$ltmain"
21588 ac_cpp
='$CPP $CPPFLAGS'
21589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21598 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21599 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21600 { (exit 1); exit 1; }; }
21604 # Append the new tag name to the list of available tags.
21605 if test -n "$tagname" ; then
21606 available_tags
="$available_tags $tagname"
21612 # Now substitute the updated list of available tags.
21613 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21614 mv "${ofile}T" "$ofile"
21618 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21619 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21620 { (exit 1); exit 1; }; }
21626 # This can be used to rebuild libtool when needed
21627 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
21629 # Always use our own libtool.
21630 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
21632 # Prevent multiple expansion
21654 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
21655 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
21656 if test "${ac_cv_path_SED+set}" = set; then
21657 echo $ECHO_N "(cached) $ECHO_C" >&6
21659 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
21660 for ac_i
in 1 2 3 4 5 6 7; do
21661 ac_script
="$ac_script$as_nl$ac_script"
21663 echo "$ac_script" |
sed 99q
>conftest.
sed
21664 $as_unset ac_script || ac_script
=
21665 # Extract the first word of "sed gsed" to use in msg output
21666 if test -z "$SED"; then
21667 set dummy
sed gsed
; ac_prog_name
=$2
21668 if test "${ac_cv_path_SED+set}" = set; then
21669 echo $ECHO_N "(cached) $ECHO_C" >&6
21671 ac_path_SED_found
=false
21672 # Loop through the user's path and test for each of PROGNAME-LIST
21673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21674 for as_dir
in $PATH
21677 test -z "$as_dir" && as_dir
=.
21678 for ac_prog
in sed gsed
; do
21679 for ac_exec_ext
in '' $ac_executable_extensions; do
21680 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
21681 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
21682 # Check for GNU ac_path_SED and select it if it is found.
21683 # Check for GNU $ac_path_SED
21684 case `"$ac_path_SED" --version 2>&1` in
21686 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
21689 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
21692 cat "conftest.in" "conftest.in" >"conftest.tmp"
21693 mv "conftest.tmp" "conftest.in"
21694 cp "conftest.in" "conftest.nl"
21695 echo '' >> "conftest.nl"
21696 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
21697 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
21698 ac_count
=`expr $ac_count + 1`
21699 if test $ac_count -gt ${ac_path_SED_max-0}; then
21700 # Best one so far, save it but keep looking for a better one
21701 ac_cv_path_SED
="$ac_path_SED"
21702 ac_path_SED_max
=$ac_count
21704 # 10*(2^10) chars as input seems more than enough
21705 test $ac_count -gt 10 && break
21707 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
21711 $ac_path_SED_found && break 3
21721 SED
="$ac_cv_path_SED"
21722 if test -z "$SED"; then
21723 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
21724 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
21725 { (exit 1); exit 1; }; }
21729 ac_cv_path_SED
=$SED
21733 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
21734 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
21735 SED
="$ac_cv_path_SED"
21743 flag
=`echo "-fvisibility=hidden" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
21745 { echo "$as_me:$LINENO: checking whether the C compiler accepts the -fvisibility=hidden flag" >&5
21746 echo $ECHO_N "checking whether the C compiler accepts the -fvisibility=hidden flag... $ECHO_C" >&6; }
21747 if { as_var
=ax_cv_c_check_flag_
$flag; eval "test \"\${$as_var+set}\" = set"; }; then
21748 echo $ECHO_N "(cached) $ECHO_C" >&6
21753 ac_cpp
='$CPP $CPPFLAGS'
21754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21759 save_CFLAGS
="$CFLAGS"
21760 CFLAGS
="$CFLAGS -fvisibility=hidden"
21761 cat >conftest.
$ac_ext <<_ACEOF
21765 cat confdefs.h
>>conftest.
$ac_ext
21766 cat >>conftest.
$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21778 rm -f conftest.
$ac_objext
21779 if { (ac_try
="$ac_compile"
21780 case "(($ac_try" in
21781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21782 *) ac_try_echo=$ac_try;;
21784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21785 (eval "$ac_compile") 2>conftest.er1
21787 grep -v '^ *+' conftest.er1 >conftest.err
21789 cat conftest.err >&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); } && {
21792 test -z "$ac_c_werror_flag" ||
21793 test ! -s conftest.err
21794 } && test -s conftest.$ac_objext; then
21796 eval "ax_cv_c_check_flag_$flag=yes"
21799 echo "$as_me: failed program was:" >&5
21800 sed 's/^/| /' conftest.$ac_ext >&5
21803 eval "ax_cv_c_check_flag_$flag=no"
21807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21809 CFLAGS="$save_CFLAGS"
21812 ac_cpp='$CPP $CPPFLAGS'
21813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21820 ac_res=`eval echo '${'ax_cv_c_check_flag_$flag'}'`
21821 { echo "$as_me:$LINENO: result: $ac_res" >&5
21822 echo "${ECHO_T}$ac_res" >&6; }
21824 if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then
21827 HAVE_C_GCCVISIBILITY=1
21832 HAVE_C_GCCVISIBILITY=0
21842 flag=`echo "-fvisibility=hidden" |
$SED 'y% .=/+-(){}<>:*,%_______________%'`
21844 { echo "$as_me:$LINENO: checking whether the C++ compiler accepts the -fvisibility=hidden flag" >&5
21845 echo $ECHO_N "checking whether the C++ compiler accepts the -fvisibility=hidden flag... $ECHO_C" >&6; }
21846 if { as_var=ax_cv_cxx_check_flag_$flag; eval "test \"\${$as_var+set}\" = set"; }; then
21847 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 ac_cpp='$CXXCPP $CPPFLAGS'
21853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21858 save_CXXFLAGS="$CXXFLAGS"
21859 CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
21860 cat >conftest.$ac_ext <<_ACEOF
21864 cat confdefs.h >>conftest.$ac_ext
21865 cat >>conftest.$ac_ext <<_ACEOF
21866 /* end confdefs.h. */
21877 rm -f conftest.$ac_objext
21878 if { (ac_try="$ac_compile"
21879 case "(($ac_try" in
21880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21881 *) ac_try_echo
=$ac_try;;
21883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21884 (eval "$ac_compile") 2>conftest.er1
21886 grep -v '^ *+' conftest.er1
>conftest.err
21888 cat conftest.err
>&5
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); } && {
21891 test -z "$ac_cxx_werror_flag" ||
21892 test ! -s conftest.err
21893 } && test -s conftest.
$ac_objext; then
21895 eval "ax_cv_cxx_check_flag_$flag=yes"
21898 echo "$as_me: failed program was:" >&5
21899 sed 's/^/| /' conftest.
$ac_ext >&5
21902 eval "ax_cv_cxx_check_flag_$flag=no"
21906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21908 CXXFLAGS
="$save_CXXFLAGS"
21911 ac_cpp
='$CPP $CPPFLAGS'
21912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21919 ac_res
=`eval echo '${'ax_cv_cxx_check_flag_$flag'}'`
21920 { echo "$as_me:$LINENO: result: $ac_res" >&5
21921 echo "${ECHO_T}$ac_res" >&6; }
21923 if eval "test \"`echo '$ax_cv_cxx_check_flag_'$flag`\" = yes"; then
21926 HAVE_CXX_GCCVISIBILITY
=1
21931 HAVE_CXX_GCCVISIBILITY
=0
21938 if test "$HAVE_C_GCCVISIBILITY" = "1" -a "$HAVE_CXX_GCCVISIBILITY" = "1"; then
21939 WITH_GCCVISIBILITY_TRUE
=
21940 WITH_GCCVISIBILITY_FALSE
='#'
21942 WITH_GCCVISIBILITY_TRUE
='#'
21943 WITH_GCCVISIBILITY_FALSE
=
21948 ac_cpp
='$CXXCPP $CPPFLAGS'
21949 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21950 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21951 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21956 { echo "$as_me:$LINENO: checking for BARRY" >&5
21957 echo $ECHO_N "checking for BARRY... $ECHO_C" >&6; }
21959 if test -n "$PKG_CONFIG"; then
21960 if test -n "$BARRY_CFLAGS"; then
21961 pkg_cv_BARRY_CFLAGS
="$BARRY_CFLAGS"
21963 if test -n "$PKG_CONFIG" && \
21964 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbarry-0 libusb\"") >&5
21965 ($PKG_CONFIG --exists --print-errors "libbarry-0 libusb") 2>&5
21967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968 (exit $ac_status); }; then
21969 pkg_cv_BARRY_CFLAGS
=`$PKG_CONFIG --cflags "libbarry-0 libusb" 2>/dev/null`
21977 if test -n "$PKG_CONFIG"; then
21978 if test -n "$BARRY_LIBS"; then
21979 pkg_cv_BARRY_LIBS
="$BARRY_LIBS"
21981 if test -n "$PKG_CONFIG" && \
21982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbarry-0 libusb\"") >&5
21983 ($PKG_CONFIG --exists --print-errors "libbarry-0 libusb") 2>&5
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); }; then
21987 pkg_cv_BARRY_LIBS
=`$PKG_CONFIG --libs "libbarry-0 libusb" 2>/dev/null`
21998 if test $pkg_failed = yes; then
22000 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22001 _pkg_short_errors_supported
=yes
22003 _pkg_short_errors_supported
=no
22005 if test $_pkg_short_errors_supported = yes; then
22006 BARRY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libbarry-0 libusb"`
22008 BARRY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libbarry-0 libusb"`
22010 # Put the nasty error message in config.log where it belongs
22011 echo "$BARRY_PKG_ERRORS" >&5
22013 { { echo "$as_me:$LINENO: error: Package requirements (libbarry-0 libusb) were not met:
22017 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22018 installed software in a non-standard prefix.
22020 Alternatively, you may set the environment variables BARRY_CFLAGS
22021 and BARRY_LIBS to avoid the need to call pkg-config.
22022 See the pkg-config man page for more details.
22024 echo "$as_me: error: Package requirements (libbarry-0 libusb) were not met:
22028 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22029 installed software in a non-standard prefix.
22031 Alternatively, you may set the environment variables BARRY_CFLAGS
22032 and BARRY_LIBS to avoid the need to call pkg-config.
22033 See the pkg-config man page for more details.
22035 { (exit 1); exit 1; }; }
22036 elif test $pkg_failed = untried
; then
22037 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
22038 is in your PATH or set the PKG_CONFIG environment variable to the full
22039 path to pkg-config.
22041 Alternatively, you may set the environment variables BARRY_CFLAGS
22042 and BARRY_LIBS to avoid the need to call pkg-config.
22043 See the pkg-config man page for more details.
22045 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22046 See \`config.log' for more details." >&5
22047 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
22048 is in your PATH or set the PKG_CONFIG environment variable to the full
22049 path to pkg-config.
22051 Alternatively, you may set the environment variables BARRY_CFLAGS
22052 and BARRY_LIBS to avoid the need to call pkg-config.
22053 See the pkg-config man page for more details.
22055 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22056 See \`config.log' for more details." >&2;}
22057 { (exit 1); exit 1; }; }
22059 BARRY_CFLAGS
=$pkg_cv_BARRY_CFLAGS
22060 BARRY_LIBS
=$pkg_cv_BARRY_LIBS
22061 { echo "$as_me:$LINENO: result: yes" >&5
22062 echo "${ECHO_T}yes" >&6; }
22066 # Carry the special tree build environment variables from parent configure,
22067 # just in case user is doing a complete tree build with --enable-opensync-plugin
22071 OPENSYNC_CONFIGDIR
=$
(pkg-config
--variable=configdir opensync-1.0
)
22072 OPENSYNC_PLUGINDIR
=$
(pkg-config
--variable=plugindir opensync-1.0
)
22073 OPENSYNC_FORMATSDIR
=$
(pkg-config
--variable=formatsdir opensync-1.0
)
22074 OPENSYNC_HEADERDIR
=$
(pkg-config
--variable=headerdir opensync-1.0
)
22076 ## This is the place where you can install the default configuration files of your plugin
22077 ## This is the dir where you plugin will be installed
22078 ## Here are format plugins installed (if any)
22079 ## Here are the headers that a user interface may need (if any)
22081 ac_config_files
="$ac_config_files Makefile src/Makefile"
22083 cat >confcache
<<\_ACEOF
22084 # This file is a shell script that caches the results of configure
22085 # tests run on this system so they can be shared between configure
22086 # scripts and configure runs, see configure's option --config-cache.
22087 # It is not useful on other systems. If it contains results you don't
22088 # want to keep, you may remove or edit it.
22090 # config.status only pays attention to the cache file if you give it
22091 # the --recheck option to rerun configure.
22093 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22094 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22095 # following values.
22099 # The following way of writing the cache mishandles newlines in values,
22100 # but we know of no workaround that is simple, portable, and efficient.
22101 # So, we kill variables containing newlines.
22102 # Ultrix sh set writes to stderr and can't be redirected directly,
22103 # and sets the high bit in the cache file unless we assign to the vars.
22105 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22106 eval ac_val
=\$
$ac_var
22110 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22111 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22114 _ | IFS | as_nl
) ;; #(
22115 *) $as_unset $ac_var ;;
22121 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22122 *${as_nl}ac_space
=\
*)
22123 # `set' does not quote correctly, so add quotes (double-quote
22124 # substitution turns \\\\ into \\, and sed turns \\ into \).
22127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22130 # `set' quotes correctly as required by POSIX, so do not add quotes.
22131 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22140 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22142 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22144 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22145 if test -w "$cache_file"; then
22146 test "x$cache_file" != "x/dev/null" &&
22147 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22148 echo "$as_me: updating cache $cache_file" >&6;}
22149 cat confcache
>$cache_file
22151 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22152 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22157 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22158 # Let make expand exec_prefix.
22159 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22161 DEFS
=-DHAVE_CONFIG_H
22165 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22166 # 1. Remove the extension, and $U if already installed.
22167 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22168 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22169 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22170 # will be set to the directory where LIBOBJS objects are built.
22171 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22172 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22174 LIBOBJS
=$ac_libobjs
22176 LTLIBOBJS
=$ac_ltlibobjs
22179 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22180 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22181 Usually this means the macro was only invoked conditionally." >&5
22182 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22183 Usually this means the macro was only invoked conditionally." >&2;}
22184 { (exit 1); exit 1; }; }
22186 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22187 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22188 Usually this means the macro was only invoked conditionally." >&5
22189 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22190 Usually this means the macro was only invoked conditionally." >&2;}
22191 { (exit 1); exit 1; }; }
22193 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22194 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22195 Usually this means the macro was only invoked conditionally." >&5
22196 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22197 Usually this means the macro was only invoked conditionally." >&2;}
22198 { (exit 1); exit 1; }; }
22200 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22201 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22202 Usually this means the macro was only invoked conditionally." >&5
22203 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22204 Usually this means the macro was only invoked conditionally." >&2;}
22205 { (exit 1); exit 1; }; }
22207 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22208 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22209 Usually this means the macro was only invoked conditionally." >&5
22210 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22211 Usually this means the macro was only invoked conditionally." >&2;}
22212 { (exit 1); exit 1; }; }
22214 if test -z "${WITH_GCCVISIBILITY_TRUE}" && test -z "${WITH_GCCVISIBILITY_FALSE}"; then
22215 { { echo "$as_me:$LINENO: error: conditional \"WITH_GCCVISIBILITY\" was never defined.
22216 Usually this means the macro was only invoked conditionally." >&5
22217 echo "$as_me: error: conditional \"WITH_GCCVISIBILITY\" was never defined.
22218 Usually this means the macro was only invoked conditionally." >&2;}
22219 { (exit 1); exit 1; }; }
22222 : ${CONFIG_STATUS=./config.status}
22223 ac_clean_files_save
=$ac_clean_files
22224 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22225 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22226 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22227 cat >$CONFIG_STATUS <<_ACEOF
22229 # Generated by $as_me.
22230 # Run this file to recreate the current configuration.
22231 # Compiler output produced by configure, useful for debugging
22232 # configure, is in config.log if it exists.
22235 ac_cs_recheck=false
22237 SHELL=\${CONFIG_SHELL-$SHELL}
22240 cat >>$CONFIG_STATUS <<\_ACEOF
22241 ## --------------------- ##
22242 ## M4sh Initialization. ##
22243 ## --------------------- ##
22245 # Be more Bourne compatible
22246 DUALCASE
=1; export DUALCASE
# for MKS sh
22247 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22250 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22251 # is contrary to our usage. Disable this feature.
22252 alias -g '${1+"$@"}'='"$@"'
22253 setopt NO_GLOB_SUBST
22255 case `(set -o) 2>/dev/null` in
22256 *posix
*) set -o posix
;;
22265 # Avoid depending upon Character Ranges.
22266 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22267 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22268 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22269 as_cr_digits
='0123456789'
22270 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22272 # The user is always right.
22273 if test "${PATH_SEPARATOR+set}" != set; then
22274 echo "#! /bin/sh" >conf$$.sh
22275 echo "exit 0" >>conf$$.sh
22277 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22285 # Support unset when possible.
22286 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22294 # We need space, tab and new line, in precisely that order. Quoting is
22295 # there to prevent editors from complaining about space-tab.
22296 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22297 # splitting by setting IFS to empty value.)
22302 # Find who we are. Look in the path if we contain no directory separator.
22304 *[\\/]* ) as_myself
=$0 ;;
22305 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22306 for as_dir
in $PATH
22309 test -z "$as_dir" && as_dir
=.
22310 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22316 # We did not find ourselves, most probably we were run as `sh COMMAND'
22317 # in which case we are not to be found in the path.
22318 if test "x$as_myself" = x
; then
22321 if test ! -f "$as_myself"; then
22322 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22323 { (exit 1); exit 1; }
22326 # Work around bugs in pre-3.0 UWIN ksh.
22327 for as_var
in ENV MAIL MAILPATH
22328 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22336 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22337 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22338 LC_TELEPHONE LC_TIME
22340 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22341 eval $as_var=C
; export $as_var
22343 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22347 # Required to use basename.
22348 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22349 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22355 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22356 as_basename
=basename
22362 # Name of the executable.
22363 as_me
=`$as_basename -- "$0" ||
22364 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22365 X"$0" : 'X\(//\)$' \| \
22366 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22368 sed '/^.*\/\([^/][^/]*\)\/*$/{
22387 as_lineno_1
=$LINENO
22388 as_lineno_2
=$LINENO
22389 test "x$as_lineno_1" != "x$as_lineno_2" &&
22390 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22392 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22393 # uniformly replaced by the line number. The first 'sed' inserts a
22394 # line-number line after each line using $LINENO; the second 'sed'
22395 # does the real work. The second script uses 'N' to pair each
22396 # line-number line with the line containing $LINENO, and appends
22397 # trailing '-' during substitution so that $LINENO is not a special
22398 # case at line end.
22399 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22400 # scripts with optimization help from Paolo Bonzini. Blame Lee
22401 # E. McMahon (1931-1989) for sed's syntax. :-)
22413 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22416 ' >$as_me.lineno
&&
22417 chmod +x
"$as_me.lineno" ||
22418 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22419 { (exit 1); exit 1; }; }
22421 # Don't try to exec as it changes $[0], causing all sort of problems
22422 # (the dirname of $[0] is not the place where we might find the
22423 # original and so on. Autoconf is especially sensitive to this).
22424 .
"./$as_me.lineno"
22425 # Exit status is that of the last command.
22430 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22436 ECHO_C
= ECHO_N
= ECHO_T
=
22437 case `echo -n x` in
22439 case `echo 'x\c'` in
22440 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22447 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22448 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22454 rm -f conf$$ conf$$.exe conf$$.
file
22455 if test -d conf$$.dir
; then
22456 rm -f conf$$.dir
/conf$$.
file
22462 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22464 # ... but there are two gotchas:
22465 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22466 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22467 # In both cases, we have to default to `cp -p'.
22468 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22470 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22475 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22476 rmdir conf$$.dir
2>/dev
/null
22478 if mkdir
-p .
2>/dev
/null
; then
22481 test -d .
/-p && rmdir .
/-p
22485 if test -x / >/dev
/null
2>&1; then
22486 as_test_x
='test -x'
22488 if ls -dL / >/dev
/null
2>&1; then
22495 if test -d "$1"; then
22501 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22502 ???[sx]*):;;*)false;;esac;fi
22506 as_executable_p
=$as_test_x
22508 # Sed expression to map a string onto a valid CPP name.
22509 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22511 # Sed expression to map a string onto a valid variable name.
22512 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22517 # Save the log message, to keep $[0] and so on meaningful, and to
22518 # report actual input values of CONFIG_FILES etc. instead of their
22519 # values after options handling.
22521 This file was extended by Barry OpenSync Plugin $as_me 0.2, which was
22522 generated by GNU Autoconf 2.61. Invocation command line was
22524 CONFIG_FILES = $CONFIG_FILES
22525 CONFIG_HEADERS = $CONFIG_HEADERS
22526 CONFIG_LINKS = $CONFIG_LINKS
22527 CONFIG_COMMANDS = $CONFIG_COMMANDS
22530 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22535 cat >>$CONFIG_STATUS <<_ACEOF
22536 # Files that config.status was made for.
22537 config_files="$ac_config_files"
22538 config_headers="$ac_config_headers"
22539 config_commands="$ac_config_commands"
22543 cat >>$CONFIG_STATUS <<\_ACEOF
22545 \`$as_me' instantiates files from templates according to the
22546 current configuration.
22548 Usage: $0 [OPTIONS] [FILE]...
22550 -h, --help print this help, then exit
22551 -V, --version print version number and configuration settings, then exit
22552 -q, --quiet do not print progress messages
22553 -d, --debug don't remove temporary files
22554 --recheck update $as_me by reconfiguring in the same conditions
22555 --file=FILE[:TEMPLATE]
22556 instantiate the configuration file FILE
22557 --header=FILE[:TEMPLATE]
22558 instantiate the configuration header FILE
22560 Configuration files:
22563 Configuration headers:
22566 Configuration commands:
22569 Report bugs to <bug-autoconf@gnu.org>."
22572 cat >>$CONFIG_STATUS <<_ACEOF
22574 Barry OpenSync Plugin config.status 0.2
22575 configured by $0, generated by GNU Autoconf 2.61,
22576 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22578 Copyright (C) 2006 Free Software Foundation, Inc.
22579 This config.status script is free software; the Free Software Foundation
22580 gives unlimited permission to copy, distribute and modify it."
22587 cat >>$CONFIG_STATUS <<\_ACEOF
22588 # If no file are specified by the user, then we need to provide default
22589 # value. By we need to know if files were specified by the user.
22595 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22596 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22607 # Handling of the options.
22608 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22610 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22611 echo "$ac_cs_version"; exit ;;
22612 --debug |
--debu |
--deb |
--de |
--d |
-d )
22614 --file |
--fil |
--fi |
--f )
22616 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22617 ac_need_defaults
=false
;;
22618 --header |
--heade |
--head |
--hea )
22620 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22621 ac_need_defaults
=false
;;
22623 # Conflict between --help and --header
22624 { echo "$as_me: error: ambiguous option: $1
22625 Try \`$0 --help' for more information." >&2
22626 { (exit 1); exit 1; }; };;
22627 --help |
--hel |
-h )
22628 echo "$ac_cs_usage"; exit ;;
22629 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22630 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22633 # This is an error.
22634 -*) { echo "$as_me: error: unrecognized option: $1
22635 Try \`$0 --help' for more information." >&2
22636 { (exit 1); exit 1; }; } ;;
22638 *) ac_config_targets
="$ac_config_targets $1"
22639 ac_need_defaults
=false
;;
22645 ac_configure_extra_args
=
22647 if $ac_cs_silent; then
22649 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22653 cat >>$CONFIG_STATUS <<_ACEOF
22654 if \$ac_cs_recheck; then
22655 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22656 CONFIG_SHELL=$SHELL
22657 export CONFIG_SHELL
22658 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22662 cat >>$CONFIG_STATUS <<\_ACEOF
22666 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22667 ## Running $as_me. ##
22673 cat >>$CONFIG_STATUS <<_ACEOF
22677 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22681 cat >>$CONFIG_STATUS <<\_ACEOF
22683 # Handling of arguments.
22684 for ac_config_target
in $ac_config_targets
22686 case $ac_config_target in
22687 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22688 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22689 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22690 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
22692 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22693 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22694 { (exit 1); exit 1; }; };;
22699 # If the user did not use the arguments to specify the items to instantiate,
22700 # then the envvar interface is used. Set only those that are not.
22701 # We use the long form for the default assignment because of an extremely
22702 # bizarre bug on SunOS 4.1.3.
22703 if $ac_need_defaults; then
22704 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22705 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22706 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22709 # Have a temporary directory for convenience. Make it in the build tree
22710 # simply because there is no reason against having it here, and in addition,
22711 # creating and moving files from /tmp can sometimes cause problems.
22712 # Hook for its removal unless debugging.
22713 # Note that there is a small window in which the directory will not be cleaned:
22714 # after its creation but before its name has been assigned to `$tmp'.
22718 trap 'exit_status=$?
22719 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22721 trap '{ (exit 1); exit 1; }' 1 2 13 15
22723 # Create a (secure) tmp directory for tmp files.
22726 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22727 test -n "$tmp" && test -d "$tmp"
22730 tmp
=.
/conf$$
-$RANDOM
22731 (umask 077 && mkdir
"$tmp")
22734 echo "$me: cannot create a temporary directory in ." >&2
22735 { (exit 1); exit 1; }
22739 # Set up the sed scripts for CONFIG_FILES section.
22742 # No need to generate the scripts if there are no CONFIG_FILES.
22743 # This happens for instance when ./config.status config.h
22744 if test -n "$CONFIG_FILES"; then
22751 for ac_last_try
in false false false false false
:; do
22752 cat >conf$
$subs.
sed <<_ACEOF
22753 SHELL!$SHELL$ac_delim
22754 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22755 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22756 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22757 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22758 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22759 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22760 exec_prefix!$exec_prefix$ac_delim
22761 prefix!$prefix$ac_delim
22762 program_transform_name!$program_transform_name$ac_delim
22763 bindir!$bindir$ac_delim
22764 sbindir!$sbindir$ac_delim
22765 libexecdir!$libexecdir$ac_delim
22766 datarootdir!$datarootdir$ac_delim
22767 datadir!$datadir$ac_delim
22768 sysconfdir!$sysconfdir$ac_delim
22769 sharedstatedir!$sharedstatedir$ac_delim
22770 localstatedir!$localstatedir$ac_delim
22771 includedir!$includedir$ac_delim
22772 oldincludedir!$oldincludedir$ac_delim
22773 docdir!$docdir$ac_delim
22774 infodir!$infodir$ac_delim
22775 htmldir!$htmldir$ac_delim
22776 dvidir!$dvidir$ac_delim
22777 pdfdir!$pdfdir$ac_delim
22778 psdir!$psdir$ac_delim
22779 libdir!$libdir$ac_delim
22780 localedir!$localedir$ac_delim
22781 mandir!$mandir$ac_delim
22782 DEFS!$DEFS$ac_delim
22783 ECHO_C!$ECHO_C$ac_delim
22784 ECHO_N!$ECHO_N$ac_delim
22785 ECHO_T!$ECHO_T$ac_delim
22786 LIBS!$LIBS$ac_delim
22787 build_alias!$build_alias$ac_delim
22788 host_alias!$host_alias$ac_delim
22789 target_alias!$target_alias$ac_delim
22790 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22791 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22792 INSTALL_DATA!$INSTALL_DATA$ac_delim
22793 CYGPATH_W!$CYGPATH_W$ac_delim
22794 PACKAGE!$PACKAGE$ac_delim
22795 VERSION!$VERSION$ac_delim
22796 ACLOCAL!$ACLOCAL$ac_delim
22797 AUTOCONF!$AUTOCONF$ac_delim
22798 AUTOMAKE!$AUTOMAKE$ac_delim
22799 AUTOHEADER!$AUTOHEADER$ac_delim
22800 MAKEINFO!$MAKEINFO$ac_delim
22801 install_sh!$install_sh$ac_delim
22802 STRIP!$STRIP$ac_delim
22803 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22804 mkdir_p!$mkdir_p$ac_delim
22806 SET_MAKE!$SET_MAKE$ac_delim
22807 am__leading_dot!$am__leading_dot$ac_delim
22808 AMTAR!$AMTAR$ac_delim
22809 am__tar!$am__tar$ac_delim
22810 am__untar!$am__untar$ac_delim
22811 PKG_CONFIG!$PKG_CONFIG$ac_delim
22812 PACKAGE_CFLAGS!$PACKAGE_CFLAGS$ac_delim
22813 PACKAGE_LIBS!$PACKAGE_LIBS$ac_delim
22815 CFLAGS!$CFLAGS$ac_delim
22816 LDFLAGS!$LDFLAGS$ac_delim
22817 CPPFLAGS!$CPPFLAGS$ac_delim
22818 ac_ct_CC!$ac_ct_CC$ac_delim
22819 EXEEXT!$EXEEXT$ac_delim
22820 OBJEXT!$OBJEXT$ac_delim
22821 DEPDIR!$DEPDIR$ac_delim
22822 am__include!$am__include$ac_delim
22823 am__quote!$am__quote$ac_delim
22824 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22825 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22826 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22827 CCDEPMODE!$CCDEPMODE$ac_delim
22828 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22829 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22831 GREP!$GREP$ac_delim
22832 EGREP!$EGREP$ac_delim
22834 CXXFLAGS!$CXXFLAGS$ac_delim
22835 ac_ct_CXX!$ac_ct_CXX$ac_delim
22836 CXXDEPMODE!$CXXDEPMODE$ac_delim
22837 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22838 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22839 build!$build$ac_delim
22840 build_cpu!$build_cpu$ac_delim
22841 build_vendor!$build_vendor$ac_delim
22842 build_os!$build_os$ac_delim
22843 host!$host$ac_delim
22844 host_cpu!$host_cpu$ac_delim
22845 host_vendor!$host_vendor$ac_delim
22846 host_os!$host_os$ac_delim
22848 LN_S!$LN_S$ac_delim
22849 ECHO!$ECHO$ac_delim
22852 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22854 elif $ac_last_try; then
22855 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22856 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22857 { (exit 1); exit 1; }; }
22859 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22863 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22864 if test -n "$ac_eof"; then
22865 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22866 ac_eof
=`expr $ac_eof + 1`
22869 cat >>$CONFIG_STATUS <<_ACEOF
22870 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22871 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22874 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22875 s/^/s,@/; s/!/@,|#_!!_#|/
22878 s/'"$ac_delim"'$/,g/; t
22880 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22881 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22882 rm -f conf$
$subs.
sed
22883 cat >>$CONFIG_STATUS <<_ACEOF
22889 for ac_last_try
in false false false false false
:; do
22890 cat >conf$
$subs.
sed <<_ACEOF
22892 RANLIB!$RANLIB$ac_delim
22893 DSYMUTIL!$DSYMUTIL$ac_delim
22894 NMEDIT!$NMEDIT$ac_delim
22895 CXXCPP!$CXXCPP$ac_delim
22897 FFLAGS!$FFLAGS$ac_delim
22898 ac_ct_F77!$ac_ct_F77$ac_delim
22899 LIBTOOL!$LIBTOOL$ac_delim
22900 WITH_GCCVISIBILITY_TRUE!$WITH_GCCVISIBILITY_TRUE$ac_delim
22901 WITH_GCCVISIBILITY_FALSE!$WITH_GCCVISIBILITY_FALSE$ac_delim
22902 BARRY_CFLAGS!$BARRY_CFLAGS$ac_delim
22903 BARRY_LIBS!$BARRY_LIBS$ac_delim
22904 TREE_BUILD_CXXFLAGS!$TREE_BUILD_CXXFLAGS$ac_delim
22905 TREE_BUILD_LDFLAGS!$TREE_BUILD_LDFLAGS$ac_delim
22906 OPENSYNC_CONFIGDIR!$OPENSYNC_CONFIGDIR$ac_delim
22907 OPENSYNC_PLUGINDIR!$OPENSYNC_PLUGINDIR$ac_delim
22908 OPENSYNC_FORMATSDIR!$OPENSYNC_FORMATSDIR$ac_delim
22909 OPENSYNC_HEADERDIR!$OPENSYNC_HEADERDIR$ac_delim
22910 LIBOBJS!$LIBOBJS$ac_delim
22911 LTLIBOBJS!$LTLIBOBJS$ac_delim
22914 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then
22916 elif $ac_last_try; then
22917 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22918 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22919 { (exit 1); exit 1; }; }
22921 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22925 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22926 if test -n "$ac_eof"; then
22927 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22928 ac_eof
=`expr $ac_eof + 1`
22931 cat >>$CONFIG_STATUS <<_ACEOF
22932 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22933 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22936 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22937 s/^/s,@/; s/!/@,|#_!!_#|/
22940 s/'"$ac_delim"'$/,g/; t
22942 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22943 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22944 rm -f conf$
$subs.
sed
22945 cat >>$CONFIG_STATUS <<_ACEOF
22952 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22953 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22954 # trailing colons and then remove the whole line if VPATH becomes empty
22955 # (actually we leave an empty line to preserve line numbers).
22956 if test "x$srcdir" = x.
; then
22957 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22958 s/:*\$(srcdir):*/:/
22959 s/:*\${srcdir}:*/:/
22961 s/^\([^=]*=[ ]*\):*/\1/
22967 cat >>$CONFIG_STATUS <<\_ACEOF
22968 fi # test -n "$CONFIG_FILES"
22971 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22974 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22976 case $ac_mode$ac_tag in
22978 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22979 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22980 { (exit 1); exit 1; }; };;
22981 :[FH
]-) ac_tag
=-:-;;
22982 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22999 -) ac_f
="$tmp/stdin";;
23000 *) # Look for the file first in the build tree, then in the source tree
23001 # (if the path is not absolute). The absolute path cannot be DOS-style,
23002 # because $ac_f cannot contain `:'.
23006 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23008 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23009 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23010 { (exit 1); exit 1; }; };;
23012 ac_file_inputs
="$ac_file_inputs $ac_f"
23015 # Let's still pretend it is `configure' which instantiates (i.e., don't
23016 # use $as_me), people would be surprised to read:
23017 # /* config.h. Generated by config.status. */
23018 configure_input
="Generated from "`IFS=:
23019 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23020 if test x
"$ac_file" != x-
; then
23021 configure_input
="$ac_file. $configure_input"
23022 { echo "$as_me:$LINENO: creating $ac_file" >&5
23023 echo "$as_me: creating $ac_file" >&6;}
23027 *:-:* |
*:-) cat >"$tmp/stdin";;
23032 ac_dir
=`$as_dirname -- "$ac_file" ||
23033 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23034 X"$ac_file" : 'X\(//\)[^/]' \| \
23035 X"$ac_file" : 'X\(//\)$' \| \
23036 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23042 /^X\(\/\/\)[^/].*/{
23057 -*) as_dir
=.
/$as_dir;;
23059 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23063 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23064 *) as_qdir
=$as_dir;;
23066 as_dirs
="'$as_qdir' $as_dirs"
23067 as_dir
=`$as_dirname -- "$as_dir" ||
23068 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23069 X"$as_dir" : 'X\(//\)[^/]' \| \
23070 X"$as_dir" : 'X\(//\)$' \| \
23071 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23077 /^X\(\/\/\)[^/].*/{
23090 test -d "$as_dir" && break
23092 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23093 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23094 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23095 { (exit 1); exit 1; }; }; }
23099 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23101 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23102 # A ".." for each directory in $ac_dir_suffix.
23103 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23104 case $ac_top_builddir_sub in
23105 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23106 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23109 ac_abs_top_builddir
=$ac_pwd
23110 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23111 # for backward compatibility:
23112 ac_top_builddir
=$ac_top_build_prefix
23115 .
) # We are building in place.
23117 ac_top_srcdir
=$ac_top_builddir_sub
23118 ac_abs_top_srcdir
=$ac_pwd ;;
23119 [\\/]* | ?
:[\\/]* ) # Absolute name.
23120 ac_srcdir
=$srcdir$ac_dir_suffix;
23121 ac_top_srcdir
=$srcdir
23122 ac_abs_top_srcdir
=$srcdir ;;
23123 *) # Relative name.
23124 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23125 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23126 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23128 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23138 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23139 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23143 cat >>$CONFIG_STATUS <<\_ACEOF
23144 # If the template does not know about datarootdir, expand it.
23145 # FIXME: This hack should be removed a few years after 2.60.
23146 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23148 case `sed -n '/datarootdir/ {
23157 ' $ac_file_inputs` in
23158 *datarootdir
*) ac_datarootdir_seen
=yes;;
23159 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23160 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23161 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23163 cat >>$CONFIG_STATUS <<_ACEOF
23164 ac_datarootdir_hack='
23165 s&@datadir@&$datadir&g
23166 s&@docdir@&$docdir&g
23167 s&@infodir@&$infodir&g
23168 s&@localedir@&$localedir&g
23169 s&@mandir@&$mandir&g
23170 s&\\\${datarootdir}&$datarootdir&g' ;;
23174 # Neutralize VPATH when `$srcdir' = `.'.
23175 # Shell code in configure.ac might set extrasub.
23176 # FIXME: do we really want to maintain this feature?
23177 cat >>$CONFIG_STATUS <<_ACEOF
23181 cat >>$CONFIG_STATUS <<\_ACEOF
23183 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23184 s
&@configure_input@
&$configure_input&;t t
23185 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23186 s
&@srcdir@
&$ac_srcdir&;t t
23187 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23188 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23189 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23190 s
&@builddir@
&$ac_builddir&;t t
23191 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23192 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23193 s
&@INSTALL@
&$ac_INSTALL&;t t
23194 $ac_datarootdir_hack
23195 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23197 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23198 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23199 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23200 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23201 which seems to be undefined. Please make sure it is defined." >&5
23202 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23203 which seems to be undefined. Please make sure it is defined." >&2;}
23207 -) cat "$tmp/out"; rm -f "$tmp/out";;
23208 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23217 # Transform confdefs.h into a sed script `conftest.defines', that
23218 # substitutes the proper values into config.h.in to produce config.h.
23219 rm -f conftest.defines conftest.
tail
23220 # First, append a space to every undef/define line, to ease matching.
23221 echo 's/$/ /' >conftest.defines
23222 # Then, protect against being on the right side of a sed subst, or in
23223 # an unquoted here document, in config.status. If some macros were
23224 # called several times there might be several #defines for the same
23225 # symbol, which is useless. But do not sort them, since the last
23226 # AC_DEFINE must be honored.
23227 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23228 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23229 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23230 # PARAMS is the parameter list in the macro definition--in most cases, it's
23231 # just an empty string.
23232 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23233 ac_dB
='\\)[ (].*,\\1define\\2'
23241 s/^[ ]*#[ ]*define[ ][ ]*//
23246 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23247 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23248 ' >>conftest.defines
23250 # Remove the space that was appended to ease matching.
23251 # Then replace #undef with comments. This is necessary, for
23252 # example, in the case of _POSIX_SOURCE, which is predefined and required
23253 # on some systems where configure will not decide to define it.
23254 # (The regexp can be short, since the line contains either #define or #undef.)
23256 s,^[ #]*u.*,/* & */,' >>conftest.defines
23258 # Break up conftest.defines:
23259 ac_max_sed_lines
=50
23261 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23262 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23263 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23265 ac_in
='$ac_file_inputs'
23266 ac_out
='"$tmp/out1"'
23267 ac_nxt
='"$tmp/out2"'
23271 # Write a here document:
23272 cat >>$CONFIG_STATUS <<_ACEOF
23273 # First, check the format of the line:
23274 cat >"\$tmp/defines.sed" <<\\CEOF
23275 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23276 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23280 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23282 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23283 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23284 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23285 grep . conftest.
tail >/dev
/null ||
break
23286 rm -f conftest.defines
23287 mv conftest.
tail conftest.defines
23289 rm -f conftest.defines conftest.
tail
23291 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23292 cat >>$CONFIG_STATUS <<\_ACEOF
23293 if test x
"$ac_file" != x-
; then
23294 echo "/* $configure_input */" >"$tmp/config.h"
23295 cat "$ac_result" >>"$tmp/config.h"
23296 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23297 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23298 echo "$as_me: $ac_file is unchanged" >&6;}
23301 mv "$tmp/config.h" $ac_file
23304 echo "/* $configure_input */"
23308 # Compute $ac_file's index in $config_headers.
23310 for _am_header
in $config_headers :; do
23311 case $_am_header in
23312 $ac_file |
$ac_file:* )
23315 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23318 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23319 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23320 X$ac_file : 'X\(//\)[^/]' \| \
23321 X$ac_file : 'X\(//\)$' \| \
23322 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23328 /^X\(\/\/\)[^/].*/{
23340 s/.*/./; q'`/stamp-h
$_am_stamp_count
23343 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23344 echo "$as_me: executing $ac_file commands" >&6;}
23349 case $ac_file$ac_mode in
23350 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23351 # Strip MF so we end up with the name of the file.
23352 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23353 # Check whether this is an Automake generated Makefile or not.
23354 # We used to match only the files named `Makefile.in', but
23355 # some people rename them; so instead we look at the file content.
23356 # Grep'ing the first line is not enough: some people post-process
23357 # each Makefile.in and add a new line on top of each file to say so.
23358 # So let's grep whole file.
23359 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
23360 dirpart
=`$as_dirname -- "$mf" ||
23361 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23362 X"$mf" : 'X\(//\)[^/]' \| \
23363 X"$mf" : 'X\(//\)$' \| \
23364 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23370 /^X\(\/\/\)[^/].*/{
23386 # Extract the definition of DEPDIR, am__include, and am__quote
23387 # from the Makefile without running `make'.
23388 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23389 test -z "$DEPDIR" && continue
23390 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23391 test -z "am__include" && continue
23392 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23393 # When using ansi2knr, U may be empty or an underscore; expand it
23394 U
=`sed -n 's/^U = //p' < "$mf"`
23395 # Find all dependency output files, they are included files with
23396 # $(DEPDIR) in their names. We invoke sed twice because it is the
23397 # simplest approach to changing $(DEPDIR) to its actual value in the
23399 for file in `sed -n "
23400 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23401 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23402 # Make sure the directory exists.
23403 test -f "$dirpart/$file" && continue
23404 fdir
=`$as_dirname -- "$file" ||
23405 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23406 X"$file" : 'X\(//\)[^/]' \| \
23407 X"$file" : 'X\(//\)$' \| \
23408 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23414 /^X\(\/\/\)[^/].*/{
23427 { as_dir
=$dirpart/$fdir
23429 -*) as_dir
=.
/$as_dir;;
23431 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23435 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23436 *) as_qdir
=$as_dir;;
23438 as_dirs
="'$as_qdir' $as_dirs"
23439 as_dir
=`$as_dirname -- "$as_dir" ||
23440 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23441 X"$as_dir" : 'X\(//\)[^/]' \| \
23442 X"$as_dir" : 'X\(//\)$' \| \
23443 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23449 /^X\(\/\/\)[^/].*/{
23462 test -d "$as_dir" && break
23464 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23465 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23466 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23467 { (exit 1); exit 1; }; }; }
23468 # echo "creating $dirpart/$file"
23469 echo '# dummy' > "$dirpart/$file"
23478 { (exit 0); exit 0; }
23480 chmod +x
$CONFIG_STATUS
23481 ac_clean_files
=$ac_clean_files_save
23484 # configure is writing to config.log, and then calls config.status.
23485 # config.status does its own redirection, appending to config.log.
23486 # Unfortunately, on DOS this fails, as config.log is still kept open
23487 # by configure, so config.status won't be able to write to it; its
23488 # output is simply discarded. So we exec the FD to /dev/null,
23489 # effectively closing config.log, so it can be properly (re)opened and
23490 # appended to by config.status. When coming back to configure, we
23491 # need to make the FD available again.
23492 if test "$no_create" != yes; then
23494 ac_config_status_args
=
23495 test "$silent" = yes &&
23496 ac_config_status_args
="$ac_config_status_args --quiet"
23498 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23500 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23501 # would make configure fail if this is the last instruction.
23502 $ac_cs_success ||
{ (exit 1); exit 1; }