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
882 ac_precious_vars
='build_alias
904 # Initialize some variables set by options.
906 ac_init_version
=false
907 # The variables have the same names as the options, with
908 # dashes changed to underlines.
916 program_transform_name
=s
,x
,x
,
924 # Installation directory options.
925 # These are left unexpanded so users can "make install exec_prefix=/foo"
926 # and all the variables that are supposed to be based on exec_prefix
927 # by default will actually change.
928 # Use braces instead of parens because sh, perl, etc. also accept them.
929 # (The list follows the same order as the GNU Coding Standards.)
930 bindir
='${exec_prefix}/bin'
931 sbindir
='${exec_prefix}/sbin'
932 libexecdir
='${exec_prefix}/libexec'
933 datarootdir
='${prefix}/share'
934 datadir
='${datarootdir}'
935 sysconfdir
='${prefix}/etc'
936 sharedstatedir
='${prefix}/com'
937 localstatedir
='${prefix}/var'
938 includedir
='${prefix}/include'
939 oldincludedir
='/usr/include'
940 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
941 infodir
='${datarootdir}/info'
946 libdir
='${exec_prefix}/lib'
947 localedir
='${datarootdir}/locale'
948 mandir
='${datarootdir}/man'
954 # If the previous option needs an argument, assign it.
955 if test -n "$ac_prev"; then
956 eval $ac_prev=\
$ac_option
962 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
966 # Accept the important Cygnus configure options, so we can diagnose typos.
968 case $ac_dashdash$ac_option in
972 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
974 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
977 -build |
--build |
--buil |
--bui |
--bu)
978 ac_prev
=build_alias
;;
979 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
980 build_alias
=$ac_optarg ;;
982 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
983 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
984 ac_prev
=cache_file
;;
985 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
986 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
987 cache_file
=$ac_optarg ;;
990 cache_file
=config.cache
;;
992 -datadir |
--datadir |
--datadi |
--datad)
994 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
995 datadir
=$ac_optarg ;;
997 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
998 |
--dataroo |
--dataro |
--datar)
999 ac_prev
=datarootdir
;;
1000 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1001 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1002 datarootdir
=$ac_optarg ;;
1004 -disable-* |
--disable-*)
1005 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1008 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1009 { (exit 1); exit 1; }; }
1010 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1011 eval enable_
$ac_feature=no
;;
1013 -docdir |
--docdir |
--docdi |
--doc |
--do)
1015 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1016 docdir
=$ac_optarg ;;
1018 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1020 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1021 dvidir
=$ac_optarg ;;
1023 -enable-* |
--enable-*)
1024 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1027 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1028 { (exit 1); exit 1; }; }
1029 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1030 eval enable_
$ac_feature=\
$ac_optarg ;;
1032 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1033 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1034 |
--exec |
--exe |
--ex)
1035 ac_prev
=exec_prefix
;;
1036 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1037 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1038 |
--exec=* |
--exe=* |
--ex=*)
1039 exec_prefix
=$ac_optarg ;;
1041 -gas |
--gas |
--ga |
--g)
1042 # Obsolete; use --with-gas.
1045 -help |
--help |
--hel |
--he |
-h)
1046 ac_init_help
=long
;;
1047 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1048 ac_init_help
=recursive
;;
1049 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1050 ac_init_help
=short
;;
1052 -host |
--host |
--hos |
--ho)
1053 ac_prev
=host_alias
;;
1054 -host=* |
--host=* |
--hos=* |
--ho=*)
1055 host_alias
=$ac_optarg ;;
1057 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1059 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1061 htmldir
=$ac_optarg ;;
1063 -includedir |
--includedir |
--includedi |
--included |
--include \
1064 |
--includ |
--inclu |
--incl |
--inc)
1065 ac_prev
=includedir
;;
1066 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1067 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1068 includedir
=$ac_optarg ;;
1070 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1072 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1073 infodir
=$ac_optarg ;;
1075 -libdir |
--libdir |
--libdi |
--libd)
1077 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1078 libdir
=$ac_optarg ;;
1080 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1081 |
--libexe |
--libex |
--libe)
1082 ac_prev
=libexecdir
;;
1083 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1084 |
--libexe=* |
--libex=* |
--libe=*)
1085 libexecdir
=$ac_optarg ;;
1087 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1088 ac_prev
=localedir
;;
1089 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1090 localedir
=$ac_optarg ;;
1092 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1093 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1094 ac_prev
=localstatedir
;;
1095 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1096 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1097 localstatedir
=$ac_optarg ;;
1099 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1101 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1102 mandir
=$ac_optarg ;;
1104 -nfp |
--nfp |
--nf)
1105 # Obsolete; use --without-fp.
1108 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1109 |
--no-cr |
--no-c |
-n)
1112 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1113 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1116 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1117 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1118 |
--oldin |
--oldi |
--old |
--ol |
--o)
1119 ac_prev
=oldincludedir
;;
1120 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1121 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1122 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1123 oldincludedir
=$ac_optarg ;;
1125 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1127 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1128 prefix
=$ac_optarg ;;
1130 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1131 |
--program-pre |
--program-pr |
--program-p)
1132 ac_prev
=program_prefix
;;
1133 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1134 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1135 program_prefix
=$ac_optarg ;;
1137 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1138 |
--program-suf |
--program-su |
--program-s)
1139 ac_prev
=program_suffix
;;
1140 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1141 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1142 program_suffix
=$ac_optarg ;;
1144 -program-transform-name |
--program-transform-name \
1145 |
--program-transform-nam |
--program-transform-na \
1146 |
--program-transform-n |
--program-transform- \
1147 |
--program-transform |
--program-transfor \
1148 |
--program-transfo |
--program-transf \
1149 |
--program-trans |
--program-tran \
1150 |
--progr-tra |
--program-tr |
--program-t)
1151 ac_prev
=program_transform_name
;;
1152 -program-transform-name=* |
--program-transform-name=* \
1153 |
--program-transform-nam=* |
--program-transform-na=* \
1154 |
--program-transform-n=* |
--program-transform-=* \
1155 |
--program-transform=* |
--program-transfor=* \
1156 |
--program-transfo=* |
--program-transf=* \
1157 |
--program-trans=* |
--program-tran=* \
1158 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1159 program_transform_name
=$ac_optarg ;;
1161 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1163 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1164 pdfdir
=$ac_optarg ;;
1166 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1168 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1171 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1172 |
-silent |
--silent |
--silen |
--sile |
--sil)
1175 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1177 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1179 sbindir
=$ac_optarg ;;
1181 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1182 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1183 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1185 ac_prev
=sharedstatedir
;;
1186 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1187 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1188 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1190 sharedstatedir
=$ac_optarg ;;
1192 -site |
--site |
--sit)
1194 -site=* |
--site=* |
--sit=*)
1197 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1199 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1200 srcdir
=$ac_optarg ;;
1202 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1203 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1204 ac_prev
=sysconfdir
;;
1205 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1206 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1207 sysconfdir
=$ac_optarg ;;
1209 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1210 ac_prev
=target_alias
;;
1211 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1212 target_alias
=$ac_optarg ;;
1214 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1217 -version |
--version |
--versio |
--versi |
--vers |
-V)
1218 ac_init_version
=: ;;
1221 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1224 { echo "$as_me: error: invalid package name: $ac_package" >&2
1225 { (exit 1); exit 1; }; }
1226 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1227 eval with_
$ac_package=\
$ac_optarg ;;
1229 -without-* |
--without-*)
1230 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1233 { echo "$as_me: error: invalid package name: $ac_package" >&2
1234 { (exit 1); exit 1; }; }
1235 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1236 eval with_
$ac_package=no
;;
1239 # Obsolete; use --with-x.
1242 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1243 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1244 ac_prev
=x_includes
;;
1245 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1246 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1247 x_includes
=$ac_optarg ;;
1249 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1250 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1251 ac_prev
=x_libraries
;;
1252 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1253 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1254 x_libraries
=$ac_optarg ;;
1256 -*) { echo "$as_me: error: unrecognized option: $ac_option
1257 Try \`$0 --help' for more information." >&2
1258 { (exit 1); exit 1; }; }
1262 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1265 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1266 { (exit 1); exit 1; }; }
1267 eval $ac_envvar=\
$ac_optarg
1268 export $ac_envvar ;;
1271 # FIXME: should be removed in autoconf 3.0.
1272 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1273 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1274 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1275 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1281 if test -n "$ac_prev"; then
1282 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1283 { echo "$as_me: error: missing argument to $ac_option" >&2
1284 { (exit 1); exit 1; }; }
1287 # Be sure to have absolute directory names.
1288 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1289 datadir sysconfdir sharedstatedir localstatedir includedir \
1290 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1291 libdir localedir mandir
1293 eval ac_val
=\$
$ac_var
1295 [\\/$
]* | ?
:[\\/]* ) continue;;
1296 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1298 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1299 { (exit 1); exit 1; }; }
1302 # There might be people who depend on the old broken behavior: `$host'
1303 # used to hold the argument of --host etc.
1304 # FIXME: To remove some day.
1307 target
=$target_alias
1309 # FIXME: To remove some day.
1310 if test "x$host_alias" != x
; then
1311 if test "x$build_alias" = x
; then
1312 cross_compiling
=maybe
1313 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1314 If a cross compiler is detected then cross compile mode will be used." >&2
1315 elif test "x$build_alias" != "x$host_alias"; then
1321 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1323 test "$silent" = yes && exec 6>/dev
/null
1326 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1327 ac_ls_di
=`ls -di .` &&
1328 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1329 { echo "$as_me: error: Working directory cannot be determined" >&2
1330 { (exit 1); exit 1; }; }
1331 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332 { echo "$as_me: error: pwd does not report name of working directory" >&2
1333 { (exit 1); exit 1; }; }
1336 # Find the source files, if location was not specified.
1337 if test -z "$srcdir"; then
1338 ac_srcdir_defaulted
=yes
1339 # Try the directory containing this script, then the parent directory.
1340 ac_confdir
=`$as_dirname -- "$0" ||
1341 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342 X"$0" : 'X\(//\)[^/]' \| \
1343 X"$0" : 'X\(//\)$' \| \
1344 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1368 ac_srcdir_defaulted
=no
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1371 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1372 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1373 { (exit 1); exit 1; }; }
1375 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1377 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1378 { (exit 1); exit 1; }; }
1380 # When building in place, set srcdir=.
1381 if test "$ac_abs_confdir" = "$ac_pwd"; then
1384 # Remove unnecessary trailing slashes from srcdir.
1385 # Double slashes in file names in object file debugging info
1386 # mess up M-x gdb in Emacs.
1388 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1390 for ac_var
in $ac_precious_vars; do
1391 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1392 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1393 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1394 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1398 # Report the --help message.
1400 if test "$ac_init_help" = "long"; then
1401 # Omit some internal or obsolete options to make the list less imposing.
1402 # This message is too long to be a string in the A/UX 3.1 sh.
1404 \`configure' configures Barry OpenSync Plugin 0.2 to adapt to many kinds of systems.
1406 Usage: $0 [OPTION]... [VAR=VALUE]...
1408 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1409 VAR=VALUE. See below for descriptions of some of the useful variables.
1411 Defaults for the options are specified in brackets.
1414 -h, --help display this help and exit
1415 --help=short display options specific to this package
1416 --help=recursive display the short help of all the included packages
1417 -V, --version display version information and exit
1418 -q, --quiet, --silent do not print \`checking...' messages
1419 --cache-file=FILE cache test results in FILE [disabled]
1420 -C, --config-cache alias for \`--cache-file=config.cache'
1421 -n, --no-create do not create output files
1422 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1424 Installation directories:
1425 --prefix=PREFIX install architecture-independent files in PREFIX
1426 [$ac_default_prefix]
1427 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1430 By default, \`make install' will install all the files in
1431 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1432 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1433 for instance \`--prefix=\$HOME'.
1435 For better control, use the options below.
1437 Fine tuning of the installation directories:
1438 --bindir=DIR user executables [EPREFIX/bin]
1439 --sbindir=DIR system admin executables [EPREFIX/sbin]
1440 --libexecdir=DIR program executables [EPREFIX/libexec]
1441 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1442 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1443 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1444 --libdir=DIR object code libraries [EPREFIX/lib]
1445 --includedir=DIR C header files [PREFIX/include]
1446 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1447 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1448 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1449 --infodir=DIR info documentation [DATAROOTDIR/info]
1450 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1451 --mandir=DIR man documentation [DATAROOTDIR/man]
1452 --docdir=DIR documentation root [DATAROOTDIR/doc/barryplugin]
1453 --htmldir=DIR html documentation [DOCDIR]
1454 --dvidir=DIR dvi documentation [DOCDIR]
1455 --pdfdir=DIR pdf documentation [DOCDIR]
1456 --psdir=DIR ps documentation [DOCDIR]
1462 --program-prefix=PREFIX prepend PREFIX to installed program names
1463 --program-suffix=SUFFIX append SUFFIX to installed program names
1464 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1467 --build=BUILD configure
for building on BUILD
[guessed
]
1468 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1472 if test -n "$ac_init_help"; then
1473 case $ac_init_help in
1474 short | recursive
) echo "Configuration of Barry OpenSync Plugin 0.2:";;
1479 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1480 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1481 --disable-dependency-tracking speeds up one-time build
1482 --enable-dependency-tracking do not reject slow dependency extractors
1483 --enable-static[=PKGS
] build static libraries
[default
=no
]
1484 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1485 --enable-fast-install[=PKGS
]
1486 optimize
for fast installation
[default
=yes]
1487 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1490 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1491 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1492 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1493 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1495 --with-tags[=TAGS
] include additional configurations
[automatic
]
1497 Some influential environment variables
:
1498 PKG_CONFIG path to pkg-config utility
1500 C compiler flags
for PACKAGE
, overriding pkg-config
1502 linker flags
for PACKAGE
, overriding pkg-config
1503 CC C compiler
command
1504 CFLAGS C compiler flags
1505 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1506 nonstandard directory
<lib dir
>
1507 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1508 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1509 you have headers
in a nonstandard directory
<include dir
>
1511 CXX C
++ compiler
command
1512 CXXFLAGS C
++ compiler flags
1513 CXXCPP C
++ preprocessor
1514 F77 Fortran
77 compiler
command
1515 FFLAGS Fortran
77 compiler flags
1517 C compiler flags
for BARRY
, overriding pkg-config
1518 BARRY_LIBS linker flags
for BARRY
, overriding pkg-config
1520 Use these variables to override the choices made by
`configure' or to help
1521 it to find libraries and programs with nonstandard names/locations.
1527 if test "$ac_init_help" = "recursive"; then
1528 # If there are subdirs, report their specific --help.
1529 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1530 test -d "$ac_dir" || continue
1534 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1537 # A ".." for each directory in $ac_dir_suffix.
1538 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1539 case $ac_top_builddir_sub in
1540 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1544 ac_abs_top_builddir=$ac_pwd
1545 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1546 # for backward compatibility:
1547 ac_top_builddir=$ac_top_build_prefix
1550 .) # We are building in place.
1552 ac_top_srcdir=$ac_top_builddir_sub
1553 ac_abs_top_srcdir=$ac_pwd ;;
1554 [\\/]* | ?:[\\/]* ) # Absolute name.
1555 ac_srcdir=$srcdir$ac_dir_suffix;
1556 ac_top_srcdir=$srcdir
1557 ac_abs_top_srcdir=$srcdir ;;
1559 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1560 ac_top_srcdir=$ac_top_build_prefix$srcdir
1561 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1563 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1565 cd "$ac_dir" || { ac_status=$?; continue; }
1566 # Check for guested configure.
1567 if test -f "$ac_srcdir/configure.gnu"; then
1569 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1570 elif test -f "$ac_srcdir/configure"; then
1572 $SHELL "$ac_srcdir/configure" --help=recursive
1574 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1576 cd "$ac_pwd" || { ac_status=$?; break; }
1580 test -n "$ac_init_help" && exit $ac_status
1581 if $ac_init_version; then
1583 Barry OpenSync Plugin configure 0.2
1584 generated by GNU Autoconf 2.61
1586 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1587 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1588 This configure script is free software; the Free Software Foundation
1589 gives unlimited permission to copy, distribute and modify it.
1593 cat >config.log <<_ACEOF
1594 This file contains any messages produced by compilers while
1595 running configure, to aid debugging if configure makes a mistake.
1597 It was created by Barry OpenSync Plugin $as_me 0.2, which was
1598 generated by GNU Autoconf 2.61. Invocation command line was
1610 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1611 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1612 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1613 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1614 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1616 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1617 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1619 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1620 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1621 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1622 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1623 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1624 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1625 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1633 test -z "$as_dir" && as_dir=.
1634 echo "PATH: $as_dir"
1650 # Keep a trace of the command line.
1651 # Strip out --no-create and --no-recursion so they do not pile up.
1652 # Strip out --silent because we don't want to record it for future runs.
1653 # Also quote any args containing shell meta-characters.
1654 # Make two passes to allow for proper duplicate-argument suppression.
1658 ac_must_keep_next=false
1664 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1665 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1666 | -silent | --silent | --silen | --sile | --sil)
1669 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1672 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1674 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1675 if test $ac_must_keep_next = true; then
1676 ac_must_keep_next=false # Got value, back to normal.
1679 *=* | --config-cache | -C | -disable-* | --disable-* \
1680 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1681 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1682 | -with-* | --with-* | -without-* | --without-* | --x)
1683 case "$ac_configure_args0 " in
1684 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1687 -* ) ac_must_keep_next=true ;;
1690 ac_configure_args="$ac_configure_args '$ac_arg'"
1695 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1696 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1698 # When interrupted or exit'd, cleanup temporary files, and complete
1699 # config.log. We remove comments because anyway the quotes in there
1700 # would cause problems or look ugly.
1701 # WARNING: Use '\'' to represent an apostrophe within the trap.
1702 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1703 trap 'exit_status=$?
1704 # Save into config.log some information that might help in debugging.
1709 ## ---------------- ##
1710 ## Cache variables. ##
1711 ## ---------------- ##
1714 # The following way of writing the cache mishandles newlines in values,
1716 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1717 eval ac_val=\$$ac_var
1721 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1722 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1725 _ | IFS | as_nl) ;; #(
1726 *) $as_unset $ac_var ;;
1731 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1732 *${as_nl}ac_space=\ *)
1734 "s/'\''/'\''\\\\'\'''\''/g;
1735 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1738 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1746 ## ----------------- ##
1747 ## Output variables. ##
1748 ## ----------------- ##
1751 for ac_var in $ac_subst_vars
1753 eval ac_val=\$$ac_var
1755 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1757 echo "$ac_var='\''$ac_val'\''"
1761 if test -n "$ac_subst_files"; then
1763 ## ------------------- ##
1764 ## File substitutions. ##
1765 ## ------------------- ##
1768 for ac_var in $ac_subst_files
1770 eval ac_val=\$$ac_var
1772 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1774 echo "$ac_var='\''$ac_val'\''"
1779 if test -s confdefs.h; then
1789 test "$ac_signal" != 0 &&
1790 echo "$as_me: caught signal $ac_signal"
1791 echo "$as_me: exit $exit_status"
1793 rm -f core *.core core.conftest.* &&
1794 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1797 for ac_signal in 1 2 13 15; do
1798 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1802 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1803 rm -f -r conftest* confdefs.h
1805 # Predefined preprocessor variables.
1807 cat >>confdefs.h <<_ACEOF
1808 #define PACKAGE_NAME "$PACKAGE_NAME"
1812 cat >>confdefs.h <<_ACEOF
1813 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1817 cat >>confdefs.h <<_ACEOF
1818 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1822 cat >>confdefs.h <<_ACEOF
1823 #define PACKAGE_STRING "$PACKAGE_STRING"
1827 cat >>confdefs.h <<_ACEOF
1828 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1832 # Let the site file select an alternate cache file if it wants to.
1833 # Prefer explicitly selected file to automatically selected ones.
1834 if test -n "$CONFIG_SITE"; then
1835 set x "$CONFIG_SITE"
1836 elif test "x$prefix" != xNONE; then
1837 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1839 set x "$ac_default_prefix/share/config.site" \
1840 "$ac_default_prefix/etc/config.site"
1845 if test -r "$ac_site_file"; then
1846 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1847 echo "$as_me: loading site script $ac_site_file" >&6;}
1848 sed 's/^/| /' "$ac_site_file" >&5
1853 if test -r "$cache_file"; then
1854 # Some versions of bash will fail to source /dev/null (special
1855 # files actually), so we avoid doing that.
1856 if test -f "$cache_file"; then
1857 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1858 echo "$as_me: loading cache $cache_file" >&6;}
1860 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1861 *) . "./$cache_file";;
1865 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1866 echo "$as_me: creating cache $cache_file" >&6;}
1870 # Check that the precious variables saved in the cache have kept the same
1872 ac_cache_corrupted=false
1873 for ac_var in $ac_precious_vars; do
1874 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1875 eval ac_new_set=\$ac_env_${ac_var}_set
1876 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1877 eval ac_new_val=\$ac_env_${ac_var}_value
1878 case $ac_old_set,$ac_new_set in
1880 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1881 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1882 ac_cache_corrupted=: ;;
1884 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1885 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1886 ac_cache_corrupted=: ;;
1889 if test "x$ac_old_val" != "x$ac_new_val"; then
1890 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1891 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1892 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1893 echo "$as_me: former value
: $ac_old_val" >&2;}
1894 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1895 echo "$as_me: current value
: $ac_new_val" >&2;}
1896 ac_cache_corrupted=:
1899 # Pass precious variables to config.status.
1900 if test "$ac_new_set" = set; then
1902 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1903 *) ac_arg=$ac_var=$ac_new_val ;;
1905 case " $ac_configure_args " in
1906 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1907 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1911 if $ac_cache_corrupted; then
1912 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1913 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1914 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1915 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1916 { (exit 1); exit 1; }; }
1944 ac_cpp='$CPP $CPPFLAGS'
1945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1950 am__api_version="1.9"
1952 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1953 if test -f "$ac_dir/install-sh"; then
1955 ac_install_sh="$ac_aux_dir/install-sh -c"
1957 elif test -f "$ac_dir/install.sh"; then
1959 ac_install_sh="$ac_aux_dir/install.sh -c"
1961 elif test -f "$ac_dir/shtool"; then
1963 ac_install_sh="$ac_aux_dir/shtool install -c"
1967 if test -z "$ac_aux_dir"; then
1968 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1969 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1970 { (exit 1); exit 1; }; }
1973 # These three variables are undocumented and unsupported,
1974 # and are intended to be withdrawn in a future Autoconf release.
1975 # They can cause serious problems if a builder's source tree is in a directory
1976 # whose full name contains unusual characters.
1977 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1978 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1979 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1982 # Find a good install program. We prefer a C program (faster),
1983 # so one script is as good as another. But avoid the broken or
1984 # incompatible versions:
1985 # SysV /etc/install, /usr/sbin/install
1986 # SunOS /usr/etc/install
1987 # IRIX /sbin/install
1989 # AmigaOS /C/install, which installs bootblocks on floppy discs
1990 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1991 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1992 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1993 # OS/2's system install, which has a completely different semantic
1994 # ./install, which can be erroneously created by make from ./install.sh.
1995 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1996 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1997 if test -z "$INSTALL"; then
1998 if test "${ac_cv_path_install+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2005 test -z "$as_dir" && as_dir=.
2006 # Account for people who put trailing slashes in PATH elements.
2008 ./ | .// | /cC/* | \
2009 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2010 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2013 # OSF1 and SCO ODT 3.0 have their own names for install.
2014 # Don't use installbsd from OSF since it installs stuff as root
2016 for ac_prog in ginstall scoinst install; do
2017 for ac_exec_ext in '' $ac_executable_extensions; do
2018 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2019 if test $ac_prog = install &&
2020 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2021 # AIX install. It has an incompatible calling convention.
2023 elif test $ac_prog = install &&
2024 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2025 # program-specific install script used by HP pwplus--don't use.
2028 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2041 if test "${ac_cv_path_install+set}" = set; then
2042 INSTALL=$ac_cv_path_install
2044 # As a last resort, use the slow shell script. Don't cache a
2045 # value for INSTALL within a source directory, because that will
2046 # break other packages using the cache if that directory is
2047 # removed, or if the value is a relative name.
2048 INSTALL=$ac_install_sh
2051 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2052 echo "${ECHO_T}$INSTALL" >&6; }
2054 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2055 # It thinks the first close brace ends the variable substitution.
2056 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2058 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2060 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2062 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2063 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2066 echo timestamp > conftest.file
2067 # Do `set' in a subshell so we don't clobber the current shell
's
2068 # arguments. Must try -L first in case configure is actually a
2069 # symlink; some systems play weird games with the mod time of symlinks
2070 # (eg FreeBSD returns the mod time of the symlink's containing
2073 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2074 if test "$*" = "X"; then
2076 set X
`ls -t $srcdir/configure conftest.file`
2079 if test "$*" != "X $srcdir/configure conftest.file" \
2080 && test "$*" != "X conftest.file $srcdir/configure"; then
2082 # If neither matched, then we have a broken ls. This can happen
2083 # if, for instance, CONFIG_SHELL is bash and it inherits a
2084 # broken ls alias from the environment. This has actually
2085 # happened. Such a system could not be considered "sane".
2086 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2087 alias in your environment" >&5
2088 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2089 alias in your environment" >&2;}
2090 { (exit 1); exit 1; }; }
2093 test "$2" = conftest.
file
2099 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2100 Check your system clock" >&5
2101 echo "$as_me: error: newly created file is older than distributed files!
2102 Check your system clock" >&2;}
2103 { (exit 1); exit 1; }; }
2105 { echo "$as_me:$LINENO: result: yes" >&5
2106 echo "${ECHO_T}yes" >&6; }
2107 test "$program_prefix" != NONE
&&
2108 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2109 # Use a double $ so make ignores it.
2110 test "$program_suffix" != NONE
&&
2111 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2112 # Double any \ or $. echo might interpret backslashes.
2113 # By default was `s,x,x', remove it if useless.
2114 cat <<\_ACEOF
>conftest.
sed
2115 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2117 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2120 # expand $ac_aux_dir to an absolute path
2121 am_aux_dir
=`cd $ac_aux_dir && pwd`
2123 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2124 # Use eval to expand $SHELL
2125 if eval "$MISSING --run true"; then
2126 am_missing_run
="$MISSING --run "
2129 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2130 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2133 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2134 # We used to keeping the `.' as first argument, in order to
2135 # allow $(mkdir_p) to be used without argument. As in
2136 # $(mkdir_p) $(somedir)
2137 # where $(somedir) is conditionally defined. However this is wrong
2139 # 1. if the package is installed by a user who cannot write `.'
2140 # make install will fail,
2141 # 2. the above comment should most certainly read
2142 # $(mkdir_p) $(DESTDIR)$(somedir)
2143 # so it does not work when $(somedir) is undefined and
2144 # $(DESTDIR) is not.
2145 # To support the latter case, we have to write
2146 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2147 # so the `.' trick is pointless.
2148 mkdir_p
='mkdir -p --'
2150 # On NextStep and OpenStep, the `mkdir' command does not
2151 # recognize any option. It will interpret all options as
2152 # directories to create, and then abort because `.' already
2154 for d
in .
/-p .
/--version;
2156 test -d $d && rmdir $d
2158 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2159 if test -f "$ac_aux_dir/mkinstalldirs"; then
2160 mkdir_p
='$(mkinstalldirs)'
2162 mkdir_p
='$(install_sh) -d'
2166 for ac_prog
in gawk mawk nawk
awk
2168 # Extract the first word of "$ac_prog", so it can be a program name with args.
2169 set dummy
$ac_prog; ac_word
=$2
2170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172 if test "${ac_cv_prog_AWK+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2175 if test -n "$AWK"; then
2176 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2182 test -z "$as_dir" && as_dir
=.
2183 for ac_exec_ext
in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 ac_cv_prog_AWK
="$ac_prog"
2186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 if test -n "$AWK"; then
2197 { echo "$as_me:$LINENO: result: $AWK" >&5
2198 echo "${ECHO_T}$AWK" >&6; }
2200 { echo "$as_me:$LINENO: result: no" >&5
2201 echo "${ECHO_T}no" >&6; }
2205 test -n "$AWK" && break
2208 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2209 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2210 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2211 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2214 cat >conftest.
make <<\_ACEOF
2217 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2219 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2220 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2222 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2224 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2228 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2229 { echo "$as_me:$LINENO: result: yes" >&5
2230 echo "${ECHO_T}yes" >&6; }
2233 { echo "$as_me:$LINENO: result: no" >&5
2234 echo "${ECHO_T}no" >&6; }
2235 SET_MAKE
="MAKE=${MAKE-make}"
2238 rm -rf .tst
2>/dev
/null
2239 mkdir .tst
2>/dev
/null
2240 if test -d .tst
; then
2245 rmdir .tst
2>/dev
/null
2247 # test to see if srcdir already configured
2248 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2249 test -f $srcdir/config.status
; then
2250 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2251 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2252 { (exit 1); exit 1; }; }
2255 # test whether we have cygpath
2256 if test -z "$CYGPATH_W"; then
2257 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2258 CYGPATH_W
='cygpath -w'
2265 # Define the identity of the package.
2266 PACKAGE
='barryplugin'
2270 cat >>confdefs.h
<<_ACEOF
2271 #define PACKAGE "$PACKAGE"
2275 cat >>confdefs.h
<<_ACEOF
2276 #define VERSION "$VERSION"
2279 # Some tools Automake needs.
2281 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2284 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2287 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2290 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2293 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2295 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2297 # Installed binaries are usually stripped using `strip' when the user
2298 # run `make install-strip'. However `strip' might not be the right
2299 # tool to use in cross-compilation environments, therefore Automake
2300 # will honor the `STRIP' environment variable to overrule this program.
2301 if test "$cross_compiling" != no
; then
2302 if test -n "$ac_tool_prefix"; then
2303 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2304 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2307 if test "${ac_cv_prog_STRIP+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 if test -n "$STRIP"; then
2311 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir
=.
2318 for ac_exec_ext
in '' $ac_executable_extensions; do
2319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2320 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 STRIP
=$ac_cv_prog_STRIP
2331 if test -n "$STRIP"; then
2332 { echo "$as_me:$LINENO: result: $STRIP" >&5
2333 echo "${ECHO_T}$STRIP" >&6; }
2335 { echo "$as_me:$LINENO: result: no" >&5
2336 echo "${ECHO_T}no" >&6; }
2341 if test -z "$ac_cv_prog_STRIP"; then
2343 # Extract the first word of "strip", so it can be a program name with args.
2344 set dummy strip
; ac_word
=$2
2345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2347 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2348 echo $ECHO_N "(cached) $ECHO_C" >&6
2350 if test -n "$ac_ct_STRIP"; then
2351 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2357 test -z "$as_dir" && as_dir
=.
2358 for ac_exec_ext
in '' $ac_executable_extensions; do
2359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2360 ac_cv_prog_ac_ct_STRIP
="strip"
2361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2371 if test -n "$ac_ct_STRIP"; then
2372 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2373 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2375 { echo "$as_me:$LINENO: result: no" >&5
2376 echo "${ECHO_T}no" >&6; }
2379 if test "x$ac_ct_STRIP" = x
; then
2382 case $cross_compiling:$ac_tool_warned in
2384 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2385 whose name does not start with the host triplet. If you think this
2386 configuration is useful to you, please write to autoconf@gnu.org." >&5
2387 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2388 whose name does not start with the host triplet. If you think this
2389 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2390 ac_tool_warned
=yes ;;
2395 STRIP
="$ac_cv_prog_STRIP"
2399 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2401 # We need awk for the "check" target. The system "awk" is bad on
2403 # Always define AMTAR for backward compatibility.
2405 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2407 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2414 ac_config_headers
="$ac_config_headers config.h"
2417 export PKG_CONFIG_PATH
=${PKG_CONFIG_PATH}:/usr
/lib
/pkgconfig
:$prefix/lib
/pkgconfig
:/usr
/local
/lib
/pkgconfig
2418 pkg_modules
="opensync-1.0 glib-2.0"
2421 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2424 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
2425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2427 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
2435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2439 test -z "$as_dir" && as_dir
=.
2440 for ac_exec_ext
in '' $ac_executable_extensions; do
2441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2442 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2453 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
2454 if test -n "$PKG_CONFIG"; then
2455 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2456 echo "${ECHO_T}$PKG_CONFIG" >&6; }
2458 { echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6; }
2464 if test -z "$ac_cv_path_PKG_CONFIG"; then
2465 ac_pt_PKG_CONFIG
=$PKG_CONFIG
2466 # Extract the first word of "pkg-config", so it can be a program name with args.
2467 set dummy pkg-config
; ac_word
=$2
2468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2470 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 case $ac_pt_PKG_CONFIG in
2475 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2482 test -z "$as_dir" && as_dir
=.
2483 for ac_exec_ext
in '' $ac_executable_extensions; do
2484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2485 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
2497 if test -n "$ac_pt_PKG_CONFIG"; then
2498 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2499 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
2501 { echo "$as_me:$LINENO: result: no" >&5
2502 echo "${ECHO_T}no" >&6; }
2505 if test "x$ac_pt_PKG_CONFIG" = x
; then
2508 case $cross_compiling:$ac_tool_warned in
2510 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2511 whose name does not start with the host triplet. If you think this
2512 configuration is useful to you, please write to autoconf@gnu.org." >&5
2513 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2514 whose name does not start with the host triplet. If you think this
2515 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2516 ac_tool_warned
=yes ;;
2518 PKG_CONFIG
=$ac_pt_PKG_CONFIG
2521 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
2525 if test -n "$PKG_CONFIG"; then
2526 _pkg_min_version
=0.9.0
2527 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2528 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
2529 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2530 { echo "$as_me:$LINENO: result: yes" >&5
2531 echo "${ECHO_T}yes" >&6; }
2533 { echo "$as_me:$LINENO: result: no" >&5
2534 echo "${ECHO_T}no" >&6; }
2541 { echo "$as_me:$LINENO: checking for PACKAGE" >&5
2542 echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6; }
2544 if test -n "$PKG_CONFIG"; then
2545 if test -n "$PACKAGE_CFLAGS"; then
2546 pkg_cv_PACKAGE_CFLAGS
="$PACKAGE_CFLAGS"
2548 if test -n "$PKG_CONFIG" && \
2549 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
2550 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }; then
2554 pkg_cv_PACKAGE_CFLAGS
=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
2562 if test -n "$PKG_CONFIG"; then
2563 if test -n "$PACKAGE_LIBS"; then
2564 pkg_cv_PACKAGE_LIBS
="$PACKAGE_LIBS"
2566 if test -n "$PKG_CONFIG" && \
2567 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
2568 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }; then
2572 pkg_cv_PACKAGE_LIBS
=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
2583 if test $pkg_failed = yes; then
2585 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2586 _pkg_short_errors_supported
=yes
2588 _pkg_short_errors_supported
=no
2590 if test $_pkg_short_errors_supported = yes; then
2591 PACKAGE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_modules"`
2593 PACKAGE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
2595 # Put the nasty error message in config.log where it belongs
2596 echo "$PACKAGE_PKG_ERRORS" >&5
2598 { { echo "$as_me:$LINENO: error: Package requirements ($pkg_modules) were not met:
2602 Consider adjusting the PKG_CONFIG_PATH environment variable if you
2603 installed software in a non-standard prefix.
2605 Alternatively, you may set the environment variables PACKAGE_CFLAGS
2606 and PACKAGE_LIBS to avoid the need to call pkg-config.
2607 See the pkg-config man page for more details.
2609 echo "$as_me: error: Package requirements ($pkg_modules) were not met:
2613 Consider adjusting the PKG_CONFIG_PATH environment variable if you
2614 installed software in a non-standard prefix.
2616 Alternatively, you may set the environment variables PACKAGE_CFLAGS
2617 and PACKAGE_LIBS to avoid the need to call pkg-config.
2618 See the pkg-config man page for more details.
2620 { (exit 1); exit 1; }; }
2621 elif test $pkg_failed = untried
; then
2622 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
2623 is in your PATH or set the PKG_CONFIG environment variable to the full
2626 Alternatively, you may set the environment variables PACKAGE_CFLAGS
2627 and PACKAGE_LIBS to avoid the need to call pkg-config.
2628 See the pkg-config man page for more details.
2630 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
2631 See \`config.log' for more details." >&5
2632 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
2633 is in your PATH or set the PKG_CONFIG environment variable to the full
2636 Alternatively, you may set the environment variables PACKAGE_CFLAGS
2637 and PACKAGE_LIBS to avoid the need to call pkg-config.
2638 See the pkg-config man page for more details.
2640 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
2641 See \`config.log' for more details." >&2;}
2642 { (exit 1); exit 1; }; }
2644 PACKAGE_CFLAGS
=$pkg_cv_PACKAGE_CFLAGS
2645 PACKAGE_LIBS
=$pkg_cv_PACKAGE_LIBS
2646 { echo "$as_me:$LINENO: result: yes" >&5
2647 echo "${ECHO_T}yes" >&6; }
2653 DEPDIR
="${am__leading_dot}deps"
2655 ac_config_commands
="$ac_config_commands depfiles"
2658 am_make
=${MAKE-make}
2659 cat > confinc
<< 'END'
2664 # If we don't find an include directive, just comment out the code.
2665 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2666 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2670 # First try GNU make style include.
2671 echo "include confinc" > confmf
2672 # We grep out `Entering directory' and `Leaving directory'
2673 # messages which can occur if `w' ends up in MAKEFLAGS.
2674 # In particular we don't look at `^make:' because GNU make might
2675 # be invoked under some other name (usually "gmake"), in which
2676 # case it prints its new name instead of `make'.
2677 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2682 # Now try BSD make style include.
2683 if test "$am__include" = "#"; then
2684 echo '.include "confinc"' > confmf
2685 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2686 am__include
=.include
2693 { echo "$as_me:$LINENO: result: $_am_result" >&5
2694 echo "${ECHO_T}$_am_result" >&6; }
2695 rm -f confinc confmf
2697 # Check whether --enable-dependency-tracking was given.
2698 if test "${enable_dependency_tracking+set}" = set; then
2699 enableval
=$enable_dependency_tracking;
2702 if test "x$enable_dependency_tracking" != xno
; then
2703 am_depcomp
="$ac_aux_dir/depcomp"
2708 if test "x$enable_dependency_tracking" != xno; then
2719 ac_cpp
='$CPP $CPPFLAGS'
2720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2723 if test -n "$ac_tool_prefix"; then
2724 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2725 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2728 if test "${ac_cv_prog_CC+set}" = set; then
2729 echo $ECHO_N "(cached) $ECHO_C" >&6
2731 if test -n "$CC"; then
2732 ac_cv_prog_CC
="$CC" # Let the user override the test.
2734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2738 test -z "$as_dir" && as_dir
=.
2739 for ac_exec_ext
in '' $ac_executable_extensions; do
2740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 if test -n "$CC"; then
2753 { echo "$as_me:$LINENO: result: $CC" >&5
2754 echo "${ECHO_T}$CC" >&6; }
2756 { echo "$as_me:$LINENO: result: no" >&5
2757 echo "${ECHO_T}no" >&6; }
2762 if test -z "$ac_cv_prog_CC"; then
2764 # Extract the first word of "gcc", so it can be a program name with args.
2765 set dummy gcc
; ac_word
=$2
2766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2768 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2769 echo $ECHO_N "(cached) $ECHO_C" >&6
2771 if test -n "$ac_ct_CC"; then
2772 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir
=.
2779 for ac_exec_ext
in '' $ac_executable_extensions; do
2780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2781 ac_cv_prog_ac_ct_CC
="gcc"
2782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2792 if test -n "$ac_ct_CC"; then
2793 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2794 echo "${ECHO_T}$ac_ct_CC" >&6; }
2796 { echo "$as_me:$LINENO: result: no" >&5
2797 echo "${ECHO_T}no" >&6; }
2800 if test "x$ac_ct_CC" = x
; then
2803 case $cross_compiling:$ac_tool_warned in
2805 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2806 whose name does not start with the host triplet. If you think this
2807 configuration is useful to you, please write to autoconf@gnu.org." >&5
2808 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2809 whose name does not start with the host triplet. If you think this
2810 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2811 ac_tool_warned
=yes ;;
2819 if test -z "$CC"; then
2820 if test -n "$ac_tool_prefix"; then
2821 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2822 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2825 if test "${ac_cv_prog_CC+set}" = set; then
2826 echo $ECHO_N "(cached) $ECHO_C" >&6
2828 if test -n "$CC"; then
2829 ac_cv_prog_CC
="$CC" # Let the user override the test.
2831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir
=.
2836 for ac_exec_ext
in '' $ac_executable_extensions; do
2837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 if test -n "$CC"; then
2850 { echo "$as_me:$LINENO: result: $CC" >&5
2851 echo "${ECHO_T}$CC" >&6; }
2853 { echo "$as_me:$LINENO: result: no" >&5
2854 echo "${ECHO_T}no" >&6; }
2860 if test -z "$CC"; then
2861 # Extract the first word of "cc", so it can be a program name with args.
2862 set dummy cc
; ac_word
=$2
2863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2865 if test "${ac_cv_prog_CC+set}" = set; then
2866 echo $ECHO_N "(cached) $ECHO_C" >&6
2868 if test -n "$CC"; then
2869 ac_cv_prog_CC
="$CC" # Let the user override the test.
2872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir
=.
2877 for ac_exec_ext
in '' $ac_executable_extensions; do
2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2880 ac_prog_rejected
=yes
2884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2891 if test $ac_prog_rejected = yes; then
2892 # We found a bogon in the path, so make sure we never use it.
2893 set dummy
$ac_cv_prog_CC
2895 if test $# != 0; then
2896 # We chose a different compiler from the bogus one.
2897 # However, it has the same basename, so the bogon will be chosen
2898 # first if we set CC to just the basename; use the full file name.
2900 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2906 if test -n "$CC"; then
2907 { echo "$as_me:$LINENO: result: $CC" >&5
2908 echo "${ECHO_T}$CC" >&6; }
2910 { echo "$as_me:$LINENO: result: no" >&5
2911 echo "${ECHO_T}no" >&6; }
2916 if test -z "$CC"; then
2917 if test -n "$ac_tool_prefix"; then
2918 for ac_prog
in cl.exe
2920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2921 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2924 if test "${ac_cv_prog_CC+set}" = set; then
2925 echo $ECHO_N "(cached) $ECHO_C" >&6
2927 if test -n "$CC"; then
2928 ac_cv_prog_CC
="$CC" # Let the user override the test.
2930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir
=.
2935 for ac_exec_ext
in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 if test -n "$CC"; then
2949 { echo "$as_me:$LINENO: result: $CC" >&5
2950 echo "${ECHO_T}$CC" >&6; }
2952 { echo "$as_me:$LINENO: result: no" >&5
2953 echo "${ECHO_T}no" >&6; }
2957 test -n "$CC" && break
2960 if test -z "$CC"; then
2962 for ac_prog
in cl.exe
2964 # Extract the first word of "$ac_prog", so it can be a program name with args.
2965 set dummy
$ac_prog; ac_word
=$2
2966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2968 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2969 echo $ECHO_N "(cached) $ECHO_C" >&6
2971 if test -n "$ac_ct_CC"; then
2972 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2978 test -z "$as_dir" && as_dir
=.
2979 for ac_exec_ext
in '' $ac_executable_extensions; do
2980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981 ac_cv_prog_ac_ct_CC
="$ac_prog"
2982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2992 if test -n "$ac_ct_CC"; then
2993 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2994 echo "${ECHO_T}$ac_ct_CC" >&6; }
2996 { echo "$as_me:$LINENO: result: no" >&5
2997 echo "${ECHO_T}no" >&6; }
3001 test -n "$ac_ct_CC" && break
3004 if test "x$ac_ct_CC" = x
; then
3007 case $cross_compiling:$ac_tool_warned in
3009 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3010 whose name does not start with the host triplet. If you think this
3011 configuration is useful to you, please write to autoconf@gnu.org." >&5
3012 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3013 whose name does not start with the host triplet. If you think this
3014 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3015 ac_tool_warned
=yes ;;
3024 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3025 See \`config.log' for more details." >&5
3026 echo "$as_me: error: no acceptable C compiler found in \$PATH
3027 See \`config.log' for more details." >&2;}
3028 { (exit 1); exit 1; }; }
3030 # Provide some information about the compiler.
3031 echo "$as_me:$LINENO: checking for C compiler version" >&5
3032 ac_compiler
=`set X $ac_compile; echo $2`
3033 { (ac_try
="$ac_compiler --version >&5"
3035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3036 *) ac_try_echo=$ac_try;;
3038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3039 (eval "$ac_compiler --version >&5") 2>&5
3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042 (exit $ac_status); }
3043 { (ac_try="$ac_compiler -v >&5"
3045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3046 *) ac_try_echo
=$ac_try;;
3048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3049 (eval "$ac_compiler -v >&5") 2>&5
3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); }
3053 { (ac_try
="$ac_compiler -V >&5"
3055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3056 *) ac_try_echo=$ac_try;;
3058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3059 (eval "$ac_compiler -V >&5") 2>&5
3061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062 (exit $ac_status); }
3064 cat >conftest.$ac_ext <<_ACEOF
3067 cat confdefs.h >>conftest.$ac_ext
3068 cat >>conftest.$ac_ext <<_ACEOF
3069 /* end confdefs.h. */
3079 ac_clean_files_save=$ac_clean_files
3080 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3081 # Try to create an executable without -o first, disregard a.out.
3082 # It will help us diagnose broken compilers, and finding out an intuition
3084 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3085 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3086 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3088 # List of possible output files, starting from the most likely.
3089 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
3090 # only as a last resort. b.out is created by i960 compilers.
3091 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
3093 # The IRIX 6 linker writes into existing files which may not be
3094 # executable, retaining their permissions. Remove them first so a
3095 # subsequent execution test works.
3097 for ac_file in $ac_files
3100 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3101 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3106 if { (ac_try="$ac_link_default"
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3112 (eval "$ac_link_default") 2>&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; then
3116 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3117 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3118 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3119 # so that the user can short-circuit this test for compilers unknown to
3121 for ac_file
in $ac_files ''
3123 test -f "$ac_file" ||
continue
3125 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3128 # We found the default executable, but exeext='' is most
3132 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3134 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3136 # We set ac_cv_exeext here because the later test for it is not
3137 # safe: cross compilers may not add the suffix if given an `-o'
3138 # argument, so we may need to know it at that point already.
3139 # Even if this section looks crufty: it has the advantage of
3146 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3152 { echo "$as_me:$LINENO: result: $ac_file" >&5
3153 echo "${ECHO_T}$ac_file" >&6; }
3154 if test -z "$ac_file"; then
3155 echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.
$ac_ext >&5
3158 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3159 See \`config.log' for more details." >&5
3160 echo "$as_me: error: C compiler cannot create executables
3161 See \`config.log' for more details." >&2;}
3162 { (exit 77); exit 77; }; }
3165 ac_exeext
=$ac_cv_exeext
3167 # Check that the compiler produces executables we can run. If not, either
3168 # the compiler is broken, or we cross compile.
3169 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3170 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3171 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3172 # If not cross compiling, check that we can run a simple program.
3173 if test "$cross_compiling" != yes; then
3174 if { ac_try
='./$ac_file'
3175 { (case "(($ac_try" in
3176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3180 (eval "$ac_try") 2>&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; }; then
3186 if test "$cross_compiling" = maybe; then
3189 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3190 If you meant to cross compile, use \`--host'.
3191 See \`config.log' for more details.
" >&5
3192 echo "$as_me: error
: cannot run C compiled programs.
3193 If you meant to cross compile
, use \
`--host'.
3194 See \`config.log
' for more details." >&2;}
3195 { (exit 1); exit 1; }; }
3199 { echo "$as_me:$LINENO: result: yes" >&5
3200 echo "${ECHO_T}yes" >&6; }
3202 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3203 ac_clean_files=$ac_clean_files_save
3204 # Check that the compiler produces executables we can run. If not, either
3205 # the compiler is broken, or we cross compile.
3206 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3207 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3208 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3209 echo "${ECHO_T}$cross_compiling" >&6; }
3211 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3212 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3213 if { (ac_try="$ac_link"
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3219 (eval "$ac_link") 2>&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); }; then
3223 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3224 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3225 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3227 for ac_file
in conftest.exe conftest conftest.
*; do
3228 test -f "$ac_file" ||
continue
3230 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3231 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3237 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3238 See \`config.log' for more details." >&5
3239 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3240 See \`config.log' for more details." >&2;}
3241 { (exit 1); exit 1; }; }
3244 rm -f conftest
$ac_cv_exeext
3245 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3246 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3248 rm -f conftest.
$ac_ext
3249 EXEEXT
=$ac_cv_exeext
3251 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3252 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3253 if test "${ac_cv_objext+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 cat >conftest.
$ac_ext <<_ACEOF
3259 cat confdefs.h
>>conftest.
$ac_ext
3260 cat >>conftest.
$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3271 rm -f conftest.o conftest.obj
3272 if { (ac_try
="$ac_compile"
3274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3278 (eval "$ac_compile") 2>&5
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); }; then
3282 for ac_file in conftest.o conftest.obj conftest.*; do
3283 test -f "$ac_file" || continue;
3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3286 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3291 echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3294 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3295 See \`config.log
' for more details." >&5
3296 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3297 See \`config.log' for more details.
" >&2;}
3298 { (exit 1); exit 1; }; }
3301 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3303 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3304 echo "${ECHO_T}$ac_cv_objext" >&6; }
3305 OBJEXT=$ac_cv_objext
3307 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3308 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3309 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3310 echo $ECHO_N "(cached
) $ECHO_C" >&6
3312 cat >conftest.$ac_ext <<_ACEOF
3315 cat confdefs.h >>conftest.$ac_ext
3316 cat >>conftest.$ac_ext <<_ACEOF
3317 /* end confdefs.h. */
3330 rm -f conftest.$ac_objext
3331 if { (ac_try="$ac_compile"
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_compile") 2>conftest.er1
3339 grep -v '^ *+' conftest.er1 >conftest.err
3341 cat conftest.err >&5
3342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3343 (exit $ac_status); } && {
3344 test -z "$ac_c_werror_flag" ||
3345 test ! -s conftest.err
3346 } && test -s conftest.$ac_objext; then
3349 echo "$as_me: failed program was
:" >&5
3350 sed 's/^/| /' conftest.$ac_ext >&5
3355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3359 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3360 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3361 GCC=`test $ac_compiler_gnu = yes && echo yes`
3362 ac_test_CFLAGS=${CFLAGS+set}
3363 ac_save_CFLAGS=$CFLAGS
3364 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3365 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3366 if test "${ac_cv_prog_cc_g+set}" = set; then
3367 echo $ECHO_N "(cached
) $ECHO_C" >&6
3369 ac_save_c_werror_flag=$ac_c_werror_flag
3370 ac_c_werror_flag=yes
3373 cat >conftest.$ac_ext <<_ACEOF
3376 cat confdefs.h >>conftest.$ac_ext
3377 cat >>conftest.$ac_ext <<_ACEOF
3378 /* end confdefs.h. */
3388 rm -f conftest.$ac_objext
3389 if { (ac_try="$ac_compile"
3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3394 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3395 (eval "$ac_compile") 2>conftest.er1
3397 grep -v '^ *+' conftest.er1 >conftest.err
3399 cat conftest.err >&5
3400 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3401 (exit $ac_status); } && {
3402 test -z "$ac_c_werror_flag" ||
3403 test ! -s conftest.err
3404 } && test -s conftest.$ac_objext; then
3407 echo "$as_me: failed program was
:" >&5
3408 sed 's/^/| /' conftest.$ac_ext >&5
3411 cat >conftest.$ac_ext <<_ACEOF
3414 cat confdefs.h >>conftest.$ac_ext
3415 cat >>conftest.$ac_ext <<_ACEOF
3416 /* end confdefs.h. */
3426 rm -f conftest.$ac_objext
3427 if { (ac_try="$ac_compile"
3429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3430 *) ac_try_echo=$ac_try;;
3432 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3433 (eval "$ac_compile") 2>conftest.er1
3435 grep -v '^ *+' conftest.er1 >conftest.err
3437 cat conftest.err >&5
3438 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3439 (exit $ac_status); } && {
3440 test -z "$ac_c_werror_flag" ||
3441 test ! -s conftest.err
3442 } && test -s conftest.$ac_objext; then
3445 echo "$as_me: failed program was
:" >&5
3446 sed 's/^/| /' conftest.$ac_ext >&5
3448 ac_c_werror_flag=$ac_save_c_werror_flag
3450 cat >conftest.$ac_ext <<_ACEOF
3453 cat confdefs.h >>conftest.$ac_ext
3454 cat >>conftest.$ac_ext <<_ACEOF
3455 /* end confdefs.h. */
3465 rm -f conftest.$ac_objext
3466 if { (ac_try="$ac_compile"
3468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3469 *) ac_try_echo=$ac_try;;
3471 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3472 (eval "$ac_compile") 2>conftest.er1
3474 grep -v '^ *+' conftest.er1 >conftest.err
3476 cat conftest.err >&5
3477 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3478 (exit $ac_status); } && {
3479 test -z "$ac_c_werror_flag" ||
3480 test ! -s conftest.err
3481 } && test -s conftest.$ac_objext; then
3484 echo "$as_me: failed program was
:" >&5
3485 sed 's/^/| /' conftest.$ac_ext >&5
3490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3497 ac_c_werror_flag=$ac_save_c_werror_flag
3499 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3500 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3501 if test "$ac_test_CFLAGS" = set; then
3502 CFLAGS=$ac_save_CFLAGS
3503 elif test $ac_cv_prog_cc_g = yes; then
3504 if test "$GCC" = yes; then
3510 if test "$GCC" = yes; then
3516 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3517 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3518 if test "${ac_cv_prog_cc_c89+set}" = set; then
3519 echo $ECHO_N "(cached
) $ECHO_C" >&6
3521 ac_cv_prog_cc_c89=no
3523 cat >conftest.$ac_ext <<_ACEOF
3526 cat confdefs.h >>conftest.$ac_ext
3527 cat >>conftest.$ac_ext <<_ACEOF
3528 /* end confdefs.h. */
3531 #include <sys/types.h>
3532 #include <sys/stat.h>
3533 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3534 struct buf { int x; };
3535 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3536 static char *e (p, i)
3542 static char *f (char * (*g) (char **, int), char **p, ...)
3547 s = g (p, va_arg (v,int));
3552 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3553 function prototypes and stuff, but not '\xHH' hex character constants.
3554 These don't provoke an error unfortunately, instead are silently treated
3555 as 'x'. The following induces an error, until -std is added to get
3556 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3557 array size at least. It's necessary to write '\x00'==0 to get something
3558 that's true only with -std. */
3559 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3561 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3562 inside strings and character constants. */
3564 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3566 int test (int i, double x);
3567 struct s1 {int (*f) (int a);};
3568 struct s2 {int (*f) (double a);};
3569 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3575 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3580 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3581 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3583 CC="$ac_save_CC $ac_arg"
3584 rm -f conftest.$ac_objext
3585 if { (ac_try="$ac_compile"
3587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3588 *) ac_try_echo=$ac_try;;
3590 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3591 (eval "$ac_compile") 2>conftest.er1
3593 grep -v '^ *+' conftest.er1 >conftest.err
3595 cat conftest.err >&5
3596 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3597 (exit $ac_status); } && {
3598 test -z "$ac_c_werror_flag" ||
3599 test ! -s conftest.err
3600 } && test -s conftest.$ac_objext; then
3601 ac_cv_prog_cc_c89=$ac_arg
3603 echo "$as_me: failed program was
:" >&5
3604 sed 's/^/| /' conftest.$ac_ext >&5
3609 rm -f core conftest.err conftest.$ac_objext
3610 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3612 rm -f conftest.$ac_ext
3617 case "x
$ac_cv_prog_cc_c89" in
3619 { echo "$as_me:$LINENO: result
: none needed
" >&5
3620 echo "${ECHO_T}none needed
" >&6; } ;;
3622 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3623 echo "${ECHO_T}unsupported
" >&6; } ;;
3625 CC="$CC $ac_cv_prog_cc_c89"
3626 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3627 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3632 ac_cpp='$CPP $CPPFLAGS'
3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3637 depcc="$CC" am_compiler_list=
3639 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3640 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3641 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3642 echo $ECHO_N "(cached
) $ECHO_C" >&6
3644 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3645 # We make a subdir and do the tests there. Otherwise we can end up
3646 # making bogus files that we don't know about and never remove. For
3647 # instance it was reported that on HP-UX the gcc test will end up
3648 # making a dummy file named `D' -- because `-MD' means `put the output
3651 # Copy depcomp to subdir because otherwise we won't find it if we're
3652 # using a relative directory.
3653 cp "$am_depcomp" conftest.dir
3655 # We will build objects and dependencies in a subdirectory because
3656 # it helps to detect inapplicable dependency modes. For instance
3657 # both Tru64's cc and ICC support -MD to output dependencies as a
3658 # side effect of compilation, but ICC will put the dependencies in
3659 # the current directory while Tru64 will put them in the object
3663 am_cv_CC_dependencies_compiler_type=none
3664 if test "$am_compiler_list" = ""; then
3665 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3667 for depmode in $am_compiler_list; do
3668 # Setup a source with many dependencies, because some compilers
3669 # like to wrap large dependency lists on column 80 (with \), and
3670 # we should not choose a depcomp mode which is confused by this.
3672 # We need to recreate these files for each test, as the compiler may
3673 # overwrite some of them when testing with obscure command lines.
3674 # This happens at least with the AIX C compiler.
3676 for i in 1 2 3 4 5 6; do
3677 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3678 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3679 # Solaris 8's {/usr,}/bin/sh.
3680 touch sub/conftst$i.h
3682 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3686 # after this tag, mechanisms are not by side-effect, so they'll
3687 # only be used when explicitly requested
3688 if test "x
$enable_dependency_tracking" = xyes; then
3696 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3697 # mode. It turns out that the SunPro C++ compiler does not properly
3698 # handle `-M -o', and we need to detect this.
3699 if depmode=$depmode \
3700 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3701 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3702 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3703 >/dev/null 2>conftest.err &&
3704 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3705 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3706 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3707 # icc doesn't choke on unknown options, it will just issue warnings
3708 # or remarks (even with -Werror). So we grep stderr for any message
3709 # that says an option was ignored or not supported.
3710 # When given -MP, icc 7.0 and 7.1 complain thusly:
3711 # icc: Command line warning: ignoring option '-M'; no argument required
3712 # The diagnosis changed in icc 8.0:
3713 # icc: Command line remark: option '-MP' not supported
3714 if (grep 'ignoring option' conftest.err ||
3715 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3716 am_cv_CC_dependencies_compiler_type=$depmode
3725 am_cv_CC_dependencies_compiler_type=none
3729 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3730 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3731 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3736 test "x
$enable_dependency_tracking" != xno \
3737 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3739 am__fastdepCC_FALSE='#'
3741 am__fastdepCC_TRUE='#'
3742 am__fastdepCC_FALSE=
3747 { echo "$as_me:$LINENO: checking
for library containing strerror
" >&5
3748 echo $ECHO_N "checking
for library containing strerror...
$ECHO_C" >&6; }
3749 if test "${ac_cv_search_strerror+set}" = set; then
3750 echo $ECHO_N "(cached
) $ECHO_C" >&6
3752 ac_func_search_save_LIBS=$LIBS
3753 cat >conftest.$ac_ext <<_ACEOF
3756 cat confdefs.h >>conftest.$ac_ext
3757 cat >>conftest.$ac_ext <<_ACEOF
3758 /* end confdefs.h. */
3760 /* Override any GCC internal prototype to avoid an error.
3761 Use char because int might match the return type of a GCC
3762 builtin and then its argument prototype would still apply. */
3775 for ac_lib in '' cposix; do
3776 if test -z "$ac_lib"; then
3777 ac_res="none required
"
3780 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3782 rm -f conftest.$ac_objext conftest$ac_exeext
3783 if { (ac_try="$ac_link"
3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3788 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3789 (eval "$ac_link") 2>conftest.er1
3791 grep -v '^ *+' conftest.er1 >conftest.err
3793 cat conftest.err >&5
3794 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3795 (exit $ac_status); } && {
3796 test -z "$ac_c_werror_flag" ||
3797 test ! -s conftest.err
3798 } && test -s conftest$ac_exeext &&
3799 $as_test_x conftest$ac_exeext; then
3800 ac_cv_search_strerror=$ac_res
3802 echo "$as_me: failed program was
:" >&5
3803 sed 's/^/| /' conftest.$ac_ext >&5
3808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3810 if test "${ac_cv_search_strerror+set}" = set; then
3814 if test "${ac_cv_search_strerror+set}" = set; then
3817 ac_cv_search_strerror=no
3820 LIBS=$ac_func_search_save_LIBS
3822 { echo "$as_me:$LINENO: result
: $ac_cv_search_strerror" >&5
3823 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3824 ac_res=$ac_cv_search_strerror
3825 if test "$ac_res" != no; then
3826 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3831 ac_cpp='$CPP $CPPFLAGS'
3832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835 if test -n "$ac_tool_prefix"; then
3836 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3837 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3838 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3839 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3840 if test "${ac_cv_prog_CC+set}" = set; then
3841 echo $ECHO_N "(cached
) $ECHO_C" >&6
3843 if test -n "$CC"; then
3844 ac_cv_prog_CC="$CC" # Let the user override the test.
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3853 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3854 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3864 if test -n "$CC"; then
3865 { echo "$as_me:$LINENO: result
: $CC" >&5
3866 echo "${ECHO_T}$CC" >&6; }
3868 { echo "$as_me:$LINENO: result
: no
" >&5
3869 echo "${ECHO_T}no
" >&6; }
3874 if test -z "$ac_cv_prog_CC"; then
3876 # Extract the first word of "gcc
", so it can be a program name with args.
3877 set dummy gcc; ac_word=$2
3878 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3879 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3880 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3881 echo $ECHO_N "(cached
) $ECHO_C" >&6
3883 if test -n "$ac_ct_CC"; then
3884 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 test -z "$as_dir" && as_dir=.
3891 for ac_exec_ext in '' $ac_executable_extensions; do
3892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3893 ac_cv_prog_ac_ct_CC="gcc
"
3894 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3903 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3904 if test -n "$ac_ct_CC"; then
3905 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3906 echo "${ECHO_T}$ac_ct_CC" >&6; }
3908 { echo "$as_me:$LINENO: result
: no
" >&5
3909 echo "${ECHO_T}no
" >&6; }
3912 if test "x
$ac_ct_CC" = x; then
3915 case $cross_compiling:$ac_tool_warned in
3917 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3918 whose name does not start with the
host triplet. If you think this
3919 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3920 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3921 whose name does not start with the
host triplet. If you think this
3922 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3923 ac_tool_warned=yes ;;
3931 if test -z "$CC"; then
3932 if test -n "$ac_tool_prefix"; then
3933 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3934 set dummy ${ac_tool_prefix}cc; ac_word=$2
3935 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3936 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3937 if test "${ac_cv_prog_CC+set}" = set; then
3938 echo $ECHO_N "(cached
) $ECHO_C" >&6
3940 if test -n "$CC"; then
3941 ac_cv_prog_CC="$CC" # Let the user override the test.
3943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3947 test -z "$as_dir" && as_dir=.
3948 for ac_exec_ext in '' $ac_executable_extensions; do
3949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3950 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3951 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3961 if test -n "$CC"; then
3962 { echo "$as_me:$LINENO: result
: $CC" >&5
3963 echo "${ECHO_T}$CC" >&6; }
3965 { echo "$as_me:$LINENO: result
: no
" >&5
3966 echo "${ECHO_T}no
" >&6; }
3972 if test -z "$CC"; then
3973 # Extract the first word of "cc
", so it can be a program name with args.
3974 set dummy cc; ac_word=$2
3975 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3976 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3977 if test "${ac_cv_prog_CC+set}" = set; then
3978 echo $ECHO_N "(cached
) $ECHO_C" >&6
3980 if test -n "$CC"; then
3981 ac_cv_prog_CC="$CC" # Let the user override the test.
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 test -z "$as_dir" && as_dir=.
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3991 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3992 ac_prog_rejected=yes
3996 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4003 if test $ac_prog_rejected = yes; then
4004 # We found a bogon in the path, so make sure we never use it.
4005 set dummy $ac_cv_prog_CC
4007 if test $# != 0; then
4008 # We chose a different compiler from the bogus one.
4009 # However, it has the same basename, so the bogon will be chosen
4010 # first if we set CC to just the basename; use the full file name.
4012 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
4018 if test -n "$CC"; then
4019 { echo "$as_me:$LINENO: result
: $CC" >&5
4020 echo "${ECHO_T}$CC" >&6; }
4022 { echo "$as_me:$LINENO: result
: no
" >&5
4023 echo "${ECHO_T}no
" >&6; }
4028 if test -z "$CC"; then
4029 if test -n "$ac_tool_prefix"; then
4030 for ac_prog in cl.exe
4032 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4033 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4034 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4035 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4036 if test "${ac_cv_prog_CC+set}" = set; then
4037 echo $ECHO_N "(cached
) $ECHO_C" >&6
4039 if test -n "$CC"; then
4040 ac_cv_prog_CC="$CC" # Let the user override the test.
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4046 test -z "$as_dir" && as_dir=.
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4049 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4050 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4060 if test -n "$CC"; then
4061 { echo "$as_me:$LINENO: result
: $CC" >&5
4062 echo "${ECHO_T}$CC" >&6; }
4064 { echo "$as_me:$LINENO: result
: no
" >&5
4065 echo "${ECHO_T}no
" >&6; }
4069 test -n "$CC" && break
4072 if test -z "$CC"; then
4074 for ac_prog in cl.exe
4076 # Extract the first word of "$ac_prog", so it can be a program name with args.
4077 set dummy $ac_prog; ac_word=$2
4078 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4079 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4081 echo $ECHO_N "(cached
) $ECHO_C" >&6
4083 if test -n "$ac_ct_CC"; then
4084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir=.
4091 for ac_exec_ext in '' $ac_executable_extensions; do
4092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4093 ac_cv_prog_ac_ct_CC="$ac_prog"
4094 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4103 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4104 if test -n "$ac_ct_CC"; then
4105 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
4106 echo "${ECHO_T}$ac_ct_CC" >&6; }
4108 { echo "$as_me:$LINENO: result
: no
" >&5
4109 echo "${ECHO_T}no
" >&6; }
4113 test -n "$ac_ct_CC" && break
4116 if test "x
$ac_ct_CC" = x; then
4119 case $cross_compiling:$ac_tool_warned in
4121 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4122 whose name does not start with the
host triplet. If you think this
4123 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4124 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4125 whose name does not start with the
host triplet. If you think this
4126 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4127 ac_tool_warned=yes ;;
4136 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4137 See \
`config.log' for more details." >&5
4138 echo "$as_me: error: no acceptable C compiler found in \$PATH
4139 See \`config.log
' for more details." >&2;}
4140 { (exit 1); exit 1; }; }
4142 # Provide some information about the compiler.
4143 echo "$as_me:$LINENO: checking for C compiler version" >&5
4144 ac_compiler=`set X $ac_compile; echo $2`
4145 { (ac_try="$ac_compiler --version >&5"
4147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4148 *) ac_try_echo=$ac_try;;
4150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4151 (eval "$ac_compiler --version >&5") 2>&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); }
4155 { (ac_try="$ac_compiler -v >&5"
4157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158 *) ac_try_echo=$ac_try;;
4160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4161 (eval "$ac_compiler -v >&5") 2>&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); }
4165 { (ac_try="$ac_compiler -V >&5"
4167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4168 *) ac_try_echo=$ac_try;;
4170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4171 (eval "$ac_compiler -V >&5") 2>&5
4173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174 (exit $ac_status); }
4176 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4177 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4178 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4179 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 cat >conftest.$ac_ext <<_ACEOF
4184 cat confdefs.h >>conftest.$ac_ext
4185 cat >>conftest.$ac_ext <<_ACEOF
4186 /* end confdefs.h. */
4199 rm -f conftest.$ac_objext
4200 if { (ac_try="$ac_compile"
4202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4203 *) ac_try_echo=$ac_try;;
4205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4206 (eval "$ac_compile") 2>conftest.er1
4208 grep -v '^
*+' conftest.er1 >conftest.err
4210 cat conftest.err >&5
4211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); } && {
4213 test -z "$ac_c_werror_flag" ||
4214 test ! -s conftest.err
4215 } && test -s conftest.$ac_objext; then
4218 echo "$as_me: failed program was:" >&5
4219 sed 's
/^
/|
/' conftest.$ac_ext >&5
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4228 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4229 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4230 GCC=`test $ac_compiler_gnu = yes && echo yes`
4231 ac_test_CFLAGS=${CFLAGS+set}
4232 ac_save_CFLAGS=$CFLAGS
4233 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4234 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4235 if test "${ac_cv_prog_cc_g+set}" = set; then
4236 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 ac_save_c_werror_flag=$ac_c_werror_flag
4239 ac_c_werror_flag=yes
4242 cat >conftest.$ac_ext <<_ACEOF
4245 cat confdefs.h >>conftest.$ac_ext
4246 cat >>conftest.$ac_ext <<_ACEOF
4247 /* end confdefs.h. */
4257 rm -f conftest.$ac_objext
4258 if { (ac_try="$ac_compile"
4260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4261 *) ac_try_echo=$ac_try;;
4263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4264 (eval "$ac_compile") 2>conftest.er1
4266 grep -v '^
*+' conftest.er1 >conftest.err
4268 cat conftest.err >&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); } && {
4271 test -z "$ac_c_werror_flag" ||
4272 test ! -s conftest.err
4273 } && test -s conftest.$ac_objext; then
4276 echo "$as_me: failed program was:" >&5
4277 sed 's
/^
/|
/' conftest.$ac_ext >&5
4280 cat >conftest.$ac_ext <<_ACEOF
4283 cat confdefs.h >>conftest.$ac_ext
4284 cat >>conftest.$ac_ext <<_ACEOF
4285 /* end confdefs.h. */
4295 rm -f conftest.$ac_objext
4296 if { (ac_try="$ac_compile"
4298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4299 *) ac_try_echo=$ac_try;;
4301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4302 (eval "$ac_compile") 2>conftest.er1
4304 grep -v '^
*+' conftest.er1 >conftest.err
4306 cat conftest.err >&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); } && {
4309 test -z "$ac_c_werror_flag" ||
4310 test ! -s conftest.err
4311 } && test -s conftest.$ac_objext; then
4314 echo "$as_me: failed program was:" >&5
4315 sed 's
/^
/|
/' conftest.$ac_ext >&5
4317 ac_c_werror_flag=$ac_save_c_werror_flag
4319 cat >conftest.$ac_ext <<_ACEOF
4322 cat confdefs.h >>conftest.$ac_ext
4323 cat >>conftest.$ac_ext <<_ACEOF
4324 /* end confdefs.h. */
4334 rm -f conftest.$ac_objext
4335 if { (ac_try="$ac_compile"
4337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4338 *) ac_try_echo=$ac_try;;
4340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4341 (eval "$ac_compile") 2>conftest.er1
4343 grep -v '^
*+' conftest.er1 >conftest.err
4345 cat conftest.err >&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } && {
4348 test -z "$ac_c_werror_flag" ||
4349 test ! -s conftest.err
4350 } && test -s conftest.$ac_objext; then
4353 echo "$as_me: failed program was:" >&5
4354 sed 's
/^
/|
/' conftest.$ac_ext >&5
4359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4366 ac_c_werror_flag=$ac_save_c_werror_flag
4368 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4369 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4370 if test "$ac_test_CFLAGS" = set; then
4371 CFLAGS=$ac_save_CFLAGS
4372 elif test $ac_cv_prog_cc_g = yes; then
4373 if test "$GCC" = yes; then
4379 if test "$GCC" = yes; then
4385 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4386 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4387 if test "${ac_cv_prog_cc_c89+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 ac_cv_prog_cc_c89=no
4392 cat >conftest.$ac_ext <<_ACEOF
4395 cat confdefs.h >>conftest.$ac_ext
4396 cat >>conftest.$ac_ext <<_ACEOF
4397 /* end confdefs.h. */
4400 #include <sys/types.h>
4401 #include <sys/stat.h>
4402 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4403 struct buf
{ int x
; };
4404 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4405 static char
*e
(p
, i
)
4411 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4416 s
= g
(p
, va_arg
(v
,int
));
4421 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4422 function prototypes and stuff
, but not
'\xHH' hex character constants.
4423 These don
't provoke an error unfortunately, instead are silently treated
4424 as 'x
'. The following induces an error, until -std is added to get
4425 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4426 array size at least. It's necessary to
write '\x00'==0 to get something
4427 that
's true only with -std. */
4428 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4430 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4431 inside strings and character constants. */
4433 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4435 int test (int i, double x);
4436 struct s1 {int (*f) (int a);};
4437 struct s2 {int (*f) (double a);};
4438 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4444 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4449 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4450 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4452 CC="$ac_save_CC $ac_arg"
4453 rm -f conftest.$ac_objext
4454 if { (ac_try="$ac_compile"
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4460 (eval "$ac_compile") 2>conftest.er1
4462 grep -v '^
*+' conftest.er1 >conftest.err
4464 cat conftest.err >&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); } && {
4467 test -z "$ac_c_werror_flag" ||
4468 test ! -s conftest.err
4469 } && test -s conftest.$ac_objext; then
4470 ac_cv_prog_cc_c89=$ac_arg
4472 echo "$as_me: failed program was:" >&5
4473 sed 's
/^
/|
/' conftest.$ac_ext >&5
4478 rm -f core conftest.err conftest.$ac_objext
4479 test "x$ac_cv_prog_cc_c89" != "xno" && break
4481 rm -f conftest.$ac_ext
4486 case "x$ac_cv_prog_cc_c89" in
4488 { echo "$as_me:$LINENO: result: none needed" >&5
4489 echo "${ECHO_T}none needed" >&6; } ;;
4491 { echo "$as_me:$LINENO: result: unsupported" >&5
4492 echo "${ECHO_T}unsupported" >&6; } ;;
4494 CC="$CC $ac_cv_prog_cc_c89"
4495 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4496 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4501 ac_cpp='$CPP $CPPFLAGS'
4502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4503 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4506 depcc="$CC" am_compiler_list=
4508 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4509 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4510 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4514 # We make a subdir and do the tests there. Otherwise we can end up
4515 # making bogus files that we don't know about and never remove. For
4516 # instance it was reported that on HP-UX the gcc test will end up
4517 # making a dummy file named `D' -- because `-MD' means `put the output
4520 # Copy depcomp to subdir because otherwise we won't find it if we're
4521 # using a relative directory.
4522 cp "$am_depcomp" conftest.dir
4524 # We will build objects and dependencies in a subdirectory because
4525 # it helps to detect inapplicable dependency modes. For instance
4526 # both Tru64's cc and ICC support -MD to output dependencies as a
4527 # side effect of compilation, but ICC will put the dependencies in
4528 # the current directory while Tru64 will put them in the object
4532 am_cv_CC_dependencies_compiler_type
=none
4533 if test "$am_compiler_list" = ""; then
4534 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4536 for depmode
in $am_compiler_list; do
4537 # Setup a source with many dependencies, because some compilers
4538 # like to wrap large dependency lists on column 80 (with \), and
4539 # we should not choose a depcomp mode which is confused by this.
4541 # We need to recreate these files for each test, as the compiler may
4542 # overwrite some of them when testing with obscure command lines.
4543 # This happens at least with the AIX C compiler.
4545 for i
in 1 2 3 4 5 6; do
4546 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4547 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4548 # Solaris 8's {/usr,}/bin/sh.
4549 touch sub
/conftst
$i.h
4551 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4555 # after this tag, mechanisms are not by side-effect, so they'll
4556 # only be used when explicitly requested
4557 if test "x$enable_dependency_tracking" = xyes
; then
4565 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4566 # mode. It turns out that the SunPro C++ compiler does not properly
4567 # handle `-M -o', and we need to detect this.
4568 if depmode
=$depmode \
4569 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4570 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4571 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4572 >/dev
/null
2>conftest.err
&&
4573 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4574 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4575 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4576 # icc doesn't choke on unknown options, it will just issue warnings
4577 # or remarks (even with -Werror). So we grep stderr for any message
4578 # that says an option was ignored or not supported.
4579 # When given -MP, icc 7.0 and 7.1 complain thusly:
4580 # icc: Command line warning: ignoring option '-M'; no argument required
4581 # The diagnosis changed in icc 8.0:
4582 # icc: Command line remark: option '-MP' not supported
4583 if (grep 'ignoring option' conftest.err ||
4584 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4585 am_cv_CC_dependencies_compiler_type
=$depmode
4594 am_cv_CC_dependencies_compiler_type
=none
4598 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4599 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4600 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4605 test "x$enable_dependency_tracking" != xno \
4606 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4608 am__fastdepCC_FALSE
='#'
4610 am__fastdepCC_TRUE
='#'
4611 am__fastdepCC_FALSE
=
4616 ac_cpp
='$CPP $CPPFLAGS'
4617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4620 if test -n "$ac_tool_prefix"; then
4621 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4622 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4625 if test "${ac_cv_prog_CC+set}" = set; then
4626 echo $ECHO_N "(cached) $ECHO_C" >&6
4628 if test -n "$CC"; then
4629 ac_cv_prog_CC
="$CC" # Let the user override the test.
4631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4635 test -z "$as_dir" && as_dir
=.
4636 for ac_exec_ext
in '' $ac_executable_extensions; do
4637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4638 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4649 if test -n "$CC"; then
4650 { echo "$as_me:$LINENO: result: $CC" >&5
4651 echo "${ECHO_T}$CC" >&6; }
4653 { echo "$as_me:$LINENO: result: no" >&5
4654 echo "${ECHO_T}no" >&6; }
4659 if test -z "$ac_cv_prog_CC"; then
4661 # Extract the first word of "gcc", so it can be a program name with args.
4662 set dummy gcc
; ac_word
=$2
4663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4665 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 if test -n "$ac_ct_CC"; then
4669 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4675 test -z "$as_dir" && as_dir
=.
4676 for ac_exec_ext
in '' $ac_executable_extensions; do
4677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4678 ac_cv_prog_ac_ct_CC
="gcc"
4679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4689 if test -n "$ac_ct_CC"; then
4690 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4691 echo "${ECHO_T}$ac_ct_CC" >&6; }
4693 { echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6; }
4697 if test "x$ac_ct_CC" = x
; then
4700 case $cross_compiling:$ac_tool_warned in
4702 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4703 whose name does not start with the host triplet. If you think this
4704 configuration is useful to you, please write to autoconf@gnu.org." >&5
4705 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4706 whose name does not start with the host triplet. If you think this
4707 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4708 ac_tool_warned
=yes ;;
4716 if test -z "$CC"; then
4717 if test -n "$ac_tool_prefix"; then
4718 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4719 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4722 if test "${ac_cv_prog_CC+set}" = set; then
4723 echo $ECHO_N "(cached) $ECHO_C" >&6
4725 if test -n "$CC"; then
4726 ac_cv_prog_CC
="$CC" # Let the user override the test.
4728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4732 test -z "$as_dir" && as_dir
=.
4733 for ac_exec_ext
in '' $ac_executable_extensions; do
4734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4735 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 if test -n "$CC"; then
4747 { echo "$as_me:$LINENO: result: $CC" >&5
4748 echo "${ECHO_T}$CC" >&6; }
4750 { echo "$as_me:$LINENO: result: no" >&5
4751 echo "${ECHO_T}no" >&6; }
4757 if test -z "$CC"; then
4758 # Extract the first word of "cc", so it can be a program name with args.
4759 set dummy cc
; ac_word
=$2
4760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4762 if test "${ac_cv_prog_CC+set}" = set; then
4763 echo $ECHO_N "(cached) $ECHO_C" >&6
4765 if test -n "$CC"; then
4766 ac_cv_prog_CC
="$CC" # Let the user override the test.
4769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4773 test -z "$as_dir" && as_dir
=.
4774 for ac_exec_ext
in '' $ac_executable_extensions; do
4775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4776 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4777 ac_prog_rejected
=yes
4781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4788 if test $ac_prog_rejected = yes; then
4789 # We found a bogon in the path, so make sure we never use it.
4790 set dummy
$ac_cv_prog_CC
4792 if test $# != 0; then
4793 # We chose a different compiler from the bogus one.
4794 # However, it has the same basename, so the bogon will be chosen
4795 # first if we set CC to just the basename; use the full file name.
4797 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4803 if test -n "$CC"; then
4804 { echo "$as_me:$LINENO: result: $CC" >&5
4805 echo "${ECHO_T}$CC" >&6; }
4807 { echo "$as_me:$LINENO: result: no" >&5
4808 echo "${ECHO_T}no" >&6; }
4813 if test -z "$CC"; then
4814 if test -n "$ac_tool_prefix"; then
4815 for ac_prog
in cl.exe
4817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4818 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4821 if test "${ac_cv_prog_CC+set}" = set; then
4822 echo $ECHO_N "(cached) $ECHO_C" >&6
4824 if test -n "$CC"; then
4825 ac_cv_prog_CC
="$CC" # Let the user override the test.
4827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4831 test -z "$as_dir" && as_dir
=.
4832 for ac_exec_ext
in '' $ac_executable_extensions; do
4833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4834 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 if test -n "$CC"; then
4846 { echo "$as_me:$LINENO: result: $CC" >&5
4847 echo "${ECHO_T}$CC" >&6; }
4849 { echo "$as_me:$LINENO: result: no" >&5
4850 echo "${ECHO_T}no" >&6; }
4854 test -n "$CC" && break
4857 if test -z "$CC"; then
4859 for ac_prog
in cl.exe
4861 # Extract the first word of "$ac_prog", so it can be a program name with args.
4862 set dummy
$ac_prog; ac_word
=$2
4863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4865 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4866 echo $ECHO_N "(cached) $ECHO_C" >&6
4868 if test -n "$ac_ct_CC"; then
4869 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4875 test -z "$as_dir" && as_dir
=.
4876 for ac_exec_ext
in '' $ac_executable_extensions; do
4877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4878 ac_cv_prog_ac_ct_CC
="$ac_prog"
4879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4888 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4889 if test -n "$ac_ct_CC"; then
4890 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4891 echo "${ECHO_T}$ac_ct_CC" >&6; }
4893 { echo "$as_me:$LINENO: result: no" >&5
4894 echo "${ECHO_T}no" >&6; }
4898 test -n "$ac_ct_CC" && break
4901 if test "x$ac_ct_CC" = x
; then
4904 case $cross_compiling:$ac_tool_warned in
4906 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4907 whose name does not start with the host triplet. If you think this
4908 configuration is useful to you, please write to autoconf@gnu.org." >&5
4909 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4910 whose name does not start with the host triplet. If you think this
4911 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4912 ac_tool_warned
=yes ;;
4921 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4922 See \`config.log' for more details." >&5
4923 echo "$as_me: error: no acceptable C compiler found in \$PATH
4924 See \`config.log' for more details." >&2;}
4925 { (exit 1); exit 1; }; }
4927 # Provide some information about the compiler.
4928 echo "$as_me:$LINENO: checking for C compiler version" >&5
4929 ac_compiler
=`set X $ac_compile; echo $2`
4930 { (ac_try
="$ac_compiler --version >&5"
4932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4933 *) ac_try_echo=$ac_try;;
4935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4936 (eval "$ac_compiler --version >&5") 2>&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }
4940 { (ac_try="$ac_compiler -v >&5"
4942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4943 *) ac_try_echo
=$ac_try;;
4945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4946 (eval "$ac_compiler -v >&5") 2>&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); }
4950 { (ac_try
="$ac_compiler -V >&5"
4952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4953 *) ac_try_echo=$ac_try;;
4955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4956 (eval "$ac_compiler -V >&5") 2>&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); }
4961 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4962 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4963 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4964 echo $ECHO_N "(cached) $ECHO_C" >&6
4966 cat >conftest.$ac_ext <<_ACEOF
4969 cat confdefs.h >>conftest.$ac_ext
4970 cat >>conftest.$ac_ext <<_ACEOF
4971 /* end confdefs.h. */
4984 rm -f conftest.$ac_objext
4985 if { (ac_try="$ac_compile"
4987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4988 *) ac_try_echo
=$ac_try;;
4990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4991 (eval "$ac_compile") 2>conftest.er1
4993 grep -v '^ *+' conftest.er1
>conftest.err
4995 cat conftest.err
>&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); } && {
4998 test -z "$ac_c_werror_flag" ||
4999 test ! -s conftest.err
5000 } && test -s conftest.
$ac_objext; then
5003 echo "$as_me: failed program was:" >&5
5004 sed 's/^/| /' conftest.
$ac_ext >&5
5009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5010 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5013 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5014 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5015 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5016 ac_test_CFLAGS
=${CFLAGS+set}
5017 ac_save_CFLAGS
=$CFLAGS
5018 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5019 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5020 if test "${ac_cv_prog_cc_g+set}" = set; then
5021 echo $ECHO_N "(cached) $ECHO_C" >&6
5023 ac_save_c_werror_flag
=$ac_c_werror_flag
5024 ac_c_werror_flag
=yes
5027 cat >conftest.
$ac_ext <<_ACEOF
5030 cat confdefs.h
>>conftest.
$ac_ext
5031 cat >>conftest.
$ac_ext <<_ACEOF
5032 /* end confdefs.h. */
5042 rm -f conftest.
$ac_objext
5043 if { (ac_try
="$ac_compile"
5045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5046 *) ac_try_echo=$ac_try;;
5048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5049 (eval "$ac_compile") 2>conftest.er1
5051 grep -v '^ *+' conftest.er1 >conftest.err
5053 cat conftest.err >&5
5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055 (exit $ac_status); } && {
5056 test -z "$ac_c_werror_flag" ||
5057 test ! -s conftest.err
5058 } && test -s conftest.$ac_objext; then
5061 echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.$ac_ext >&5
5065 cat >conftest.$ac_ext <<_ACEOF
5068 cat confdefs.h >>conftest.$ac_ext
5069 cat >>conftest.$ac_ext <<_ACEOF
5070 /* end confdefs.h. */
5080 rm -f conftest.$ac_objext
5081 if { (ac_try="$ac_compile"
5083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5084 *) ac_try_echo
=$ac_try;;
5086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5087 (eval "$ac_compile") 2>conftest.er1
5089 grep -v '^ *+' conftest.er1
>conftest.err
5091 cat conftest.err
>&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); } && {
5094 test -z "$ac_c_werror_flag" ||
5095 test ! -s conftest.err
5096 } && test -s conftest.
$ac_objext; then
5099 echo "$as_me: failed program was:" >&5
5100 sed 's/^/| /' conftest.
$ac_ext >&5
5102 ac_c_werror_flag
=$ac_save_c_werror_flag
5104 cat >conftest.
$ac_ext <<_ACEOF
5107 cat confdefs.h
>>conftest.
$ac_ext
5108 cat >>conftest.
$ac_ext <<_ACEOF
5109 /* end confdefs.h. */
5119 rm -f conftest.
$ac_objext
5120 if { (ac_try
="$ac_compile"
5122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5123 *) ac_try_echo=$ac_try;;
5125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5126 (eval "$ac_compile") 2>conftest.er1
5128 grep -v '^ *+' conftest.er1 >conftest.err
5130 cat conftest.err >&5
5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); } && {
5133 test -z "$ac_c_werror_flag" ||
5134 test ! -s conftest.err
5135 } && test -s conftest.$ac_objext; then
5138 echo "$as_me: failed program was:" >&5
5139 sed 's/^/| /' conftest.$ac_ext >&5
5144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5151 ac_c_werror_flag=$ac_save_c_werror_flag
5153 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5154 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5155 if test "$ac_test_CFLAGS" = set; then
5156 CFLAGS=$ac_save_CFLAGS
5157 elif test $ac_cv_prog_cc_g = yes; then
5158 if test "$GCC" = yes; then
5164 if test "$GCC" = yes; then
5170 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5171 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5172 if test "${ac_cv_prog_cc_c89+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 ac_cv_prog_cc_c89=no
5177 cat >conftest.$ac_ext <<_ACEOF
5180 cat confdefs.h >>conftest.$ac_ext
5181 cat >>conftest.$ac_ext <<_ACEOF
5182 /* end confdefs.h. */
5185 #include <sys/types.h>
5186 #include <sys/stat.h>
5187 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5188 struct buf { int x; };
5189 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5190 static char *e (p, i)
5196 static char *f (char * (*g) (char **, int), char **p, ...)
5201 s = g (p, va_arg (v,int));
5206 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5207 function prototypes and stuff, but not '\xHH' hex character constants.
5208 These don't provoke an error unfortunately, instead are silently treated
5209 as 'x'. The following induces an error, until -std is added to get
5210 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5211 array size at least. It's necessary to write '\x00'==0 to get something
5212 that's true only with -std. */
5213 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5215 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5216 inside strings and character constants. */
5218 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5220 int test (int i, double x);
5221 struct s1 {int (*f) (int a);};
5222 struct s2 {int (*f) (double a);};
5223 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5229 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5234 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5235 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5237 CC="$ac_save_CC $ac_arg"
5238 rm -f conftest.$ac_objext
5239 if { (ac_try="$ac_compile"
5241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5242 *) ac_try_echo
=$ac_try;;
5244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5245 (eval "$ac_compile") 2>conftest.er1
5247 grep -v '^ *+' conftest.er1
>conftest.err
5249 cat conftest.err
>&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); } && {
5252 test -z "$ac_c_werror_flag" ||
5253 test ! -s conftest.err
5254 } && test -s conftest.
$ac_objext; then
5255 ac_cv_prog_cc_c89
=$ac_arg
5257 echo "$as_me: failed program was:" >&5
5258 sed 's/^/| /' conftest.
$ac_ext >&5
5263 rm -f core conftest.err conftest.
$ac_objext
5264 test "x$ac_cv_prog_cc_c89" != "xno" && break
5266 rm -f conftest.
$ac_ext
5271 case "x$ac_cv_prog_cc_c89" in
5273 { echo "$as_me:$LINENO: result: none needed" >&5
5274 echo "${ECHO_T}none needed" >&6; } ;;
5276 { echo "$as_me:$LINENO: result: unsupported" >&5
5277 echo "${ECHO_T}unsupported" >&6; } ;;
5279 CC
="$CC $ac_cv_prog_cc_c89"
5280 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5281 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5286 ac_cpp
='$CPP $CPPFLAGS'
5287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5291 depcc
="$CC" am_compiler_list
=
5293 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5294 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5295 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5296 echo $ECHO_N "(cached) $ECHO_C" >&6
5298 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5299 # We make a subdir and do the tests there. Otherwise we can end up
5300 # making bogus files that we don't know about and never remove. For
5301 # instance it was reported that on HP-UX the gcc test will end up
5302 # making a dummy file named `D' -- because `-MD' means `put the output
5305 # Copy depcomp to subdir because otherwise we won't find it if we're
5306 # using a relative directory.
5307 cp "$am_depcomp" conftest.dir
5309 # We will build objects and dependencies in a subdirectory because
5310 # it helps to detect inapplicable dependency modes. For instance
5311 # both Tru64's cc and ICC support -MD to output dependencies as a
5312 # side effect of compilation, but ICC will put the dependencies in
5313 # the current directory while Tru64 will put them in the object
5317 am_cv_CC_dependencies_compiler_type
=none
5318 if test "$am_compiler_list" = ""; then
5319 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5321 for depmode
in $am_compiler_list; do
5322 # Setup a source with many dependencies, because some compilers
5323 # like to wrap large dependency lists on column 80 (with \), and
5324 # we should not choose a depcomp mode which is confused by this.
5326 # We need to recreate these files for each test, as the compiler may
5327 # overwrite some of them when testing with obscure command lines.
5328 # This happens at least with the AIX C compiler.
5330 for i
in 1 2 3 4 5 6; do
5331 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5332 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5333 # Solaris 8's {/usr,}/bin/sh.
5334 touch sub
/conftst
$i.h
5336 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5340 # after this tag, mechanisms are not by side-effect, so they'll
5341 # only be used when explicitly requested
5342 if test "x$enable_dependency_tracking" = xyes
; then
5350 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5351 # mode. It turns out that the SunPro C++ compiler does not properly
5352 # handle `-M -o', and we need to detect this.
5353 if depmode
=$depmode \
5354 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5355 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5356 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5357 >/dev
/null
2>conftest.err
&&
5358 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5359 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5360 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5361 # icc doesn't choke on unknown options, it will just issue warnings
5362 # or remarks (even with -Werror). So we grep stderr for any message
5363 # that says an option was ignored or not supported.
5364 # When given -MP, icc 7.0 and 7.1 complain thusly:
5365 # icc: Command line warning: ignoring option '-M'; no argument required
5366 # The diagnosis changed in icc 8.0:
5367 # icc: Command line remark: option '-MP' not supported
5368 if (grep 'ignoring option' conftest.err ||
5369 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5370 am_cv_CC_dependencies_compiler_type
=$depmode
5379 am_cv_CC_dependencies_compiler_type
=none
5383 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5384 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5385 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5390 test "x$enable_dependency_tracking" != xno \
5391 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5393 am__fastdepCC_FALSE
='#'
5395 am__fastdepCC_TRUE
='#'
5396 am__fastdepCC_FALSE
=
5401 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5404 ac_cpp
='$CPP $CPPFLAGS'
5405 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5406 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5407 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5408 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5409 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5410 # On Suns, sometimes $CPP names a directory.
5411 if test -n "$CPP" && test -d "$CPP"; then
5414 if test -z "$CPP"; then
5415 if test "${ac_cv_prog_CPP+set}" = set; then
5416 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 # Double quotes because CPP needs to be expanded
5419 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5422 for ac_c_preproc_warn_flag
in '' yes
5424 # Use a header file that comes with gcc, so configuring glibc
5425 # with a fresh cross-compiler works.
5426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5427 # <limits.h> exists even on freestanding compilers.
5428 # On the NeXT, cc -E runs the code through the compiler's parser,
5429 # not just through cpp. "Syntax error" is here to catch this case.
5430 cat >conftest.
$ac_ext <<_ACEOF
5433 cat confdefs.h
>>conftest.
$ac_ext
5434 cat >>conftest.
$ac_ext <<_ACEOF
5435 /* end confdefs.h. */
5437 # include <limits.h>
5439 # include <assert.h>
5443 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5446 *) ac_try_echo=$ac_try;;
5448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5449 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5451 grep -v '^ *+' conftest.er1 >conftest.err
5453 cat conftest.err >&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); } >/dev/null && {
5456 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5457 test ! -s conftest.err
5461 echo "$as_me: failed program was:" >&5
5462 sed 's/^/| /' conftest.$ac_ext >&5
5464 # Broken: fails on valid input.
5468 rm -f conftest.err conftest.$ac_ext
5470 # OK, works on sane cases. Now check whether nonexistent headers
5471 # can be detected and how.
5472 cat >conftest.$ac_ext <<_ACEOF
5475 cat confdefs.h >>conftest.$ac_ext
5476 cat >>conftest.$ac_ext <<_ACEOF
5477 /* end confdefs.h. */
5478 #include <ac_nonexistent.h>
5480 if { (ac_try="$ac_cpp conftest.$ac_ext"
5482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5483 *) ac_try_echo
=$ac_try;;
5485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5486 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5488 grep -v '^ *+' conftest.er1
>conftest.err
5490 cat conftest.err
>&5
5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); } >/dev
/null
&& {
5493 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5494 test ! -s conftest.err
5496 # Broken: success on invalid input.
5499 echo "$as_me: failed program was:" >&5
5500 sed 's/^/| /' conftest.
$ac_ext >&5
5502 # Passes both tests.
5507 rm -f conftest.err conftest.
$ac_ext
5510 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5511 rm -f conftest.err conftest.
$ac_ext
5512 if $ac_preproc_ok; then
5524 { echo "$as_me:$LINENO: result: $CPP" >&5
5525 echo "${ECHO_T}$CPP" >&6; }
5527 for ac_c_preproc_warn_flag
in '' yes
5529 # Use a header file that comes with gcc, so configuring glibc
5530 # with a fresh cross-compiler works.
5531 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5532 # <limits.h> exists even on freestanding compilers.
5533 # On the NeXT, cc -E runs the code through the compiler's parser,
5534 # not just through cpp. "Syntax error" is here to catch this case.
5535 cat >conftest.
$ac_ext <<_ACEOF
5538 cat confdefs.h
>>conftest.
$ac_ext
5539 cat >>conftest.
$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5542 # include <limits.h>
5544 # include <assert.h>
5548 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5551 *) ac_try_echo=$ac_try;;
5553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5554 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5556 grep -v '^ *+' conftest.er1 >conftest.err
5558 cat conftest.err >&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); } >/dev/null && {
5561 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5562 test ! -s conftest.err
5566 echo "$as_me: failed program was:" >&5
5567 sed 's/^/| /' conftest.$ac_ext >&5
5569 # Broken: fails on valid input.
5573 rm -f conftest.err conftest.$ac_ext
5575 # OK, works on sane cases. Now check whether nonexistent headers
5576 # can be detected and how.
5577 cat >conftest.$ac_ext <<_ACEOF
5580 cat confdefs.h >>conftest.$ac_ext
5581 cat >>conftest.$ac_ext <<_ACEOF
5582 /* end confdefs.h. */
5583 #include <ac_nonexistent.h>
5585 if { (ac_try="$ac_cpp conftest.$ac_ext"
5587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5588 *) ac_try_echo
=$ac_try;;
5590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5593 grep -v '^ *+' conftest.er1
>conftest.err
5595 cat conftest.err
>&5
5596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597 (exit $ac_status); } >/dev
/null
&& {
5598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5599 test ! -s conftest.err
5601 # Broken: success on invalid input.
5604 echo "$as_me: failed program was:" >&5
5605 sed 's/^/| /' conftest.
$ac_ext >&5
5607 # Passes both tests.
5612 rm -f conftest.err conftest.
$ac_ext
5615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5616 rm -f conftest.err conftest.
$ac_ext
5617 if $ac_preproc_ok; then
5620 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5621 See \`config.log' for more details." >&5
5622 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5623 See \`config.log' for more details." >&2;}
5624 { (exit 1); exit 1; }; }
5628 ac_cpp
='$CPP $CPPFLAGS'
5629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5634 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5635 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5636 if test "${ac_cv_path_GREP+set}" = set; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 # Extract the first word of "grep ggrep" to use in msg output
5640 if test -z "$GREP"; then
5641 set dummy
grep ggrep
; ac_prog_name
=$2
5642 if test "${ac_cv_path_GREP+set}" = set; then
5643 echo $ECHO_N "(cached) $ECHO_C" >&6
5645 ac_path_GREP_found
=false
5646 # Loop through the user's path and test for each of PROGNAME-LIST
5647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5648 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5651 test -z "$as_dir" && as_dir
=.
5652 for ac_prog
in grep ggrep
; do
5653 for ac_exec_ext
in '' $ac_executable_extensions; do
5654 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5655 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5656 # Check for GNU ac_path_GREP and select it if it is found.
5657 # Check for GNU $ac_path_GREP
5658 case `"$ac_path_GREP" --version 2>&1` in
5660 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5663 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5666 cat "conftest.in" "conftest.in" >"conftest.tmp"
5667 mv "conftest.tmp" "conftest.in"
5668 cp "conftest.in" "conftest.nl"
5669 echo 'GREP' >> "conftest.nl"
5670 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5671 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5672 ac_count
=`expr $ac_count + 1`
5673 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5674 # Best one so far, save it but keep looking for a better one
5675 ac_cv_path_GREP
="$ac_path_GREP"
5676 ac_path_GREP_max
=$ac_count
5678 # 10*(2^10) chars as input seems more than enough
5679 test $ac_count -gt 10 && break
5681 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5685 $ac_path_GREP_found && break 3
5695 GREP
="$ac_cv_path_GREP"
5696 if test -z "$GREP"; then
5697 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5698 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5699 { (exit 1); exit 1; }; }
5703 ac_cv_path_GREP
=$GREP
5708 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5709 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5710 GREP
="$ac_cv_path_GREP"
5713 { echo "$as_me:$LINENO: checking for egrep" >&5
5714 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5715 if test "${ac_cv_path_EGREP+set}" = set; then
5716 echo $ECHO_N "(cached) $ECHO_C" >&6
5718 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5719 then ac_cv_path_EGREP
="$GREP -E"
5721 # Extract the first word of "egrep" to use in msg output
5722 if test -z "$EGREP"; then
5723 set dummy
egrep; ac_prog_name
=$2
5724 if test "${ac_cv_path_EGREP+set}" = set; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 ac_path_EGREP_found
=false
5728 # Loop through the user's path and test for each of PROGNAME-LIST
5729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5730 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5733 test -z "$as_dir" && as_dir
=.
5734 for ac_prog
in egrep; do
5735 for ac_exec_ext
in '' $ac_executable_extensions; do
5736 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5737 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5738 # Check for GNU ac_path_EGREP and select it if it is found.
5739 # Check for GNU $ac_path_EGREP
5740 case `"$ac_path_EGREP" --version 2>&1` in
5742 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5745 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5748 cat "conftest.in" "conftest.in" >"conftest.tmp"
5749 mv "conftest.tmp" "conftest.in"
5750 cp "conftest.in" "conftest.nl"
5751 echo 'EGREP' >> "conftest.nl"
5752 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5753 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5754 ac_count
=`expr $ac_count + 1`
5755 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5756 # Best one so far, save it but keep looking for a better one
5757 ac_cv_path_EGREP
="$ac_path_EGREP"
5758 ac_path_EGREP_max
=$ac_count
5760 # 10*(2^10) chars as input seems more than enough
5761 test $ac_count -gt 10 && break
5763 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5767 $ac_path_EGREP_found && break 3
5777 EGREP
="$ac_cv_path_EGREP"
5778 if test -z "$EGREP"; then
5779 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5780 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5781 { (exit 1); exit 1; }; }
5785 ac_cv_path_EGREP
=$EGREP
5791 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5792 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5793 EGREP
="$ac_cv_path_EGREP"
5796 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5797 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5798 if test "${ac_cv_header_stdc+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 cat >conftest.
$ac_ext <<_ACEOF
5804 cat confdefs.h
>>conftest.
$ac_ext
5805 cat >>conftest.
$ac_ext <<_ACEOF
5806 /* end confdefs.h. */
5820 rm -f conftest.
$ac_objext
5821 if { (ac_try
="$ac_compile"
5823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5824 *) ac_try_echo=$ac_try;;
5826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5827 (eval "$ac_compile") 2>conftest.er1
5829 grep -v '^ *+' conftest.er1 >conftest.err
5831 cat conftest.err >&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); } && {
5834 test -z "$ac_c_werror_flag" ||
5835 test ! -s conftest.err
5836 } && test -s conftest.$ac_objext; then
5837 ac_cv_header_stdc=yes
5839 echo "$as_me: failed program was:" >&5
5840 sed 's/^/| /' conftest.$ac_ext >&5
5842 ac_cv_header_stdc=no
5845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5847 if test $ac_cv_header_stdc = yes; then
5848 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5849 cat >conftest.$ac_ext <<_ACEOF
5852 cat confdefs.h >>conftest.$ac_ext
5853 cat >>conftest.$ac_ext <<_ACEOF
5854 /* end confdefs.h. */
5858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5859 $EGREP "memchr" >/dev/null 2>&1; then
5862 ac_cv_header_stdc=no
5868 if test $ac_cv_header_stdc = yes; then
5869 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5870 cat >conftest.$ac_ext <<_ACEOF
5873 cat confdefs.h >>conftest.$ac_ext
5874 cat >>conftest.$ac_ext <<_ACEOF
5875 /* end confdefs.h. */
5879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5880 $EGREP "free" >/dev/null 2>&1; then
5883 ac_cv_header_stdc=no
5889 if test $ac_cv_header_stdc = yes; then
5890 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5891 if test "$cross_compiling" = yes; then
5894 cat >conftest.$ac_ext <<_ACEOF
5897 cat confdefs.h >>conftest.$ac_ext
5898 cat >>conftest.$ac_ext <<_ACEOF
5899 /* end confdefs.h. */
5902 #if ((' ' & 0x0FF) == 0x020)
5903 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5904 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5906 # define ISLOWER(c) \
5907 (('a' <= (c) && (c) <= 'i') \
5908 || ('j' <= (c) && (c) <= 'r') \
5909 || ('s' <= (c) && (c) <= 'z'))
5910 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5913 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5918 for (i = 0; i < 256; i++)
5919 if (XOR (islower (i), ISLOWER (i))
5920 || toupper (i) != TOUPPER (i))
5925 rm -f conftest$ac_exeext
5926 if { (ac_try="$ac_link"
5928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5929 *) ac_try_echo
=$ac_try;;
5931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5932 (eval "$ac_link") 2>&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5936 { (case "(($ac_try" in
5937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5938 *) ac_try_echo=$ac_try;;
5940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5941 (eval "$ac_try") 2>&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); }; }; then
5947 echo "$as_me: program exited with status $ac_status" >&5
5948 echo "$as_me: failed program was:" >&5
5949 sed 's/^/| /' conftest.$ac_ext >&5
5952 ac_cv_header_stdc=no
5954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5960 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5961 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5962 if test $ac_cv_header_stdc = yes; then
5964 cat >>confdefs.h <<\_ACEOF
5965 #define STDC_HEADERS 1
5971 ac_cpp='$CXXCPP $CPPFLAGS'
5972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5975 if test -z "$CXX"; then
5976 if test -n "$CCC"; then
5979 if test -n "$ac_tool_prefix"; then
5980 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5983 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5986 if test "${ac_cv_prog_CXX+set}" = set; then
5987 echo $ECHO_N "(cached) $ECHO_C" >&6
5989 if test -n "$CXX"; then
5990 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5996 test -z "$as_dir" && as_dir=.
5997 for ac_exec_ext in '' $ac_executable_extensions; do
5998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5999 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6010 if test -n "$CXX"; then
6011 { echo "$as_me:$LINENO: result: $CXX" >&5
6012 echo "${ECHO_T}$CXX" >&6; }
6014 { echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6; }
6019 test -n "$CXX" && break
6022 if test -z "$CXX"; then
6024 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6026 # Extract the first word of "$ac_prog", so it can be a program name with args.
6027 set dummy $ac_prog; ac_word=$2
6028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6030 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6031 echo $ECHO_N "(cached) $ECHO_C" >&6
6033 if test -n "$ac_ct_CXX"; then
6034 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 test -z "$as_dir" && as_dir=.
6041 for ac_exec_ext in '' $ac_executable_extensions; do
6042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6043 ac_cv_prog_ac_ct_CXX="$ac_prog"
6044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6053 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6054 if test -n "$ac_ct_CXX"; then
6055 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6056 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6058 { echo "$as_me:$LINENO: result: no" >&5
6059 echo "${ECHO_T}no" >&6; }
6063 test -n "$ac_ct_CXX" && break
6066 if test "x$ac_ct_CXX" = x; then
6069 case $cross_compiling:$ac_tool_warned in
6071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6072 whose name does not start with the host triplet. If you think this
6073 configuration is useful to you, please write to autoconf@gnu.org." >&5
6074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6075 whose name does not start with the host triplet. If you think this
6076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6077 ac_tool_warned=yes ;;
6085 # Provide some information about the compiler.
6086 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6087 ac_compiler=`set X
$ac_compile; echo $2`
6088 { (ac_try="$ac_compiler --version >&5"
6090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6091 *) ac_try_echo
=$ac_try;;
6093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6094 (eval "$ac_compiler --version >&5") 2>&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }
6098 { (ac_try
="$ac_compiler -v >&5"
6100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6101 *) ac_try_echo=$ac_try;;
6103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6104 (eval "$ac_compiler -v >&5") 2>&5
6106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107 (exit $ac_status); }
6108 { (ac_try="$ac_compiler -V >&5"
6110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6111 *) ac_try_echo
=$ac_try;;
6113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6114 (eval "$ac_compiler -V >&5") 2>&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); }
6119 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6120 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6121 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6122 echo $ECHO_N "(cached) $ECHO_C" >&6
6124 cat >conftest.
$ac_ext <<_ACEOF
6127 cat confdefs.h
>>conftest.
$ac_ext
6128 cat >>conftest.
$ac_ext <<_ACEOF
6129 /* end confdefs.h. */
6142 rm -f conftest.
$ac_objext
6143 if { (ac_try
="$ac_compile"
6145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6146 *) ac_try_echo=$ac_try;;
6148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6149 (eval "$ac_compile") 2>conftest.er1
6151 grep -v '^ *+' conftest.er1 >conftest.err
6153 cat conftest.err >&5
6154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6155 (exit $ac_status); } && {
6156 test -z "$ac_cxx_werror_flag" ||
6157 test ! -s conftest.err
6158 } && test -s conftest.$ac_objext; then
6161 echo "$as_me: failed program was:" >&5
6162 sed 's/^/| /' conftest.$ac_ext >&5
6167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6168 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6171 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6172 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6173 GXX=`test $ac_compiler_gnu = yes && echo yes`
6174 ac_test_CXXFLAGS=${CXXFLAGS+set}
6175 ac_save_CXXFLAGS=$CXXFLAGS
6176 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6177 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6178 if test "${ac_cv_prog_cxx_g+set}" = set; then
6179 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6182 ac_cxx_werror_flag=yes
6185 cat >conftest.$ac_ext <<_ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6200 rm -f conftest.$ac_objext
6201 if { (ac_try="$ac_compile"
6203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6204 *) ac_try_echo
=$ac_try;;
6206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6207 (eval "$ac_compile") 2>conftest.er1
6209 grep -v '^ *+' conftest.er1
>conftest.err
6211 cat conftest.err
>&5
6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 (exit $ac_status); } && {
6214 test -z "$ac_cxx_werror_flag" ||
6215 test ! -s conftest.err
6216 } && test -s conftest.
$ac_objext; then
6217 ac_cv_prog_cxx_g
=yes
6219 echo "$as_me: failed program was:" >&5
6220 sed 's/^/| /' conftest.
$ac_ext >&5
6223 cat >conftest.
$ac_ext <<_ACEOF
6226 cat confdefs.h
>>conftest.
$ac_ext
6227 cat >>conftest.
$ac_ext <<_ACEOF
6228 /* end confdefs.h. */
6238 rm -f conftest.
$ac_objext
6239 if { (ac_try
="$ac_compile"
6241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6242 *) ac_try_echo=$ac_try;;
6244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6245 (eval "$ac_compile") 2>conftest.er1
6247 grep -v '^ *+' conftest.er1 >conftest.err
6249 cat conftest.err >&5
6250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251 (exit $ac_status); } && {
6252 test -z "$ac_cxx_werror_flag" ||
6253 test ! -s conftest.err
6254 } && test -s conftest.$ac_objext; then
6257 echo "$as_me: failed program was:" >&5
6258 sed 's/^/| /' conftest.$ac_ext >&5
6260 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6262 cat >conftest.$ac_ext <<_ACEOF
6265 cat confdefs.h >>conftest.$ac_ext
6266 cat >>conftest.$ac_ext <<_ACEOF
6267 /* end confdefs.h. */
6277 rm -f conftest.$ac_objext
6278 if { (ac_try="$ac_compile"
6280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6281 *) ac_try_echo
=$ac_try;;
6283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6284 (eval "$ac_compile") 2>conftest.er1
6286 grep -v '^ *+' conftest.er1
>conftest.err
6288 cat conftest.err
>&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } && {
6291 test -z "$ac_cxx_werror_flag" ||
6292 test ! -s conftest.err
6293 } && test -s conftest.
$ac_objext; then
6294 ac_cv_prog_cxx_g
=yes
6296 echo "$as_me: failed program was:" >&5
6297 sed 's/^/| /' conftest.
$ac_ext >&5
6302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6309 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6311 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6312 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6313 if test "$ac_test_CXXFLAGS" = set; then
6314 CXXFLAGS
=$ac_save_CXXFLAGS
6315 elif test $ac_cv_prog_cxx_g = yes; then
6316 if test "$GXX" = yes; then
6322 if test "$GXX" = yes; then
6329 ac_cpp
='$CPP $CPPFLAGS'
6330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6334 depcc
="$CXX" am_compiler_list
=
6336 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6337 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6338 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6339 echo $ECHO_N "(cached) $ECHO_C" >&6
6341 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6342 # We make a subdir and do the tests there. Otherwise we can end up
6343 # making bogus files that we don't know about and never remove. For
6344 # instance it was reported that on HP-UX the gcc test will end up
6345 # making a dummy file named `D' -- because `-MD' means `put the output
6348 # Copy depcomp to subdir because otherwise we won't find it if we're
6349 # using a relative directory.
6350 cp "$am_depcomp" conftest.dir
6352 # We will build objects and dependencies in a subdirectory because
6353 # it helps to detect inapplicable dependency modes. For instance
6354 # both Tru64's cc and ICC support -MD to output dependencies as a
6355 # side effect of compilation, but ICC will put the dependencies in
6356 # the current directory while Tru64 will put them in the object
6360 am_cv_CXX_dependencies_compiler_type
=none
6361 if test "$am_compiler_list" = ""; then
6362 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6364 for depmode
in $am_compiler_list; do
6365 # Setup a source with many dependencies, because some compilers
6366 # like to wrap large dependency lists on column 80 (with \), and
6367 # we should not choose a depcomp mode which is confused by this.
6369 # We need to recreate these files for each test, as the compiler may
6370 # overwrite some of them when testing with obscure command lines.
6371 # This happens at least with the AIX C compiler.
6373 for i
in 1 2 3 4 5 6; do
6374 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6375 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6376 # Solaris 8's {/usr,}/bin/sh.
6377 touch sub
/conftst
$i.h
6379 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6383 # after this tag, mechanisms are not by side-effect, so they'll
6384 # only be used when explicitly requested
6385 if test "x$enable_dependency_tracking" = xyes
; then
6393 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6394 # mode. It turns out that the SunPro C++ compiler does not properly
6395 # handle `-M -o', and we need to detect this.
6396 if depmode
=$depmode \
6397 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6398 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6399 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6400 >/dev
/null
2>conftest.err
&&
6401 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6402 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6403 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6404 # icc doesn't choke on unknown options, it will just issue warnings
6405 # or remarks (even with -Werror). So we grep stderr for any message
6406 # that says an option was ignored or not supported.
6407 # When given -MP, icc 7.0 and 7.1 complain thusly:
6408 # icc: Command line warning: ignoring option '-M'; no argument required
6409 # The diagnosis changed in icc 8.0:
6410 # icc: Command line remark: option '-MP' not supported
6411 if (grep 'ignoring option' conftest.err ||
6412 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6413 am_cv_CXX_dependencies_compiler_type
=$depmode
6422 am_cv_CXX_dependencies_compiler_type
=none
6426 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6427 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6428 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6433 test "x$enable_dependency_tracking" != xno \
6434 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6435 am__fastdepCXX_TRUE
=
6436 am__fastdepCXX_FALSE
='#'
6438 am__fastdepCXX_TRUE
='#'
6439 am__fastdepCXX_FALSE
=
6443 # Check whether --enable-static was given.
6444 if test "${enable_static+set}" = set; then
6445 enableval
=$enable_static; p
=${PACKAGE-default}
6447 yes) enable_static
=yes ;;
6448 no
) enable_static
=no
;;
6451 # Look at the argument we got. We use all the common list separators.
6452 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6453 for pkg
in $enableval; do
6455 if test "X$pkg" = "X$p"; then
6468 # Check whether --enable-shared was given.
6469 if test "${enable_shared+set}" = set; then
6470 enableval
=$enable_shared; p
=${PACKAGE-default}
6472 yes) enable_shared
=yes ;;
6473 no
) enable_shared
=no
;;
6476 # Look at the argument we got. We use all the common list separators.
6477 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6478 for pkg
in $enableval; do
6480 if test "X$pkg" = "X$p"; then
6492 # Check whether --enable-fast-install was given.
6493 if test "${enable_fast_install+set}" = set; then
6494 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6496 yes) enable_fast_install
=yes ;;
6497 no
) enable_fast_install
=no
;;
6499 enable_fast_install
=no
6500 # Look at the argument we got. We use all the common list separators.
6501 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6502 for pkg
in $enableval; do
6504 if test "X$pkg" = "X$p"; then
6505 enable_fast_install
=yes
6512 enable_fast_install
=yes
6516 # Make sure we can run config.sub.
6517 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
6518 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6519 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6520 { (exit 1); exit 1; }; }
6522 { echo "$as_me:$LINENO: checking build system type" >&5
6523 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
6524 if test "${ac_cv_build+set}" = set; then
6525 echo $ECHO_N "(cached) $ECHO_C" >&6
6527 ac_build_alias
=$build_alias
6528 test "x$ac_build_alias" = x
&&
6529 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
6530 test "x$ac_build_alias" = x
&&
6531 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6532 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6533 { (exit 1); exit 1; }; }
6534 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6535 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6536 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6537 { (exit 1); exit 1; }; }
6540 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6541 echo "${ECHO_T}$ac_cv_build" >&6; }
6542 case $ac_cv_build in
6544 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
6545 echo "$as_me: error: invalid value of canonical build" >&2;}
6546 { (exit 1); exit 1; }; };;
6549 ac_save_IFS
=$IFS; IFS
='-'
6555 # Remember, the first character of IFS is used to create $*,
6556 # except with old shells:
6559 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
6562 { echo "$as_me:$LINENO: checking host system type" >&5
6563 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
6564 if test "${ac_cv_host+set}" = set; then
6565 echo $ECHO_N "(cached) $ECHO_C" >&6
6567 if test "x$host_alias" = x
; then
6568 ac_cv_host
=$ac_cv_build
6570 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6571 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
6572 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6573 { (exit 1); exit 1; }; }
6577 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6578 echo "${ECHO_T}$ac_cv_host" >&6; }
6581 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
6582 echo "$as_me: error: invalid value of canonical host" >&2;}
6583 { (exit 1); exit 1; }; };;
6586 ac_save_IFS
=$IFS; IFS
='-'
6592 # Remember, the first character of IFS is used to create $*,
6593 # except with old shells:
6596 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
6599 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6600 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
6601 if test "${lt_cv_path_SED+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6604 # Loop through the user's path and test for sed and gsed.
6605 # Then use that list of sed's as ones to test for truncation.
6606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6610 test -z "$as_dir" && as_dir
=.
6611 for lt_ac_prog
in sed gsed
; do
6612 for ac_exec_ext
in '' $ac_executable_extensions; do
6613 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
6614 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6621 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
6622 # along with /bin/sed that truncates output.
6623 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
6624 test ! -f $lt_ac_sed && continue
6625 cat /dev
/null
> conftest.
in
6627 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
6628 # Check for GNU sed and select it if it is found.
6629 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
6630 lt_cv_path_SED
=$lt_ac_sed
6634 cat conftest.
in conftest.
in >conftest.tmp
6635 mv conftest.tmp conftest.
in
6636 cp conftest.
in conftest.
nl
6638 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
6639 cmp -s conftest.out conftest.
nl ||
break
6640 # 10000 chars as input seems more than enough
6641 test $lt_ac_count -gt 10 && break
6642 lt_ac_count
=`expr $lt_ac_count + 1`
6643 if test $lt_ac_count -gt $lt_ac_max; then
6644 lt_ac_max
=$lt_ac_count
6645 lt_cv_path_SED
=$lt_ac_sed
6653 { echo "$as_me:$LINENO: result: $SED" >&5
6654 echo "${ECHO_T}$SED" >&6; }
6657 # Check whether --with-gnu-ld was given.
6658 if test "${with_gnu_ld+set}" = set; then
6659 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6665 if test "$GCC" = yes; then
6666 # Check if gcc -print-prog-name=ld gives a path.
6667 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6668 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6671 # gcc leaves a trailing carriage return which upsets mingw
6672 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6674 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6677 # Accept absolute paths.
6679 re_direlt
='/[^/][^/]*/\.\./'
6680 # Canonicalize the pathname of ld
6681 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
6682 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6683 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6685 test -z "$LD" && LD
="$ac_prog"
6688 # If it fails, then pretend we aren't using GCC.
6692 # If it is relative, then search for the first ld in PATH.
6696 elif test "$with_gnu_ld" = yes; then
6697 { echo "$as_me:$LINENO: checking for GNU ld" >&5
6698 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6700 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6701 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6703 if test "${lt_cv_path_LD+set}" = set; then
6704 echo $ECHO_N "(cached) $ECHO_C" >&6
6706 if test -z "$LD"; then
6707 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6708 for ac_dir
in $PATH; do
6710 test -z "$ac_dir" && ac_dir
=.
6711 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6712 lt_cv_path_LD
="$ac_dir/$ac_prog"
6713 # Check to see if the program is GNU ld. I'd rather use --version,
6714 # but apparently some variants of GNU ld only accept -v.
6715 # Break only if it was the GNU/non-GNU ld that we prefer.
6716 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6717 *GNU
* |
*'with BFD'*)
6718 test "$with_gnu_ld" != no
&& break
6721 test "$with_gnu_ld" != yes && break
6728 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6733 if test -n "$LD"; then
6734 { echo "$as_me:$LINENO: result: $LD" >&5
6735 echo "${ECHO_T}$LD" >&6; }
6737 { echo "$as_me:$LINENO: result: no" >&5
6738 echo "${ECHO_T}no" >&6; }
6740 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6741 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6742 { (exit 1); exit 1; }; }
6743 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6744 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6745 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6746 echo $ECHO_N "(cached) $ECHO_C" >&6
6748 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6749 case `$LD -v 2>&1 </dev/null` in
6750 *GNU
* |
*'with BFD'*)
6751 lt_cv_prog_gnu_ld
=yes
6754 lt_cv_prog_gnu_ld
=no
6758 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6759 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6760 with_gnu_ld
=$lt_cv_prog_gnu_ld
6763 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6764 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6765 if test "${lt_cv_ld_reload_flag+set}" = set; then
6766 echo $ECHO_N "(cached) $ECHO_C" >&6
6768 lt_cv_ld_reload_flag
='-r'
6770 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6771 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6772 reload_flag
=$lt_cv_ld_reload_flag
6773 case $reload_flag in
6775 *) reload_flag
=" $reload_flag" ;;
6777 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6780 if test "$GCC" = yes; then
6781 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6783 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6788 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6789 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6790 if test "${lt_cv_path_NM+set}" = set; then
6791 echo $ECHO_N "(cached) $ECHO_C" >&6
6793 if test -n "$NM"; then
6794 # Let the user override the test.
6797 lt_nm_to_check
="${ac_tool_prefix}nm"
6798 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6799 lt_nm_to_check
="$lt_nm_to_check nm"
6801 for lt_tmp_nm
in $lt_nm_to_check; do
6802 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6803 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6805 test -z "$ac_dir" && ac_dir
=.
6806 tmp_nm
="$ac_dir/$lt_tmp_nm"
6807 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6808 # Check to see if the nm accepts a BSD-compat flag.
6809 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6810 # nm: unknown option "B" ignored
6811 # Tru64's nm complains that /dev/null is an invalid object file
6812 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6813 */dev
/null
* |
*'Invalid file or object type'*)
6814 lt_cv_path_NM
="$tmp_nm -B"
6818 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6820 lt_cv_path_NM
="$tmp_nm -p"
6824 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6825 continue # so that we can try to find one that supports BSD flags
6834 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6837 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6838 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6841 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6842 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6844 if test "$LN_S" = "ln -s"; then
6845 { echo "$as_me:$LINENO: result: yes" >&5
6846 echo "${ECHO_T}yes" >&6; }
6848 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6849 echo "${ECHO_T}no, using $LN_S" >&6; }
6852 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
6853 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
6854 if test "${lt_cv_deplibs_check_method+set}" = set; then
6855 echo $ECHO_N "(cached) $ECHO_C" >&6
6857 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6858 lt_cv_file_magic_test_file
=
6859 lt_cv_deplibs_check_method
='unknown'
6860 # Need to set the preceding variable on all platforms that support
6861 # interlibrary dependencies.
6862 # 'none' -- dependencies not supported.
6863 # `unknown' -- same as none, but documents that we really don't know.
6864 # 'pass_all' -- all dependencies passed with no checks.
6865 # 'test_compile' -- check by making test program.
6866 # 'file_magic [[regex]]' -- check by looking for files in library path
6867 # which responds to the $file_magic_cmd with a given extended regex.
6868 # If you have `file' or equivalent on your system and you're not sure
6869 # whether `pass_all' will *always* work, you probably want this one.
6873 lt_cv_deplibs_check_method
=pass_all
6877 lt_cv_deplibs_check_method
=pass_all
6881 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6882 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6883 lt_cv_file_magic_test_file
=/shlib
/libc.so
6887 # func_win32_libid is a shell function defined in ltmain.sh
6888 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6889 lt_cv_file_magic_cmd
='func_win32_libid'
6893 # Base MSYS/MinGW do not provide the 'file' command needed by
6894 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
6895 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6896 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6899 darwin
* | rhapsody
*)
6900 lt_cv_deplibs_check_method
=pass_all
6903 freebsd
* | dragonfly
*)
6904 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
6907 # Not sure whether the presence of OpenBSD here was a mistake.
6908 # Let's accept both of them until this is cleared up.
6909 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6910 lt_cv_file_magic_cmd
=/usr
/bin
/file
6911 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6915 lt_cv_deplibs_check_method
=pass_all
6920 lt_cv_deplibs_check_method
=pass_all
6923 hpux10.20
* | hpux11
*)
6924 lt_cv_file_magic_cmd
=/usr
/bin
/file
6927 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6928 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6931 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]'
6932 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6935 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6936 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6942 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6943 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6946 irix5
* | irix6
* | nonstopux
*)
6948 *-32|
*"-32 ") libmagic
=32-bit;;
6949 *-n32|
*"-n32 ") libmagic
=N32
;;
6950 *-64|
*"-64 ") libmagic
=64-bit;;
6951 *) libmagic
=never-match
;;
6953 lt_cv_deplibs_check_method
=pass_all
6956 # This must be Linux ELF.
6957 linux
* | k
*bsd
*-gnu)
6958 lt_cv_deplibs_check_method
=pass_all
6961 netbsd
* | netbsdelf
*-gnu)
6962 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
6963 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6965 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6970 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6971 lt_cv_file_magic_cmd
=/usr
/bin
/file
6972 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6976 lt_cv_deplibs_check_method
=unknown
6980 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6981 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6983 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6987 osf3
* | osf4
* | osf5
*)
6988 lt_cv_deplibs_check_method
=pass_all
6992 lt_cv_deplibs_check_method
=pass_all
6996 case $host_vendor in
6998 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]'
6999 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7002 lt_cv_deplibs_check_method
=pass_all
7005 lt_cv_file_magic_cmd
='/bin/file'
7006 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7009 lt_cv_file_magic_cmd
='/bin/file'
7010 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7011 lt_cv_file_magic_test_file
=/lib
/libc.so
7014 lt_cv_deplibs_check_method
=pass_all
7017 lt_cv_deplibs_check_method
=pass_all
7022 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7023 lt_cv_deplibs_check_method
=pass_all
7028 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7029 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
7030 file_magic_cmd
=$lt_cv_file_magic_cmd
7031 deplibs_check_method
=$lt_cv_deplibs_check_method
7032 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7037 # If no C compiler was specified, use CC.
7040 # If no C compiler flags were specified, use CFLAGS.
7041 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7043 # Allow CC to be a program name with arguments.
7046 # Check whether --enable-libtool-lock was given.
7047 if test "${enable_libtool_lock+set}" = set; then
7048 enableval
=$enable_libtool_lock;
7051 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7053 # Some flags need to be propagated to the compiler or linker for good
7057 # Find out which ABI we are using.
7058 echo 'int i;' > conftest.
$ac_ext
7059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7060 (eval $ac_compile) 2>&5
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); }; then
7064 case `/usr/bin/file conftest.$ac_objext` in
7076 # Find out which ABI we are using.
7077 echo '#line 7077 "configure"' > 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 if test "$lt_cv_prog_gnu_ld" = yes; then
7084 case `/usr/bin/file conftest.$ac_objext` in
7086 LD
="${LD-ld} -melf32bsmip"
7089 LD
="${LD-ld} -melf32bmipn32"
7092 LD
="${LD-ld} -melf64bmip"
7096 case `/usr/bin/file conftest.$ac_objext` in
7112 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
7113 # Find out which ABI we are using.
7114 echo 'int i;' > conftest.
$ac_ext
7115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7116 (eval $ac_compile) 2>&5
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); }; then
7120 case `/usr/bin/file conftest.o` in
7124 LD
="${LD-ld} -m elf_i386"
7126 ppc64-
*linux
*|powerpc64-
*linux
*)
7127 LD
="${LD-ld} -m elf32ppclinux"
7130 LD
="${LD-ld} -m elf_s390"
7133 LD
="${LD-ld} -m elf32_sparc"
7140 LD
="${LD-ld} -m elf_x86_64"
7142 ppc
*-*linux
*|powerpc
*-*linux
*)
7143 LD
="${LD-ld} -m elf64ppc"
7146 LD
="${LD-ld} -m elf64_s390"
7149 LD
="${LD-ld} -m elf64_sparc"
7159 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7160 SAVE_CFLAGS
="$CFLAGS"
7161 CFLAGS
="$CFLAGS -belf"
7162 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7163 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7164 if test "${lt_cv_cc_needs_belf+set}" = set; then
7165 echo $ECHO_N "(cached) $ECHO_C" >&6
7168 ac_cpp
='$CPP $CPPFLAGS'
7169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7173 cat >conftest.
$ac_ext <<_ACEOF
7176 cat confdefs.h
>>conftest.
$ac_ext
7177 cat >>conftest.
$ac_ext <<_ACEOF
7178 /* end confdefs.h. */
7188 rm -f conftest.
$ac_objext conftest
$ac_exeext
7189 if { (ac_try
="$ac_link"
7191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7192 *) ac_try_echo=$ac_try;;
7194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7195 (eval "$ac_link") 2>conftest.er1
7197 grep -v '^ *+' conftest.er1 >conftest.err
7199 cat conftest.err >&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); } && {
7202 test -z "$ac_c_werror_flag" ||
7203 test ! -s conftest.err
7204 } && test -s conftest$ac_exeext &&
7205 $as_test_x conftest$ac_exeext; then
7206 lt_cv_cc_needs_belf=yes
7208 echo "$as_me: failed program was:" >&5
7209 sed 's/^/| /' conftest.$ac_ext >&5
7211 lt_cv_cc_needs_belf=no
7214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7215 conftest$ac_exeext conftest.$ac_ext
7217 ac_cpp='$CPP $CPPFLAGS'
7218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7223 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7224 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7225 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7226 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7227 CFLAGS="$SAVE_CFLAGS"
7231 # Find out which ABI we are using.
7232 echo 'int i;' > conftest.$ac_ext
7233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7234 (eval $ac_compile) 2>&5
7236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237 (exit $ac_status); }; then
7238 case `/usr
/bin
/file conftest.o
` in
7240 case $lt_cv_prog_gnu_ld in
7241 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7242 *) LD="${LD-ld} -64" ;;
7253 need_locks="$enable_libtool_lock"
7256 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7266 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7267 inttypes.h stdint.h unistd.h
7269 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7273 echo $ECHO_N "(cached) $ECHO_C" >&6
7275 cat >conftest.$ac_ext <<_ACEOF
7278 cat confdefs.h >>conftest.$ac_ext
7279 cat >>conftest.$ac_ext <<_ACEOF
7280 /* end confdefs.h. */
7281 $ac_includes_default
7283 #include <$ac_header>
7285 rm -f conftest.$ac_objext
7286 if { (ac_try="$ac_compile"
7288 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7289 *) ac_try_echo
=$ac_try;;
7291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7292 (eval "$ac_compile") 2>conftest.er1
7294 grep -v '^ *+' conftest.er1
>conftest.err
7296 cat conftest.err
>&5
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); } && {
7299 test -z "$ac_c_werror_flag" ||
7300 test ! -s conftest.err
7301 } && test -s conftest.
$ac_objext; then
7302 eval "$as_ac_Header=yes"
7304 echo "$as_me: failed program was:" >&5
7305 sed 's/^/| /' conftest.
$ac_ext >&5
7307 eval "$as_ac_Header=no"
7310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7312 ac_res
=`eval echo '${'$as_ac_Header'}'`
7313 { echo "$as_me:$LINENO: result: $ac_res" >&5
7314 echo "${ECHO_T}$ac_res" >&6; }
7315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7316 cat >>confdefs.h
<<_ACEOF
7317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7326 for ac_header
in dlfcn.h
7328 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7329 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7330 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7332 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7333 echo $ECHO_N "(cached) $ECHO_C" >&6
7335 ac_res
=`eval echo '${'$as_ac_Header'}'`
7336 { echo "$as_me:$LINENO: result: $ac_res" >&5
7337 echo "${ECHO_T}$ac_res" >&6; }
7339 # Is the header compilable?
7340 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7341 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7342 cat >conftest.
$ac_ext <<_ACEOF
7345 cat confdefs.h
>>conftest.
$ac_ext
7346 cat >>conftest.
$ac_ext <<_ACEOF
7347 /* end confdefs.h. */
7348 $ac_includes_default
7349 #include <$ac_header>
7351 rm -f conftest.
$ac_objext
7352 if { (ac_try
="$ac_compile"
7354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7355 *) ac_try_echo=$ac_try;;
7357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7358 (eval "$ac_compile") 2>conftest.er1
7360 grep -v '^ *+' conftest.er1 >conftest.err
7362 cat conftest.err >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } && {
7365 test -z "$ac_c_werror_flag" ||
7366 test ! -s conftest.err
7367 } && test -s conftest.$ac_objext; then
7368 ac_header_compiler=yes
7370 echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.$ac_ext >&5
7373 ac_header_compiler=no
7376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7377 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7378 echo "${ECHO_T}$ac_header_compiler" >&6; }
7380 # Is the header present?
7381 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7383 cat >conftest.$ac_ext <<_ACEOF
7386 cat confdefs.h >>conftest.$ac_ext
7387 cat >>conftest.$ac_ext <<_ACEOF
7388 /* end confdefs.h. */
7389 #include <$ac_header>
7391 if { (ac_try="$ac_cpp conftest.$ac_ext"
7393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7394 *) ac_try_echo
=$ac_try;;
7396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7399 grep -v '^ *+' conftest.er1
>conftest.err
7401 cat conftest.err
>&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); } >/dev
/null
&& {
7404 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7405 test ! -s conftest.err
7407 ac_header_preproc
=yes
7409 echo "$as_me: failed program was:" >&5
7410 sed 's/^/| /' conftest.
$ac_ext >&5
7412 ac_header_preproc
=no
7415 rm -f conftest.err conftest.
$ac_ext
7416 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7417 echo "${ECHO_T}$ac_header_preproc" >&6; }
7419 # So? What about this header?
7420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7425 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7426 ac_header_preproc
=yes
7429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7433 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7434 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7435 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7436 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7439 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7440 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7444 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7446 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7447 echo $ECHO_N "(cached) $ECHO_C" >&6
7449 eval "$as_ac_Header=\$ac_header_preproc"
7451 ac_res
=`eval echo '${'$as_ac_Header'}'`
7452 { echo "$as_me:$LINENO: result: $ac_res" >&5
7453 echo "${ECHO_T}$ac_res" >&6; }
7456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7457 cat >>confdefs.h
<<_ACEOF
7458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7467 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7468 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7469 (test "X$CXX" != "Xg++"))) ; then
7471 ac_cpp
='$CXXCPP $CPPFLAGS'
7472 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7473 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7474 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7475 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7476 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7477 if test -z "$CXXCPP"; then
7478 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7479 echo $ECHO_N "(cached) $ECHO_C" >&6
7481 # Double quotes because CXXCPP needs to be expanded
7482 for CXXCPP
in "$CXX -E" "/lib/cpp"
7485 for ac_cxx_preproc_warn_flag
in '' yes
7487 # Use a header file that comes with gcc, so configuring glibc
7488 # with a fresh cross-compiler works.
7489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7490 # <limits.h> exists even on freestanding compilers.
7491 # On the NeXT, cc -E runs the code through the compiler's parser,
7492 # not just through cpp. "Syntax error" is here to catch this case.
7493 cat >conftest.
$ac_ext <<_ACEOF
7496 cat confdefs.h
>>conftest.
$ac_ext
7497 cat >>conftest.
$ac_ext <<_ACEOF
7498 /* end confdefs.h. */
7500 # include <limits.h>
7502 # include <assert.h>
7506 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7509 *) ac_try_echo=$ac_try;;
7511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7514 grep -v '^ *+' conftest.er1 >conftest.err
7516 cat conftest.err >&5
7517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518 (exit $ac_status); } >/dev/null && {
7519 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7520 test ! -s conftest.err
7524 echo "$as_me: failed program was:" >&5
7525 sed 's/^/| /' conftest.$ac_ext >&5
7527 # Broken: fails on valid input.
7531 rm -f conftest.err conftest.$ac_ext
7533 # OK, works on sane cases. Now check whether nonexistent headers
7534 # can be detected and how.
7535 cat >conftest.$ac_ext <<_ACEOF
7538 cat confdefs.h >>conftest.$ac_ext
7539 cat >>conftest.$ac_ext <<_ACEOF
7540 /* end confdefs.h. */
7541 #include <ac_nonexistent.h>
7543 if { (ac_try="$ac_cpp conftest.$ac_ext"
7545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7546 *) ac_try_echo
=$ac_try;;
7548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7551 grep -v '^ *+' conftest.er1
>conftest.err
7553 cat conftest.err
>&5
7554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7555 (exit $ac_status); } >/dev
/null
&& {
7556 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7557 test ! -s conftest.err
7559 # Broken: success on invalid input.
7562 echo "$as_me: failed program was:" >&5
7563 sed 's/^/| /' conftest.
$ac_ext >&5
7565 # Passes both tests.
7570 rm -f conftest.err conftest.
$ac_ext
7573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7574 rm -f conftest.err conftest.
$ac_ext
7575 if $ac_preproc_ok; then
7580 ac_cv_prog_CXXCPP
=$CXXCPP
7583 CXXCPP
=$ac_cv_prog_CXXCPP
7585 ac_cv_prog_CXXCPP
=$CXXCPP
7587 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7588 echo "${ECHO_T}$CXXCPP" >&6; }
7590 for ac_cxx_preproc_warn_flag
in '' yes
7592 # Use a header file that comes with gcc, so configuring glibc
7593 # with a fresh cross-compiler works.
7594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7595 # <limits.h> exists even on freestanding compilers.
7596 # On the NeXT, cc -E runs the code through the compiler's parser,
7597 # not just through cpp. "Syntax error" is here to catch this case.
7598 cat >conftest.
$ac_ext <<_ACEOF
7601 cat confdefs.h
>>conftest.
$ac_ext
7602 cat >>conftest.
$ac_ext <<_ACEOF
7603 /* end confdefs.h. */
7605 # include <limits.h>
7607 # include <assert.h>
7611 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7614 *) ac_try_echo=$ac_try;;
7616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7619 grep -v '^ *+' conftest.er1 >conftest.err
7621 cat conftest.err >&5
7622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7623 (exit $ac_status); } >/dev/null && {
7624 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7625 test ! -s conftest.err
7629 echo "$as_me: failed program was:" >&5
7630 sed 's/^/| /' conftest.$ac_ext >&5
7632 # Broken: fails on valid input.
7636 rm -f conftest.err conftest.$ac_ext
7638 # OK, works on sane cases. Now check whether nonexistent headers
7639 # can be detected and how.
7640 cat >conftest.$ac_ext <<_ACEOF
7643 cat confdefs.h >>conftest.$ac_ext
7644 cat >>conftest.$ac_ext <<_ACEOF
7645 /* end confdefs.h. */
7646 #include <ac_nonexistent.h>
7648 if { (ac_try="$ac_cpp conftest.$ac_ext"
7650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7651 *) ac_try_echo
=$ac_try;;
7653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7656 grep -v '^ *+' conftest.er1
>conftest.err
7658 cat conftest.err
>&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); } >/dev
/null
&& {
7661 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7662 test ! -s conftest.err
7664 # Broken: success on invalid input.
7667 echo "$as_me: failed program was:" >&5
7668 sed 's/^/| /' conftest.
$ac_ext >&5
7670 # Passes both tests.
7675 rm -f conftest.err conftest.
$ac_ext
7678 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7679 rm -f conftest.err conftest.
$ac_ext
7680 if $ac_preproc_ok; then
7683 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7684 See \`config.log' for more details." >&5
7685 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7686 See \`config.log' for more details." >&2;}
7687 { (exit 1); exit 1; }; }
7691 ac_cpp
='$CXXCPP $CPPFLAGS'
7692 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7693 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7694 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7700 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7701 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7702 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
7703 if test -n "$ac_tool_prefix"; then
7704 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
7706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7707 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7710 if test "${ac_cv_prog_F77+set}" = set; then
7711 echo $ECHO_N "(cached) $ECHO_C" >&6
7713 if test -n "$F77"; then
7714 ac_cv_prog_F77
="$F77" # Let the user override the test.
7716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7720 test -z "$as_dir" && as_dir
=.
7721 for ac_exec_ext
in '' $ac_executable_extensions; do
7722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7723 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
7724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7734 if test -n "$F77"; then
7735 { echo "$as_me:$LINENO: result: $F77" >&5
7736 echo "${ECHO_T}$F77" >&6; }
7738 { echo "$as_me:$LINENO: result: no" >&5
7739 echo "${ECHO_T}no" >&6; }
7743 test -n "$F77" && break
7746 if test -z "$F77"; then
7748 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
7750 # Extract the first word of "$ac_prog", so it can be a program name with args.
7751 set dummy
$ac_prog; ac_word
=$2
7752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7754 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7755 echo $ECHO_N "(cached) $ECHO_C" >&6
7757 if test -n "$ac_ct_F77"; then
7758 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
7760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7764 test -z "$as_dir" && as_dir
=.
7765 for ac_exec_ext
in '' $ac_executable_extensions; do
7766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7767 ac_cv_prog_ac_ct_F77
="$ac_prog"
7768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7777 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
7778 if test -n "$ac_ct_F77"; then
7779 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7780 echo "${ECHO_T}$ac_ct_F77" >&6; }
7782 { echo "$as_me:$LINENO: result: no" >&5
7783 echo "${ECHO_T}no" >&6; }
7787 test -n "$ac_ct_F77" && break
7790 if test "x$ac_ct_F77" = x
; then
7793 case $cross_compiling:$ac_tool_warned in
7795 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7796 whose name does not start with the host triplet. If you think this
7797 configuration is useful to you, please write to autoconf@gnu.org." >&5
7798 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7799 whose name does not start with the host triplet. If you think this
7800 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7801 ac_tool_warned
=yes ;;
7808 # Provide some information about the compiler.
7809 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7810 ac_compiler
=`set X $ac_compile; echo $2`
7811 { (ac_try
="$ac_compiler --version >&5"
7813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7814 *) ac_try_echo=$ac_try;;
7816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7817 (eval "$ac_compiler --version >&5") 2>&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); }
7821 { (ac_try="$ac_compiler -v >&5"
7823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7824 *) ac_try_echo
=$ac_try;;
7826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7827 (eval "$ac_compiler -v >&5") 2>&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }
7831 { (ac_try
="$ac_compiler -V >&5"
7833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7834 *) ac_try_echo=$ac_try;;
7836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7837 (eval "$ac_compiler -V >&5") 2>&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }
7843 # If we don't use `.F
' as extension, the preprocessor is not run on the
7844 # input file. (Note that this only needs to work for GNU compilers.)
7847 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7848 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7849 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7850 echo $ECHO_N "(cached) $ECHO_C" >&6
7852 cat >conftest.$ac_ext <<_ACEOF
7860 rm -f conftest.$ac_objext
7861 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
7869 grep -v '^
*+' conftest.er1 >conftest.err
7871 cat conftest.err >&5
7872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7873 (exit $ac_status); } && {
7874 test -z "$ac_f77_werror_flag" ||
7875 test ! -s conftest.err
7876 } && test -s conftest.$ac_objext; then
7879 echo "$as_me: failed program was:" >&5
7880 sed 's
/^
/|
/' conftest.$ac_ext >&5
7885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7886 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7889 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7890 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7892 ac_test_FFLAGS=${FFLAGS+set}
7893 ac_save_FFLAGS=$FFLAGS
7895 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7896 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7897 if test "${ac_cv_prog_f77_g+set}" = set; then
7898 echo $ECHO_N "(cached) $ECHO_C" >&6
7901 cat >conftest.$ac_ext <<_ACEOF
7906 rm -f conftest.$ac_objext
7907 if { (ac_try="$ac_compile"
7909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7910 *) ac_try_echo=$ac_try;;
7912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7913 (eval "$ac_compile") 2>conftest.er1
7915 grep -v '^
*+' conftest.er1 >conftest.err
7917 cat conftest.err >&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } && {
7920 test -z "$ac_f77_werror_flag" ||
7921 test ! -s conftest.err
7922 } && test -s conftest.$ac_objext; then
7923 ac_cv_prog_f77_g=yes
7925 echo "$as_me: failed program was:" >&5
7926 sed 's
/^
/|
/' conftest.$ac_ext >&5
7931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7934 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7935 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7936 if test "$ac_test_FFLAGS" = set; then
7937 FFLAGS=$ac_save_FFLAGS
7938 elif test $ac_cv_prog_f77_g = yes; then
7939 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7945 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7952 G77=`test $ac_compiler_gnu = yes && echo yes`
7954 ac_cpp='$CPP $CPPFLAGS'
7955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7956 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7961 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
7963 # find the maximum length of command line arguments
7964 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7965 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7966 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7967 echo $ECHO_N "(cached) $ECHO_C" >&6
7974 # On DJGPP, this test can blow up pretty badly due to problems in libc
7975 # (any single argument exceeding 2000 bytes causes a buffer overrun
7976 # during glob expansion). Even if it were fixed, the result of this
7977 # check would be larger than it should be.
7978 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7982 # Under GNU Hurd, this test is not required because there is
7983 # no limit to the length of command line arguments.
7984 # Libtool will interpret -1 as no limit whatsoever
7985 lt_cv_sys_max_cmd_len
=-1;
7989 # On Win9x/ME, this test blows up -- it succeeds, but takes
7990 # about 5 minutes as the teststring grows exponentially.
7991 # Worse, since 9x/ME are not pre-emptively multitasking,
7992 # you end up with a "frozen" computer, even though with patience
7993 # the test eventually succeeds (with a max line length of 256k).
7994 # Instead, let's just punt: use the minimum linelength reported by
7995 # all of the supported platforms: 8192 (on NT/2K/XP).
7996 lt_cv_sys_max_cmd_len
=8192;
8000 # On AmigaOS with pdksh, this test takes hours, literally.
8001 # So we just punt and use a minimum line length of 8192.
8002 lt_cv_sys_max_cmd_len
=8192;
8005 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
8006 # This has been around since 386BSD, at least. Likely further.
8007 if test -x /sbin
/sysctl
; then
8008 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
8009 elif test -x /usr
/sbin
/sysctl
; then
8010 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
8012 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
8014 # And add a safety zone
8015 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8016 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8020 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8021 lt_cv_sys_max_cmd_len
=196608
8025 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8026 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8027 # nice to cause kernel panics so lets avoid the loop below.
8028 # First set a reasonable default.
8029 lt_cv_sys_max_cmd_len
=16384
8031 if test -x /sbin
/sysconfig
; then
8032 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8033 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
8038 lt_cv_sys_max_cmd_len
=102400
8040 sysv5
* | sco5v6
* | sysv4.2uw2
*)
8041 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8042 if test -n "$kargmax"; then
8043 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
8045 lt_cv_sys_max_cmd_len
=32768
8049 # If test is not a shell built-in, we'll probably end up computing a
8050 # maximum length that is only half of the actual maximum length, but
8052 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
8053 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
8054 = "XX$teststring") >/dev
/null
2>&1 &&
8055 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
8056 lt_cv_sys_max_cmd_len
=$new_result &&
8057 test $i != 17 # 1/2 MB should be enough
8060 teststring
=$teststring$teststring
8063 # Add a significant safety factor because C++ compilers can tack on massive
8064 # amounts of additional arguments before passing them to the linker.
8065 # It appears as though 1/2 is a usable value.
8066 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
8072 if test -n $lt_cv_sys_max_cmd_len ; then
8073 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8074 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8076 { echo "$as_me:$LINENO: result: none" >&5
8077 echo "${ECHO_T}none" >&6; }
8083 # Check for command to grab the raw symbol name followed by C symbol from nm.
8084 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8085 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
8086 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8087 echo $ECHO_N "(cached) $ECHO_C" >&6
8090 # These are sane defaults that work on at least a few old systems.
8091 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8093 # Character class describing NM global symbol codes.
8094 symcode
='[BCDEGRST]'
8096 # Regexp to match symbols that can be accessed directly from C.
8097 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8099 # Transform an extracted symbol line into a proper C declaration
8100 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8102 # Transform an extracted symbol line into symbol name and symbol address
8103 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'"
8105 # Define system-specific variables.
8110 cygwin
* | mingw
* | pw32
*)
8111 symcode
='[ABCDGISTW]'
8113 hpux
*) # Its linker distinguishes data from code symbols
8114 if test "$host_cpu" = ia64
; then
8115 symcode
='[ABCDEGRST]'
8117 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8118 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'"
8120 linux
* | k
*bsd
*-gnu)
8121 if test "$host_cpu" = ia64
; then
8122 symcode
='[ABCDGIRSTW]'
8123 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8124 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'"
8128 symcode
='[BCDEGRST]'
8131 symcode
='[BCDEGQRST]'
8142 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8150 # Handle CRLF in mingw tool chain
8154 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8158 # If we're using GNU nm, then use its standard symbol codes.
8159 case `$NM -V 2>&1` in
8160 *GNU
* |
*'with BFD'*)
8161 symcode
='[ABCDGIRSTW]' ;;
8164 # Try without a prefix undercore, then with it.
8165 for ac_symprfx
in "" "_"; do
8167 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8168 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8170 # Write the raw and C identifiers.
8171 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8173 # Check to see that the pipe works correctly.
8177 cat > conftest.
$ac_ext <<EOF
8182 void nm_test_func(){}
8186 int main(){nm_test_var='a';nm_test_func();return(0);}
8189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8190 (eval $ac_compile) 2>&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); }; then
8194 # Now try to grab the symbols.
8196 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8197 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); } && test -s "$nlist"; then
8201 # Try sorting and uniquifying the output.
8202 if sort "$nlist" |
uniq > "$nlist"T
; then
8203 mv -f "$nlist"T
"$nlist"
8208 # Make sure that we snagged all the symbols we need.
8209 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
8210 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
8211 cat <<EOF > conftest.$ac_ext
8217 # Now generate the symbol file.
8218 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8220 cat <<EOF >> conftest.$ac_ext
8221 #if defined (__STDC__) && __STDC__
8222 # define lt_ptr_t void *
8224 # define lt_ptr_t char *
8228 /* The mapping between symbol names and symbols. */
8233 lt_preloaded_symbols[] =
8236 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
8237 cat <<\EOF
>> conftest.
$ac_ext
8245 # Now try linking the two files.
8246 mv conftest.
$ac_objext conftstm.
$ac_objext
8247 lt_save_LIBS
="$LIBS"
8248 lt_save_CFLAGS
="$CFLAGS"
8249 LIBS
="conftstm.$ac_objext"
8250 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8252 (eval $ac_link) 2>&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
8258 LIBS
="$lt_save_LIBS"
8259 CFLAGS
="$lt_save_CFLAGS"
8261 echo "cannot find nm_test_func in $nlist" >&5
8264 echo "cannot find nm_test_var in $nlist" >&5
8267 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8270 echo "$progname: failed program was:" >&5
8271 cat conftest.
$ac_ext >&5
8273 rm -f conftest
* conftst
*
8275 # Do not use the global_symbol_pipe unless it works.
8276 if test "$pipe_works" = yes; then
8279 lt_cv_sys_global_symbol_pipe
=
8285 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8286 lt_cv_sys_global_symbol_to_cdecl
=
8288 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8289 { echo "$as_me:$LINENO: result: failed" >&5
8290 echo "${ECHO_T}failed" >&6; }
8292 { echo "$as_me:$LINENO: result: ok" >&5
8293 echo "${ECHO_T}ok" >&6; }
8296 { echo "$as_me:$LINENO: checking for objdir" >&5
8297 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8298 if test "${lt_cv_objdir+set}" = set; then
8299 echo $ECHO_N "(cached) $ECHO_C" >&6
8301 rm -f .libs
2>/dev
/null
8302 mkdir .libs
2>/dev
/null
8303 if test -d .libs
; then
8306 # MS-DOS does not allow filenames that begin with a dot.
8309 rmdir .libs
2>/dev
/null
8311 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8312 echo "${ECHO_T}$lt_cv_objdir" >&6; }
8313 objdir
=$lt_cv_objdir
8321 # AIX sometimes has problems with the GCC collect2 program. For some
8322 # reason, if we set the COLLECT_NAMES environment variable, the problems
8323 # vanish in a puff of smoke.
8324 if test "X${COLLECT_NAMES+set}" != Xset
; then
8326 export COLLECT_NAMES
8331 # Sed substitution that helps us do robust quoting. It backslashifies
8332 # metacharacters that are still active within double-quoted strings.
8333 Xsed
='sed -e 1s/^X//'
8334 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
8336 # Same as above, but do not quote variable references.
8337 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
8339 # Sed substitution to delay expansion of an escaped shell variable in a
8340 # double_quote_subst'ed string.
8341 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8343 # Sed substitution to avoid accidental globbing in evaled expressions
8344 no_glob_subst
='s/\*/\\\*/g'
8350 default_ofile
=libtool
8351 can_build_shared
=yes
8353 # All known linkers require a `.a' archive for static linking (except MSVC,
8354 # which needs '.lib').
8356 ltmain
="$ac_aux_dir/ltmain.sh"
8357 ofile
="$default_ofile"
8358 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8360 if test -n "$ac_tool_prefix"; then
8361 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8362 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8365 if test "${ac_cv_prog_AR+set}" = set; then
8366 echo $ECHO_N "(cached) $ECHO_C" >&6
8368 if test -n "$AR"; then
8369 ac_cv_prog_AR
="$AR" # Let the user override the test.
8371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8375 test -z "$as_dir" && as_dir
=.
8376 for ac_exec_ext
in '' $ac_executable_extensions; do
8377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8378 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8389 if test -n "$AR"; then
8390 { echo "$as_me:$LINENO: result: $AR" >&5
8391 echo "${ECHO_T}$AR" >&6; }
8393 { echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6; }
8399 if test -z "$ac_cv_prog_AR"; then
8401 # Extract the first word of "ar", so it can be a program name with args.
8402 set dummy
ar; ac_word
=$2
8403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8405 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8406 echo $ECHO_N "(cached) $ECHO_C" >&6
8408 if test -n "$ac_ct_AR"; then
8409 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8415 test -z "$as_dir" && as_dir
=.
8416 for ac_exec_ext
in '' $ac_executable_extensions; do
8417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8418 ac_cv_prog_ac_ct_AR
="ar"
8419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8428 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8429 if test -n "$ac_ct_AR"; then
8430 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8431 echo "${ECHO_T}$ac_ct_AR" >&6; }
8433 { echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6; }
8437 if test "x$ac_ct_AR" = x
; then
8440 case $cross_compiling:$ac_tool_warned in
8442 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8443 whose name does not start with the host triplet. If you think this
8444 configuration is useful to you, please write to autoconf@gnu.org." >&5
8445 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8446 whose name does not start with the host triplet. If you think this
8447 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8448 ac_tool_warned
=yes ;;
8456 if test -n "$ac_tool_prefix"; then
8457 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8458 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8461 if test "${ac_cv_prog_RANLIB+set}" = set; then
8462 echo $ECHO_N "(cached) $ECHO_C" >&6
8464 if test -n "$RANLIB"; then
8465 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8471 test -z "$as_dir" && as_dir
=.
8472 for ac_exec_ext
in '' $ac_executable_extensions; do
8473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8474 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8484 RANLIB
=$ac_cv_prog_RANLIB
8485 if test -n "$RANLIB"; then
8486 { echo "$as_me:$LINENO: result: $RANLIB" >&5
8487 echo "${ECHO_T}$RANLIB" >&6; }
8489 { echo "$as_me:$LINENO: result: no" >&5
8490 echo "${ECHO_T}no" >&6; }
8495 if test -z "$ac_cv_prog_RANLIB"; then
8496 ac_ct_RANLIB
=$RANLIB
8497 # Extract the first word of "ranlib", so it can be a program name with args.
8498 set dummy ranlib
; ac_word
=$2
8499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8501 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8502 echo $ECHO_N "(cached) $ECHO_C" >&6
8504 if test -n "$ac_ct_RANLIB"; then
8505 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8511 test -z "$as_dir" && as_dir
=.
8512 for ac_exec_ext
in '' $ac_executable_extensions; do
8513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8514 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8524 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8525 if test -n "$ac_ct_RANLIB"; then
8526 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8527 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8529 { echo "$as_me:$LINENO: result: no" >&5
8530 echo "${ECHO_T}no" >&6; }
8533 if test "x$ac_ct_RANLIB" = x
; then
8536 case $cross_compiling:$ac_tool_warned in
8538 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8539 whose name does not start with the host triplet. If you think this
8540 configuration is useful to you, please write to autoconf@gnu.org." >&5
8541 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8542 whose name does not start with the host triplet. If you think this
8543 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8544 ac_tool_warned
=yes ;;
8546 RANLIB
=$ac_ct_RANLIB
8549 RANLIB
="$ac_cv_prog_RANLIB"
8552 if test -n "$ac_tool_prefix"; then
8553 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8554 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8557 if test "${ac_cv_prog_STRIP+set}" = set; then
8558 echo $ECHO_N "(cached) $ECHO_C" >&6
8560 if test -n "$STRIP"; then
8561 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8567 test -z "$as_dir" && as_dir
=.
8568 for ac_exec_ext
in '' $ac_executable_extensions; do
8569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8570 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8580 STRIP
=$ac_cv_prog_STRIP
8581 if test -n "$STRIP"; then
8582 { echo "$as_me:$LINENO: result: $STRIP" >&5
8583 echo "${ECHO_T}$STRIP" >&6; }
8585 { echo "$as_me:$LINENO: result: no" >&5
8586 echo "${ECHO_T}no" >&6; }
8591 if test -z "$ac_cv_prog_STRIP"; then
8593 # Extract the first word of "strip", so it can be a program name with args.
8594 set dummy strip
; ac_word
=$2
8595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8597 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8598 echo $ECHO_N "(cached) $ECHO_C" >&6
8600 if test -n "$ac_ct_STRIP"; then
8601 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8607 test -z "$as_dir" && as_dir
=.
8608 for ac_exec_ext
in '' $ac_executable_extensions; do
8609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8610 ac_cv_prog_ac_ct_STRIP
="strip"
8611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8620 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8621 if test -n "$ac_ct_STRIP"; then
8622 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8623 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8625 { echo "$as_me:$LINENO: result: no" >&5
8626 echo "${ECHO_T}no" >&6; }
8629 if test "x$ac_ct_STRIP" = x
; then
8632 case $cross_compiling:$ac_tool_warned in
8634 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8635 whose name does not start with the host triplet. If you think this
8636 configuration is useful to you, please write to autoconf@gnu.org." >&5
8637 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8638 whose name does not start with the host triplet. If you think this
8639 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8640 ac_tool_warned
=yes ;;
8645 STRIP
="$ac_cv_prog_STRIP"
8650 old_CFLAGS
="$CFLAGS"
8652 # Set sane defaults for various variables
8653 test -z "$AR" && AR
=ar
8654 test -z "$AR_FLAGS" && AR_FLAGS
=cru
8655 test -z "$AS" && AS
=as
8656 test -z "$CC" && CC
=cc
8657 test -z "$LTCC" && LTCC
=$CC
8658 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8659 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8660 test -z "$LD" && LD
=ld
8661 test -z "$LN_S" && LN_S
="ln -s"
8662 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8663 test -z "$NM" && NM
=nm
8664 test -z "$SED" && SED
=sed
8665 test -z "$OBJDUMP" && OBJDUMP
=objdump
8666 test -z "$RANLIB" && RANLIB
=:
8667 test -z "$STRIP" && STRIP
=:
8668 test -z "$ac_objext" && ac_objext
=o
8670 # Determine commands to create old-style static archives.
8671 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
8672 old_postinstall_cmds
='chmod 644 $oldlib'
8673 old_postuninstall_cmds
=
8675 if test -n "$RANLIB"; then
8678 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8681 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8684 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8687 for cc_temp
in $compiler""; do
8689 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8690 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8695 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8698 # Only perform the check for file, if the check method requires it
8699 case $deplibs_check_method in
8701 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8702 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8703 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8704 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8705 echo $ECHO_N "(cached) $ECHO_C" >&6
8709 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8712 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8713 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8714 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8715 for ac_dir
in $ac_dummy; do
8717 test -z "$ac_dir" && ac_dir
=.
8718 if test -f $ac_dir/${ac_tool_prefix}file; then
8719 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8720 if test -n "$file_magic_test_file"; then
8721 case $deplibs_check_method in
8723 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8724 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8725 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8726 $EGREP "$file_magic_regex" > /dev
/null
; then
8731 *** Warning: the command libtool uses to detect shared libraries,
8732 *** $file_magic_cmd, produces output that libtool cannot recognize.
8733 *** The result is that libtool may fail to recognize shared libraries
8734 *** as such. This will affect the creation of libtool libraries that
8735 *** depend on shared libraries, but programs linked with such libtool
8736 *** libraries will work regardless of this problem. Nevertheless, you
8737 *** may want to report the problem to your system manager and/or to
8738 *** bug-libtool@gnu.org
8748 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8753 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8754 if test -n "$MAGIC_CMD"; then
8755 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8756 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8758 { echo "$as_me:$LINENO: result: no" >&5
8759 echo "${ECHO_T}no" >&6; }
8762 if test -z "$lt_cv_path_MAGIC_CMD"; then
8763 if test -n "$ac_tool_prefix"; then
8764 { echo "$as_me:$LINENO: checking for file" >&5
8765 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8766 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8767 echo $ECHO_N "(cached) $ECHO_C" >&6
8771 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8774 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8775 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8776 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8777 for ac_dir
in $ac_dummy; do
8779 test -z "$ac_dir" && ac_dir
=.
8780 if test -f $ac_dir/file; then
8781 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8782 if test -n "$file_magic_test_file"; then
8783 case $deplibs_check_method in
8785 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8786 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8787 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8788 $EGREP "$file_magic_regex" > /dev
/null
; then
8793 *** Warning: the command libtool uses to detect shared libraries,
8794 *** $file_magic_cmd, produces output that libtool cannot recognize.
8795 *** The result is that libtool may fail to recognize shared libraries
8796 *** as such. This will affect the creation of libtool libraries that
8797 *** depend on shared libraries, but programs linked with such libtool
8798 *** libraries will work regardless of this problem. Nevertheless, you
8799 *** may want to report the problem to your system manager and/or to
8800 *** bug-libtool@gnu.org
8810 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8815 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8816 if test -n "$MAGIC_CMD"; then
8817 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8818 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8820 { echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6; }
8836 # Check whether --enable-libtool-lock was given.
8837 if test "${enable_libtool_lock+set}" = set; then
8838 enableval
=$enable_libtool_lock;
8841 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8844 # Check whether --with-pic was given.
8845 if test "${with_pic+set}" = set; then
8846 withval
=$with_pic; pic_mode
="$withval"
8851 test -z "$pic_mode" && pic_mode
=default
8853 # Use C for the default configuration in the libtool script
8857 ac_cpp
='$CPP $CPPFLAGS'
8858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8863 # Source file extension for C test sources.
8866 # Object file extension for compiled C test sources.
8870 # Code to be used in simple compile tests
8871 lt_simple_compile_test_code
="int some_variable = 0;\n"
8873 # Code to be used in simple link tests
8874 lt_simple_link_test_code
='int main(){return(0);}\n'
8877 # If no C compiler was specified, use CC.
8880 # If no C compiler flags were specified, use CFLAGS.
8881 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8883 # Allow CC to be a program name with arguments.
8887 # save warnings/boilerplate of simple test code
8888 ac_outfile
=conftest.
$ac_objext
8889 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
8890 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8891 _lt_compiler_boilerplate
=`cat conftest.err`
8894 ac_outfile
=conftest.
$ac_objext
8895 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
8896 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8897 _lt_linker_boilerplate
=`cat conftest.err`
8902 lt_prog_compiler_no_builtin_flag
=
8904 if test "$GCC" = yes; then
8905 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8908 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8909 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8910 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8911 echo $ECHO_N "(cached) $ECHO_C" >&6
8913 lt_cv_prog_compiler_rtti_exceptions
=no
8914 ac_outfile
=conftest.
$ac_objext
8915 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8916 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8917 # Insert the option either (1) after the last *FLAGS variable, or
8918 # (2) before a word containing "conftest.", or (3) at the end.
8919 # Note that $ac_compile itself does not contain backslashes and begins
8920 # with a dollar sign (not a hyphen), so the echo should work correctly.
8921 # The option is referenced via a variable to avoid confusing sed.
8922 lt_compile
=`echo "$ac_compile" | $SED \
8923 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8924 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8925 -e 's:$: $lt_compiler_flag:'`
8926 (eval echo "\"\$as_me:8926: $lt_compile\"" >&5)
8927 (eval "$lt_compile" 2>conftest.err
)
8929 cat conftest.err
>&5
8930 echo "$as_me:8930: \$? = $ac_status" >&5
8931 if (exit $ac_status) && test -s "$ac_outfile"; then
8932 # The compiler can only warn and ignore the option if not recognized
8933 # So say no if there are warnings other than the usual output.
8934 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8935 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8936 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8937 lt_cv_prog_compiler_rtti_exceptions
=yes
8943 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8944 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8946 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8947 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8954 lt_prog_compiler_wl
=
8955 lt_prog_compiler_pic
=
8956 lt_prog_compiler_static
=
8958 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8959 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8961 if test "$GCC" = yes; then
8962 lt_prog_compiler_wl
='-Wl,'
8963 lt_prog_compiler_static
='-static'
8967 # All AIX code is PIC.
8968 if test "$host_cpu" = ia64
; then
8969 # AIX 5 now supports IA64 processor
8970 lt_prog_compiler_static
='-Bstatic'
8975 # FIXME: we need at least 68020 code to build shared libraries, but
8976 # adding the `-m68020' flag to GCC prevents building anything better,
8978 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8981 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8982 # PIC is the default for these OSes.
8985 mingw
* | pw32
* | os2
*)
8986 # This hack is so that the source file can tell whether it is being
8987 # built for inclusion in a dll (and should export symbols for example).
8988 lt_prog_compiler_pic
='-DDLL_EXPORT'
8991 darwin
* | rhapsody
*)
8992 # PIC is the default on this platform
8993 # Common symbols not allowed in MH_DYLIB files
8994 lt_prog_compiler_pic
='-fno-common'
8998 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8999 # Instead, we relocate shared libraries at runtime.
9003 # Just because we use GCC doesn't mean we suddenly get shared libraries
9004 # on systems that don't support them.
9005 lt_prog_compiler_can_build_shared
=no
9010 if test -d /usr
/nec
; then
9011 lt_prog_compiler_pic
=-Kconform_pic
9016 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9023 lt_prog_compiler_pic
='-fPIC'
9029 lt_prog_compiler_pic
='-fPIC'
9033 # PORTME Check for flag to pass linker flags through the system compiler.
9036 lt_prog_compiler_wl
='-Wl,'
9037 if test "$host_cpu" = ia64
; then
9038 # AIX 5 now supports IA64 processor
9039 lt_prog_compiler_static
='-Bstatic'
9041 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9045 # PIC is the default on this platform
9046 # Common symbols not allowed in MH_DYLIB files
9047 case $cc_basename in
9049 lt_prog_compiler_pic
='-qnocommon'
9050 lt_prog_compiler_wl
='-Wl,'
9055 mingw
* | pw32
* | os2
*)
9056 # This hack is so that the source file can tell whether it is being
9057 # built for inclusion in a dll (and should export symbols for example).
9058 lt_prog_compiler_pic
='-DDLL_EXPORT'
9061 hpux9
* | hpux10
* | hpux11
*)
9062 lt_prog_compiler_wl
='-Wl,'
9063 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9070 lt_prog_compiler_pic
='+Z'
9073 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9074 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9077 irix5
* | irix6
* | nonstopux
*)
9078 lt_prog_compiler_wl
='-Wl,'
9079 # PIC (with -KPIC) is the default.
9080 lt_prog_compiler_static
='-non_shared'
9084 lt_prog_compiler_pic
='-KPIC'
9085 lt_prog_compiler_static
='-Bstatic'
9088 linux
* | k
*bsd
*-gnu)
9089 case $cc_basename in
9091 lt_prog_compiler_wl
='-Wl,'
9092 lt_prog_compiler_pic
='-KPIC'
9093 lt_prog_compiler_static
='-static'
9095 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
9096 # Portland Group compilers (*not* the Pentium gcc compiler,
9097 # which looks to be a dead project)
9098 lt_prog_compiler_wl
='-Wl,'
9099 lt_prog_compiler_pic
='-fpic'
9100 lt_prog_compiler_static
='-Bstatic'
9103 lt_prog_compiler_wl
='-Wl,'
9104 # All Alpha code is PIC.
9105 lt_prog_compiler_static
='-non_shared'
9110 osf3
* | osf4
* | osf5
*)
9111 lt_prog_compiler_wl
='-Wl,'
9112 # All OSF/1 code is PIC.
9113 lt_prog_compiler_static
='-non_shared'
9117 lt_prog_compiler_pic
='-KPIC'
9118 lt_prog_compiler_static
='-Bstatic'
9119 case $cc_basename in
9121 lt_prog_compiler_wl
='-Qoption ld ';;
9123 lt_prog_compiler_wl
='-Wl,';;
9128 lt_prog_compiler_wl
='-Qoption ld '
9129 lt_prog_compiler_pic
='-PIC'
9130 lt_prog_compiler_static
='-Bstatic'
9133 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9134 lt_prog_compiler_wl
='-Wl,'
9135 lt_prog_compiler_pic
='-KPIC'
9136 lt_prog_compiler_static
='-Bstatic'
9140 if test -d /usr
/nec
;then
9141 lt_prog_compiler_pic
='-Kconform_pic'
9142 lt_prog_compiler_static
='-Bstatic'
9146 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9147 lt_prog_compiler_wl
='-Wl,'
9148 lt_prog_compiler_pic
='-KPIC'
9149 lt_prog_compiler_static
='-Bstatic'
9153 lt_prog_compiler_wl
='-Wl,'
9154 lt_prog_compiler_can_build_shared
=no
9158 lt_prog_compiler_pic
='-pic'
9159 lt_prog_compiler_static
='-Bstatic'
9163 lt_prog_compiler_can_build_shared
=no
9168 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9169 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9172 # Check to make sure the PIC flag actually works.
9174 if test -n "$lt_prog_compiler_pic"; then
9176 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9177 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9178 if test "${lt_prog_compiler_pic_works+set}" = set; then
9179 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 lt_prog_compiler_pic_works
=no
9182 ac_outfile
=conftest.
$ac_objext
9183 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9184 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9185 # Insert the option either (1) after the last *FLAGS variable, or
9186 # (2) before a word containing "conftest.", or (3) at the end.
9187 # Note that $ac_compile itself does not contain backslashes and begins
9188 # with a dollar sign (not a hyphen), so the echo should work correctly.
9189 # The option is referenced via a variable to avoid confusing sed.
9190 lt_compile
=`echo "$ac_compile" | $SED \
9191 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9192 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9193 -e 's:$: $lt_compiler_flag:'`
9194 (eval echo "\"\$as_me:9194: $lt_compile\"" >&5)
9195 (eval "$lt_compile" 2>conftest.err
)
9197 cat conftest.err
>&5
9198 echo "$as_me:9198: \$? = $ac_status" >&5
9199 if (exit $ac_status) && test -s "$ac_outfile"; then
9200 # The compiler can only warn and ignore the option if not recognized
9201 # So say no if there are warnings other than the usual output.
9202 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9203 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9204 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9205 lt_prog_compiler_pic_works
=yes
9211 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9212 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
9214 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
9215 case $lt_prog_compiler_pic in
9217 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9220 lt_prog_compiler_pic
=
9221 lt_prog_compiler_can_build_shared
=no
9226 # For platforms which do not support PIC, -DPIC is meaningless:
9228 lt_prog_compiler_pic
=
9231 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9236 # Check to make sure the static flag actually works.
9238 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9239 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9240 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9241 if test "${lt_prog_compiler_static_works+set}" = set; then
9242 echo $ECHO_N "(cached) $ECHO_C" >&6
9244 lt_prog_compiler_static_works
=no
9245 save_LDFLAGS
="$LDFLAGS"
9246 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9247 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
9248 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9249 # The linker can only warn and ignore the option if not recognized
9250 # So say no if there are warnings
9251 if test -s conftest.err
; then
9252 # Append any errors to the config.log.
9253 cat conftest.err
1>&5
9254 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9255 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9256 if diff conftest.exp conftest.er2
>/dev
/null
; then
9257 lt_prog_compiler_static_works
=yes
9260 lt_prog_compiler_static_works
=yes
9264 LDFLAGS
="$save_LDFLAGS"
9267 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9268 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
9270 if test x
"$lt_prog_compiler_static_works" = xyes
; then
9273 lt_prog_compiler_static
=
9277 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9278 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9279 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9280 echo $ECHO_N "(cached) $ECHO_C" >&6
9282 lt_cv_prog_compiler_c_o
=no
9283 $rm -r conftest
2>/dev
/null
9287 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9289 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9290 # Insert the option either (1) after the last *FLAGS variable, or
9291 # (2) before a word containing "conftest.", or (3) at the end.
9292 # Note that $ac_compile itself does not contain backslashes and begins
9293 # with a dollar sign (not a hyphen), so the echo should work correctly.
9294 lt_compile
=`echo "$ac_compile" | $SED \
9295 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9296 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9297 -e 's:$: $lt_compiler_flag:'`
9298 (eval echo "\"\$as_me:9298: $lt_compile\"" >&5)
9299 (eval "$lt_compile" 2>out
/conftest.err
)
9301 cat out
/conftest.err
>&5
9302 echo "$as_me:9302: \$? = $ac_status" >&5
9303 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9305 # The compiler can only warn and ignore the option if not recognized
9306 # So say no if there are warnings
9307 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9308 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9309 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9310 lt_cv_prog_compiler_c_o
=yes
9315 # SGI C++ compiler will create directory out/ii_files/ for
9316 # template instantiation
9317 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
9318 $rm out
/* && rmdir out
9324 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9325 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9328 hard_links
="nottested"
9329 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9330 # do not overwrite the value of need_locks provided by the user
9331 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9332 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9335 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9337 ln conftest.a conftest.b
2>&5 || hard_links
=no
9338 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9339 { echo "$as_me:$LINENO: result: $hard_links" >&5
9340 echo "${ECHO_T}$hard_links" >&6; }
9341 if test "$hard_links" = no
; then
9342 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9343 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9350 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9351 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9354 allow_undefined_flag
=
9355 enable_shared_with_static_runtimes
=no
9357 archive_expsym_cmds
=
9358 old_archive_From_new_cmds
=
9359 old_archive_from_expsyms_cmds
=
9360 export_dynamic_flag_spec
=
9361 whole_archive_flag_spec
=
9362 thread_safe_flag_spec
=
9363 hardcode_libdir_flag_spec
=
9364 hardcode_libdir_flag_spec_ld
=
9365 hardcode_libdir_separator
=
9368 hardcode_shlibpath_var
=unsupported
9369 link_all_deplibs
=unknown
9370 hardcode_automatic
=no
9373 always_export_symbols
=no
9374 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9375 # include_expsyms should be a list of space-separated symbols to be *always*
9376 # included in the symbol list
9378 # exclude_expsyms can be an extended regexp of symbols to exclude
9379 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9380 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9381 # as well as any symbol that contains `d'.
9382 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
9383 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9384 # platforms (ab)use it in PIC code, but their linkers get confused if
9385 # the symbol is explicitly referenced. Since portable code cannot
9386 # rely on this symbol name, it's probably fine to never include it in
9387 # preloaded symbol tables.
9388 extract_expsyms_cmds
=
9389 # Just being paranoid about ensuring that cc_basename is set.
9390 for cc_temp
in $compiler""; do
9392 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9393 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9398 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9401 cygwin
* | mingw
* | pw32
*)
9402 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9403 # When not using gcc, we currently assume that we are using
9404 # Microsoft Visual C++.
9405 if test "$GCC" != yes; then
9410 # we just hope/assume this is gcc and not c89 (= MSVC++)
9419 if test "$with_gnu_ld" = yes; then
9420 # If archive_cmds runs LD, not CC, wlarc should be empty
9423 # Set some defaults for GNU ld with shared library support. These
9424 # are reset later if shared libraries are not supported. Putting them
9425 # here allows them to be overridden if necessary.
9426 runpath_var
=LD_RUN_PATH
9427 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
9428 export_dynamic_flag_spec
='${wl}--export-dynamic'
9429 # ancient GNU ld didn't support --whole-archive et. al.
9430 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
9431 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9433 whole_archive_flag_spec
=
9435 supports_anon_versioning
=no
9436 case `$LD -v 2>/dev/null` in
9437 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9438 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9439 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9440 *\
2.11.
*) ;; # other 2.11 versions
9441 *) supports_anon_versioning
=yes ;;
9444 # See if GNU ld supports shared libraries.
9446 aix3
* | aix4
* | aix5
*)
9447 # On AIX/PPC, the GNU linker is very broken
9448 if test "$host_cpu" != ia64
; then
9452 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9453 *** to be unable to reliably create shared libraries on AIX.
9454 *** Therefore, libtool is disabling shared libraries support. If you
9455 *** really care for shared libraries, you may want to modify your PATH
9456 *** so that a non-GNU linker is found, and then restart.
9463 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)'
9464 hardcode_libdir_flag_spec
='-L$libdir'
9465 hardcode_minus_L
=yes
9467 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9468 # that the semantics of dynamic libraries on AmigaOS, at least up
9469 # to version 4, is to share data among multiple programs linked
9470 # with the same dynamic library. Since this doesn't match the
9471 # behavior of shared libraries on other platforms, we can't use
9477 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9478 allow_undefined_flag
=unsupported
9479 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9480 # support --undefined. This deserves some investigation. FIXME
9481 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9487 cygwin
* | mingw
* | pw32
*)
9488 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9489 # as there is no search path for DLLs.
9490 hardcode_libdir_flag_spec
='-L$libdir'
9491 allow_undefined_flag
=unsupported
9492 always_export_symbols
=no
9493 enable_shared_with_static_runtimes
=yes
9494 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
9496 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
9497 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9498 # If the export-symbols file already is a .def file (1st line
9499 # is EXPORTS), use it as is; otherwise, prepend...
9500 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9501 cp $export_symbols $output_objdir/$soname.def;
9503 echo EXPORTS > $output_objdir/$soname.def;
9504 cat $export_symbols >> $output_objdir/$soname.def;
9506 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9514 hardcode_shlibpath_var
=no
9515 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9516 export_dynamic_flag_spec
='${wl}-E'
9517 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9518 # Instead, shared libraries are loaded at an image base (0x10000000 by
9519 # default) and relocated if they conflict, which is a slow very memory
9520 # consuming and fragmenting process. To avoid this, we pick a random,
9521 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9522 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9523 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9524 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'
9527 linux
* | k
*bsd
*-gnu)
9528 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9530 case $cc_basename,$host_cpu in
9531 pgcc
*) # Portland Group C compiler
9532 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'
9533 tmp_addflag
=' $pic_flag'
9535 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9536 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'
9537 tmp_addflag
=' $pic_flag -Mnomain' ;;
9538 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9539 tmp_addflag
=' -i_dynamic' ;;
9540 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9541 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9542 ifc
* | ifort
*) # Intel Fortran compiler
9543 tmp_addflag
=' -nofor_main' ;;
9545 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9547 if test $supports_anon_versioning = yes; then
9548 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
9549 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9550 $echo "local: *; };" >> $output_objdir/$libname.ver~
9551 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9559 netbsd
* | netbsdelf
*-gnu)
9560 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9561 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9564 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9565 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9570 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
9574 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9575 *** create shared libraries on Solaris systems. Therefore, libtool
9576 *** is disabling shared libraries support. We urge you to upgrade GNU
9577 *** binutils to release 2.9.1 or newer. Another option is to modify
9578 *** your PATH or compiler configuration so that the native linker is
9579 *** used, and then restart.
9582 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9583 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9584 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9590 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9591 case `$LD -v 2>&1` in
9592 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9596 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9597 *** reliably create shared libraries on SCO systems. Therefore, libtool
9598 *** is disabling shared libraries support. We urge you to upgrade GNU
9599 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9600 *** your PATH or compiler configuration so that the native linker is
9601 *** used, and then restart.
9606 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9607 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9608 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9609 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9618 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9621 hardcode_shlibpath_var
=no
9625 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9626 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9627 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9634 if test "$ld_shlibs" = no
; then
9636 hardcode_libdir_flag_spec
=
9637 export_dynamic_flag_spec
=
9638 whole_archive_flag_spec
=
9641 # PORTME fill in a description of your system's linker (not GNU ld)
9644 allow_undefined_flag
=unsupported
9645 always_export_symbols
=yes
9646 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'
9647 # Note: this linker hardcodes the directories in LIBPATH if there
9648 # are no directories specified by -L.
9649 hardcode_minus_L
=yes
9650 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9651 # Neither direct hardcoding nor static linking is supported with a
9653 hardcode_direct
=unsupported
9658 if test "$host_cpu" = ia64
; then
9659 # On IA64, the linker does run time linking by default, so we don't
9660 # have to do anything special.
9661 aix_use_runtimelinking
=no
9662 exp_sym_flag
='-Bexport'
9665 # If we're using GNU nm, then we don't want the "-C" option.
9666 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9667 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
9668 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'
9670 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'
9672 aix_use_runtimelinking
=no
9674 # Test if we are trying to use run time linking or normal
9675 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9676 # need to do runtime linking.
9677 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9678 for ld_flag
in $LDFLAGS; do
9679 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9680 aix_use_runtimelinking
=yes
9687 exp_sym_flag
='-bexport'
9688 no_entry_flag
='-bnoentry'
9691 # When large executables or shared objects are built, AIX ld can
9692 # have problems creating the table of contents. If linking a library
9693 # or program results in "error TOC overflow" add -mminimal-toc to
9694 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9695 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9699 hardcode_libdir_separator
=':'
9700 link_all_deplibs
=yes
9702 if test "$GCC" = yes; then
9703 case $host_os in aix4.
[012]|aix4.
[012].
*)
9704 # We only want to do this on AIX 4.2 and lower, the check
9705 # below for broken collect2 doesn't work under 4.3+
9706 collect2name
=`${CC} -print-prog-name=collect2`
9707 if test -f "$collect2name" && \
9708 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9710 # We have reworked collect2
9713 # We have old collect2
9714 hardcode_direct
=unsupported
9715 # It fails to find uninstalled libraries when the uninstalled
9716 # path is not listed in the libpath. Setting hardcode_minus_L
9717 # to unsupported forces relinking
9718 hardcode_minus_L
=yes
9719 hardcode_libdir_flag_spec
='-L$libdir'
9720 hardcode_libdir_separator
=
9724 shared_flag
='-shared'
9725 if test "$aix_use_runtimelinking" = yes; then
9726 shared_flag
="$shared_flag "'${wl}-G'
9730 if test "$host_cpu" = ia64
; then
9731 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9732 # chokes on -Wl,-G. The following line is correct:
9735 if test "$aix_use_runtimelinking" = yes; then
9736 shared_flag
='${wl}-G'
9738 shared_flag
='${wl}-bM:SRE'
9743 # It seems that -bexpall does not export symbols beginning with
9744 # underscore (_), so it is better to generate a list of symbols to export.
9745 always_export_symbols
=yes
9746 if test "$aix_use_runtimelinking" = yes; then
9747 # Warning - without using the other runtime loading flags (-brtl),
9748 # -berok will link without error, but may produce a broken library.
9749 allow_undefined_flag
='-berok'
9750 # Determine the default libpath from the value encoded in an empty executable.
9751 cat >conftest.
$ac_ext <<_ACEOF
9754 cat confdefs.h
>>conftest.
$ac_ext
9755 cat >>conftest.
$ac_ext <<_ACEOF
9756 /* end confdefs.h. */
9766 rm -f conftest.
$ac_objext conftest
$ac_exeext
9767 if { (ac_try
="$ac_link"
9769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9770 *) ac_try_echo=$ac_try;;
9772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9773 (eval "$ac_link") 2>conftest.er1
9775 grep -v '^ *+' conftest.er1 >conftest.err
9777 cat conftest.err >&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } && {
9780 test -z "$ac_c_werror_flag" ||
9781 test ! -s conftest.err
9782 } && test -s conftest$ac_exeext &&
9783 $as_test_x conftest$ac_exeext; then
9785 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9787 # Check for a 64-bit object if we didn't find anything.
9788 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9791 echo "$as_me: failed program was:" >&5
9792 sed 's/^/| /' conftest.$ac_ext >&5
9797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9798 conftest$ac_exeext conftest.$ac_ext
9799 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9801 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9802 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"
9804 if test "$host_cpu" = ia64; then
9805 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9806 allow_undefined_flag="-z nodefs"
9807 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"
9809 # Determine the default libpath from the value encoded in an empty executable.
9810 cat >conftest.$ac_ext <<_ACEOF
9813 cat confdefs.h >>conftest.$ac_ext
9814 cat >>conftest.$ac_ext <<_ACEOF
9815 /* end confdefs.h. */
9825 rm -f conftest.$ac_objext conftest$ac_exeext
9826 if { (ac_try="$ac_link"
9828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9829 *) ac_try_echo
=$ac_try;;
9831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9832 (eval "$ac_link") 2>conftest.er1
9834 grep -v '^ *+' conftest.er1
>conftest.err
9836 cat conftest.err
>&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); } && {
9839 test -z "$ac_c_werror_flag" ||
9840 test ! -s conftest.err
9841 } && test -s conftest
$ac_exeext &&
9842 $as_test_x conftest
$ac_exeext; then
9844 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9846 # Check for a 64-bit object if we didn't find anything.
9847 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9850 echo "$as_me: failed program was:" >&5
9851 sed 's/^/| /' conftest.
$ac_ext >&5
9856 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9857 conftest
$ac_exeext conftest.
$ac_ext
9858 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9860 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9861 # Warning - without using the other run time loading flags,
9862 # -berok will link without error, but may produce a broken library.
9863 no_undefined_flag
=' ${wl}-bernotok'
9864 allow_undefined_flag
=' ${wl}-berok'
9865 # Exported symbols can be pulled into shared objects from archives
9866 whole_archive_flag_spec
='$convenience'
9867 archive_cmds_need_lc
=yes
9868 # This is similar to how AIX traditionally builds its shared libraries.
9869 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'
9875 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)'
9876 hardcode_libdir_flag_spec
='-L$libdir'
9877 hardcode_minus_L
=yes
9878 # see comment about different semantics on the GNU ld section
9883 export_dynamic_flag_spec
=-rdynamic
9886 cygwin
* | mingw
* | pw32
*)
9887 # When not using gcc, we currently assume that we are using
9888 # Microsoft Visual C++.
9889 # hardcode_libdir_flag_spec is actually meaningless, as there is
9890 # no search path for DLLs.
9891 hardcode_libdir_flag_spec
=' '
9892 allow_undefined_flag
=unsupported
9893 # Tell ltmain to make .lib files, not .a files.
9895 # Tell ltmain to make .dll files, not .so files.
9897 # FIXME: Setting linknames here is a bad hack.
9898 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9899 # The linker will automatically build a .lib file if we build a DLL.
9900 old_archive_From_new_cmds
='true'
9901 # FIXME: Should let the user specify the lib program.
9902 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
9903 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9904 enable_shared_with_static_runtimes
=yes
9907 darwin
* | rhapsody
*)
9909 rhapsody
* | darwin1.
[012])
9910 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9913 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9914 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9916 case ${MACOSX_DEPLOYMENT_TARGET} in
9918 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9921 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9927 archive_cmds_need_lc
=no
9929 hardcode_automatic
=yes
9930 hardcode_shlibpath_var
=unsupported
9931 whole_archive_flag_spec
=''
9932 link_all_deplibs
=yes
9933 if test "$GCC" = yes ; then
9934 output_verbose_link_cmd
='echo'
9935 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9936 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9937 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9938 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9939 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}'
9941 case $cc_basename in
9943 output_verbose_link_cmd
='echo'
9944 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
9945 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9946 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9947 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9948 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}'
9958 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9959 hardcode_libdir_flag_spec
='-L$libdir'
9960 hardcode_shlibpath_var
=no
9967 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9968 # support. Future versions do this automatically, but an explicit c++rt0.o
9969 # does not break anything, and helps significantly (at the cost of a little
9972 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9973 hardcode_libdir_flag_spec
='-R$libdir'
9975 hardcode_shlibpath_var
=no
9978 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9980 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9982 hardcode_minus_L
=yes
9983 hardcode_shlibpath_var
=no
9986 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9987 freebsd
* | dragonfly
*)
9988 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9989 hardcode_libdir_flag_spec
='-R$libdir'
9991 hardcode_shlibpath_var
=no
9995 if test "$GCC" = yes; then
9996 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'
9998 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'
10000 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10001 hardcode_libdir_separator
=:
10002 hardcode_direct
=yes
10004 # hardcode_minus_L: Not really in the search PATH,
10005 # but as the default location of the library.
10006 hardcode_minus_L
=yes
10007 export_dynamic_flag_spec
='${wl}-E'
10011 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10012 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10014 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10016 if test "$with_gnu_ld" = no
; then
10017 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10018 hardcode_libdir_separator
=:
10020 hardcode_direct
=yes
10021 export_dynamic_flag_spec
='${wl}-E'
10023 # hardcode_minus_L: Not really in the search PATH,
10024 # but as the default location of the library.
10025 hardcode_minus_L
=yes
10030 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10033 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10036 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10039 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10045 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10048 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10051 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10055 if test "$with_gnu_ld" = no
; then
10056 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10057 hardcode_libdir_separator
=:
10061 hardcode_libdir_flag_spec_ld
='+b $libdir'
10063 hardcode_shlibpath_var
=no
10066 hardcode_direct
=yes
10067 export_dynamic_flag_spec
='${wl}-E'
10069 # hardcode_minus_L: Not really in the search PATH,
10070 # but as the default location of the library.
10071 hardcode_minus_L
=yes
10077 irix5
* | irix6
* | nonstopux
*)
10078 if test "$GCC" = yes; then
10079 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'
10081 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'
10082 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10084 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10085 hardcode_libdir_separator
=:
10086 link_all_deplibs
=yes
10089 netbsd
* | netbsdelf
*-gnu)
10090 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10091 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10093 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10095 hardcode_libdir_flag_spec
='-R$libdir'
10096 hardcode_direct
=yes
10097 hardcode_shlibpath_var
=no
10101 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10102 hardcode_direct
=yes
10103 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10104 hardcode_libdir_separator
=:
10105 hardcode_shlibpath_var
=no
10109 hardcode_direct
=yes
10110 hardcode_shlibpath_var
=no
10111 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10112 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10113 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10114 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10115 export_dynamic_flag_spec
='${wl}-E'
10118 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10119 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10120 hardcode_libdir_flag_spec
='-R$libdir'
10123 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10124 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10131 hardcode_libdir_flag_spec
='-L$libdir'
10132 hardcode_minus_L
=yes
10133 allow_undefined_flag
=unsupported
10134 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'
10135 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10139 if test "$GCC" = yes; then
10140 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10141 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'
10143 allow_undefined_flag
=' -expect_unresolved \*'
10144 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'
10146 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10147 hardcode_libdir_separator
=:
10150 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10151 if test "$GCC" = yes; then
10152 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10153 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'
10154 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10156 allow_undefined_flag
=' -expect_unresolved \*'
10157 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'
10158 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10159 $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'
10161 # Both c and cxx compiler support -rpath directly
10162 hardcode_libdir_flag_spec
='-rpath $libdir'
10164 hardcode_libdir_separator
=:
10168 no_undefined_flag
=' -z text'
10169 if test "$GCC" = yes; then
10171 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10172 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10173 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10176 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10177 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10178 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10180 hardcode_libdir_flag_spec
='-R$libdir'
10181 hardcode_shlibpath_var
=no
10183 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10185 # The compiler driver will combine linker options so we
10186 # cannot just pass the convience library names through
10187 # without $wl, iff we do not link with $LD.
10188 # Luckily, gcc supports the same syntax we need for Sun Studio.
10189 # Supported since Solaris 2.6 (maybe 2.5.1?)
10192 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
10194 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
10197 link_all_deplibs
=yes
10201 if test "x$host_vendor" = xsequent
; then
10202 # Use $CC to link under sequent, because it throws in some extra .o
10203 # files that make .init and .fini sections work.
10204 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10206 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10208 hardcode_libdir_flag_spec
='-L$libdir'
10209 hardcode_direct
=yes
10210 hardcode_minus_L
=yes
10211 hardcode_shlibpath_var
=no
10215 case $host_vendor in
10217 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10218 hardcode_direct
=yes # is this really true???
10221 ## LD is ld it makes a PLAMLIB
10222 ## CC just makes a GrossModule.
10223 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10224 reload_cmds
='$CC -r -o $output$reload_objs'
10228 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10229 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10232 runpath_var
='LD_RUN_PATH'
10233 hardcode_shlibpath_var
=no
10237 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10238 hardcode_shlibpath_var
=no
10239 export_dynamic_flag_spec
='-Bexport'
10243 if test -d /usr
/nec
; then
10244 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10245 hardcode_shlibpath_var
=no
10246 runpath_var
=LD_RUN_PATH
10247 hardcode_runpath_var
=yes
10252 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
10253 no_undefined_flag
='${wl}-z,text'
10254 archive_cmds_need_lc
=no
10255 hardcode_shlibpath_var
=no
10256 runpath_var
='LD_RUN_PATH'
10258 if test "$GCC" = yes; then
10259 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10260 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10262 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10263 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10267 sysv5
* | sco3.2v5
* | sco5v6
*)
10268 # Note: We can NOT use -z defs as we might desire, because we do not
10269 # link with -lc, and that would cause any symbols used from libc to
10270 # always be unresolved, which means just about no library would
10271 # ever link correctly. If we're not using GNU ld we use -z text
10272 # though, which does catch some bad symbols but isn't as heavy-handed
10274 no_undefined_flag
='${wl}-z,text'
10275 allow_undefined_flag
='${wl}-z,nodefs'
10276 archive_cmds_need_lc
=no
10277 hardcode_shlibpath_var
=no
10278 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
10279 hardcode_libdir_separator
=':'
10280 link_all_deplibs
=yes
10281 export_dynamic_flag_spec
='${wl}-Bexport'
10282 runpath_var
='LD_RUN_PATH'
10284 if test "$GCC" = yes; then
10285 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10286 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10288 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10289 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10294 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10295 hardcode_libdir_flag_spec
='-L$libdir'
10296 hardcode_shlibpath_var
=no
10305 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10306 echo "${ECHO_T}$ld_shlibs" >&6; }
10307 test "$ld_shlibs" = no
&& can_build_shared
=no
10310 # Do we need to explicitly link libc?
10312 case "x$archive_cmds_need_lc" in
10314 # Assume -lc should be added
10315 archive_cmds_need_lc
=yes
10317 if test "$enable_shared" = yes && test "$GCC" = yes; then
10318 case $archive_cmds in
10320 # FIXME: we may have to deal with multi-command sequences.
10323 # Test whether the compiler implicitly links with -lc since on some
10324 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10325 # to ld, don't add -lc before -lgcc.
10326 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10327 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10329 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
10331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10332 (eval $ac_compile) 2>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); } 2>conftest.err
; then
10338 libobjs
=conftest.
$ac_objext
10340 wl
=$lt_prog_compiler_wl
10341 pic_flag
=$lt_prog_compiler_pic
10347 lt_save_allow_undefined_flag
=$allow_undefined_flag
10348 allow_undefined_flag
=
10349 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10350 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); }
10355 archive_cmds_need_lc
=no
10357 archive_cmds_need_lc
=yes
10359 allow_undefined_flag
=$lt_save_allow_undefined_flag
10361 cat conftest.err
1>&5
10364 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10365 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10372 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10373 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10374 library_names_spec
=
10375 libname_spec
='lib$name'
10379 postuninstall_cmds
=
10383 shlibpath_overrides_runpath
=unknown
10385 dynamic_linker
="$host_os ld.so"
10386 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10387 if test "$GCC" = yes; then
10388 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10389 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
10390 # if the path contains ";" then we assume it to be the separator
10391 # otherwise default to the standard path separator (i.e. ":") - it is
10392 # assumed that no part of a normal pathname contains ";" but that should
10393 # okay in the real world where ";" in dirpaths is itself problematic.
10394 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10396 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10399 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10401 need_lib_prefix
=unknown
10402 hardcode_into_libs
=no
10404 # when you set need_version to no, make sure it does not cause -set_version
10405 # flags to be left without arguments
10406 need_version
=unknown
10411 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10412 shlibpath_var
=LIBPATH
10414 # AIX 3 has no versioning support, so we append a major version to the name.
10415 soname_spec
='${libname}${release}${shared_ext}$major'
10422 hardcode_into_libs
=yes
10423 if test "$host_cpu" = ia64
; then
10424 # AIX 5 supports IA64
10425 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10426 shlibpath_var
=LD_LIBRARY_PATH
10428 # With GCC up to 2.95.x, collect2 would create an import file
10429 # for dependence libraries. The import file would start with
10430 # the line `#! .'. This would cause the generated library to
10431 # depend on `.', always an invalid library. This was fixed in
10432 # development snapshots of GCC prior to 3.0.
10434 aix4 | aix4.
[01] | aix4.
[01].
*)
10435 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10437 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
10440 can_build_shared
=no
10444 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10445 # soname into executable. Probably we can add versioning support to
10446 # collect2, so additional links can be useful in future.
10447 if test "$aix_use_runtimelinking" = yes; then
10448 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10449 # instead of lib<name>.a to let people know that these are not
10450 # typical AIX shared libraries.
10451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10453 # We preserve .a as extension for shared libraries through AIX4.2
10454 # and later when we are not doing run time linking.
10455 library_names_spec
='${libname}${release}.a $libname.a'
10456 soname_spec
='${libname}${release}${shared_ext}$major'
10458 shlibpath_var
=LIBPATH
10463 library_names_spec
='$libname.ixlibrary $libname.a'
10464 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10465 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'
10469 library_names_spec
='${libname}${shared_ext}'
10470 dynamic_linker
="$host_os ld.so"
10471 shlibpath_var
=LIBRARY_PATH
10477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10478 soname_spec
='${libname}${release}${shared_ext}$major'
10479 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10480 shlibpath_var
=LD_LIBRARY_PATH
10481 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10482 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10483 # the default ld.so.conf also contains /usr/contrib/lib and
10484 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10485 # libtool to hard-code these into programs
10488 cygwin
* | mingw
* | pw32
*)
10489 version_type
=windows
10494 case $GCC,$host_os in
10495 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10496 library_names_spec
='$libname.dll.a'
10497 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10498 postinstall_cmds
='base_file=`basename \${file}`~
10499 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10500 dldir=$destdir/`dirname \$dlpath`~
10501 test -d \$dldir || mkdir -p \$dldir~
10502 $install_prog $dir/$dlname \$dldir/$dlname~
10503 chmod a+x \$dldir/$dlname'
10504 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10505 dlpath=$dir/\$dldll~
10507 shlibpath_overrides_runpath
=yes
10511 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10512 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10513 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10516 # MinGW DLLs use traditional 'lib' prefix
10517 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10518 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10519 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
10520 # It is most probably a Windows format PATH printed by
10521 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10522 # path with ; separators, and with drive letters. We can handle the
10523 # drive letters (cygwin fileutils understands them), so leave them,
10524 # especially as we might pass files found there to a mingw objdump,
10525 # which wouldn't understand a cygwinified path. Ahh.
10526 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10528 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10532 # pw32 DLLs use 'pw' prefix rather than 'lib'
10533 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10539 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10542 dynamic_linker
='Win32 ld.exe'
10543 # FIXME: first we should search . and the directory the executable is in
10547 darwin
* | rhapsody
*)
10548 dynamic_linker
="$host_os dyld"
10549 version_type
=darwin
10552 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10553 soname_spec
='${libname}${release}${major}$shared_ext'
10554 shlibpath_overrides_runpath
=yes
10555 shlibpath_var
=DYLD_LIBRARY_PATH
10556 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10557 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10558 if test "$GCC" = yes; then
10559 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
10561 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
10563 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10571 soname_spec
='${libname}${release}${shared_ext}$major'
10572 shlibpath_var
=LD_LIBRARY_PATH
10579 freebsd
* | dragonfly
*)
10580 # DragonFly does not have aout. When/if they implement a new
10581 # versioning mechanism, adjust this.
10582 if test -x /usr
/bin
/objformat
; then
10583 objformat
=`/usr/bin/objformat`
10586 freebsd
[123]*) objformat
=aout
;;
10587 *) objformat
=elf
;;
10590 version_type
=freebsd-
$objformat
10591 case $version_type in
10593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10598 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10602 shlibpath_var
=LD_LIBRARY_PATH
10605 shlibpath_overrides_runpath
=yes
10607 freebsd3.
[01]* | freebsdelf3.
[01]*)
10608 shlibpath_overrides_runpath
=yes
10609 hardcode_into_libs
=yes
10611 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10612 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10613 shlibpath_overrides_runpath
=no
10614 hardcode_into_libs
=yes
10616 freebsd
*) # from 4.6 on
10617 shlibpath_overrides_runpath
=yes
10618 hardcode_into_libs
=yes
10627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10628 soname_spec
='${libname}${release}${shared_ext}$major'
10629 shlibpath_var
=LD_LIBRARY_PATH
10630 hardcode_into_libs
=yes
10633 hpux9
* | hpux10
* | hpux11
*)
10634 # Give a soname corresponding to the major version so that dld.sl refuses to
10635 # link against other versions.
10642 hardcode_into_libs
=yes
10643 dynamic_linker
="$host_os dld.so"
10644 shlibpath_var
=LD_LIBRARY_PATH
10645 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10647 soname_spec
='${libname}${release}${shared_ext}$major'
10648 if test "X$HPUX_IA64_MODE" = X32
; then
10649 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10651 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10653 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10657 hardcode_into_libs
=yes
10658 dynamic_linker
="$host_os dld.sl"
10659 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10660 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10662 soname_spec
='${libname}${release}${shared_ext}$major'
10663 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10664 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10668 dynamic_linker
="$host_os dld.sl"
10669 shlibpath_var
=SHLIB_PATH
10670 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10672 soname_spec
='${libname}${release}${shared_ext}$major'
10675 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10676 postinstall_cmds
='chmod 555 $lib'
10683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10684 soname_spec
='${libname}${release}${shared_ext}$major'
10685 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10686 shlibpath_var
=LD_LIBRARY_PATH
10687 shlibpath_overrides_runpath
=no
10688 hardcode_into_libs
=yes
10691 irix5
* | irix6
* | nonstopux
*)
10693 nonstopux
*) version_type
=nonstopux
;;
10695 if test "$lt_cv_prog_gnu_ld" = yes; then
10703 soname_spec
='${libname}${release}${shared_ext}$major'
10704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10706 irix5
* | nonstopux
*)
10707 libsuff
= shlibsuff
=
10710 case $LD in # libtool.m4 will add one of these switches to LD
10711 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10712 libsuff
= shlibsuff
= libmagic
=32-bit;;
10713 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10714 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10715 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10716 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10717 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10721 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10722 shlibpath_overrides_runpath
=no
10723 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10724 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10725 hardcode_into_libs
=yes
10728 # No shared lib support for Linux oldld, aout, or coff.
10729 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10733 # This must be Linux ELF.
10734 linux
* | k
*bsd
*-gnu)
10738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10739 soname_spec
='${libname}${release}${shared_ext}$major'
10740 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10741 shlibpath_var
=LD_LIBRARY_PATH
10742 shlibpath_overrides_runpath
=no
10743 # This implies no fast_install, which is unacceptable.
10744 # Some rework will be needed to allow for fast_install
10745 # before this can be enabled.
10746 hardcode_into_libs
=yes
10748 # Append ld.so.conf contents to the search path
10749 if test -f /etc
/ld.so.conf
; then
10750 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10751 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10754 # We used to test for /lib/ld.so.1 and disable shared libraries on
10755 # powerpc, because MkLinux only supported shared libraries with the
10756 # GNU dynamic linker. Since this was broken with cross compilers,
10757 # most powerpc-linux boxes support dynamic linking these days and
10758 # people can always --disable-shared, the test was removed, and we
10759 # assume the GNU/Linux dynamic linker is in use.
10760 dynamic_linker
='GNU/Linux ld.so'
10767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10768 soname_spec
='${libname}${release}${shared_ext}$major'
10769 shlibpath_var
=LD_LIBRARY_PATH
10770 shlibpath_overrides_runpath
=no
10771 hardcode_into_libs
=yes
10772 dynamic_linker
='NetBSD ld.elf_so'
10779 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10781 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10782 dynamic_linker
='NetBSD (a.out) ld.so'
10784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10785 soname_spec
='${libname}${release}${shared_ext}$major'
10786 dynamic_linker
='NetBSD ld.elf_so'
10788 shlibpath_var
=LD_LIBRARY_PATH
10789 shlibpath_overrides_runpath
=yes
10790 hardcode_into_libs
=yes
10795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10796 shlibpath_var
=LD_LIBRARY_PATH
10797 shlibpath_overrides_runpath
=yes
10804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10805 soname_spec
='${libname}${release}${shared_ext}$major'
10806 shlibpath_var
=LD_LIBRARY_PATH
10807 shlibpath_overrides_runpath
=yes
10812 sys_lib_dlsearch_path_spec
="/usr/lib"
10814 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10816 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10817 *) need_version
=no
;;
10819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10820 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10821 shlibpath_var
=LD_LIBRARY_PATH
10822 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10824 openbsd2.
[89] | openbsd2.
[89].
*)
10825 shlibpath_overrides_runpath
=no
10828 shlibpath_overrides_runpath
=yes
10832 shlibpath_overrides_runpath
=yes
10837 libname_spec
='$name'
10840 library_names_spec
='$libname${shared_ext} $libname.a'
10841 dynamic_linker
='OS/2 ld.exe'
10842 shlibpath_var
=LIBPATH
10845 osf3
* | osf4
* | osf5
*)
10849 soname_spec
='${libname}${release}${shared_ext}$major'
10850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 shlibpath_var
=LD_LIBRARY_PATH
10852 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10853 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10861 soname_spec
='${libname}${release}${shared_ext}$major'
10862 shlibpath_var
=LD_LIBRARY_PATH
10863 shlibpath_overrides_runpath
=yes
10864 hardcode_into_libs
=yes
10865 # ldd complains unless libraries are executable
10866 postinstall_cmds
='chmod +x $lib'
10871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10872 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10873 shlibpath_var
=LD_LIBRARY_PATH
10874 shlibpath_overrides_runpath
=yes
10875 if test "$with_gnu_ld" = yes; then
10883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884 soname_spec
='${libname}${release}${shared_ext}$major'
10885 shlibpath_var
=LD_LIBRARY_PATH
10886 case $host_vendor in
10888 shlibpath_overrides_runpath
=no
10890 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10891 runpath_var
=LD_RUN_PATH
10899 shlibpath_overrides_runpath
=no
10900 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10906 if test -d /usr
/nec
;then
10908 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10909 soname_spec
='$libname${shared_ext}.$major'
10910 shlibpath_var
=LD_LIBRARY_PATH
10914 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10915 version_type
=freebsd-elf
10918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10919 soname_spec
='${libname}${release}${shared_ext}$major'
10920 shlibpath_var
=LD_LIBRARY_PATH
10921 hardcode_into_libs
=yes
10922 if test "$with_gnu_ld" = yes; then
10923 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10924 shlibpath_overrides_runpath
=no
10926 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10927 shlibpath_overrides_runpath
=yes
10930 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10934 sys_lib_dlsearch_path_spec
='/usr/lib'
10939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10940 soname_spec
='${libname}${release}${shared_ext}$major'
10941 shlibpath_var
=LD_LIBRARY_PATH
10948 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10949 echo "${ECHO_T}$dynamic_linker" >&6; }
10950 test "$dynamic_linker" = no
&& can_build_shared
=no
10952 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10953 if test "$GCC" = yes; then
10954 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10957 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10958 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10960 if test -n "$hardcode_libdir_flag_spec" || \
10961 test -n "$runpath_var" || \
10962 test "X$hardcode_automatic" = "Xyes" ; then
10964 # We can hardcode non-existant directories.
10965 if test "$hardcode_direct" != no
&&
10966 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10967 # have to relink, otherwise we might link with an installed library
10968 # when we should be linking with a yet-to-be-installed one
10969 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10970 test "$hardcode_minus_L" != no
; then
10971 # Linking always hardcodes the temporary library directory.
10972 hardcode_action
=relink
10974 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10975 hardcode_action
=immediate
10978 # We cannot hardcode anything, or else we can only hardcode existing
10980 hardcode_action
=unsupported
10982 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10983 echo "${ECHO_T}$hardcode_action" >&6; }
10985 if test "$hardcode_action" = relink
; then
10986 # Fast installation is not supported
10987 enable_fast_install
=no
10988 elif test "$shlibpath_overrides_runpath" = yes ||
10989 test "$enable_shared" = no
; then
10990 # Fast installation is not necessary
10991 enable_fast_install
=needless
10996 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10997 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10998 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
10999 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11000 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11001 { echo "$as_me:$LINENO: result: yes" >&5
11002 echo "${ECHO_T}yes" >&6; }
11004 # FIXME - insert some real tests, host_os isn't really good enough
11007 if test -n "$STRIP" ; then
11008 striplib
="$STRIP -x"
11009 { echo "$as_me:$LINENO: result: yes" >&5
11010 echo "${ECHO_T}yes" >&6; }
11012 { echo "$as_me:$LINENO: result: no" >&5
11013 echo "${ECHO_T}no" >&6; }
11017 { echo "$as_me:$LINENO: result: no" >&5
11018 echo "${ECHO_T}no" >&6; }
11023 if test "x$enable_dlopen" != xyes
; then
11024 enable_dlopen
=unknown
11025 enable_dlopen_self
=unknown
11026 enable_dlopen_self_static
=unknown
11033 lt_cv_dlopen
="load_add_on"
11035 lt_cv_dlopen_self
=yes
11039 lt_cv_dlopen
="LoadLibrary"
11044 lt_cv_dlopen
="dlopen"
11049 # if libdl is installed we need to link against it
11050 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11051 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11052 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11053 echo $ECHO_N "(cached) $ECHO_C" >&6
11055 ac_check_lib_save_LIBS
=$LIBS
11057 cat >conftest.
$ac_ext <<_ACEOF
11060 cat confdefs.h
>>conftest.
$ac_ext
11061 cat >>conftest.
$ac_ext <<_ACEOF
11062 /* end confdefs.h. */
11064 /* Override any GCC internal prototype to avoid an error.
11065 Use char because int might match the return type of a GCC
11066 builtin and then its argument prototype would still apply. */
11079 rm -f conftest.
$ac_objext conftest
$ac_exeext
11080 if { (ac_try
="$ac_link"
11081 case "(($ac_try" in
11082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11083 *) ac_try_echo=$ac_try;;
11085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11086 (eval "$ac_link") 2>conftest.er1
11088 grep -v '^ *+' conftest.er1 >conftest.err
11090 cat conftest.err >&5
11091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11092 (exit $ac_status); } && {
11093 test -z "$ac_c_werror_flag" ||
11094 test ! -s conftest.err
11095 } && test -s conftest$ac_exeext &&
11096 $as_test_x conftest$ac_exeext; then
11097 ac_cv_lib_dl_dlopen=yes
11099 echo "$as_me: failed program was:" >&5
11100 sed 's/^/| /' conftest.$ac_ext >&5
11102 ac_cv_lib_dl_dlopen=no
11105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11106 conftest$ac_exeext conftest.$ac_ext
11107 LIBS=$ac_check_lib_save_LIBS
11109 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11110 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11111 if test $ac_cv_lib_dl_dlopen = yes; then
11112 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11115 lt_cv_dlopen="dyld"
11117 lt_cv_dlopen_self=yes
11124 { echo "$as_me:$LINENO: checking for shl_load" >&5
11125 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11126 if test "${ac_cv_func_shl_load+set}" = set; then
11127 echo $ECHO_N "(cached) $ECHO_C" >&6
11129 cat >conftest.$ac_ext <<_ACEOF
11132 cat confdefs.h >>conftest.$ac_ext
11133 cat >>conftest.$ac_ext <<_ACEOF
11134 /* end confdefs.h. */
11135 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11137 #define shl_load innocuous_shl_load
11139 /* System header to define __stub macros and hopefully few prototypes,
11140 which can conflict with char shl_load (); below.
11141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11142 <limits.h> exists even on freestanding compilers. */
11145 # include <limits.h>
11147 # include <assert.h>
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11159 /* The GNU C library defines this for functions which it implements
11160 to always fail with ENOSYS. Some functions are actually named
11161 something starting with __ and the normal name is an alias. */
11162 #if defined __stub_shl_load || defined __stub___shl_load
11169 return shl_load ();
11174 rm -f conftest.$ac_objext conftest$ac_exeext
11175 if { (ac_try="$ac_link"
11176 case "(($ac_try" in
11177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11178 *) ac_try_echo
=$ac_try;;
11180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11181 (eval "$ac_link") 2>conftest.er1
11183 grep -v '^ *+' conftest.er1
>conftest.err
11185 cat conftest.err
>&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); } && {
11188 test -z "$ac_c_werror_flag" ||
11189 test ! -s conftest.err
11190 } && test -s conftest
$ac_exeext &&
11191 $as_test_x conftest
$ac_exeext; then
11192 ac_cv_func_shl_load
=yes
11194 echo "$as_me: failed program was:" >&5
11195 sed 's/^/| /' conftest.
$ac_ext >&5
11197 ac_cv_func_shl_load
=no
11200 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11201 conftest
$ac_exeext conftest.
$ac_ext
11203 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11204 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11205 if test $ac_cv_func_shl_load = yes; then
11206 lt_cv_dlopen
="shl_load"
11208 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11209 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11210 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11211 echo $ECHO_N "(cached) $ECHO_C" >&6
11213 ac_check_lib_save_LIBS
=$LIBS
11215 cat >conftest.
$ac_ext <<_ACEOF
11218 cat confdefs.h
>>conftest.
$ac_ext
11219 cat >>conftest.
$ac_ext <<_ACEOF
11220 /* end confdefs.h. */
11222 /* Override any GCC internal prototype to avoid an error.
11223 Use char because int might match the return type of a GCC
11224 builtin and then its argument prototype would still apply. */
11232 return shl_load ();
11237 rm -f conftest.
$ac_objext conftest
$ac_exeext
11238 if { (ac_try
="$ac_link"
11239 case "(($ac_try" in
11240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11241 *) ac_try_echo=$ac_try;;
11243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11244 (eval "$ac_link") 2>conftest.er1
11246 grep -v '^ *+' conftest.er1 >conftest.err
11248 cat conftest.err >&5
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); } && {
11251 test -z "$ac_c_werror_flag" ||
11252 test ! -s conftest.err
11253 } && test -s conftest$ac_exeext &&
11254 $as_test_x conftest$ac_exeext; then
11255 ac_cv_lib_dld_shl_load=yes
11257 echo "$as_me: failed program was:" >&5
11258 sed 's/^/| /' conftest.$ac_ext >&5
11260 ac_cv_lib_dld_shl_load=no
11263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11264 conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_lib_save_LIBS
11267 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11268 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11269 if test $ac_cv_lib_dld_shl_load = yes; then
11270 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11272 { echo "$as_me:$LINENO: checking for dlopen" >&5
11273 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11274 if test "${ac_cv_func_dlopen+set}" = set; then
11275 echo $ECHO_N "(cached) $ECHO_C" >&6
11277 cat >conftest.$ac_ext <<_ACEOF
11280 cat confdefs.h >>conftest.$ac_ext
11281 cat >>conftest.$ac_ext <<_ACEOF
11282 /* end confdefs.h. */
11283 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11285 #define dlopen innocuous_dlopen
11287 /* System header to define __stub macros and hopefully few prototypes,
11288 which can conflict with char dlopen (); below.
11289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11290 <limits.h> exists even on freestanding compilers. */
11293 # include <limits.h>
11295 # include <assert.h>
11300 /* Override any GCC internal prototype to avoid an error.
11301 Use char because int might match the return type of a GCC
11302 builtin and then its argument prototype would still apply. */
11307 /* The GNU C library defines this for functions which it implements
11308 to always fail with ENOSYS. Some functions are actually named
11309 something starting with __ and the normal name is an alias. */
11310 #if defined __stub_dlopen || defined __stub___dlopen
11322 rm -f conftest.$ac_objext conftest$ac_exeext
11323 if { (ac_try="$ac_link"
11324 case "(($ac_try" in
11325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11326 *) ac_try_echo
=$ac_try;;
11328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11329 (eval "$ac_link") 2>conftest.er1
11331 grep -v '^ *+' conftest.er1
>conftest.err
11333 cat conftest.err
>&5
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); } && {
11336 test -z "$ac_c_werror_flag" ||
11337 test ! -s conftest.err
11338 } && test -s conftest
$ac_exeext &&
11339 $as_test_x conftest
$ac_exeext; then
11340 ac_cv_func_dlopen
=yes
11342 echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.
$ac_ext >&5
11345 ac_cv_func_dlopen
=no
11348 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11349 conftest
$ac_exeext conftest.
$ac_ext
11351 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11352 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11353 if test $ac_cv_func_dlopen = yes; then
11354 lt_cv_dlopen
="dlopen"
11356 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11357 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11359 echo $ECHO_N "(cached) $ECHO_C" >&6
11361 ac_check_lib_save_LIBS
=$LIBS
11363 cat >conftest.
$ac_ext <<_ACEOF
11366 cat confdefs.h
>>conftest.
$ac_ext
11367 cat >>conftest.
$ac_ext <<_ACEOF
11368 /* end confdefs.h. */
11370 /* Override any GCC internal prototype to avoid an error.
11371 Use char because int might match the return type of a GCC
11372 builtin and then its argument prototype would still apply. */
11385 rm -f conftest.
$ac_objext conftest
$ac_exeext
11386 if { (ac_try
="$ac_link"
11387 case "(($ac_try" in
11388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11389 *) ac_try_echo=$ac_try;;
11391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11392 (eval "$ac_link") 2>conftest.er1
11394 grep -v '^ *+' conftest.er1 >conftest.err
11396 cat conftest.err >&5
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); } && {
11399 test -z "$ac_c_werror_flag" ||
11400 test ! -s conftest.err
11401 } && test -s conftest$ac_exeext &&
11402 $as_test_x conftest$ac_exeext; then
11403 ac_cv_lib_dl_dlopen=yes
11405 echo "$as_me: failed program was:" >&5
11406 sed 's/^/| /' conftest.$ac_ext >&5
11408 ac_cv_lib_dl_dlopen=no
11411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_lib_save_LIBS
11415 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11416 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11417 if test $ac_cv_lib_dl_dlopen = yes; then
11418 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11420 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11421 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11422 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11423 echo $ECHO_N "(cached) $ECHO_C" >&6
11425 ac_check_lib_save_LIBS=$LIBS
11426 LIBS="-lsvld $LIBS"
11427 cat >conftest.$ac_ext <<_ACEOF
11430 cat confdefs.h >>conftest.$ac_ext
11431 cat >>conftest.$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11434 /* Override any GCC internal prototype to avoid an error.
11435 Use char because int might match the return type of a GCC
11436 builtin and then its argument prototype would still apply. */
11449 rm -f conftest.$ac_objext conftest$ac_exeext
11450 if { (ac_try="$ac_link"
11451 case "(($ac_try" in
11452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11453 *) ac_try_echo
=$ac_try;;
11455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11456 (eval "$ac_link") 2>conftest.er1
11458 grep -v '^ *+' conftest.er1
>conftest.err
11460 cat conftest.err
>&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); } && {
11463 test -z "$ac_c_werror_flag" ||
11464 test ! -s conftest.err
11465 } && test -s conftest
$ac_exeext &&
11466 $as_test_x conftest
$ac_exeext; then
11467 ac_cv_lib_svld_dlopen
=yes
11469 echo "$as_me: failed program was:" >&5
11470 sed 's/^/| /' conftest.
$ac_ext >&5
11472 ac_cv_lib_svld_dlopen
=no
11475 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11476 conftest
$ac_exeext conftest.
$ac_ext
11477 LIBS
=$ac_check_lib_save_LIBS
11479 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11480 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11481 if test $ac_cv_lib_svld_dlopen = yes; then
11482 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11484 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11485 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11486 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11487 echo $ECHO_N "(cached) $ECHO_C" >&6
11489 ac_check_lib_save_LIBS
=$LIBS
11491 cat >conftest.
$ac_ext <<_ACEOF
11494 cat confdefs.h
>>conftest.
$ac_ext
11495 cat >>conftest.
$ac_ext <<_ACEOF
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11508 return dld_link ();
11513 rm -f conftest.
$ac_objext conftest
$ac_exeext
11514 if { (ac_try
="$ac_link"
11515 case "(($ac_try" in
11516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11517 *) ac_try_echo=$ac_try;;
11519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11520 (eval "$ac_link") 2>conftest.er1
11522 grep -v '^ *+' conftest.er1 >conftest.err
11524 cat conftest.err >&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); } && {
11527 test -z "$ac_c_werror_flag" ||
11528 test ! -s conftest.err
11529 } && test -s conftest$ac_exeext &&
11530 $as_test_x conftest$ac_exeext; then
11531 ac_cv_lib_dld_dld_link=yes
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.$ac_ext >&5
11536 ac_cv_lib_dld_dld_link=no
11539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11540 conftest$ac_exeext conftest.$ac_ext
11541 LIBS=$ac_check_lib_save_LIBS
11543 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11544 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11545 if test $ac_cv_lib_dld_dld_link = yes; then
11546 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11567 if test "x$lt_cv_dlopen" != xno; then
11573 case $lt_cv_dlopen in
11575 save_CPPFLAGS="$CPPFLAGS"
11576 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11578 save_LDFLAGS="$LDFLAGS"
11579 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11582 LIBS="$lt_cv_dlopen_libs $LIBS"
11584 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11585 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11586 if test "${lt_cv_dlopen_self+set}" = set; then
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11589 if test "$cross_compiling" = yes; then :
11590 lt_cv_dlopen_self=cross
11592 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11593 lt_status=$lt_dlunknown
11594 cat > conftest.$ac_ext <<EOF
11595 #line 11595 "configure"
11596 #include "confdefs.h"
11605 # define LT_DLGLOBAL RTLD_GLOBAL
11608 # define LT_DLGLOBAL DL_GLOBAL
11610 # define LT_DLGLOBAL 0
11614 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11615 find out it does not work in some platform. */
11616 #ifndef LT_DLLAZY_OR_NOW
11618 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # define LT_DLLAZY_OR_NOW DL_NOW
11629 # define LT_DLLAZY_OR_NOW 0
11637 extern "C" void exit (int);
11640 void fnord() { int i=42;}
11643 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11644 int status = $lt_dlunknown;
11648 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11649 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11650 /* dlclose (self); */
11658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11659 (eval $ac_link) 2>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11663 (./conftest; exit; ) >&5 2>/dev/null
11665 case x$lt_status in
11666 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11667 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11668 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11671 # compilation failed
11672 lt_cv_dlopen_self=no
11679 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11680 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11682 if test "x$lt_cv_dlopen_self" = xyes; then
11683 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11684 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11685 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11686 if test "${lt_cv_dlopen_self_static+set}" = set; then
11687 echo $ECHO_N "(cached) $ECHO_C" >&6
11689 if test "$cross_compiling" = yes; then :
11690 lt_cv_dlopen_self_static=cross
11692 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11693 lt_status=$lt_dlunknown
11694 cat > conftest.$ac_ext <<EOF
11695 #line 11695 "configure"
11696 #include "confdefs.h"
11705 # define LT_DLGLOBAL RTLD_GLOBAL
11708 # define LT_DLGLOBAL DL_GLOBAL
11710 # define LT_DLGLOBAL 0
11714 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11715 find out it does not work in some platform. */
11716 #ifndef LT_DLLAZY_OR_NOW
11718 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11721 # define LT_DLLAZY_OR_NOW DL_LAZY
11724 # define LT_DLLAZY_OR_NOW RTLD_NOW
11727 # define LT_DLLAZY_OR_NOW DL_NOW
11729 # define LT_DLLAZY_OR_NOW 0
11737 extern "C" void exit (int);
11740 void fnord() { int i=42;}
11743 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11744 int status = $lt_dlunknown;
11748 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11749 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11750 /* dlclose (self); */
11758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11759 (eval $ac_link) 2>&5
11761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11762 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11763 (./conftest; exit; ) >&5 2>/dev/null
11765 case x$lt_status in
11766 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11767 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11768 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11771 # compilation failed
11772 lt_cv_dlopen_self_static=no
11779 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11780 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11783 CPPFLAGS="$save_CPPFLAGS"
11784 LDFLAGS="$save_LDFLAGS"
11789 case $lt_cv_dlopen_self in
11790 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11791 *) enable_dlopen_self=unknown ;;
11794 case $lt_cv_dlopen_self_static in
11795 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11796 *) enable_dlopen_self_static=unknown ;;
11801 # Report which library types will actually be built
11802 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11803 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11804 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11805 echo "${ECHO_T}$can_build_shared" >&6; }
11807 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11808 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11809 test "$can_build_shared" = "no" && enable_shared=no
11811 # On AIX, shared libraries and static libraries use the same namespace, and
11812 # are all built from PIC.
11815 test "$enable_shared" = yes && enable_static=no
11816 if test -n "$RANLIB"; then
11817 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11818 postinstall_cmds='$RANLIB $lib'
11823 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11824 test "$enable_shared" = yes && enable_static=no
11828 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11829 echo "${ECHO_T}$enable_shared" >&6; }
11831 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11832 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11833 # Make sure either enable_shared or enable_static is yes.
11834 test "$enable_shared" = yes || enable_static=yes
11835 { echo "$as_me:$LINENO: result: $enable_static" >&5
11836 echo "${ECHO_T}$enable_static" >&6; }
11838 # The else clause should only fire when bootstrapping the
11839 # libtool distribution, otherwise you forgot to ship ltmain.sh
11840 # with your package, and you will get complaints that there are
11841 # no rules to generate ltmain.sh.
11842 if test -f "$ltmain"; then
11843 # See if we are running on zsh, and set the options which allow our commands through
11844 # without removal of \ escapes.
11845 if test -n "${ZSH_VERSION+set}" ; then
11846 setopt NO_GLOB_SUBST
11848 # Now quote all the things that may contain metacharacters while being
11849 # careful not to overquote the AC_SUBSTed values. We take copies of the
11850 # variables and quote the copies for generation of the libtool script.
11851 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11853 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11854 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11855 deplibs_check_method reload_flag reload_cmds need_locks \
11856 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11857 lt_cv_sys_global_symbol_to_c_name_address \
11858 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11859 old_postinstall_cmds old_postuninstall_cmds \
11863 lt_prog_compiler_wl \
11864 lt_prog_compiler_pic \
11865 lt_prog_compiler_static \
11866 lt_prog_compiler_no_builtin_flag \
11867 export_dynamic_flag_spec \
11868 thread_safe_flag_spec \
11869 whole_archive_flag_spec \
11870 enable_shared_with_static_runtimes \
11872 old_archive_from_new_cmds \
11877 compiler_lib_search_path \
11879 archive_expsym_cmds \
11881 postuninstall_cmds \
11882 old_archive_from_expsyms_cmds \
11883 allow_undefined_flag \
11884 no_undefined_flag \
11885 export_symbols_cmds \
11886 hardcode_libdir_flag_spec \
11887 hardcode_libdir_flag_spec_ld \
11888 hardcode_libdir_separator \
11889 hardcode_automatic \
11891 module_expsym_cmds \
11892 lt_cv_prog_compiler_c_o \
11894 include_expsyms; do
11897 old_archive_cmds | \
11898 old_archive_from_new_cmds | \
11900 archive_expsym_cmds | \
11902 module_expsym_cmds | \
11903 old_archive_from_expsyms_cmds | \
11904 export_symbols_cmds | \
11905 extract_expsyms_cmds | reload_cmds | finish_cmds | \
11906 postinstall_cmds | postuninstall_cmds | \
11907 old_postinstall_cmds | old_postuninstall_cmds | \
11908 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11909 # Double-quote double-evaled strings.
11910 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
11913 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
11919 *'\$0 --fallback-echo"')
11920 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11924 cfgfile="${ofile}T"
11925 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11927 { echo "$as_me:$LINENO: creating $ofile" >&5
11928 echo "$as_me: creating $ofile" >&6;}
11930 cat <<__EOF__ >> "$cfgfile"
11933 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
11934 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11935 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11937 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
11938 # Free Software Foundation, Inc.
11940 # This file is part of GNU Libtool:
11941 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11943 # This program is free software; you can redistribute it and/or modify
11944 # it under the terms of the GNU General Public License as published by
11945 # the Free Software Foundation; either version 2 of the License, or
11946 # (at your option) any later version.
11948 # This program is distributed in the hope that it will be useful, but
11949 # WITHOUT ANY WARRANTY; without even the implied warranty of
11950 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11951 # General Public License for more details.
11953 # You should have received a copy of the GNU General Public License
11954 # along with this program; if not, write to the Free Software
11955 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11957 # As a special exception to the GNU General Public License, if you
11958 # distribute this file as part of a program that contains a
11959 # configuration script generated by Autoconf, you may include it under
11960 # the same distribution terms that you use for the rest of that program.
11962 # A sed program that does not truncate output.
11965 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
11966 Xsed="$SED -e 1s/^X//"
11968 # The HP-UX ksh and POSIX shell print the target directory to stdout
11969 # if CDPATH is set.
11970 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11972 # The names of the tagged configurations supported by this script.
11975 # ### BEGIN LIBTOOL CONFIG
11977 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
11979 # Shell to use when invoking shell scripts.
11982 # Whether or not to build shared libraries.
11983 build_libtool_libs=$enable_shared
11985 # Whether or not to build static libraries.
11986 build_old_libs=$enable_static
11988 # Whether or not to add -lc for building shared libraries.
11989 build_libtool_need_lc=$archive_cmds_need_lc
11991 # Whether or not to disallow shared libs when runtime libs are static
11992 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11994 # Whether or not to optimize for fast installation.
11995 fast_install=$enable_fast_install
11998 host_alias=$host_alias
12002 # The build system.
12003 build_alias=$build_alias
12007 # An echo program that does not interpret backslashes.
12012 AR_FLAGS=$lt_AR_FLAGS
12017 # LTCC compiler flags.
12018 LTCFLAGS=$lt_LTCFLAGS
12020 # A language-specific compiler.
12023 # Is the compiler the GNU C compiler?
12029 # The linker used to build libraries.
12032 # Whether we need hard or soft links.
12035 # A BSD-compatible nm program.
12038 # A symbol stripping program
12041 # Used to examine libraries when file_magic_cmd begins "file"
12042 MAGIC_CMD=$MAGIC_CMD
12044 # Used on cygwin: DLL creation program.
12047 # Used on cygwin: object dumper.
12050 # Used on cygwin: assembler.
12053 # The name of the directory that contains temporary libtool files.
12056 # How to create reloadable object files.
12057 reload_flag=$lt_reload_flag
12058 reload_cmds=$lt_reload_cmds
12060 # How to pass a linker flag through the compiler.
12061 wl=$lt_lt_prog_compiler_wl
12063 # Object file suffix (normally "o").
12064 objext="$ac_objext"
12066 # Old archive suffix (normally "a").
12069 # Shared library suffix (normally ".so").
12070 shrext_cmds='$shrext_cmds'
12072 # Executable file suffix (normally "").
12075 # Additional compiler flags for building library objects.
12076 pic_flag=$lt_lt_prog_compiler_pic
12079 # What is the maximum length of a command?
12080 max_cmd_len=$lt_cv_sys_max_cmd_len
12082 # Does compiler simultaneously support -c and -o options?
12083 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12085 # Must we lock files when doing compilation?
12086 need_locks=$lt_need_locks
12088 # Do we need the lib prefix for modules?
12089 need_lib_prefix=$need_lib_prefix
12091 # Do we need a version for libraries?
12092 need_version=$need_version
12094 # Whether dlopen is supported.
12095 dlopen_support=$enable_dlopen
12097 # Whether dlopen of programs is supported.
12098 dlopen_self=$enable_dlopen_self
12100 # Whether dlopen of statically linked programs is supported.
12101 dlopen_self_static=$enable_dlopen_self_static
12103 # Compiler flag to prevent dynamic linking.
12104 link_static_flag=$lt_lt_prog_compiler_static
12106 # Compiler flag to turn off builtin functions.
12107 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12109 # Compiler flag to allow reflexive dlopens.
12110 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12112 # Compiler flag to generate shared objects directly from archives.
12113 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12115 # Compiler flag to generate thread-safe objects.
12116 thread_safe_flag_spec=$lt_thread_safe_flag_spec
12118 # Library versioning type.
12119 version_type=$version_type
12121 # Format of library name prefix.
12122 libname_spec=$lt_libname_spec
12124 # List of archive names. First name is the real one, the rest are links.
12125 # The last name is the one that the linker finds with -lNAME.
12126 library_names_spec=$lt_library_names_spec
12128 # The coded name of the library, if different from the real name.
12129 soname_spec=$lt_soname_spec
12131 # Commands used to build and install an old-style archive.
12133 old_archive_cmds=$lt_old_archive_cmds
12134 old_postinstall_cmds=$lt_old_postinstall_cmds
12135 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12137 # Create an old-style archive from a shared archive.
12138 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12140 # Create a temporary old-style archive to link instead of a shared archive.
12141 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12143 # Commands used to build and install a shared archive.
12144 archive_cmds=$lt_archive_cmds
12145 archive_expsym_cmds=$lt_archive_expsym_cmds
12146 postinstall_cmds=$lt_postinstall_cmds
12147 postuninstall_cmds=$lt_postuninstall_cmds
12149 # Commands used to build a loadable module (assumed same as above if empty)
12150 module_cmds=$lt_module_cmds
12151 module_expsym_cmds=$lt_module_expsym_cmds
12153 # Commands to strip libraries.
12154 old_striplib=$lt_old_striplib
12155 striplib=$lt_striplib
12157 # Dependencies to place before the objects being linked to create a
12159 predep_objects=$lt_predep_objects
12161 # Dependencies to place after the objects being linked to create a
12163 postdep_objects=$lt_postdep_objects
12165 # Dependencies to place before the objects being linked to create a
12167 predeps=$lt_predeps
12169 # Dependencies to place after the objects being linked to create a
12171 postdeps=$lt_postdeps
12173 # The library search path used internally by the compiler when linking
12174 # a shared library.
12175 compiler_lib_search_path=$lt_compiler_lib_search_path
12177 # Method to check whether dependent libraries are shared objects.
12178 deplibs_check_method=$lt_deplibs_check_method
12180 # Command to use when deplibs_check_method == file_magic.
12181 file_magic_cmd=$lt_file_magic_cmd
12183 # Flag that allows shared libraries with undefined symbols to be built.
12184 allow_undefined_flag=$lt_allow_undefined_flag
12186 # Flag that forces no undefined symbols.
12187 no_undefined_flag=$lt_no_undefined_flag
12189 # Commands used to finish a libtool library installation in a directory.
12190 finish_cmds=$lt_finish_cmds
12192 # Same as above, but a single script fragment to be evaled but not shown.
12193 finish_eval=$lt_finish_eval
12195 # Take the output of nm and produce a listing of raw symbols and C names.
12196 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12198 # Transform the output of nm in a proper C declaration
12199 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12201 # Transform the output of nm in a C name address pair
12202 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12204 # This is the shared library runtime path variable.
12205 runpath_var=$runpath_var
12207 # This is the shared library path variable.
12208 shlibpath_var=$shlibpath_var
12210 # Is shlibpath searched before the hard-coded library search path?
12211 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12213 # How to hardcode a shared library path into an executable.
12214 hardcode_action=$hardcode_action
12216 # Whether we should hardcode library paths into libraries.
12217 hardcode_into_libs=$hardcode_into_libs
12219 # Flag to hardcode \$libdir into a binary during linking.
12220 # This must work even if \$libdir does not exist.
12221 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12223 # If ld is used when linking, flag to hardcode \$libdir into
12224 # a binary during linking. This must work even if \$libdir does
12226 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12228 # Whether we need a single -rpath flag with a separated argument.
12229 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12231 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12232 # resulting binary.
12233 hardcode_direct=$hardcode_direct
12235 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12236 # resulting binary.
12237 hardcode_minus_L=$hardcode_minus_L
12239 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12240 # the resulting binary.
12241 hardcode_shlibpath_var=$hardcode_shlibpath_var
12243 # Set to yes if building a shared library automatically hardcodes DIR into the library
12244 # and all subsequent libraries and executables linked against it.
12245 hardcode_automatic=$hardcode_automatic
12247 # Variables whose values should be saved in libtool wrapper scripts and
12248 # restored at relink time.
12249 variables_saved_for_relink="$variables_saved_for_relink"
12251 # Whether libtool must link a program against all its dependency libraries.
12252 link_all_deplibs=$link_all_deplibs
12254 # Compile-time system search path for libraries
12255 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12257 # Run-time system search path for libraries
12258 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12260 # Fix the shell variable \$srcfile for the compiler.
12261 fix_srcfile_path="$fix_srcfile_path"
12263 # Set to yes if exported symbols are required.
12264 always_export_symbols=$always_export_symbols
12266 # The commands to list exported symbols.
12267 export_symbols_cmds=$lt_export_symbols_cmds
12269 # The commands to extract the exported symbol list from a shared archive.
12270 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12272 # Symbols that should not be listed in the preloaded symbols.
12273 exclude_expsyms=$lt_exclude_expsyms
12275 # Symbols that must always be exported.
12276 include_expsyms=$lt_include_expsyms
12278 # ### END LIBTOOL CONFIG
12285 cat <<\EOF >> "$cfgfile"
12287 # AIX sometimes has problems with the GCC collect2 program. For some
12288 # reason, if we set the COLLECT_NAMES environment variable, the problems
12289 # vanish in a puff of smoke.
12290 if test "X${COLLECT_NAMES+set}" != Xset; then
12292 export COLLECT_NAMES
12298 # We use sed instead of cat because bash on DJGPP gets confused if
12299 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12300 # text mode, it properly converts lines to CR/LF. This bash problem
12301 # is reportedly fixed, but why not run on old versions too?
12302 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12304 mv -f "$cfgfile" "$ofile" || \
12305 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12309 # If there is no Makefile yet, we rely on a make rule to execute
12310 # `config.status
--recheck' to rerun these tests and create the
12311 # libtool script then.
12312 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
12313 if test -f "$ltmain_in"; then
12314 test -f Makefile && make "$ltmain"
12320 ac_cpp='$CPP $CPPFLAGS'
12321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12322 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12328 # Check whether --with-tags was given.
12329 if test "${with_tags+set}" = set; then
12330 withval=$with_tags; tagnames="$withval"
12334 if test -f "$ltmain" && test -n "$tagnames"; then
12335 if test ! -f "${ofile}"; then
12336 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
12337 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
12340 if test -z "$LTCC"; then
12341 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
12342 if test -z "$LTCC"; then
12343 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12344 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
12346 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
12347 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
12350 if test -z "$LTCFLAGS"; then
12351 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
12354 # Extract list of available tagged configurations in $ofile.
12355 # Note that this assumes the entire list is on one line.
12356 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12358 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12359 for tagname in $tagnames; do
12361 # Check whether tagname contains only valid characters
12362 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12364 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12365 echo "$as_me: error: invalid tag name: $tagname" >&2;}
12366 { (exit 1); exit 1; }; }
12370 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12372 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12373 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12374 { (exit 1); exit 1; }; }
12377 # Update the list of available tags.
12378 if test -n "$tagname"; then
12379 echo appending configuration tag \"$tagname\" to $ofile
12383 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12384 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
12385 (test "X$CXX" != "Xg++"))) ; then
12387 ac_cpp='$CXXCPP $CPPFLAGS'
12388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12395 archive_cmds_need_lc_CXX=no
12396 allow_undefined_flag_CXX=
12397 always_export_symbols_CXX=no
12398 archive_expsym_cmds_CXX=
12399 export_dynamic_flag_spec_CXX=
12400 hardcode_direct_CXX=no
12401 hardcode_libdir_flag_spec_CXX=
12402 hardcode_libdir_flag_spec_ld_CXX=
12403 hardcode_libdir_separator_CXX=
12404 hardcode_minus_L_CXX=no
12405 hardcode_shlibpath_var_CXX=unsupported
12406 hardcode_automatic_CXX=no
12408 module_expsym_cmds_CXX=
12409 link_all_deplibs_CXX=unknown
12410 old_archive_cmds_CXX=$old_archive_cmds
12411 no_undefined_flag_CXX=
12412 whole_archive_flag_spec_CXX=
12413 enable_shared_with_static_runtimes_CXX=no
12415 # Dependencies to place before and after the object being linked:
12416 predep_objects_CXX=
12417 postdep_objects_CXX=
12420 compiler_lib_search_path_CXX=
12422 # Source file extension for C++ test sources.
12425 # Object file extension for compiled C++ test sources.
12429 # Code to be used in simple compile tests
12430 lt_simple_compile_test_code="int some_variable = 0;\n"
12432 # Code to be used in simple link tests
12433 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
12435 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12437 # If no C compiler was specified, use CC.
12440 # If no C compiler flags were specified, use CFLAGS.
12441 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12443 # Allow CC to be a program name with arguments.
12447 # save warnings/boilerplate of simple test code
12448 ac_outfile=conftest.$ac_objext
12449 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
12450 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12451 _lt_compiler_boilerplate=`cat conftest.err
`
12454 ac_outfile=conftest.$ac_objext
12455 printf "$lt_simple_link_test_code" >conftest.$ac_ext
12456 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12457 _lt_linker_boilerplate=`cat conftest.err
`
12461 # Allow CC to be a program name with arguments.
12466 lt_save_with_gnu_ld=$with_gnu_ld
12467 lt_save_path_LD=$lt_cv_path_LD
12468 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12469 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12471 $as_unset lt_cv_prog_gnu_ld
12473 if test -n "${lt_cv_path_LDCXX+set}"; then
12474 lt_cv_path_LD=$lt_cv_path_LDCXX
12476 $as_unset lt_cv_path_LD
12478 test -z "${LDCXX+set}" || LD=$LDCXX
12482 for cc_temp in $compiler""; do
12484 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12485 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12490 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12493 # We don't want -fno-exception wen compiling C++ code, so set the
12494 # no_builtin_flag separately
12495 if test "$GXX" = yes; then
12496 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12498 lt_prog_compiler_no_builtin_flag_CXX=
12501 if test "$GXX" = yes; then
12502 # Set up default GNU C++ configuration
12505 # Check whether --with-gnu-ld was given.
12506 if test "${with_gnu_ld+set}" = set; then
12507 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12513 if test "$GCC" = yes; then
12514 # Check if gcc -print-prog-name=ld gives a path.
12515 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12516 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12519 # gcc leaves a trailing carriage return which upsets mingw
12520 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
12522 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
12525 # Accept absolute paths.
12527 re_direlt='/[^/][^/]*/\.\./'
12528 # Canonicalize the pathname of ld
12529 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
12530 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12531 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
12533 test -z "$LD" && LD="$ac_prog"
12536 # If it fails, then pretend we aren't using GCC.
12540 # If it is relative, then search for the first ld in PATH.
12541 with_gnu_ld=unknown
12544 elif test "$with_gnu_ld" = yes; then
12545 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12546 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12548 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12549 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12551 if test "${lt_cv_path_LD+set}" = set; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12554 if test -z "$LD"; then
12555 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12556 for ac_dir in $PATH; do
12558 test -z "$ac_dir" && ac_dir=.
12559 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12560 lt_cv_path_LD="$ac_dir/$ac_prog"
12561 # Check to see if the program is GNU ld. I'd rather use --version,
12562 # but apparently some variants of GNU ld only accept -v.
12563 # Break only if it was the GNU/non-GNU ld that we prefer.
12564 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
12565 *GNU* | *'with BFD'*)
12566 test "$with_gnu_ld" != no && break
12569 test "$with_gnu_ld" != yes && break
12576 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12580 LD="$lt_cv_path_LD"
12581 if test -n "$LD"; then
12582 { echo "$as_me:$LINENO: result: $LD" >&5
12583 echo "${ECHO_T}$LD" >&6; }
12585 { echo "$as_me:$LINENO: result: no" >&5
12586 echo "${ECHO_T}no" >&6; }
12588 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12589 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12590 { (exit 1); exit 1; }; }
12591 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12592 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12593 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12594 echo $ECHO_N "(cached) $ECHO_C" >&6
12596 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12597 case `$LD -v 2>&1 </dev
/null
` in
12598 *GNU* | *'with BFD'*)
12599 lt_cv_prog_gnu_ld=yes
12602 lt_cv_prog_gnu_ld=no
12606 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12607 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12608 with_gnu_ld=$lt_cv_prog_gnu_ld
12612 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12613 # archiving commands below assume that GNU ld is being used.
12614 if test "$with_gnu_ld" = yes; then
12615 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12616 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'
12618 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12619 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12621 # If archive_cmds runs LD, not CC, wlarc should be empty
12622 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12623 # investigate it a little bit more. (MM)
12626 # ancient GNU ld didn't support --whole-archive et. al.
12627 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
12628 grep 'no-whole-archive' > /dev/null; then
12629 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12631 whole_archive_flag_spec_CXX=
12637 # A generic and very simple default shared library creation
12638 # command for GNU C++ for the case where it uses the native
12639 # linker, instead of GNU ld. If possible, this setting should
12640 # overridden to take advantage of the native linker features on
12641 # the platform it is being used on.
12642 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12645 # Commands to make compiler produce verbose output that lists
12646 # what "hidden" libraries, object files and flags are used when
12647 # linking a shared library.
12648 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12656 # PORTME: fill in a description of your system's C++ link characteristics
12657 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12658 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12662 # FIXME: insert proper C++ library support
12666 if test "$host_cpu" = ia64; then
12667 # On IA64, the linker does run time linking by default, so we don't
12668 # have to do anything special.
12669 aix_use_runtimelinking=no
12670 exp_sym_flag='-Bexport'
12673 aix_use_runtimelinking=no
12675 # Test if we are trying to use run time linking or normal
12676 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12677 # need to do runtime linking.
12678 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12679 for ld_flag in $LDFLAGS; do
12682 aix_use_runtimelinking=yes
12690 exp_sym_flag='-bexport'
12691 no_entry_flag='-bnoentry'
12694 # When large executables or shared objects are built, AIX ld can
12695 # have problems creating the table of contents. If linking a library
12696 # or program results in "error TOC overflow" add -mminimal-toc to
12697 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12698 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12700 archive_cmds_CXX=''
12701 hardcode_direct_CXX=yes
12702 hardcode_libdir_separator_CXX=':'
12703 link_all_deplibs_CXX=yes
12705 if test "$GXX" = yes; then
12706 case $host_os in aix4.[012]|aix4.[012].*)
12707 # We only want to do this on AIX 4.2 and lower, the check
12708 # below for broken collect2 doesn't work under 4.3+
12709 collect2name=`${CC} -print-prog-name=collect2
`
12710 if test -f "$collect2name" && \
12711 strings "$collect2name" | grep resolve_lib_name >/dev/null
12713 # We have reworked collect2
12714 hardcode_direct_CXX=yes
12716 # We have old collect2
12717 hardcode_direct_CXX=unsupported
12718 # It fails to find uninstalled libraries when the uninstalled
12719 # path is not listed in the libpath. Setting hardcode_minus_L
12720 # to unsupported forces relinking
12721 hardcode_minus_L_CXX=yes
12722 hardcode_libdir_flag_spec_CXX='-L$libdir'
12723 hardcode_libdir_separator_CXX=
12727 shared_flag='-shared'
12728 if test "$aix_use_runtimelinking" = yes; then
12729 shared_flag="$shared_flag "'${wl}-G'
12733 if test "$host_cpu" = ia64; then
12734 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12735 # chokes on -Wl,-G. The following line is correct:
12738 if test "$aix_use_runtimelinking" = yes; then
12739 shared_flag='${wl}-G'
12741 shared_flag='${wl}-bM:SRE'
12746 # It seems that -bexpall does not export symbols beginning with
12747 # underscore (_), so it is better to generate a list of symbols to export.
12748 always_export_symbols_CXX=yes
12749 if test "$aix_use_runtimelinking" = yes; then
12750 # Warning - without using the other runtime loading flags (-brtl),
12751 # -berok will link without error, but may produce a broken library.
12752 allow_undefined_flag_CXX='-berok'
12753 # Determine the default libpath from the value encoded in an empty executable.
12754 cat >conftest.$ac_ext <<_ACEOF
12757 cat confdefs.h >>conftest.$ac_ext
12758 cat >>conftest.$ac_ext <<_ACEOF
12759 /* end confdefs.h. */
12769 rm -f conftest.$ac_objext conftest$ac_exeext
12770 if { (ac_try="$ac_link"
12771 case "(($ac_try" in
12772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12773 *) ac_try_echo
=$ac_try;;
12775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12776 (eval "$ac_link") 2>conftest.er1
12778 grep -v '^ *+' conftest.er1
>conftest.err
12780 cat conftest.err
>&5
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); } && {
12783 test -z "$ac_cxx_werror_flag" ||
12784 test ! -s conftest.err
12785 } && test -s conftest
$ac_exeext &&
12786 $as_test_x conftest
$ac_exeext; then
12788 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12790 # Check for a 64-bit object if we didn't find anything.
12791 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.
$ac_ext >&5
12800 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12801 conftest
$ac_exeext conftest.
$ac_ext
12802 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12804 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12806 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"
12808 if test "$host_cpu" = ia64
; then
12809 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12810 allow_undefined_flag_CXX
="-z nodefs"
12811 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"
12813 # Determine the default libpath from the value encoded in an empty executable.
12814 cat >conftest.
$ac_ext <<_ACEOF
12817 cat confdefs.h
>>conftest.
$ac_ext
12818 cat >>conftest.
$ac_ext <<_ACEOF
12819 /* end confdefs.h. */
12829 rm -f conftest.
$ac_objext conftest
$ac_exeext
12830 if { (ac_try
="$ac_link"
12831 case "(($ac_try" in
12832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12833 *) ac_try_echo=$ac_try;;
12835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12836 (eval "$ac_link") 2>conftest.er1
12838 grep -v '^ *+' conftest.er1 >conftest.err
12840 cat conftest.err >&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); } && {
12843 test -z "$ac_cxx_werror_flag" ||
12844 test ! -s conftest.err
12845 } && test -s conftest$ac_exeext &&
12846 $as_test_x conftest$ac_exeext; then
12848 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12850 # Check for a 64-bit object if we didn't find anything.
12851 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12854 echo "$as_me: failed program was:" >&5
12855 sed 's/^/| /' conftest.$ac_ext >&5
12860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12861 conftest$ac_exeext conftest.$ac_ext
12862 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12864 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12865 # Warning - without using the other run time loading flags,
12866 # -berok will link without error, but may produce a broken library.
12867 no_undefined_flag_CXX=' ${wl}-bernotok'
12868 allow_undefined_flag_CXX=' ${wl}-berok'
12869 # Exported symbols can be pulled into shared objects from archives
12870 whole_archive_flag_spec_CXX='$convenience'
12871 archive_cmds_need_lc_CXX=yes
12872 # This is similar to how AIX traditionally builds its shared libraries.
12873 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'
12879 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12880 allow_undefined_flag_CXX=unsupported
12881 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12882 # support --undefined. This deserves some investigation. FIXME
12883 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12890 case $cc_basename in
12892 # FIXME: insert proper C++ library support
12898 cygwin* | mingw* | pw32*)
12899 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12900 # as there is no search path for DLLs.
12901 hardcode_libdir_flag_spec_CXX='-L$libdir'
12902 allow_undefined_flag_CXX=unsupported
12903 always_export_symbols_CXX=no
12904 enable_shared_with_static_runtimes_CXX=yes
12906 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12907 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'
12908 # If the export-symbols file already is a .def file (1st line
12909 # is EXPORTS), use it as is; otherwise, prepend...
12910 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
12911 cp $export_symbols $output_objdir/$soname.def;
12913 echo EXPORTS > $output_objdir/$soname.def;
12914 cat $export_symbols >> $output_objdir/$soname.def;
12916 $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'
12921 darwin* | rhapsody*)
12923 rhapsody* | darwin1.[012])
12924 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12927 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12928 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12930 case ${MACOSX_DEPLOYMENT_TARGET} in
12932 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12935 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12941 archive_cmds_need_lc_CXX=no
12942 hardcode_direct_CXX=no
12943 hardcode_automatic_CXX=yes
12944 hardcode_shlibpath_var_CXX=unsupported
12945 whole_archive_flag_spec_CXX=''
12946 link_all_deplibs_CXX=yes
12948 if test "$GXX" = yes ; then
12949 lt_int_apple_cc_single_mod=no
12950 output_verbose_link_cmd='echo'
12951 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12952 lt_int_apple_cc_single_mod=yes
12954 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12955 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12957 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'
12959 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12960 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12961 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12962 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12964 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12966 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}'
12968 case $cc_basename in
12970 output_verbose_link_cmd='echo'
12971 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
12972 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12973 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12974 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12975 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}'
12985 case $cc_basename in
12987 # FIXME: insert proper C++ library support
12991 # Green Hills C++ Compiler
12992 # FIXME: insert proper C++ library support
12996 # FIXME: insert proper C++ library support
13002 # C++ shared libraries reported to be fairly broken before switch to ELF
13006 archive_cmds_need_lc_CXX=no
13008 freebsd* | dragonfly*)
13009 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13016 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13017 hardcode_libdir_separator_CXX=:
13018 export_dynamic_flag_spec_CXX='${wl}-E'
13019 hardcode_direct_CXX=yes
13020 hardcode_minus_L_CXX=yes # Not in the search PATH,
13021 # but as the default
13022 # location of the library.
13024 case $cc_basename in
13026 # FIXME: insert proper C++ library support
13030 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'
13031 # Commands to make compiler produce verbose output that lists
13032 # what "hidden" libraries, object files and flags are used when
13033 # linking a shared library.
13035 # There doesn't appear to be a way to prevent this compiler from
13036 # explicitly linking system object files so we need to strip them
13037 # from the output so that they don't get included in the library
13039 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'
13042 if test "$GXX" = yes; then
13043 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'
13045 # FIXME: insert proper C++ library support
13052 if test $with_gnu_ld = no; then
13053 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13054 hardcode_libdir_separator_CXX=:
13058 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
13061 export_dynamic_flag_spec_CXX='${wl}-E'
13067 hardcode_direct_CXX=no
13068 hardcode_shlibpath_var_CXX=no
13071 hardcode_direct_CXX=yes
13072 hardcode_minus_L_CXX=yes # Not in the search PATH,
13073 # but as the default
13074 # location of the library.
13078 case $cc_basename in
13080 # FIXME: insert proper C++ library support
13086 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13089 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13092 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13095 # Commands to make compiler produce verbose output that lists
13096 # what "hidden" libraries, object files and flags are used when
13097 # linking a shared library.
13099 # There doesn't appear to be a way to prevent this compiler from
13100 # explicitly linking system object files so we need to strip them
13101 # from the output so that they don't get included in the library
13103 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'
13106 if test "$GXX" = yes; then
13107 if test $with_gnu_ld = no; then
13110 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13113 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13116 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'
13121 # FIXME: insert proper C++ library support
13128 hardcode_direct_CXX=no
13129 hardcode_shlibpath_var_CXX=no
13130 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13131 export_dynamic_flag_spec_CXX='${wl}-E'
13132 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13133 # Instead, shared libraries are loaded at an image base (0x10000000 by
13134 # default) and relocated if they conflict, which is a slow very memory
13135 # consuming and fragmenting process. To avoid this, we pick a random,
13136 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13137 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13138 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'
13139 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'
13142 case $cc_basename in
13145 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'
13147 # Archives containing C++ object files must be created using
13148 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13149 # necessary to make sure instantiated templates are included
13151 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13154 if test "$GXX" = yes; then
13155 if test "$with_gnu_ld" = no; then
13156 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'
13158 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'
13161 link_all_deplibs_CXX=yes
13164 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13165 hardcode_libdir_separator_CXX=:
13167 linux* | k*bsd*-gnu)
13168 case $cc_basename in
13170 # Kuck and Associates, Inc. (KAI) C++ Compiler
13172 # KCC will only create a shared library if the output file
13173 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13174 # to its proper name (with version) after linking.
13175 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'
13176 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'
13177 # Commands to make compiler produce verbose output that lists
13178 # what "hidden" libraries, object files and flags are used when
13179 # linking a shared library.
13181 # There doesn't appear to be a way to prevent this compiler from
13182 # explicitly linking system object files so we need to strip them
13183 # from the output so that they don't get included in the library
13185 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'
13187 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
13188 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13190 # Archives containing C++ object files must be created using
13191 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13192 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13197 # version 8.0 and above of icpc choke on multiply defined symbols
13198 # if we add $predep_objects and $postdep_objects, however 7.1 and
13199 # earlier do not add the objects themselves.
13200 case `$CC -V 2>&1` in
13202 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13203 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'
13205 *) # Version 8.0 or newer
13208 ia64
*) tmp_idyn
=' -i_dynamic';;
13210 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13211 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'
13214 archive_cmds_need_lc_CXX
=no
13215 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13216 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13217 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13220 # Portland Group C++ compiler
13221 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13222 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'
13224 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13225 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13226 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'
13230 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13231 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'
13233 runpath_var
=LD_RUN_PATH
13234 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13235 hardcode_libdir_separator_CXX
=:
13237 # Commands to make compiler produce verbose output that lists
13238 # what "hidden" libraries, object files and flags are used when
13239 # linking a shared library.
13241 # There doesn't appear to be a way to prevent this compiler from
13242 # explicitly linking system object files so we need to strip them
13243 # from the output so that they don't get included in the library
13245 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'
13250 # FIXME: insert proper C++ library support
13254 # FIXME: insert proper C++ library support
13258 case $cc_basename in
13260 # FIXME: insert proper C++ library support
13264 # FIXME: insert proper C++ library support
13269 netbsd
* | netbsdelf
*-gnu)
13270 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13271 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13273 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13274 hardcode_direct_CXX
=yes
13275 hardcode_shlibpath_var_CXX
=no
13277 # Workaround some broken pre-1.5 toolchains
13278 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13281 # C++ shared libraries are fairly broken
13285 hardcode_direct_CXX
=yes
13286 hardcode_shlibpath_var_CXX
=no
13287 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13288 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13289 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13290 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13291 export_dynamic_flag_spec_CXX
='${wl}-E'
13292 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13294 output_verbose_link_cmd
='echo'
13297 case $cc_basename in
13299 # Kuck and Associates, Inc. (KAI) C++ Compiler
13301 # KCC will only create a shared library if the output file
13302 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13303 # to its proper name (with version) after linking.
13304 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'
13306 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13307 hardcode_libdir_separator_CXX
=:
13309 # Archives containing C++ object files must be created using
13310 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13311 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13315 # Rational C++ 2.4.1
13316 # FIXME: insert proper C++ library support
13320 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13321 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'
13323 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13324 hardcode_libdir_separator_CXX
=:
13326 # Commands to make compiler produce verbose output that lists
13327 # what "hidden" libraries, object files and flags are used when
13328 # linking a shared library.
13330 # There doesn't appear to be a way to prevent this compiler from
13331 # explicitly linking system object files so we need to strip them
13332 # from the output so that they don't get included in the library
13334 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'
13337 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13338 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13339 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'
13341 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13342 hardcode_libdir_separator_CXX
=:
13344 # Commands to make compiler produce verbose output that lists
13345 # what "hidden" libraries, object files and flags are used when
13346 # linking a shared library.
13347 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13350 # FIXME: insert proper C++ library support
13357 case $cc_basename in
13359 # Kuck and Associates, Inc. (KAI) C++ Compiler
13361 # KCC will only create a shared library if the output file
13362 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13363 # to its proper name (with version) after linking.
13364 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'
13366 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13367 hardcode_libdir_separator_CXX
=:
13369 # Archives containing C++ object files must be created using
13370 # the KAI C++ compiler.
13371 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
13374 # Rational C++ 2.4.1
13375 # FIXME: insert proper C++ library support
13379 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13380 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'
13381 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13382 echo "-hidden">> $lib.exp~
13383 $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~
13386 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13387 hardcode_libdir_separator_CXX
=:
13389 # Commands to make compiler produce verbose output that lists
13390 # what "hidden" libraries, object files and flags are used when
13391 # linking a shared library.
13393 # There doesn't appear to be a way to prevent this compiler from
13394 # explicitly linking system object files so we need to strip them
13395 # from the output so that they don't get included in the library
13397 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'
13400 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13401 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13402 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'
13404 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13405 hardcode_libdir_separator_CXX
=:
13407 # Commands to make compiler produce verbose output that lists
13408 # what "hidden" libraries, object files and flags are used when
13409 # linking a shared library.
13410 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13413 # FIXME: insert proper C++ library support
13420 # FIXME: insert proper C++ library support
13424 case $cc_basename in
13427 # FIXME: insert proper C++ library support
13432 # FIXME: insert proper C++ library support
13436 # FIXME: insert proper C++ library support
13442 case $cc_basename in
13444 # Sun C++ 4.2, 5.x and Centerline C++
13445 archive_cmds_need_lc_CXX
=yes
13446 no_undefined_flag_CXX
=' -zdefs'
13447 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13448 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13449 $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'
13451 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13452 hardcode_shlibpath_var_CXX
=no
13454 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13456 # The C++ compiler is used as linker so we must use $wl
13457 # flag to pass the commands to the underlying system
13458 # linker. We must also pass each convience library through
13459 # to the system linker between allextract/defaultextract.
13460 # The C++ compiler will combine linker options so we
13461 # cannot just pass the convience library names through
13463 # Supported since Solaris 2.6 (maybe 2.5.1?)
13464 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
13467 link_all_deplibs_CXX
=yes
13469 output_verbose_link_cmd
='echo'
13471 # Archives containing C++ object files must be created using
13472 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13473 # necessary to make sure instantiated templates are included
13475 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13478 # Green Hills C++ Compiler
13479 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13481 # The C++ compiler must be used to create the archive.
13482 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13485 # GNU C++ compiler with Solaris linker
13486 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13487 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13488 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
13489 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13490 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13491 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13493 # Commands to make compiler produce verbose output that lists
13494 # what "hidden" libraries, object files and flags are used when
13495 # linking a shared library.
13496 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13498 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13500 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13501 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13502 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13504 # Commands to make compiler produce verbose output that lists
13505 # what "hidden" libraries, object files and flags are used when
13506 # linking a shared library.
13507 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13510 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13515 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13516 no_undefined_flag_CXX
='${wl}-z,text'
13517 archive_cmds_need_lc_CXX
=no
13518 hardcode_shlibpath_var_CXX
=no
13519 runpath_var
='LD_RUN_PATH'
13521 case $cc_basename in
13523 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13524 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13527 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13528 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13532 sysv5
* | sco3.2v5
* | sco5v6
*)
13533 # Note: We can NOT use -z defs as we might desire, because we do not
13534 # link with -lc, and that would cause any symbols used from libc to
13535 # always be unresolved, which means just about no library would
13536 # ever link correctly. If we're not using GNU ld we use -z text
13537 # though, which does catch some bad symbols but isn't as heavy-handed
13539 # For security reasons, it is highly recommended that you always
13540 # use absolute paths for naming shared libraries, and exclude the
13541 # DT_RUNPATH tag from executables and libraries. But doing so
13542 # requires that you compile everything twice, which is a pain.
13543 # So that behaviour is only enabled if SCOABSPATH is set to a
13544 # non-empty value in the environment. Most likely only useful for
13545 # creating official distributions of packages.
13546 # This is a hack until libtool officially supports absolute path
13547 # names for shared libraries.
13548 no_undefined_flag_CXX
='${wl}-z,text'
13549 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13550 archive_cmds_need_lc_CXX
=no
13551 hardcode_shlibpath_var_CXX
=no
13552 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13553 hardcode_libdir_separator_CXX
=':'
13554 link_all_deplibs_CXX
=yes
13555 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13556 runpath_var
='LD_RUN_PATH'
13558 case $cc_basename in
13560 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13561 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13564 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13565 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13570 case $cc_basename in
13572 # NonStop-UX NCC 3.20
13573 # FIXME: insert proper C++ library support
13577 # FIXME: insert proper C++ library support
13583 # FIXME: insert proper C++ library support
13587 # FIXME: insert proper C++ library support
13591 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13592 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13593 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13599 cat > conftest.
$ac_ext <<EOF
13603 Foo (void) { a = 0; }
13609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13610 (eval $ac_compile) 2>&5
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); }; then
13614 # Parse the compiler output and extract the necessary
13615 # objects, libraries and library flags.
13617 # Sentinel used to keep track of whether or not we are before
13618 # the conftest object file.
13619 pre_test_object_deps_done
=no
13621 # The `*' in the case matches for architectures that use `case' in
13622 # $output_verbose_cmd can trigger glob expansion during the loop
13623 # eval without this substitution.
13624 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13626 for p
in `eval $output_verbose_link_cmd`; do
13630 # Some compilers place space between "-{L,R}" and the path.
13631 # Remove the space.
13632 if test $p = "-L" \
13633 ||
test $p = "-R"; then
13640 if test "$pre_test_object_deps_done" = no
; then
13643 # Internal compiler library paths should come after those
13644 # provided the user. The postdeps already come after the
13645 # user supplied libs so there is no need to process them.
13646 if test -z "$compiler_lib_search_path_CXX"; then
13647 compiler_lib_search_path_CXX
="${prev}${p}"
13649 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13652 # The "-l" case would never come before the object being
13653 # linked, so don't bother handling this case.
13656 if test -z "$postdeps_CXX"; then
13657 postdeps_CXX
="${prev}${p}"
13659 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13665 # This assumes that the test object file only shows up
13666 # once in the compiler output.
13667 if test "$p" = "conftest.$objext"; then
13668 pre_test_object_deps_done
=yes
13672 if test "$pre_test_object_deps_done" = no
; then
13673 if test -z "$predep_objects_CXX"; then
13674 predep_objects_CXX
="$p"
13676 predep_objects_CXX
="$predep_objects_CXX $p"
13679 if test -z "$postdep_objects_CXX"; then
13680 postdep_objects_CXX
="$p"
13682 postdep_objects_CXX
="$postdep_objects_CXX $p"
13687 *) ;; # Ignore the rest.
13695 echo "libtool.m4: error: problem compiling CXX test program"
13698 $rm -f confest.
$objext
13700 # PORTME: override above test on systems where it is broken
13703 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13704 # hack all around it, let's just trust "g++" to DTRT.
13705 predep_objects_CXX
=
13706 postdep_objects_CXX
=
13711 case $cc_basename in
13713 # Adding this requires a known-good setup of shared libraries for
13714 # Sun compiler versions before 5.6, else PIC objects from an old
13715 # archive will be linked into the output, leading to subtle bugs.
13716 postdeps_CXX
='-lCstd -lCrun'
13723 case " $postdeps_CXX " in
13724 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13727 lt_prog_compiler_wl_CXX
=
13728 lt_prog_compiler_pic_CXX
=
13729 lt_prog_compiler_static_CXX
=
13731 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13732 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13734 # C++ specific cases for pic, static, wl, etc.
13735 if test "$GXX" = yes; then
13736 lt_prog_compiler_wl_CXX
='-Wl,'
13737 lt_prog_compiler_static_CXX
='-static'
13741 # All AIX code is PIC.
13742 if test "$host_cpu" = ia64
; then
13743 # AIX 5 now supports IA64 processor
13744 lt_prog_compiler_static_CXX
='-Bstatic'
13748 # FIXME: we need at least 68020 code to build shared libraries, but
13749 # adding the `-m68020' flag to GCC prevents building anything better,
13751 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13753 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13754 # PIC is the default for these OSes.
13756 mingw
* | os2
* | pw32
*)
13757 # This hack is so that the source file can tell whether it is being
13758 # built for inclusion in a dll (and should export symbols for example).
13759 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13761 darwin
* | rhapsody
*)
13762 # PIC is the default on this platform
13763 # Common symbols not allowed in MH_DYLIB files
13764 lt_prog_compiler_pic_CXX
='-fno-common'
13767 # DJGPP does not support shared libraries at all
13768 lt_prog_compiler_pic_CXX
=
13771 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13772 # Instead, we relocate shared libraries at runtime.
13775 if test -d /usr
/nec
; then
13776 lt_prog_compiler_pic_CXX
=-Kconform_pic
13780 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13781 # not for PA HP-UX.
13786 lt_prog_compiler_pic_CXX
='-fPIC'
13791 lt_prog_compiler_pic_CXX
='-fPIC'
13797 # All AIX code is PIC.
13798 if test "$host_cpu" = ia64
; then
13799 # AIX 5 now supports IA64 processor
13800 lt_prog_compiler_static_CXX
='-Bstatic'
13802 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13806 case $cc_basename in
13808 # Green Hills C++ Compiler
13809 # _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"
13814 # PIC is the default on this platform
13815 # Common symbols not allowed in MH_DYLIB files
13816 case $cc_basename in
13818 lt_prog_compiler_pic_CXX
='-qnocommon'
13819 lt_prog_compiler_wl_CXX
='-Wl,'
13824 case $cc_basename in
13826 lt_prog_compiler_pic_CXX
='-KPIC'
13829 # Green Hills C++ Compiler
13830 lt_prog_compiler_pic_CXX
='-pic'
13836 freebsd
* | dragonfly
*)
13837 # FreeBSD uses GNU C++
13839 hpux9
* | hpux10
* | hpux11
*)
13840 case $cc_basename in
13842 lt_prog_compiler_wl_CXX
='-Wl,'
13843 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13844 if test "$host_cpu" != ia64
; then
13845 lt_prog_compiler_pic_CXX
='+Z'
13849 lt_prog_compiler_wl_CXX
='-Wl,'
13850 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13856 lt_prog_compiler_pic_CXX
='+Z'
13865 # This is c89, which is MS Visual C++ (no shared libs)
13866 # Anyone wants to do a port?
13868 irix5
* | irix6
* | nonstopux
*)
13869 case $cc_basename in
13871 lt_prog_compiler_wl_CXX
='-Wl,'
13872 lt_prog_compiler_static_CXX
='-non_shared'
13873 # CC pic flag -KPIC is the default.
13879 linux
* | k
*bsd
*-gnu)
13880 case $cc_basename in
13883 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13884 lt_prog_compiler_pic_CXX
='-fPIC'
13888 lt_prog_compiler_wl_CXX
='-Wl,'
13889 lt_prog_compiler_pic_CXX
='-KPIC'
13890 lt_prog_compiler_static_CXX
='-static'
13893 # Portland Group C++ compiler.
13894 lt_prog_compiler_wl_CXX
='-Wl,'
13895 lt_prog_compiler_pic_CXX
='-fpic'
13896 lt_prog_compiler_static_CXX
='-Bstatic'
13900 # Make sure the PIC flag is empty. It appears that all Alpha
13901 # Linux and Compaq Tru64 Unix objects are PIC.
13902 lt_prog_compiler_pic_CXX
=
13903 lt_prog_compiler_static_CXX
='-non_shared'
13914 case $cc_basename in
13916 lt_prog_compiler_pic_CXX
='-W c,exportall'
13922 netbsd
* | netbsdelf
*-gnu)
13924 osf3
* | osf4
* | osf5
*)
13925 case $cc_basename in
13927 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13930 # Rational C++ 2.4.1
13931 lt_prog_compiler_pic_CXX
='-pic'
13934 # Digital/Compaq C++
13935 lt_prog_compiler_wl_CXX
='-Wl,'
13936 # Make sure the PIC flag is empty. It appears that all Alpha
13937 # Linux and Compaq Tru64 Unix objects are PIC.
13938 lt_prog_compiler_pic_CXX
=
13939 lt_prog_compiler_static_CXX
='-non_shared'
13948 case $cc_basename in
13950 # Sun C++ 4.2, 5.x and Centerline C++
13951 lt_prog_compiler_pic_CXX
='-KPIC'
13952 lt_prog_compiler_static_CXX
='-Bstatic'
13953 lt_prog_compiler_wl_CXX
='-Qoption ld '
13956 # Green Hills C++ Compiler
13957 lt_prog_compiler_pic_CXX
='-PIC'
13964 case $cc_basename in
13967 lt_prog_compiler_pic_CXX
='-pic'
13968 lt_prog_compiler_static_CXX
='-Bstatic'
13972 lt_prog_compiler_pic_CXX
='-pic'
13979 case $cc_basename in
13981 # NonStop-UX NCC 3.20
13982 lt_prog_compiler_pic_CXX
='-KPIC'
13988 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13989 case $cc_basename in
13991 lt_prog_compiler_wl_CXX
='-Wl,'
13992 lt_prog_compiler_pic_CXX
='-KPIC'
13993 lt_prog_compiler_static_CXX
='-Bstatic'
14000 lt_prog_compiler_can_build_shared_CXX
=no
14005 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14006 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14009 # Check to make sure the PIC flag actually works.
14011 if test -n "$lt_prog_compiler_pic_CXX"; then
14013 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14014 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14015 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 lt_prog_compiler_pic_works_CXX
=no
14019 ac_outfile
=conftest.
$ac_objext
14020 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14021 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14022 # Insert the option either (1) after the last *FLAGS variable, or
14023 # (2) before a word containing "conftest.", or (3) at the end.
14024 # Note that $ac_compile itself does not contain backslashes and begins
14025 # with a dollar sign (not a hyphen), so the echo should work correctly.
14026 # The option is referenced via a variable to avoid confusing sed.
14027 lt_compile
=`echo "$ac_compile" | $SED \
14028 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14029 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14030 -e 's:$: $lt_compiler_flag:'`
14031 (eval echo "\"\$as_me:14031: $lt_compile\"" >&5)
14032 (eval "$lt_compile" 2>conftest.err
)
14034 cat conftest.err
>&5
14035 echo "$as_me:14035: \$? = $ac_status" >&5
14036 if (exit $ac_status) && test -s "$ac_outfile"; then
14037 # The compiler can only warn and ignore the option if not recognized
14038 # So say no if there are warnings other than the usual output.
14039 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14040 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14041 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14042 lt_prog_compiler_pic_works_CXX
=yes
14048 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14049 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
14051 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
14052 case $lt_prog_compiler_pic_CXX in
14054 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14057 lt_prog_compiler_pic_CXX
=
14058 lt_prog_compiler_can_build_shared_CXX
=no
14063 # For platforms which do not support PIC, -DPIC is meaningless:
14065 lt_prog_compiler_pic_CXX
=
14068 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14073 # Check to make sure the static flag actually works.
14075 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14076 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14077 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14078 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
14079 echo $ECHO_N "(cached) $ECHO_C" >&6
14081 lt_prog_compiler_static_works_CXX
=no
14082 save_LDFLAGS
="$LDFLAGS"
14083 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14084 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14085 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14086 # The linker can only warn and ignore the option if not recognized
14087 # So say no if there are warnings
14088 if test -s conftest.err
; then
14089 # Append any errors to the config.log.
14090 cat conftest.err
1>&5
14091 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14092 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14093 if diff conftest.exp conftest.er2
>/dev
/null
; then
14094 lt_prog_compiler_static_works_CXX
=yes
14097 lt_prog_compiler_static_works_CXX
=yes
14101 LDFLAGS
="$save_LDFLAGS"
14104 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14105 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
14107 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
14110 lt_prog_compiler_static_CXX
=
14114 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14115 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14116 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14117 echo $ECHO_N "(cached) $ECHO_C" >&6
14119 lt_cv_prog_compiler_c_o_CXX
=no
14120 $rm -r conftest
2>/dev
/null
14124 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14126 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14127 # Insert the option either (1) after the last *FLAGS variable, or
14128 # (2) before a word containing "conftest.", or (3) at the end.
14129 # Note that $ac_compile itself does not contain backslashes and begins
14130 # with a dollar sign (not a hyphen), so the echo should work correctly.
14131 lt_compile
=`echo "$ac_compile" | $SED \
14132 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14133 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14134 -e 's:$: $lt_compiler_flag:'`
14135 (eval echo "\"\$as_me:14135: $lt_compile\"" >&5)
14136 (eval "$lt_compile" 2>out
/conftest.err
)
14138 cat out
/conftest.err
>&5
14139 echo "$as_me:14139: \$? = $ac_status" >&5
14140 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14142 # The compiler can only warn and ignore the option if not recognized
14143 # So say no if there are warnings
14144 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14145 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14146 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14147 lt_cv_prog_compiler_c_o_CXX
=yes
14152 # SGI C++ compiler will create directory out/ii_files/ for
14153 # template instantiation
14154 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14155 $rm out
/* && rmdir out
14161 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14162 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14165 hard_links
="nottested"
14166 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14167 # do not overwrite the value of need_locks provided by the user
14168 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14169 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14172 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14174 ln conftest.a conftest.b
2>&5 || hard_links
=no
14175 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14176 { echo "$as_me:$LINENO: result: $hard_links" >&5
14177 echo "${ECHO_T}$hard_links" >&6; }
14178 if test "$hard_links" = no
; then
14179 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14180 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14187 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14188 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14190 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14193 # If we're using GNU nm, then we don't want the "-C" option.
14194 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14195 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14196 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'
14198 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'
14202 export_symbols_cmds_CXX
="$ltdll_cmds"
14205 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'
14207 linux
* | k
*bsd
*-gnu)
14208 link_all_deplibs_CXX
=no
14211 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14215 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14216 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14217 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14220 # Do we need to explicitly link libc?
14222 case "x$archive_cmds_need_lc_CXX" in
14224 # Assume -lc should be added
14225 archive_cmds_need_lc_CXX
=yes
14227 if test "$enable_shared" = yes && test "$GCC" = yes; then
14228 case $archive_cmds_CXX in
14230 # FIXME: we may have to deal with multi-command sequences.
14233 # Test whether the compiler implicitly links with -lc since on some
14234 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14235 # to ld, don't add -lc before -lgcc.
14236 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14237 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14239 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14242 (eval $ac_compile) 2>&5
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); } 2>conftest.err
; then
14248 libobjs
=conftest.
$ac_objext
14250 wl
=$lt_prog_compiler_wl_CXX
14251 pic_flag
=$lt_prog_compiler_pic_CXX
14257 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14258 allow_undefined_flag_CXX
=
14259 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14260 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); }
14265 archive_cmds_need_lc_CXX
=no
14267 archive_cmds_need_lc_CXX
=yes
14269 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14271 cat conftest.err
1>&5
14274 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14275 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14282 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14283 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14284 library_names_spec
=
14285 libname_spec
='lib$name'
14289 postuninstall_cmds
=
14293 shlibpath_overrides_runpath
=unknown
14295 dynamic_linker
="$host_os ld.so"
14296 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14297 if test "$GCC" = yes; then
14298 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14299 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14300 # if the path contains ";" then we assume it to be the separator
14301 # otherwise default to the standard path separator (i.e. ":") - it is
14302 # assumed that no part of a normal pathname contains ";" but that should
14303 # okay in the real world where ";" in dirpaths is itself problematic.
14304 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14306 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14309 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14311 need_lib_prefix
=unknown
14312 hardcode_into_libs
=no
14314 # when you set need_version to no, make sure it does not cause -set_version
14315 # flags to be left without arguments
14316 need_version
=unknown
14321 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14322 shlibpath_var
=LIBPATH
14324 # AIX 3 has no versioning support, so we append a major version to the name.
14325 soname_spec
='${libname}${release}${shared_ext}$major'
14332 hardcode_into_libs
=yes
14333 if test "$host_cpu" = ia64
; then
14334 # AIX 5 supports IA64
14335 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14336 shlibpath_var
=LD_LIBRARY_PATH
14338 # With GCC up to 2.95.x, collect2 would create an import file
14339 # for dependence libraries. The import file would start with
14340 # the line `#! .'. This would cause the generated library to
14341 # depend on `.', always an invalid library. This was fixed in
14342 # development snapshots of GCC prior to 3.0.
14344 aix4 | aix4.
[01] | aix4.
[01].
*)
14345 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14347 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14350 can_build_shared
=no
14354 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14355 # soname into executable. Probably we can add versioning support to
14356 # collect2, so additional links can be useful in future.
14357 if test "$aix_use_runtimelinking" = yes; then
14358 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14359 # instead of lib<name>.a to let people know that these are not
14360 # typical AIX shared libraries.
14361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14363 # We preserve .a as extension for shared libraries through AIX4.2
14364 # and later when we are not doing run time linking.
14365 library_names_spec
='${libname}${release}.a $libname.a'
14366 soname_spec
='${libname}${release}${shared_ext}$major'
14368 shlibpath_var
=LIBPATH
14373 library_names_spec
='$libname.ixlibrary $libname.a'
14374 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14375 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'
14379 library_names_spec
='${libname}${shared_ext}'
14380 dynamic_linker
="$host_os ld.so"
14381 shlibpath_var
=LIBRARY_PATH
14387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14388 soname_spec
='${libname}${release}${shared_ext}$major'
14389 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14390 shlibpath_var
=LD_LIBRARY_PATH
14391 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14392 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14393 # the default ld.so.conf also contains /usr/contrib/lib and
14394 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14395 # libtool to hard-code these into programs
14398 cygwin
* | mingw
* | pw32
*)
14399 version_type
=windows
14404 case $GCC,$host_os in
14405 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14406 library_names_spec
='$libname.dll.a'
14407 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14408 postinstall_cmds
='base_file=`basename \${file}`~
14409 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14410 dldir=$destdir/`dirname \$dlpath`~
14411 test -d \$dldir || mkdir -p \$dldir~
14412 $install_prog $dir/$dlname \$dldir/$dlname~
14413 chmod a+x \$dldir/$dlname'
14414 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14415 dlpath=$dir/\$dldll~
14417 shlibpath_overrides_runpath
=yes
14421 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14422 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14423 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14426 # MinGW DLLs use traditional 'lib' prefix
14427 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14428 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14429 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14430 # It is most probably a Windows format PATH printed by
14431 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14432 # path with ; separators, and with drive letters. We can handle the
14433 # drive letters (cygwin fileutils understands them), so leave them,
14434 # especially as we might pass files found there to a mingw objdump,
14435 # which wouldn't understand a cygwinified path. Ahh.
14436 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14438 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14442 # pw32 DLLs use 'pw' prefix rather than 'lib'
14443 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14449 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14452 dynamic_linker
='Win32 ld.exe'
14453 # FIXME: first we should search . and the directory the executable is in
14457 darwin
* | rhapsody
*)
14458 dynamic_linker
="$host_os dyld"
14459 version_type
=darwin
14462 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14463 soname_spec
='${libname}${release}${major}$shared_ext'
14464 shlibpath_overrides_runpath
=yes
14465 shlibpath_var
=DYLD_LIBRARY_PATH
14466 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14467 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14468 if test "$GCC" = yes; then
14469 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14471 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14473 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14481 soname_spec
='${libname}${release}${shared_ext}$major'
14482 shlibpath_var
=LD_LIBRARY_PATH
14489 freebsd
* | dragonfly
*)
14490 # DragonFly does not have aout. When/if they implement a new
14491 # versioning mechanism, adjust this.
14492 if test -x /usr
/bin
/objformat
; then
14493 objformat
=`/usr/bin/objformat`
14496 freebsd
[123]*) objformat
=aout
;;
14497 *) objformat
=elf
;;
14500 version_type
=freebsd-
$objformat
14501 case $version_type in
14503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14508 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14512 shlibpath_var
=LD_LIBRARY_PATH
14515 shlibpath_overrides_runpath
=yes
14517 freebsd3.
[01]* | freebsdelf3.
[01]*)
14518 shlibpath_overrides_runpath
=yes
14519 hardcode_into_libs
=yes
14521 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14522 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14523 shlibpath_overrides_runpath
=no
14524 hardcode_into_libs
=yes
14526 freebsd
*) # from 4.6 on
14527 shlibpath_overrides_runpath
=yes
14528 hardcode_into_libs
=yes
14537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14538 soname_spec
='${libname}${release}${shared_ext}$major'
14539 shlibpath_var
=LD_LIBRARY_PATH
14540 hardcode_into_libs
=yes
14543 hpux9
* | hpux10
* | hpux11
*)
14544 # Give a soname corresponding to the major version so that dld.sl refuses to
14545 # link against other versions.
14552 hardcode_into_libs
=yes
14553 dynamic_linker
="$host_os dld.so"
14554 shlibpath_var
=LD_LIBRARY_PATH
14555 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14557 soname_spec
='${libname}${release}${shared_ext}$major'
14558 if test "X$HPUX_IA64_MODE" = X32
; then
14559 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14561 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14563 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14567 hardcode_into_libs
=yes
14568 dynamic_linker
="$host_os dld.sl"
14569 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14570 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14572 soname_spec
='${libname}${release}${shared_ext}$major'
14573 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14574 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14578 dynamic_linker
="$host_os dld.sl"
14579 shlibpath_var
=SHLIB_PATH
14580 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14582 soname_spec
='${libname}${release}${shared_ext}$major'
14585 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14586 postinstall_cmds
='chmod 555 $lib'
14593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14594 soname_spec
='${libname}${release}${shared_ext}$major'
14595 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14596 shlibpath_var
=LD_LIBRARY_PATH
14597 shlibpath_overrides_runpath
=no
14598 hardcode_into_libs
=yes
14601 irix5
* | irix6
* | nonstopux
*)
14603 nonstopux
*) version_type
=nonstopux
;;
14605 if test "$lt_cv_prog_gnu_ld" = yes; then
14613 soname_spec
='${libname}${release}${shared_ext}$major'
14614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14616 irix5
* | nonstopux
*)
14617 libsuff
= shlibsuff
=
14620 case $LD in # libtool.m4 will add one of these switches to LD
14621 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14622 libsuff
= shlibsuff
= libmagic
=32-bit;;
14623 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14624 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14625 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14626 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14627 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14631 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14632 shlibpath_overrides_runpath
=no
14633 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14634 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14635 hardcode_into_libs
=yes
14638 # No shared lib support for Linux oldld, aout, or coff.
14639 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14643 # This must be Linux ELF.
14644 linux
* | k
*bsd
*-gnu)
14648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14649 soname_spec
='${libname}${release}${shared_ext}$major'
14650 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14651 shlibpath_var
=LD_LIBRARY_PATH
14652 shlibpath_overrides_runpath
=no
14653 # This implies no fast_install, which is unacceptable.
14654 # Some rework will be needed to allow for fast_install
14655 # before this can be enabled.
14656 hardcode_into_libs
=yes
14658 # Append ld.so.conf contents to the search path
14659 if test -f /etc
/ld.so.conf
; then
14660 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14661 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14664 # We used to test for /lib/ld.so.1 and disable shared libraries on
14665 # powerpc, because MkLinux only supported shared libraries with the
14666 # GNU dynamic linker. Since this was broken with cross compilers,
14667 # most powerpc-linux boxes support dynamic linking these days and
14668 # people can always --disable-shared, the test was removed, and we
14669 # assume the GNU/Linux dynamic linker is in use.
14670 dynamic_linker
='GNU/Linux ld.so'
14677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14678 soname_spec
='${libname}${release}${shared_ext}$major'
14679 shlibpath_var
=LD_LIBRARY_PATH
14680 shlibpath_overrides_runpath
=no
14681 hardcode_into_libs
=yes
14682 dynamic_linker
='NetBSD ld.elf_so'
14689 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14691 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14692 dynamic_linker
='NetBSD (a.out) ld.so'
14694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14695 soname_spec
='${libname}${release}${shared_ext}$major'
14696 dynamic_linker
='NetBSD ld.elf_so'
14698 shlibpath_var
=LD_LIBRARY_PATH
14699 shlibpath_overrides_runpath
=yes
14700 hardcode_into_libs
=yes
14705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14706 shlibpath_var
=LD_LIBRARY_PATH
14707 shlibpath_overrides_runpath
=yes
14714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14715 soname_spec
='${libname}${release}${shared_ext}$major'
14716 shlibpath_var
=LD_LIBRARY_PATH
14717 shlibpath_overrides_runpath
=yes
14722 sys_lib_dlsearch_path_spec
="/usr/lib"
14724 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14726 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14727 *) need_version
=no
;;
14729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14730 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14731 shlibpath_var
=LD_LIBRARY_PATH
14732 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14734 openbsd2.
[89] | openbsd2.
[89].
*)
14735 shlibpath_overrides_runpath
=no
14738 shlibpath_overrides_runpath
=yes
14742 shlibpath_overrides_runpath
=yes
14747 libname_spec
='$name'
14750 library_names_spec
='$libname${shared_ext} $libname.a'
14751 dynamic_linker
='OS/2 ld.exe'
14752 shlibpath_var
=LIBPATH
14755 osf3
* | osf4
* | osf5
*)
14759 soname_spec
='${libname}${release}${shared_ext}$major'
14760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14761 shlibpath_var
=LD_LIBRARY_PATH
14762 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14763 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14771 soname_spec
='${libname}${release}${shared_ext}$major'
14772 shlibpath_var
=LD_LIBRARY_PATH
14773 shlibpath_overrides_runpath
=yes
14774 hardcode_into_libs
=yes
14775 # ldd complains unless libraries are executable
14776 postinstall_cmds
='chmod +x $lib'
14781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14782 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14783 shlibpath_var
=LD_LIBRARY_PATH
14784 shlibpath_overrides_runpath
=yes
14785 if test "$with_gnu_ld" = yes; then
14793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14794 soname_spec
='${libname}${release}${shared_ext}$major'
14795 shlibpath_var
=LD_LIBRARY_PATH
14796 case $host_vendor in
14798 shlibpath_overrides_runpath
=no
14800 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14801 runpath_var
=LD_RUN_PATH
14809 shlibpath_overrides_runpath
=no
14810 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14816 if test -d /usr
/nec
;then
14818 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14819 soname_spec
='$libname${shared_ext}.$major'
14820 shlibpath_var
=LD_LIBRARY_PATH
14824 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14825 version_type
=freebsd-elf
14828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14829 soname_spec
='${libname}${release}${shared_ext}$major'
14830 shlibpath_var
=LD_LIBRARY_PATH
14831 hardcode_into_libs
=yes
14832 if test "$with_gnu_ld" = yes; then
14833 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14834 shlibpath_overrides_runpath
=no
14836 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14837 shlibpath_overrides_runpath
=yes
14840 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14844 sys_lib_dlsearch_path_spec
='/usr/lib'
14849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14850 soname_spec
='${libname}${release}${shared_ext}$major'
14851 shlibpath_var
=LD_LIBRARY_PATH
14858 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14859 echo "${ECHO_T}$dynamic_linker" >&6; }
14860 test "$dynamic_linker" = no
&& can_build_shared
=no
14862 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14863 if test "$GCC" = yes; then
14864 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14867 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14868 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14869 hardcode_action_CXX
=
14870 if test -n "$hardcode_libdir_flag_spec_CXX" || \
14871 test -n "$runpath_var_CXX" || \
14872 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14874 # We can hardcode non-existant directories.
14875 if test "$hardcode_direct_CXX" != no
&&
14876 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14877 # have to relink, otherwise we might link with an installed library
14878 # when we should be linking with a yet-to-be-installed one
14879 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14880 test "$hardcode_minus_L_CXX" != no
; then
14881 # Linking always hardcodes the temporary library directory.
14882 hardcode_action_CXX
=relink
14884 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14885 hardcode_action_CXX
=immediate
14888 # We cannot hardcode anything, or else we can only hardcode existing
14890 hardcode_action_CXX
=unsupported
14892 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14893 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14895 if test "$hardcode_action_CXX" = relink
; then
14896 # Fast installation is not supported
14897 enable_fast_install
=no
14898 elif test "$shlibpath_overrides_runpath" = yes ||
14899 test "$enable_shared" = no
; then
14900 # Fast installation is not necessary
14901 enable_fast_install
=needless
14905 # The else clause should only fire when bootstrapping the
14906 # libtool distribution, otherwise you forgot to ship ltmain.sh
14907 # with your package, and you will get complaints that there are
14908 # no rules to generate ltmain.sh.
14909 if test -f "$ltmain"; then
14910 # See if we are running on zsh, and set the options which allow our commands through
14911 # without removal of \ escapes.
14912 if test -n "${ZSH_VERSION+set}" ; then
14913 setopt NO_GLOB_SUBST
14915 # Now quote all the things that may contain metacharacters while being
14916 # careful not to overquote the AC_SUBSTed values. We take copies of the
14917 # variables and quote the copies for generation of the libtool script.
14918 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14920 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14921 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14922 deplibs_check_method reload_flag reload_cmds need_locks \
14923 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14924 lt_cv_sys_global_symbol_to_c_name_address \
14925 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14926 old_postinstall_cmds old_postuninstall_cmds \
14930 lt_prog_compiler_wl_CXX \
14931 lt_prog_compiler_pic_CXX \
14932 lt_prog_compiler_static_CXX \
14933 lt_prog_compiler_no_builtin_flag_CXX \
14934 export_dynamic_flag_spec_CXX \
14935 thread_safe_flag_spec_CXX \
14936 whole_archive_flag_spec_CXX \
14937 enable_shared_with_static_runtimes_CXX \
14938 old_archive_cmds_CXX \
14939 old_archive_from_new_cmds_CXX \
14940 predep_objects_CXX \
14941 postdep_objects_CXX \
14944 compiler_lib_search_path_CXX \
14946 archive_expsym_cmds_CXX \
14947 postinstall_cmds_CXX \
14948 postuninstall_cmds_CXX \
14949 old_archive_from_expsyms_cmds_CXX \
14950 allow_undefined_flag_CXX \
14951 no_undefined_flag_CXX \
14952 export_symbols_cmds_CXX \
14953 hardcode_libdir_flag_spec_CXX \
14954 hardcode_libdir_flag_spec_ld_CXX \
14955 hardcode_libdir_separator_CXX \
14956 hardcode_automatic_CXX \
14958 module_expsym_cmds_CXX \
14959 lt_cv_prog_compiler_c_o_CXX \
14960 exclude_expsyms_CXX \
14961 include_expsyms_CXX
; do
14964 old_archive_cmds_CXX | \
14965 old_archive_from_new_cmds_CXX | \
14966 archive_cmds_CXX | \
14967 archive_expsym_cmds_CXX | \
14968 module_cmds_CXX | \
14969 module_expsym_cmds_CXX | \
14970 old_archive_from_expsyms_cmds_CXX | \
14971 export_symbols_cmds_CXX | \
14972 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14973 postinstall_cmds | postuninstall_cmds | \
14974 old_postinstall_cmds | old_postuninstall_cmds | \
14975 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14976 # Double-quote double-evaled strings.
14977 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14980 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14986 *'\$0 --fallback-echo"')
14987 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14993 cat <<__EOF__ >> "$cfgfile"
14994 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14996 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14998 # Shell to use when invoking shell scripts.
15001 # Whether or not to build shared libraries.
15002 build_libtool_libs=$enable_shared
15004 # Whether or not to build static libraries.
15005 build_old_libs=$enable_static
15007 # Whether or not to add -lc for building shared libraries.
15008 build_libtool_need_lc=$archive_cmds_need_lc_CXX
15010 # Whether or not to disallow shared libs when runtime libs are static
15011 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15013 # Whether or not to optimize for fast installation.
15014 fast_install=$enable_fast_install
15017 host_alias=$host_alias
15021 # The build system.
15022 build_alias=$build_alias
15026 # An echo program that does not interpret backslashes.
15031 AR_FLAGS=$lt_AR_FLAGS
15036 # LTCC compiler flags.
15037 LTCFLAGS=$lt_LTCFLAGS
15039 # A language-specific compiler.
15040 CC=$lt_compiler_CXX
15042 # Is the compiler the GNU C compiler?
15048 # The linker used to build libraries.
15051 # Whether we need hard or soft links.
15054 # A BSD-compatible nm program.
15057 # A symbol stripping program
15060 # Used to examine libraries when file_magic_cmd begins "file"
15061 MAGIC_CMD=$MAGIC_CMD
15063 # Used on cygwin: DLL creation program.
15066 # Used on cygwin: object dumper.
15069 # Used on cygwin: assembler.
15072 # The name of the directory that contains temporary libtool files.
15075 # How to create reloadable object files.
15076 reload_flag=$lt_reload_flag
15077 reload_cmds=$lt_reload_cmds
15079 # How to pass a linker flag through the compiler.
15080 wl=$lt_lt_prog_compiler_wl_CXX
15082 # Object file suffix (normally "o").
15083 objext="$ac_objext"
15085 # Old archive suffix (normally "a").
15088 # Shared library suffix (normally ".so").
15089 shrext_cmds='$shrext_cmds'
15091 # Executable file suffix (normally "").
15094 # Additional compiler flags for building library objects.
15095 pic_flag=$lt_lt_prog_compiler_pic_CXX
15098 # What is the maximum length of a command?
15099 max_cmd_len=$lt_cv_sys_max_cmd_len
15101 # Does compiler simultaneously support -c and -o options?
15102 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15104 # Must we lock files when doing compilation?
15105 need_locks=$lt_need_locks
15107 # Do we need the lib prefix for modules?
15108 need_lib_prefix=$need_lib_prefix
15110 # Do we need a version for libraries?
15111 need_version=$need_version
15113 # Whether dlopen is supported.
15114 dlopen_support=$enable_dlopen
15116 # Whether dlopen of programs is supported.
15117 dlopen_self=$enable_dlopen_self
15119 # Whether dlopen of statically linked programs is supported.
15120 dlopen_self_static=$enable_dlopen_self_static
15122 # Compiler flag to prevent dynamic linking.
15123 link_static_flag=$lt_lt_prog_compiler_static_CXX
15125 # Compiler flag to turn off builtin functions.
15126 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15128 # Compiler flag to allow reflexive dlopens.
15129 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15131 # Compiler flag to generate shared objects directly from archives.
15132 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15134 # Compiler flag to generate thread-safe objects.
15135 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15137 # Library versioning type.
15138 version_type=$version_type
15140 # Format of library name prefix.
15141 libname_spec=$lt_libname_spec
15143 # List of archive names. First name is the real one, the rest are links.
15144 # The last name is the one that the linker finds with -lNAME.
15145 library_names_spec=$lt_library_names_spec
15147 # The coded name of the library, if different from the real name.
15148 soname_spec=$lt_soname_spec
15150 # Commands used to build and install an old-style archive.
15152 old_archive_cmds=$lt_old_archive_cmds_CXX
15153 old_postinstall_cmds=$lt_old_postinstall_cmds
15154 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15156 # Create an old-style archive from a shared archive.
15157 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15159 # Create a temporary old-style archive to link instead of a shared archive.
15160 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15162 # Commands used to build and install a shared archive.
15163 archive_cmds=$lt_archive_cmds_CXX
15164 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15165 postinstall_cmds=$lt_postinstall_cmds
15166 postuninstall_cmds=$lt_postuninstall_cmds
15168 # Commands used to build a loadable module (assumed same as above if empty)
15169 module_cmds=$lt_module_cmds_CXX
15170 module_expsym_cmds=$lt_module_expsym_cmds_CXX
15172 # Commands to strip libraries.
15173 old_striplib=$lt_old_striplib
15174 striplib=$lt_striplib
15176 # Dependencies to place before the objects being linked to create a
15178 predep_objects=$lt_predep_objects_CXX
15180 # Dependencies to place after the objects being linked to create a
15182 postdep_objects=$lt_postdep_objects_CXX
15184 # Dependencies to place before the objects being linked to create a
15186 predeps=$lt_predeps_CXX
15188 # Dependencies to place after the objects being linked to create a
15190 postdeps=$lt_postdeps_CXX
15192 # The library search path used internally by the compiler when linking
15193 # a shared library.
15194 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15196 # Method to check whether dependent libraries are shared objects.
15197 deplibs_check_method=$lt_deplibs_check_method
15199 # Command to use when deplibs_check_method == file_magic.
15200 file_magic_cmd=$lt_file_magic_cmd
15202 # Flag that allows shared libraries with undefined symbols to be built.
15203 allow_undefined_flag=$lt_allow_undefined_flag_CXX
15205 # Flag that forces no undefined symbols.
15206 no_undefined_flag=$lt_no_undefined_flag_CXX
15208 # Commands used to finish a libtool library installation in a directory.
15209 finish_cmds=$lt_finish_cmds
15211 # Same as above, but a single script fragment to be evaled but not shown.
15212 finish_eval=$lt_finish_eval
15214 # Take the output of nm and produce a listing of raw symbols and C names.
15215 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15217 # Transform the output of nm in a proper C declaration
15218 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15220 # Transform the output of nm in a C name address pair
15221 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15223 # This is the shared library runtime path variable.
15224 runpath_var=$runpath_var
15226 # This is the shared library path variable.
15227 shlibpath_var=$shlibpath_var
15229 # Is shlibpath searched before the hard-coded library search path?
15230 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15232 # How to hardcode a shared library path into an executable.
15233 hardcode_action=$hardcode_action_CXX
15235 # Whether we should hardcode library paths into libraries.
15236 hardcode_into_libs=$hardcode_into_libs
15238 # Flag to hardcode \$libdir into a binary during linking.
15239 # This must work even if \$libdir does not exist.
15240 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15242 # If ld is used when linking, flag to hardcode \$libdir into
15243 # a binary during linking. This must work even if \$libdir does
15245 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15247 # Whether we need a single -rpath flag with a separated argument.
15248 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15250 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15251 # resulting binary.
15252 hardcode_direct=$hardcode_direct_CXX
15254 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15255 # resulting binary.
15256 hardcode_minus_L=$hardcode_minus_L_CXX
15258 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15259 # the resulting binary.
15260 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15262 # Set to yes if building a shared library automatically hardcodes DIR into the library
15263 # and all subsequent libraries and executables linked against it.
15264 hardcode_automatic=$hardcode_automatic_CXX
15266 # Variables whose values should be saved in libtool wrapper scripts and
15267 # restored at relink time.
15268 variables_saved_for_relink="$variables_saved_for_relink"
15270 # Whether libtool must link a program against all its dependency libraries.
15271 link_all_deplibs=$link_all_deplibs_CXX
15273 # Compile-time system search path for libraries
15274 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15276 # Run-time system search path for libraries
15277 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15279 # Fix the shell variable \$srcfile for the compiler.
15280 fix_srcfile_path="$fix_srcfile_path_CXX"
15282 # Set to yes if exported symbols are required.
15283 always_export_symbols=$always_export_symbols_CXX
15285 # The commands to list exported symbols.
15286 export_symbols_cmds=$lt_export_symbols_cmds_CXX
15288 # The commands to extract the exported symbol list from a shared archive.
15289 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15291 # Symbols that should not be listed in the preloaded symbols.
15292 exclude_expsyms=$lt_exclude_expsyms_CXX
15294 # Symbols that must always be exported.
15295 include_expsyms=$lt_include_expsyms_CXX
15297 # ### END LIBTOOL TAG CONFIG: $tagname
15303 # If there is no Makefile yet, we rely on a make rule to execute
15304 # `config.status --recheck' to rerun these tests and create the
15305 # libtool script then.
15306 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15307 if test -f "$ltmain_in"; then
15308 test -f Makefile
&& make "$ltmain"
15314 ac_cpp
='$CPP $CPPFLAGS'
15315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15323 with_gnu_ldcxx
=$with_gnu_ld
15324 with_gnu_ld
=$lt_save_with_gnu_ld
15325 lt_cv_path_LDCXX
=$lt_cv_path_LD
15326 lt_cv_path_LD
=$lt_save_path_LD
15327 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15328 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15336 if test -n "$F77" && test "X$F77" != "Xno"; then
15339 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15340 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15341 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
15344 archive_cmds_need_lc_F77
=no
15345 allow_undefined_flag_F77
=
15346 always_export_symbols_F77
=no
15347 archive_expsym_cmds_F77
=
15348 export_dynamic_flag_spec_F77
=
15349 hardcode_direct_F77
=no
15350 hardcode_libdir_flag_spec_F77
=
15351 hardcode_libdir_flag_spec_ld_F77
=
15352 hardcode_libdir_separator_F77
=
15353 hardcode_minus_L_F77
=no
15354 hardcode_automatic_F77
=no
15356 module_expsym_cmds_F77
=
15357 link_all_deplibs_F77
=unknown
15358 old_archive_cmds_F77
=$old_archive_cmds
15359 no_undefined_flag_F77
=
15360 whole_archive_flag_spec_F77
=
15361 enable_shared_with_static_runtimes_F77
=no
15363 # Source file extension for f77 test sources.
15366 # Object file extension for compiled f77 test sources.
15370 # Code to be used in simple compile tests
15371 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
15373 # Code to be used in simple link tests
15374 lt_simple_link_test_code
=" program t\n end\n"
15376 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15378 # If no C compiler was specified, use CC.
15381 # If no C compiler flags were specified, use CFLAGS.
15382 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15384 # Allow CC to be a program name with arguments.
15388 # save warnings/boilerplate of simple test code
15389 ac_outfile
=conftest.
$ac_objext
15390 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15391 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15392 _lt_compiler_boilerplate
=`cat conftest.err`
15395 ac_outfile
=conftest.
$ac_objext
15396 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15397 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15398 _lt_linker_boilerplate
=`cat conftest.err`
15402 # Allow CC to be a program name with arguments.
15407 for cc_temp
in $compiler""; do
15409 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15410 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15415 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15418 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15419 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15420 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
15421 echo "${ECHO_T}$can_build_shared" >&6; }
15423 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15424 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15425 test "$can_build_shared" = "no" && enable_shared
=no
15427 # On AIX, shared libraries and static libraries use the same namespace, and
15428 # are all built from PIC.
15431 test "$enable_shared" = yes && enable_static
=no
15432 if test -n "$RANLIB"; then
15433 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
15434 postinstall_cmds
='$RANLIB $lib'
15438 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
15439 test "$enable_shared" = yes && enable_static
=no
15443 { echo "$as_me:$LINENO: result: $enable_shared" >&5
15444 echo "${ECHO_T}$enable_shared" >&6; }
15446 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15447 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15448 # Make sure either enable_shared or enable_static is yes.
15449 test "$enable_shared" = yes || enable_static
=yes
15450 { echo "$as_me:$LINENO: result: $enable_static" >&5
15451 echo "${ECHO_T}$enable_static" >&6; }
15456 lt_prog_compiler_wl_F77
=
15457 lt_prog_compiler_pic_F77
=
15458 lt_prog_compiler_static_F77
=
15460 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15461 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15463 if test "$GCC" = yes; then
15464 lt_prog_compiler_wl_F77
='-Wl,'
15465 lt_prog_compiler_static_F77
='-static'
15469 # All AIX code is PIC.
15470 if test "$host_cpu" = ia64
; then
15471 # AIX 5 now supports IA64 processor
15472 lt_prog_compiler_static_F77
='-Bstatic'
15477 # FIXME: we need at least 68020 code to build shared libraries, but
15478 # adding the `-m68020' flag to GCC prevents building anything better,
15480 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
15483 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15484 # PIC is the default for these OSes.
15487 mingw
* | pw32
* | os2
*)
15488 # This hack is so that the source file can tell whether it is being
15489 # built for inclusion in a dll (and should export symbols for example).
15490 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15493 darwin
* | rhapsody
*)
15494 # PIC is the default on this platform
15495 # Common symbols not allowed in MH_DYLIB files
15496 lt_prog_compiler_pic_F77
='-fno-common'
15500 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15501 # Instead, we relocate shared libraries at runtime.
15505 # Just because we use GCC doesn't mean we suddenly get shared libraries
15506 # on systems that don't support them.
15507 lt_prog_compiler_can_build_shared_F77
=no
15512 if test -d /usr
/nec
; then
15513 lt_prog_compiler_pic_F77
=-Kconform_pic
15518 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15519 # not for PA HP-UX.
15525 lt_prog_compiler_pic_F77
='-fPIC'
15531 lt_prog_compiler_pic_F77
='-fPIC'
15535 # PORTME Check for flag to pass linker flags through the system compiler.
15538 lt_prog_compiler_wl_F77
='-Wl,'
15539 if test "$host_cpu" = ia64
; then
15540 # AIX 5 now supports IA64 processor
15541 lt_prog_compiler_static_F77
='-Bstatic'
15543 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
15547 # PIC is the default on this platform
15548 # Common symbols not allowed in MH_DYLIB files
15549 case $cc_basename in
15551 lt_prog_compiler_pic_F77
='-qnocommon'
15552 lt_prog_compiler_wl_F77
='-Wl,'
15557 mingw
* | pw32
* | os2
*)
15558 # This hack is so that the source file can tell whether it is being
15559 # built for inclusion in a dll (and should export symbols for example).
15560 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15563 hpux9
* | hpux10
* | hpux11
*)
15564 lt_prog_compiler_wl_F77
='-Wl,'
15565 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15566 # not for PA HP-UX.
15572 lt_prog_compiler_pic_F77
='+Z'
15575 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15576 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
15579 irix5
* | irix6
* | nonstopux
*)
15580 lt_prog_compiler_wl_F77
='-Wl,'
15581 # PIC (with -KPIC) is the default.
15582 lt_prog_compiler_static_F77
='-non_shared'
15586 lt_prog_compiler_pic_F77
='-KPIC'
15587 lt_prog_compiler_static_F77
='-Bstatic'
15590 linux
* | k
*bsd
*-gnu)
15591 case $cc_basename in
15593 lt_prog_compiler_wl_F77
='-Wl,'
15594 lt_prog_compiler_pic_F77
='-KPIC'
15595 lt_prog_compiler_static_F77
='-static'
15597 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15598 # Portland Group compilers (*not* the Pentium gcc compiler,
15599 # which looks to be a dead project)
15600 lt_prog_compiler_wl_F77
='-Wl,'
15601 lt_prog_compiler_pic_F77
='-fpic'
15602 lt_prog_compiler_static_F77
='-Bstatic'
15605 lt_prog_compiler_wl_F77
='-Wl,'
15606 # All Alpha code is PIC.
15607 lt_prog_compiler_static_F77
='-non_shared'
15612 osf3
* | osf4
* | osf5
*)
15613 lt_prog_compiler_wl_F77
='-Wl,'
15614 # All OSF/1 code is PIC.
15615 lt_prog_compiler_static_F77
='-non_shared'
15619 lt_prog_compiler_pic_F77
='-KPIC'
15620 lt_prog_compiler_static_F77
='-Bstatic'
15621 case $cc_basename in
15622 f77
* | f90
* | f95
*)
15623 lt_prog_compiler_wl_F77
='-Qoption ld ';;
15625 lt_prog_compiler_wl_F77
='-Wl,';;
15630 lt_prog_compiler_wl_F77
='-Qoption ld '
15631 lt_prog_compiler_pic_F77
='-PIC'
15632 lt_prog_compiler_static_F77
='-Bstatic'
15635 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15636 lt_prog_compiler_wl_F77
='-Wl,'
15637 lt_prog_compiler_pic_F77
='-KPIC'
15638 lt_prog_compiler_static_F77
='-Bstatic'
15642 if test -d /usr
/nec
;then
15643 lt_prog_compiler_pic_F77
='-Kconform_pic'
15644 lt_prog_compiler_static_F77
='-Bstatic'
15648 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15649 lt_prog_compiler_wl_F77
='-Wl,'
15650 lt_prog_compiler_pic_F77
='-KPIC'
15651 lt_prog_compiler_static_F77
='-Bstatic'
15655 lt_prog_compiler_wl_F77
='-Wl,'
15656 lt_prog_compiler_can_build_shared_F77
=no
15660 lt_prog_compiler_pic_F77
='-pic'
15661 lt_prog_compiler_static_F77
='-Bstatic'
15665 lt_prog_compiler_can_build_shared_F77
=no
15670 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15671 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15674 # Check to make sure the PIC flag actually works.
15676 if test -n "$lt_prog_compiler_pic_F77"; then
15678 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15679 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15680 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15681 echo $ECHO_N "(cached) $ECHO_C" >&6
15683 lt_prog_compiler_pic_works_F77
=no
15684 ac_outfile
=conftest.
$ac_objext
15685 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15686 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
15687 # Insert the option either (1) after the last *FLAGS variable, or
15688 # (2) before a word containing "conftest.", or (3) at the end.
15689 # Note that $ac_compile itself does not contain backslashes and begins
15690 # with a dollar sign (not a hyphen), so the echo should work correctly.
15691 # The option is referenced via a variable to avoid confusing sed.
15692 lt_compile
=`echo "$ac_compile" | $SED \
15693 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15694 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15695 -e 's:$: $lt_compiler_flag:'`
15696 (eval echo "\"\$as_me:15696: $lt_compile\"" >&5)
15697 (eval "$lt_compile" 2>conftest.err
)
15699 cat conftest.err
>&5
15700 echo "$as_me:15700: \$? = $ac_status" >&5
15701 if (exit $ac_status) && test -s "$ac_outfile"; then
15702 # The compiler can only warn and ignore the option if not recognized
15703 # So say no if there are warnings other than the usual output.
15704 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15705 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15706 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15707 lt_prog_compiler_pic_works_F77
=yes
15713 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15714 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15716 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
15717 case $lt_prog_compiler_pic_F77 in
15719 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
15722 lt_prog_compiler_pic_F77
=
15723 lt_prog_compiler_can_build_shared_F77
=no
15728 # For platforms which do not support PIC, -DPIC is meaningless:
15730 lt_prog_compiler_pic_F77
=
15733 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
15738 # Check to make sure the static flag actually works.
15740 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
15741 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15742 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15743 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15744 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 lt_prog_compiler_static_works_F77
=no
15747 save_LDFLAGS
="$LDFLAGS"
15748 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15749 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15750 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15751 # The linker can only warn and ignore the option if not recognized
15752 # So say no if there are warnings
15753 if test -s conftest.err
; then
15754 # Append any errors to the config.log.
15755 cat conftest.err
1>&5
15756 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15757 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15758 if diff conftest.exp conftest.er2
>/dev
/null
; then
15759 lt_prog_compiler_static_works_F77
=yes
15762 lt_prog_compiler_static_works_F77
=yes
15766 LDFLAGS
="$save_LDFLAGS"
15769 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15770 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15772 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
15775 lt_prog_compiler_static_F77
=
15779 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15780 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15781 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15782 echo $ECHO_N "(cached) $ECHO_C" >&6
15784 lt_cv_prog_compiler_c_o_F77
=no
15785 $rm -r conftest
2>/dev
/null
15789 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15791 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15792 # Insert the option either (1) after the last *FLAGS variable, or
15793 # (2) before a word containing "conftest.", or (3) at the end.
15794 # Note that $ac_compile itself does not contain backslashes and begins
15795 # with a dollar sign (not a hyphen), so the echo should work correctly.
15796 lt_compile
=`echo "$ac_compile" | $SED \
15797 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15798 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15799 -e 's:$: $lt_compiler_flag:'`
15800 (eval echo "\"\$as_me:15800: $lt_compile\"" >&5)
15801 (eval "$lt_compile" 2>out
/conftest.err
)
15803 cat out
/conftest.err
>&5
15804 echo "$as_me:15804: \$? = $ac_status" >&5
15805 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15807 # The compiler can only warn and ignore the option if not recognized
15808 # So say no if there are warnings
15809 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15810 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15811 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15812 lt_cv_prog_compiler_c_o_F77
=yes
15817 # SGI C++ compiler will create directory out/ii_files/ for
15818 # template instantiation
15819 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15820 $rm out
/* && rmdir out
15826 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15827 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15830 hard_links
="nottested"
15831 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
15832 # do not overwrite the value of need_locks provided by the user
15833 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15834 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15837 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15839 ln conftest.a conftest.b
2>&5 || hard_links
=no
15840 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15841 { echo "$as_me:$LINENO: result: $hard_links" >&5
15842 echo "${ECHO_T}$hard_links" >&6; }
15843 if test "$hard_links" = no
; then
15844 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15845 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15852 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15853 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15856 allow_undefined_flag_F77
=
15857 enable_shared_with_static_runtimes_F77
=no
15859 archive_expsym_cmds_F77
=
15860 old_archive_From_new_cmds_F77
=
15861 old_archive_from_expsyms_cmds_F77
=
15862 export_dynamic_flag_spec_F77
=
15863 whole_archive_flag_spec_F77
=
15864 thread_safe_flag_spec_F77
=
15865 hardcode_libdir_flag_spec_F77
=
15866 hardcode_libdir_flag_spec_ld_F77
=
15867 hardcode_libdir_separator_F77
=
15868 hardcode_direct_F77
=no
15869 hardcode_minus_L_F77
=no
15870 hardcode_shlibpath_var_F77
=unsupported
15871 link_all_deplibs_F77
=unknown
15872 hardcode_automatic_F77
=no
15874 module_expsym_cmds_F77
=
15875 always_export_symbols_F77
=no
15876 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15877 # include_expsyms should be a list of space-separated symbols to be *always*
15878 # included in the symbol list
15879 include_expsyms_F77
=
15880 # exclude_expsyms can be an extended regexp of symbols to exclude
15881 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15882 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15883 # as well as any symbol that contains `d'.
15884 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
15885 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15886 # platforms (ab)use it in PIC code, but their linkers get confused if
15887 # the symbol is explicitly referenced. Since portable code cannot
15888 # rely on this symbol name, it's probably fine to never include it in
15889 # preloaded symbol tables.
15890 extract_expsyms_cmds
=
15891 # Just being paranoid about ensuring that cc_basename is set.
15892 for cc_temp
in $compiler""; do
15894 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15895 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15900 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15903 cygwin
* | mingw
* | pw32
*)
15904 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15905 # When not using gcc, we currently assume that we are using
15906 # Microsoft Visual C++.
15907 if test "$GCC" != yes; then
15912 # we just hope/assume this is gcc and not c89 (= MSVC++)
15921 if test "$with_gnu_ld" = yes; then
15922 # If archive_cmds runs LD, not CC, wlarc should be empty
15925 # Set some defaults for GNU ld with shared library support. These
15926 # are reset later if shared libraries are not supported. Putting them
15927 # here allows them to be overridden if necessary.
15928 runpath_var
=LD_RUN_PATH
15929 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
15930 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
15931 # ancient GNU ld didn't support --whole-archive et. al.
15932 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15933 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15935 whole_archive_flag_spec_F77
=
15937 supports_anon_versioning
=no
15938 case `$LD -v 2>/dev/null` in
15939 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
15940 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15941 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15942 *\
2.11.
*) ;; # other 2.11 versions
15943 *) supports_anon_versioning
=yes ;;
15946 # See if GNU ld supports shared libraries.
15948 aix3
* | aix4
* | aix5
*)
15949 # On AIX/PPC, the GNU linker is very broken
15950 if test "$host_cpu" != ia64
; then
15954 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15955 *** to be unable to reliably create shared libraries on AIX.
15956 *** Therefore, libtool is disabling shared libraries support. If you
15957 *** really care for shared libraries, you may want to modify your PATH
15958 *** so that a non-GNU linker is found, and then restart.
15965 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)'
15966 hardcode_libdir_flag_spec_F77
='-L$libdir'
15967 hardcode_minus_L_F77
=yes
15969 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15970 # that the semantics of dynamic libraries on AmigaOS, at least up
15971 # to version 4, is to share data among multiple programs linked
15972 # with the same dynamic library. Since this doesn't match the
15973 # behavior of shared libraries on other platforms, we can't use
15979 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15980 allow_undefined_flag_F77
=unsupported
15981 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15982 # support --undefined. This deserves some investigation. FIXME
15983 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15989 cygwin
* | mingw
* | pw32
*)
15990 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15991 # as there is no search path for DLLs.
15992 hardcode_libdir_flag_spec_F77
='-L$libdir'
15993 allow_undefined_flag_F77
=unsupported
15994 always_export_symbols_F77
=no
15995 enable_shared_with_static_runtimes_F77
=yes
15996 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15998 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15999 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16000 # If the export-symbols file already is a .def file (1st line
16001 # is EXPORTS), use it as is; otherwise, prepend...
16002 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16003 cp $export_symbols $output_objdir/$soname.def;
16005 echo EXPORTS > $output_objdir/$soname.def;
16006 cat $export_symbols >> $output_objdir/$soname.def;
16008 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16015 hardcode_direct_F77
=no
16016 hardcode_shlibpath_var_F77
=no
16017 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16018 export_dynamic_flag_spec_F77
='${wl}-E'
16019 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16020 # Instead, shared libraries are loaded at an image base (0x10000000 by
16021 # default) and relocated if they conflict, which is a slow very memory
16022 # consuming and fragmenting process. To avoid this, we pick a random,
16023 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16024 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16025 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'
16026 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'
16029 linux
* | k
*bsd
*-gnu)
16030 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16032 case $cc_basename,$host_cpu in
16033 pgcc
*) # Portland Group C compiler
16034 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'
16035 tmp_addflag
=' $pic_flag'
16037 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16038 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'
16039 tmp_addflag
=' $pic_flag -Mnomain' ;;
16040 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16041 tmp_addflag
=' -i_dynamic' ;;
16042 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16043 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16044 ifc
* | ifort
*) # Intel Fortran compiler
16045 tmp_addflag
=' -nofor_main' ;;
16047 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16049 if test $supports_anon_versioning = yes; then
16050 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
16051 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16052 $echo "local: *; };" >> $output_objdir/$libname.ver~
16053 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16055 link_all_deplibs_F77
=no
16061 netbsd
* | netbsdelf
*-gnu)
16062 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16063 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16066 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16067 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16072 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16076 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16077 *** create shared libraries on Solaris systems. Therefore, libtool
16078 *** is disabling shared libraries support. We urge you to upgrade GNU
16079 *** binutils to release 2.9.1 or newer. Another option is to modify
16080 *** your PATH or compiler configuration so that the native linker is
16081 *** used, and then restart.
16084 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16085 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16086 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16092 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16093 case `$LD -v 2>&1` in
16094 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16098 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16099 *** reliably create shared libraries on SCO systems. Therefore, libtool
16100 *** is disabling shared libraries support. We urge you to upgrade GNU
16101 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16102 *** your PATH or compiler configuration so that the native linker is
16103 *** used, and then restart.
16108 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16109 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16110 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16111 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16120 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16122 hardcode_direct_F77
=yes
16123 hardcode_shlibpath_var_F77
=no
16127 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16128 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16129 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16136 if test "$ld_shlibs_F77" = no
; then
16138 hardcode_libdir_flag_spec_F77
=
16139 export_dynamic_flag_spec_F77
=
16140 whole_archive_flag_spec_F77
=
16143 # PORTME fill in a description of your system's linker (not GNU ld)
16146 allow_undefined_flag_F77
=unsupported
16147 always_export_symbols_F77
=yes
16148 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'
16149 # Note: this linker hardcodes the directories in LIBPATH if there
16150 # are no directories specified by -L.
16151 hardcode_minus_L_F77
=yes
16152 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16153 # Neither direct hardcoding nor static linking is supported with a
16155 hardcode_direct_F77
=unsupported
16160 if test "$host_cpu" = ia64
; then
16161 # On IA64, the linker does run time linking by default, so we don't
16162 # have to do anything special.
16163 aix_use_runtimelinking
=no
16164 exp_sym_flag
='-Bexport'
16167 # If we're using GNU nm, then we don't want the "-C" option.
16168 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16169 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16170 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'
16172 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'
16174 aix_use_runtimelinking
=no
16176 # Test if we are trying to use run time linking or normal
16177 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16178 # need to do runtime linking.
16179 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16180 for ld_flag
in $LDFLAGS; do
16181 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16182 aix_use_runtimelinking
=yes
16189 exp_sym_flag
='-bexport'
16190 no_entry_flag
='-bnoentry'
16193 # When large executables or shared objects are built, AIX ld can
16194 # have problems creating the table of contents. If linking a library
16195 # or program results in "error TOC overflow" add -mminimal-toc to
16196 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16197 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16199 archive_cmds_F77
=''
16200 hardcode_direct_F77
=yes
16201 hardcode_libdir_separator_F77
=':'
16202 link_all_deplibs_F77
=yes
16204 if test "$GCC" = yes; then
16205 case $host_os in aix4.
[012]|aix4.
[012].
*)
16206 # We only want to do this on AIX 4.2 and lower, the check
16207 # below for broken collect2 doesn't work under 4.3+
16208 collect2name
=`${CC} -print-prog-name=collect2`
16209 if test -f "$collect2name" && \
16210 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16212 # We have reworked collect2
16213 hardcode_direct_F77
=yes
16215 # We have old collect2
16216 hardcode_direct_F77
=unsupported
16217 # It fails to find uninstalled libraries when the uninstalled
16218 # path is not listed in the libpath. Setting hardcode_minus_L
16219 # to unsupported forces relinking
16220 hardcode_minus_L_F77
=yes
16221 hardcode_libdir_flag_spec_F77
='-L$libdir'
16222 hardcode_libdir_separator_F77
=
16226 shared_flag
='-shared'
16227 if test "$aix_use_runtimelinking" = yes; then
16228 shared_flag
="$shared_flag "'${wl}-G'
16232 if test "$host_cpu" = ia64
; then
16233 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16234 # chokes on -Wl,-G. The following line is correct:
16237 if test "$aix_use_runtimelinking" = yes; then
16238 shared_flag
='${wl}-G'
16240 shared_flag
='${wl}-bM:SRE'
16245 # It seems that -bexpall does not export symbols beginning with
16246 # underscore (_), so it is better to generate a list of symbols to export.
16247 always_export_symbols_F77
=yes
16248 if test "$aix_use_runtimelinking" = yes; then
16249 # Warning - without using the other runtime loading flags (-brtl),
16250 # -berok will link without error, but may produce a broken library.
16251 allow_undefined_flag_F77
='-berok'
16252 # Determine the default libpath from the value encoded in an empty executable.
16253 cat >conftest.
$ac_ext <<_ACEOF
16258 rm -f conftest.
$ac_objext conftest
$ac_exeext
16259 if { (ac_try
="$ac_link"
16260 case "(($ac_try" in
16261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16262 *) ac_try_echo=$ac_try;;
16264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16265 (eval "$ac_link") 2>conftest.er1
16267 grep -v '^ *+' conftest.er1 >conftest.err
16269 cat conftest.err >&5
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); } && {
16272 test -z "$ac_f77_werror_flag" ||
16273 test ! -s conftest.err
16274 } && test -s conftest$ac_exeext &&
16275 $as_test_x conftest$ac_exeext; then
16277 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16279 # Check for a 64-bit object if we didn't find anything.
16280 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16283 echo "$as_me: failed program was:" >&5
16284 sed 's/^/| /' conftest.$ac_ext >&5
16289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16290 conftest$ac_exeext conftest.$ac_ext
16291 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16293 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16294 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"
16296 if test "$host_cpu" = ia64; then
16297 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16298 allow_undefined_flag_F77="-z nodefs"
16299 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"
16301 # Determine the default libpath from the value encoded in an empty executable.
16302 cat >conftest.$ac_ext <<_ACEOF
16307 rm -f conftest.$ac_objext conftest$ac_exeext
16308 if { (ac_try="$ac_link"
16309 case "(($ac_try" in
16310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16311 *) ac_try_echo
=$ac_try;;
16313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16314 (eval "$ac_link") 2>conftest.er1
16316 grep -v '^ *+' conftest.er1
>conftest.err
16318 cat conftest.err
>&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } && {
16321 test -z "$ac_f77_werror_flag" ||
16322 test ! -s conftest.err
16323 } && test -s conftest
$ac_exeext &&
16324 $as_test_x conftest
$ac_exeext; then
16326 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16328 # Check for a 64-bit object if we didn't find anything.
16329 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16332 echo "$as_me: failed program was:" >&5
16333 sed 's/^/| /' conftest.
$ac_ext >&5
16338 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16339 conftest
$ac_exeext conftest.
$ac_ext
16340 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16342 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
16343 # Warning - without using the other run time loading flags,
16344 # -berok will link without error, but may produce a broken library.
16345 no_undefined_flag_F77
=' ${wl}-bernotok'
16346 allow_undefined_flag_F77
=' ${wl}-berok'
16347 # Exported symbols can be pulled into shared objects from archives
16348 whole_archive_flag_spec_F77
='$convenience'
16349 archive_cmds_need_lc_F77
=yes
16350 # This is similar to how AIX traditionally builds its shared libraries.
16351 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'
16357 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)'
16358 hardcode_libdir_flag_spec_F77
='-L$libdir'
16359 hardcode_minus_L_F77
=yes
16360 # see comment about different semantics on the GNU ld section
16365 export_dynamic_flag_spec_F77
=-rdynamic
16368 cygwin
* | mingw
* | pw32
*)
16369 # When not using gcc, we currently assume that we are using
16370 # Microsoft Visual C++.
16371 # hardcode_libdir_flag_spec is actually meaningless, as there is
16372 # no search path for DLLs.
16373 hardcode_libdir_flag_spec_F77
=' '
16374 allow_undefined_flag_F77
=unsupported
16375 # Tell ltmain to make .lib files, not .a files.
16377 # Tell ltmain to make .dll files, not .so files.
16379 # FIXME: Setting linknames here is a bad hack.
16380 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16381 # The linker will automatically build a .lib file if we build a DLL.
16382 old_archive_From_new_cmds_F77
='true'
16383 # FIXME: Should let the user specify the lib program.
16384 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16385 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
16386 enable_shared_with_static_runtimes_F77
=yes
16389 darwin
* | rhapsody
*)
16391 rhapsody
* | darwin1.
[012])
16392 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
16395 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16396 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16398 case ${MACOSX_DEPLOYMENT_TARGET} in
16400 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16403 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
16409 archive_cmds_need_lc_F77
=no
16410 hardcode_direct_F77
=no
16411 hardcode_automatic_F77
=yes
16412 hardcode_shlibpath_var_F77
=unsupported
16413 whole_archive_flag_spec_F77
=''
16414 link_all_deplibs_F77
=yes
16415 if test "$GCC" = yes ; then
16416 output_verbose_link_cmd
='echo'
16417 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16418 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16419 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16420 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16421 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}'
16423 case $cc_basename in
16425 output_verbose_link_cmd
='echo'
16426 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16427 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16428 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16429 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16430 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}'
16440 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16441 hardcode_libdir_flag_spec_F77
='-L$libdir'
16442 hardcode_shlibpath_var_F77
=no
16449 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16450 # support. Future versions do this automatically, but an explicit c++rt0.o
16451 # does not break anything, and helps significantly (at the cost of a little
16454 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16455 hardcode_libdir_flag_spec_F77
='-R$libdir'
16456 hardcode_direct_F77
=yes
16457 hardcode_shlibpath_var_F77
=no
16460 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16462 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16463 hardcode_direct_F77
=yes
16464 hardcode_minus_L_F77
=yes
16465 hardcode_shlibpath_var_F77
=no
16468 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16469 freebsd
* | dragonfly
*)
16470 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16471 hardcode_libdir_flag_spec_F77
='-R$libdir'
16472 hardcode_direct_F77
=yes
16473 hardcode_shlibpath_var_F77
=no
16477 if test "$GCC" = yes; then
16478 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'
16480 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'
16482 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16483 hardcode_libdir_separator_F77
=:
16484 hardcode_direct_F77
=yes
16486 # hardcode_minus_L: Not really in the search PATH,
16487 # but as the default location of the library.
16488 hardcode_minus_L_F77
=yes
16489 export_dynamic_flag_spec_F77
='${wl}-E'
16493 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16494 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16496 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16498 if test "$with_gnu_ld" = no
; then
16499 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16500 hardcode_libdir_separator_F77
=:
16502 hardcode_direct_F77
=yes
16503 export_dynamic_flag_spec_F77
='${wl}-E'
16505 # hardcode_minus_L: Not really in the search PATH,
16506 # but as the default location of the library.
16507 hardcode_minus_L_F77
=yes
16512 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16515 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16518 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16521 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16527 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16530 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16533 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16537 if test "$with_gnu_ld" = no
; then
16538 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16539 hardcode_libdir_separator_F77
=:
16543 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
16544 hardcode_direct_F77
=no
16545 hardcode_shlibpath_var_F77
=no
16548 hardcode_direct_F77
=yes
16549 export_dynamic_flag_spec_F77
='${wl}-E'
16551 # hardcode_minus_L: Not really in the search PATH,
16552 # but as the default location of the library.
16553 hardcode_minus_L_F77
=yes
16559 irix5
* | irix6
* | nonstopux
*)
16560 if test "$GCC" = yes; then
16561 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'
16563 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'
16564 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
16566 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16567 hardcode_libdir_separator_F77
=:
16568 link_all_deplibs_F77
=yes
16571 netbsd
* | netbsdelf
*-gnu)
16572 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16573 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16575 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16577 hardcode_libdir_flag_spec_F77
='-R$libdir'
16578 hardcode_direct_F77
=yes
16579 hardcode_shlibpath_var_F77
=no
16583 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16584 hardcode_direct_F77
=yes
16585 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16586 hardcode_libdir_separator_F77
=:
16587 hardcode_shlibpath_var_F77
=no
16591 hardcode_direct_F77
=yes
16592 hardcode_shlibpath_var_F77
=no
16593 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16594 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16595 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16596 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16597 export_dynamic_flag_spec_F77
='${wl}-E'
16600 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16601 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16602 hardcode_libdir_flag_spec_F77
='-R$libdir'
16605 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16606 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16613 hardcode_libdir_flag_spec_F77
='-L$libdir'
16614 hardcode_minus_L_F77
=yes
16615 allow_undefined_flag_F77
=unsupported
16616 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'
16617 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16621 if test "$GCC" = yes; then
16622 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16623 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'
16625 allow_undefined_flag_F77
=' -expect_unresolved \*'
16626 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'
16628 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16629 hardcode_libdir_separator_F77
=:
16632 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16633 if test "$GCC" = yes; then
16634 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16635 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'
16636 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16638 allow_undefined_flag_F77
=' -expect_unresolved \*'
16639 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'
16640 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~
16641 $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'
16643 # Both c and cxx compiler support -rpath directly
16644 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
16646 hardcode_libdir_separator_F77
=:
16650 no_undefined_flag_F77
=' -z text'
16651 if test "$GCC" = yes; then
16653 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16654 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16655 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16658 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16659 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16660 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16662 hardcode_libdir_flag_spec_F77
='-R$libdir'
16663 hardcode_shlibpath_var_F77
=no
16665 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16667 # The compiler driver will combine linker options so we
16668 # cannot just pass the convience library names through
16669 # without $wl, iff we do not link with $LD.
16670 # Luckily, gcc supports the same syntax we need for Sun Studio.
16671 # Supported since Solaris 2.6 (maybe 2.5.1?)
16674 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
16676 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16679 link_all_deplibs_F77
=yes
16683 if test "x$host_vendor" = xsequent
; then
16684 # Use $CC to link under sequent, because it throws in some extra .o
16685 # files that make .init and .fini sections work.
16686 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16688 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16690 hardcode_libdir_flag_spec_F77
='-L$libdir'
16691 hardcode_direct_F77
=yes
16692 hardcode_minus_L_F77
=yes
16693 hardcode_shlibpath_var_F77
=no
16697 case $host_vendor in
16699 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16700 hardcode_direct_F77
=yes # is this really true???
16703 ## LD is ld it makes a PLAMLIB
16704 ## CC just makes a GrossModule.
16705 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16706 reload_cmds_F77
='$CC -r -o $output$reload_objs'
16707 hardcode_direct_F77
=no
16710 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16711 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
16714 runpath_var
='LD_RUN_PATH'
16715 hardcode_shlibpath_var_F77
=no
16719 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16720 hardcode_shlibpath_var_F77
=no
16721 export_dynamic_flag_spec_F77
='-Bexport'
16725 if test -d /usr
/nec
; then
16726 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16727 hardcode_shlibpath_var_F77
=no
16728 runpath_var
=LD_RUN_PATH
16729 hardcode_runpath_var
=yes
16734 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16735 no_undefined_flag_F77
='${wl}-z,text'
16736 archive_cmds_need_lc_F77
=no
16737 hardcode_shlibpath_var_F77
=no
16738 runpath_var
='LD_RUN_PATH'
16740 if test "$GCC" = yes; then
16741 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16742 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16744 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16745 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16749 sysv5
* | sco3.2v5
* | sco5v6
*)
16750 # Note: We can NOT use -z defs as we might desire, because we do not
16751 # link with -lc, and that would cause any symbols used from libc to
16752 # always be unresolved, which means just about no library would
16753 # ever link correctly. If we're not using GNU ld we use -z text
16754 # though, which does catch some bad symbols but isn't as heavy-handed
16756 no_undefined_flag_F77
='${wl}-z,text'
16757 allow_undefined_flag_F77
='${wl}-z,nodefs'
16758 archive_cmds_need_lc_F77
=no
16759 hardcode_shlibpath_var_F77
=no
16760 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16761 hardcode_libdir_separator_F77
=':'
16762 link_all_deplibs_F77
=yes
16763 export_dynamic_flag_spec_F77
='${wl}-Bexport'
16764 runpath_var
='LD_RUN_PATH'
16766 if test "$GCC" = yes; then
16767 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16768 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16770 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16771 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16776 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16777 hardcode_libdir_flag_spec_F77
='-L$libdir'
16778 hardcode_shlibpath_var_F77
=no
16787 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16788 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16789 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
16792 # Do we need to explicitly link libc?
16794 case "x$archive_cmds_need_lc_F77" in
16796 # Assume -lc should be added
16797 archive_cmds_need_lc_F77
=yes
16799 if test "$enable_shared" = yes && test "$GCC" = yes; then
16800 case $archive_cmds_F77 in
16802 # FIXME: we may have to deal with multi-command sequences.
16805 # Test whether the compiler implicitly links with -lc since on some
16806 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16807 # to ld, don't add -lc before -lgcc.
16808 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16809 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16811 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16814 (eval $ac_compile) 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); } 2>conftest.err
; then
16820 libobjs
=conftest.
$ac_objext
16822 wl
=$lt_prog_compiler_wl_F77
16823 pic_flag
=$lt_prog_compiler_pic_F77
16829 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
16830 allow_undefined_flag_F77
=
16831 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16832 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); }
16837 archive_cmds_need_lc_F77
=no
16839 archive_cmds_need_lc_F77
=yes
16841 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
16843 cat conftest.err
1>&5
16846 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16847 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16854 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16855 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16856 library_names_spec
=
16857 libname_spec
='lib$name'
16861 postuninstall_cmds
=
16865 shlibpath_overrides_runpath
=unknown
16867 dynamic_linker
="$host_os ld.so"
16868 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16869 if test "$GCC" = yes; then
16870 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16871 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16872 # if the path contains ";" then we assume it to be the separator
16873 # otherwise default to the standard path separator (i.e. ":") - it is
16874 # assumed that no part of a normal pathname contains ";" but that should
16875 # okay in the real world where ";" in dirpaths is itself problematic.
16876 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16878 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16881 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16883 need_lib_prefix
=unknown
16884 hardcode_into_libs
=no
16886 # when you set need_version to no, make sure it does not cause -set_version
16887 # flags to be left without arguments
16888 need_version
=unknown
16893 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16894 shlibpath_var
=LIBPATH
16896 # AIX 3 has no versioning support, so we append a major version to the name.
16897 soname_spec
='${libname}${release}${shared_ext}$major'
16904 hardcode_into_libs
=yes
16905 if test "$host_cpu" = ia64
; then
16906 # AIX 5 supports IA64
16907 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16908 shlibpath_var
=LD_LIBRARY_PATH
16910 # With GCC up to 2.95.x, collect2 would create an import file
16911 # for dependence libraries. The import file would start with
16912 # the line `#! .'. This would cause the generated library to
16913 # depend on `.', always an invalid library. This was fixed in
16914 # development snapshots of GCC prior to 3.0.
16916 aix4 | aix4.
[01] | aix4.
[01].
*)
16917 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16919 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16922 can_build_shared
=no
16926 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16927 # soname into executable. Probably we can add versioning support to
16928 # collect2, so additional links can be useful in future.
16929 if test "$aix_use_runtimelinking" = yes; then
16930 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16931 # instead of lib<name>.a to let people know that these are not
16932 # typical AIX shared libraries.
16933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16935 # We preserve .a as extension for shared libraries through AIX4.2
16936 # and later when we are not doing run time linking.
16937 library_names_spec
='${libname}${release}.a $libname.a'
16938 soname_spec
='${libname}${release}${shared_ext}$major'
16940 shlibpath_var
=LIBPATH
16945 library_names_spec
='$libname.ixlibrary $libname.a'
16946 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16947 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'
16951 library_names_spec
='${libname}${shared_ext}'
16952 dynamic_linker
="$host_os ld.so"
16953 shlibpath_var
=LIBRARY_PATH
16959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16960 soname_spec
='${libname}${release}${shared_ext}$major'
16961 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16962 shlibpath_var
=LD_LIBRARY_PATH
16963 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16964 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16965 # the default ld.so.conf also contains /usr/contrib/lib and
16966 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16967 # libtool to hard-code these into programs
16970 cygwin
* | mingw
* | pw32
*)
16971 version_type
=windows
16976 case $GCC,$host_os in
16977 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16978 library_names_spec
='$libname.dll.a'
16979 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16980 postinstall_cmds
='base_file=`basename \${file}`~
16981 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16982 dldir=$destdir/`dirname \$dlpath`~
16983 test -d \$dldir || mkdir -p \$dldir~
16984 $install_prog $dir/$dlname \$dldir/$dlname~
16985 chmod a+x \$dldir/$dlname'
16986 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16987 dlpath=$dir/\$dldll~
16989 shlibpath_overrides_runpath
=yes
16993 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16994 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16995 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16998 # MinGW DLLs use traditional 'lib' prefix
16999 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17000 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17001 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17002 # It is most probably a Windows format PATH printed by
17003 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17004 # path with ; separators, and with drive letters. We can handle the
17005 # drive letters (cygwin fileutils understands them), so leave them,
17006 # especially as we might pass files found there to a mingw objdump,
17007 # which wouldn't understand a cygwinified path. Ahh.
17008 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17010 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17014 # pw32 DLLs use 'pw' prefix rather than 'lib'
17015 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17021 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17024 dynamic_linker
='Win32 ld.exe'
17025 # FIXME: first we should search . and the directory the executable is in
17029 darwin
* | rhapsody
*)
17030 dynamic_linker
="$host_os dyld"
17031 version_type
=darwin
17034 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17035 soname_spec
='${libname}${release}${major}$shared_ext'
17036 shlibpath_overrides_runpath
=yes
17037 shlibpath_var
=DYLD_LIBRARY_PATH
17038 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17039 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17040 if test "$GCC" = yes; then
17041 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17043 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17045 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17053 soname_spec
='${libname}${release}${shared_ext}$major'
17054 shlibpath_var
=LD_LIBRARY_PATH
17061 freebsd
* | dragonfly
*)
17062 # DragonFly does not have aout. When/if they implement a new
17063 # versioning mechanism, adjust this.
17064 if test -x /usr
/bin
/objformat
; then
17065 objformat
=`/usr/bin/objformat`
17068 freebsd
[123]*) objformat
=aout
;;
17069 *) objformat
=elf
;;
17072 version_type
=freebsd-
$objformat
17073 case $version_type in
17075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17080 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17084 shlibpath_var
=LD_LIBRARY_PATH
17087 shlibpath_overrides_runpath
=yes
17089 freebsd3.
[01]* | freebsdelf3.
[01]*)
17090 shlibpath_overrides_runpath
=yes
17091 hardcode_into_libs
=yes
17093 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17094 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17095 shlibpath_overrides_runpath
=no
17096 hardcode_into_libs
=yes
17098 freebsd
*) # from 4.6 on
17099 shlibpath_overrides_runpath
=yes
17100 hardcode_into_libs
=yes
17109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17110 soname_spec
='${libname}${release}${shared_ext}$major'
17111 shlibpath_var
=LD_LIBRARY_PATH
17112 hardcode_into_libs
=yes
17115 hpux9
* | hpux10
* | hpux11
*)
17116 # Give a soname corresponding to the major version so that dld.sl refuses to
17117 # link against other versions.
17124 hardcode_into_libs
=yes
17125 dynamic_linker
="$host_os dld.so"
17126 shlibpath_var
=LD_LIBRARY_PATH
17127 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17129 soname_spec
='${libname}${release}${shared_ext}$major'
17130 if test "X$HPUX_IA64_MODE" = X32
; then
17131 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17133 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17135 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17139 hardcode_into_libs
=yes
17140 dynamic_linker
="$host_os dld.sl"
17141 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17142 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17144 soname_spec
='${libname}${release}${shared_ext}$major'
17145 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17146 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17150 dynamic_linker
="$host_os dld.sl"
17151 shlibpath_var
=SHLIB_PATH
17152 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17154 soname_spec
='${libname}${release}${shared_ext}$major'
17157 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17158 postinstall_cmds
='chmod 555 $lib'
17165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17166 soname_spec
='${libname}${release}${shared_ext}$major'
17167 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17168 shlibpath_var
=LD_LIBRARY_PATH
17169 shlibpath_overrides_runpath
=no
17170 hardcode_into_libs
=yes
17173 irix5
* | irix6
* | nonstopux
*)
17175 nonstopux
*) version_type
=nonstopux
;;
17177 if test "$lt_cv_prog_gnu_ld" = yes; then
17185 soname_spec
='${libname}${release}${shared_ext}$major'
17186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17188 irix5
* | nonstopux
*)
17189 libsuff
= shlibsuff
=
17192 case $LD in # libtool.m4 will add one of these switches to LD
17193 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17194 libsuff
= shlibsuff
= libmagic
=32-bit;;
17195 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17196 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17197 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17198 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17199 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17203 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17204 shlibpath_overrides_runpath
=no
17205 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17206 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17207 hardcode_into_libs
=yes
17210 # No shared lib support for Linux oldld, aout, or coff.
17211 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17215 # This must be Linux ELF.
17216 linux
* | k
*bsd
*-gnu)
17220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17221 soname_spec
='${libname}${release}${shared_ext}$major'
17222 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17223 shlibpath_var
=LD_LIBRARY_PATH
17224 shlibpath_overrides_runpath
=no
17225 # This implies no fast_install, which is unacceptable.
17226 # Some rework will be needed to allow for fast_install
17227 # before this can be enabled.
17228 hardcode_into_libs
=yes
17230 # Append ld.so.conf contents to the search path
17231 if test -f /etc
/ld.so.conf
; then
17232 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17233 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17236 # We used to test for /lib/ld.so.1 and disable shared libraries on
17237 # powerpc, because MkLinux only supported shared libraries with the
17238 # GNU dynamic linker. Since this was broken with cross compilers,
17239 # most powerpc-linux boxes support dynamic linking these days and
17240 # people can always --disable-shared, the test was removed, and we
17241 # assume the GNU/Linux dynamic linker is in use.
17242 dynamic_linker
='GNU/Linux ld.so'
17249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17250 soname_spec
='${libname}${release}${shared_ext}$major'
17251 shlibpath_var
=LD_LIBRARY_PATH
17252 shlibpath_overrides_runpath
=no
17253 hardcode_into_libs
=yes
17254 dynamic_linker
='NetBSD ld.elf_so'
17261 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17263 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17264 dynamic_linker
='NetBSD (a.out) ld.so'
17266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17267 soname_spec
='${libname}${release}${shared_ext}$major'
17268 dynamic_linker
='NetBSD ld.elf_so'
17270 shlibpath_var
=LD_LIBRARY_PATH
17271 shlibpath_overrides_runpath
=yes
17272 hardcode_into_libs
=yes
17277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17278 shlibpath_var
=LD_LIBRARY_PATH
17279 shlibpath_overrides_runpath
=yes
17286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17287 soname_spec
='${libname}${release}${shared_ext}$major'
17288 shlibpath_var
=LD_LIBRARY_PATH
17289 shlibpath_overrides_runpath
=yes
17294 sys_lib_dlsearch_path_spec
="/usr/lib"
17296 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17298 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17299 *) need_version
=no
;;
17301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17302 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17303 shlibpath_var
=LD_LIBRARY_PATH
17304 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17306 openbsd2.
[89] | openbsd2.
[89].
*)
17307 shlibpath_overrides_runpath
=no
17310 shlibpath_overrides_runpath
=yes
17314 shlibpath_overrides_runpath
=yes
17319 libname_spec
='$name'
17322 library_names_spec
='$libname${shared_ext} $libname.a'
17323 dynamic_linker
='OS/2 ld.exe'
17324 shlibpath_var
=LIBPATH
17327 osf3
* | osf4
* | osf5
*)
17331 soname_spec
='${libname}${release}${shared_ext}$major'
17332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17333 shlibpath_var
=LD_LIBRARY_PATH
17334 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17335 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17343 soname_spec
='${libname}${release}${shared_ext}$major'
17344 shlibpath_var
=LD_LIBRARY_PATH
17345 shlibpath_overrides_runpath
=yes
17346 hardcode_into_libs
=yes
17347 # ldd complains unless libraries are executable
17348 postinstall_cmds
='chmod +x $lib'
17353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17354 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17355 shlibpath_var
=LD_LIBRARY_PATH
17356 shlibpath_overrides_runpath
=yes
17357 if test "$with_gnu_ld" = yes; then
17365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17366 soname_spec
='${libname}${release}${shared_ext}$major'
17367 shlibpath_var
=LD_LIBRARY_PATH
17368 case $host_vendor in
17370 shlibpath_overrides_runpath
=no
17372 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17373 runpath_var
=LD_RUN_PATH
17381 shlibpath_overrides_runpath
=no
17382 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17388 if test -d /usr
/nec
;then
17390 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17391 soname_spec
='$libname${shared_ext}.$major'
17392 shlibpath_var
=LD_LIBRARY_PATH
17396 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17397 version_type
=freebsd-elf
17400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17401 soname_spec
='${libname}${release}${shared_ext}$major'
17402 shlibpath_var
=LD_LIBRARY_PATH
17403 hardcode_into_libs
=yes
17404 if test "$with_gnu_ld" = yes; then
17405 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17406 shlibpath_overrides_runpath
=no
17408 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17409 shlibpath_overrides_runpath
=yes
17412 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17416 sys_lib_dlsearch_path_spec
='/usr/lib'
17421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17422 soname_spec
='${libname}${release}${shared_ext}$major'
17423 shlibpath_var
=LD_LIBRARY_PATH
17430 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17431 echo "${ECHO_T}$dynamic_linker" >&6; }
17432 test "$dynamic_linker" = no
&& can_build_shared
=no
17434 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17435 if test "$GCC" = yes; then
17436 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17439 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17440 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17441 hardcode_action_F77
=
17442 if test -n "$hardcode_libdir_flag_spec_F77" || \
17443 test -n "$runpath_var_F77" || \
17444 test "X$hardcode_automatic_F77" = "Xyes" ; then
17446 # We can hardcode non-existant directories.
17447 if test "$hardcode_direct_F77" != no
&&
17448 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17449 # have to relink, otherwise we might link with an installed library
17450 # when we should be linking with a yet-to-be-installed one
17451 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17452 test "$hardcode_minus_L_F77" != no
; then
17453 # Linking always hardcodes the temporary library directory.
17454 hardcode_action_F77
=relink
17456 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17457 hardcode_action_F77
=immediate
17460 # We cannot hardcode anything, or else we can only hardcode existing
17462 hardcode_action_F77
=unsupported
17464 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17465 echo "${ECHO_T}$hardcode_action_F77" >&6; }
17467 if test "$hardcode_action_F77" = relink
; then
17468 # Fast installation is not supported
17469 enable_fast_install
=no
17470 elif test "$shlibpath_overrides_runpath" = yes ||
17471 test "$enable_shared" = no
; then
17472 # Fast installation is not necessary
17473 enable_fast_install
=needless
17477 # The else clause should only fire when bootstrapping the
17478 # libtool distribution, otherwise you forgot to ship ltmain.sh
17479 # with your package, and you will get complaints that there are
17480 # no rules to generate ltmain.sh.
17481 if test -f "$ltmain"; then
17482 # See if we are running on zsh, and set the options which allow our commands through
17483 # without removal of \ escapes.
17484 if test -n "${ZSH_VERSION+set}" ; then
17485 setopt NO_GLOB_SUBST
17487 # Now quote all the things that may contain metacharacters while being
17488 # careful not to overquote the AC_SUBSTed values. We take copies of the
17489 # variables and quote the copies for generation of the libtool script.
17490 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17492 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17493 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17494 deplibs_check_method reload_flag reload_cmds need_locks \
17495 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17496 lt_cv_sys_global_symbol_to_c_name_address \
17497 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17498 old_postinstall_cmds old_postuninstall_cmds \
17502 lt_prog_compiler_wl_F77 \
17503 lt_prog_compiler_pic_F77 \
17504 lt_prog_compiler_static_F77 \
17505 lt_prog_compiler_no_builtin_flag_F77 \
17506 export_dynamic_flag_spec_F77 \
17507 thread_safe_flag_spec_F77 \
17508 whole_archive_flag_spec_F77 \
17509 enable_shared_with_static_runtimes_F77 \
17510 old_archive_cmds_F77 \
17511 old_archive_from_new_cmds_F77 \
17512 predep_objects_F77 \
17513 postdep_objects_F77 \
17516 compiler_lib_search_path_F77 \
17518 archive_expsym_cmds_F77 \
17519 postinstall_cmds_F77 \
17520 postuninstall_cmds_F77 \
17521 old_archive_from_expsyms_cmds_F77 \
17522 allow_undefined_flag_F77 \
17523 no_undefined_flag_F77 \
17524 export_symbols_cmds_F77 \
17525 hardcode_libdir_flag_spec_F77 \
17526 hardcode_libdir_flag_spec_ld_F77 \
17527 hardcode_libdir_separator_F77 \
17528 hardcode_automatic_F77 \
17530 module_expsym_cmds_F77 \
17531 lt_cv_prog_compiler_c_o_F77 \
17532 exclude_expsyms_F77 \
17533 include_expsyms_F77
; do
17536 old_archive_cmds_F77 | \
17537 old_archive_from_new_cmds_F77 | \
17538 archive_cmds_F77 | \
17539 archive_expsym_cmds_F77 | \
17540 module_cmds_F77 | \
17541 module_expsym_cmds_F77 | \
17542 old_archive_from_expsyms_cmds_F77 | \
17543 export_symbols_cmds_F77 | \
17544 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17545 postinstall_cmds | postuninstall_cmds | \
17546 old_postinstall_cmds | old_postuninstall_cmds | \
17547 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17548 # Double-quote double-evaled strings.
17549 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17552 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17558 *'\$0 --fallback-echo"')
17559 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17565 cat <<__EOF__ >> "$cfgfile"
17566 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17568 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17570 # Shell to use when invoking shell scripts.
17573 # Whether or not to build shared libraries.
17574 build_libtool_libs=$enable_shared
17576 # Whether or not to build static libraries.
17577 build_old_libs=$enable_static
17579 # Whether or not to add -lc for building shared libraries.
17580 build_libtool_need_lc=$archive_cmds_need_lc_F77
17582 # Whether or not to disallow shared libs when runtime libs are static
17583 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17585 # Whether or not to optimize for fast installation.
17586 fast_install=$enable_fast_install
17589 host_alias=$host_alias
17593 # The build system.
17594 build_alias=$build_alias
17598 # An echo program that does not interpret backslashes.
17603 AR_FLAGS=$lt_AR_FLAGS
17608 # LTCC compiler flags.
17609 LTCFLAGS=$lt_LTCFLAGS
17611 # A language-specific compiler.
17612 CC=$lt_compiler_F77
17614 # Is the compiler the GNU C compiler?
17620 # The linker used to build libraries.
17623 # Whether we need hard or soft links.
17626 # A BSD-compatible nm program.
17629 # A symbol stripping program
17632 # Used to examine libraries when file_magic_cmd begins "file"
17633 MAGIC_CMD=$MAGIC_CMD
17635 # Used on cygwin: DLL creation program.
17638 # Used on cygwin: object dumper.
17641 # Used on cygwin: assembler.
17644 # The name of the directory that contains temporary libtool files.
17647 # How to create reloadable object files.
17648 reload_flag=$lt_reload_flag
17649 reload_cmds=$lt_reload_cmds
17651 # How to pass a linker flag through the compiler.
17652 wl=$lt_lt_prog_compiler_wl_F77
17654 # Object file suffix (normally "o").
17655 objext="$ac_objext"
17657 # Old archive suffix (normally "a").
17660 # Shared library suffix (normally ".so").
17661 shrext_cmds='$shrext_cmds'
17663 # Executable file suffix (normally "").
17666 # Additional compiler flags for building library objects.
17667 pic_flag=$lt_lt_prog_compiler_pic_F77
17670 # What is the maximum length of a command?
17671 max_cmd_len=$lt_cv_sys_max_cmd_len
17673 # Does compiler simultaneously support -c and -o options?
17674 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17676 # Must we lock files when doing compilation?
17677 need_locks=$lt_need_locks
17679 # Do we need the lib prefix for modules?
17680 need_lib_prefix=$need_lib_prefix
17682 # Do we need a version for libraries?
17683 need_version=$need_version
17685 # Whether dlopen is supported.
17686 dlopen_support=$enable_dlopen
17688 # Whether dlopen of programs is supported.
17689 dlopen_self=$enable_dlopen_self
17691 # Whether dlopen of statically linked programs is supported.
17692 dlopen_self_static=$enable_dlopen_self_static
17694 # Compiler flag to prevent dynamic linking.
17695 link_static_flag=$lt_lt_prog_compiler_static_F77
17697 # Compiler flag to turn off builtin functions.
17698 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17700 # Compiler flag to allow reflexive dlopens.
17701 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17703 # Compiler flag to generate shared objects directly from archives.
17704 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17706 # Compiler flag to generate thread-safe objects.
17707 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17709 # Library versioning type.
17710 version_type=$version_type
17712 # Format of library name prefix.
17713 libname_spec=$lt_libname_spec
17715 # List of archive names. First name is the real one, the rest are links.
17716 # The last name is the one that the linker finds with -lNAME.
17717 library_names_spec=$lt_library_names_spec
17719 # The coded name of the library, if different from the real name.
17720 soname_spec=$lt_soname_spec
17722 # Commands used to build and install an old-style archive.
17724 old_archive_cmds=$lt_old_archive_cmds_F77
17725 old_postinstall_cmds=$lt_old_postinstall_cmds
17726 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17728 # Create an old-style archive from a shared archive.
17729 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17731 # Create a temporary old-style archive to link instead of a shared archive.
17732 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17734 # Commands used to build and install a shared archive.
17735 archive_cmds=$lt_archive_cmds_F77
17736 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17737 postinstall_cmds=$lt_postinstall_cmds
17738 postuninstall_cmds=$lt_postuninstall_cmds
17740 # Commands used to build a loadable module (assumed same as above if empty)
17741 module_cmds=$lt_module_cmds_F77
17742 module_expsym_cmds=$lt_module_expsym_cmds_F77
17744 # Commands to strip libraries.
17745 old_striplib=$lt_old_striplib
17746 striplib=$lt_striplib
17748 # Dependencies to place before the objects being linked to create a
17750 predep_objects=$lt_predep_objects_F77
17752 # Dependencies to place after the objects being linked to create a
17754 postdep_objects=$lt_postdep_objects_F77
17756 # Dependencies to place before the objects being linked to create a
17758 predeps=$lt_predeps_F77
17760 # Dependencies to place after the objects being linked to create a
17762 postdeps=$lt_postdeps_F77
17764 # The library search path used internally by the compiler when linking
17765 # a shared library.
17766 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17768 # Method to check whether dependent libraries are shared objects.
17769 deplibs_check_method=$lt_deplibs_check_method
17771 # Command to use when deplibs_check_method == file_magic.
17772 file_magic_cmd=$lt_file_magic_cmd
17774 # Flag that allows shared libraries with undefined symbols to be built.
17775 allow_undefined_flag=$lt_allow_undefined_flag_F77
17777 # Flag that forces no undefined symbols.
17778 no_undefined_flag=$lt_no_undefined_flag_F77
17780 # Commands used to finish a libtool library installation in a directory.
17781 finish_cmds=$lt_finish_cmds
17783 # Same as above, but a single script fragment to be evaled but not shown.
17784 finish_eval=$lt_finish_eval
17786 # Take the output of nm and produce a listing of raw symbols and C names.
17787 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17789 # Transform the output of nm in a proper C declaration
17790 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17792 # Transform the output of nm in a C name address pair
17793 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17795 # This is the shared library runtime path variable.
17796 runpath_var=$runpath_var
17798 # This is the shared library path variable.
17799 shlibpath_var=$shlibpath_var
17801 # Is shlibpath searched before the hard-coded library search path?
17802 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17804 # How to hardcode a shared library path into an executable.
17805 hardcode_action=$hardcode_action_F77
17807 # Whether we should hardcode library paths into libraries.
17808 hardcode_into_libs=$hardcode_into_libs
17810 # Flag to hardcode \$libdir into a binary during linking.
17811 # This must work even if \$libdir does not exist.
17812 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17814 # If ld is used when linking, flag to hardcode \$libdir into
17815 # a binary during linking. This must work even if \$libdir does
17817 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17819 # Whether we need a single -rpath flag with a separated argument.
17820 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17822 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17823 # resulting binary.
17824 hardcode_direct=$hardcode_direct_F77
17826 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17827 # resulting binary.
17828 hardcode_minus_L=$hardcode_minus_L_F77
17830 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17831 # the resulting binary.
17832 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17834 # Set to yes if building a shared library automatically hardcodes DIR into the library
17835 # and all subsequent libraries and executables linked against it.
17836 hardcode_automatic=$hardcode_automatic_F77
17838 # Variables whose values should be saved in libtool wrapper scripts and
17839 # restored at relink time.
17840 variables_saved_for_relink="$variables_saved_for_relink"
17842 # Whether libtool must link a program against all its dependency libraries.
17843 link_all_deplibs=$link_all_deplibs_F77
17845 # Compile-time system search path for libraries
17846 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17848 # Run-time system search path for libraries
17849 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17851 # Fix the shell variable \$srcfile for the compiler.
17852 fix_srcfile_path="$fix_srcfile_path_F77"
17854 # Set to yes if exported symbols are required.
17855 always_export_symbols=$always_export_symbols_F77
17857 # The commands to list exported symbols.
17858 export_symbols_cmds=$lt_export_symbols_cmds_F77
17860 # The commands to extract the exported symbol list from a shared archive.
17861 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17863 # Symbols that should not be listed in the preloaded symbols.
17864 exclude_expsyms=$lt_exclude_expsyms_F77
17866 # Symbols that must always be exported.
17867 include_expsyms=$lt_include_expsyms_F77
17869 # ### END LIBTOOL TAG CONFIG: $tagname
17875 # If there is no Makefile yet, we rely on a make rule to execute
17876 # `config.status --recheck' to rerun these tests and create the
17877 # libtool script then.
17878 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17879 if test -f "$ltmain_in"; then
17880 test -f Makefile
&& make "$ltmain"
17886 ac_cpp
='$CPP $CPPFLAGS'
17887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17899 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17902 # Source file extension for Java test sources.
17905 # Object file extension for compiled Java test sources.
17909 # Code to be used in simple compile tests
17910 lt_simple_compile_test_code
="class foo {}\n"
17912 # Code to be used in simple link tests
17913 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
17915 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17917 # If no C compiler was specified, use CC.
17920 # If no C compiler flags were specified, use CFLAGS.
17921 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17923 # Allow CC to be a program name with arguments.
17927 # save warnings/boilerplate of simple test code
17928 ac_outfile
=conftest.
$ac_objext
17929 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
17930 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17931 _lt_compiler_boilerplate
=`cat conftest.err`
17934 ac_outfile
=conftest.
$ac_objext
17935 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
17936 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17937 _lt_linker_boilerplate
=`cat conftest.err`
17941 # Allow CC to be a program name with arguments.
17946 for cc_temp
in $compiler""; do
17948 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17949 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17954 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17957 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17958 archive_cmds_need_lc_GCJ
=no
17960 old_archive_cmds_GCJ
=$old_archive_cmds
17963 lt_prog_compiler_no_builtin_flag_GCJ
=
17965 if test "$GCC" = yes; then
17966 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17969 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17970 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17971 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17972 echo $ECHO_N "(cached) $ECHO_C" >&6
17974 lt_cv_prog_compiler_rtti_exceptions
=no
17975 ac_outfile
=conftest.
$ac_objext
17976 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17977 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17978 # Insert the option either (1) after the last *FLAGS variable, or
17979 # (2) before a word containing "conftest.", or (3) at the end.
17980 # Note that $ac_compile itself does not contain backslashes and begins
17981 # with a dollar sign (not a hyphen), so the echo should work correctly.
17982 # The option is referenced via a variable to avoid confusing sed.
17983 lt_compile
=`echo "$ac_compile" | $SED \
17984 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17985 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17986 -e 's:$: $lt_compiler_flag:'`
17987 (eval echo "\"\$as_me:17987: $lt_compile\"" >&5)
17988 (eval "$lt_compile" 2>conftest.err
)
17990 cat conftest.err
>&5
17991 echo "$as_me:17991: \$? = $ac_status" >&5
17992 if (exit $ac_status) && test -s "$ac_outfile"; then
17993 # The compiler can only warn and ignore the option if not recognized
17994 # So say no if there are warnings other than the usual output.
17995 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17996 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17997 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17998 lt_cv_prog_compiler_rtti_exceptions
=yes
18004 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18005 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18007 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
18008 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18015 lt_prog_compiler_wl_GCJ
=
18016 lt_prog_compiler_pic_GCJ
=
18017 lt_prog_compiler_static_GCJ
=
18019 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18020 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18022 if test "$GCC" = yes; then
18023 lt_prog_compiler_wl_GCJ
='-Wl,'
18024 lt_prog_compiler_static_GCJ
='-static'
18028 # All AIX code is PIC.
18029 if test "$host_cpu" = ia64
; then
18030 # AIX 5 now supports IA64 processor
18031 lt_prog_compiler_static_GCJ
='-Bstatic'
18036 # FIXME: we need at least 68020 code to build shared libraries, but
18037 # adding the `-m68020' flag to GCC prevents building anything better,
18039 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
18042 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
18043 # PIC is the default for these OSes.
18046 mingw
* | pw32
* | os2
*)
18047 # This hack is so that the source file can tell whether it is being
18048 # built for inclusion in a dll (and should export symbols for example).
18049 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
18052 darwin
* | rhapsody
*)
18053 # PIC is the default on this platform
18054 # Common symbols not allowed in MH_DYLIB files
18055 lt_prog_compiler_pic_GCJ
='-fno-common'
18059 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18060 # Instead, we relocate shared libraries at runtime.
18064 # Just because we use GCC doesn't mean we suddenly get shared libraries
18065 # on systems that don't support them.
18066 lt_prog_compiler_can_build_shared_GCJ
=no
18071 if test -d /usr
/nec
; then
18072 lt_prog_compiler_pic_GCJ
=-Kconform_pic
18077 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18078 # not for PA HP-UX.
18084 lt_prog_compiler_pic_GCJ
='-fPIC'
18090 lt_prog_compiler_pic_GCJ
='-fPIC'
18094 # PORTME Check for flag to pass linker flags through the system compiler.
18097 lt_prog_compiler_wl_GCJ
='-Wl,'
18098 if test "$host_cpu" = ia64
; then
18099 # AIX 5 now supports IA64 processor
18100 lt_prog_compiler_static_GCJ
='-Bstatic'
18102 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
18106 # PIC is the default on this platform
18107 # Common symbols not allowed in MH_DYLIB files
18108 case $cc_basename in
18110 lt_prog_compiler_pic_GCJ
='-qnocommon'
18111 lt_prog_compiler_wl_GCJ
='-Wl,'
18116 mingw
* | pw32
* | os2
*)
18117 # This hack is so that the source file can tell whether it is being
18118 # built for inclusion in a dll (and should export symbols for example).
18119 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
18122 hpux9
* | hpux10
* | hpux11
*)
18123 lt_prog_compiler_wl_GCJ
='-Wl,'
18124 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18125 # not for PA HP-UX.
18131 lt_prog_compiler_pic_GCJ
='+Z'
18134 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18135 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
18138 irix5
* | irix6
* | nonstopux
*)
18139 lt_prog_compiler_wl_GCJ
='-Wl,'
18140 # PIC (with -KPIC) is the default.
18141 lt_prog_compiler_static_GCJ
='-non_shared'
18145 lt_prog_compiler_pic_GCJ
='-KPIC'
18146 lt_prog_compiler_static_GCJ
='-Bstatic'
18149 linux
* | k
*bsd
*-gnu)
18150 case $cc_basename in
18152 lt_prog_compiler_wl_GCJ
='-Wl,'
18153 lt_prog_compiler_pic_GCJ
='-KPIC'
18154 lt_prog_compiler_static_GCJ
='-static'
18156 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
18157 # Portland Group compilers (*not* the Pentium gcc compiler,
18158 # which looks to be a dead project)
18159 lt_prog_compiler_wl_GCJ
='-Wl,'
18160 lt_prog_compiler_pic_GCJ
='-fpic'
18161 lt_prog_compiler_static_GCJ
='-Bstatic'
18164 lt_prog_compiler_wl_GCJ
='-Wl,'
18165 # All Alpha code is PIC.
18166 lt_prog_compiler_static_GCJ
='-non_shared'
18171 osf3
* | osf4
* | osf5
*)
18172 lt_prog_compiler_wl_GCJ
='-Wl,'
18173 # All OSF/1 code is PIC.
18174 lt_prog_compiler_static_GCJ
='-non_shared'
18178 lt_prog_compiler_pic_GCJ
='-KPIC'
18179 lt_prog_compiler_static_GCJ
='-Bstatic'
18180 case $cc_basename in
18181 f77
* | f90
* | f95
*)
18182 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
18184 lt_prog_compiler_wl_GCJ
='-Wl,';;
18189 lt_prog_compiler_wl_GCJ
='-Qoption ld '
18190 lt_prog_compiler_pic_GCJ
='-PIC'
18191 lt_prog_compiler_static_GCJ
='-Bstatic'
18194 sysv4 | sysv4.2uw2
* | sysv4.3
*)
18195 lt_prog_compiler_wl_GCJ
='-Wl,'
18196 lt_prog_compiler_pic_GCJ
='-KPIC'
18197 lt_prog_compiler_static_GCJ
='-Bstatic'
18201 if test -d /usr
/nec
;then
18202 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
18203 lt_prog_compiler_static_GCJ
='-Bstatic'
18207 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
18208 lt_prog_compiler_wl_GCJ
='-Wl,'
18209 lt_prog_compiler_pic_GCJ
='-KPIC'
18210 lt_prog_compiler_static_GCJ
='-Bstatic'
18214 lt_prog_compiler_wl_GCJ
='-Wl,'
18215 lt_prog_compiler_can_build_shared_GCJ
=no
18219 lt_prog_compiler_pic_GCJ
='-pic'
18220 lt_prog_compiler_static_GCJ
='-Bstatic'
18224 lt_prog_compiler_can_build_shared_GCJ
=no
18229 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18230 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18233 # Check to make sure the PIC flag actually works.
18235 if test -n "$lt_prog_compiler_pic_GCJ"; then
18237 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18238 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18239 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18242 lt_prog_compiler_pic_works_GCJ
=no
18243 ac_outfile
=conftest.
$ac_objext
18244 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18245 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
18246 # Insert the option either (1) after the last *FLAGS variable, or
18247 # (2) before a word containing "conftest.", or (3) at the end.
18248 # Note that $ac_compile itself does not contain backslashes and begins
18249 # with a dollar sign (not a hyphen), so the echo should work correctly.
18250 # The option is referenced via a variable to avoid confusing sed.
18251 lt_compile
=`echo "$ac_compile" | $SED \
18252 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18253 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18254 -e 's:$: $lt_compiler_flag:'`
18255 (eval echo "\"\$as_me:18255: $lt_compile\"" >&5)
18256 (eval "$lt_compile" 2>conftest.err
)
18258 cat conftest.err
>&5
18259 echo "$as_me:18259: \$? = $ac_status" >&5
18260 if (exit $ac_status) && test -s "$ac_outfile"; then
18261 # The compiler can only warn and ignore the option if not recognized
18262 # So say no if there are warnings other than the usual output.
18263 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
18264 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18265 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
18266 lt_prog_compiler_pic_works_GCJ
=yes
18272 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18273 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18275 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
18276 case $lt_prog_compiler_pic_GCJ in
18278 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
18281 lt_prog_compiler_pic_GCJ
=
18282 lt_prog_compiler_can_build_shared_GCJ
=no
18287 # For platforms which do not support PIC, -DPIC is meaningless:
18289 lt_prog_compiler_pic_GCJ
=
18292 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
18297 # Check to make sure the static flag actually works.
18299 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
18300 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18301 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18302 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18303 echo $ECHO_N "(cached) $ECHO_C" >&6
18305 lt_prog_compiler_static_works_GCJ
=no
18306 save_LDFLAGS
="$LDFLAGS"
18307 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18308 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
18309 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18310 # The linker can only warn and ignore the option if not recognized
18311 # So say no if there are warnings
18312 if test -s conftest.err
; then
18313 # Append any errors to the config.log.
18314 cat conftest.err
1>&5
18315 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
18316 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18317 if diff conftest.exp conftest.er2
>/dev
/null
; then
18318 lt_prog_compiler_static_works_GCJ
=yes
18321 lt_prog_compiler_static_works_GCJ
=yes
18325 LDFLAGS
="$save_LDFLAGS"
18328 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
18329 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
18331 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
18334 lt_prog_compiler_static_GCJ
=
18338 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18339 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18340 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18341 echo $ECHO_N "(cached) $ECHO_C" >&6
18343 lt_cv_prog_compiler_c_o_GCJ
=no
18344 $rm -r conftest
2>/dev
/null
18348 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18350 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18351 # Insert the option either (1) after the last *FLAGS variable, or
18352 # (2) before a word containing "conftest.", or (3) at the end.
18353 # Note that $ac_compile itself does not contain backslashes and begins
18354 # with a dollar sign (not a hyphen), so the echo should work correctly.
18355 lt_compile
=`echo "$ac_compile" | $SED \
18356 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18357 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18358 -e 's:$: $lt_compiler_flag:'`
18359 (eval echo "\"\$as_me:18359: $lt_compile\"" >&5)
18360 (eval "$lt_compile" 2>out
/conftest.err
)
18362 cat out
/conftest.err
>&5
18363 echo "$as_me:18363: \$? = $ac_status" >&5
18364 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18366 # The compiler can only warn and ignore the option if not recognized
18367 # So say no if there are warnings
18368 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
18369 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18370 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18371 lt_cv_prog_compiler_c_o_GCJ
=yes
18376 # SGI C++ compiler will create directory out/ii_files/ for
18377 # template instantiation
18378 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
18379 $rm out
/* && rmdir out
18385 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18386 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18389 hard_links
="nottested"
18390 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
18391 # do not overwrite the value of need_locks provided by the user
18392 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18393 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18396 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18398 ln conftest.a conftest.b
2>&5 || hard_links
=no
18399 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18400 { echo "$as_me:$LINENO: result: $hard_links" >&5
18401 echo "${ECHO_T}$hard_links" >&6; }
18402 if test "$hard_links" = no
; then
18403 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18404 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18411 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18412 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18415 allow_undefined_flag_GCJ
=
18416 enable_shared_with_static_runtimes_GCJ
=no
18418 archive_expsym_cmds_GCJ
=
18419 old_archive_From_new_cmds_GCJ
=
18420 old_archive_from_expsyms_cmds_GCJ
=
18421 export_dynamic_flag_spec_GCJ
=
18422 whole_archive_flag_spec_GCJ
=
18423 thread_safe_flag_spec_GCJ
=
18424 hardcode_libdir_flag_spec_GCJ
=
18425 hardcode_libdir_flag_spec_ld_GCJ
=
18426 hardcode_libdir_separator_GCJ
=
18427 hardcode_direct_GCJ
=no
18428 hardcode_minus_L_GCJ
=no
18429 hardcode_shlibpath_var_GCJ
=unsupported
18430 link_all_deplibs_GCJ
=unknown
18431 hardcode_automatic_GCJ
=no
18433 module_expsym_cmds_GCJ
=
18434 always_export_symbols_GCJ
=no
18435 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18436 # include_expsyms should be a list of space-separated symbols to be *always*
18437 # included in the symbol list
18438 include_expsyms_GCJ
=
18439 # exclude_expsyms can be an extended regexp of symbols to exclude
18440 # it will be wrapped by ` (' and `)$', so one must not match beginning or
18441 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18442 # as well as any symbol that contains `d'.
18443 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
18444 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18445 # platforms (ab)use it in PIC code, but their linkers get confused if
18446 # the symbol is explicitly referenced. Since portable code cannot
18447 # rely on this symbol name, it's probably fine to never include it in
18448 # preloaded symbol tables.
18449 extract_expsyms_cmds
=
18450 # Just being paranoid about ensuring that cc_basename is set.
18451 for cc_temp
in $compiler""; do
18453 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18454 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18459 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18462 cygwin
* | mingw
* | pw32
*)
18463 # FIXME: the MSVC++ port hasn't been tested in a loooong time
18464 # When not using gcc, we currently assume that we are using
18465 # Microsoft Visual C++.
18466 if test "$GCC" != yes; then
18471 # we just hope/assume this is gcc and not c89 (= MSVC++)
18480 if test "$with_gnu_ld" = yes; then
18481 # If archive_cmds runs LD, not CC, wlarc should be empty
18484 # Set some defaults for GNU ld with shared library support. These
18485 # are reset later if shared libraries are not supported. Putting them
18486 # here allows them to be overridden if necessary.
18487 runpath_var
=LD_RUN_PATH
18488 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
18489 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
18490 # ancient GNU ld didn't support --whole-archive et. al.
18491 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
18492 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18494 whole_archive_flag_spec_GCJ
=
18496 supports_anon_versioning
=no
18497 case `$LD -v 2>/dev/null` in
18498 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
18499 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
18500 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
18501 *\
2.11.
*) ;; # other 2.11 versions
18502 *) supports_anon_versioning
=yes ;;
18505 # See if GNU ld supports shared libraries.
18507 aix3
* | aix4
* | aix5
*)
18508 # On AIX/PPC, the GNU linker is very broken
18509 if test "$host_cpu" != ia64
; then
18513 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
18514 *** to be unable to reliably create shared libraries on AIX.
18515 *** Therefore, libtool is disabling shared libraries support. If you
18516 *** really care for shared libraries, you may want to modify your PATH
18517 *** so that a non-GNU linker is found, and then restart.
18524 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)'
18525 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18526 hardcode_minus_L_GCJ
=yes
18528 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18529 # that the semantics of dynamic libraries on AmigaOS, at least up
18530 # to version 4, is to share data among multiple programs linked
18531 # with the same dynamic library. Since this doesn't match the
18532 # behavior of shared libraries on other platforms, we can't use
18538 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18539 allow_undefined_flag_GCJ
=unsupported
18540 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18541 # support --undefined. This deserves some investigation. FIXME
18542 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18548 cygwin
* | mingw
* | pw32
*)
18549 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18550 # as there is no search path for DLLs.
18551 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18552 allow_undefined_flag_GCJ
=unsupported
18553 always_export_symbols_GCJ
=no
18554 enable_shared_with_static_runtimes_GCJ
=yes
18555 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
18557 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
18558 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18559 # If the export-symbols file already is a .def file (1st line
18560 # is EXPORTS), use it as is; otherwise, prepend...
18561 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18562 cp $export_symbols $output_objdir/$soname.def;
18564 echo EXPORTS > $output_objdir/$soname.def;
18565 cat $export_symbols >> $output_objdir/$soname.def;
18567 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18574 hardcode_direct_GCJ
=no
18575 hardcode_shlibpath_var_GCJ
=no
18576 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18577 export_dynamic_flag_spec_GCJ
='${wl}-E'
18578 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18579 # Instead, shared libraries are loaded at an image base (0x10000000 by
18580 # default) and relocated if they conflict, which is a slow very memory
18581 # consuming and fragmenting process. To avoid this, we pick a random,
18582 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18583 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18584 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'
18585 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'
18588 linux
* | k
*bsd
*-gnu)
18589 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18591 case $cc_basename,$host_cpu in
18592 pgcc
*) # Portland Group C compiler
18593 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'
18594 tmp_addflag
=' $pic_flag'
18596 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
18597 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'
18598 tmp_addflag
=' $pic_flag -Mnomain' ;;
18599 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18600 tmp_addflag
=' -i_dynamic' ;;
18601 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18602 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18603 ifc
* | ifort
*) # Intel Fortran compiler
18604 tmp_addflag
=' -nofor_main' ;;
18606 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18608 if test $supports_anon_versioning = yes; then
18609 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
18610 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18611 $echo "local: *; };" >> $output_objdir/$libname.ver~
18612 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18614 link_all_deplibs_GCJ
=no
18620 netbsd
* | netbsdelf
*-gnu)
18621 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18622 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18625 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18626 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18631 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
18635 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18636 *** create shared libraries on Solaris systems. Therefore, libtool
18637 *** is disabling shared libraries support. We urge you to upgrade GNU
18638 *** binutils to release 2.9.1 or newer. Another option is to modify
18639 *** your PATH or compiler configuration so that the native linker is
18640 *** used, and then restart.
18643 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18644 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18645 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18651 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18652 case `$LD -v 2>&1` in
18653 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
18657 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18658 *** reliably create shared libraries on SCO systems. Therefore, libtool
18659 *** is disabling shared libraries support. We urge you to upgrade GNU
18660 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18661 *** your PATH or compiler configuration so that the native linker is
18662 *** used, and then restart.
18667 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18668 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18669 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18670 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18679 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18681 hardcode_direct_GCJ
=yes
18682 hardcode_shlibpath_var_GCJ
=no
18686 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18687 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18688 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18695 if test "$ld_shlibs_GCJ" = no
; then
18697 hardcode_libdir_flag_spec_GCJ
=
18698 export_dynamic_flag_spec_GCJ
=
18699 whole_archive_flag_spec_GCJ
=
18702 # PORTME fill in a description of your system's linker (not GNU ld)
18705 allow_undefined_flag_GCJ
=unsupported
18706 always_export_symbols_GCJ
=yes
18707 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'
18708 # Note: this linker hardcodes the directories in LIBPATH if there
18709 # are no directories specified by -L.
18710 hardcode_minus_L_GCJ
=yes
18711 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18712 # Neither direct hardcoding nor static linking is supported with a
18714 hardcode_direct_GCJ
=unsupported
18719 if test "$host_cpu" = ia64
; then
18720 # On IA64, the linker does run time linking by default, so we don't
18721 # have to do anything special.
18722 aix_use_runtimelinking
=no
18723 exp_sym_flag
='-Bexport'
18726 # If we're using GNU nm, then we don't want the "-C" option.
18727 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18728 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
18729 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'
18731 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'
18733 aix_use_runtimelinking
=no
18735 # Test if we are trying to use run time linking or normal
18736 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18737 # need to do runtime linking.
18738 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
18739 for ld_flag
in $LDFLAGS; do
18740 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18741 aix_use_runtimelinking
=yes
18748 exp_sym_flag
='-bexport'
18749 no_entry_flag
='-bnoentry'
18752 # When large executables or shared objects are built, AIX ld can
18753 # have problems creating the table of contents. If linking a library
18754 # or program results in "error TOC overflow" add -mminimal-toc to
18755 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18756 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18758 archive_cmds_GCJ
=''
18759 hardcode_direct_GCJ
=yes
18760 hardcode_libdir_separator_GCJ
=':'
18761 link_all_deplibs_GCJ
=yes
18763 if test "$GCC" = yes; then
18764 case $host_os in aix4.
[012]|aix4.
[012].
*)
18765 # We only want to do this on AIX 4.2 and lower, the check
18766 # below for broken collect2 doesn't work under 4.3+
18767 collect2name
=`${CC} -print-prog-name=collect2`
18768 if test -f "$collect2name" && \
18769 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
18771 # We have reworked collect2
18772 hardcode_direct_GCJ
=yes
18774 # We have old collect2
18775 hardcode_direct_GCJ
=unsupported
18776 # It fails to find uninstalled libraries when the uninstalled
18777 # path is not listed in the libpath. Setting hardcode_minus_L
18778 # to unsupported forces relinking
18779 hardcode_minus_L_GCJ
=yes
18780 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18781 hardcode_libdir_separator_GCJ
=
18785 shared_flag
='-shared'
18786 if test "$aix_use_runtimelinking" = yes; then
18787 shared_flag
="$shared_flag "'${wl}-G'
18791 if test "$host_cpu" = ia64
; then
18792 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18793 # chokes on -Wl,-G. The following line is correct:
18796 if test "$aix_use_runtimelinking" = yes; then
18797 shared_flag
='${wl}-G'
18799 shared_flag
='${wl}-bM:SRE'
18804 # It seems that -bexpall does not export symbols beginning with
18805 # underscore (_), so it is better to generate a list of symbols to export.
18806 always_export_symbols_GCJ
=yes
18807 if test "$aix_use_runtimelinking" = yes; then
18808 # Warning - without using the other runtime loading flags (-brtl),
18809 # -berok will link without error, but may produce a broken library.
18810 allow_undefined_flag_GCJ
='-berok'
18811 # Determine the default libpath from the value encoded in an empty executable.
18812 cat >conftest.
$ac_ext <<_ACEOF
18815 cat confdefs.h
>>conftest.
$ac_ext
18816 cat >>conftest.
$ac_ext <<_ACEOF
18817 /* end confdefs.h. */
18827 rm -f conftest.
$ac_objext conftest
$ac_exeext
18828 if { (ac_try
="$ac_link"
18829 case "(($ac_try" in
18830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18831 *) ac_try_echo=$ac_try;;
18833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18834 (eval "$ac_link") 2>conftest.er1
18836 grep -v '^ *+' conftest.er1 >conftest.err
18838 cat conftest.err >&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } && {
18841 test -z "$ac_c_werror_flag" ||
18842 test ! -s conftest.err
18843 } && test -s conftest$ac_exeext &&
18844 $as_test_x conftest$ac_exeext; then
18846 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18848 # Check for a 64-bit object if we didn't find anything.
18849 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18852 echo "$as_me: failed program was:" >&5
18853 sed 's/^/| /' conftest.$ac_ext >&5
18858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18859 conftest$ac_exeext conftest.$ac_ext
18860 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18862 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18863 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"
18865 if test "$host_cpu" = ia64; then
18866 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18867 allow_undefined_flag_GCJ="-z nodefs"
18868 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"
18870 # Determine the default libpath from the value encoded in an empty executable.
18871 cat >conftest.$ac_ext <<_ACEOF
18874 cat confdefs.h >>conftest.$ac_ext
18875 cat >>conftest.$ac_ext <<_ACEOF
18876 /* end confdefs.h. */
18886 rm -f conftest.$ac_objext conftest$ac_exeext
18887 if { (ac_try="$ac_link"
18888 case "(($ac_try" in
18889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18890 *) ac_try_echo
=$ac_try;;
18892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18893 (eval "$ac_link") 2>conftest.er1
18895 grep -v '^ *+' conftest.er1
>conftest.err
18897 cat conftest.err
>&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); } && {
18900 test -z "$ac_c_werror_flag" ||
18901 test ! -s conftest.err
18902 } && test -s conftest
$ac_exeext &&
18903 $as_test_x conftest
$ac_exeext; then
18905 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18907 # Check for a 64-bit object if we didn't find anything.
18908 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18911 echo "$as_me: failed program was:" >&5
18912 sed 's/^/| /' conftest.
$ac_ext >&5
18917 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18918 conftest
$ac_exeext conftest.
$ac_ext
18919 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18921 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18922 # Warning - without using the other run time loading flags,
18923 # -berok will link without error, but may produce a broken library.
18924 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18925 allow_undefined_flag_GCJ
=' ${wl}-berok'
18926 # Exported symbols can be pulled into shared objects from archives
18927 whole_archive_flag_spec_GCJ
='$convenience'
18928 archive_cmds_need_lc_GCJ
=yes
18929 # This is similar to how AIX traditionally builds its shared libraries.
18930 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'
18936 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)'
18937 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18938 hardcode_minus_L_GCJ
=yes
18939 # see comment about different semantics on the GNU ld section
18944 export_dynamic_flag_spec_GCJ
=-rdynamic
18947 cygwin
* | mingw
* | pw32
*)
18948 # When not using gcc, we currently assume that we are using
18949 # Microsoft Visual C++.
18950 # hardcode_libdir_flag_spec is actually meaningless, as there is
18951 # no search path for DLLs.
18952 hardcode_libdir_flag_spec_GCJ
=' '
18953 allow_undefined_flag_GCJ
=unsupported
18954 # Tell ltmain to make .lib files, not .a files.
18956 # Tell ltmain to make .dll files, not .so files.
18958 # FIXME: Setting linknames here is a bad hack.
18959 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18960 # The linker will automatically build a .lib file if we build a DLL.
18961 old_archive_From_new_cmds_GCJ
='true'
18962 # FIXME: Should let the user specify the lib program.
18963 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
18964 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18965 enable_shared_with_static_runtimes_GCJ
=yes
18968 darwin
* | rhapsody
*)
18970 rhapsody
* | darwin1.
[012])
18971 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18974 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18975 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18977 case ${MACOSX_DEPLOYMENT_TARGET} in
18979 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18982 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18988 archive_cmds_need_lc_GCJ
=no
18989 hardcode_direct_GCJ
=no
18990 hardcode_automatic_GCJ
=yes
18991 hardcode_shlibpath_var_GCJ
=unsupported
18992 whole_archive_flag_spec_GCJ
=''
18993 link_all_deplibs_GCJ
=yes
18994 if test "$GCC" = yes ; then
18995 output_verbose_link_cmd
='echo'
18996 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18997 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18998 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18999 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19000 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}'
19002 case $cc_basename in
19004 output_verbose_link_cmd
='echo'
19005 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
19006 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19007 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19008 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19009 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}'
19019 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19020 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19021 hardcode_shlibpath_var_GCJ
=no
19028 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19029 # support. Future versions do this automatically, but an explicit c++rt0.o
19030 # does not break anything, and helps significantly (at the cost of a little
19033 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19034 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19035 hardcode_direct_GCJ
=yes
19036 hardcode_shlibpath_var_GCJ
=no
19039 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19041 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19042 hardcode_direct_GCJ
=yes
19043 hardcode_minus_L_GCJ
=yes
19044 hardcode_shlibpath_var_GCJ
=no
19047 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19048 freebsd
* | dragonfly
*)
19049 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19050 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19051 hardcode_direct_GCJ
=yes
19052 hardcode_shlibpath_var_GCJ
=no
19056 if test "$GCC" = yes; then
19057 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'
19059 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'
19061 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19062 hardcode_libdir_separator_GCJ
=:
19063 hardcode_direct_GCJ
=yes
19065 # hardcode_minus_L: Not really in the search PATH,
19066 # but as the default location of the library.
19067 hardcode_minus_L_GCJ
=yes
19068 export_dynamic_flag_spec_GCJ
='${wl}-E'
19072 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19073 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19075 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19077 if test "$with_gnu_ld" = no
; then
19078 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19079 hardcode_libdir_separator_GCJ
=:
19081 hardcode_direct_GCJ
=yes
19082 export_dynamic_flag_spec_GCJ
='${wl}-E'
19084 # hardcode_minus_L: Not really in the search PATH,
19085 # but as the default location of the library.
19086 hardcode_minus_L_GCJ
=yes
19091 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19094 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19097 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19100 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19106 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19109 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19112 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19116 if test "$with_gnu_ld" = no
; then
19117 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19118 hardcode_libdir_separator_GCJ
=:
19122 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
19123 hardcode_direct_GCJ
=no
19124 hardcode_shlibpath_var_GCJ
=no
19127 hardcode_direct_GCJ
=yes
19128 export_dynamic_flag_spec_GCJ
='${wl}-E'
19130 # hardcode_minus_L: Not really in the search PATH,
19131 # but as the default location of the library.
19132 hardcode_minus_L_GCJ
=yes
19138 irix5
* | irix6
* | nonstopux
*)
19139 if test "$GCC" = yes; then
19140 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'
19142 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'
19143 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
19145 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19146 hardcode_libdir_separator_GCJ
=:
19147 link_all_deplibs_GCJ
=yes
19150 netbsd
* | netbsdelf
*-gnu)
19151 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19152 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19154 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19156 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19157 hardcode_direct_GCJ
=yes
19158 hardcode_shlibpath_var_GCJ
=no
19162 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19163 hardcode_direct_GCJ
=yes
19164 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19165 hardcode_libdir_separator_GCJ
=:
19166 hardcode_shlibpath_var_GCJ
=no
19170 hardcode_direct_GCJ
=yes
19171 hardcode_shlibpath_var_GCJ
=no
19172 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19173 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19174 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19175 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19176 export_dynamic_flag_spec_GCJ
='${wl}-E'
19179 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
19180 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19181 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19184 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19185 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19192 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19193 hardcode_minus_L_GCJ
=yes
19194 allow_undefined_flag_GCJ
=unsupported
19195 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'
19196 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19200 if test "$GCC" = yes; then
19201 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19202 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'
19204 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19205 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'
19207 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19208 hardcode_libdir_separator_GCJ
=:
19211 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
19212 if test "$GCC" = yes; then
19213 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19214 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'
19215 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19217 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19218 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'
19219 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~
19220 $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'
19222 # Both c and cxx compiler support -rpath directly
19223 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
19225 hardcode_libdir_separator_GCJ
=:
19229 no_undefined_flag_GCJ
=' -z text'
19230 if test "$GCC" = yes; then
19232 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19233 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19234 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19237 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19238 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19239 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19241 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19242 hardcode_shlibpath_var_GCJ
=no
19244 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19246 # The compiler driver will combine linker options so we
19247 # cannot just pass the convience library names through
19248 # without $wl, iff we do not link with $LD.
19249 # Luckily, gcc supports the same syntax we need for Sun Studio.
19250 # Supported since Solaris 2.6 (maybe 2.5.1?)
19253 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
19255 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
19258 link_all_deplibs_GCJ
=yes
19262 if test "x$host_vendor" = xsequent
; then
19263 # Use $CC to link under sequent, because it throws in some extra .o
19264 # files that make .init and .fini sections work.
19265 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19267 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19269 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19270 hardcode_direct_GCJ
=yes
19271 hardcode_minus_L_GCJ
=yes
19272 hardcode_shlibpath_var_GCJ
=no
19276 case $host_vendor in
19278 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19279 hardcode_direct_GCJ
=yes # is this really true???
19282 ## LD is ld it makes a PLAMLIB
19283 ## CC just makes a GrossModule.
19284 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19285 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
19286 hardcode_direct_GCJ
=no
19289 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19290 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
19293 runpath_var
='LD_RUN_PATH'
19294 hardcode_shlibpath_var_GCJ
=no
19298 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19299 hardcode_shlibpath_var_GCJ
=no
19300 export_dynamic_flag_spec_GCJ
='-Bexport'
19304 if test -d /usr
/nec
; then
19305 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19306 hardcode_shlibpath_var_GCJ
=no
19307 runpath_var
=LD_RUN_PATH
19308 hardcode_runpath_var
=yes
19313 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
19314 no_undefined_flag_GCJ
='${wl}-z,text'
19315 archive_cmds_need_lc_GCJ
=no
19316 hardcode_shlibpath_var_GCJ
=no
19317 runpath_var
='LD_RUN_PATH'
19319 if test "$GCC" = yes; then
19320 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19321 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19323 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19324 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19328 sysv5
* | sco3.2v5
* | sco5v6
*)
19329 # Note: We can NOT use -z defs as we might desire, because we do not
19330 # link with -lc, and that would cause any symbols used from libc to
19331 # always be unresolved, which means just about no library would
19332 # ever link correctly. If we're not using GNU ld we use -z text
19333 # though, which does catch some bad symbols but isn't as heavy-handed
19335 no_undefined_flag_GCJ
='${wl}-z,text'
19336 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
19337 archive_cmds_need_lc_GCJ
=no
19338 hardcode_shlibpath_var_GCJ
=no
19339 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19340 hardcode_libdir_separator_GCJ
=':'
19341 link_all_deplibs_GCJ
=yes
19342 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
19343 runpath_var
='LD_RUN_PATH'
19345 if test "$GCC" = yes; then
19346 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19347 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19349 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19350 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19355 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19356 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19357 hardcode_shlibpath_var_GCJ
=no
19366 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19367 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19368 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
19371 # Do we need to explicitly link libc?
19373 case "x$archive_cmds_need_lc_GCJ" in
19375 # Assume -lc should be added
19376 archive_cmds_need_lc_GCJ
=yes
19378 if test "$enable_shared" = yes && test "$GCC" = yes; then
19379 case $archive_cmds_GCJ in
19381 # FIXME: we may have to deal with multi-command sequences.
19384 # Test whether the compiler implicitly links with -lc since on some
19385 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19386 # to ld, don't add -lc before -lgcc.
19387 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19388 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19390 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19393 (eval $ac_compile) 2>&5
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); } 2>conftest.err
; then
19399 libobjs
=conftest.
$ac_objext
19401 wl
=$lt_prog_compiler_wl_GCJ
19402 pic_flag
=$lt_prog_compiler_pic_GCJ
19408 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
19409 allow_undefined_flag_GCJ
=
19410 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19411 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }
19416 archive_cmds_need_lc_GCJ
=no
19418 archive_cmds_need_lc_GCJ
=yes
19420 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
19422 cat conftest.err
1>&5
19425 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19426 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19433 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19434 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19435 library_names_spec
=
19436 libname_spec
='lib$name'
19440 postuninstall_cmds
=
19444 shlibpath_overrides_runpath
=unknown
19446 dynamic_linker
="$host_os ld.so"
19447 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19448 if test "$GCC" = yes; then
19449 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19450 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19451 # if the path contains ";" then we assume it to be the separator
19452 # otherwise default to the standard path separator (i.e. ":") - it is
19453 # assumed that no part of a normal pathname contains ";" but that should
19454 # okay in the real world where ";" in dirpaths is itself problematic.
19455 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19457 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19460 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19462 need_lib_prefix
=unknown
19463 hardcode_into_libs
=no
19465 # when you set need_version to no, make sure it does not cause -set_version
19466 # flags to be left without arguments
19467 need_version
=unknown
19472 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19473 shlibpath_var
=LIBPATH
19475 # AIX 3 has no versioning support, so we append a major version to the name.
19476 soname_spec
='${libname}${release}${shared_ext}$major'
19483 hardcode_into_libs
=yes
19484 if test "$host_cpu" = ia64
; then
19485 # AIX 5 supports IA64
19486 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19487 shlibpath_var
=LD_LIBRARY_PATH
19489 # With GCC up to 2.95.x, collect2 would create an import file
19490 # for dependence libraries. The import file would start with
19491 # the line `#! .'. This would cause the generated library to
19492 # depend on `.', always an invalid library. This was fixed in
19493 # development snapshots of GCC prior to 3.0.
19495 aix4 | aix4.
[01] | aix4.
[01].
*)
19496 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19498 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
19501 can_build_shared
=no
19505 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19506 # soname into executable. Probably we can add versioning support to
19507 # collect2, so additional links can be useful in future.
19508 if test "$aix_use_runtimelinking" = yes; then
19509 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19510 # instead of lib<name>.a to let people know that these are not
19511 # typical AIX shared libraries.
19512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19514 # We preserve .a as extension for shared libraries through AIX4.2
19515 # and later when we are not doing run time linking.
19516 library_names_spec
='${libname}${release}.a $libname.a'
19517 soname_spec
='${libname}${release}${shared_ext}$major'
19519 shlibpath_var
=LIBPATH
19524 library_names_spec
='$libname.ixlibrary $libname.a'
19525 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19526 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'
19530 library_names_spec
='${libname}${shared_ext}'
19531 dynamic_linker
="$host_os ld.so"
19532 shlibpath_var
=LIBRARY_PATH
19538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19539 soname_spec
='${libname}${release}${shared_ext}$major'
19540 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19541 shlibpath_var
=LD_LIBRARY_PATH
19542 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19543 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19544 # the default ld.so.conf also contains /usr/contrib/lib and
19545 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19546 # libtool to hard-code these into programs
19549 cygwin
* | mingw
* | pw32
*)
19550 version_type
=windows
19555 case $GCC,$host_os in
19556 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
19557 library_names_spec
='$libname.dll.a'
19558 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19559 postinstall_cmds
='base_file=`basename \${file}`~
19560 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19561 dldir=$destdir/`dirname \$dlpath`~
19562 test -d \$dldir || mkdir -p \$dldir~
19563 $install_prog $dir/$dlname \$dldir/$dlname~
19564 chmod a+x \$dldir/$dlname'
19565 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19566 dlpath=$dir/\$dldll~
19568 shlibpath_overrides_runpath
=yes
19572 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19573 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19574 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19577 # MinGW DLLs use traditional 'lib' prefix
19578 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19579 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19580 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
19581 # It is most probably a Windows format PATH printed by
19582 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19583 # path with ; separators, and with drive letters. We can handle the
19584 # drive letters (cygwin fileutils understands them), so leave them,
19585 # especially as we might pass files found there to a mingw objdump,
19586 # which wouldn't understand a cygwinified path. Ahh.
19587 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19589 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19593 # pw32 DLLs use 'pw' prefix rather than 'lib'
19594 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19600 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19603 dynamic_linker
='Win32 ld.exe'
19604 # FIXME: first we should search . and the directory the executable is in
19608 darwin
* | rhapsody
*)
19609 dynamic_linker
="$host_os dyld"
19610 version_type
=darwin
19613 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19614 soname_spec
='${libname}${release}${major}$shared_ext'
19615 shlibpath_overrides_runpath
=yes
19616 shlibpath_var
=DYLD_LIBRARY_PATH
19617 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
19618 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19619 if test "$GCC" = yes; then
19620 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
19622 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
19624 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19632 soname_spec
='${libname}${release}${shared_ext}$major'
19633 shlibpath_var
=LD_LIBRARY_PATH
19640 freebsd
* | dragonfly
*)
19641 # DragonFly does not have aout. When/if they implement a new
19642 # versioning mechanism, adjust this.
19643 if test -x /usr
/bin
/objformat
; then
19644 objformat
=`/usr/bin/objformat`
19647 freebsd
[123]*) objformat
=aout
;;
19648 *) objformat
=elf
;;
19651 version_type
=freebsd-
$objformat
19652 case $version_type in
19654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19659 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19663 shlibpath_var
=LD_LIBRARY_PATH
19666 shlibpath_overrides_runpath
=yes
19668 freebsd3.
[01]* | freebsdelf3.
[01]*)
19669 shlibpath_overrides_runpath
=yes
19670 hardcode_into_libs
=yes
19672 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19673 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19674 shlibpath_overrides_runpath
=no
19675 hardcode_into_libs
=yes
19677 freebsd
*) # from 4.6 on
19678 shlibpath_overrides_runpath
=yes
19679 hardcode_into_libs
=yes
19688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19689 soname_spec
='${libname}${release}${shared_ext}$major'
19690 shlibpath_var
=LD_LIBRARY_PATH
19691 hardcode_into_libs
=yes
19694 hpux9
* | hpux10
* | hpux11
*)
19695 # Give a soname corresponding to the major version so that dld.sl refuses to
19696 # link against other versions.
19703 hardcode_into_libs
=yes
19704 dynamic_linker
="$host_os dld.so"
19705 shlibpath_var
=LD_LIBRARY_PATH
19706 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19708 soname_spec
='${libname}${release}${shared_ext}$major'
19709 if test "X$HPUX_IA64_MODE" = X32
; then
19710 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19712 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19714 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19718 hardcode_into_libs
=yes
19719 dynamic_linker
="$host_os dld.sl"
19720 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19721 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19723 soname_spec
='${libname}${release}${shared_ext}$major'
19724 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19725 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19729 dynamic_linker
="$host_os dld.sl"
19730 shlibpath_var
=SHLIB_PATH
19731 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19733 soname_spec
='${libname}${release}${shared_ext}$major'
19736 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19737 postinstall_cmds
='chmod 555 $lib'
19744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19745 soname_spec
='${libname}${release}${shared_ext}$major'
19746 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19747 shlibpath_var
=LD_LIBRARY_PATH
19748 shlibpath_overrides_runpath
=no
19749 hardcode_into_libs
=yes
19752 irix5
* | irix6
* | nonstopux
*)
19754 nonstopux
*) version_type
=nonstopux
;;
19756 if test "$lt_cv_prog_gnu_ld" = yes; then
19764 soname_spec
='${libname}${release}${shared_ext}$major'
19765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19767 irix5
* | nonstopux
*)
19768 libsuff
= shlibsuff
=
19771 case $LD in # libtool.m4 will add one of these switches to LD
19772 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
19773 libsuff
= shlibsuff
= libmagic
=32-bit;;
19774 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
19775 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19776 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
19777 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
19778 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
19782 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19783 shlibpath_overrides_runpath
=no
19784 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19785 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
19786 hardcode_into_libs
=yes
19789 # No shared lib support for Linux oldld, aout, or coff.
19790 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19794 # This must be Linux ELF.
19795 linux
* | k
*bsd
*-gnu)
19799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19800 soname_spec
='${libname}${release}${shared_ext}$major'
19801 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19802 shlibpath_var
=LD_LIBRARY_PATH
19803 shlibpath_overrides_runpath
=no
19804 # This implies no fast_install, which is unacceptable.
19805 # Some rework will be needed to allow for fast_install
19806 # before this can be enabled.
19807 hardcode_into_libs
=yes
19809 # Append ld.so.conf contents to the search path
19810 if test -f /etc
/ld.so.conf
; then
19811 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19812 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
19815 # We used to test for /lib/ld.so.1 and disable shared libraries on
19816 # powerpc, because MkLinux only supported shared libraries with the
19817 # GNU dynamic linker. Since this was broken with cross compilers,
19818 # most powerpc-linux boxes support dynamic linking these days and
19819 # people can always --disable-shared, the test was removed, and we
19820 # assume the GNU/Linux dynamic linker is in use.
19821 dynamic_linker
='GNU/Linux ld.so'
19828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19829 soname_spec
='${libname}${release}${shared_ext}$major'
19830 shlibpath_var
=LD_LIBRARY_PATH
19831 shlibpath_overrides_runpath
=no
19832 hardcode_into_libs
=yes
19833 dynamic_linker
='NetBSD ld.elf_so'
19840 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19842 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19843 dynamic_linker
='NetBSD (a.out) ld.so'
19845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19846 soname_spec
='${libname}${release}${shared_ext}$major'
19847 dynamic_linker
='NetBSD ld.elf_so'
19849 shlibpath_var
=LD_LIBRARY_PATH
19850 shlibpath_overrides_runpath
=yes
19851 hardcode_into_libs
=yes
19856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19857 shlibpath_var
=LD_LIBRARY_PATH
19858 shlibpath_overrides_runpath
=yes
19865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19866 soname_spec
='${libname}${release}${shared_ext}$major'
19867 shlibpath_var
=LD_LIBRARY_PATH
19868 shlibpath_overrides_runpath
=yes
19873 sys_lib_dlsearch_path_spec
="/usr/lib"
19875 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19877 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
19878 *) need_version
=no
;;
19880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19881 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19882 shlibpath_var
=LD_LIBRARY_PATH
19883 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19885 openbsd2.
[89] | openbsd2.
[89].
*)
19886 shlibpath_overrides_runpath
=no
19889 shlibpath_overrides_runpath
=yes
19893 shlibpath_overrides_runpath
=yes
19898 libname_spec
='$name'
19901 library_names_spec
='$libname${shared_ext} $libname.a'
19902 dynamic_linker
='OS/2 ld.exe'
19903 shlibpath_var
=LIBPATH
19906 osf3
* | osf4
* | osf5
*)
19910 soname_spec
='${libname}${release}${shared_ext}$major'
19911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19912 shlibpath_var
=LD_LIBRARY_PATH
19913 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19914 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19922 soname_spec
='${libname}${release}${shared_ext}$major'
19923 shlibpath_var
=LD_LIBRARY_PATH
19924 shlibpath_overrides_runpath
=yes
19925 hardcode_into_libs
=yes
19926 # ldd complains unless libraries are executable
19927 postinstall_cmds
='chmod +x $lib'
19932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19933 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19934 shlibpath_var
=LD_LIBRARY_PATH
19935 shlibpath_overrides_runpath
=yes
19936 if test "$with_gnu_ld" = yes; then
19944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19945 soname_spec
='${libname}${release}${shared_ext}$major'
19946 shlibpath_var
=LD_LIBRARY_PATH
19947 case $host_vendor in
19949 shlibpath_overrides_runpath
=no
19951 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19952 runpath_var
=LD_RUN_PATH
19960 shlibpath_overrides_runpath
=no
19961 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19967 if test -d /usr
/nec
;then
19969 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19970 soname_spec
='$libname${shared_ext}.$major'
19971 shlibpath_var
=LD_LIBRARY_PATH
19975 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19976 version_type
=freebsd-elf
19979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19980 soname_spec
='${libname}${release}${shared_ext}$major'
19981 shlibpath_var
=LD_LIBRARY_PATH
19982 hardcode_into_libs
=yes
19983 if test "$with_gnu_ld" = yes; then
19984 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19985 shlibpath_overrides_runpath
=no
19987 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19988 shlibpath_overrides_runpath
=yes
19991 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19995 sys_lib_dlsearch_path_spec
='/usr/lib'
20000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20001 soname_spec
='${libname}${release}${shared_ext}$major'
20002 shlibpath_var
=LD_LIBRARY_PATH
20009 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20010 echo "${ECHO_T}$dynamic_linker" >&6; }
20011 test "$dynamic_linker" = no
&& can_build_shared
=no
20013 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20014 if test "$GCC" = yes; then
20015 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20018 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20019 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20020 hardcode_action_GCJ
=
20021 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20022 test -n "$runpath_var_GCJ" || \
20023 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
20025 # We can hardcode non-existant directories.
20026 if test "$hardcode_direct_GCJ" != no
&&
20027 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20028 # have to relink, otherwise we might link with an installed library
20029 # when we should be linking with a yet-to-be-installed one
20030 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20031 test "$hardcode_minus_L_GCJ" != no
; then
20032 # Linking always hardcodes the temporary library directory.
20033 hardcode_action_GCJ
=relink
20035 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20036 hardcode_action_GCJ
=immediate
20039 # We cannot hardcode anything, or else we can only hardcode existing
20041 hardcode_action_GCJ
=unsupported
20043 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20044 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20046 if test "$hardcode_action_GCJ" = relink
; then
20047 # Fast installation is not supported
20048 enable_fast_install
=no
20049 elif test "$shlibpath_overrides_runpath" = yes ||
20050 test "$enable_shared" = no
; then
20051 # Fast installation is not necessary
20052 enable_fast_install
=needless
20056 # The else clause should only fire when bootstrapping the
20057 # libtool distribution, otherwise you forgot to ship ltmain.sh
20058 # with your package, and you will get complaints that there are
20059 # no rules to generate ltmain.sh.
20060 if test -f "$ltmain"; then
20061 # See if we are running on zsh, and set the options which allow our commands through
20062 # without removal of \ escapes.
20063 if test -n "${ZSH_VERSION+set}" ; then
20064 setopt NO_GLOB_SUBST
20066 # Now quote all the things that may contain metacharacters while being
20067 # careful not to overquote the AC_SUBSTed values. We take copies of the
20068 # variables and quote the copies for generation of the libtool script.
20069 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20071 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20072 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20073 deplibs_check_method reload_flag reload_cmds need_locks \
20074 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20075 lt_cv_sys_global_symbol_to_c_name_address \
20076 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20077 old_postinstall_cmds old_postuninstall_cmds \
20081 lt_prog_compiler_wl_GCJ \
20082 lt_prog_compiler_pic_GCJ \
20083 lt_prog_compiler_static_GCJ \
20084 lt_prog_compiler_no_builtin_flag_GCJ \
20085 export_dynamic_flag_spec_GCJ \
20086 thread_safe_flag_spec_GCJ \
20087 whole_archive_flag_spec_GCJ \
20088 enable_shared_with_static_runtimes_GCJ \
20089 old_archive_cmds_GCJ \
20090 old_archive_from_new_cmds_GCJ \
20091 predep_objects_GCJ \
20092 postdep_objects_GCJ \
20095 compiler_lib_search_path_GCJ \
20097 archive_expsym_cmds_GCJ \
20098 postinstall_cmds_GCJ \
20099 postuninstall_cmds_GCJ \
20100 old_archive_from_expsyms_cmds_GCJ \
20101 allow_undefined_flag_GCJ \
20102 no_undefined_flag_GCJ \
20103 export_symbols_cmds_GCJ \
20104 hardcode_libdir_flag_spec_GCJ \
20105 hardcode_libdir_flag_spec_ld_GCJ \
20106 hardcode_libdir_separator_GCJ \
20107 hardcode_automatic_GCJ \
20109 module_expsym_cmds_GCJ \
20110 lt_cv_prog_compiler_c_o_GCJ \
20111 exclude_expsyms_GCJ \
20112 include_expsyms_GCJ
; do
20115 old_archive_cmds_GCJ | \
20116 old_archive_from_new_cmds_GCJ | \
20117 archive_cmds_GCJ | \
20118 archive_expsym_cmds_GCJ | \
20119 module_cmds_GCJ | \
20120 module_expsym_cmds_GCJ | \
20121 old_archive_from_expsyms_cmds_GCJ | \
20122 export_symbols_cmds_GCJ | \
20123 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20124 postinstall_cmds | postuninstall_cmds | \
20125 old_postinstall_cmds | old_postuninstall_cmds | \
20126 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20127 # Double-quote double-evaled strings.
20128 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20131 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20137 *'\$0 --fallback-echo"')
20138 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20144 cat <<__EOF__ >> "$cfgfile"
20145 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20147 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20149 # Shell to use when invoking shell scripts.
20152 # Whether or not to build shared libraries.
20153 build_libtool_libs=$enable_shared
20155 # Whether or not to build static libraries.
20156 build_old_libs=$enable_static
20158 # Whether or not to add -lc for building shared libraries.
20159 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20161 # Whether or not to disallow shared libs when runtime libs are static
20162 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20164 # Whether or not to optimize for fast installation.
20165 fast_install=$enable_fast_install
20168 host_alias=$host_alias
20172 # The build system.
20173 build_alias=$build_alias
20177 # An echo program that does not interpret backslashes.
20182 AR_FLAGS=$lt_AR_FLAGS
20187 # LTCC compiler flags.
20188 LTCFLAGS=$lt_LTCFLAGS
20190 # A language-specific compiler.
20191 CC=$lt_compiler_GCJ
20193 # Is the compiler the GNU C compiler?
20199 # The linker used to build libraries.
20202 # Whether we need hard or soft links.
20205 # A BSD-compatible nm program.
20208 # A symbol stripping program
20211 # Used to examine libraries when file_magic_cmd begins "file"
20212 MAGIC_CMD=$MAGIC_CMD
20214 # Used on cygwin: DLL creation program.
20217 # Used on cygwin: object dumper.
20220 # Used on cygwin: assembler.
20223 # The name of the directory that contains temporary libtool files.
20226 # How to create reloadable object files.
20227 reload_flag=$lt_reload_flag
20228 reload_cmds=$lt_reload_cmds
20230 # How to pass a linker flag through the compiler.
20231 wl=$lt_lt_prog_compiler_wl_GCJ
20233 # Object file suffix (normally "o").
20234 objext="$ac_objext"
20236 # Old archive suffix (normally "a").
20239 # Shared library suffix (normally ".so").
20240 shrext_cmds='$shrext_cmds'
20242 # Executable file suffix (normally "").
20245 # Additional compiler flags for building library objects.
20246 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20249 # What is the maximum length of a command?
20250 max_cmd_len=$lt_cv_sys_max_cmd_len
20252 # Does compiler simultaneously support -c and -o options?
20253 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20255 # Must we lock files when doing compilation?
20256 need_locks=$lt_need_locks
20258 # Do we need the lib prefix for modules?
20259 need_lib_prefix=$need_lib_prefix
20261 # Do we need a version for libraries?
20262 need_version=$need_version
20264 # Whether dlopen is supported.
20265 dlopen_support=$enable_dlopen
20267 # Whether dlopen of programs is supported.
20268 dlopen_self=$enable_dlopen_self
20270 # Whether dlopen of statically linked programs is supported.
20271 dlopen_self_static=$enable_dlopen_self_static
20273 # Compiler flag to prevent dynamic linking.
20274 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20276 # Compiler flag to turn off builtin functions.
20277 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20279 # Compiler flag to allow reflexive dlopens.
20280 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20282 # Compiler flag to generate shared objects directly from archives.
20283 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20285 # Compiler flag to generate thread-safe objects.
20286 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20288 # Library versioning type.
20289 version_type=$version_type
20291 # Format of library name prefix.
20292 libname_spec=$lt_libname_spec
20294 # List of archive names. First name is the real one, the rest are links.
20295 # The last name is the one that the linker finds with -lNAME.
20296 library_names_spec=$lt_library_names_spec
20298 # The coded name of the library, if different from the real name.
20299 soname_spec=$lt_soname_spec
20301 # Commands used to build and install an old-style archive.
20303 old_archive_cmds=$lt_old_archive_cmds_GCJ
20304 old_postinstall_cmds=$lt_old_postinstall_cmds
20305 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20307 # Create an old-style archive from a shared archive.
20308 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20310 # Create a temporary old-style archive to link instead of a shared archive.
20311 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20313 # Commands used to build and install a shared archive.
20314 archive_cmds=$lt_archive_cmds_GCJ
20315 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20316 postinstall_cmds=$lt_postinstall_cmds
20317 postuninstall_cmds=$lt_postuninstall_cmds
20319 # Commands used to build a loadable module (assumed same as above if empty)
20320 module_cmds=$lt_module_cmds_GCJ
20321 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20323 # Commands to strip libraries.
20324 old_striplib=$lt_old_striplib
20325 striplib=$lt_striplib
20327 # Dependencies to place before the objects being linked to create a
20329 predep_objects=$lt_predep_objects_GCJ
20331 # Dependencies to place after the objects being linked to create a
20333 postdep_objects=$lt_postdep_objects_GCJ
20335 # Dependencies to place before the objects being linked to create a
20337 predeps=$lt_predeps_GCJ
20339 # Dependencies to place after the objects being linked to create a
20341 postdeps=$lt_postdeps_GCJ
20343 # The library search path used internally by the compiler when linking
20344 # a shared library.
20345 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20347 # Method to check whether dependent libraries are shared objects.
20348 deplibs_check_method=$lt_deplibs_check_method
20350 # Command to use when deplibs_check_method == file_magic.
20351 file_magic_cmd=$lt_file_magic_cmd
20353 # Flag that allows shared libraries with undefined symbols to be built.
20354 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20356 # Flag that forces no undefined symbols.
20357 no_undefined_flag=$lt_no_undefined_flag_GCJ
20359 # Commands used to finish a libtool library installation in a directory.
20360 finish_cmds=$lt_finish_cmds
20362 # Same as above, but a single script fragment to be evaled but not shown.
20363 finish_eval=$lt_finish_eval
20365 # Take the output of nm and produce a listing of raw symbols and C names.
20366 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20368 # Transform the output of nm in a proper C declaration
20369 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20371 # Transform the output of nm in a C name address pair
20372 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20374 # This is the shared library runtime path variable.
20375 runpath_var=$runpath_var
20377 # This is the shared library path variable.
20378 shlibpath_var=$shlibpath_var
20380 # Is shlibpath searched before the hard-coded library search path?
20381 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20383 # How to hardcode a shared library path into an executable.
20384 hardcode_action=$hardcode_action_GCJ
20386 # Whether we should hardcode library paths into libraries.
20387 hardcode_into_libs=$hardcode_into_libs
20389 # Flag to hardcode \$libdir into a binary during linking.
20390 # This must work even if \$libdir does not exist.
20391 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20393 # If ld is used when linking, flag to hardcode \$libdir into
20394 # a binary during linking. This must work even if \$libdir does
20396 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20398 # Whether we need a single -rpath flag with a separated argument.
20399 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20401 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20402 # resulting binary.
20403 hardcode_direct=$hardcode_direct_GCJ
20405 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20406 # resulting binary.
20407 hardcode_minus_L=$hardcode_minus_L_GCJ
20409 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20410 # the resulting binary.
20411 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20413 # Set to yes if building a shared library automatically hardcodes DIR into the library
20414 # and all subsequent libraries and executables linked against it.
20415 hardcode_automatic=$hardcode_automatic_GCJ
20417 # Variables whose values should be saved in libtool wrapper scripts and
20418 # restored at relink time.
20419 variables_saved_for_relink="$variables_saved_for_relink"
20421 # Whether libtool must link a program against all its dependency libraries.
20422 link_all_deplibs=$link_all_deplibs_GCJ
20424 # Compile-time system search path for libraries
20425 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20427 # Run-time system search path for libraries
20428 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20430 # Fix the shell variable \$srcfile for the compiler.
20431 fix_srcfile_path="$fix_srcfile_path_GCJ"
20433 # Set to yes if exported symbols are required.
20434 always_export_symbols=$always_export_symbols_GCJ
20436 # The commands to list exported symbols.
20437 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20439 # The commands to extract the exported symbol list from a shared archive.
20440 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20442 # Symbols that should not be listed in the preloaded symbols.
20443 exclude_expsyms=$lt_exclude_expsyms_GCJ
20445 # Symbols that must always be exported.
20446 include_expsyms=$lt_include_expsyms_GCJ
20448 # ### END LIBTOOL TAG CONFIG: $tagname
20454 # If there is no Makefile yet, we rely on a make rule to execute
20455 # `config.status --recheck' to rerun these tests and create the
20456 # libtool script then.
20457 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20458 if test -f "$ltmain_in"; then
20459 test -f Makefile
&& make "$ltmain"
20465 ac_cpp
='$CPP $CPPFLAGS'
20466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20480 # Source file extension for RC test sources.
20483 # Object file extension for compiled RC test sources.
20487 # Code to be used in simple compile tests
20488 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
20490 # Code to be used in simple link tests
20491 lt_simple_link_test_code
="$lt_simple_compile_test_code"
20493 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20495 # If no C compiler was specified, use CC.
20498 # If no C compiler flags were specified, use CFLAGS.
20499 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
20501 # Allow CC to be a program name with arguments.
20505 # save warnings/boilerplate of simple test code
20506 ac_outfile
=conftest.
$ac_objext
20507 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
20508 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20509 _lt_compiler_boilerplate
=`cat conftest.err`
20512 ac_outfile
=conftest.
$ac_objext
20513 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
20514 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20515 _lt_linker_boilerplate
=`cat conftest.err`
20519 # Allow CC to be a program name with arguments.
20524 for cc_temp
in $compiler""; do
20526 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
20527 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
20532 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20534 lt_cv_prog_compiler_c_o_RC
=yes
20536 # The else clause should only fire when bootstrapping the
20537 # libtool distribution, otherwise you forgot to ship ltmain.sh
20538 # with your package, and you will get complaints that there are
20539 # no rules to generate ltmain.sh.
20540 if test -f "$ltmain"; then
20541 # See if we are running on zsh, and set the options which allow our commands through
20542 # without removal of \ escapes.
20543 if test -n "${ZSH_VERSION+set}" ; then
20544 setopt NO_GLOB_SUBST
20546 # Now quote all the things that may contain metacharacters while being
20547 # careful not to overquote the AC_SUBSTed values. We take copies of the
20548 # variables and quote the copies for generation of the libtool script.
20549 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20551 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20552 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20553 deplibs_check_method reload_flag reload_cmds need_locks \
20554 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20555 lt_cv_sys_global_symbol_to_c_name_address \
20556 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20557 old_postinstall_cmds old_postuninstall_cmds \
20561 lt_prog_compiler_wl_RC \
20562 lt_prog_compiler_pic_RC \
20563 lt_prog_compiler_static_RC \
20564 lt_prog_compiler_no_builtin_flag_RC \
20565 export_dynamic_flag_spec_RC \
20566 thread_safe_flag_spec_RC \
20567 whole_archive_flag_spec_RC \
20568 enable_shared_with_static_runtimes_RC \
20569 old_archive_cmds_RC \
20570 old_archive_from_new_cmds_RC \
20571 predep_objects_RC \
20572 postdep_objects_RC \
20575 compiler_lib_search_path_RC \
20577 archive_expsym_cmds_RC \
20578 postinstall_cmds_RC \
20579 postuninstall_cmds_RC \
20580 old_archive_from_expsyms_cmds_RC \
20581 allow_undefined_flag_RC \
20582 no_undefined_flag_RC \
20583 export_symbols_cmds_RC \
20584 hardcode_libdir_flag_spec_RC \
20585 hardcode_libdir_flag_spec_ld_RC \
20586 hardcode_libdir_separator_RC \
20587 hardcode_automatic_RC \
20589 module_expsym_cmds_RC \
20590 lt_cv_prog_compiler_c_o_RC \
20591 exclude_expsyms_RC \
20592 include_expsyms_RC
; do
20595 old_archive_cmds_RC | \
20596 old_archive_from_new_cmds_RC | \
20597 archive_cmds_RC | \
20598 archive_expsym_cmds_RC | \
20600 module_expsym_cmds_RC | \
20601 old_archive_from_expsyms_cmds_RC | \
20602 export_symbols_cmds_RC | \
20603 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20604 postinstall_cmds | postuninstall_cmds | \
20605 old_postinstall_cmds | old_postuninstall_cmds | \
20606 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20607 # Double-quote double-evaled strings.
20608 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20611 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20617 *'\$0 --fallback-echo"')
20618 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20624 cat <<__EOF__ >> "$cfgfile"
20625 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20627 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20629 # Shell to use when invoking shell scripts.
20632 # Whether or not to build shared libraries.
20633 build_libtool_libs=$enable_shared
20635 # Whether or not to build static libraries.
20636 build_old_libs=$enable_static
20638 # Whether or not to add -lc for building shared libraries.
20639 build_libtool_need_lc=$archive_cmds_need_lc_RC
20641 # Whether or not to disallow shared libs when runtime libs are static
20642 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20644 # Whether or not to optimize for fast installation.
20645 fast_install=$enable_fast_install
20648 host_alias=$host_alias
20652 # The build system.
20653 build_alias=$build_alias
20657 # An echo program that does not interpret backslashes.
20662 AR_FLAGS=$lt_AR_FLAGS
20667 # LTCC compiler flags.
20668 LTCFLAGS=$lt_LTCFLAGS
20670 # A language-specific compiler.
20673 # Is the compiler the GNU C compiler?
20679 # The linker used to build libraries.
20682 # Whether we need hard or soft links.
20685 # A BSD-compatible nm program.
20688 # A symbol stripping program
20691 # Used to examine libraries when file_magic_cmd begins "file"
20692 MAGIC_CMD=$MAGIC_CMD
20694 # Used on cygwin: DLL creation program.
20697 # Used on cygwin: object dumper.
20700 # Used on cygwin: assembler.
20703 # The name of the directory that contains temporary libtool files.
20706 # How to create reloadable object files.
20707 reload_flag=$lt_reload_flag
20708 reload_cmds=$lt_reload_cmds
20710 # How to pass a linker flag through the compiler.
20711 wl=$lt_lt_prog_compiler_wl_RC
20713 # Object file suffix (normally "o").
20714 objext="$ac_objext"
20716 # Old archive suffix (normally "a").
20719 # Shared library suffix (normally ".so").
20720 shrext_cmds='$shrext_cmds'
20722 # Executable file suffix (normally "").
20725 # Additional compiler flags for building library objects.
20726 pic_flag=$lt_lt_prog_compiler_pic_RC
20729 # What is the maximum length of a command?
20730 max_cmd_len=$lt_cv_sys_max_cmd_len
20732 # Does compiler simultaneously support -c and -o options?
20733 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20735 # Must we lock files when doing compilation?
20736 need_locks=$lt_need_locks
20738 # Do we need the lib prefix for modules?
20739 need_lib_prefix=$need_lib_prefix
20741 # Do we need a version for libraries?
20742 need_version=$need_version
20744 # Whether dlopen is supported.
20745 dlopen_support=$enable_dlopen
20747 # Whether dlopen of programs is supported.
20748 dlopen_self=$enable_dlopen_self
20750 # Whether dlopen of statically linked programs is supported.
20751 dlopen_self_static=$enable_dlopen_self_static
20753 # Compiler flag to prevent dynamic linking.
20754 link_static_flag=$lt_lt_prog_compiler_static_RC
20756 # Compiler flag to turn off builtin functions.
20757 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20759 # Compiler flag to allow reflexive dlopens.
20760 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20762 # Compiler flag to generate shared objects directly from archives.
20763 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20765 # Compiler flag to generate thread-safe objects.
20766 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20768 # Library versioning type.
20769 version_type=$version_type
20771 # Format of library name prefix.
20772 libname_spec=$lt_libname_spec
20774 # List of archive names. First name is the real one, the rest are links.
20775 # The last name is the one that the linker finds with -lNAME.
20776 library_names_spec=$lt_library_names_spec
20778 # The coded name of the library, if different from the real name.
20779 soname_spec=$lt_soname_spec
20781 # Commands used to build and install an old-style archive.
20783 old_archive_cmds=$lt_old_archive_cmds_RC
20784 old_postinstall_cmds=$lt_old_postinstall_cmds
20785 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20787 # Create an old-style archive from a shared archive.
20788 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20790 # Create a temporary old-style archive to link instead of a shared archive.
20791 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20793 # Commands used to build and install a shared archive.
20794 archive_cmds=$lt_archive_cmds_RC
20795 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20796 postinstall_cmds=$lt_postinstall_cmds
20797 postuninstall_cmds=$lt_postuninstall_cmds
20799 # Commands used to build a loadable module (assumed same as above if empty)
20800 module_cmds=$lt_module_cmds_RC
20801 module_expsym_cmds=$lt_module_expsym_cmds_RC
20803 # Commands to strip libraries.
20804 old_striplib=$lt_old_striplib
20805 striplib=$lt_striplib
20807 # Dependencies to place before the objects being linked to create a
20809 predep_objects=$lt_predep_objects_RC
20811 # Dependencies to place after the objects being linked to create a
20813 postdep_objects=$lt_postdep_objects_RC
20815 # Dependencies to place before the objects being linked to create a
20817 predeps=$lt_predeps_RC
20819 # Dependencies to place after the objects being linked to create a
20821 postdeps=$lt_postdeps_RC
20823 # The library search path used internally by the compiler when linking
20824 # a shared library.
20825 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20827 # Method to check whether dependent libraries are shared objects.
20828 deplibs_check_method=$lt_deplibs_check_method
20830 # Command to use when deplibs_check_method == file_magic.
20831 file_magic_cmd=$lt_file_magic_cmd
20833 # Flag that allows shared libraries with undefined symbols to be built.
20834 allow_undefined_flag=$lt_allow_undefined_flag_RC
20836 # Flag that forces no undefined symbols.
20837 no_undefined_flag=$lt_no_undefined_flag_RC
20839 # Commands used to finish a libtool library installation in a directory.
20840 finish_cmds=$lt_finish_cmds
20842 # Same as above, but a single script fragment to be evaled but not shown.
20843 finish_eval=$lt_finish_eval
20845 # Take the output of nm and produce a listing of raw symbols and C names.
20846 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20848 # Transform the output of nm in a proper C declaration
20849 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20851 # Transform the output of nm in a C name address pair
20852 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20854 # This is the shared library runtime path variable.
20855 runpath_var=$runpath_var
20857 # This is the shared library path variable.
20858 shlibpath_var=$shlibpath_var
20860 # Is shlibpath searched before the hard-coded library search path?
20861 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20863 # How to hardcode a shared library path into an executable.
20864 hardcode_action=$hardcode_action_RC
20866 # Whether we should hardcode library paths into libraries.
20867 hardcode_into_libs=$hardcode_into_libs
20869 # Flag to hardcode \$libdir into a binary during linking.
20870 # This must work even if \$libdir does not exist.
20871 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20873 # If ld is used when linking, flag to hardcode \$libdir into
20874 # a binary during linking. This must work even if \$libdir does
20876 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20878 # Whether we need a single -rpath flag with a separated argument.
20879 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20881 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20882 # resulting binary.
20883 hardcode_direct=$hardcode_direct_RC
20885 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20886 # resulting binary.
20887 hardcode_minus_L=$hardcode_minus_L_RC
20889 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20890 # the resulting binary.
20891 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20893 # Set to yes if building a shared library automatically hardcodes DIR into the library
20894 # and all subsequent libraries and executables linked against it.
20895 hardcode_automatic=$hardcode_automatic_RC
20897 # Variables whose values should be saved in libtool wrapper scripts and
20898 # restored at relink time.
20899 variables_saved_for_relink="$variables_saved_for_relink"
20901 # Whether libtool must link a program against all its dependency libraries.
20902 link_all_deplibs=$link_all_deplibs_RC
20904 # Compile-time system search path for libraries
20905 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20907 # Run-time system search path for libraries
20908 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20910 # Fix the shell variable \$srcfile for the compiler.
20911 fix_srcfile_path="$fix_srcfile_path_RC"
20913 # Set to yes if exported symbols are required.
20914 always_export_symbols=$always_export_symbols_RC
20916 # The commands to list exported symbols.
20917 export_symbols_cmds=$lt_export_symbols_cmds_RC
20919 # The commands to extract the exported symbol list from a shared archive.
20920 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20922 # Symbols that should not be listed in the preloaded symbols.
20923 exclude_expsyms=$lt_exclude_expsyms_RC
20925 # Symbols that must always be exported.
20926 include_expsyms=$lt_include_expsyms_RC
20928 # ### END LIBTOOL TAG CONFIG: $tagname
20934 # If there is no Makefile yet, we rely on a make rule to execute
20935 # `config.status --recheck' to rerun these tests and create the
20936 # libtool script then.
20937 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20938 if test -f "$ltmain_in"; then
20939 test -f Makefile
&& make "$ltmain"
20945 ac_cpp
='$CPP $CPPFLAGS'
20946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20955 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20956 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20957 { (exit 1); exit 1; }; }
20961 # Append the new tag name to the list of available tags.
20962 if test -n "$tagname" ; then
20963 available_tags
="$available_tags $tagname"
20969 # Now substitute the updated list of available tags.
20970 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20971 mv "${ofile}T" "$ofile"
20975 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20976 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20977 { (exit 1); exit 1; }; }
20983 # This can be used to rebuild libtool when needed
20984 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20986 # Always use our own libtool.
20987 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20989 # Prevent multiple expansion
21012 ac_cpp
='$CXXCPP $CPPFLAGS'
21013 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21014 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21015 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21020 { echo "$as_me:$LINENO: checking for BARRY" >&5
21021 echo $ECHO_N "checking for BARRY... $ECHO_C" >&6; }
21023 if test -n "$PKG_CONFIG"; then
21024 if test -n "$BARRY_CFLAGS"; then
21025 pkg_cv_BARRY_CFLAGS
="$BARRY_CFLAGS"
21027 if test -n "$PKG_CONFIG" && \
21028 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbarry-0 libusb\"") >&5
21029 ($PKG_CONFIG --exists --print-errors "libbarry-0 libusb") 2>&5
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); }; then
21033 pkg_cv_BARRY_CFLAGS
=`$PKG_CONFIG --cflags "libbarry-0 libusb" 2>/dev/null`
21041 if test -n "$PKG_CONFIG"; then
21042 if test -n "$BARRY_LIBS"; then
21043 pkg_cv_BARRY_LIBS
="$BARRY_LIBS"
21045 if test -n "$PKG_CONFIG" && \
21046 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbarry-0 libusb\"") >&5
21047 ($PKG_CONFIG --exists --print-errors "libbarry-0 libusb") 2>&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); }; then
21051 pkg_cv_BARRY_LIBS
=`$PKG_CONFIG --libs "libbarry-0 libusb" 2>/dev/null`
21062 if test $pkg_failed = yes; then
21064 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21065 _pkg_short_errors_supported
=yes
21067 _pkg_short_errors_supported
=no
21069 if test $_pkg_short_errors_supported = yes; then
21070 BARRY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libbarry-0 libusb"`
21072 BARRY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libbarry-0 libusb"`
21074 # Put the nasty error message in config.log where it belongs
21075 echo "$BARRY_PKG_ERRORS" >&5
21077 { { echo "$as_me:$LINENO: error: Package requirements (libbarry-0 libusb) were not met:
21081 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21082 installed software in a non-standard prefix.
21084 Alternatively, you may set the environment variables BARRY_CFLAGS
21085 and BARRY_LIBS to avoid the need to call pkg-config.
21086 See the pkg-config man page for more details.
21088 echo "$as_me: error: Package requirements (libbarry-0 libusb) were not met:
21092 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21093 installed software in a non-standard prefix.
21095 Alternatively, you may set the environment variables BARRY_CFLAGS
21096 and BARRY_LIBS to avoid the need to call pkg-config.
21097 See the pkg-config man page for more details.
21099 { (exit 1); exit 1; }; }
21100 elif test $pkg_failed = untried
; then
21101 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21102 is in your PATH or set the PKG_CONFIG environment variable to the full
21103 path to pkg-config.
21105 Alternatively, you may set the environment variables BARRY_CFLAGS
21106 and BARRY_LIBS to avoid the need to call pkg-config.
21107 See the pkg-config man page for more details.
21109 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21110 See \`config.log' for more details." >&5
21111 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21112 is in your PATH or set the PKG_CONFIG environment variable to the full
21113 path to pkg-config.
21115 Alternatively, you may set the environment variables BARRY_CFLAGS
21116 and BARRY_LIBS to avoid the need to call pkg-config.
21117 See the pkg-config man page for more details.
21119 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21120 See \`config.log' for more details." >&2;}
21121 { (exit 1); exit 1; }; }
21123 BARRY_CFLAGS
=$pkg_cv_BARRY_CFLAGS
21124 BARRY_LIBS
=$pkg_cv_BARRY_LIBS
21125 { echo "$as_me:$LINENO: result: yes" >&5
21126 echo "${ECHO_T}yes" >&6; }
21130 OPENSYNC_CONFIGDIR
=$
(pkg-config
--variable=configdir opensync-1.0
)
21131 OPENSYNC_PLUGINDIR
=$
(pkg-config
--variable=plugindir opensync-1.0
)
21132 OPENSYNC_FORMATSDIR
=$
(pkg-config
--variable=formatsdir opensync-1.0
)
21133 OPENSYNC_HEADERDIR
=$
(pkg-config
--variable=headerdir opensync-1.0
)
21135 ## This is the place where you can install the default configuration files of your plugin
21136 ## This is the dir where you plugin will be installed
21137 ## Here are format plugins installed (if any)
21138 ## Here are the headers that a user interface may need (if any)
21140 ac_config_files
="$ac_config_files Makefile src/Makefile"
21142 cat >confcache
<<\_ACEOF
21143 # This file is a shell script that caches the results of configure
21144 # tests run on this system so they can be shared between configure
21145 # scripts and configure runs, see configure's option --config-cache.
21146 # It is not useful on other systems. If it contains results you don't
21147 # want to keep, you may remove or edit it.
21149 # config.status only pays attention to the cache file if you give it
21150 # the --recheck option to rerun configure.
21152 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21153 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21154 # following values.
21158 # The following way of writing the cache mishandles newlines in values,
21159 # but we know of no workaround that is simple, portable, and efficient.
21160 # So, we kill variables containing newlines.
21161 # Ultrix sh set writes to stderr and can't be redirected directly,
21162 # and sets the high bit in the cache file unless we assign to the vars.
21164 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21165 eval ac_val
=\$
$ac_var
21169 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21170 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21173 _ | IFS | as_nl
) ;; #(
21174 *) $as_unset $ac_var ;;
21180 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21181 *${as_nl}ac_space
=\
*)
21182 # `set' does not quote correctly, so add quotes (double-quote
21183 # substitution turns \\\\ into \\, and sed turns \\ into \).
21186 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21189 # `set' quotes correctly as required by POSIX, so do not add quotes.
21190 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21199 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21201 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21203 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21204 if test -w "$cache_file"; then
21205 test "x$cache_file" != "x/dev/null" &&
21206 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21207 echo "$as_me: updating cache $cache_file" >&6;}
21208 cat confcache
>$cache_file
21210 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21211 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21216 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21217 # Let make expand exec_prefix.
21218 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21220 DEFS
=-DHAVE_CONFIG_H
21224 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21225 # 1. Remove the extension, and $U if already installed.
21226 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21227 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21228 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21229 # will be set to the directory where LIBOBJS objects are built.
21230 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21231 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21233 LIBOBJS
=$ac_libobjs
21235 LTLIBOBJS
=$ac_ltlibobjs
21238 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21239 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21240 Usually this means the macro was only invoked conditionally." >&5
21241 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21242 Usually this means the macro was only invoked conditionally." >&2;}
21243 { (exit 1); exit 1; }; }
21245 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21246 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21247 Usually this means the macro was only invoked conditionally." >&5
21248 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21249 Usually this means the macro was only invoked conditionally." >&2;}
21250 { (exit 1); exit 1; }; }
21252 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21253 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21254 Usually this means the macro was only invoked conditionally." >&5
21255 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21256 Usually this means the macro was only invoked conditionally." >&2;}
21257 { (exit 1); exit 1; }; }
21259 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21260 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21261 Usually this means the macro was only invoked conditionally." >&5
21262 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21263 Usually this means the macro was only invoked conditionally." >&2;}
21264 { (exit 1); exit 1; }; }
21266 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21267 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21268 Usually this means the macro was only invoked conditionally." >&5
21269 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21270 Usually this means the macro was only invoked conditionally." >&2;}
21271 { (exit 1); exit 1; }; }
21274 : ${CONFIG_STATUS=./config.status}
21275 ac_clean_files_save
=$ac_clean_files
21276 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21277 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21278 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21279 cat >$CONFIG_STATUS <<_ACEOF
21281 # Generated by $as_me.
21282 # Run this file to recreate the current configuration.
21283 # Compiler output produced by configure, useful for debugging
21284 # configure, is in config.log if it exists.
21287 ac_cs_recheck=false
21289 SHELL=\${CONFIG_SHELL-$SHELL}
21292 cat >>$CONFIG_STATUS <<\_ACEOF
21293 ## --------------------- ##
21294 ## M4sh Initialization. ##
21295 ## --------------------- ##
21297 # Be more Bourne compatible
21298 DUALCASE
=1; export DUALCASE
# for MKS sh
21299 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21302 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21303 # is contrary to our usage. Disable this feature.
21304 alias -g '${1+"$@"}'='"$@"'
21305 setopt NO_GLOB_SUBST
21307 case `(set -o) 2>/dev/null` in
21308 *posix
*) set -o posix
;;
21317 # Avoid depending upon Character Ranges.
21318 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21319 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21320 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21321 as_cr_digits
='0123456789'
21322 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21324 # The user is always right.
21325 if test "${PATH_SEPARATOR+set}" != set; then
21326 echo "#! /bin/sh" >conf$$.sh
21327 echo "exit 0" >>conf$$.sh
21329 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21337 # Support unset when possible.
21338 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21346 # We need space, tab and new line, in precisely that order. Quoting is
21347 # there to prevent editors from complaining about space-tab.
21348 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21349 # splitting by setting IFS to empty value.)
21354 # Find who we are. Look in the path if we contain no directory separator.
21356 *[\\/]* ) as_myself
=$0 ;;
21357 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21358 for as_dir
in $PATH
21361 test -z "$as_dir" && as_dir
=.
21362 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21368 # We did not find ourselves, most probably we were run as `sh COMMAND'
21369 # in which case we are not to be found in the path.
21370 if test "x$as_myself" = x
; then
21373 if test ! -f "$as_myself"; then
21374 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21375 { (exit 1); exit 1; }
21378 # Work around bugs in pre-3.0 UWIN ksh.
21379 for as_var
in ENV MAIL MAILPATH
21380 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21388 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21389 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21390 LC_TELEPHONE LC_TIME
21392 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21393 eval $as_var=C
; export $as_var
21395 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21399 # Required to use basename.
21400 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21401 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21407 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21408 as_basename
=basename
21414 # Name of the executable.
21415 as_me
=`$as_basename -- "$0" ||
21416 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21417 X"$0" : 'X\(//\)$' \| \
21418 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21420 sed '/^.*\/\([^/][^/]*\)\/*$/{
21439 as_lineno_1
=$LINENO
21440 as_lineno_2
=$LINENO
21441 test "x$as_lineno_1" != "x$as_lineno_2" &&
21442 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21444 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21445 # uniformly replaced by the line number. The first 'sed' inserts a
21446 # line-number line after each line using $LINENO; the second 'sed'
21447 # does the real work. The second script uses 'N' to pair each
21448 # line-number line with the line containing $LINENO, and appends
21449 # trailing '-' during substitution so that $LINENO is not a special
21450 # case at line end.
21451 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21452 # scripts with optimization help from Paolo Bonzini. Blame Lee
21453 # E. McMahon (1931-1989) for sed's syntax. :-)
21465 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21468 ' >$as_me.lineno
&&
21469 chmod +x
"$as_me.lineno" ||
21470 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21471 { (exit 1); exit 1; }; }
21473 # Don't try to exec as it changes $[0], causing all sort of problems
21474 # (the dirname of $[0] is not the place where we might find the
21475 # original and so on. Autoconf is especially sensitive to this).
21476 .
"./$as_me.lineno"
21477 # Exit status is that of the last command.
21482 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21488 ECHO_C
= ECHO_N
= ECHO_T
=
21489 case `echo -n x` in
21491 case `echo 'x\c'` in
21492 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21499 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21500 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21506 rm -f conf$$ conf$$.exe conf$$.
file
21507 if test -d conf$$.dir
; then
21508 rm -f conf$$.dir
/conf$$.
file
21514 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21516 # ... but there are two gotchas:
21517 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21518 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21519 # In both cases, we have to default to `cp -p'.
21520 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21522 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21527 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21528 rmdir conf$$.dir
2>/dev
/null
21530 if mkdir
-p .
2>/dev
/null
; then
21533 test -d .
/-p && rmdir .
/-p
21537 if test -x / >/dev
/null
2>&1; then
21538 as_test_x
='test -x'
21540 if ls -dL / >/dev
/null
2>&1; then
21547 if test -d "$1"; then
21553 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21554 ???[sx]*):;;*)false;;esac;fi
21558 as_executable_p
=$as_test_x
21560 # Sed expression to map a string onto a valid CPP name.
21561 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21563 # Sed expression to map a string onto a valid variable name.
21564 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21569 # Save the log message, to keep $[0] and so on meaningful, and to
21570 # report actual input values of CONFIG_FILES etc. instead of their
21571 # values after options handling.
21573 This file was extended by Barry OpenSync Plugin $as_me 0.2, which was
21574 generated by GNU Autoconf 2.61. Invocation command line was
21576 CONFIG_FILES = $CONFIG_FILES
21577 CONFIG_HEADERS = $CONFIG_HEADERS
21578 CONFIG_LINKS = $CONFIG_LINKS
21579 CONFIG_COMMANDS = $CONFIG_COMMANDS
21582 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21587 cat >>$CONFIG_STATUS <<_ACEOF
21588 # Files that config.status was made for.
21589 config_files="$ac_config_files"
21590 config_headers="$ac_config_headers"
21591 config_commands="$ac_config_commands"
21595 cat >>$CONFIG_STATUS <<\_ACEOF
21597 \`$as_me' instantiates files from templates according to the
21598 current configuration.
21600 Usage: $0 [OPTIONS] [FILE]...
21602 -h, --help print this help, then exit
21603 -V, --version print version number and configuration settings, then exit
21604 -q, --quiet do not print progress messages
21605 -d, --debug don't remove temporary files
21606 --recheck update $as_me by reconfiguring in the same conditions
21607 --file=FILE[:TEMPLATE]
21608 instantiate the configuration file FILE
21609 --header=FILE[:TEMPLATE]
21610 instantiate the configuration header FILE
21612 Configuration files:
21615 Configuration headers:
21618 Configuration commands:
21621 Report bugs to <bug-autoconf@gnu.org>."
21624 cat >>$CONFIG_STATUS <<_ACEOF
21626 Barry OpenSync Plugin config.status 0.2
21627 configured by $0, generated by GNU Autoconf 2.61,
21628 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21630 Copyright (C) 2006 Free Software Foundation, Inc.
21631 This config.status script is free software; the Free Software Foundation
21632 gives unlimited permission to copy, distribute and modify it."
21639 cat >>$CONFIG_STATUS <<\_ACEOF
21640 # If no file are specified by the user, then we need to provide default
21641 # value. By we need to know if files were specified by the user.
21647 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21648 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21659 # Handling of the options.
21660 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21662 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21663 echo "$ac_cs_version"; exit ;;
21664 --debug |
--debu |
--deb |
--de |
--d |
-d )
21666 --file |
--fil |
--fi |
--f )
21668 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21669 ac_need_defaults
=false
;;
21670 --header |
--heade |
--head |
--hea )
21672 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21673 ac_need_defaults
=false
;;
21675 # Conflict between --help and --header
21676 { echo "$as_me: error: ambiguous option: $1
21677 Try \`$0 --help' for more information." >&2
21678 { (exit 1); exit 1; }; };;
21679 --help |
--hel |
-h )
21680 echo "$ac_cs_usage"; exit ;;
21681 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21682 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21685 # This is an error.
21686 -*) { echo "$as_me: error: unrecognized option: $1
21687 Try \`$0 --help' for more information." >&2
21688 { (exit 1); exit 1; }; } ;;
21690 *) ac_config_targets
="$ac_config_targets $1"
21691 ac_need_defaults
=false
;;
21697 ac_configure_extra_args
=
21699 if $ac_cs_silent; then
21701 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21705 cat >>$CONFIG_STATUS <<_ACEOF
21706 if \$ac_cs_recheck; then
21707 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21708 CONFIG_SHELL=$SHELL
21709 export CONFIG_SHELL
21710 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21714 cat >>$CONFIG_STATUS <<\_ACEOF
21718 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21719 ## Running $as_me. ##
21725 cat >>$CONFIG_STATUS <<_ACEOF
21729 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21733 cat >>$CONFIG_STATUS <<\_ACEOF
21735 # Handling of arguments.
21736 for ac_config_target
in $ac_config_targets
21738 case $ac_config_target in
21739 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21740 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21741 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21742 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
21744 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21745 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21746 { (exit 1); exit 1; }; };;
21751 # If the user did not use the arguments to specify the items to instantiate,
21752 # then the envvar interface is used. Set only those that are not.
21753 # We use the long form for the default assignment because of an extremely
21754 # bizarre bug on SunOS 4.1.3.
21755 if $ac_need_defaults; then
21756 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21757 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21758 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21761 # Have a temporary directory for convenience. Make it in the build tree
21762 # simply because there is no reason against having it here, and in addition,
21763 # creating and moving files from /tmp can sometimes cause problems.
21764 # Hook for its removal unless debugging.
21765 # Note that there is a small window in which the directory will not be cleaned:
21766 # after its creation but before its name has been assigned to `$tmp'.
21770 trap 'exit_status=$?
21771 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21773 trap '{ (exit 1); exit 1; }' 1 2 13 15
21775 # Create a (secure) tmp directory for tmp files.
21778 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21779 test -n "$tmp" && test -d "$tmp"
21782 tmp
=.
/conf$$
-$RANDOM
21783 (umask 077 && mkdir
"$tmp")
21786 echo "$me: cannot create a temporary directory in ." >&2
21787 { (exit 1); exit 1; }
21791 # Set up the sed scripts for CONFIG_FILES section.
21794 # No need to generate the scripts if there are no CONFIG_FILES.
21795 # This happens for instance when ./config.status config.h
21796 if test -n "$CONFIG_FILES"; then
21803 for ac_last_try
in false false false false false
:; do
21804 cat >conf$
$subs.
sed <<_ACEOF
21805 SHELL!$SHELL$ac_delim
21806 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21807 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21808 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21809 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21810 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21811 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21812 exec_prefix!$exec_prefix$ac_delim
21813 prefix!$prefix$ac_delim
21814 program_transform_name!$program_transform_name$ac_delim
21815 bindir!$bindir$ac_delim
21816 sbindir!$sbindir$ac_delim
21817 libexecdir!$libexecdir$ac_delim
21818 datarootdir!$datarootdir$ac_delim
21819 datadir!$datadir$ac_delim
21820 sysconfdir!$sysconfdir$ac_delim
21821 sharedstatedir!$sharedstatedir$ac_delim
21822 localstatedir!$localstatedir$ac_delim
21823 includedir!$includedir$ac_delim
21824 oldincludedir!$oldincludedir$ac_delim
21825 docdir!$docdir$ac_delim
21826 infodir!$infodir$ac_delim
21827 htmldir!$htmldir$ac_delim
21828 dvidir!$dvidir$ac_delim
21829 pdfdir!$pdfdir$ac_delim
21830 psdir!$psdir$ac_delim
21831 libdir!$libdir$ac_delim
21832 localedir!$localedir$ac_delim
21833 mandir!$mandir$ac_delim
21834 DEFS!$DEFS$ac_delim
21835 ECHO_C!$ECHO_C$ac_delim
21836 ECHO_N!$ECHO_N$ac_delim
21837 ECHO_T!$ECHO_T$ac_delim
21838 LIBS!$LIBS$ac_delim
21839 build_alias!$build_alias$ac_delim
21840 host_alias!$host_alias$ac_delim
21841 target_alias!$target_alias$ac_delim
21842 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21843 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21844 INSTALL_DATA!$INSTALL_DATA$ac_delim
21845 CYGPATH_W!$CYGPATH_W$ac_delim
21846 PACKAGE!$PACKAGE$ac_delim
21847 VERSION!$VERSION$ac_delim
21848 ACLOCAL!$ACLOCAL$ac_delim
21849 AUTOCONF!$AUTOCONF$ac_delim
21850 AUTOMAKE!$AUTOMAKE$ac_delim
21851 AUTOHEADER!$AUTOHEADER$ac_delim
21852 MAKEINFO!$MAKEINFO$ac_delim
21853 install_sh!$install_sh$ac_delim
21854 STRIP!$STRIP$ac_delim
21855 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21856 mkdir_p!$mkdir_p$ac_delim
21858 SET_MAKE!$SET_MAKE$ac_delim
21859 am__leading_dot!$am__leading_dot$ac_delim
21860 AMTAR!$AMTAR$ac_delim
21861 am__tar!$am__tar$ac_delim
21862 am__untar!$am__untar$ac_delim
21863 PKG_CONFIG!$PKG_CONFIG$ac_delim
21864 PACKAGE_CFLAGS!$PACKAGE_CFLAGS$ac_delim
21865 PACKAGE_LIBS!$PACKAGE_LIBS$ac_delim
21867 CFLAGS!$CFLAGS$ac_delim
21868 LDFLAGS!$LDFLAGS$ac_delim
21869 CPPFLAGS!$CPPFLAGS$ac_delim
21870 ac_ct_CC!$ac_ct_CC$ac_delim
21871 EXEEXT!$EXEEXT$ac_delim
21872 OBJEXT!$OBJEXT$ac_delim
21873 DEPDIR!$DEPDIR$ac_delim
21874 am__include!$am__include$ac_delim
21875 am__quote!$am__quote$ac_delim
21876 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21877 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21878 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21879 CCDEPMODE!$CCDEPMODE$ac_delim
21880 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21881 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21883 GREP!$GREP$ac_delim
21884 EGREP!$EGREP$ac_delim
21886 CXXFLAGS!$CXXFLAGS$ac_delim
21887 ac_ct_CXX!$ac_ct_CXX$ac_delim
21888 CXXDEPMODE!$CXXDEPMODE$ac_delim
21889 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21890 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21891 build!$build$ac_delim
21892 build_cpu!$build_cpu$ac_delim
21893 build_vendor!$build_vendor$ac_delim
21894 build_os!$build_os$ac_delim
21895 host!$host$ac_delim
21896 host_cpu!$host_cpu$ac_delim
21897 host_vendor!$host_vendor$ac_delim
21898 host_os!$host_os$ac_delim
21899 LN_S!$LN_S$ac_delim
21900 ECHO!$ECHO$ac_delim
21904 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21906 elif $ac_last_try; then
21907 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21908 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21909 { (exit 1); exit 1; }; }
21911 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21915 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21916 if test -n "$ac_eof"; then
21917 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21918 ac_eof
=`expr $ac_eof + 1`
21921 cat >>$CONFIG_STATUS <<_ACEOF
21922 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21923 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21926 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21927 s/^/s,@/; s/!/@,|#_!!_#|/
21930 s/'"$ac_delim"'$/,g/; t
21932 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21933 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21934 rm -f conf$
$subs.
sed
21935 cat >>$CONFIG_STATUS <<_ACEOF
21941 for ac_last_try
in false false false false false
:; do
21942 cat >conf$
$subs.
sed <<_ACEOF
21943 RANLIB!$RANLIB$ac_delim
21944 CXXCPP!$CXXCPP$ac_delim
21946 FFLAGS!$FFLAGS$ac_delim
21947 ac_ct_F77!$ac_ct_F77$ac_delim
21948 LIBTOOL!$LIBTOOL$ac_delim
21949 BARRY_CFLAGS!$BARRY_CFLAGS$ac_delim
21950 BARRY_LIBS!$BARRY_LIBS$ac_delim
21951 OPENSYNC_CONFIGDIR!$OPENSYNC_CONFIGDIR$ac_delim
21952 OPENSYNC_PLUGINDIR!$OPENSYNC_PLUGINDIR$ac_delim
21953 OPENSYNC_FORMATSDIR!$OPENSYNC_FORMATSDIR$ac_delim
21954 OPENSYNC_HEADERDIR!$OPENSYNC_HEADERDIR$ac_delim
21955 LIBOBJS!$LIBOBJS$ac_delim
21956 LTLIBOBJS!$LTLIBOBJS$ac_delim
21959 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
21961 elif $ac_last_try; then
21962 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21963 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21964 { (exit 1); exit 1; }; }
21966 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21970 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21971 if test -n "$ac_eof"; then
21972 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21973 ac_eof
=`expr $ac_eof + 1`
21976 cat >>$CONFIG_STATUS <<_ACEOF
21977 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21981 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21982 s/^/s,@/; s/!/@,|#_!!_#|/
21985 s/'"$ac_delim"'$/,g/; t
21987 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21988 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21989 rm -f conf$
$subs.
sed
21990 cat >>$CONFIG_STATUS <<_ACEOF
21997 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21998 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21999 # trailing colons and then remove the whole line if VPATH becomes empty
22000 # (actually we leave an empty line to preserve line numbers).
22001 if test "x$srcdir" = x.
; then
22002 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22003 s/:*\$(srcdir):*/:/
22004 s/:*\${srcdir}:*/:/
22006 s/^\([^=]*=[ ]*\):*/\1/
22012 cat >>$CONFIG_STATUS <<\_ACEOF
22013 fi # test -n "$CONFIG_FILES"
22016 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22019 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22021 case $ac_mode$ac_tag in
22023 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22024 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22025 { (exit 1); exit 1; }; };;
22026 :[FH
]-) ac_tag
=-:-;;
22027 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22044 -) ac_f
="$tmp/stdin";;
22045 *) # Look for the file first in the build tree, then in the source tree
22046 # (if the path is not absolute). The absolute path cannot be DOS-style,
22047 # because $ac_f cannot contain `:'.
22051 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22053 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22054 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22055 { (exit 1); exit 1; }; };;
22057 ac_file_inputs
="$ac_file_inputs $ac_f"
22060 # Let's still pretend it is `configure' which instantiates (i.e., don't
22061 # use $as_me), people would be surprised to read:
22062 # /* config.h. Generated by config.status. */
22063 configure_input
="Generated from "`IFS=:
22064 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22065 if test x
"$ac_file" != x-
; then
22066 configure_input
="$ac_file. $configure_input"
22067 { echo "$as_me:$LINENO: creating $ac_file" >&5
22068 echo "$as_me: creating $ac_file" >&6;}
22072 *:-:* |
*:-) cat >"$tmp/stdin";;
22077 ac_dir
=`$as_dirname -- "$ac_file" ||
22078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22079 X"$ac_file" : 'X\(//\)[^/]' \| \
22080 X"$ac_file" : 'X\(//\)$' \| \
22081 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22087 /^X\(\/\/\)[^/].*/{
22102 -*) as_dir
=.
/$as_dir;;
22104 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22108 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22109 *) as_qdir
=$as_dir;;
22111 as_dirs
="'$as_qdir' $as_dirs"
22112 as_dir
=`$as_dirname -- "$as_dir" ||
22113 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22114 X"$as_dir" : 'X\(//\)[^/]' \| \
22115 X"$as_dir" : 'X\(//\)$' \| \
22116 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22122 /^X\(\/\/\)[^/].*/{
22135 test -d "$as_dir" && break
22137 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22138 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22139 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22140 { (exit 1); exit 1; }; }; }
22144 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22146 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22147 # A ".." for each directory in $ac_dir_suffix.
22148 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22149 case $ac_top_builddir_sub in
22150 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22151 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22154 ac_abs_top_builddir
=$ac_pwd
22155 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22156 # for backward compatibility:
22157 ac_top_builddir
=$ac_top_build_prefix
22160 .
) # We are building in place.
22162 ac_top_srcdir
=$ac_top_builddir_sub
22163 ac_abs_top_srcdir
=$ac_pwd ;;
22164 [\\/]* | ?
:[\\/]* ) # Absolute name.
22165 ac_srcdir
=$srcdir$ac_dir_suffix;
22166 ac_top_srcdir
=$srcdir
22167 ac_abs_top_srcdir
=$srcdir ;;
22168 *) # Relative name.
22169 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22170 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22171 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22173 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22183 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22184 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22188 cat >>$CONFIG_STATUS <<\_ACEOF
22189 # If the template does not know about datarootdir, expand it.
22190 # FIXME: This hack should be removed a few years after 2.60.
22191 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22193 case `sed -n '/datarootdir/ {
22202 ' $ac_file_inputs` in
22203 *datarootdir
*) ac_datarootdir_seen
=yes;;
22204 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22205 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22206 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22208 cat >>$CONFIG_STATUS <<_ACEOF
22209 ac_datarootdir_hack='
22210 s&@datadir@&$datadir&g
22211 s&@docdir@&$docdir&g
22212 s&@infodir@&$infodir&g
22213 s&@localedir@&$localedir&g
22214 s&@mandir@&$mandir&g
22215 s&\\\${datarootdir}&$datarootdir&g' ;;
22219 # Neutralize VPATH when `$srcdir' = `.'.
22220 # Shell code in configure.ac might set extrasub.
22221 # FIXME: do we really want to maintain this feature?
22222 cat >>$CONFIG_STATUS <<_ACEOF
22226 cat >>$CONFIG_STATUS <<\_ACEOF
22228 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22229 s
&@configure_input@
&$configure_input&;t t
22230 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22231 s
&@srcdir@
&$ac_srcdir&;t t
22232 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22233 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22234 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22235 s
&@builddir@
&$ac_builddir&;t t
22236 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22237 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22238 s
&@INSTALL@
&$ac_INSTALL&;t t
22239 $ac_datarootdir_hack
22240 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22242 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22243 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22244 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22245 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22246 which seems to be undefined. Please make sure it is defined." >&5
22247 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22248 which seems to be undefined. Please make sure it is defined." >&2;}
22252 -) cat "$tmp/out"; rm -f "$tmp/out";;
22253 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22262 # Transform confdefs.h into a sed script `conftest.defines', that
22263 # substitutes the proper values into config.h.in to produce config.h.
22264 rm -f conftest.defines conftest.
tail
22265 # First, append a space to every undef/define line, to ease matching.
22266 echo 's/$/ /' >conftest.defines
22267 # Then, protect against being on the right side of a sed subst, or in
22268 # an unquoted here document, in config.status. If some macros were
22269 # called several times there might be several #defines for the same
22270 # symbol, which is useless. But do not sort them, since the last
22271 # AC_DEFINE must be honored.
22272 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22273 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22274 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22275 # PARAMS is the parameter list in the macro definition--in most cases, it's
22276 # just an empty string.
22277 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22278 ac_dB
='\\)[ (].*,\\1define\\2'
22286 s/^[ ]*#[ ]*define[ ][ ]*//
22291 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22292 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22293 ' >>conftest.defines
22295 # Remove the space that was appended to ease matching.
22296 # Then replace #undef with comments. This is necessary, for
22297 # example, in the case of _POSIX_SOURCE, which is predefined and required
22298 # on some systems where configure will not decide to define it.
22299 # (The regexp can be short, since the line contains either #define or #undef.)
22301 s,^[ #]*u.*,/* & */,' >>conftest.defines
22303 # Break up conftest.defines:
22304 ac_max_sed_lines
=50
22306 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22307 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22308 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22310 ac_in
='$ac_file_inputs'
22311 ac_out
='"$tmp/out1"'
22312 ac_nxt
='"$tmp/out2"'
22316 # Write a here document:
22317 cat >>$CONFIG_STATUS <<_ACEOF
22318 # First, check the format of the line:
22319 cat >"\$tmp/defines.sed" <<\\CEOF
22320 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22321 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22325 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22327 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22328 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22329 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22330 grep . conftest.
tail >/dev
/null ||
break
22331 rm -f conftest.defines
22332 mv conftest.
tail conftest.defines
22334 rm -f conftest.defines conftest.
tail
22336 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22337 cat >>$CONFIG_STATUS <<\_ACEOF
22338 if test x
"$ac_file" != x-
; then
22339 echo "/* $configure_input */" >"$tmp/config.h"
22340 cat "$ac_result" >>"$tmp/config.h"
22341 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22342 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22343 echo "$as_me: $ac_file is unchanged" >&6;}
22346 mv "$tmp/config.h" $ac_file
22349 echo "/* $configure_input */"
22353 # Compute $ac_file's index in $config_headers.
22355 for _am_header
in $config_headers :; do
22356 case $_am_header in
22357 $ac_file |
$ac_file:* )
22360 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22363 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22364 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22365 X$ac_file : 'X\(//\)[^/]' \| \
22366 X$ac_file : 'X\(//\)$' \| \
22367 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22373 /^X\(\/\/\)[^/].*/{
22385 s/.*/./; q'`/stamp-h
$_am_stamp_count
22388 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22389 echo "$as_me: executing $ac_file commands" >&6;}
22394 case $ac_file$ac_mode in
22395 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22396 # Strip MF so we end up with the name of the file.
22397 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22398 # Check whether this is an Automake generated Makefile or not.
22399 # We used to match only the files named `Makefile.in', but
22400 # some people rename them; so instead we look at the file content.
22401 # Grep'ing the first line is not enough: some people post-process
22402 # each Makefile.in and add a new line on top of each file to say so.
22403 # So let's grep whole file.
22404 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
22405 dirpart
=`$as_dirname -- "$mf" ||
22406 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22407 X"$mf" : 'X\(//\)[^/]' \| \
22408 X"$mf" : 'X\(//\)$' \| \
22409 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22415 /^X\(\/\/\)[^/].*/{
22431 # Extract the definition of DEPDIR, am__include, and am__quote
22432 # from the Makefile without running `make'.
22433 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22434 test -z "$DEPDIR" && continue
22435 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22436 test -z "am__include" && continue
22437 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22438 # When using ansi2knr, U may be empty or an underscore; expand it
22439 U
=`sed -n 's/^U = //p' < "$mf"`
22440 # Find all dependency output files, they are included files with
22441 # $(DEPDIR) in their names. We invoke sed twice because it is the
22442 # simplest approach to changing $(DEPDIR) to its actual value in the
22444 for file in `sed -n "
22445 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22446 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22447 # Make sure the directory exists.
22448 test -f "$dirpart/$file" && continue
22449 fdir
=`$as_dirname -- "$file" ||
22450 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22451 X"$file" : 'X\(//\)[^/]' \| \
22452 X"$file" : 'X\(//\)$' \| \
22453 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22459 /^X\(\/\/\)[^/].*/{
22472 { as_dir
=$dirpart/$fdir
22474 -*) as_dir
=.
/$as_dir;;
22476 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22480 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22481 *) as_qdir
=$as_dir;;
22483 as_dirs
="'$as_qdir' $as_dirs"
22484 as_dir
=`$as_dirname -- "$as_dir" ||
22485 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22486 X"$as_dir" : 'X\(//\)[^/]' \| \
22487 X"$as_dir" : 'X\(//\)$' \| \
22488 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22494 /^X\(\/\/\)[^/].*/{
22507 test -d "$as_dir" && break
22509 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22510 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22511 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22512 { (exit 1); exit 1; }; }; }
22513 # echo "creating $dirpart/$file"
22514 echo '# dummy' > "$dirpart/$file"
22523 { (exit 0); exit 0; }
22525 chmod +x
$CONFIG_STATUS
22526 ac_clean_files
=$ac_clean_files_save
22529 # configure is writing to config.log, and then calls config.status.
22530 # config.status does its own redirection, appending to config.log.
22531 # Unfortunately, on DOS this fails, as config.log is still kept open
22532 # by configure, so config.status won't be able to write to it; its
22533 # output is simply discarded. So we exec the FD to /dev/null,
22534 # effectively closing config.log, so it can be properly (re)opened and
22535 # appended to by config.status. When coming back to configure, we
22536 # need to make the FD available again.
22537 if test "$no_create" != yes; then
22539 ac_config_status_args
=
22540 test "$silent" = yes &&
22541 ac_config_status_args
="$ac_config_status_args --quiet"
22543 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22545 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22546 # would make configure fail if this is the last instruction.
22547 $ac_cs_success ||
{ (exit 1); exit 1; }