2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Barry OpenSync Plugin 0.4x 0.17.
5 # Report bugs to <barry-devel@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec
; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo
; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo
; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset
; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
599 echo_test_string
=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
619 for dir
in $PATH /usr
/ucb
; do
621 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho
; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL
=/bin
/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
660 SHELL
="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string
=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames
=${tagnames+${tagnames},}CXX
706 tagnames
=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev
/null
6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix
=/usr
/local
720 ac_config_libobj_dir
=.
726 SHELL
=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME
='Barry OpenSync Plugin 0.4x'
730 PACKAGE_TARNAME
='barry-opensync-plugin-0-4x'
731 PACKAGE_VERSION
='0.17'
732 PACKAGE_STRING
='Barry OpenSync Plugin 0.4x 0.17'
733 PACKAGE_BUGREPORT
='barry-devel@lists.sourceforge.net'
735 ac_unique_file
="src/barry_sync.cc"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
879 WITH_GCCVISIBILITY_TRUE
880 WITH_GCCVISIBILITY_FALSE
892 ac_precious_vars
='build_alias
914 # Initialize some variables set by options.
916 ac_init_version
=false
917 # The variables have the same names as the options, with
918 # dashes changed to underlines.
926 program_transform_name
=s
,x
,x
,
934 # Installation directory options.
935 # These are left unexpanded so users can "make install exec_prefix=/foo"
936 # and all the variables that are supposed to be based on exec_prefix
937 # by default will actually change.
938 # Use braces instead of parens because sh, perl, etc. also accept them.
939 # (The list follows the same order as the GNU Coding Standards.)
940 bindir
='${exec_prefix}/bin'
941 sbindir
='${exec_prefix}/sbin'
942 libexecdir
='${exec_prefix}/libexec'
943 datarootdir
='${prefix}/share'
944 datadir
='${datarootdir}'
945 sysconfdir
='${prefix}/etc'
946 sharedstatedir
='${prefix}/com'
947 localstatedir
='${prefix}/var'
948 includedir
='${prefix}/include'
949 oldincludedir
='/usr/include'
950 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
951 infodir
='${datarootdir}/info'
956 libdir
='${exec_prefix}/lib'
957 localedir
='${datarootdir}/locale'
958 mandir
='${datarootdir}/man'
964 # If the previous option needs an argument, assign it.
965 if test -n "$ac_prev"; then
966 eval $ac_prev=\
$ac_option
972 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
976 # Accept the important Cygnus configure options, so we can diagnose typos.
978 case $ac_dashdash$ac_option in
982 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
984 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
987 -build |
--build |
--buil |
--bui |
--bu)
988 ac_prev
=build_alias
;;
989 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
990 build_alias
=$ac_optarg ;;
992 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
993 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
994 ac_prev
=cache_file
;;
995 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
996 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
997 cache_file
=$ac_optarg ;;
1000 cache_file
=config.cache
;;
1002 -datadir |
--datadir |
--datadi |
--datad)
1004 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1005 datadir
=$ac_optarg ;;
1007 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1008 |
--dataroo |
--dataro |
--datar)
1009 ac_prev
=datarootdir
;;
1010 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1011 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1012 datarootdir
=$ac_optarg ;;
1014 -disable-* |
--disable-*)
1015 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1018 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1019 { (exit 1); exit 1; }; }
1020 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1021 eval enable_
$ac_feature=no
;;
1023 -docdir |
--docdir |
--docdi |
--doc |
--do)
1025 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1026 docdir
=$ac_optarg ;;
1028 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1030 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1031 dvidir
=$ac_optarg ;;
1033 -enable-* |
--enable-*)
1034 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1037 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1038 { (exit 1); exit 1; }; }
1039 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1040 eval enable_
$ac_feature=\
$ac_optarg ;;
1042 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1043 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1044 |
--exec |
--exe |
--ex)
1045 ac_prev
=exec_prefix
;;
1046 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1047 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1048 |
--exec=* |
--exe=* |
--ex=*)
1049 exec_prefix
=$ac_optarg ;;
1051 -gas |
--gas |
--ga |
--g)
1052 # Obsolete; use --with-gas.
1055 -help |
--help |
--hel |
--he |
-h)
1056 ac_init_help
=long
;;
1057 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1058 ac_init_help
=recursive
;;
1059 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1060 ac_init_help
=short
;;
1062 -host |
--host |
--hos |
--ho)
1063 ac_prev
=host_alias
;;
1064 -host=* |
--host=* |
--hos=* |
--ho=*)
1065 host_alias
=$ac_optarg ;;
1067 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1069 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1071 htmldir
=$ac_optarg ;;
1073 -includedir |
--includedir |
--includedi |
--included |
--include \
1074 |
--includ |
--inclu |
--incl |
--inc)
1075 ac_prev
=includedir
;;
1076 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1077 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1078 includedir
=$ac_optarg ;;
1080 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1082 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1083 infodir
=$ac_optarg ;;
1085 -libdir |
--libdir |
--libdi |
--libd)
1087 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1088 libdir
=$ac_optarg ;;
1090 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1091 |
--libexe |
--libex |
--libe)
1092 ac_prev
=libexecdir
;;
1093 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1094 |
--libexe=* |
--libex=* |
--libe=*)
1095 libexecdir
=$ac_optarg ;;
1097 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1098 ac_prev
=localedir
;;
1099 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1100 localedir
=$ac_optarg ;;
1102 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1103 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1104 ac_prev
=localstatedir
;;
1105 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1106 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1107 localstatedir
=$ac_optarg ;;
1109 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1111 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1112 mandir
=$ac_optarg ;;
1114 -nfp |
--nfp |
--nf)
1115 # Obsolete; use --without-fp.
1118 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1119 |
--no-cr |
--no-c |
-n)
1122 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1123 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1126 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1127 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1128 |
--oldin |
--oldi |
--old |
--ol |
--o)
1129 ac_prev
=oldincludedir
;;
1130 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1131 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1132 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1133 oldincludedir
=$ac_optarg ;;
1135 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1137 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1138 prefix
=$ac_optarg ;;
1140 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1141 |
--program-pre |
--program-pr |
--program-p)
1142 ac_prev
=program_prefix
;;
1143 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1144 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1145 program_prefix
=$ac_optarg ;;
1147 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1148 |
--program-suf |
--program-su |
--program-s)
1149 ac_prev
=program_suffix
;;
1150 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1151 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1152 program_suffix
=$ac_optarg ;;
1154 -program-transform-name |
--program-transform-name \
1155 |
--program-transform-nam |
--program-transform-na \
1156 |
--program-transform-n |
--program-transform- \
1157 |
--program-transform |
--program-transfor \
1158 |
--program-transfo |
--program-transf \
1159 |
--program-trans |
--program-tran \
1160 |
--progr-tra |
--program-tr |
--program-t)
1161 ac_prev
=program_transform_name
;;
1162 -program-transform-name=* |
--program-transform-name=* \
1163 |
--program-transform-nam=* |
--program-transform-na=* \
1164 |
--program-transform-n=* |
--program-transform-=* \
1165 |
--program-transform=* |
--program-transfor=* \
1166 |
--program-transfo=* |
--program-transf=* \
1167 |
--program-trans=* |
--program-tran=* \
1168 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1169 program_transform_name
=$ac_optarg ;;
1171 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1173 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1174 pdfdir
=$ac_optarg ;;
1176 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1178 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1181 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1182 |
-silent |
--silent |
--silen |
--sile |
--sil)
1185 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1187 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1189 sbindir
=$ac_optarg ;;
1191 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1192 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1193 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1195 ac_prev
=sharedstatedir
;;
1196 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1197 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1198 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1200 sharedstatedir
=$ac_optarg ;;
1202 -site |
--site |
--sit)
1204 -site=* |
--site=* |
--sit=*)
1207 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1209 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1210 srcdir
=$ac_optarg ;;
1212 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1213 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1214 ac_prev
=sysconfdir
;;
1215 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1216 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1217 sysconfdir
=$ac_optarg ;;
1219 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1220 ac_prev
=target_alias
;;
1221 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1222 target_alias
=$ac_optarg ;;
1224 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1227 -version |
--version |
--versio |
--versi |
--vers |
-V)
1228 ac_init_version
=: ;;
1231 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1232 # Reject names that are not valid shell variable names.
1233 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1234 { echo "$as_me: error: invalid package name: $ac_package" >&2
1235 { (exit 1); exit 1; }; }
1236 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1237 eval with_
$ac_package=\
$ac_optarg ;;
1239 -without-* |
--without-*)
1240 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1241 # Reject names that are not valid shell variable names.
1242 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1243 { echo "$as_me: error: invalid package name: $ac_package" >&2
1244 { (exit 1); exit 1; }; }
1245 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1246 eval with_
$ac_package=no
;;
1249 # Obsolete; use --with-x.
1252 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1253 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1254 ac_prev
=x_includes
;;
1255 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1256 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1257 x_includes
=$ac_optarg ;;
1259 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1260 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1261 ac_prev
=x_libraries
;;
1262 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1263 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1264 x_libraries
=$ac_optarg ;;
1266 -*) { echo "$as_me: error: unrecognized option: $ac_option
1267 Try \`$0 --help' for more information." >&2
1268 { (exit 1); exit 1; }; }
1272 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1275 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1276 { (exit 1); exit 1; }; }
1277 eval $ac_envvar=\
$ac_optarg
1278 export $ac_envvar ;;
1281 # FIXME: should be removed in autoconf 3.0.
1282 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1283 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1284 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1285 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1291 if test -n "$ac_prev"; then
1292 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1293 { echo "$as_me: error: missing argument to $ac_option" >&2
1294 { (exit 1); exit 1; }; }
1297 # Be sure to have absolute directory names.
1298 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1299 datadir sysconfdir sharedstatedir localstatedir includedir \
1300 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1301 libdir localedir mandir
1303 eval ac_val
=\$
$ac_var
1305 [\\/$
]* | ?
:[\\/]* ) continue;;
1306 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1308 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1309 { (exit 1); exit 1; }; }
1312 # There might be people who depend on the old broken behavior: `$host'
1313 # used to hold the argument of --host etc.
1314 # FIXME: To remove some day.
1317 target
=$target_alias
1319 # FIXME: To remove some day.
1320 if test "x$host_alias" != x
; then
1321 if test "x$build_alias" = x
; then
1322 cross_compiling
=maybe
1323 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1324 If a cross compiler is detected then cross compile mode will be used." >&2
1325 elif test "x$build_alias" != "x$host_alias"; then
1331 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1333 test "$silent" = yes && exec 6>/dev
/null
1336 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1337 ac_ls_di
=`ls -di .` &&
1338 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1339 { echo "$as_me: error: Working directory cannot be determined" >&2
1340 { (exit 1); exit 1; }; }
1341 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1342 { echo "$as_me: error: pwd does not report name of working directory" >&2
1343 { (exit 1); exit 1; }; }
1346 # Find the source files, if location was not specified.
1347 if test -z "$srcdir"; then
1348 ac_srcdir_defaulted
=yes
1349 # Try the directory containing this script, then the parent directory.
1350 ac_confdir
=`$as_dirname -- "$0" ||
1351 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1352 X"$0" : 'X\(//\)[^/]' \| \
1353 X"$0" : 'X\(//\)$' \| \
1354 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1374 if test ! -r "$srcdir/$ac_unique_file"; then
1378 ac_srcdir_defaulted
=no
1380 if test ! -r "$srcdir/$ac_unique_file"; then
1381 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1382 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1383 { (exit 1); exit 1; }; }
1385 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1387 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1388 { (exit 1); exit 1; }; }
1390 # When building in place, set srcdir=.
1391 if test "$ac_abs_confdir" = "$ac_pwd"; then
1394 # Remove unnecessary trailing slashes from srcdir.
1395 # Double slashes in file names in object file debugging info
1396 # mess up M-x gdb in Emacs.
1398 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1400 for ac_var
in $ac_precious_vars; do
1401 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1402 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1403 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1404 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1408 # Report the --help message.
1410 if test "$ac_init_help" = "long"; then
1411 # Omit some internal or obsolete options to make the list less imposing.
1412 # This message is too long to be a string in the A/UX 3.1 sh.
1414 \`configure' configures Barry OpenSync Plugin 0.4x 0.17 to adapt to many kinds of systems.
1416 Usage: $0 [OPTION]... [VAR=VALUE]...
1418 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1419 VAR=VALUE. See below for descriptions of some of the useful variables.
1421 Defaults for the options are specified in brackets.
1424 -h, --help display this help and exit
1425 --help=short display options specific to this package
1426 --help=recursive display the short help of all the included packages
1427 -V, --version display version information and exit
1428 -q, --quiet, --silent do not print \`checking...' messages
1429 --cache-file=FILE cache test results in FILE [disabled]
1430 -C, --config-cache alias for \`--cache-file=config.cache'
1431 -n, --no-create do not create output files
1432 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1434 Installation directories:
1435 --prefix=PREFIX install architecture-independent files in PREFIX
1436 [$ac_default_prefix]
1437 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1440 By default, \`make install' will install all the files in
1441 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1442 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1443 for instance \`--prefix=\$HOME'.
1445 For better control, use the options below.
1447 Fine tuning of the installation directories:
1448 --bindir=DIR user executables [EPREFIX/bin]
1449 --sbindir=DIR system admin executables [EPREFIX/sbin]
1450 --libexecdir=DIR program executables [EPREFIX/libexec]
1451 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1452 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1453 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1454 --libdir=DIR object code libraries [EPREFIX/lib]
1455 --includedir=DIR C header files [PREFIX/include]
1456 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1457 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1458 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1459 --infodir=DIR info documentation [DATAROOTDIR/info]
1460 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1461 --mandir=DIR man documentation [DATAROOTDIR/man]
1462 --docdir=DIR documentation root [DATAROOTDIR/doc/barry-opensync-plugin-0-4x]
1463 --htmldir=DIR html documentation [DOCDIR]
1464 --dvidir=DIR dvi documentation [DOCDIR]
1465 --pdfdir=DIR pdf documentation [DOCDIR]
1466 --psdir=DIR ps documentation [DOCDIR]
1472 --program-prefix=PREFIX prepend PREFIX to installed program names
1473 --program-suffix=SUFFIX append SUFFIX to installed program names
1474 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1477 --build=BUILD configure
for building on BUILD
[guessed
]
1478 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1482 if test -n "$ac_init_help"; then
1483 case $ac_init_help in
1484 short | recursive
) echo "Configuration of Barry OpenSync Plugin 0.4x 0.17:";;
1489 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1490 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1491 --disable-dependency-tracking speeds up one-time build
1492 --enable-dependency-tracking do not reject slow dependency extractors
1493 --enable-static[=PKGS
] build static libraries
[default
=no
]
1494 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1495 --enable-fast-install[=PKGS
]
1496 optimize
for fast installation
[default
=yes]
1497 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1500 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1501 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1502 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1503 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1505 --with-tags[=TAGS
] include additional configurations
[automatic
]
1507 Some influential environment variables
:
1508 PKG_CONFIG path to pkg-config utility
1510 C compiler flags
for PACKAGE
, overriding pkg-config
1512 linker flags
for PACKAGE
, overriding pkg-config
1513 CC C compiler
command
1514 CFLAGS C compiler flags
1515 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1516 nonstandard directory
<lib dir
>
1517 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1518 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1519 you have headers
in a nonstandard directory
<include dir
>
1521 CXX C
++ compiler
command
1522 CXXFLAGS C
++ compiler flags
1523 CXXCPP C
++ preprocessor
1524 F77 Fortran
77 compiler
command
1525 FFLAGS Fortran
77 compiler flags
1527 C compiler flags
for BARRY
, overriding pkg-config
1528 BARRY_LIBS linker flags
for BARRY
, overriding pkg-config
1530 Use these variables to override the choices made by
`configure' or to help
1531 it to find libraries and programs with nonstandard names/locations.
1533 Report bugs to <barry-devel@lists.sourceforge.net>.
1538 if test "$ac_init_help" = "recursive"; then
1539 # If there are subdirs, report their specific --help.
1540 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1541 test -d "$ac_dir" || continue
1545 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1548 # A ".." for each directory in $ac_dir_suffix.
1549 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1550 case $ac_top_builddir_sub in
1551 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1552 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1555 ac_abs_top_builddir=$ac_pwd
1556 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1557 # for backward compatibility:
1558 ac_top_builddir=$ac_top_build_prefix
1561 .) # We are building in place.
1563 ac_top_srcdir=$ac_top_builddir_sub
1564 ac_abs_top_srcdir=$ac_pwd ;;
1565 [\\/]* | ?:[\\/]* ) # Absolute name.
1566 ac_srcdir=$srcdir$ac_dir_suffix;
1567 ac_top_srcdir=$srcdir
1568 ac_abs_top_srcdir=$srcdir ;;
1570 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1571 ac_top_srcdir=$ac_top_build_prefix$srcdir
1572 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1574 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1576 cd "$ac_dir" || { ac_status=$?; continue; }
1577 # Check for guested configure.
1578 if test -f "$ac_srcdir/configure.gnu"; then
1580 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1581 elif test -f "$ac_srcdir/configure"; then
1583 $SHELL "$ac_srcdir/configure" --help=recursive
1585 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1587 cd "$ac_pwd" || { ac_status=$?; break; }
1591 test -n "$ac_init_help" && exit $ac_status
1592 if $ac_init_version; then
1594 Barry OpenSync Plugin 0.4x configure 0.17
1595 generated by GNU Autoconf 2.61
1597 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1598 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1599 This configure script is free software; the Free Software Foundation
1600 gives unlimited permission to copy, distribute and modify it.
1604 cat >config.log <<_ACEOF
1605 This file contains any messages produced by compilers while
1606 running configure, to aid debugging if configure makes a mistake.
1608 It was created by Barry OpenSync Plugin 0.4x $as_me 0.17, which was
1609 generated by GNU Autoconf 2.61. Invocation command line was
1621 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1622 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1623 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1624 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1625 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1627 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1628 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1630 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1631 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1632 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1633 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1634 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1635 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1636 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1644 test -z "$as_dir" && as_dir=.
1645 echo "PATH: $as_dir"
1661 # Keep a trace of the command line.
1662 # Strip out --no-create and --no-recursion so they do not pile up.
1663 # Strip out --silent because we don't want to record it for future runs.
1664 # Also quote any args containing shell meta-characters.
1665 # Make two passes to allow for proper duplicate-argument suppression.
1669 ac_must_keep_next=false
1675 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1676 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1677 | -silent | --silent | --silen | --sile | --sil)
1680 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1683 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1685 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1686 if test $ac_must_keep_next = true; then
1687 ac_must_keep_next=false # Got value, back to normal.
1690 *=* | --config-cache | -C | -disable-* | --disable-* \
1691 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1692 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1693 | -with-* | --with-* | -without-* | --without-* | --x)
1694 case "$ac_configure_args0 " in
1695 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1698 -* ) ac_must_keep_next=true ;;
1701 ac_configure_args="$ac_configure_args '$ac_arg'"
1706 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1707 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1709 # When interrupted or exit'd, cleanup temporary files, and complete
1710 # config.log. We remove comments because anyway the quotes in there
1711 # would cause problems or look ugly.
1712 # WARNING: Use '\'' to represent an apostrophe within the trap.
1713 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1714 trap 'exit_status=$?
1715 # Save into config.log some information that might help in debugging.
1720 ## ---------------- ##
1721 ## Cache variables. ##
1722 ## ---------------- ##
1725 # The following way of writing the cache mishandles newlines in values,
1727 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1728 eval ac_val=\$$ac_var
1732 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1733 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1736 _ | IFS | as_nl) ;; #(
1737 *) $as_unset $ac_var ;;
1742 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1743 *${as_nl}ac_space=\ *)
1745 "s/'\''/'\''\\\\'\'''\''/g;
1746 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1749 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1757 ## ----------------- ##
1758 ## Output variables. ##
1759 ## ----------------- ##
1762 for ac_var in $ac_subst_vars
1764 eval ac_val=\$$ac_var
1766 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1768 echo "$ac_var='\''$ac_val'\''"
1772 if test -n "$ac_subst_files"; then
1774 ## ------------------- ##
1775 ## File substitutions. ##
1776 ## ------------------- ##
1779 for ac_var in $ac_subst_files
1781 eval ac_val=\$$ac_var
1783 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1785 echo "$ac_var='\''$ac_val'\''"
1790 if test -s confdefs.h; then
1800 test "$ac_signal" != 0 &&
1801 echo "$as_me: caught signal $ac_signal"
1802 echo "$as_me: exit $exit_status"
1804 rm -f core *.core core.conftest.* &&
1805 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1808 for ac_signal in 1 2 13 15; do
1809 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1813 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1814 rm -f -r conftest* confdefs.h
1816 # Predefined preprocessor variables.
1818 cat >>confdefs.h <<_ACEOF
1819 #define PACKAGE_NAME "$PACKAGE_NAME"
1823 cat >>confdefs.h <<_ACEOF
1824 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1828 cat >>confdefs.h <<_ACEOF
1829 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1833 cat >>confdefs.h <<_ACEOF
1834 #define PACKAGE_STRING "$PACKAGE_STRING"
1838 cat >>confdefs.h <<_ACEOF
1839 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1843 # Let the site file select an alternate cache file if it wants to.
1844 # Prefer explicitly selected file to automatically selected ones.
1845 if test -n "$CONFIG_SITE"; then
1846 set x "$CONFIG_SITE"
1847 elif test "x$prefix" != xNONE; then
1848 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1850 set x "$ac_default_prefix/share/config.site" \
1851 "$ac_default_prefix/etc/config.site"
1856 if test -r "$ac_site_file"; then
1857 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1858 echo "$as_me: loading site script $ac_site_file" >&6;}
1859 sed 's/^/| /' "$ac_site_file" >&5
1864 if test -r "$cache_file"; then
1865 # Some versions of bash will fail to source /dev/null (special
1866 # files actually), so we avoid doing that.
1867 if test -f "$cache_file"; then
1868 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1869 echo "$as_me: loading cache $cache_file" >&6;}
1871 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1872 *) . "./$cache_file";;
1876 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1877 echo "$as_me: creating cache $cache_file" >&6;}
1881 # Check that the precious variables saved in the cache have kept the same
1883 ac_cache_corrupted=false
1884 for ac_var in $ac_precious_vars; do
1885 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1886 eval ac_new_set=\$ac_env_${ac_var}_set
1887 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1888 eval ac_new_val=\$ac_env_${ac_var}_value
1889 case $ac_old_set,$ac_new_set in
1891 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1892 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1893 ac_cache_corrupted=: ;;
1895 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1896 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1897 ac_cache_corrupted=: ;;
1900 if test "x$ac_old_val" != "x$ac_new_val"; then
1901 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1902 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1903 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1904 echo "$as_me: former value
: $ac_old_val" >&2;}
1905 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1906 echo "$as_me: current value
: $ac_new_val" >&2;}
1907 ac_cache_corrupted=:
1910 # Pass precious variables to config.status.
1911 if test "$ac_new_set" = set; then
1913 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1914 *) ac_arg=$ac_var=$ac_new_val ;;
1916 case " $ac_configure_args " in
1917 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1918 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1922 if $ac_cache_corrupted; then
1923 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1924 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1925 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1926 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1927 { (exit 1); exit 1; }; }
1955 ac_cpp='$CPP $CPPFLAGS'
1956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1962 ac_config_headers="$ac_config_headers config.h"
1965 for ac_dir in . "$srcdir"/.; do
1966 if test -f "$ac_dir/install-sh"; then
1968 ac_install_sh="$ac_aux_dir/install-sh -c"
1970 elif test -f "$ac_dir/install.sh"; then
1972 ac_install_sh="$ac_aux_dir/install.sh -c"
1974 elif test -f "$ac_dir/shtool"; then
1976 ac_install_sh="$ac_aux_dir/shtool install -c"
1980 if test -z "$ac_aux_dir"; then
1981 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
1982 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
1983 { (exit 1); exit 1; }; }
1986 # These three variables are undocumented and unsupported,
1987 # and are intended to be withdrawn in a future Autoconf release.
1988 # They can cause serious problems if a builder's source tree is in a directory
1989 # whose full name contains unusual characters.
1990 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1991 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1992 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1996 am__api_version='1.10'
1998 # Find a good install program. We prefer a C program (faster),
1999 # so one script is as good as another. But avoid the broken or
2000 # incompatible versions:
2001 # SysV /etc/install, /usr/sbin/install
2002 # SunOS /usr/etc/install
2003 # IRIX /sbin/install
2005 # AmigaOS /C/install, which installs bootblocks on floppy discs
2006 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2007 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2008 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2009 # OS/2's system install, which has a completely different semantic
2010 # ./install, which can be erroneously created by make from ./install.sh.
2011 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2012 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2013 if test -z "$INSTALL"; then
2014 if test "${ac_cv_path_install+set}" = set; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2021 test -z "$as_dir" && as_dir=.
2022 # Account for people who put trailing slashes in PATH elements.
2024 ./ | .// | /cC/* | \
2025 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2026 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2029 # OSF1 and SCO ODT 3.0 have their own names for install.
2030 # Don't use installbsd from OSF since it installs stuff as root
2032 for ac_prog in ginstall scoinst install; do
2033 for ac_exec_ext in '' $ac_executable_extensions; do
2034 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2035 if test $ac_prog = install &&
2036 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2037 # AIX install. It has an incompatible calling convention.
2039 elif test $ac_prog = install &&
2040 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2041 # program-specific install script used by HP pwplus--don't use.
2044 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2057 if test "${ac_cv_path_install+set}" = set; then
2058 INSTALL=$ac_cv_path_install
2060 # As a last resort, use the slow shell script. Don't cache a
2061 # value for INSTALL within a source directory, because that will
2062 # break other packages using the cache if that directory is
2063 # removed, or if the value is a relative name.
2064 INSTALL=$ac_install_sh
2067 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2068 echo "${ECHO_T}$INSTALL" >&6; }
2070 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2071 # It thinks the first close brace ends the variable substitution.
2072 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2074 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2076 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2078 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2079 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2082 echo timestamp > conftest.file
2083 # Do `set' in a subshell so we don't clobber the current shell
's
2084 # arguments. Must try -L first in case configure is actually a
2085 # symlink; some systems play weird games with the mod time of symlinks
2086 # (eg FreeBSD returns the mod time of the symlink's containing
2089 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2090 if test "$*" = "X"; then
2092 set X
`ls -t $srcdir/configure conftest.file`
2095 if test "$*" != "X $srcdir/configure conftest.file" \
2096 && test "$*" != "X conftest.file $srcdir/configure"; then
2098 # If neither matched, then we have a broken ls. This can happen
2099 # if, for instance, CONFIG_SHELL is bash and it inherits a
2100 # broken ls alias from the environment. This has actually
2101 # happened. Such a system could not be considered "sane".
2102 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2103 alias in your environment" >&5
2104 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2105 alias in your environment" >&2;}
2106 { (exit 1); exit 1; }; }
2109 test "$2" = conftest.
file
2115 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2116 Check your system clock" >&5
2117 echo "$as_me: error: newly created file is older than distributed files!
2118 Check your system clock" >&2;}
2119 { (exit 1); exit 1; }; }
2121 { echo "$as_me:$LINENO: result: yes" >&5
2122 echo "${ECHO_T}yes" >&6; }
2123 test "$program_prefix" != NONE
&&
2124 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2125 # Use a double $ so make ignores it.
2126 test "$program_suffix" != NONE
&&
2127 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2128 # Double any \ or $. echo might interpret backslashes.
2129 # By default was `s,x,x', remove it if useless.
2130 cat <<\_ACEOF
>conftest.
sed
2131 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2133 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2136 # expand $ac_aux_dir to an absolute path
2137 am_aux_dir
=`cd $ac_aux_dir && pwd`
2139 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2140 # Use eval to expand $SHELL
2141 if eval "$MISSING --run true"; then
2142 am_missing_run
="$MISSING --run "
2145 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2146 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2149 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2150 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2151 if test -z "$MKDIR_P"; then
2152 if test "${ac_cv_path_mkdir+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2156 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2159 test -z "$as_dir" && as_dir
=.
2160 for ac_prog
in mkdir gmkdir
; do
2161 for ac_exec_ext
in '' $ac_executable_extensions; do
2162 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2163 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2164 'mkdir (GNU coreutils) '* | \
2165 'mkdir (coreutils) '* | \
2166 'mkdir (fileutils) '4.1*)
2167 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2177 if test "${ac_cv_path_mkdir+set}" = set; then
2178 MKDIR_P
="$ac_cv_path_mkdir -p"
2180 # As a last resort, use the slow shell script. Don't cache a
2181 # value for MKDIR_P within a source directory, because that will
2182 # break other packages using the cache if that directory is
2183 # removed, or if the value is a relative name.
2184 test -d .
/--version && rmdir .
/--version
2185 MKDIR_P
="$ac_install_sh -d"
2188 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2189 echo "${ECHO_T}$MKDIR_P" >&6; }
2193 [\\/$
]* | ?
:[\\/]*) ;;
2194 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2197 for ac_prog
in gawk mawk nawk
awk
2199 # Extract the first word of "$ac_prog", so it can be a program name with args.
2200 set dummy
$ac_prog; ac_word
=$2
2201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2203 if test "${ac_cv_prog_AWK+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2206 if test -n "$AWK"; then
2207 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir
=.
2214 for ac_exec_ext
in '' $ac_executable_extensions; do
2215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2216 ac_cv_prog_AWK
="$ac_prog"
2217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 if test -n "$AWK"; then
2228 { echo "$as_me:$LINENO: result: $AWK" >&5
2229 echo "${ECHO_T}$AWK" >&6; }
2231 { echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6; }
2236 test -n "$AWK" && break
2239 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2240 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2241 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2242 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2243 echo $ECHO_N "(cached) $ECHO_C" >&6
2245 cat >conftest.
make <<\_ACEOF
2248 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2250 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2251 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2253 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2255 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2259 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2260 { echo "$as_me:$LINENO: result: yes" >&5
2261 echo "${ECHO_T}yes" >&6; }
2264 { echo "$as_me:$LINENO: result: no" >&5
2265 echo "${ECHO_T}no" >&6; }
2266 SET_MAKE
="MAKE=${MAKE-make}"
2269 rm -rf .tst
2>/dev
/null
2270 mkdir .tst
2>/dev
/null
2271 if test -d .tst
; then
2276 rmdir .tst
2>/dev
/null
2278 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2279 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2280 # is not polluted with repeated "-I."
2281 am__isrc
=' -I$(srcdir)'
2282 # test to see if srcdir already configured
2283 if test -f $srcdir/config.status
; then
2284 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2285 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2286 { (exit 1); exit 1; }; }
2290 # test whether we have cygpath
2291 if test -z "$CYGPATH_W"; then
2292 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2293 CYGPATH_W
='cygpath -w'
2300 # Define the identity of the package.
2301 PACKAGE
='barry-opensync-plugin-0-4x'
2305 cat >>confdefs.h
<<_ACEOF
2306 #define PACKAGE "$PACKAGE"
2310 cat >>confdefs.h
<<_ACEOF
2311 #define VERSION "$VERSION"
2314 # Some tools Automake needs.
2316 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2319 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2322 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2325 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2328 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2330 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2332 # Installed binaries are usually stripped using `strip' when the user
2333 # run `make install-strip'. However `strip' might not be the right
2334 # tool to use in cross-compilation environments, therefore Automake
2335 # will honor the `STRIP' environment variable to overrule this program.
2336 if test "$cross_compiling" != no
; then
2337 if test -n "$ac_tool_prefix"; then
2338 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2339 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2342 if test "${ac_cv_prog_STRIP+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 if test -n "$STRIP"; then
2346 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2352 test -z "$as_dir" && as_dir
=.
2353 for ac_exec_ext
in '' $ac_executable_extensions; do
2354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2355 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2365 STRIP
=$ac_cv_prog_STRIP
2366 if test -n "$STRIP"; then
2367 { echo "$as_me:$LINENO: result: $STRIP" >&5
2368 echo "${ECHO_T}$STRIP" >&6; }
2370 { echo "$as_me:$LINENO: result: no" >&5
2371 echo "${ECHO_T}no" >&6; }
2376 if test -z "$ac_cv_prog_STRIP"; then
2378 # Extract the first word of "strip", so it can be a program name with args.
2379 set dummy strip
; ac_word
=$2
2380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2382 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2385 if test -n "$ac_ct_STRIP"; then
2386 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir
=.
2393 for ac_exec_ext
in '' $ac_executable_extensions; do
2394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2395 ac_cv_prog_ac_ct_STRIP
="strip"
2396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2405 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2406 if test -n "$ac_ct_STRIP"; then
2407 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2408 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2410 { echo "$as_me:$LINENO: result: no" >&5
2411 echo "${ECHO_T}no" >&6; }
2414 if test "x$ac_ct_STRIP" = x
; then
2417 case $cross_compiling:$ac_tool_warned in
2419 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2420 whose name does not start with the host triplet. If you think this
2421 configuration is useful to you, please write to autoconf@gnu.org." >&5
2422 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2423 whose name does not start with the host triplet. If you think this
2424 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2425 ac_tool_warned
=yes ;;
2430 STRIP
="$ac_cv_prog_STRIP"
2434 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2436 # We need awk for the "check" target. The system "awk" is bad on
2438 # Always define AMTAR for backward compatibility.
2440 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2442 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2449 pkg_modules
="libopensync1 glib-2.0"
2452 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2453 if test -n "$ac_tool_prefix"; then
2454 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2455 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
2456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2458 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
2466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2470 test -z "$as_dir" && as_dir
=.
2471 for ac_exec_ext
in '' $ac_executable_extensions; do
2472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2473 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
2485 if test -n "$PKG_CONFIG"; then
2486 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2487 echo "${ECHO_T}$PKG_CONFIG" >&6; }
2489 { echo "$as_me:$LINENO: result: no" >&5
2490 echo "${ECHO_T}no" >&6; }
2495 if test -z "$ac_cv_path_PKG_CONFIG"; then
2496 ac_pt_PKG_CONFIG
=$PKG_CONFIG
2497 # Extract the first word of "pkg-config", so it can be a program name with args.
2498 set dummy pkg-config
; ac_word
=$2
2499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2501 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 case $ac_pt_PKG_CONFIG in
2506 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir
=.
2514 for ac_exec_ext
in '' $ac_executable_extensions; do
2515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2516 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2527 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
2528 if test -n "$ac_pt_PKG_CONFIG"; then
2529 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2530 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
2532 { echo "$as_me:$LINENO: result: no" >&5
2533 echo "${ECHO_T}no" >&6; }
2536 if test "x$ac_pt_PKG_CONFIG" = x
; then
2539 case $cross_compiling:$ac_tool_warned in
2541 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2542 whose name does not start with the host triplet. If you think this
2543 configuration is useful to you, please write to autoconf@gnu.org." >&5
2544 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2545 whose name does not start with the host triplet. If you think this
2546 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2547 ac_tool_warned
=yes ;;
2549 PKG_CONFIG
=$ac_pt_PKG_CONFIG
2552 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
2556 if test -n "$PKG_CONFIG"; then
2557 _pkg_min_version
=0.9.0
2558 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2559 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
2560 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2561 { echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6; }
2564 { echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6; }
2572 { echo "$as_me:$LINENO: checking for PACKAGE" >&5
2573 echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6; }
2575 if test -n "$PKG_CONFIG"; then
2576 if test -n "$PACKAGE_CFLAGS"; then
2577 pkg_cv_PACKAGE_CFLAGS
="$PACKAGE_CFLAGS"
2579 if test -n "$PKG_CONFIG" && \
2580 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
2581 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; then
2585 pkg_cv_PACKAGE_CFLAGS
=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
2593 if test -n "$PKG_CONFIG"; then
2594 if test -n "$PACKAGE_LIBS"; then
2595 pkg_cv_PACKAGE_LIBS
="$PACKAGE_LIBS"
2597 if test -n "$PKG_CONFIG" && \
2598 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
2599 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 pkg_cv_PACKAGE_LIBS
=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
2614 if test $pkg_failed = yes; then
2616 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2617 _pkg_short_errors_supported
=yes
2619 _pkg_short_errors_supported
=no
2621 if test $_pkg_short_errors_supported = yes; then
2622 PACKAGE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_modules"`
2624 PACKAGE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
2626 # Put the nasty error message in config.log where it belongs
2627 echo "$PACKAGE_PKG_ERRORS" >&5
2629 { { echo "$as_me:$LINENO: error: Package requirements ($pkg_modules) were not met:
2633 Consider adjusting the PKG_CONFIG_PATH environment variable if you
2634 installed software in a non-standard prefix.
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 echo "$as_me: error: Package requirements ($pkg_modules) were not met:
2644 Consider adjusting the PKG_CONFIG_PATH environment variable if you
2645 installed software in a non-standard prefix.
2647 Alternatively, you may set the environment variables PACKAGE_CFLAGS
2648 and PACKAGE_LIBS to avoid the need to call pkg-config.
2649 See the pkg-config man page for more details.
2651 { (exit 1); exit 1; }; }
2652 elif test $pkg_failed = untried
; then
2653 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
2654 is in your PATH or set the PKG_CONFIG environment variable to the full
2657 Alternatively, you may set the environment variables PACKAGE_CFLAGS
2658 and PACKAGE_LIBS to avoid the need to call pkg-config.
2659 See the pkg-config man page for more details.
2661 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
2662 See \`config.log' for more details." >&5
2663 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
2664 is in your PATH or set the PKG_CONFIG environment variable to the full
2667 Alternatively, you may set the environment variables PACKAGE_CFLAGS
2668 and PACKAGE_LIBS to avoid the need to call pkg-config.
2669 See the pkg-config man page for more details.
2671 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
2672 See \`config.log' for more details." >&2;}
2673 { (exit 1); exit 1; }; }
2675 PACKAGE_CFLAGS
=$pkg_cv_PACKAGE_CFLAGS
2676 PACKAGE_LIBS
=$pkg_cv_PACKAGE_LIBS
2677 { echo "$as_me:$LINENO: result: yes" >&5
2678 echo "${ECHO_T}yes" >&6; }
2684 DEPDIR
="${am__leading_dot}deps"
2686 ac_config_commands
="$ac_config_commands depfiles"
2689 am_make
=${MAKE-make}
2690 cat > confinc
<< 'END'
2695 # If we don't find an include directive, just comment out the code.
2696 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2697 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2701 # First try GNU make style include.
2702 echo "include confinc" > confmf
2703 # We grep out `Entering directory' and `Leaving directory'
2704 # messages which can occur if `w' ends up in MAKEFLAGS.
2705 # In particular we don't look at `^make:' because GNU make might
2706 # be invoked under some other name (usually "gmake"), in which
2707 # case it prints its new name instead of `make'.
2708 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2713 # Now try BSD make style include.
2714 if test "$am__include" = "#"; then
2715 echo '.include "confinc"' > confmf
2716 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2717 am__include
=.include
2724 { echo "$as_me:$LINENO: result: $_am_result" >&5
2725 echo "${ECHO_T}$_am_result" >&6; }
2726 rm -f confinc confmf
2728 # Check whether --enable-dependency-tracking was given.
2729 if test "${enable_dependency_tracking+set}" = set; then
2730 enableval
=$enable_dependency_tracking;
2733 if test "x$enable_dependency_tracking" != xno
; then
2734 am_depcomp
="$ac_aux_dir/depcomp"
2737 if test "x$enable_dependency_tracking" != xno; then
2747 ac_cpp
='$CPP $CPPFLAGS'
2748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2751 if test -n "$ac_tool_prefix"; then
2752 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2753 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2756 if test "${ac_cv_prog_CC+set}" = set; then
2757 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 if test -n "$CC"; then
2760 ac_cv_prog_CC
="$CC" # Let the user override the test.
2762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2766 test -z "$as_dir" && as_dir
=.
2767 for ac_exec_ext
in '' $ac_executable_extensions; do
2768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2769 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2780 if test -n "$CC"; then
2781 { echo "$as_me:$LINENO: result: $CC" >&5
2782 echo "${ECHO_T}$CC" >&6; }
2784 { echo "$as_me:$LINENO: result: no" >&5
2785 echo "${ECHO_T}no" >&6; }
2790 if test -z "$ac_cv_prog_CC"; then
2792 # Extract the first word of "gcc", so it can be a program name with args.
2793 set dummy gcc
; ac_word
=$2
2794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2797 echo $ECHO_N "(cached) $ECHO_C" >&6
2799 if test -n "$ac_ct_CC"; then
2800 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2806 test -z "$as_dir" && as_dir
=.
2807 for ac_exec_ext
in '' $ac_executable_extensions; do
2808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2809 ac_cv_prog_ac_ct_CC
="gcc"
2810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2820 if test -n "$ac_ct_CC"; then
2821 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2822 echo "${ECHO_T}$ac_ct_CC" >&6; }
2824 { echo "$as_me:$LINENO: result: no" >&5
2825 echo "${ECHO_T}no" >&6; }
2828 if test "x$ac_ct_CC" = x
; then
2831 case $cross_compiling:$ac_tool_warned in
2833 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2834 whose name does not start with the host triplet. If you think this
2835 configuration is useful to you, please write to autoconf@gnu.org." >&5
2836 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2837 whose name does not start with the host triplet. If you think this
2838 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2839 ac_tool_warned
=yes ;;
2847 if test -z "$CC"; then
2848 if test -n "$ac_tool_prefix"; then
2849 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2850 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2853 if test "${ac_cv_prog_CC+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 if test -n "$CC"; then
2857 ac_cv_prog_CC
="$CC" # Let the user override the test.
2859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir
=.
2864 for ac_exec_ext
in '' $ac_executable_extensions; do
2865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2866 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2877 if test -n "$CC"; then
2878 { echo "$as_me:$LINENO: result: $CC" >&5
2879 echo "${ECHO_T}$CC" >&6; }
2881 { echo "$as_me:$LINENO: result: no" >&5
2882 echo "${ECHO_T}no" >&6; }
2888 if test -z "$CC"; then
2889 # Extract the first word of "cc", so it can be a program name with args.
2890 set dummy cc
; ac_word
=$2
2891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2893 if test "${ac_cv_prog_CC+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6
2896 if test -n "$CC"; then
2897 ac_cv_prog_CC
="$CC" # Let the user override the test.
2900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2904 test -z "$as_dir" && as_dir
=.
2905 for ac_exec_ext
in '' $ac_executable_extensions; do
2906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2907 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2908 ac_prog_rejected
=yes
2912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 if test $ac_prog_rejected = yes; then
2920 # We found a bogon in the path, so make sure we never use it.
2921 set dummy
$ac_cv_prog_CC
2923 if test $# != 0; then
2924 # We chose a different compiler from the bogus one.
2925 # However, it has the same basename, so the bogon will be chosen
2926 # first if we set CC to just the basename; use the full file name.
2928 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2934 if test -n "$CC"; then
2935 { echo "$as_me:$LINENO: result: $CC" >&5
2936 echo "${ECHO_T}$CC" >&6; }
2938 { echo "$as_me:$LINENO: result: no" >&5
2939 echo "${ECHO_T}no" >&6; }
2944 if test -z "$CC"; then
2945 if test -n "$ac_tool_prefix"; then
2946 for ac_prog
in cl.exe
2948 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2949 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2952 if test "${ac_cv_prog_CC+set}" = set; then
2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2955 if test -n "$CC"; then
2956 ac_cv_prog_CC
="$CC" # Let the user override the test.
2958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2962 test -z "$as_dir" && as_dir
=.
2963 for ac_exec_ext
in '' $ac_executable_extensions; do
2964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2965 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2976 if test -n "$CC"; then
2977 { echo "$as_me:$LINENO: result: $CC" >&5
2978 echo "${ECHO_T}$CC" >&6; }
2980 { echo "$as_me:$LINENO: result: no" >&5
2981 echo "${ECHO_T}no" >&6; }
2985 test -n "$CC" && break
2988 if test -z "$CC"; then
2990 for ac_prog
in cl.exe
2992 # Extract the first word of "$ac_prog", so it can be a program name with args.
2993 set dummy
$ac_prog; ac_word
=$2
2994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2996 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2997 echo $ECHO_N "(cached) $ECHO_C" >&6
2999 if test -n "$ac_ct_CC"; then
3000 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3006 test -z "$as_dir" && as_dir
=.
3007 for ac_exec_ext
in '' $ac_executable_extensions; do
3008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3009 ac_cv_prog_ac_ct_CC
="$ac_prog"
3010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3019 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3020 if test -n "$ac_ct_CC"; then
3021 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3022 echo "${ECHO_T}$ac_ct_CC" >&6; }
3024 { echo "$as_me:$LINENO: result: no" >&5
3025 echo "${ECHO_T}no" >&6; }
3029 test -n "$ac_ct_CC" && break
3032 if test "x$ac_ct_CC" = x
; then
3035 case $cross_compiling:$ac_tool_warned in
3037 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3038 whose name does not start with the host triplet. If you think this
3039 configuration is useful to you, please write to autoconf@gnu.org." >&5
3040 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3041 whose name does not start with the host triplet. If you think this
3042 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3043 ac_tool_warned
=yes ;;
3052 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3053 See \`config.log' for more details." >&5
3054 echo "$as_me: error: no acceptable C compiler found in \$PATH
3055 See \`config.log' for more details." >&2;}
3056 { (exit 1); exit 1; }; }
3058 # Provide some information about the compiler.
3059 echo "$as_me:$LINENO: checking for C compiler version" >&5
3060 ac_compiler
=`set X $ac_compile; echo $2`
3061 { (ac_try
="$ac_compiler --version >&5"
3063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3067 (eval "$ac_compiler --version >&5") 2>&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }
3071 { (ac_try="$ac_compiler -v >&5"
3073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3074 *) ac_try_echo
=$ac_try;;
3076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3077 (eval "$ac_compiler -v >&5") 2>&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); }
3081 { (ac_try
="$ac_compiler -V >&5"
3083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3087 (eval "$ac_compiler -V >&5") 2>&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }
3092 cat >conftest.$ac_ext <<_ACEOF
3095 cat confdefs.h >>conftest.$ac_ext
3096 cat >>conftest.$ac_ext <<_ACEOF
3097 /* end confdefs.h. */
3107 ac_clean_files_save=$ac_clean_files
3108 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3109 # Try to create an executable without -o first, disregard a.out.
3110 # It will help us diagnose broken compilers, and finding out an intuition
3112 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3113 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3114 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3116 # List of possible output files, starting from the most likely.
3117 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
3118 # only as a last resort. b.out is created by i960 compilers.
3119 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
3121 # The IRIX 6 linker writes into existing files which may not be
3122 # executable, retaining their permissions. Remove them first so a
3123 # subsequent execution test works.
3125 for ac_file in $ac_files
3128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3129 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3134 if { (ac_try="$ac_link_default"
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3140 (eval "$ac_link_default") 2>&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); }; then
3144 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3145 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3146 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3147 # so that the user can short-circuit this test for compilers unknown to
3149 for ac_file
in $ac_files ''
3151 test -f "$ac_file" ||
continue
3153 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3156 # We found the default executable, but exeext='' is most
3160 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3162 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3164 # We set ac_cv_exeext here because the later test for it is not
3165 # safe: cross compilers may not add the suffix if given an `-o'
3166 # argument, so we may need to know it at that point already.
3167 # Even if this section looks crufty: it has the advantage of
3174 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3180 { echo "$as_me:$LINENO: result: $ac_file" >&5
3181 echo "${ECHO_T}$ac_file" >&6; }
3182 if test -z "$ac_file"; then
3183 echo "$as_me: failed program was:" >&5
3184 sed 's/^/| /' conftest.
$ac_ext >&5
3186 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3187 See \`config.log' for more details." >&5
3188 echo "$as_me: error: C compiler cannot create executables
3189 See \`config.log' for more details." >&2;}
3190 { (exit 77); exit 77; }; }
3193 ac_exeext
=$ac_cv_exeext
3195 # Check that the compiler produces executables we can run. If not, either
3196 # the compiler is broken, or we cross compile.
3197 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3198 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3199 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3200 # If not cross compiling, check that we can run a simple program.
3201 if test "$cross_compiling" != yes; then
3202 if { ac_try
='./$ac_file'
3203 { (case "(($ac_try" in
3204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3208 (eval "$ac_try") 2>&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); }; }; then
3214 if test "$cross_compiling" = maybe; then
3217 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3218 If you meant to cross compile, use \`--host'.
3219 See \`config.log' for more details.
" >&5
3220 echo "$as_me: error
: cannot run C compiled programs.
3221 If you meant to cross compile
, use \
`--host'.
3222 See \`config.log
' for more details." >&2;}
3223 { (exit 1); exit 1; }; }
3227 { echo "$as_me:$LINENO: result: yes" >&5
3228 echo "${ECHO_T}yes" >&6; }
3230 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3231 ac_clean_files=$ac_clean_files_save
3232 # Check that the compiler produces executables we can run. If not, either
3233 # the compiler is broken, or we cross compile.
3234 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3235 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3236 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3237 echo "${ECHO_T}$cross_compiling" >&6; }
3239 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3240 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3241 if { (ac_try="$ac_link"
3243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244 *) ac_try_echo=$ac_try;;
3246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3247 (eval "$ac_link") 2>&5
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); }; then
3251 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3252 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3253 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3255 for ac_file
in conftest.exe conftest conftest.
*; do
3256 test -f "$ac_file" ||
continue
3258 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3259 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3265 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3266 See \`config.log' for more details." >&5
3267 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3268 See \`config.log' for more details." >&2;}
3269 { (exit 1); exit 1; }; }
3272 rm -f conftest
$ac_cv_exeext
3273 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3274 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3276 rm -f conftest.
$ac_ext
3277 EXEEXT
=$ac_cv_exeext
3279 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3280 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3281 if test "${ac_cv_objext+set}" = set; then
3282 echo $ECHO_N "(cached) $ECHO_C" >&6
3284 cat >conftest.
$ac_ext <<_ACEOF
3287 cat confdefs.h
>>conftest.
$ac_ext
3288 cat >>conftest.
$ac_ext <<_ACEOF
3289 /* end confdefs.h. */
3299 rm -f conftest.o conftest.obj
3300 if { (ac_try
="$ac_compile"
3302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3306 (eval "$ac_compile") 2>&5
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }; then
3310 for ac_file in conftest.o conftest.obj conftest.*; do
3311 test -f "$ac_file" || continue;
3313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3314 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3319 echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.$ac_ext >&5
3322 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3323 See \`config.log
' for more details." >&5
3324 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3325 See \`config.log' for more details.
" >&2;}
3326 { (exit 1); exit 1; }; }
3329 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3331 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3332 echo "${ECHO_T}$ac_cv_objext" >&6; }
3333 OBJEXT=$ac_cv_objext
3335 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3336 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3337 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3338 echo $ECHO_N "(cached
) $ECHO_C" >&6
3340 cat >conftest.$ac_ext <<_ACEOF
3343 cat confdefs.h >>conftest.$ac_ext
3344 cat >>conftest.$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3358 rm -f conftest.$ac_objext
3359 if { (ac_try="$ac_compile"
3361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362 *) ac_try_echo=$ac_try;;
3364 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3365 (eval "$ac_compile") 2>conftest.er1
3367 grep -v '^ *+' conftest.er1 >conftest.err
3369 cat conftest.err >&5
3370 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3371 (exit $ac_status); } && {
3372 test -z "$ac_c_werror_flag" ||
3373 test ! -s conftest.err
3374 } && test -s conftest.$ac_objext; then
3377 echo "$as_me: failed program was
:" >&5
3378 sed 's/^/| /' conftest.$ac_ext >&5
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3387 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3388 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3389 GCC=`test $ac_compiler_gnu = yes && echo yes`
3390 ac_test_CFLAGS=${CFLAGS+set}
3391 ac_save_CFLAGS=$CFLAGS
3392 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3393 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3394 if test "${ac_cv_prog_cc_g+set}" = set; then
3395 echo $ECHO_N "(cached
) $ECHO_C" >&6
3397 ac_save_c_werror_flag=$ac_c_werror_flag
3398 ac_c_werror_flag=yes
3401 cat >conftest.$ac_ext <<_ACEOF
3404 cat confdefs.h >>conftest.$ac_ext
3405 cat >>conftest.$ac_ext <<_ACEOF
3406 /* end confdefs.h. */
3416 rm -f conftest.$ac_objext
3417 if { (ac_try="$ac_compile"
3419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3420 *) ac_try_echo=$ac_try;;
3422 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3423 (eval "$ac_compile") 2>conftest.er1
3425 grep -v '^ *+' conftest.er1 >conftest.err
3427 cat conftest.err >&5
3428 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3429 (exit $ac_status); } && {
3430 test -z "$ac_c_werror_flag" ||
3431 test ! -s conftest.err
3432 } && test -s conftest.$ac_objext; then
3435 echo "$as_me: failed program was
:" >&5
3436 sed 's/^/| /' conftest.$ac_ext >&5
3439 cat >conftest.$ac_ext <<_ACEOF
3442 cat confdefs.h >>conftest.$ac_ext
3443 cat >>conftest.$ac_ext <<_ACEOF
3444 /* end confdefs.h. */
3454 rm -f conftest.$ac_objext
3455 if { (ac_try="$ac_compile"
3457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458 *) ac_try_echo=$ac_try;;
3460 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3461 (eval "$ac_compile") 2>conftest.er1
3463 grep -v '^ *+' conftest.er1 >conftest.err
3465 cat conftest.err >&5
3466 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3467 (exit $ac_status); } && {
3468 test -z "$ac_c_werror_flag" ||
3469 test ! -s conftest.err
3470 } && test -s conftest.$ac_objext; then
3473 echo "$as_me: failed program was
:" >&5
3474 sed 's/^/| /' conftest.$ac_ext >&5
3476 ac_c_werror_flag=$ac_save_c_werror_flag
3478 cat >conftest.$ac_ext <<_ACEOF
3481 cat confdefs.h >>conftest.$ac_ext
3482 cat >>conftest.$ac_ext <<_ACEOF
3483 /* end confdefs.h. */
3493 rm -f conftest.$ac_objext
3494 if { (ac_try="$ac_compile"
3496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3497 *) ac_try_echo=$ac_try;;
3499 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3500 (eval "$ac_compile") 2>conftest.er1
3502 grep -v '^ *+' conftest.er1 >conftest.err
3504 cat conftest.err >&5
3505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3506 (exit $ac_status); } && {
3507 test -z "$ac_c_werror_flag" ||
3508 test ! -s conftest.err
3509 } && test -s conftest.$ac_objext; then
3512 echo "$as_me: failed program was
:" >&5
3513 sed 's/^/| /' conftest.$ac_ext >&5
3518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3525 ac_c_werror_flag=$ac_save_c_werror_flag
3527 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3528 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3529 if test "$ac_test_CFLAGS" = set; then
3530 CFLAGS=$ac_save_CFLAGS
3531 elif test $ac_cv_prog_cc_g = yes; then
3532 if test "$GCC" = yes; then
3538 if test "$GCC" = yes; then
3544 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3545 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3546 if test "${ac_cv_prog_cc_c89+set}" = set; then
3547 echo $ECHO_N "(cached
) $ECHO_C" >&6
3549 ac_cv_prog_cc_c89=no
3551 cat >conftest.$ac_ext <<_ACEOF
3554 cat confdefs.h >>conftest.$ac_ext
3555 cat >>conftest.$ac_ext <<_ACEOF
3556 /* end confdefs.h. */
3559 #include <sys/types.h>
3560 #include <sys/stat.h>
3561 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3562 struct buf { int x; };
3563 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3564 static char *e (p, i)
3570 static char *f (char * (*g) (char **, int), char **p, ...)
3575 s = g (p, va_arg (v,int));
3580 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3581 function prototypes and stuff, but not '\xHH' hex character constants.
3582 These don't provoke an error unfortunately, instead are silently treated
3583 as 'x'. The following induces an error, until -std is added to get
3584 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3585 array size at least. It's necessary to write '\x00'==0 to get something
3586 that's true only with -std. */
3587 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3589 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3590 inside strings and character constants. */
3592 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3594 int test (int i, double x);
3595 struct s1 {int (*f) (int a);};
3596 struct s2 {int (*f) (double a);};
3597 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3603 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3608 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3609 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3611 CC="$ac_save_CC $ac_arg"
3612 rm -f conftest.$ac_objext
3613 if { (ac_try="$ac_compile"
3615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3616 *) ac_try_echo=$ac_try;;
3618 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3619 (eval "$ac_compile") 2>conftest.er1
3621 grep -v '^ *+' conftest.er1 >conftest.err
3623 cat conftest.err >&5
3624 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3625 (exit $ac_status); } && {
3626 test -z "$ac_c_werror_flag" ||
3627 test ! -s conftest.err
3628 } && test -s conftest.$ac_objext; then
3629 ac_cv_prog_cc_c89=$ac_arg
3631 echo "$as_me: failed program was
:" >&5
3632 sed 's/^/| /' conftest.$ac_ext >&5
3637 rm -f core conftest.err conftest.$ac_objext
3638 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3640 rm -f conftest.$ac_ext
3645 case "x
$ac_cv_prog_cc_c89" in
3647 { echo "$as_me:$LINENO: result
: none needed
" >&5
3648 echo "${ECHO_T}none needed
" >&6; } ;;
3650 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3651 echo "${ECHO_T}unsupported
" >&6; } ;;
3653 CC="$CC $ac_cv_prog_cc_c89"
3654 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3655 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3660 ac_cpp='$CPP $CPPFLAGS'
3661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3665 depcc="$CC" am_compiler_list=
3667 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3668 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3669 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3670 echo $ECHO_N "(cached
) $ECHO_C" >&6
3672 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3673 # We make a subdir and do the tests there. Otherwise we can end up
3674 # making bogus files that we don't know about and never remove. For
3675 # instance it was reported that on HP-UX the gcc test will end up
3676 # making a dummy file named `D' -- because `-MD' means `put the output
3679 # Copy depcomp to subdir because otherwise we won't find it if we're
3680 # using a relative directory.
3681 cp "$am_depcomp" conftest.dir
3683 # We will build objects and dependencies in a subdirectory because
3684 # it helps to detect inapplicable dependency modes. For instance
3685 # both Tru64's cc and ICC support -MD to output dependencies as a
3686 # side effect of compilation, but ICC will put the dependencies in
3687 # the current directory while Tru64 will put them in the object
3691 am_cv_CC_dependencies_compiler_type=none
3692 if test "$am_compiler_list" = ""; then
3693 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3695 for depmode in $am_compiler_list; do
3696 # Setup a source with many dependencies, because some compilers
3697 # like to wrap large dependency lists on column 80 (with \), and
3698 # we should not choose a depcomp mode which is confused by this.
3700 # We need to recreate these files for each test, as the compiler may
3701 # overwrite some of them when testing with obscure command lines.
3702 # This happens at least with the AIX C compiler.
3704 for i in 1 2 3 4 5 6; do
3705 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3706 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3707 # Solaris 8's {/usr,}/bin/sh.
3708 touch sub/conftst$i.h
3710 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3714 # after this tag, mechanisms are not by side-effect, so they'll
3715 # only be used when explicitly requested
3716 if test "x
$enable_dependency_tracking" = xyes; then
3724 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3725 # mode. It turns out that the SunPro C++ compiler does not properly
3726 # handle `-M -o', and we need to detect this.
3727 if depmode=$depmode \
3728 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3729 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3730 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3731 >/dev/null 2>conftest.err &&
3732 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3733 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3734 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3735 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3736 # icc doesn't choke on unknown options, it will just issue warnings
3737 # or remarks (even with -Werror). So we grep stderr for any message
3738 # that says an option was ignored or not supported.
3739 # When given -MP, icc 7.0 and 7.1 complain thusly:
3740 # icc: Command line warning: ignoring option '-M'; no argument required
3741 # The diagnosis changed in icc 8.0:
3742 # icc: Command line remark: option '-MP' not supported
3743 if (grep 'ignoring option' conftest.err ||
3744 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3745 am_cv_CC_dependencies_compiler_type=$depmode
3754 am_cv_CC_dependencies_compiler_type=none
3758 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3759 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3760 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3763 test "x
$enable_dependency_tracking" != xno \
3764 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3766 am__fastdepCC_FALSE='#'
3768 am__fastdepCC_TRUE='#'
3769 am__fastdepCC_FALSE=
3774 { echo "$as_me:$LINENO: checking
for library containing strerror
" >&5
3775 echo $ECHO_N "checking
for library containing strerror...
$ECHO_C" >&6; }
3776 if test "${ac_cv_search_strerror+set}" = set; then
3777 echo $ECHO_N "(cached
) $ECHO_C" >&6
3779 ac_func_search_save_LIBS=$LIBS
3780 cat >conftest.$ac_ext <<_ACEOF
3783 cat confdefs.h >>conftest.$ac_ext
3784 cat >>conftest.$ac_ext <<_ACEOF
3785 /* end confdefs.h. */
3787 /* Override any GCC internal prototype to avoid an error.
3788 Use char because int might match the return type of a GCC
3789 builtin and then its argument prototype would still apply. */
3802 for ac_lib in '' cposix; do
3803 if test -z "$ac_lib"; then
3804 ac_res="none required
"
3807 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3809 rm -f conftest.$ac_objext conftest$ac_exeext
3810 if { (ac_try="$ac_link"
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3815 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3816 (eval "$ac_link") 2>conftest.er1
3818 grep -v '^ *+' conftest.er1 >conftest.err
3820 cat conftest.err >&5
3821 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3822 (exit $ac_status); } && {
3823 test -z "$ac_c_werror_flag" ||
3824 test ! -s conftest.err
3825 } && test -s conftest$ac_exeext &&
3826 $as_test_x conftest$ac_exeext; then
3827 ac_cv_search_strerror=$ac_res
3829 echo "$as_me: failed program was
:" >&5
3830 sed 's/^/| /' conftest.$ac_ext >&5
3835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3837 if test "${ac_cv_search_strerror+set}" = set; then
3841 if test "${ac_cv_search_strerror+set}" = set; then
3844 ac_cv_search_strerror=no
3847 LIBS=$ac_func_search_save_LIBS
3849 { echo "$as_me:$LINENO: result
: $ac_cv_search_strerror" >&5
3850 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3851 ac_res=$ac_cv_search_strerror
3852 if test "$ac_res" != no; then
3853 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3858 ac_cpp='$CPP $CPPFLAGS'
3859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3862 if test -n "$ac_tool_prefix"; then
3863 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3864 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3865 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3866 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3867 if test "${ac_cv_prog_CC+set}" = set; then
3868 echo $ECHO_N "(cached
) $ECHO_C" >&6
3870 if test -n "$CC"; then
3871 ac_cv_prog_CC="$CC" # Let the user override the test.
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 test -z "$as_dir" && as_dir=.
3878 for ac_exec_ext in '' $ac_executable_extensions; do
3879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3880 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3881 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3891 if test -n "$CC"; then
3892 { echo "$as_me:$LINENO: result
: $CC" >&5
3893 echo "${ECHO_T}$CC" >&6; }
3895 { echo "$as_me:$LINENO: result
: no
" >&5
3896 echo "${ECHO_T}no
" >&6; }
3901 if test -z "$ac_cv_prog_CC"; then
3903 # Extract the first word of "gcc
", so it can be a program name with args.
3904 set dummy gcc; ac_word=$2
3905 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3906 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3907 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3908 echo $ECHO_N "(cached
) $ECHO_C" >&6
3910 if test -n "$ac_ct_CC"; then
3911 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 test -z "$as_dir" && as_dir=.
3918 for ac_exec_ext in '' $ac_executable_extensions; do
3919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3920 ac_cv_prog_ac_ct_CC="gcc
"
3921 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3930 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3931 if test -n "$ac_ct_CC"; then
3932 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3933 echo "${ECHO_T}$ac_ct_CC" >&6; }
3935 { echo "$as_me:$LINENO: result
: no
" >&5
3936 echo "${ECHO_T}no
" >&6; }
3939 if test "x
$ac_ct_CC" = x; then
3942 case $cross_compiling:$ac_tool_warned in
3944 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3945 whose name does not start with the
host triplet. If you think this
3946 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3947 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3948 whose name does not start with the
host triplet. If you think this
3949 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3950 ac_tool_warned=yes ;;
3958 if test -z "$CC"; then
3959 if test -n "$ac_tool_prefix"; then
3960 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3961 set dummy ${ac_tool_prefix}cc; ac_word=$2
3962 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3963 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3964 if test "${ac_cv_prog_CC+set}" = set; then
3965 echo $ECHO_N "(cached
) $ECHO_C" >&6
3967 if test -n "$CC"; then
3968 ac_cv_prog_CC="$CC" # Let the user override the test.
3970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974 test -z "$as_dir" && as_dir=.
3975 for ac_exec_ext in '' $ac_executable_extensions; do
3976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3977 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3978 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3988 if test -n "$CC"; then
3989 { echo "$as_me:$LINENO: result
: $CC" >&5
3990 echo "${ECHO_T}$CC" >&6; }
3992 { echo "$as_me:$LINENO: result
: no
" >&5
3993 echo "${ECHO_T}no
" >&6; }
3999 if test -z "$CC"; then
4000 # Extract the first word of "cc
", so it can be a program name with args.
4001 set dummy cc; ac_word=$2
4002 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4003 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4004 if test "${ac_cv_prog_CC+set}" = set; then
4005 echo $ECHO_N "(cached
) $ECHO_C" >&6
4007 if test -n "$CC"; then
4008 ac_cv_prog_CC="$CC" # Let the user override the test.
4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4015 test -z "$as_dir" && as_dir=.
4016 for ac_exec_ext in '' $ac_executable_extensions; do
4017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4018 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
4019 ac_prog_rejected=yes
4023 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4030 if test $ac_prog_rejected = yes; then
4031 # We found a bogon in the path, so make sure we never use it.
4032 set dummy $ac_cv_prog_CC
4034 if test $# != 0; then
4035 # We chose a different compiler from the bogus one.
4036 # However, it has the same basename, so the bogon will be chosen
4037 # first if we set CC to just the basename; use the full file name.
4039 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
4045 if test -n "$CC"; then
4046 { echo "$as_me:$LINENO: result
: $CC" >&5
4047 echo "${ECHO_T}$CC" >&6; }
4049 { echo "$as_me:$LINENO: result
: no
" >&5
4050 echo "${ECHO_T}no
" >&6; }
4055 if test -z "$CC"; then
4056 if test -n "$ac_tool_prefix"; then
4057 for ac_prog in cl.exe
4059 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4060 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4061 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4062 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4063 if test "${ac_cv_prog_CC+set}" = set; then
4064 echo $ECHO_N "(cached
) $ECHO_C" >&6
4066 if test -n "$CC"; then
4067 ac_cv_prog_CC="$CC" # Let the user override the test.
4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 test -z "$as_dir" && as_dir=.
4074 for ac_exec_ext in '' $ac_executable_extensions; do
4075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4076 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4077 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4087 if test -n "$CC"; then
4088 { echo "$as_me:$LINENO: result
: $CC" >&5
4089 echo "${ECHO_T}$CC" >&6; }
4091 { echo "$as_me:$LINENO: result
: no
" >&5
4092 echo "${ECHO_T}no
" >&6; }
4096 test -n "$CC" && break
4099 if test -z "$CC"; then
4101 for ac_prog in cl.exe
4103 # Extract the first word of "$ac_prog", so it can be a program name with args.
4104 set dummy $ac_prog; ac_word=$2
4105 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4106 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4107 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4108 echo $ECHO_N "(cached
) $ECHO_C" >&6
4110 if test -n "$ac_ct_CC"; then
4111 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117 test -z "$as_dir" && as_dir=.
4118 for ac_exec_ext in '' $ac_executable_extensions; do
4119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4120 ac_cv_prog_ac_ct_CC="$ac_prog"
4121 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4130 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4131 if test -n "$ac_ct_CC"; then
4132 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
4133 echo "${ECHO_T}$ac_ct_CC" >&6; }
4135 { echo "$as_me:$LINENO: result
: no
" >&5
4136 echo "${ECHO_T}no
" >&6; }
4140 test -n "$ac_ct_CC" && break
4143 if test "x
$ac_ct_CC" = x; then
4146 case $cross_compiling:$ac_tool_warned in
4148 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4149 whose name does not start with the
host triplet. If you think this
4150 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4151 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4152 whose name does not start with the
host triplet. If you think this
4153 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4154 ac_tool_warned=yes ;;
4163 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4164 See \
`config.log' for more details." >&5
4165 echo "$as_me: error: no acceptable C compiler found in \$PATH
4166 See \`config.log
' for more details." >&2;}
4167 { (exit 1); exit 1; }; }
4169 # Provide some information about the compiler.
4170 echo "$as_me:$LINENO: checking for C compiler version" >&5
4171 ac_compiler=`set X $ac_compile; echo $2`
4172 { (ac_try="$ac_compiler --version >&5"
4174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175 *) ac_try_echo=$ac_try;;
4177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4178 (eval "$ac_compiler --version >&5") 2>&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); }
4182 { (ac_try="$ac_compiler -v >&5"
4184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4185 *) ac_try_echo=$ac_try;;
4187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4188 (eval "$ac_compiler -v >&5") 2>&5
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); }
4192 { (ac_try="$ac_compiler -V >&5"
4194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195 *) ac_try_echo=$ac_try;;
4197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198 (eval "$ac_compiler -V >&5") 2>&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }
4203 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4204 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4205 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 cat >conftest.$ac_ext <<_ACEOF
4211 cat confdefs.h >>conftest.$ac_ext
4212 cat >>conftest.$ac_ext <<_ACEOF
4213 /* end confdefs.h. */
4226 rm -f conftest.$ac_objext
4227 if { (ac_try="$ac_compile"
4229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4230 *) ac_try_echo=$ac_try;;
4232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4233 (eval "$ac_compile") 2>conftest.er1
4235 grep -v '^
*+' conftest.er1 >conftest.err
4237 cat conftest.err >&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); } && {
4240 test -z "$ac_c_werror_flag" ||
4241 test ! -s conftest.err
4242 } && test -s conftest.$ac_objext; then
4245 echo "$as_me: failed program was:" >&5
4246 sed 's
/^
/|
/' conftest.$ac_ext >&5
4251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4252 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4255 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4256 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4257 GCC=`test $ac_compiler_gnu = yes && echo yes`
4258 ac_test_CFLAGS=${CFLAGS+set}
4259 ac_save_CFLAGS=$CFLAGS
4260 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4261 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4262 if test "${ac_cv_prog_cc_g+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 ac_save_c_werror_flag=$ac_c_werror_flag
4266 ac_c_werror_flag=yes
4269 cat >conftest.$ac_ext <<_ACEOF
4272 cat confdefs.h >>conftest.$ac_ext
4273 cat >>conftest.$ac_ext <<_ACEOF
4274 /* end confdefs.h. */
4284 rm -f conftest.$ac_objext
4285 if { (ac_try="$ac_compile"
4287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4288 *) ac_try_echo=$ac_try;;
4290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4291 (eval "$ac_compile") 2>conftest.er1
4293 grep -v '^
*+' conftest.er1 >conftest.err
4295 cat conftest.err >&5
4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297 (exit $ac_status); } && {
4298 test -z "$ac_c_werror_flag" ||
4299 test ! -s conftest.err
4300 } && test -s conftest.$ac_objext; then
4303 echo "$as_me: failed program was:" >&5
4304 sed 's
/^
/|
/' conftest.$ac_ext >&5
4307 cat >conftest.$ac_ext <<_ACEOF
4310 cat confdefs.h >>conftest.$ac_ext
4311 cat >>conftest.$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4322 rm -f conftest.$ac_objext
4323 if { (ac_try="$ac_compile"
4325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326 *) ac_try_echo=$ac_try;;
4328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4329 (eval "$ac_compile") 2>conftest.er1
4331 grep -v '^
*+' conftest.er1 >conftest.err
4333 cat conftest.err >&5
4334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335 (exit $ac_status); } && {
4336 test -z "$ac_c_werror_flag" ||
4337 test ! -s conftest.err
4338 } && test -s conftest.$ac_objext; then
4341 echo "$as_me: failed program was:" >&5
4342 sed 's
/^
/|
/' conftest.$ac_ext >&5
4344 ac_c_werror_flag=$ac_save_c_werror_flag
4346 cat >conftest.$ac_ext <<_ACEOF
4349 cat confdefs.h >>conftest.$ac_ext
4350 cat >>conftest.$ac_ext <<_ACEOF
4351 /* end confdefs.h. */
4361 rm -f conftest.$ac_objext
4362 if { (ac_try="$ac_compile"
4364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4365 *) ac_try_echo=$ac_try;;
4367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4368 (eval "$ac_compile") 2>conftest.er1
4370 grep -v '^
*+' conftest.er1 >conftest.err
4372 cat conftest.err >&5
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); } && {
4375 test -z "$ac_c_werror_flag" ||
4376 test ! -s conftest.err
4377 } && test -s conftest.$ac_objext; then
4380 echo "$as_me: failed program was:" >&5
4381 sed 's
/^
/|
/' conftest.$ac_ext >&5
4386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4393 ac_c_werror_flag=$ac_save_c_werror_flag
4395 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4396 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4397 if test "$ac_test_CFLAGS" = set; then
4398 CFLAGS=$ac_save_CFLAGS
4399 elif test $ac_cv_prog_cc_g = yes; then
4400 if test "$GCC" = yes; then
4406 if test "$GCC" = yes; then
4412 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4413 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4414 if test "${ac_cv_prog_cc_c89+set}" = set; then
4415 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 ac_cv_prog_cc_c89=no
4419 cat >conftest.$ac_ext <<_ACEOF
4422 cat confdefs.h >>conftest.$ac_ext
4423 cat >>conftest.$ac_ext <<_ACEOF
4424 /* end confdefs.h. */
4427 #include <sys/types.h>
4428 #include <sys/stat.h>
4429 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4430 struct buf
{ int x
; };
4431 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4432 static char
*e
(p
, i
)
4438 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4443 s
= g
(p
, va_arg
(v
,int
));
4448 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4449 function prototypes and stuff
, but not
'\xHH' hex character constants.
4450 These don
't provoke an error unfortunately, instead are silently treated
4451 as 'x
'. The following induces an error, until -std is added to get
4452 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4453 array size at least. It's necessary to
write '\x00'==0 to get something
4454 that
's true only with -std. */
4455 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4457 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4458 inside strings and character constants. */
4460 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4462 int test (int i, double x);
4463 struct s1 {int (*f) (int a);};
4464 struct s2 {int (*f) (double a);};
4465 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4471 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4476 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4477 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4479 CC="$ac_save_CC $ac_arg"
4480 rm -f conftest.$ac_objext
4481 if { (ac_try="$ac_compile"
4483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4484 *) ac_try_echo=$ac_try;;
4486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4487 (eval "$ac_compile") 2>conftest.er1
4489 grep -v '^
*+' conftest.er1 >conftest.err
4491 cat conftest.err >&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); } && {
4494 test -z "$ac_c_werror_flag" ||
4495 test ! -s conftest.err
4496 } && test -s conftest.$ac_objext; then
4497 ac_cv_prog_cc_c89=$ac_arg
4499 echo "$as_me: failed program was:" >&5
4500 sed 's
/^
/|
/' conftest.$ac_ext >&5
4505 rm -f core conftest.err conftest.$ac_objext
4506 test "x$ac_cv_prog_cc_c89" != "xno" && break
4508 rm -f conftest.$ac_ext
4513 case "x$ac_cv_prog_cc_c89" in
4515 { echo "$as_me:$LINENO: result: none needed" >&5
4516 echo "${ECHO_T}none needed" >&6; } ;;
4518 { echo "$as_me:$LINENO: result: unsupported" >&5
4519 echo "${ECHO_T}unsupported" >&6; } ;;
4521 CC="$CC $ac_cv_prog_cc_c89"
4522 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4523 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4528 ac_cpp='$CPP $CPPFLAGS'
4529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4530 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4533 depcc="$CC" am_compiler_list=
4535 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4536 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4537 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4538 echo $ECHO_N "(cached) $ECHO_C" >&6
4540 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4541 # We make a subdir and do the tests there. Otherwise we can end up
4542 # making bogus files that we don't know about and never remove. For
4543 # instance it was reported that on HP-UX the gcc test will end up
4544 # making a dummy file named `D' -- because `-MD' means `put the output
4547 # Copy depcomp to subdir because otherwise we won't find it if we're
4548 # using a relative directory.
4549 cp "$am_depcomp" conftest.dir
4551 # We will build objects and dependencies in a subdirectory because
4552 # it helps to detect inapplicable dependency modes. For instance
4553 # both Tru64's cc and ICC support -MD to output dependencies as a
4554 # side effect of compilation, but ICC will put the dependencies in
4555 # the current directory while Tru64 will put them in the object
4559 am_cv_CC_dependencies_compiler_type
=none
4560 if test "$am_compiler_list" = ""; then
4561 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4563 for depmode
in $am_compiler_list; do
4564 # Setup a source with many dependencies, because some compilers
4565 # like to wrap large dependency lists on column 80 (with \), and
4566 # we should not choose a depcomp mode which is confused by this.
4568 # We need to recreate these files for each test, as the compiler may
4569 # overwrite some of them when testing with obscure command lines.
4570 # This happens at least with the AIX C compiler.
4572 for i
in 1 2 3 4 5 6; do
4573 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4574 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4575 # Solaris 8's {/usr,}/bin/sh.
4576 touch sub
/conftst
$i.h
4578 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4582 # after this tag, mechanisms are not by side-effect, so they'll
4583 # only be used when explicitly requested
4584 if test "x$enable_dependency_tracking" = xyes
; then
4592 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4593 # mode. It turns out that the SunPro C++ compiler does not properly
4594 # handle `-M -o', and we need to detect this.
4595 if depmode
=$depmode \
4596 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4597 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4598 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4599 >/dev
/null
2>conftest.err
&&
4600 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4601 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4602 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4603 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4604 # icc doesn't choke on unknown options, it will just issue warnings
4605 # or remarks (even with -Werror). So we grep stderr for any message
4606 # that says an option was ignored or not supported.
4607 # When given -MP, icc 7.0 and 7.1 complain thusly:
4608 # icc: Command line warning: ignoring option '-M'; no argument required
4609 # The diagnosis changed in icc 8.0:
4610 # icc: Command line remark: option '-MP' not supported
4611 if (grep 'ignoring option' conftest.err ||
4612 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4613 am_cv_CC_dependencies_compiler_type
=$depmode
4622 am_cv_CC_dependencies_compiler_type
=none
4626 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4627 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4628 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4631 test "x$enable_dependency_tracking" != xno \
4632 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4634 am__fastdepCC_FALSE
='#'
4636 am__fastdepCC_TRUE
='#'
4637 am__fastdepCC_FALSE
=
4642 ac_cpp
='$CPP $CPPFLAGS'
4643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4646 if test -n "$ac_tool_prefix"; then
4647 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4648 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4651 if test "${ac_cv_prog_CC+set}" = set; then
4652 echo $ECHO_N "(cached) $ECHO_C" >&6
4654 if test -n "$CC"; then
4655 ac_cv_prog_CC
="$CC" # Let the user override the test.
4657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4661 test -z "$as_dir" && as_dir
=.
4662 for ac_exec_ext
in '' $ac_executable_extensions; do
4663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4664 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 if test -n "$CC"; then
4676 { echo "$as_me:$LINENO: result: $CC" >&5
4677 echo "${ECHO_T}$CC" >&6; }
4679 { echo "$as_me:$LINENO: result: no" >&5
4680 echo "${ECHO_T}no" >&6; }
4685 if test -z "$ac_cv_prog_CC"; then
4687 # Extract the first word of "gcc", so it can be a program name with args.
4688 set dummy gcc
; ac_word
=$2
4689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4691 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 if test -n "$ac_ct_CC"; then
4695 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4701 test -z "$as_dir" && as_dir
=.
4702 for ac_exec_ext
in '' $ac_executable_extensions; do
4703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4704 ac_cv_prog_ac_ct_CC
="gcc"
4705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4714 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4715 if test -n "$ac_ct_CC"; then
4716 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4717 echo "${ECHO_T}$ac_ct_CC" >&6; }
4719 { echo "$as_me:$LINENO: result: no" >&5
4720 echo "${ECHO_T}no" >&6; }
4723 if test "x$ac_ct_CC" = x
; then
4726 case $cross_compiling:$ac_tool_warned in
4728 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4729 whose name does not start with the host triplet. If you think this
4730 configuration is useful to you, please write to autoconf@gnu.org." >&5
4731 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4732 whose name does not start with the host triplet. If you think this
4733 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4734 ac_tool_warned
=yes ;;
4742 if test -z "$CC"; then
4743 if test -n "$ac_tool_prefix"; then
4744 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4745 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4748 if test "${ac_cv_prog_CC+set}" = set; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4751 if test -n "$CC"; then
4752 ac_cv_prog_CC
="$CC" # Let the user override the test.
4754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4758 test -z "$as_dir" && as_dir
=.
4759 for ac_exec_ext
in '' $ac_executable_extensions; do
4760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4761 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4772 if test -n "$CC"; then
4773 { echo "$as_me:$LINENO: result: $CC" >&5
4774 echo "${ECHO_T}$CC" >&6; }
4776 { echo "$as_me:$LINENO: result: no" >&5
4777 echo "${ECHO_T}no" >&6; }
4783 if test -z "$CC"; then
4784 # Extract the first word of "cc", so it can be a program name with args.
4785 set dummy cc
; ac_word
=$2
4786 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4788 if test "${ac_cv_prog_CC+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 if test -n "$CC"; then
4792 ac_cv_prog_CC
="$CC" # Let the user override the test.
4795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir
=.
4800 for ac_exec_ext
in '' $ac_executable_extensions; do
4801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4802 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4803 ac_prog_rejected
=yes
4807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 if test $ac_prog_rejected = yes; then
4815 # We found a bogon in the path, so make sure we never use it.
4816 set dummy
$ac_cv_prog_CC
4818 if test $# != 0; then
4819 # We chose a different compiler from the bogus one.
4820 # However, it has the same basename, so the bogon will be chosen
4821 # first if we set CC to just the basename; use the full file name.
4823 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4829 if test -n "$CC"; then
4830 { echo "$as_me:$LINENO: result: $CC" >&5
4831 echo "${ECHO_T}$CC" >&6; }
4833 { echo "$as_me:$LINENO: result: no" >&5
4834 echo "${ECHO_T}no" >&6; }
4839 if test -z "$CC"; then
4840 if test -n "$ac_tool_prefix"; then
4841 for ac_prog
in cl.exe
4843 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4844 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4847 if test "${ac_cv_prog_CC+set}" = set; then
4848 echo $ECHO_N "(cached) $ECHO_C" >&6
4850 if test -n "$CC"; then
4851 ac_cv_prog_CC
="$CC" # Let the user override the test.
4853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4857 test -z "$as_dir" && as_dir
=.
4858 for ac_exec_ext
in '' $ac_executable_extensions; do
4859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4860 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4871 if test -n "$CC"; then
4872 { echo "$as_me:$LINENO: result: $CC" >&5
4873 echo "${ECHO_T}$CC" >&6; }
4875 { echo "$as_me:$LINENO: result: no" >&5
4876 echo "${ECHO_T}no" >&6; }
4880 test -n "$CC" && break
4883 if test -z "$CC"; then
4885 for ac_prog
in cl.exe
4887 # Extract the first word of "$ac_prog", so it can be a program name with args.
4888 set dummy
$ac_prog; ac_word
=$2
4889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4891 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4892 echo $ECHO_N "(cached) $ECHO_C" >&6
4894 if test -n "$ac_ct_CC"; then
4895 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4901 test -z "$as_dir" && as_dir
=.
4902 for ac_exec_ext
in '' $ac_executable_extensions; do
4903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4904 ac_cv_prog_ac_ct_CC
="$ac_prog"
4905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4914 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4915 if test -n "$ac_ct_CC"; then
4916 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4917 echo "${ECHO_T}$ac_ct_CC" >&6; }
4919 { echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6; }
4924 test -n "$ac_ct_CC" && break
4927 if test "x$ac_ct_CC" = x
; then
4930 case $cross_compiling:$ac_tool_warned in
4932 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4933 whose name does not start with the host triplet. If you think this
4934 configuration is useful to you, please write to autoconf@gnu.org." >&5
4935 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4936 whose name does not start with the host triplet. If you think this
4937 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4938 ac_tool_warned
=yes ;;
4947 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4948 See \`config.log' for more details." >&5
4949 echo "$as_me: error: no acceptable C compiler found in \$PATH
4950 See \`config.log' for more details." >&2;}
4951 { (exit 1); exit 1; }; }
4953 # Provide some information about the compiler.
4954 echo "$as_me:$LINENO: checking for C compiler version" >&5
4955 ac_compiler
=`set X $ac_compile; echo $2`
4956 { (ac_try
="$ac_compiler --version >&5"
4958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4959 *) ac_try_echo=$ac_try;;
4961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4962 (eval "$ac_compiler --version >&5") 2>&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); }
4966 { (ac_try="$ac_compiler -v >&5"
4968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4969 *) ac_try_echo
=$ac_try;;
4971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4972 (eval "$ac_compiler -v >&5") 2>&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }
4976 { (ac_try
="$ac_compiler -V >&5"
4978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4979 *) ac_try_echo=$ac_try;;
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_compiler -V >&5") 2>&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); }
4987 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4988 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4989 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4990 echo $ECHO_N "(cached) $ECHO_C" >&6
4992 cat >conftest.$ac_ext <<_ACEOF
4995 cat confdefs.h >>conftest.$ac_ext
4996 cat >>conftest.$ac_ext <<_ACEOF
4997 /* end confdefs.h. */
5010 rm -f conftest.$ac_objext
5011 if { (ac_try="$ac_compile"
5013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5014 *) ac_try_echo
=$ac_try;;
5016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5017 (eval "$ac_compile") 2>conftest.er1
5019 grep -v '^ *+' conftest.er1
>conftest.err
5021 cat conftest.err
>&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } && {
5024 test -z "$ac_c_werror_flag" ||
5025 test ! -s conftest.err
5026 } && test -s conftest.
$ac_objext; then
5029 echo "$as_me: failed program was:" >&5
5030 sed 's/^/| /' conftest.
$ac_ext >&5
5035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5036 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5039 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5040 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5041 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5042 ac_test_CFLAGS
=${CFLAGS+set}
5043 ac_save_CFLAGS
=$CFLAGS
5044 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5045 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5046 if test "${ac_cv_prog_cc_g+set}" = set; then
5047 echo $ECHO_N "(cached) $ECHO_C" >&6
5049 ac_save_c_werror_flag
=$ac_c_werror_flag
5050 ac_c_werror_flag
=yes
5053 cat >conftest.
$ac_ext <<_ACEOF
5056 cat confdefs.h
>>conftest.
$ac_ext
5057 cat >>conftest.
$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5068 rm -f conftest.
$ac_objext
5069 if { (ac_try
="$ac_compile"
5071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5072 *) ac_try_echo=$ac_try;;
5074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5075 (eval "$ac_compile") 2>conftest.er1
5077 grep -v '^ *+' conftest.er1 >conftest.err
5079 cat conftest.err >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } && {
5082 test -z "$ac_c_werror_flag" ||
5083 test ! -s conftest.err
5084 } && test -s conftest.$ac_objext; then
5087 echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.$ac_ext >&5
5091 cat >conftest.$ac_ext <<_ACEOF
5094 cat confdefs.h >>conftest.$ac_ext
5095 cat >>conftest.$ac_ext <<_ACEOF
5096 /* end confdefs.h. */
5106 rm -f conftest.$ac_objext
5107 if { (ac_try="$ac_compile"
5109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5110 *) ac_try_echo
=$ac_try;;
5112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5113 (eval "$ac_compile") 2>conftest.er1
5115 grep -v '^ *+' conftest.er1
>conftest.err
5117 cat conftest.err
>&5
5118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5119 (exit $ac_status); } && {
5120 test -z "$ac_c_werror_flag" ||
5121 test ! -s conftest.err
5122 } && test -s conftest.
$ac_objext; then
5125 echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.
$ac_ext >&5
5128 ac_c_werror_flag
=$ac_save_c_werror_flag
5130 cat >conftest.
$ac_ext <<_ACEOF
5133 cat confdefs.h
>>conftest.
$ac_ext
5134 cat >>conftest.
$ac_ext <<_ACEOF
5135 /* end confdefs.h. */
5145 rm -f conftest.
$ac_objext
5146 if { (ac_try
="$ac_compile"
5148 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5149 *) ac_try_echo=$ac_try;;
5151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5152 (eval "$ac_compile") 2>conftest.er1
5154 grep -v '^ *+' conftest.er1 >conftest.err
5156 cat conftest.err >&5
5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158 (exit $ac_status); } && {
5159 test -z "$ac_c_werror_flag" ||
5160 test ! -s conftest.err
5161 } && test -s conftest.$ac_objext; then
5164 echo "$as_me: failed program was:" >&5
5165 sed 's/^/| /' conftest.$ac_ext >&5
5170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5177 ac_c_werror_flag=$ac_save_c_werror_flag
5179 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5180 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5181 if test "$ac_test_CFLAGS" = set; then
5182 CFLAGS=$ac_save_CFLAGS
5183 elif test $ac_cv_prog_cc_g = yes; then
5184 if test "$GCC" = yes; then
5190 if test "$GCC" = yes; then
5196 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5197 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5198 if test "${ac_cv_prog_cc_c89+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5201 ac_cv_prog_cc_c89=no
5203 cat >conftest.$ac_ext <<_ACEOF
5206 cat confdefs.h >>conftest.$ac_ext
5207 cat >>conftest.$ac_ext <<_ACEOF
5208 /* end confdefs.h. */
5211 #include <sys/types.h>
5212 #include <sys/stat.h>
5213 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5214 struct buf { int x; };
5215 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5216 static char *e (p, i)
5222 static char *f (char * (*g) (char **, int), char **p, ...)
5227 s = g (p, va_arg (v,int));
5232 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5233 function prototypes and stuff, but not '\xHH' hex character constants.
5234 These don't provoke an error unfortunately, instead are silently treated
5235 as 'x'. The following induces an error, until -std is added to get
5236 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5237 array size at least. It's necessary to write '\x00'==0 to get something
5238 that's true only with -std. */
5239 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5241 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5242 inside strings and character constants. */
5244 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5246 int test (int i, double x);
5247 struct s1 {int (*f) (int a);};
5248 struct s2 {int (*f) (double a);};
5249 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5255 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5260 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5261 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5263 CC="$ac_save_CC $ac_arg"
5264 rm -f conftest.$ac_objext
5265 if { (ac_try="$ac_compile"
5267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5268 *) ac_try_echo
=$ac_try;;
5270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5271 (eval "$ac_compile") 2>conftest.er1
5273 grep -v '^ *+' conftest.er1
>conftest.err
5275 cat conftest.err
>&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); } && {
5278 test -z "$ac_c_werror_flag" ||
5279 test ! -s conftest.err
5280 } && test -s conftest.
$ac_objext; then
5281 ac_cv_prog_cc_c89
=$ac_arg
5283 echo "$as_me: failed program was:" >&5
5284 sed 's/^/| /' conftest.
$ac_ext >&5
5289 rm -f core conftest.err conftest.
$ac_objext
5290 test "x$ac_cv_prog_cc_c89" != "xno" && break
5292 rm -f conftest.
$ac_ext
5297 case "x$ac_cv_prog_cc_c89" in
5299 { echo "$as_me:$LINENO: result: none needed" >&5
5300 echo "${ECHO_T}none needed" >&6; } ;;
5302 { echo "$as_me:$LINENO: result: unsupported" >&5
5303 echo "${ECHO_T}unsupported" >&6; } ;;
5305 CC
="$CC $ac_cv_prog_cc_c89"
5306 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5307 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5312 ac_cpp
='$CPP $CPPFLAGS'
5313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5317 depcc
="$CC" am_compiler_list
=
5319 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5320 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5321 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5325 # We make a subdir and do the tests there. Otherwise we can end up
5326 # making bogus files that we don't know about and never remove. For
5327 # instance it was reported that on HP-UX the gcc test will end up
5328 # making a dummy file named `D' -- because `-MD' means `put the output
5331 # Copy depcomp to subdir because otherwise we won't find it if we're
5332 # using a relative directory.
5333 cp "$am_depcomp" conftest.dir
5335 # We will build objects and dependencies in a subdirectory because
5336 # it helps to detect inapplicable dependency modes. For instance
5337 # both Tru64's cc and ICC support -MD to output dependencies as a
5338 # side effect of compilation, but ICC will put the dependencies in
5339 # the current directory while Tru64 will put them in the object
5343 am_cv_CC_dependencies_compiler_type
=none
5344 if test "$am_compiler_list" = ""; then
5345 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5347 for depmode
in $am_compiler_list; do
5348 # Setup a source with many dependencies, because some compilers
5349 # like to wrap large dependency lists on column 80 (with \), and
5350 # we should not choose a depcomp mode which is confused by this.
5352 # We need to recreate these files for each test, as the compiler may
5353 # overwrite some of them when testing with obscure command lines.
5354 # This happens at least with the AIX C compiler.
5356 for i
in 1 2 3 4 5 6; do
5357 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5358 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5359 # Solaris 8's {/usr,}/bin/sh.
5360 touch sub
/conftst
$i.h
5362 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5366 # after this tag, mechanisms are not by side-effect, so they'll
5367 # only be used when explicitly requested
5368 if test "x$enable_dependency_tracking" = xyes
; then
5376 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5377 # mode. It turns out that the SunPro C++ compiler does not properly
5378 # handle `-M -o', and we need to detect this.
5379 if depmode
=$depmode \
5380 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5381 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5382 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5383 >/dev
/null
2>conftest.err
&&
5384 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5385 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5386 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5387 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5388 # icc doesn't choke on unknown options, it will just issue warnings
5389 # or remarks (even with -Werror). So we grep stderr for any message
5390 # that says an option was ignored or not supported.
5391 # When given -MP, icc 7.0 and 7.1 complain thusly:
5392 # icc: Command line warning: ignoring option '-M'; no argument required
5393 # The diagnosis changed in icc 8.0:
5394 # icc: Command line remark: option '-MP' not supported
5395 if (grep 'ignoring option' conftest.err ||
5396 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5397 am_cv_CC_dependencies_compiler_type
=$depmode
5406 am_cv_CC_dependencies_compiler_type
=none
5410 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5411 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5412 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5415 test "x$enable_dependency_tracking" != xno \
5416 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5418 am__fastdepCC_FALSE
='#'
5420 am__fastdepCC_TRUE
='#'
5421 am__fastdepCC_FALSE
=
5426 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5429 ac_cpp
='$CPP $CPPFLAGS'
5430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5433 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5434 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5435 # On Suns, sometimes $CPP names a directory.
5436 if test -n "$CPP" && test -d "$CPP"; then
5439 if test -z "$CPP"; then
5440 if test "${ac_cv_prog_CPP+set}" = set; then
5441 echo $ECHO_N "(cached) $ECHO_C" >&6
5443 # Double quotes because CPP needs to be expanded
5444 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5447 for ac_c_preproc_warn_flag
in '' yes
5449 # Use a header file that comes with gcc, so configuring glibc
5450 # with a fresh cross-compiler works.
5451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5452 # <limits.h> exists even on freestanding compilers.
5453 # On the NeXT, cc -E runs the code through the compiler's parser,
5454 # not just through cpp. "Syntax error" is here to catch this case.
5455 cat >conftest.
$ac_ext <<_ACEOF
5458 cat confdefs.h
>>conftest.
$ac_ext
5459 cat >>conftest.
$ac_ext <<_ACEOF
5460 /* end confdefs.h. */
5462 # include <limits.h>
5464 # include <assert.h>
5468 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5471 *) ac_try_echo=$ac_try;;
5473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5476 grep -v '^ *+' conftest.er1 >conftest.err
5478 cat conftest.err >&5
5479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480 (exit $ac_status); } >/dev/null && {
5481 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5482 test ! -s conftest.err
5486 echo "$as_me: failed program was:" >&5
5487 sed 's/^/| /' conftest.$ac_ext >&5
5489 # Broken: fails on valid input.
5493 rm -f conftest.err conftest.$ac_ext
5495 # OK, works on sane cases. Now check whether nonexistent headers
5496 # can be detected and how.
5497 cat >conftest.$ac_ext <<_ACEOF
5500 cat confdefs.h >>conftest.$ac_ext
5501 cat >>conftest.$ac_ext <<_ACEOF
5502 /* end confdefs.h. */
5503 #include <ac_nonexistent.h>
5505 if { (ac_try="$ac_cpp conftest.$ac_ext"
5507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5508 *) ac_try_echo
=$ac_try;;
5510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5513 grep -v '^ *+' conftest.er1
>conftest.err
5515 cat conftest.err
>&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); } >/dev
/null
&& {
5518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5519 test ! -s conftest.err
5521 # Broken: success on invalid input.
5524 echo "$as_me: failed program was:" >&5
5525 sed 's/^/| /' conftest.
$ac_ext >&5
5527 # Passes both tests.
5532 rm -f conftest.err conftest.
$ac_ext
5535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5536 rm -f conftest.err conftest.
$ac_ext
5537 if $ac_preproc_ok; then
5549 { echo "$as_me:$LINENO: result: $CPP" >&5
5550 echo "${ECHO_T}$CPP" >&6; }
5552 for ac_c_preproc_warn_flag
in '' yes
5554 # Use a header file that comes with gcc, so configuring glibc
5555 # with a fresh cross-compiler works.
5556 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5557 # <limits.h> exists even on freestanding compilers.
5558 # On the NeXT, cc -E runs the code through the compiler's parser,
5559 # not just through cpp. "Syntax error" is here to catch this case.
5560 cat >conftest.
$ac_ext <<_ACEOF
5563 cat confdefs.h
>>conftest.
$ac_ext
5564 cat >>conftest.
$ac_ext <<_ACEOF
5565 /* end confdefs.h. */
5567 # include <limits.h>
5569 # include <assert.h>
5573 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5576 *) ac_try_echo=$ac_try;;
5578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5581 grep -v '^ *+' conftest.er1 >conftest.err
5583 cat conftest.err >&5
5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5585 (exit $ac_status); } >/dev/null && {
5586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5587 test ! -s conftest.err
5591 echo "$as_me: failed program was:" >&5
5592 sed 's/^/| /' conftest.$ac_ext >&5
5594 # Broken: fails on valid input.
5598 rm -f conftest.err conftest.$ac_ext
5600 # OK, works on sane cases. Now check whether nonexistent headers
5601 # can be detected and how.
5602 cat >conftest.$ac_ext <<_ACEOF
5605 cat confdefs.h >>conftest.$ac_ext
5606 cat >>conftest.$ac_ext <<_ACEOF
5607 /* end confdefs.h. */
5608 #include <ac_nonexistent.h>
5610 if { (ac_try="$ac_cpp conftest.$ac_ext"
5612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5613 *) ac_try_echo
=$ac_try;;
5615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5618 grep -v '^ *+' conftest.er1
>conftest.err
5620 cat conftest.err
>&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } >/dev
/null
&& {
5623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5624 test ! -s conftest.err
5626 # Broken: success on invalid input.
5629 echo "$as_me: failed program was:" >&5
5630 sed 's/^/| /' conftest.
$ac_ext >&5
5632 # Passes both tests.
5637 rm -f conftest.err conftest.
$ac_ext
5640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5641 rm -f conftest.err conftest.
$ac_ext
5642 if $ac_preproc_ok; then
5645 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5646 See \`config.log' for more details." >&5
5647 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5648 See \`config.log' for more details." >&2;}
5649 { (exit 1); exit 1; }; }
5653 ac_cpp
='$CPP $CPPFLAGS'
5654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5659 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5660 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5661 if test "${ac_cv_path_GREP+set}" = set; then
5662 echo $ECHO_N "(cached) $ECHO_C" >&6
5664 # Extract the first word of "grep ggrep" to use in msg output
5665 if test -z "$GREP"; then
5666 set dummy
grep ggrep
; ac_prog_name
=$2
5667 if test "${ac_cv_path_GREP+set}" = set; then
5668 echo $ECHO_N "(cached) $ECHO_C" >&6
5670 ac_path_GREP_found
=false
5671 # Loop through the user's path and test for each of PROGNAME-LIST
5672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5673 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5676 test -z "$as_dir" && as_dir
=.
5677 for ac_prog
in grep ggrep
; do
5678 for ac_exec_ext
in '' $ac_executable_extensions; do
5679 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5680 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5681 # Check for GNU ac_path_GREP and select it if it is found.
5682 # Check for GNU $ac_path_GREP
5683 case `"$ac_path_GREP" --version 2>&1` in
5685 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5688 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5691 cat "conftest.in" "conftest.in" >"conftest.tmp"
5692 mv "conftest.tmp" "conftest.in"
5693 cp "conftest.in" "conftest.nl"
5694 echo 'GREP' >> "conftest.nl"
5695 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5696 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5697 ac_count
=`expr $ac_count + 1`
5698 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5699 # Best one so far, save it but keep looking for a better one
5700 ac_cv_path_GREP
="$ac_path_GREP"
5701 ac_path_GREP_max
=$ac_count
5703 # 10*(2^10) chars as input seems more than enough
5704 test $ac_count -gt 10 && break
5706 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5710 $ac_path_GREP_found && break 3
5720 GREP
="$ac_cv_path_GREP"
5721 if test -z "$GREP"; then
5722 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5723 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5724 { (exit 1); exit 1; }; }
5728 ac_cv_path_GREP
=$GREP
5733 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5734 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5735 GREP
="$ac_cv_path_GREP"
5738 { echo "$as_me:$LINENO: checking for egrep" >&5
5739 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5740 if test "${ac_cv_path_EGREP+set}" = set; then
5741 echo $ECHO_N "(cached) $ECHO_C" >&6
5743 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5744 then ac_cv_path_EGREP
="$GREP -E"
5746 # Extract the first word of "egrep" to use in msg output
5747 if test -z "$EGREP"; then
5748 set dummy
egrep; ac_prog_name
=$2
5749 if test "${ac_cv_path_EGREP+set}" = set; then
5750 echo $ECHO_N "(cached) $ECHO_C" >&6
5752 ac_path_EGREP_found
=false
5753 # Loop through the user's path and test for each of PROGNAME-LIST
5754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5755 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5758 test -z "$as_dir" && as_dir
=.
5759 for ac_prog
in egrep; do
5760 for ac_exec_ext
in '' $ac_executable_extensions; do
5761 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5762 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5763 # Check for GNU ac_path_EGREP and select it if it is found.
5764 # Check for GNU $ac_path_EGREP
5765 case `"$ac_path_EGREP" --version 2>&1` in
5767 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5770 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5773 cat "conftest.in" "conftest.in" >"conftest.tmp"
5774 mv "conftest.tmp" "conftest.in"
5775 cp "conftest.in" "conftest.nl"
5776 echo 'EGREP' >> "conftest.nl"
5777 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5778 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5779 ac_count
=`expr $ac_count + 1`
5780 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5781 # Best one so far, save it but keep looking for a better one
5782 ac_cv_path_EGREP
="$ac_path_EGREP"
5783 ac_path_EGREP_max
=$ac_count
5785 # 10*(2^10) chars as input seems more than enough
5786 test $ac_count -gt 10 && break
5788 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5792 $ac_path_EGREP_found && break 3
5802 EGREP
="$ac_cv_path_EGREP"
5803 if test -z "$EGREP"; then
5804 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5805 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5806 { (exit 1); exit 1; }; }
5810 ac_cv_path_EGREP
=$EGREP
5816 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5817 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5818 EGREP
="$ac_cv_path_EGREP"
5821 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5822 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5823 if test "${ac_cv_header_stdc+set}" = set; then
5824 echo $ECHO_N "(cached) $ECHO_C" >&6
5826 cat >conftest.
$ac_ext <<_ACEOF
5829 cat confdefs.h
>>conftest.
$ac_ext
5830 cat >>conftest.
$ac_ext <<_ACEOF
5831 /* end confdefs.h. */
5845 rm -f conftest.
$ac_objext
5846 if { (ac_try
="$ac_compile"
5848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5849 *) ac_try_echo=$ac_try;;
5851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5852 (eval "$ac_compile") 2>conftest.er1
5854 grep -v '^ *+' conftest.er1 >conftest.err
5856 cat conftest.err >&5
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); } && {
5859 test -z "$ac_c_werror_flag" ||
5860 test ! -s conftest.err
5861 } && test -s conftest.$ac_objext; then
5862 ac_cv_header_stdc=yes
5864 echo "$as_me: failed program was:" >&5
5865 sed 's/^/| /' conftest.$ac_ext >&5
5867 ac_cv_header_stdc=no
5870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5872 if test $ac_cv_header_stdc = yes; then
5873 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5874 cat >conftest.$ac_ext <<_ACEOF
5877 cat confdefs.h >>conftest.$ac_ext
5878 cat >>conftest.$ac_ext <<_ACEOF
5879 /* end confdefs.h. */
5883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5884 $EGREP "memchr" >/dev/null 2>&1; then
5887 ac_cv_header_stdc=no
5893 if test $ac_cv_header_stdc = yes; then
5894 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5895 cat >conftest.$ac_ext <<_ACEOF
5898 cat confdefs.h >>conftest.$ac_ext
5899 cat >>conftest.$ac_ext <<_ACEOF
5900 /* end confdefs.h. */
5904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5905 $EGREP "free" >/dev/null 2>&1; then
5908 ac_cv_header_stdc=no
5914 if test $ac_cv_header_stdc = yes; then
5915 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5916 if test "$cross_compiling" = yes; then
5919 cat >conftest.$ac_ext <<_ACEOF
5922 cat confdefs.h >>conftest.$ac_ext
5923 cat >>conftest.$ac_ext <<_ACEOF
5924 /* end confdefs.h. */
5927 #if ((' ' & 0x0FF) == 0x020)
5928 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5929 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5931 # define ISLOWER(c) \
5932 (('a' <= (c) && (c) <= 'i') \
5933 || ('j' <= (c) && (c) <= 'r') \
5934 || ('s' <= (c) && (c) <= 'z'))
5935 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5938 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5943 for (i = 0; i < 256; i++)
5944 if (XOR (islower (i), ISLOWER (i))
5945 || toupper (i) != TOUPPER (i))
5950 rm -f conftest$ac_exeext
5951 if { (ac_try="$ac_link"
5953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5954 *) ac_try_echo
=$ac_try;;
5956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5957 (eval "$ac_link") 2>&5
5959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5960 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5961 { (case "(($ac_try" in
5962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5963 *) ac_try_echo=$ac_try;;
5965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5966 (eval "$ac_try") 2>&5
5968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969 (exit $ac_status); }; }; then
5972 echo "$as_me: program exited with status $ac_status" >&5
5973 echo "$as_me: failed program was:" >&5
5974 sed 's/^/| /' conftest.$ac_ext >&5
5977 ac_cv_header_stdc=no
5979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5985 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5986 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5987 if test $ac_cv_header_stdc = yes; then
5989 cat >>confdefs.h <<\_ACEOF
5990 #define STDC_HEADERS 1
5996 ac_cpp='$CXXCPP $CPPFLAGS'
5997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6000 if test -z "$CXX"; then
6001 if test -n "$CCC"; then
6004 if test -n "$ac_tool_prefix"; then
6005 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6007 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6008 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6011 if test "${ac_cv_prog_CXX+set}" = set; then
6012 echo $ECHO_N "(cached) $ECHO_C" >&6
6014 if test -n "$CXX"; then
6015 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 test -z "$as_dir" && as_dir=.
6022 for ac_exec_ext in '' $ac_executable_extensions; do
6023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6024 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6035 if test -n "$CXX"; then
6036 { echo "$as_me:$LINENO: result: $CXX" >&5
6037 echo "${ECHO_T}$CXX" >&6; }
6039 { echo "$as_me:$LINENO: result: no" >&5
6040 echo "${ECHO_T}no" >&6; }
6044 test -n "$CXX" && break
6047 if test -z "$CXX"; then
6049 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6051 # Extract the first word of "$ac_prog", so it can be a program name with args.
6052 set dummy $ac_prog; ac_word=$2
6053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6055 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6056 echo $ECHO_N "(cached) $ECHO_C" >&6
6058 if test -n "$ac_ct_CXX"; then
6059 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6068 ac_cv_prog_ac_ct_CXX="$ac_prog"
6069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6079 if test -n "$ac_ct_CXX"; then
6080 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6081 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6083 { echo "$as_me:$LINENO: result: no" >&5
6084 echo "${ECHO_T}no" >&6; }
6088 test -n "$ac_ct_CXX" && break
6091 if test "x$ac_ct_CXX" = x; then
6094 case $cross_compiling:$ac_tool_warned in
6096 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6097 whose name does not start with the host triplet. If you think this
6098 configuration is useful to you, please write to autoconf@gnu.org." >&5
6099 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6100 whose name does not start with the host triplet. If you think this
6101 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6102 ac_tool_warned=yes ;;
6110 # Provide some information about the compiler.
6111 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6112 ac_compiler=`set X
$ac_compile; echo $2`
6113 { (ac_try="$ac_compiler --version >&5"
6115 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6116 *) ac_try_echo
=$ac_try;;
6118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6119 (eval "$ac_compiler --version >&5") 2>&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }
6123 { (ac_try
="$ac_compiler -v >&5"
6125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6126 *) ac_try_echo=$ac_try;;
6128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6129 (eval "$ac_compiler -v >&5") 2>&5
6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); }
6133 { (ac_try="$ac_compiler -V >&5"
6135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6136 *) ac_try_echo
=$ac_try;;
6138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6139 (eval "$ac_compiler -V >&5") 2>&5
6141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6142 (exit $ac_status); }
6144 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6145 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6146 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 cat >conftest.
$ac_ext <<_ACEOF
6152 cat confdefs.h
>>conftest.
$ac_ext
6153 cat >>conftest.
$ac_ext <<_ACEOF
6154 /* end confdefs.h. */
6167 rm -f conftest.
$ac_objext
6168 if { (ac_try
="$ac_compile"
6170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6171 *) ac_try_echo=$ac_try;;
6173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6174 (eval "$ac_compile") 2>conftest.er1
6176 grep -v '^ *+' conftest.er1 >conftest.err
6178 cat conftest.err >&5
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); } && {
6181 test -z "$ac_cxx_werror_flag" ||
6182 test ! -s conftest.err
6183 } && test -s conftest.$ac_objext; then
6186 echo "$as_me: failed program was:" >&5
6187 sed 's/^/| /' conftest.$ac_ext >&5
6192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6193 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6196 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6197 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6198 GXX=`test $ac_compiler_gnu = yes && echo yes`
6199 ac_test_CXXFLAGS=${CXXFLAGS+set}
6200 ac_save_CXXFLAGS=$CXXFLAGS
6201 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6202 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6203 if test "${ac_cv_prog_cxx_g+set}" = set; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6206 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6207 ac_cxx_werror_flag=yes
6210 cat >conftest.$ac_ext <<_ACEOF
6213 cat confdefs.h >>conftest.$ac_ext
6214 cat >>conftest.$ac_ext <<_ACEOF
6215 /* end confdefs.h. */
6225 rm -f conftest.$ac_objext
6226 if { (ac_try="$ac_compile"
6228 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6229 *) ac_try_echo
=$ac_try;;
6231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6232 (eval "$ac_compile") 2>conftest.er1
6234 grep -v '^ *+' conftest.er1
>conftest.err
6236 cat conftest.err
>&5
6237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238 (exit $ac_status); } && {
6239 test -z "$ac_cxx_werror_flag" ||
6240 test ! -s conftest.err
6241 } && test -s conftest.
$ac_objext; then
6242 ac_cv_prog_cxx_g
=yes
6244 echo "$as_me: failed program was:" >&5
6245 sed 's/^/| /' conftest.
$ac_ext >&5
6248 cat >conftest.
$ac_ext <<_ACEOF
6251 cat confdefs.h
>>conftest.
$ac_ext
6252 cat >>conftest.
$ac_ext <<_ACEOF
6253 /* end confdefs.h. */
6263 rm -f conftest.
$ac_objext
6264 if { (ac_try
="$ac_compile"
6266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6267 *) ac_try_echo=$ac_try;;
6269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6270 (eval "$ac_compile") 2>conftest.er1
6272 grep -v '^ *+' conftest.er1 >conftest.err
6274 cat conftest.err >&5
6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 (exit $ac_status); } && {
6277 test -z "$ac_cxx_werror_flag" ||
6278 test ! -s conftest.err
6279 } && test -s conftest.$ac_objext; then
6282 echo "$as_me: failed program was:" >&5
6283 sed 's/^/| /' conftest.$ac_ext >&5
6285 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6287 cat >conftest.$ac_ext <<_ACEOF
6290 cat confdefs.h >>conftest.$ac_ext
6291 cat >>conftest.$ac_ext <<_ACEOF
6292 /* end confdefs.h. */
6302 rm -f conftest.$ac_objext
6303 if { (ac_try="$ac_compile"
6305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6306 *) ac_try_echo
=$ac_try;;
6308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6309 (eval "$ac_compile") 2>conftest.er1
6311 grep -v '^ *+' conftest.er1
>conftest.err
6313 cat conftest.err
>&5
6314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315 (exit $ac_status); } && {
6316 test -z "$ac_cxx_werror_flag" ||
6317 test ! -s conftest.err
6318 } && test -s conftest.
$ac_objext; then
6319 ac_cv_prog_cxx_g
=yes
6321 echo "$as_me: failed program was:" >&5
6322 sed 's/^/| /' conftest.
$ac_ext >&5
6327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6334 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6336 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6337 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6338 if test "$ac_test_CXXFLAGS" = set; then
6339 CXXFLAGS
=$ac_save_CXXFLAGS
6340 elif test $ac_cv_prog_cxx_g = yes; then
6341 if test "$GXX" = yes; then
6347 if test "$GXX" = yes; then
6354 ac_cpp
='$CPP $CPPFLAGS'
6355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6359 depcc
="$CXX" am_compiler_list
=
6361 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6362 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6363 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6364 echo $ECHO_N "(cached) $ECHO_C" >&6
6366 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6367 # We make a subdir and do the tests there. Otherwise we can end up
6368 # making bogus files that we don't know about and never remove. For
6369 # instance it was reported that on HP-UX the gcc test will end up
6370 # making a dummy file named `D' -- because `-MD' means `put the output
6373 # Copy depcomp to subdir because otherwise we won't find it if we're
6374 # using a relative directory.
6375 cp "$am_depcomp" conftest.dir
6377 # We will build objects and dependencies in a subdirectory because
6378 # it helps to detect inapplicable dependency modes. For instance
6379 # both Tru64's cc and ICC support -MD to output dependencies as a
6380 # side effect of compilation, but ICC will put the dependencies in
6381 # the current directory while Tru64 will put them in the object
6385 am_cv_CXX_dependencies_compiler_type
=none
6386 if test "$am_compiler_list" = ""; then
6387 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6389 for depmode
in $am_compiler_list; do
6390 # Setup a source with many dependencies, because some compilers
6391 # like to wrap large dependency lists on column 80 (with \), and
6392 # we should not choose a depcomp mode which is confused by this.
6394 # We need to recreate these files for each test, as the compiler may
6395 # overwrite some of them when testing with obscure command lines.
6396 # This happens at least with the AIX C compiler.
6398 for i
in 1 2 3 4 5 6; do
6399 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6400 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6401 # Solaris 8's {/usr,}/bin/sh.
6402 touch sub
/conftst
$i.h
6404 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6408 # after this tag, mechanisms are not by side-effect, so they'll
6409 # only be used when explicitly requested
6410 if test "x$enable_dependency_tracking" = xyes
; then
6418 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6419 # mode. It turns out that the SunPro C++ compiler does not properly
6420 # handle `-M -o', and we need to detect this.
6421 if depmode
=$depmode \
6422 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6423 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6424 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6425 >/dev
/null
2>conftest.err
&&
6426 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6427 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6428 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6429 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6430 # icc doesn't choke on unknown options, it will just issue warnings
6431 # or remarks (even with -Werror). So we grep stderr for any message
6432 # that says an option was ignored or not supported.
6433 # When given -MP, icc 7.0 and 7.1 complain thusly:
6434 # icc: Command line warning: ignoring option '-M'; no argument required
6435 # The diagnosis changed in icc 8.0:
6436 # icc: Command line remark: option '-MP' not supported
6437 if (grep 'ignoring option' conftest.err ||
6438 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6439 am_cv_CXX_dependencies_compiler_type
=$depmode
6448 am_cv_CXX_dependencies_compiler_type
=none
6452 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6453 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6454 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6457 test "x$enable_dependency_tracking" != xno \
6458 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6459 am__fastdepCXX_TRUE
=
6460 am__fastdepCXX_FALSE
='#'
6462 am__fastdepCXX_TRUE
='#'
6463 am__fastdepCXX_FALSE
=
6467 # Check whether --enable-static was given.
6468 if test "${enable_static+set}" = set; then
6469 enableval
=$enable_static; p
=${PACKAGE-default}
6471 yes) enable_static
=yes ;;
6472 no
) enable_static
=no
;;
6475 # Look at the argument we got. We use all the common list separators.
6476 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6477 for pkg
in $enableval; do
6479 if test "X$pkg" = "X$p"; then
6492 # Check whether --enable-shared was given.
6493 if test "${enable_shared+set}" = set; then
6494 enableval
=$enable_shared; p
=${PACKAGE-default}
6496 yes) enable_shared
=yes ;;
6497 no
) enable_shared
=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
6516 # Check whether --enable-fast-install was given.
6517 if test "${enable_fast_install+set}" = set; then
6518 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6520 yes) enable_fast_install
=yes ;;
6521 no
) enable_fast_install
=no
;;
6523 enable_fast_install
=no
6524 # Look at the argument we got. We use all the common list separators.
6525 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6526 for pkg
in $enableval; do
6528 if test "X$pkg" = "X$p"; then
6529 enable_fast_install
=yes
6536 enable_fast_install
=yes
6540 # Make sure we can run config.sub.
6541 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
6542 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6543 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6544 { (exit 1); exit 1; }; }
6546 { echo "$as_me:$LINENO: checking build system type" >&5
6547 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
6548 if test "${ac_cv_build+set}" = set; then
6549 echo $ECHO_N "(cached) $ECHO_C" >&6
6551 ac_build_alias
=$build_alias
6552 test "x$ac_build_alias" = x
&&
6553 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
6554 test "x$ac_build_alias" = x
&&
6555 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6556 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6557 { (exit 1); exit 1; }; }
6558 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6559 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6560 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6561 { (exit 1); exit 1; }; }
6564 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6565 echo "${ECHO_T}$ac_cv_build" >&6; }
6566 case $ac_cv_build in
6568 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
6569 echo "$as_me: error: invalid value of canonical build" >&2;}
6570 { (exit 1); exit 1; }; };;
6573 ac_save_IFS
=$IFS; IFS
='-'
6579 # Remember, the first character of IFS is used to create $*,
6580 # except with old shells:
6583 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
6586 { echo "$as_me:$LINENO: checking host system type" >&5
6587 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
6588 if test "${ac_cv_host+set}" = set; then
6589 echo $ECHO_N "(cached) $ECHO_C" >&6
6591 if test "x$host_alias" = x
; then
6592 ac_cv_host
=$ac_cv_build
6594 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6595 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
6596 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6597 { (exit 1); exit 1; }; }
6601 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6602 echo "${ECHO_T}$ac_cv_host" >&6; }
6605 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
6606 echo "$as_me: error: invalid value of canonical host" >&2;}
6607 { (exit 1); exit 1; }; };;
6610 ac_save_IFS
=$IFS; IFS
='-'
6616 # Remember, the first character of IFS is used to create $*,
6617 # except with old shells:
6620 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
6623 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6624 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
6625 if test "${lt_cv_path_SED+set}" = set; then
6626 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 # Loop through the user's path and test for sed and gsed.
6629 # Then use that list of sed's as ones to test for truncation.
6630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6634 test -z "$as_dir" && as_dir
=.
6635 for lt_ac_prog
in sed gsed
; do
6636 for ac_exec_ext
in '' $ac_executable_extensions; do
6637 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
6638 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6646 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
6647 # along with /bin/sed that truncates output.
6648 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
6649 test ! -f $lt_ac_sed && continue
6650 cat /dev
/null
> conftest.
in
6652 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
6653 # Check for GNU sed and select it if it is found.
6654 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
6655 lt_cv_path_SED
=$lt_ac_sed
6659 cat conftest.
in conftest.
in >conftest.tmp
6660 mv conftest.tmp conftest.
in
6661 cp conftest.
in conftest.
nl
6663 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
6664 cmp -s conftest.out conftest.
nl ||
break
6665 # 10000 chars as input seems more than enough
6666 test $lt_ac_count -gt 10 && break
6667 lt_ac_count
=`expr $lt_ac_count + 1`
6668 if test $lt_ac_count -gt $lt_ac_max; then
6669 lt_ac_max
=$lt_ac_count
6670 lt_cv_path_SED
=$lt_ac_sed
6679 { echo "$as_me:$LINENO: result: $SED" >&5
6680 echo "${ECHO_T}$SED" >&6; }
6683 # Check whether --with-gnu-ld was given.
6684 if test "${with_gnu_ld+set}" = set; then
6685 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6691 if test "$GCC" = yes; then
6692 # Check if gcc -print-prog-name=ld gives a path.
6693 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6694 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6697 # gcc leaves a trailing carriage return which upsets mingw
6698 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6700 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6703 # Accept absolute paths.
6705 re_direlt
='/[^/][^/]*/\.\./'
6706 # Canonicalize the pathname of ld
6707 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
6708 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6709 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6711 test -z "$LD" && LD
="$ac_prog"
6714 # If it fails, then pretend we aren't using GCC.
6718 # If it is relative, then search for the first ld in PATH.
6722 elif test "$with_gnu_ld" = yes; then
6723 { echo "$as_me:$LINENO: checking for GNU ld" >&5
6724 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6726 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6727 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6729 if test "${lt_cv_path_LD+set}" = set; then
6730 echo $ECHO_N "(cached) $ECHO_C" >&6
6732 if test -z "$LD"; then
6733 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6734 for ac_dir
in $PATH; do
6736 test -z "$ac_dir" && ac_dir
=.
6737 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6738 lt_cv_path_LD
="$ac_dir/$ac_prog"
6739 # Check to see if the program is GNU ld. I'd rather use --version,
6740 # but apparently some variants of GNU ld only accept -v.
6741 # Break only if it was the GNU/non-GNU ld that we prefer.
6742 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6743 *GNU
* |
*'with BFD'*)
6744 test "$with_gnu_ld" != no
&& break
6747 test "$with_gnu_ld" != yes && break
6754 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6759 if test -n "$LD"; then
6760 { echo "$as_me:$LINENO: result: $LD" >&5
6761 echo "${ECHO_T}$LD" >&6; }
6763 { echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6; }
6766 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6767 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6768 { (exit 1); exit 1; }; }
6769 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6770 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6771 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6772 echo $ECHO_N "(cached) $ECHO_C" >&6
6774 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6775 case `$LD -v 2>&1 </dev/null` in
6776 *GNU
* |
*'with BFD'*)
6777 lt_cv_prog_gnu_ld
=yes
6780 lt_cv_prog_gnu_ld
=no
6784 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6785 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6786 with_gnu_ld
=$lt_cv_prog_gnu_ld
6789 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6790 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6791 if test "${lt_cv_ld_reload_flag+set}" = set; then
6792 echo $ECHO_N "(cached) $ECHO_C" >&6
6794 lt_cv_ld_reload_flag
='-r'
6796 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6797 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6798 reload_flag
=$lt_cv_ld_reload_flag
6799 case $reload_flag in
6801 *) reload_flag
=" $reload_flag" ;;
6803 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6806 if test "$GCC" = yes; then
6807 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6809 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6814 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6815 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6816 if test "${lt_cv_path_NM+set}" = set; then
6817 echo $ECHO_N "(cached) $ECHO_C" >&6
6819 if test -n "$NM"; then
6820 # Let the user override the test.
6823 lt_nm_to_check
="${ac_tool_prefix}nm"
6824 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6825 lt_nm_to_check
="$lt_nm_to_check nm"
6827 for lt_tmp_nm
in $lt_nm_to_check; do
6828 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6829 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6831 test -z "$ac_dir" && ac_dir
=.
6832 tmp_nm
="$ac_dir/$lt_tmp_nm"
6833 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6834 # Check to see if the nm accepts a BSD-compat flag.
6835 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6836 # nm: unknown option "B" ignored
6837 # Tru64's nm complains that /dev/null is an invalid object file
6838 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6839 */dev
/null
* |
*'Invalid file or object type'*)
6840 lt_cv_path_NM
="$tmp_nm -B"
6844 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6846 lt_cv_path_NM
="$tmp_nm -p"
6850 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6851 continue # so that we can try to find one that supports BSD flags
6860 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6863 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6864 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6867 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6868 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6870 if test "$LN_S" = "ln -s"; then
6871 { echo "$as_me:$LINENO: result: yes" >&5
6872 echo "${ECHO_T}yes" >&6; }
6874 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6875 echo "${ECHO_T}no, using $LN_S" >&6; }
6878 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6879 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6880 if test "${lt_cv_deplibs_check_method+set}" = set; then
6881 echo $ECHO_N "(cached) $ECHO_C" >&6
6883 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6884 lt_cv_file_magic_test_file
=
6885 lt_cv_deplibs_check_method
='unknown'
6886 # Need to set the preceding variable on all platforms that support
6887 # interlibrary dependencies.
6888 # 'none' -- dependencies not supported.
6889 # `unknown' -- same as none, but documents that we really don't know.
6890 # 'pass_all' -- all dependencies passed with no checks.
6891 # 'test_compile' -- check by making test program.
6892 # 'file_magic [[regex]]' -- check by looking for files in library path
6893 # which responds to the $file_magic_cmd with a given extended regex.
6894 # If you have `file' or equivalent on your system and you're not sure
6895 # whether `pass_all' will *always* work, you probably want this one.
6899 lt_cv_deplibs_check_method
=pass_all
6903 lt_cv_deplibs_check_method
=pass_all
6907 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6908 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6909 lt_cv_file_magic_test_file
=/shlib
/libc.so
6913 # func_win32_libid is a shell function defined in ltmain.sh
6914 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6915 lt_cv_file_magic_cmd
='func_win32_libid'
6919 # Base MSYS/MinGW do not provide the 'file' command needed by
6920 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6921 # unless we find 'file', for example because we are cross-compiling.
6922 if ( file / ) >/dev
/null
2>&1; then
6923 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6924 lt_cv_file_magic_cmd
='func_win32_libid'
6926 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6927 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6931 darwin
* | rhapsody
*)
6932 lt_cv_deplibs_check_method
=pass_all
6935 freebsd
* | dragonfly
*)
6936 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
6939 # Not sure whether the presence of OpenBSD here was a mistake.
6940 # Let's accept both of them until this is cleared up.
6941 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6942 lt_cv_file_magic_cmd
=/usr
/bin
/file
6943 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6947 lt_cv_deplibs_check_method
=pass_all
6952 lt_cv_deplibs_check_method
=pass_all
6955 hpux10.20
* | hpux11
*)
6956 lt_cv_file_magic_cmd
=/usr
/bin
/file
6959 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6960 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6963 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]'
6964 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6967 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6968 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6974 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6975 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6978 irix5
* | irix6
* | nonstopux
*)
6980 *-32|
*"-32 ") libmagic
=32-bit;;
6981 *-n32|
*"-n32 ") libmagic
=N32
;;
6982 *-64|
*"-64 ") libmagic
=64-bit;;
6983 *) libmagic
=never-match
;;
6985 lt_cv_deplibs_check_method
=pass_all
6988 # This must be Linux ELF.
6989 linux
* | k
*bsd
*-gnu)
6990 lt_cv_deplibs_check_method
=pass_all
6993 netbsd
* | netbsdelf
*-gnu)
6994 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
6995 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6997 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7002 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7003 lt_cv_file_magic_cmd
=/usr
/bin
/file
7004 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7008 lt_cv_deplibs_check_method
=unknown
7012 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7013 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7015 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7019 osf3
* | osf4
* | osf5
*)
7020 lt_cv_deplibs_check_method
=pass_all
7024 lt_cv_deplibs_check_method
=pass_all
7028 lt_cv_deplibs_check_method
=pass_all
7032 case $host_vendor in
7034 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]'
7035 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7038 lt_cv_deplibs_check_method
=pass_all
7041 lt_cv_file_magic_cmd
='/bin/file'
7042 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7045 lt_cv_file_magic_cmd
='/bin/file'
7046 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7047 lt_cv_file_magic_test_file
=/lib
/libc.so
7050 lt_cv_deplibs_check_method
=pass_all
7053 lt_cv_deplibs_check_method
=pass_all
7058 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7059 lt_cv_deplibs_check_method
=pass_all
7064 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7065 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
7066 file_magic_cmd
=$lt_cv_file_magic_cmd
7067 deplibs_check_method
=$lt_cv_deplibs_check_method
7068 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7073 # If no C compiler was specified, use CC.
7076 # If no C compiler flags were specified, use CFLAGS.
7077 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7079 # Allow CC to be a program name with arguments.
7082 # Check whether --enable-libtool-lock was given.
7083 if test "${enable_libtool_lock+set}" = set; then
7084 enableval
=$enable_libtool_lock;
7087 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7089 # Some flags need to be propagated to the compiler or linker for good
7093 # Find out which ABI we are using.
7094 echo 'int i;' > conftest.
$ac_ext
7095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7096 (eval $ac_compile) 2>&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); }; then
7100 case `/usr/bin/file conftest.$ac_objext` in
7112 # Find out which ABI we are using.
7113 echo '#line 7113 "configure"' > conftest.
$ac_ext
7114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7115 (eval $ac_compile) 2>&5
7117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118 (exit $ac_status); }; then
7119 if test "$lt_cv_prog_gnu_ld" = yes; then
7120 case `/usr/bin/file conftest.$ac_objext` in
7122 LD
="${LD-ld} -melf32bsmip"
7125 LD
="${LD-ld} -melf32bmipn32"
7128 LD
="${LD-ld} -melf64bmip"
7132 case `/usr/bin/file conftest.$ac_objext` in
7148 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
7149 s390
*-*linux
*|sparc
*-*linux
*)
7150 # Find out which ABI we are using.
7151 echo 'int i;' > conftest.
$ac_ext
7152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7153 (eval $ac_compile) 2>&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; then
7157 case `/usr/bin/file conftest.o` in
7160 x86_64-
*kfreebsd
*-gnu)
7161 LD
="${LD-ld} -m elf_i386_fbsd"
7164 LD
="${LD-ld} -m elf_i386"
7166 ppc64-
*linux
*|powerpc64-
*linux
*)
7167 LD
="${LD-ld} -m elf32ppclinux"
7170 LD
="${LD-ld} -m elf_s390"
7173 LD
="${LD-ld} -m elf32_sparc"
7179 x86_64-
*kfreebsd
*-gnu)
7180 LD
="${LD-ld} -m elf_x86_64_fbsd"
7183 LD
="${LD-ld} -m elf_x86_64"
7185 ppc
*-*linux
*|powerpc
*-*linux
*)
7186 LD
="${LD-ld} -m elf64ppc"
7189 LD
="${LD-ld} -m elf64_s390"
7192 LD
="${LD-ld} -m elf64_sparc"
7202 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7203 SAVE_CFLAGS
="$CFLAGS"
7204 CFLAGS
="$CFLAGS -belf"
7205 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7206 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7207 if test "${lt_cv_cc_needs_belf+set}" = set; then
7208 echo $ECHO_N "(cached) $ECHO_C" >&6
7211 ac_cpp
='$CPP $CPPFLAGS'
7212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7216 cat >conftest.
$ac_ext <<_ACEOF
7219 cat confdefs.h
>>conftest.
$ac_ext
7220 cat >>conftest.
$ac_ext <<_ACEOF
7221 /* end confdefs.h. */
7231 rm -f conftest.
$ac_objext conftest
$ac_exeext
7232 if { (ac_try
="$ac_link"
7234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7235 *) ac_try_echo=$ac_try;;
7237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7238 (eval "$ac_link") 2>conftest.er1
7240 grep -v '^ *+' conftest.er1 >conftest.err
7242 cat conftest.err >&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); } && {
7245 test -z "$ac_c_werror_flag" ||
7246 test ! -s conftest.err
7247 } && test -s conftest$ac_exeext &&
7248 $as_test_x conftest$ac_exeext; then
7249 lt_cv_cc_needs_belf=yes
7251 echo "$as_me: failed program was:" >&5
7252 sed 's/^/| /' conftest.$ac_ext >&5
7254 lt_cv_cc_needs_belf=no
7257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7258 conftest$ac_exeext conftest.$ac_ext
7260 ac_cpp='$CPP $CPPFLAGS'
7261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7266 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7267 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7268 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7269 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7270 CFLAGS="$SAVE_CFLAGS"
7274 # Find out which ABI we are using.
7275 echo 'int i;' > conftest.$ac_ext
7276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7277 (eval $ac_compile) 2>&5
7279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7280 (exit $ac_status); }; then
7281 case `/usr
/bin
/file conftest.o
` in
7283 case $lt_cv_prog_gnu_ld in
7284 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7286 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7300 need_locks="$enable_libtool_lock"
7303 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7313 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7314 inttypes.h stdint.h unistd.h
7316 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7317 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7319 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7320 echo $ECHO_N "(cached) $ECHO_C" >&6
7322 cat >conftest.$ac_ext <<_ACEOF
7325 cat confdefs.h >>conftest.$ac_ext
7326 cat >>conftest.$ac_ext <<_ACEOF
7327 /* end confdefs.h. */
7328 $ac_includes_default
7330 #include <$ac_header>
7332 rm -f conftest.$ac_objext
7333 if { (ac_try="$ac_compile"
7335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7336 *) ac_try_echo
=$ac_try;;
7338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7339 (eval "$ac_compile") 2>conftest.er1
7341 grep -v '^ *+' conftest.er1
>conftest.err
7343 cat conftest.err
>&5
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); } && {
7346 test -z "$ac_c_werror_flag" ||
7347 test ! -s conftest.err
7348 } && test -s conftest.
$ac_objext; then
7349 eval "$as_ac_Header=yes"
7351 echo "$as_me: failed program was:" >&5
7352 sed 's/^/| /' conftest.
$ac_ext >&5
7354 eval "$as_ac_Header=no"
7357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7359 ac_res
=`eval echo '${'$as_ac_Header'}'`
7360 { echo "$as_me:$LINENO: result: $ac_res" >&5
7361 echo "${ECHO_T}$ac_res" >&6; }
7362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7363 cat >>confdefs.h
<<_ACEOF
7364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7373 for ac_header
in dlfcn.h
7375 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7376 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7377 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7379 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7380 echo $ECHO_N "(cached) $ECHO_C" >&6
7382 ac_res
=`eval echo '${'$as_ac_Header'}'`
7383 { echo "$as_me:$LINENO: result: $ac_res" >&5
7384 echo "${ECHO_T}$ac_res" >&6; }
7386 # Is the header compilable?
7387 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7389 cat >conftest.
$ac_ext <<_ACEOF
7392 cat confdefs.h
>>conftest.
$ac_ext
7393 cat >>conftest.
$ac_ext <<_ACEOF
7394 /* end confdefs.h. */
7395 $ac_includes_default
7396 #include <$ac_header>
7398 rm -f conftest.
$ac_objext
7399 if { (ac_try
="$ac_compile"
7401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7402 *) ac_try_echo=$ac_try;;
7404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7405 (eval "$ac_compile") 2>conftest.er1
7407 grep -v '^ *+' conftest.er1 >conftest.err
7409 cat conftest.err >&5
7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411 (exit $ac_status); } && {
7412 test -z "$ac_c_werror_flag" ||
7413 test ! -s conftest.err
7414 } && test -s conftest.$ac_objext; then
7415 ac_header_compiler=yes
7417 echo "$as_me: failed program was:" >&5
7418 sed 's/^/| /' conftest.$ac_ext >&5
7420 ac_header_compiler=no
7423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7424 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7425 echo "${ECHO_T}$ac_header_compiler" >&6; }
7427 # Is the header present?
7428 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7430 cat >conftest.$ac_ext <<_ACEOF
7433 cat confdefs.h >>conftest.$ac_ext
7434 cat >>conftest.$ac_ext <<_ACEOF
7435 /* end confdefs.h. */
7436 #include <$ac_header>
7438 if { (ac_try="$ac_cpp conftest.$ac_ext"
7440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7441 *) ac_try_echo
=$ac_try;;
7443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7444 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7446 grep -v '^ *+' conftest.er1
>conftest.err
7448 cat conftest.err
>&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); } >/dev
/null
&& {
7451 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7452 test ! -s conftest.err
7454 ac_header_preproc
=yes
7456 echo "$as_me: failed program was:" >&5
7457 sed 's/^/| /' conftest.
$ac_ext >&5
7459 ac_header_preproc
=no
7462 rm -f conftest.err conftest.
$ac_ext
7463 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7464 echo "${ECHO_T}$ac_header_preproc" >&6; }
7466 # So? What about this header?
7467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7473 ac_header_preproc
=yes
7476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7489 ## ------------------------------------------------ ##
7490 ## Report this to barry-devel@lists.sourceforge.net ##
7491 ## ------------------------------------------------ ##
7493 ) |
sed "s/^/$as_me: WARNING: /" >&2
7496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7498 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 eval "$as_ac_Header=\$ac_header_preproc"
7503 ac_res
=`eval echo '${'$as_ac_Header'}'`
7504 { echo "$as_me:$LINENO: result: $ac_res" >&5
7505 echo "${ECHO_T}$ac_res" >&6; }
7508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7509 cat >>confdefs.h
<<_ACEOF
7510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7519 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7520 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7521 (test "X$CXX" != "Xg++"))) ; then
7523 ac_cpp
='$CXXCPP $CPPFLAGS'
7524 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7525 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7526 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7527 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7528 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7529 if test -z "$CXXCPP"; then
7530 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7531 echo $ECHO_N "(cached) $ECHO_C" >&6
7533 # Double quotes because CXXCPP needs to be expanded
7534 for CXXCPP
in "$CXX -E" "/lib/cpp"
7537 for ac_cxx_preproc_warn_flag
in '' yes
7539 # Use a header file that comes with gcc, so configuring glibc
7540 # with a fresh cross-compiler works.
7541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7542 # <limits.h> exists even on freestanding compilers.
7543 # On the NeXT, cc -E runs the code through the compiler's parser,
7544 # not just through cpp. "Syntax error" is here to catch this case.
7545 cat >conftest.
$ac_ext <<_ACEOF
7548 cat confdefs.h
>>conftest.
$ac_ext
7549 cat >>conftest.
$ac_ext <<_ACEOF
7550 /* end confdefs.h. */
7552 # include <limits.h>
7554 # include <assert.h>
7558 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7561 *) ac_try_echo=$ac_try;;
7563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7566 grep -v '^ *+' conftest.er1 >conftest.err
7568 cat conftest.err >&5
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); } >/dev/null && {
7571 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7572 test ! -s conftest.err
7576 echo "$as_me: failed program was:" >&5
7577 sed 's/^/| /' conftest.$ac_ext >&5
7579 # Broken: fails on valid input.
7583 rm -f conftest.err conftest.$ac_ext
7585 # OK, works on sane cases. Now check whether nonexistent headers
7586 # can be detected and how.
7587 cat >conftest.$ac_ext <<_ACEOF
7590 cat confdefs.h >>conftest.$ac_ext
7591 cat >>conftest.$ac_ext <<_ACEOF
7592 /* end confdefs.h. */
7593 #include <ac_nonexistent.h>
7595 if { (ac_try="$ac_cpp conftest.$ac_ext"
7597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7598 *) ac_try_echo
=$ac_try;;
7600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7603 grep -v '^ *+' conftest.er1
>conftest.err
7605 cat conftest.err
>&5
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); } >/dev
/null
&& {
7608 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7609 test ! -s conftest.err
7611 # Broken: success on invalid input.
7614 echo "$as_me: failed program was:" >&5
7615 sed 's/^/| /' conftest.
$ac_ext >&5
7617 # Passes both tests.
7622 rm -f conftest.err conftest.
$ac_ext
7625 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7626 rm -f conftest.err conftest.
$ac_ext
7627 if $ac_preproc_ok; then
7632 ac_cv_prog_CXXCPP
=$CXXCPP
7635 CXXCPP
=$ac_cv_prog_CXXCPP
7637 ac_cv_prog_CXXCPP
=$CXXCPP
7639 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7640 echo "${ECHO_T}$CXXCPP" >&6; }
7642 for ac_cxx_preproc_warn_flag
in '' yes
7644 # Use a header file that comes with gcc, so configuring glibc
7645 # with a fresh cross-compiler works.
7646 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7647 # <limits.h> exists even on freestanding compilers.
7648 # On the NeXT, cc -E runs the code through the compiler's parser,
7649 # not just through cpp. "Syntax error" is here to catch this case.
7650 cat >conftest.
$ac_ext <<_ACEOF
7653 cat confdefs.h
>>conftest.
$ac_ext
7654 cat >>conftest.
$ac_ext <<_ACEOF
7655 /* end confdefs.h. */
7657 # include <limits.h>
7659 # include <assert.h>
7663 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7666 *) ac_try_echo=$ac_try;;
7668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7669 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7671 grep -v '^ *+' conftest.er1 >conftest.err
7673 cat conftest.err >&5
7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); } >/dev/null && {
7676 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7677 test ! -s conftest.err
7681 echo "$as_me: failed program was:" >&5
7682 sed 's/^/| /' conftest.$ac_ext >&5
7684 # Broken: fails on valid input.
7688 rm -f conftest.err conftest.$ac_ext
7690 # OK, works on sane cases. Now check whether nonexistent headers
7691 # can be detected and how.
7692 cat >conftest.$ac_ext <<_ACEOF
7695 cat confdefs.h >>conftest.$ac_ext
7696 cat >>conftest.$ac_ext <<_ACEOF
7697 /* end confdefs.h. */
7698 #include <ac_nonexistent.h>
7700 if { (ac_try="$ac_cpp conftest.$ac_ext"
7702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7703 *) ac_try_echo
=$ac_try;;
7705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7706 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7708 grep -v '^ *+' conftest.er1
>conftest.err
7710 cat conftest.err
>&5
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); } >/dev
/null
&& {
7713 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7714 test ! -s conftest.err
7716 # Broken: success on invalid input.
7719 echo "$as_me: failed program was:" >&5
7720 sed 's/^/| /' conftest.
$ac_ext >&5
7722 # Passes both tests.
7727 rm -f conftest.err conftest.
$ac_ext
7730 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7731 rm -f conftest.err conftest.
$ac_ext
7732 if $ac_preproc_ok; then
7735 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7736 See \`config.log' for more details." >&5
7737 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7738 See \`config.log' for more details." >&2;}
7739 { (exit 1); exit 1; }; }
7743 ac_cpp
='$CXXCPP $CPPFLAGS'
7744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7752 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7753 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7754 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
7755 if test -n "$ac_tool_prefix"; then
7756 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
7758 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7759 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7762 if test "${ac_cv_prog_F77+set}" = set; then
7763 echo $ECHO_N "(cached) $ECHO_C" >&6
7765 if test -n "$F77"; then
7766 ac_cv_prog_F77
="$F77" # Let the user override the test.
7768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7772 test -z "$as_dir" && as_dir
=.
7773 for ac_exec_ext
in '' $ac_executable_extensions; do
7774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7775 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
7776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7786 if test -n "$F77"; then
7787 { echo "$as_me:$LINENO: result: $F77" >&5
7788 echo "${ECHO_T}$F77" >&6; }
7790 { echo "$as_me:$LINENO: result: no" >&5
7791 echo "${ECHO_T}no" >&6; }
7795 test -n "$F77" && break
7798 if test -z "$F77"; then
7800 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
7802 # Extract the first word of "$ac_prog", so it can be a program name with args.
7803 set dummy
$ac_prog; ac_word
=$2
7804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7806 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7807 echo $ECHO_N "(cached) $ECHO_C" >&6
7809 if test -n "$ac_ct_F77"; then
7810 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
7812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7816 test -z "$as_dir" && as_dir
=.
7817 for ac_exec_ext
in '' $ac_executable_extensions; do
7818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7819 ac_cv_prog_ac_ct_F77
="$ac_prog"
7820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7829 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
7830 if test -n "$ac_ct_F77"; then
7831 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7832 echo "${ECHO_T}$ac_ct_F77" >&6; }
7834 { echo "$as_me:$LINENO: result: no" >&5
7835 echo "${ECHO_T}no" >&6; }
7839 test -n "$ac_ct_F77" && break
7842 if test "x$ac_ct_F77" = x
; then
7845 case $cross_compiling:$ac_tool_warned in
7847 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7848 whose name does not start with the host triplet. If you think this
7849 configuration is useful to you, please write to autoconf@gnu.org." >&5
7850 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7851 whose name does not start with the host triplet. If you think this
7852 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7853 ac_tool_warned
=yes ;;
7860 # Provide some information about the compiler.
7861 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7862 ac_compiler
=`set X $ac_compile; echo $2`
7863 { (ac_try
="$ac_compiler --version >&5"
7865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7866 *) ac_try_echo=$ac_try;;
7868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7869 (eval "$ac_compiler --version >&5") 2>&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); }
7873 { (ac_try="$ac_compiler -v >&5"
7875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7876 *) ac_try_echo
=$ac_try;;
7878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7879 (eval "$ac_compiler -v >&5") 2>&5
7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 (exit $ac_status); }
7883 { (ac_try
="$ac_compiler -V >&5"
7885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7886 *) ac_try_echo=$ac_try;;
7888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7889 (eval "$ac_compiler -V >&5") 2>&5
7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); }
7895 # If we don't use `.F
' as extension, the preprocessor is not run on the
7896 # input file. (Note that this only needs to work for GNU compilers.)
7899 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7900 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7901 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7902 echo $ECHO_N "(cached) $ECHO_C" >&6
7904 cat >conftest.$ac_ext <<_ACEOF
7912 rm -f conftest.$ac_objext
7913 if { (ac_try="$ac_compile"
7915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7916 *) ac_try_echo=$ac_try;;
7918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7919 (eval "$ac_compile") 2>conftest.er1
7921 grep -v '^
*+' conftest.er1 >conftest.err
7923 cat conftest.err >&5
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); } && {
7926 test -z "$ac_f77_werror_flag" ||
7927 test ! -s conftest.err
7928 } && test -s conftest.$ac_objext; then
7931 echo "$as_me: failed program was:" >&5
7932 sed 's
/^
/|
/' conftest.$ac_ext >&5
7937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7938 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7941 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7942 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7944 ac_test_FFLAGS=${FFLAGS+set}
7945 ac_save_FFLAGS=$FFLAGS
7947 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7948 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7949 if test "${ac_cv_prog_f77_g+set}" = set; then
7950 echo $ECHO_N "(cached) $ECHO_C" >&6
7953 cat >conftest.$ac_ext <<_ACEOF
7958 rm -f conftest.$ac_objext
7959 if { (ac_try="$ac_compile"
7961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7962 *) ac_try_echo=$ac_try;;
7964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7965 (eval "$ac_compile") 2>conftest.er1
7967 grep -v '^
*+' conftest.er1 >conftest.err
7969 cat conftest.err >&5
7970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971 (exit $ac_status); } && {
7972 test -z "$ac_f77_werror_flag" ||
7973 test ! -s conftest.err
7974 } && test -s conftest.$ac_objext; then
7975 ac_cv_prog_f77_g=yes
7977 echo "$as_me: failed program was:" >&5
7978 sed 's
/^
/|
/' conftest.$ac_ext >&5
7983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7986 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7987 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7988 if test "$ac_test_FFLAGS" = set; then
7989 FFLAGS=$ac_save_FFLAGS
7990 elif test $ac_cv_prog_f77_g = yes; then
7991 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7997 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8004 G77=`test $ac_compiler_gnu = yes && echo yes`
8006 ac_cpp='$CPP $CPPFLAGS'
8007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
8008 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
8009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8013 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
8014 # find the maximum length of command line arguments
8015 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8016 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
8017 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8018 echo $ECHO_N "(cached) $ECHO_C" >&6
8025 # On DJGPP, this test can blow up pretty badly due to problems in libc
8026 # (any single argument exceeding 2000 bytes causes a buffer overrun
8027 # during glob expansion). Even if it were fixed, the result of this
8028 # check would be larger than it should be.
8029 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
8033 # Under GNU Hurd, this test is not required because there is
8034 # no limit to the length of command line arguments.
8035 # Libtool will interpret -1 as no limit whatsoever
8036 lt_cv_sys_max_cmd_len
=-1;
8040 # On Win9x/ME, this test blows up -- it succeeds, but takes
8041 # about 5 minutes as the teststring grows exponentially.
8042 # Worse, since 9x/ME are not pre-emptively multitasking,
8043 # you end up with a "frozen" computer, even though with patience
8044 # the test eventually succeeds (with a max line length of 256k).
8045 # Instead, let's just punt: use the minimum linelength reported by
8046 # all of the supported platforms: 8192 (on NT/2K/XP).
8047 lt_cv_sys_max_cmd_len
=8192;
8051 # On AmigaOS with pdksh, this test takes hours, literally.
8052 # So we just punt and use a minimum line length of 8192.
8053 lt_cv_sys_max_cmd_len
=8192;
8056 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
8057 # This has been around since 386BSD, at least. Likely further.
8058 if test -x /sbin
/sysctl
; then
8059 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
8060 elif test -x /usr
/sbin
/sysctl
; then
8061 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
8063 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
8065 # And add a safety zone
8066 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8067 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8071 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8072 lt_cv_sys_max_cmd_len
=196608
8076 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8077 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8078 # nice to cause kernel panics so lets avoid the loop below.
8079 # First set a reasonable default.
8080 lt_cv_sys_max_cmd_len
=16384
8082 if test -x /sbin
/sysconfig
; then
8083 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8084 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
8089 lt_cv_sys_max_cmd_len
=102400
8091 sysv5
* | sco5v6
* | sysv4.2uw2
*)
8092 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8093 if test -n "$kargmax"; then
8094 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
8096 lt_cv_sys_max_cmd_len
=32768
8100 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
8101 if test -n "$lt_cv_sys_max_cmd_len"; then
8102 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8103 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8105 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
8106 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
8107 = "XX$teststring") >/dev
/null
2>&1 &&
8108 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
8109 lt_cv_sys_max_cmd_len
=$new_result &&
8110 test $i != 17 # 1/2 MB should be enough
8113 teststring
=$teststring$teststring
8116 # Add a significant safety factor because C++ compilers can tack on massive
8117 # amounts of additional arguments before passing them to the linker.
8118 # It appears as though 1/2 is a usable value.
8119 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
8126 if test -n $lt_cv_sys_max_cmd_len ; then
8127 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8128 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8130 { echo "$as_me:$LINENO: result: none" >&5
8131 echo "${ECHO_T}none" >&6; }
8138 # Check for command to grab the raw symbol name followed by C symbol from nm.
8139 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8140 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
8141 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8142 echo $ECHO_N "(cached) $ECHO_C" >&6
8145 # These are sane defaults that work on at least a few old systems.
8146 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8148 # Character class describing NM global symbol codes.
8149 symcode
='[BCDEGRST]'
8151 # Regexp to match symbols that can be accessed directly from C.
8152 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8154 # Transform an extracted symbol line into a proper C declaration
8155 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8157 # Transform an extracted symbol line into symbol name and symbol address
8158 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'"
8160 # Define system-specific variables.
8165 cygwin
* | mingw
* | pw32
*)
8166 symcode
='[ABCDGISTW]'
8168 hpux
*) # Its linker distinguishes data from code symbols
8169 if test "$host_cpu" = ia64
; then
8170 symcode
='[ABCDEGRST]'
8172 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8173 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'"
8175 linux
* | k
*bsd
*-gnu)
8176 if test "$host_cpu" = ia64
; then
8177 symcode
='[ABCDGIRSTW]'
8178 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8179 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'"
8183 symcode
='[BCDEGRST]'
8186 symcode
='[BCDEGQRST]'
8197 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8205 # Handle CRLF in mingw tool chain
8209 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8213 # If we're using GNU nm, then use its standard symbol codes.
8214 case `$NM -V 2>&1` in
8215 *GNU
* |
*'with BFD'*)
8216 symcode
='[ABCDGIRSTW]' ;;
8219 # Try without a prefix undercore, then with it.
8220 for ac_symprfx
in "" "_"; do
8222 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8223 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8225 # Write the raw and C identifiers.
8226 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8228 # Check to see that the pipe works correctly.
8232 cat > conftest.
$ac_ext <<EOF
8237 void nm_test_func(){}
8241 int main(){nm_test_var='a';nm_test_func();return(0);}
8244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8245 (eval $ac_compile) 2>&5
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; then
8249 # Now try to grab the symbols.
8251 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8252 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } && test -s "$nlist"; then
8256 # Try sorting and uniquifying the output.
8257 if sort "$nlist" |
uniq > "$nlist"T
; then
8258 mv -f "$nlist"T
"$nlist"
8263 # Make sure that we snagged all the symbols we need.
8264 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
8265 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
8266 cat <<EOF > conftest.$ac_ext
8272 # Now generate the symbol file.
8273 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8275 cat <<EOF >> conftest.$ac_ext
8276 #if defined (__STDC__) && __STDC__
8277 # define lt_ptr_t void *
8279 # define lt_ptr_t char *
8283 /* The mapping between symbol names and symbols. */
8288 lt_preloaded_symbols[] =
8291 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
8292 cat <<\EOF
>> conftest.
$ac_ext
8300 # Now try linking the two files.
8301 mv conftest.
$ac_objext conftstm.
$ac_objext
8302 lt_save_LIBS
="$LIBS"
8303 lt_save_CFLAGS
="$CFLAGS"
8304 LIBS
="conftstm.$ac_objext"
8305 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8307 (eval $ac_link) 2>&5
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
8313 LIBS
="$lt_save_LIBS"
8314 CFLAGS
="$lt_save_CFLAGS"
8316 echo "cannot find nm_test_func in $nlist" >&5
8319 echo "cannot find nm_test_var in $nlist" >&5
8322 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8325 echo "$progname: failed program was:" >&5
8326 cat conftest.
$ac_ext >&5
8328 rm -rf conftest
* conftst
*
8330 # Do not use the global_symbol_pipe unless it works.
8331 if test "$pipe_works" = yes; then
8334 lt_cv_sys_global_symbol_pipe
=
8340 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8341 lt_cv_sys_global_symbol_to_cdecl
=
8343 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8344 { echo "$as_me:$LINENO: result: failed" >&5
8345 echo "${ECHO_T}failed" >&6; }
8347 { echo "$as_me:$LINENO: result: ok" >&5
8348 echo "${ECHO_T}ok" >&6; }
8351 { echo "$as_me:$LINENO: checking for objdir" >&5
8352 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8353 if test "${lt_cv_objdir+set}" = set; then
8354 echo $ECHO_N "(cached) $ECHO_C" >&6
8356 rm -f .libs
2>/dev
/null
8357 mkdir .libs
2>/dev
/null
8358 if test -d .libs
; then
8361 # MS-DOS does not allow filenames that begin with a dot.
8364 rmdir .libs
2>/dev
/null
8366 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8367 echo "${ECHO_T}$lt_cv_objdir" >&6; }
8368 objdir
=$lt_cv_objdir
8376 # AIX sometimes has problems with the GCC collect2 program. For some
8377 # reason, if we set the COLLECT_NAMES environment variable, the problems
8378 # vanish in a puff of smoke.
8379 if test "X${COLLECT_NAMES+set}" != Xset
; then
8381 export COLLECT_NAMES
8386 # Sed substitution that helps us do robust quoting. It backslashifies
8387 # metacharacters that are still active within double-quoted strings.
8388 Xsed
='sed -e 1s/^X//'
8389 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
8391 # Same as above, but do not quote variable references.
8392 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
8394 # Sed substitution to delay expansion of an escaped shell variable in a
8395 # double_quote_subst'ed string.
8396 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8398 # Sed substitution to avoid accidental globbing in evaled expressions
8399 no_glob_subst
='s/\*/\\\*/g'
8405 default_ofile
=libtool
8406 can_build_shared
=yes
8408 # All known linkers require a `.a' archive for static linking (except MSVC,
8409 # which needs '.lib').
8411 ltmain
="$ac_aux_dir/ltmain.sh"
8412 ofile
="$default_ofile"
8413 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8415 if test -n "$ac_tool_prefix"; then
8416 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8417 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8420 if test "${ac_cv_prog_AR+set}" = set; then
8421 echo $ECHO_N "(cached) $ECHO_C" >&6
8423 if test -n "$AR"; then
8424 ac_cv_prog_AR
="$AR" # Let the user override the test.
8426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8430 test -z "$as_dir" && as_dir
=.
8431 for ac_exec_ext
in '' $ac_executable_extensions; do
8432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8433 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8444 if test -n "$AR"; then
8445 { echo "$as_me:$LINENO: result: $AR" >&5
8446 echo "${ECHO_T}$AR" >&6; }
8448 { echo "$as_me:$LINENO: result: no" >&5
8449 echo "${ECHO_T}no" >&6; }
8454 if test -z "$ac_cv_prog_AR"; then
8456 # Extract the first word of "ar", so it can be a program name with args.
8457 set dummy
ar; ac_word
=$2
8458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8460 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8461 echo $ECHO_N "(cached) $ECHO_C" >&6
8463 if test -n "$ac_ct_AR"; then
8464 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8470 test -z "$as_dir" && as_dir
=.
8471 for ac_exec_ext
in '' $ac_executable_extensions; do
8472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8473 ac_cv_prog_ac_ct_AR
="ar"
8474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8483 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8484 if test -n "$ac_ct_AR"; then
8485 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8486 echo "${ECHO_T}$ac_ct_AR" >&6; }
8488 { echo "$as_me:$LINENO: result: no" >&5
8489 echo "${ECHO_T}no" >&6; }
8492 if test "x$ac_ct_AR" = x
; then
8495 case $cross_compiling:$ac_tool_warned in
8497 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8498 whose name does not start with the host triplet. If you think this
8499 configuration is useful to you, please write to autoconf@gnu.org." >&5
8500 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8501 whose name does not start with the host triplet. If you think this
8502 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8503 ac_tool_warned
=yes ;;
8511 if test -n "$ac_tool_prefix"; then
8512 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8513 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8516 if test "${ac_cv_prog_RANLIB+set}" = set; then
8517 echo $ECHO_N "(cached) $ECHO_C" >&6
8519 if test -n "$RANLIB"; then
8520 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8526 test -z "$as_dir" && as_dir
=.
8527 for ac_exec_ext
in '' $ac_executable_extensions; do
8528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8529 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8539 RANLIB
=$ac_cv_prog_RANLIB
8540 if test -n "$RANLIB"; then
8541 { echo "$as_me:$LINENO: result: $RANLIB" >&5
8542 echo "${ECHO_T}$RANLIB" >&6; }
8544 { echo "$as_me:$LINENO: result: no" >&5
8545 echo "${ECHO_T}no" >&6; }
8550 if test -z "$ac_cv_prog_RANLIB"; then
8551 ac_ct_RANLIB
=$RANLIB
8552 # Extract the first word of "ranlib", so it can be a program name with args.
8553 set dummy ranlib
; ac_word
=$2
8554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8556 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8557 echo $ECHO_N "(cached) $ECHO_C" >&6
8559 if test -n "$ac_ct_RANLIB"; then
8560 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8566 test -z "$as_dir" && as_dir
=.
8567 for ac_exec_ext
in '' $ac_executable_extensions; do
8568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8569 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8579 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8580 if test -n "$ac_ct_RANLIB"; then
8581 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8582 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8584 { echo "$as_me:$LINENO: result: no" >&5
8585 echo "${ECHO_T}no" >&6; }
8588 if test "x$ac_ct_RANLIB" = x
; then
8591 case $cross_compiling:$ac_tool_warned in
8593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8594 whose name does not start with the host triplet. If you think this
8595 configuration is useful to you, please write to autoconf@gnu.org." >&5
8596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8597 whose name does not start with the host triplet. If you think this
8598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8599 ac_tool_warned
=yes ;;
8601 RANLIB
=$ac_ct_RANLIB
8604 RANLIB
="$ac_cv_prog_RANLIB"
8607 if test -n "$ac_tool_prefix"; then
8608 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8609 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8612 if test "${ac_cv_prog_STRIP+set}" = set; then
8613 echo $ECHO_N "(cached) $ECHO_C" >&6
8615 if test -n "$STRIP"; then
8616 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8622 test -z "$as_dir" && as_dir
=.
8623 for ac_exec_ext
in '' $ac_executable_extensions; do
8624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8625 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8635 STRIP
=$ac_cv_prog_STRIP
8636 if test -n "$STRIP"; then
8637 { echo "$as_me:$LINENO: result: $STRIP" >&5
8638 echo "${ECHO_T}$STRIP" >&6; }
8640 { echo "$as_me:$LINENO: result: no" >&5
8641 echo "${ECHO_T}no" >&6; }
8646 if test -z "$ac_cv_prog_STRIP"; then
8648 # Extract the first word of "strip", so it can be a program name with args.
8649 set dummy strip
; ac_word
=$2
8650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8652 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8653 echo $ECHO_N "(cached) $ECHO_C" >&6
8655 if test -n "$ac_ct_STRIP"; then
8656 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8662 test -z "$as_dir" && as_dir
=.
8663 for ac_exec_ext
in '' $ac_executable_extensions; do
8664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8665 ac_cv_prog_ac_ct_STRIP
="strip"
8666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8675 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8676 if test -n "$ac_ct_STRIP"; then
8677 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8678 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8680 { echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6; }
8684 if test "x$ac_ct_STRIP" = x
; then
8687 case $cross_compiling:$ac_tool_warned in
8689 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8690 whose name does not start with the host triplet. If you think this
8691 configuration is useful to you, please write to autoconf@gnu.org." >&5
8692 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8693 whose name does not start with the host triplet. If you think this
8694 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8695 ac_tool_warned
=yes ;;
8700 STRIP
="$ac_cv_prog_STRIP"
8705 old_CFLAGS
="$CFLAGS"
8707 # Set sane defaults for various variables
8708 test -z "$AR" && AR
=ar
8709 test -z "$AR_FLAGS" && AR_FLAGS
=cru
8710 test -z "$AS" && AS
=as
8711 test -z "$CC" && CC
=cc
8712 test -z "$LTCC" && LTCC
=$CC
8713 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8714 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8715 test -z "$LD" && LD
=ld
8716 test -z "$LN_S" && LN_S
="ln -s"
8717 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8718 test -z "$NM" && NM
=nm
8719 test -z "$SED" && SED
=sed
8720 test -z "$OBJDUMP" && OBJDUMP
=objdump
8721 test -z "$RANLIB" && RANLIB
=:
8722 test -z "$STRIP" && STRIP
=:
8723 test -z "$ac_objext" && ac_objext
=o
8725 # Determine commands to create old-style static archives.
8726 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8727 old_postinstall_cmds
='chmod 644 $oldlib'
8728 old_postuninstall_cmds
=
8730 if test -n "$RANLIB"; then
8733 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8736 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8739 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8742 for cc_temp
in $compiler""; do
8744 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8745 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8750 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8753 # Only perform the check for file, if the check method requires it
8754 case $deplibs_check_method in
8756 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8757 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8758 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8759 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8760 echo $ECHO_N "(cached) $ECHO_C" >&6
8764 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8767 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8768 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8769 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8770 for ac_dir
in $ac_dummy; do
8772 test -z "$ac_dir" && ac_dir
=.
8773 if test -f $ac_dir/${ac_tool_prefix}file; then
8774 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8775 if test -n "$file_magic_test_file"; then
8776 case $deplibs_check_method in
8778 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8779 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8780 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8781 $EGREP "$file_magic_regex" > /dev
/null
; then
8786 *** Warning: the command libtool uses to detect shared libraries,
8787 *** $file_magic_cmd, produces output that libtool cannot recognize.
8788 *** The result is that libtool may fail to recognize shared libraries
8789 *** as such. This will affect the creation of libtool libraries that
8790 *** depend on shared libraries, but programs linked with such libtool
8791 *** libraries will work regardless of this problem. Nevertheless, you
8792 *** may want to report the problem to your system manager and/or to
8793 *** bug-libtool@gnu.org
8803 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8808 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8809 if test -n "$MAGIC_CMD"; then
8810 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8811 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8813 { echo "$as_me:$LINENO: result: no" >&5
8814 echo "${ECHO_T}no" >&6; }
8817 if test -z "$lt_cv_path_MAGIC_CMD"; then
8818 if test -n "$ac_tool_prefix"; then
8819 { echo "$as_me:$LINENO: checking for file" >&5
8820 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8821 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8822 echo $ECHO_N "(cached) $ECHO_C" >&6
8826 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8829 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8830 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8831 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8832 for ac_dir
in $ac_dummy; do
8834 test -z "$ac_dir" && ac_dir
=.
8835 if test -f $ac_dir/file; then
8836 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8837 if test -n "$file_magic_test_file"; then
8838 case $deplibs_check_method in
8840 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8841 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8842 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8843 $EGREP "$file_magic_regex" > /dev
/null
; then
8848 *** Warning: the command libtool uses to detect shared libraries,
8849 *** $file_magic_cmd, produces output that libtool cannot recognize.
8850 *** The result is that libtool may fail to recognize shared libraries
8851 *** as such. This will affect the creation of libtool libraries that
8852 *** depend on shared libraries, but programs linked with such libtool
8853 *** libraries will work regardless of this problem. Nevertheless, you
8854 *** may want to report the problem to your system manager and/or to
8855 *** bug-libtool@gnu.org
8865 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8870 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8871 if test -n "$MAGIC_CMD"; then
8872 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8873 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8875 { echo "$as_me:$LINENO: result: no" >&5
8876 echo "${ECHO_T}no" >&6; }
8890 rhapsody
* | darwin
*)
8891 if test -n "$ac_tool_prefix"; then
8892 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8893 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8896 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8897 echo $ECHO_N "(cached) $ECHO_C" >&6
8899 if test -n "$DSYMUTIL"; then
8900 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8906 test -z "$as_dir" && as_dir
=.
8907 for ac_exec_ext
in '' $ac_executable_extensions; do
8908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8909 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8919 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8920 if test -n "$DSYMUTIL"; then
8921 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8922 echo "${ECHO_T}$DSYMUTIL" >&6; }
8924 { echo "$as_me:$LINENO: result: no" >&5
8925 echo "${ECHO_T}no" >&6; }
8930 if test -z "$ac_cv_prog_DSYMUTIL"; then
8931 ac_ct_DSYMUTIL
=$DSYMUTIL
8932 # Extract the first word of "dsymutil", so it can be a program name with args.
8933 set dummy dsymutil
; ac_word
=$2
8934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8936 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 if test -n "$ac_ct_DSYMUTIL"; then
8940 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8946 test -z "$as_dir" && as_dir
=.
8947 for ac_exec_ext
in '' $ac_executable_extensions; do
8948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8949 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8959 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8960 if test -n "$ac_ct_DSYMUTIL"; then
8961 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8962 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
8964 { echo "$as_me:$LINENO: result: no" >&5
8965 echo "${ECHO_T}no" >&6; }
8968 if test "x$ac_ct_DSYMUTIL" = x
; then
8971 case $cross_compiling:$ac_tool_warned in
8973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8974 whose name does not start with the host triplet. If you think this
8975 configuration is useful to you, please write to autoconf@gnu.org." >&5
8976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8977 whose name does not start with the host triplet. If you think this
8978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8979 ac_tool_warned
=yes ;;
8981 DSYMUTIL
=$ac_ct_DSYMUTIL
8984 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8987 if test -n "$ac_tool_prefix"; then
8988 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8989 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8992 if test "${ac_cv_prog_NMEDIT+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 if test -n "$NMEDIT"; then
8996 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9002 test -z "$as_dir" && as_dir
=.
9003 for ac_exec_ext
in '' $ac_executable_extensions; do
9004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9005 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
9006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9015 NMEDIT
=$ac_cv_prog_NMEDIT
9016 if test -n "$NMEDIT"; then
9017 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
9018 echo "${ECHO_T}$NMEDIT" >&6; }
9020 { echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6; }
9026 if test -z "$ac_cv_prog_NMEDIT"; then
9027 ac_ct_NMEDIT
=$NMEDIT
9028 # Extract the first word of "nmedit", so it can be a program name with args.
9029 set dummy nmedit
; ac_word
=$2
9030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9032 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
9033 echo $ECHO_N "(cached) $ECHO_C" >&6
9035 if test -n "$ac_ct_NMEDIT"; then
9036 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
9038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9042 test -z "$as_dir" && as_dir
=.
9043 for ac_exec_ext
in '' $ac_executable_extensions; do
9044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9045 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
9046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9055 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
9056 if test -n "$ac_ct_NMEDIT"; then
9057 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
9058 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
9060 { echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6; }
9064 if test "x$ac_ct_NMEDIT" = x
; then
9067 case $cross_compiling:$ac_tool_warned in
9069 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9070 whose name does not start with the host triplet. If you think this
9071 configuration is useful to you, please write to autoconf@gnu.org." >&5
9072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9073 whose name does not start with the host triplet. If you think this
9074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9075 ac_tool_warned
=yes ;;
9077 NMEDIT
=$ac_ct_NMEDIT
9080 NMEDIT
="$ac_cv_prog_NMEDIT"
9084 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
9085 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
9086 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9087 echo $ECHO_N "(cached) $ECHO_C" >&6
9089 lt_cv_apple_cc_single_mod
=no
9090 if test -z "${LT_MULTI_MODULE}"; then
9091 # By default we will add the -single_module flag. You can override
9092 # by either setting the environment variable LT_MULTI_MODULE
9093 # non-empty at configure time, or by adding -multi_module to the
9095 echo "int foo(void){return 1;}" > conftest.c
9096 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9097 -dynamiclib ${wl}-single_module conftest.c
9098 if test -f libconftest.dylib
; then
9099 lt_cv_apple_cc_single_mod
=yes
9100 rm -rf libconftest.dylib
*
9105 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
9106 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
9107 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
9108 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
9109 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
9110 echo $ECHO_N "(cached) $ECHO_C" >&6
9112 lt_cv_ld_exported_symbols_list
=no
9113 save_LDFLAGS
=$LDFLAGS
9114 echo "_main" > conftest.sym
9115 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9116 cat >conftest.
$ac_ext <<_ACEOF
9119 cat confdefs.h
>>conftest.
$ac_ext
9120 cat >>conftest.
$ac_ext <<_ACEOF
9121 /* end confdefs.h. */
9131 rm -f conftest.
$ac_objext conftest
$ac_exeext
9132 if { (ac_try
="$ac_link"
9134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9135 *) ac_try_echo=$ac_try;;
9137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9138 (eval "$ac_link") 2>conftest.er1
9140 grep -v '^ *+' conftest.er1 >conftest.err
9142 cat conftest.err >&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); } && {
9145 test -z "$ac_c_werror_flag" ||
9146 test ! -s conftest.err
9147 } && test -s conftest$ac_exeext &&
9148 $as_test_x conftest$ac_exeext; then
9149 lt_cv_ld_exported_symbols_list=yes
9151 echo "$as_me: failed program was:" >&5
9152 sed 's/^/| /' conftest.$ac_ext >&5
9154 lt_cv_ld_exported_symbols_list=no
9157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9158 conftest$ac_exeext conftest.$ac_ext
9159 LDFLAGS="$save_LDFLAGS"
9162 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
9163 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
9165 rhapsody* | darwin1.[0123])
9166 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9168 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9170 # if running on 10.5 or later, the deployment target defaults
9171 # to the OS version, if on x86, and 10.4, the deployment
9172 # target defaults to 10.4. Don't you love it?
9173 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9174 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9175 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9177 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9179 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9183 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9184 _lt_dar_single_mod='$single_module'
9186 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9187 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9189 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
9191 if test "$DSYMUTIL" != ":"; then
9192 _lt_dsymutil="~$DSYMUTIL \$lib || :"
9203 # Check whether --enable-libtool-lock was given.
9204 if test "${enable_libtool_lock+set}" = set; then
9205 enableval=$enable_libtool_lock;
9208 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9211 # Check whether --with-pic was given.
9212 if test "${with_pic+set}" = set; then
9213 withval=$with_pic; pic_mode="$withval"
9218 test -z "$pic_mode" && pic_mode=default
9220 # Use C for the default configuration in the libtool script
9224 ac_cpp='$CPP $CPPFLAGS'
9225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9230 # Source file extension for C test sources.
9233 # Object file extension for compiled C test sources.
9237 # Code to be used in simple compile tests
9238 lt_simple_compile_test_code="int some_variable = 0;"
9240 # Code to be used in simple link tests
9241 lt_simple_link_test_code='int main(){return(0);}'
9244 # If no C compiler was specified, use CC.
9247 # If no C compiler flags were specified, use CFLAGS.
9248 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9250 # Allow CC to be a program name with arguments.
9254 # save warnings/boilerplate of simple test code
9255 ac_outfile=conftest.$ac_objext
9256 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9257 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9258 _lt_compiler_boilerplate=`cat conftest.err
`
9261 ac_outfile=conftest.$ac_objext
9262 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9263 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9264 _lt_linker_boilerplate=`cat conftest.err
`
9269 lt_prog_compiler_no_builtin_flag=
9271 if test "$GCC" = yes; then
9272 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9275 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9276 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9277 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9278 echo $ECHO_N "(cached) $ECHO_C" >&6
9280 lt_cv_prog_compiler_rtti_exceptions=no
9281 ac_outfile=conftest.$ac_objext
9282 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9283 lt_compiler_flag="-fno-rtti -fno-exceptions"
9284 # Insert the option either (1) after the last *FLAGS variable, or
9285 # (2) before a word containing "conftest.", or (3) at the end.
9286 # Note that $ac_compile itself does not contain backslashes and begins
9287 # with a dollar sign (not a hyphen), so the echo should work correctly.
9288 # The option is referenced via a variable to avoid confusing sed.
9289 lt_compile=`echo "$ac_compile" |
$SED \
9290 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9291 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9292 -e 's:$: $lt_compiler_flag:'`
9293 (eval echo "\"\$as_me:9293: $lt_compile\"" >&5)
9294 (eval "$lt_compile" 2>conftest.err)
9296 cat conftest.err >&5
9297 echo "$as_me:9297: \$? = $ac_status" >&5
9298 if (exit $ac_status) && test -s "$ac_outfile"; then
9299 # The compiler can only warn and ignore the option if not recognized
9300 # So say no if there are warnings other than the usual output.
9301 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9302 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9303 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9304 lt_cv_prog_compiler_rtti_exceptions=yes
9310 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9311 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9313 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9314 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9321 lt_prog_compiler_wl=
9322 lt_prog_compiler_pic=
9323 lt_prog_compiler_static=
9325 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9326 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9328 if test "$GCC" = yes; then
9329 lt_prog_compiler_wl='-Wl,'
9330 lt_prog_compiler_static='-static'
9334 # All AIX code is PIC.
9335 if test "$host_cpu" = ia64; then
9336 # AIX 5 now supports IA64 processor
9337 lt_prog_compiler_static='-Bstatic'
9342 # FIXME: we need at least 68020 code to build shared libraries, but
9343 # adding the `-m68020' flag to GCC prevents building anything better,
9345 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9348 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9349 # PIC is the default for these OSes.
9352 mingw
* | cygwin
* | pw32
* | os2
*)
9353 # This hack is so that the source file can tell whether it is being
9354 # built for inclusion in a dll (and should export symbols for example).
9355 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9356 # (--disable-auto-import) libraries
9357 lt_prog_compiler_pic
='-DDLL_EXPORT'
9360 darwin
* | rhapsody
*)
9361 # PIC is the default on this platform
9362 # Common symbols not allowed in MH_DYLIB files
9363 lt_prog_compiler_pic
='-fno-common'
9367 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9368 # Instead, we relocate shared libraries at runtime.
9372 # Just because we use GCC doesn't mean we suddenly get shared libraries
9373 # on systems that don't support them.
9374 lt_prog_compiler_can_build_shared
=no
9379 if test -d /usr
/nec
; then
9380 lt_prog_compiler_pic
=-Kconform_pic
9385 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9392 lt_prog_compiler_pic
='-fPIC'
9398 lt_prog_compiler_pic
='-fPIC'
9402 # PORTME Check for flag to pass linker flags through the system compiler.
9405 lt_prog_compiler_wl
='-Wl,'
9406 if test "$host_cpu" = ia64
; then
9407 # AIX 5 now supports IA64 processor
9408 lt_prog_compiler_static
='-Bstatic'
9410 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9414 # PIC is the default on this platform
9415 # Common symbols not allowed in MH_DYLIB files
9416 case $cc_basename in
9418 lt_prog_compiler_pic
='-qnocommon'
9419 lt_prog_compiler_wl
='-Wl,'
9424 mingw
* | cygwin
* | pw32
* | os2
*)
9425 # This hack is so that the source file can tell whether it is being
9426 # built for inclusion in a dll (and should export symbols for example).
9427 lt_prog_compiler_pic
='-DDLL_EXPORT'
9430 hpux9
* | hpux10
* | hpux11
*)
9431 lt_prog_compiler_wl
='-Wl,'
9432 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9439 lt_prog_compiler_pic
='+Z'
9442 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9443 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9446 irix5
* | irix6
* | nonstopux
*)
9447 lt_prog_compiler_wl
='-Wl,'
9448 # PIC (with -KPIC) is the default.
9449 lt_prog_compiler_static
='-non_shared'
9453 lt_prog_compiler_pic
='-KPIC'
9454 lt_prog_compiler_static
='-Bstatic'
9457 linux
* | k
*bsd
*-gnu)
9458 case $cc_basename in
9460 lt_prog_compiler_wl
='-Wl,'
9461 lt_prog_compiler_pic
='-KPIC'
9462 lt_prog_compiler_static
='-static'
9464 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
9465 # Portland Group compilers (*not* the Pentium gcc compiler,
9466 # which looks to be a dead project)
9467 lt_prog_compiler_wl
='-Wl,'
9468 lt_prog_compiler_pic
='-fpic'
9469 lt_prog_compiler_static
='-Bstatic'
9472 lt_prog_compiler_wl
='-Wl,'
9473 # All Alpha code is PIC.
9474 lt_prog_compiler_static
='-non_shared'
9477 case `$CC -V 2>&1 | sed 5q` in
9480 lt_prog_compiler_pic
='-KPIC'
9481 lt_prog_compiler_static
='-Bstatic'
9482 lt_prog_compiler_wl
='-Wl,'
9485 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9486 lt_prog_compiler_pic
='-KPIC'
9487 lt_prog_compiler_static
='-Bstatic'
9488 lt_prog_compiler_wl
=''
9495 osf3
* | osf4
* | osf5
*)
9496 lt_prog_compiler_wl
='-Wl,'
9497 # All OSF/1 code is PIC.
9498 lt_prog_compiler_static
='-non_shared'
9502 lt_prog_compiler_static
='-non_shared'
9506 lt_prog_compiler_pic
='-KPIC'
9507 lt_prog_compiler_static
='-Bstatic'
9508 case $cc_basename in
9510 lt_prog_compiler_wl
='-Qoption ld ';;
9512 lt_prog_compiler_wl
='-Wl,';;
9517 lt_prog_compiler_wl
='-Qoption ld '
9518 lt_prog_compiler_pic
='-PIC'
9519 lt_prog_compiler_static
='-Bstatic'
9522 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9523 lt_prog_compiler_wl
='-Wl,'
9524 lt_prog_compiler_pic
='-KPIC'
9525 lt_prog_compiler_static
='-Bstatic'
9529 if test -d /usr
/nec
;then
9530 lt_prog_compiler_pic
='-Kconform_pic'
9531 lt_prog_compiler_static
='-Bstatic'
9535 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9536 lt_prog_compiler_wl
='-Wl,'
9537 lt_prog_compiler_pic
='-KPIC'
9538 lt_prog_compiler_static
='-Bstatic'
9542 lt_prog_compiler_wl
='-Wl,'
9543 lt_prog_compiler_can_build_shared
=no
9547 lt_prog_compiler_pic
='-pic'
9548 lt_prog_compiler_static
='-Bstatic'
9552 lt_prog_compiler_can_build_shared
=no
9557 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9558 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9561 # Check to make sure the PIC flag actually works.
9563 if test -n "$lt_prog_compiler_pic"; then
9565 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9566 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9567 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9568 echo $ECHO_N "(cached) $ECHO_C" >&6
9570 lt_cv_prog_compiler_pic_works
=no
9571 ac_outfile
=conftest.
$ac_objext
9572 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9573 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9574 # Insert the option either (1) after the last *FLAGS variable, or
9575 # (2) before a word containing "conftest.", or (3) at the end.
9576 # Note that $ac_compile itself does not contain backslashes and begins
9577 # with a dollar sign (not a hyphen), so the echo should work correctly.
9578 # The option is referenced via a variable to avoid confusing sed.
9579 lt_compile
=`echo "$ac_compile" | $SED \
9580 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9581 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9582 -e 's:$: $lt_compiler_flag:'`
9583 (eval echo "\"\$as_me:9583: $lt_compile\"" >&5)
9584 (eval "$lt_compile" 2>conftest.err
)
9586 cat conftest.err
>&5
9587 echo "$as_me:9587: \$? = $ac_status" >&5
9588 if (exit $ac_status) && test -s "$ac_outfile"; then
9589 # The compiler can only warn and ignore the option if not recognized
9590 # So say no if there are warnings other than the usual output.
9591 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9592 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9593 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9594 lt_cv_prog_compiler_pic_works
=yes
9600 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9601 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
9603 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9604 case $lt_prog_compiler_pic in
9606 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9609 lt_prog_compiler_pic
=
9610 lt_prog_compiler_can_build_shared
=no
9615 # For platforms which do not support PIC, -DPIC is meaningless:
9617 lt_prog_compiler_pic
=
9620 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9625 # Check to make sure the static flag actually works.
9627 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9628 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9629 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9630 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9631 echo $ECHO_N "(cached) $ECHO_C" >&6
9633 lt_cv_prog_compiler_static_works
=no
9634 save_LDFLAGS
="$LDFLAGS"
9635 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9636 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9637 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9638 # The linker can only warn and ignore the option if not recognized
9639 # So say no if there are warnings
9640 if test -s conftest.err
; then
9641 # Append any errors to the config.log.
9642 cat conftest.err
1>&5
9643 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9644 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9645 if diff conftest.exp conftest.er2
>/dev
/null
; then
9646 lt_cv_prog_compiler_static_works
=yes
9649 lt_cv_prog_compiler_static_works
=yes
9653 LDFLAGS
="$save_LDFLAGS"
9656 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9657 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
9659 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9662 lt_prog_compiler_static
=
9666 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9667 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9668 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9669 echo $ECHO_N "(cached) $ECHO_C" >&6
9671 lt_cv_prog_compiler_c_o
=no
9672 $rm -r conftest
2>/dev
/null
9676 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9678 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9679 # Insert the option either (1) after the last *FLAGS variable, or
9680 # (2) before a word containing "conftest.", or (3) at the end.
9681 # Note that $ac_compile itself does not contain backslashes and begins
9682 # with a dollar sign (not a hyphen), so the echo should work correctly.
9683 lt_compile
=`echo "$ac_compile" | $SED \
9684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9686 -e 's:$: $lt_compiler_flag:'`
9687 (eval echo "\"\$as_me:9687: $lt_compile\"" >&5)
9688 (eval "$lt_compile" 2>out
/conftest.err
)
9690 cat out
/conftest.err
>&5
9691 echo "$as_me:9691: \$? = $ac_status" >&5
9692 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9694 # The compiler can only warn and ignore the option if not recognized
9695 # So say no if there are warnings
9696 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9697 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9698 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9699 lt_cv_prog_compiler_c_o
=yes
9704 # SGI C++ compiler will create directory out/ii_files/ for
9705 # template instantiation
9706 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
9707 $rm out
/* && rmdir out
9713 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9714 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9717 hard_links
="nottested"
9718 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9719 # do not overwrite the value of need_locks provided by the user
9720 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9721 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9724 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9726 ln conftest.a conftest.b
2>&5 || hard_links
=no
9727 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9728 { echo "$as_me:$LINENO: result: $hard_links" >&5
9729 echo "${ECHO_T}$hard_links" >&6; }
9730 if test "$hard_links" = no
; then
9731 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9732 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9739 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9740 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9743 allow_undefined_flag
=
9744 enable_shared_with_static_runtimes
=no
9746 archive_expsym_cmds
=
9747 old_archive_From_new_cmds
=
9748 old_archive_from_expsyms_cmds
=
9749 export_dynamic_flag_spec
=
9750 whole_archive_flag_spec
=
9751 thread_safe_flag_spec
=
9752 hardcode_libdir_flag_spec
=
9753 hardcode_libdir_flag_spec_ld
=
9754 hardcode_libdir_separator
=
9757 hardcode_shlibpath_var
=unsupported
9758 link_all_deplibs
=unknown
9759 hardcode_automatic
=no
9762 always_export_symbols
=no
9763 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9764 # include_expsyms should be a list of space-separated symbols to be *always*
9765 # included in the symbol list
9767 # exclude_expsyms can be an extended regexp of symbols to exclude
9768 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9769 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9770 # as well as any symbol that contains `d'.
9771 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9772 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9773 # platforms (ab)use it in PIC code, but their linkers get confused if
9774 # the symbol is explicitly referenced. Since portable code cannot
9775 # rely on this symbol name, it's probably fine to never include it in
9776 # preloaded symbol tables.
9777 # Exclude shared library initialization/finalization symbols.
9778 extract_expsyms_cmds
=
9779 # Just being paranoid about ensuring that cc_basename is set.
9780 for cc_temp
in $compiler""; do
9782 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9783 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9788 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9791 cygwin
* | mingw
* | pw32
*)
9792 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9793 # When not using gcc, we currently assume that we are using
9794 # Microsoft Visual C++.
9795 if test "$GCC" != yes; then
9800 # we just hope/assume this is gcc and not c89 (= MSVC++)
9809 if test "$with_gnu_ld" = yes; then
9810 # If archive_cmds runs LD, not CC, wlarc should be empty
9813 # Set some defaults for GNU ld with shared library support. These
9814 # are reset later if shared libraries are not supported. Putting them
9815 # here allows them to be overridden if necessary.
9816 runpath_var
=LD_RUN_PATH
9817 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
9818 export_dynamic_flag_spec
='${wl}--export-dynamic'
9819 # ancient GNU ld didn't support --whole-archive et. al.
9820 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
9821 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9823 whole_archive_flag_spec
=
9825 supports_anon_versioning
=no
9826 case `$LD -v 2>/dev/null` in
9827 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9828 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9829 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9830 *\
2.11.
*) ;; # other 2.11 versions
9831 *) supports_anon_versioning
=yes ;;
9834 # See if GNU ld supports shared libraries.
9837 # On AIX/PPC, the GNU linker is very broken
9838 if test "$host_cpu" != ia64
; then
9842 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9843 *** to be unable to reliably create shared libraries on AIX.
9844 *** Therefore, libtool is disabling shared libraries support. If you
9845 *** really care for shared libraries, you may want to modify your PATH
9846 *** so that a non-GNU linker is found, and then restart.
9853 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)'
9854 hardcode_libdir_flag_spec
='-L$libdir'
9855 hardcode_minus_L
=yes
9857 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9858 # that the semantics of dynamic libraries on AmigaOS, at least up
9859 # to version 4, is to share data among multiple programs linked
9860 # with the same dynamic library. Since this doesn't match the
9861 # behavior of shared libraries on other platforms, we can't use
9867 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9868 allow_undefined_flag
=unsupported
9869 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9870 # support --undefined. This deserves some investigation. FIXME
9871 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9877 cygwin
* | mingw
* | pw32
*)
9878 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9879 # as there is no search path for DLLs.
9880 hardcode_libdir_flag_spec
='-L$libdir'
9881 allow_undefined_flag
=unsupported
9882 always_export_symbols
=no
9883 enable_shared_with_static_runtimes
=yes
9884 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9886 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
9887 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9888 # If the export-symbols file already is a .def file (1st line
9889 # is EXPORTS), use it as is; otherwise, prepend...
9890 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9891 cp $export_symbols $output_objdir/$soname.def;
9893 echo EXPORTS > $output_objdir/$soname.def;
9894 cat $export_symbols >> $output_objdir/$soname.def;
9896 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9904 hardcode_shlibpath_var
=no
9905 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9906 export_dynamic_flag_spec
='${wl}-E'
9907 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9908 # Instead, shared libraries are loaded at an image base (0x10000000 by
9909 # default) and relocated if they conflict, which is a slow very memory
9910 # consuming and fragmenting process. To avoid this, we pick a random,
9911 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9912 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9913 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9914 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'
9917 gnu
* | linux
* | k
*bsd
*-gnu)
9918 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9920 case $cc_basename,$host_cpu in
9921 pgcc
*) # Portland Group C compiler
9922 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'
9923 tmp_addflag
=' $pic_flag'
9925 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9926 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'
9927 tmp_addflag
=' $pic_flag -Mnomain' ;;
9928 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9929 tmp_addflag
=' -i_dynamic' ;;
9930 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9931 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9932 ifc
* | ifort
*) # Intel Fortran compiler
9933 tmp_addflag
=' -nofor_main' ;;
9935 case `$CC -V 2>&1 | sed 5q` in
9936 *Sun\ C
*) # Sun C 5.9
9937 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
9938 tmp_sharedflag
='-G' ;;
9939 *Sun\ F
*) # Sun Fortran 8.3
9940 tmp_sharedflag
='-G' ;;
9942 tmp_sharedflag
='-shared' ;;
9944 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9946 if test $supports_anon_versioning = yes; then
9947 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
9948 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9949 $echo "local: *; };" >> $output_objdir/$libname.ver~
9950 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9958 netbsd
* | netbsdelf
*-gnu)
9959 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9960 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9963 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9964 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9969 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
9973 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9974 *** create shared libraries on Solaris systems. Therefore, libtool
9975 *** is disabling shared libraries support. We urge you to upgrade GNU
9976 *** binutils to release 2.9.1 or newer. Another option is to modify
9977 *** your PATH or compiler configuration so that the native linker is
9978 *** used, and then restart.
9981 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9982 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9983 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9989 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9990 case `$LD -v 2>&1` in
9991 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9995 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9996 *** reliably create shared libraries on SCO systems. Therefore, libtool
9997 *** is disabling shared libraries support. We urge you to upgrade GNU
9998 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9999 *** your PATH or compiler configuration so that the native linker is
10000 *** used, and then restart.
10005 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10006 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
10007 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
10008 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
10017 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_direct
=yes
10020 hardcode_shlibpath_var
=no
10024 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10025 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10026 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10033 if test "$ld_shlibs" = no
; then
10035 hardcode_libdir_flag_spec
=
10036 export_dynamic_flag_spec
=
10037 whole_archive_flag_spec
=
10040 # PORTME fill in a description of your system's linker (not GNU ld)
10043 allow_undefined_flag
=unsupported
10044 always_export_symbols
=yes
10045 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'
10046 # Note: this linker hardcodes the directories in LIBPATH if there
10047 # are no directories specified by -L.
10048 hardcode_minus_L
=yes
10049 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10050 # Neither direct hardcoding nor static linking is supported with a
10052 hardcode_direct
=unsupported
10057 if test "$host_cpu" = ia64
; then
10058 # On IA64, the linker does run time linking by default, so we don't
10059 # have to do anything special.
10060 aix_use_runtimelinking
=no
10061 exp_sym_flag
='-Bexport'
10064 # If we're using GNU nm, then we don't want the "-C" option.
10065 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10066 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
10067 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'
10069 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'
10071 aix_use_runtimelinking
=no
10073 # Test if we are trying to use run time linking or normal
10074 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10075 # need to do runtime linking.
10076 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10077 for ld_flag
in $LDFLAGS; do
10078 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10079 aix_use_runtimelinking
=yes
10086 exp_sym_flag
='-bexport'
10087 no_entry_flag
='-bnoentry'
10090 # When large executables or shared objects are built, AIX ld can
10091 # have problems creating the table of contents. If linking a library
10092 # or program results in "error TOC overflow" add -mminimal-toc to
10093 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10094 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10097 hardcode_direct
=yes
10098 hardcode_libdir_separator
=':'
10099 link_all_deplibs
=yes
10101 if test "$GCC" = yes; then
10102 case $host_os in aix4.
[012]|aix4.
[012].
*)
10103 # We only want to do this on AIX 4.2 and lower, the check
10104 # below for broken collect2 doesn't work under 4.3+
10105 collect2name
=`${CC} -print-prog-name=collect2`
10106 if test -f "$collect2name" && \
10107 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10109 # We have reworked collect2
10112 # We have old collect2
10113 hardcode_direct
=unsupported
10114 # It fails to find uninstalled libraries when the uninstalled
10115 # path is not listed in the libpath. Setting hardcode_minus_L
10116 # to unsupported forces relinking
10117 hardcode_minus_L
=yes
10118 hardcode_libdir_flag_spec
='-L$libdir'
10119 hardcode_libdir_separator
=
10123 shared_flag
='-shared'
10124 if test "$aix_use_runtimelinking" = yes; then
10125 shared_flag
="$shared_flag "'${wl}-G'
10129 if test "$host_cpu" = ia64
; then
10130 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10131 # chokes on -Wl,-G. The following line is correct:
10134 if test "$aix_use_runtimelinking" = yes; then
10135 shared_flag
='${wl}-G'
10137 shared_flag
='${wl}-bM:SRE'
10142 # It seems that -bexpall does not export symbols beginning with
10143 # underscore (_), so it is better to generate a list of symbols to export.
10144 always_export_symbols
=yes
10145 if test "$aix_use_runtimelinking" = yes; then
10146 # Warning - without using the other runtime loading flags (-brtl),
10147 # -berok will link without error, but may produce a broken library.
10148 allow_undefined_flag
='-berok'
10149 # Determine the default libpath from the value encoded in an empty executable.
10150 cat >conftest.
$ac_ext <<_ACEOF
10153 cat confdefs.h
>>conftest.
$ac_ext
10154 cat >>conftest.
$ac_ext <<_ACEOF
10155 /* end confdefs.h. */
10165 rm -f conftest.
$ac_objext conftest
$ac_exeext
10166 if { (ac_try
="$ac_link"
10167 case "(($ac_try" in
10168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10169 *) ac_try_echo=$ac_try;;
10171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10172 (eval "$ac_link") 2>conftest.er1
10174 grep -v '^ *+' conftest.er1 >conftest.err
10176 cat conftest.err >&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); } && {
10179 test -z "$ac_c_werror_flag" ||
10180 test ! -s conftest.err
10181 } && test -s conftest$ac_exeext &&
10182 $as_test_x conftest$ac_exeext; then
10184 lt_aix_libpath_sed='
10185 /Import File Strings/,/^$/ {
10191 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10192 # Check for a 64-bit object if we didn't find anything.
10193 if test -z "$aix_libpath"; then
10194 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10197 echo "$as_me: failed program was:" >&5
10198 sed 's/^/| /' conftest.$ac_ext >&5
10203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10204 conftest$ac_exeext conftest.$ac_ext
10205 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10207 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10208 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"
10210 if test "$host_cpu" = ia64; then
10211 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10212 allow_undefined_flag="-z nodefs"
10213 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"
10215 # Determine the default libpath from the value encoded in an empty executable.
10216 cat >conftest.$ac_ext <<_ACEOF
10219 cat confdefs.h >>conftest.$ac_ext
10220 cat >>conftest.$ac_ext <<_ACEOF
10221 /* end confdefs.h. */
10231 rm -f conftest.$ac_objext conftest$ac_exeext
10232 if { (ac_try="$ac_link"
10233 case "(($ac_try" in
10234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10235 *) ac_try_echo
=$ac_try;;
10237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10238 (eval "$ac_link") 2>conftest.er1
10240 grep -v '^ *+' conftest.er1
>conftest.err
10242 cat conftest.err
>&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); } && {
10245 test -z "$ac_c_werror_flag" ||
10246 test ! -s conftest.err
10247 } && test -s conftest
$ac_exeext &&
10248 $as_test_x conftest
$ac_exeext; then
10250 lt_aix_libpath_sed
='
10251 /Import File Strings/,/^$/ {
10257 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10258 # Check for a 64-bit object if we didn't find anything.
10259 if test -z "$aix_libpath"; then
10260 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10263 echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.
$ac_ext >&5
10269 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10270 conftest
$ac_exeext conftest.
$ac_ext
10271 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10273 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10274 # Warning - without using the other run time loading flags,
10275 # -berok will link without error, but may produce a broken library.
10276 no_undefined_flag
=' ${wl}-bernotok'
10277 allow_undefined_flag
=' ${wl}-berok'
10278 # Exported symbols can be pulled into shared objects from archives
10279 whole_archive_flag_spec
='$convenience'
10280 archive_cmds_need_lc
=yes
10281 # This is similar to how AIX traditionally builds its shared libraries.
10282 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'
10288 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)'
10289 hardcode_libdir_flag_spec
='-L$libdir'
10290 hardcode_minus_L
=yes
10291 # see comment about different semantics on the GNU ld section
10296 export_dynamic_flag_spec
=-rdynamic
10299 cygwin
* | mingw
* | pw32
*)
10300 # When not using gcc, we currently assume that we are using
10301 # Microsoft Visual C++.
10302 # hardcode_libdir_flag_spec is actually meaningless, as there is
10303 # no search path for DLLs.
10304 hardcode_libdir_flag_spec
=' '
10305 allow_undefined_flag
=unsupported
10306 # Tell ltmain to make .lib files, not .a files.
10308 # Tell ltmain to make .dll files, not .so files.
10310 # FIXME: Setting linknames here is a bad hack.
10311 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10312 # The linker will automatically build a .lib file if we build a DLL.
10313 old_archive_From_new_cmds
='true'
10314 # FIXME: Should let the user specify the lib program.
10315 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10316 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10317 enable_shared_with_static_runtimes
=yes
10320 darwin
* | rhapsody
*)
10322 rhapsody
* | darwin1.
[012])
10323 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
10326 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10327 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10329 case ${MACOSX_DEPLOYMENT_TARGET} in
10331 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10334 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
10340 archive_cmds_need_lc
=no
10342 hardcode_automatic
=yes
10343 hardcode_shlibpath_var
=unsupported
10344 whole_archive_flag_spec
=''
10345 link_all_deplibs
=yes
10346 if test "$GCC" = yes ; then
10347 output_verbose_link_cmd
='echo'
10348 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10349 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10350 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10351 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10353 case $cc_basename in
10355 output_verbose_link_cmd
='echo'
10356 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10357 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10358 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10359 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10360 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}'
10370 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10371 hardcode_libdir_flag_spec
='-L$libdir'
10372 hardcode_shlibpath_var
=no
10379 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10380 # support. Future versions do this automatically, but an explicit c++rt0.o
10381 # does not break anything, and helps significantly (at the cost of a little
10384 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10385 hardcode_libdir_flag_spec
='-R$libdir'
10386 hardcode_direct
=yes
10387 hardcode_shlibpath_var
=no
10390 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10392 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10393 hardcode_direct
=yes
10394 hardcode_minus_L
=yes
10395 hardcode_shlibpath_var
=no
10398 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10399 freebsd
* | dragonfly
*)
10400 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10401 hardcode_libdir_flag_spec
='-R$libdir'
10402 hardcode_direct
=yes
10403 hardcode_shlibpath_var
=no
10407 if test "$GCC" = yes; then
10408 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'
10410 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'
10412 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10413 hardcode_libdir_separator
=:
10414 hardcode_direct
=yes
10416 # hardcode_minus_L: Not really in the search PATH,
10417 # but as the default location of the library.
10418 hardcode_minus_L
=yes
10419 export_dynamic_flag_spec
='${wl}-E'
10423 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10424 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10426 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10428 if test "$with_gnu_ld" = no
; then
10429 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10430 hardcode_libdir_separator
=:
10432 hardcode_direct
=yes
10433 export_dynamic_flag_spec
='${wl}-E'
10435 # hardcode_minus_L: Not really in the search PATH,
10436 # but as the default location of the library.
10437 hardcode_minus_L
=yes
10442 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10445 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10448 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10451 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10457 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10460 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10463 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10467 if test "$with_gnu_ld" = no
; then
10468 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10469 hardcode_libdir_separator
=:
10473 hardcode_libdir_flag_spec_ld
='+b $libdir'
10475 hardcode_shlibpath_var
=no
10478 hardcode_direct
=yes
10479 export_dynamic_flag_spec
='${wl}-E'
10481 # hardcode_minus_L: Not really in the search PATH,
10482 # but as the default location of the library.
10483 hardcode_minus_L
=yes
10489 irix5
* | irix6
* | nonstopux
*)
10490 if test "$GCC" = yes; then
10491 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'
10493 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'
10494 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10496 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10497 hardcode_libdir_separator
=:
10498 link_all_deplibs
=yes
10501 netbsd
* | netbsdelf
*-gnu)
10502 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10503 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10505 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10507 hardcode_libdir_flag_spec
='-R$libdir'
10508 hardcode_direct
=yes
10509 hardcode_shlibpath_var
=no
10513 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10514 hardcode_direct
=yes
10515 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10516 hardcode_libdir_separator
=:
10517 hardcode_shlibpath_var
=no
10521 if test -f /usr
/libexec
/ld.so
; then
10522 hardcode_direct
=yes
10523 hardcode_shlibpath_var
=no
10524 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10525 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10526 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10527 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10528 export_dynamic_flag_spec
='${wl}-E'
10531 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10532 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10533 hardcode_libdir_flag_spec
='-R$libdir'
10536 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10537 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10547 hardcode_libdir_flag_spec
='-L$libdir'
10548 hardcode_minus_L
=yes
10549 allow_undefined_flag
=unsupported
10550 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'
10551 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10555 if test "$GCC" = yes; then
10556 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10557 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'
10559 allow_undefined_flag
=' -expect_unresolved \*'
10560 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'
10562 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10563 hardcode_libdir_separator
=:
10566 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10567 if test "$GCC" = yes; then
10568 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10569 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'
10570 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10572 allow_undefined_flag
=' -expect_unresolved \*'
10573 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'
10574 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10575 $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'
10577 # Both c and cxx compiler support -rpath directly
10578 hardcode_libdir_flag_spec
='-rpath $libdir'
10580 hardcode_libdir_separator
=:
10584 no_undefined_flag
=' -z text'
10585 if test "$GCC" = yes; then
10587 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10588 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10589 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10592 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10593 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10594 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10596 hardcode_libdir_flag_spec
='-R$libdir'
10597 hardcode_shlibpath_var
=no
10599 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10601 # The compiler driver will combine and reorder linker options,
10602 # but understands `-z linker_flag'. GCC discards it without `$wl',
10603 # but is careful enough not to reorder.
10604 # Supported since Solaris 2.6 (maybe 2.5.1?)
10605 if test "$GCC" = yes; then
10606 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10608 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10612 link_all_deplibs
=yes
10616 if test "x$host_vendor" = xsequent
; then
10617 # Use $CC to link under sequent, because it throws in some extra .o
10618 # files that make .init and .fini sections work.
10619 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10621 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10623 hardcode_libdir_flag_spec
='-L$libdir'
10624 hardcode_direct
=yes
10625 hardcode_minus_L
=yes
10626 hardcode_shlibpath_var
=no
10630 case $host_vendor in
10632 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10633 hardcode_direct
=yes # is this really true???
10636 ## LD is ld it makes a PLAMLIB
10637 ## CC just makes a GrossModule.
10638 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10639 reload_cmds
='$CC -r -o $output$reload_objs'
10643 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10644 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10647 runpath_var
='LD_RUN_PATH'
10648 hardcode_shlibpath_var
=no
10652 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10653 hardcode_shlibpath_var
=no
10654 export_dynamic_flag_spec
='-Bexport'
10658 if test -d /usr
/nec
; then
10659 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10660 hardcode_shlibpath_var
=no
10661 runpath_var
=LD_RUN_PATH
10662 hardcode_runpath_var
=yes
10667 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10668 no_undefined_flag
='${wl}-z,text'
10669 archive_cmds_need_lc
=no
10670 hardcode_shlibpath_var
=no
10671 runpath_var
='LD_RUN_PATH'
10673 if test "$GCC" = yes; then
10674 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10675 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10677 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10678 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10682 sysv5
* | sco3.2v5
* | sco5v6
*)
10683 # Note: We can NOT use -z defs as we might desire, because we do not
10684 # link with -lc, and that would cause any symbols used from libc to
10685 # always be unresolved, which means just about no library would
10686 # ever link correctly. If we're not using GNU ld we use -z text
10687 # though, which does catch some bad symbols but isn't as heavy-handed
10689 no_undefined_flag
='${wl}-z,text'
10690 allow_undefined_flag
='${wl}-z,nodefs'
10691 archive_cmds_need_lc
=no
10692 hardcode_shlibpath_var
=no
10693 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
10694 hardcode_libdir_separator
=':'
10695 link_all_deplibs
=yes
10696 export_dynamic_flag_spec
='${wl}-Bexport'
10697 runpath_var
='LD_RUN_PATH'
10699 if test "$GCC" = yes; then
10700 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10701 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10703 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10704 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10709 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10710 hardcode_libdir_flag_spec
='-L$libdir'
10711 hardcode_shlibpath_var
=no
10720 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10721 echo "${ECHO_T}$ld_shlibs" >&6; }
10722 test "$ld_shlibs" = no
&& can_build_shared
=no
10725 # Do we need to explicitly link libc?
10727 case "x$archive_cmds_need_lc" in
10729 # Assume -lc should be added
10730 archive_cmds_need_lc
=yes
10732 if test "$enable_shared" = yes && test "$GCC" = yes; then
10733 case $archive_cmds in
10735 # FIXME: we may have to deal with multi-command sequences.
10738 # Test whether the compiler implicitly links with -lc since on some
10739 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10740 # to ld, don't add -lc before -lgcc.
10741 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10742 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10744 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10747 (eval $ac_compile) 2>&5
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); } 2>conftest.err
; then
10753 libobjs
=conftest.
$ac_objext
10755 wl
=$lt_prog_compiler_wl
10756 pic_flag
=$lt_prog_compiler_pic
10762 lt_save_allow_undefined_flag
=$allow_undefined_flag
10763 allow_undefined_flag
=
10764 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10765 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); }
10770 archive_cmds_need_lc
=no
10772 archive_cmds_need_lc
=yes
10774 allow_undefined_flag
=$lt_save_allow_undefined_flag
10776 cat conftest.err
1>&5
10779 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10780 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10787 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10788 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10789 library_names_spec
=
10790 libname_spec
='lib$name'
10794 postuninstall_cmds
=
10798 shlibpath_overrides_runpath
=unknown
10800 dynamic_linker
="$host_os ld.so"
10801 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10803 if test "$GCC" = yes; then
10805 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10806 *) lt_awk_arg
="/^libraries:/" ;;
10808 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10809 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
10810 # if the path contains ";" then we assume it to be the separator
10811 # otherwise default to the standard path separator (i.e. ":") - it is
10812 # assumed that no part of a normal pathname contains ";" but that should
10813 # okay in the real world where ";" in dirpaths is itself problematic.
10814 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10816 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10818 # Ok, now we have the path, separated by spaces, we can step through it
10819 # and add multilib dir if necessary.
10820 lt_tmp_lt_search_path_spec
=
10821 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10822 for lt_sys_path
in $lt_search_path_spec; do
10823 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10824 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10826 test -d "$lt_sys_path" && \
10827 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10830 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
10831 BEGIN {RS=" "; FS="/|\n";} {
10834 for (lt_i = NF; lt_i > 0; lt_i--) {
10835 if ($lt_i != "" && $lt_i != ".") {
10836 if ($lt_i == "..") {
10839 if (lt_count == 0) {
10840 lt_foo="/" $lt_i lt_foo;
10847 if (lt_foo != "") { lt_freq[lt_foo]++; }
10848 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10850 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
10852 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10854 need_lib_prefix
=unknown
10855 hardcode_into_libs
=no
10857 # when you set need_version to no, make sure it does not cause -set_version
10858 # flags to be left without arguments
10859 need_version
=unknown
10864 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10865 shlibpath_var
=LIBPATH
10867 # AIX 3 has no versioning support, so we append a major version to the name.
10868 soname_spec
='${libname}${release}${shared_ext}$major'
10875 hardcode_into_libs
=yes
10876 if test "$host_cpu" = ia64
; then
10877 # AIX 5 supports IA64
10878 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10879 shlibpath_var
=LD_LIBRARY_PATH
10881 # With GCC up to 2.95.x, collect2 would create an import file
10882 # for dependence libraries. The import file would start with
10883 # the line `#! .'. This would cause the generated library to
10884 # depend on `.', always an invalid library. This was fixed in
10885 # development snapshots of GCC prior to 3.0.
10887 aix4 | aix4.
[01] | aix4.
[01].
*)
10888 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10890 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
10893 can_build_shared
=no
10897 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10898 # soname into executable. Probably we can add versioning support to
10899 # collect2, so additional links can be useful in future.
10900 if test "$aix_use_runtimelinking" = yes; then
10901 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10902 # instead of lib<name>.a to let people know that these are not
10903 # typical AIX shared libraries.
10904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 # We preserve .a as extension for shared libraries through AIX4.2
10907 # and later when we are not doing run time linking.
10908 library_names_spec
='${libname}${release}.a $libname.a'
10909 soname_spec
='${libname}${release}${shared_ext}$major'
10911 shlibpath_var
=LIBPATH
10916 library_names_spec
='$libname.ixlibrary $libname.a'
10917 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10918 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'
10922 library_names_spec
='${libname}${shared_ext}'
10923 dynamic_linker
="$host_os ld.so"
10924 shlibpath_var
=LIBRARY_PATH
10930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10931 soname_spec
='${libname}${release}${shared_ext}$major'
10932 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10933 shlibpath_var
=LD_LIBRARY_PATH
10934 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10935 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10936 # the default ld.so.conf also contains /usr/contrib/lib and
10937 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10938 # libtool to hard-code these into programs
10941 cygwin
* | mingw
* | pw32
*)
10942 version_type
=windows
10947 case $GCC,$host_os in
10948 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10949 library_names_spec
='$libname.dll.a'
10950 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10951 postinstall_cmds
='base_file=`basename \${file}`~
10952 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10953 dldir=$destdir/`dirname \$dlpath`~
10954 test -d \$dldir || mkdir -p \$dldir~
10955 $install_prog $dir/$dlname \$dldir/$dlname~
10956 chmod a+x \$dldir/$dlname'
10957 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10958 dlpath=$dir/\$dldll~
10960 shlibpath_overrides_runpath
=yes
10964 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10965 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10966 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10969 # MinGW DLLs use traditional 'lib' prefix
10970 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10971 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10972 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
10973 # It is most probably a Windows format PATH printed by
10974 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10975 # path with ; separators, and with drive letters. We can handle the
10976 # drive letters (cygwin fileutils understands them), so leave them,
10977 # especially as we might pass files found there to a mingw objdump,
10978 # which wouldn't understand a cygwinified path. Ahh.
10979 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10981 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10985 # pw32 DLLs use 'pw' prefix rather than 'lib'
10986 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10992 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10995 dynamic_linker
='Win32 ld.exe'
10996 # FIXME: first we should search . and the directory the executable is in
11000 darwin
* | rhapsody
*)
11001 dynamic_linker
="$host_os dyld"
11002 version_type
=darwin
11005 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11006 soname_spec
='${libname}${release}${major}$shared_ext'
11007 shlibpath_overrides_runpath
=yes
11008 shlibpath_var
=DYLD_LIBRARY_PATH
11009 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11011 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11012 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11020 soname_spec
='${libname}${release}${shared_ext}$major'
11021 shlibpath_var
=LD_LIBRARY_PATH
11028 freebsd
* | dragonfly
*)
11029 # DragonFly does not have aout. When/if they implement a new
11030 # versioning mechanism, adjust this.
11031 if test -x /usr
/bin
/objformat
; then
11032 objformat
=`/usr/bin/objformat`
11035 freebsd
[123]*) objformat
=aout
;;
11036 *) objformat
=elf
;;
11039 version_type
=freebsd-
$objformat
11040 case $version_type in
11042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11047 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11051 shlibpath_var
=LD_LIBRARY_PATH
11054 shlibpath_overrides_runpath
=yes
11056 freebsd3.
[01]* | freebsdelf3.
[01]*)
11057 shlibpath_overrides_runpath
=yes
11058 hardcode_into_libs
=yes
11060 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11061 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11062 shlibpath_overrides_runpath
=no
11063 hardcode_into_libs
=yes
11065 *) # from 4.6 on, and DragonFly
11066 shlibpath_overrides_runpath
=yes
11067 hardcode_into_libs
=yes
11076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11077 soname_spec
='${libname}${release}${shared_ext}$major'
11078 shlibpath_var
=LD_LIBRARY_PATH
11079 hardcode_into_libs
=yes
11082 hpux9
* | hpux10
* | hpux11
*)
11083 # Give a soname corresponding to the major version so that dld.sl refuses to
11084 # link against other versions.
11091 hardcode_into_libs
=yes
11092 dynamic_linker
="$host_os dld.so"
11093 shlibpath_var
=LD_LIBRARY_PATH
11094 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096 soname_spec
='${libname}${release}${shared_ext}$major'
11097 if test "X$HPUX_IA64_MODE" = X32
; then
11098 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11100 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11102 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11106 hardcode_into_libs
=yes
11107 dynamic_linker
="$host_os dld.sl"
11108 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11109 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111 soname_spec
='${libname}${release}${shared_ext}$major'
11112 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11113 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11117 dynamic_linker
="$host_os dld.sl"
11118 shlibpath_var
=SHLIB_PATH
11119 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11121 soname_spec
='${libname}${release}${shared_ext}$major'
11124 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11125 postinstall_cmds
='chmod 555 $lib'
11132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11133 soname_spec
='${libname}${release}${shared_ext}$major'
11134 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11135 shlibpath_var
=LD_LIBRARY_PATH
11136 shlibpath_overrides_runpath
=no
11137 hardcode_into_libs
=yes
11140 irix5
* | irix6
* | nonstopux
*)
11142 nonstopux
*) version_type
=nonstopux
;;
11144 if test "$lt_cv_prog_gnu_ld" = yes; then
11152 soname_spec
='${libname}${release}${shared_ext}$major'
11153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11155 irix5
* | nonstopux
*)
11156 libsuff
= shlibsuff
=
11159 case $LD in # libtool.m4 will add one of these switches to LD
11160 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11161 libsuff
= shlibsuff
= libmagic
=32-bit;;
11162 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11163 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11164 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11165 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11166 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11170 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11171 shlibpath_overrides_runpath
=no
11172 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11173 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11174 hardcode_into_libs
=yes
11177 # No shared lib support for Linux oldld, aout, or coff.
11178 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11182 # This must be Linux ELF.
11183 linux
* | k
*bsd
*-gnu)
11187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11188 soname_spec
='${libname}${release}${shared_ext}$major'
11189 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11190 shlibpath_var
=LD_LIBRARY_PATH
11191 shlibpath_overrides_runpath
=no
11192 # This implies no fast_install, which is unacceptable.
11193 # Some rework will be needed to allow for fast_install
11194 # before this can be enabled.
11195 hardcode_into_libs
=yes
11197 # Append ld.so.conf contents to the search path
11198 if test -f /etc
/ld.so.conf
; then
11199 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11200 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11203 # We used to test for /lib/ld.so.1 and disable shared libraries on
11204 # powerpc, because MkLinux only supported shared libraries with the
11205 # GNU dynamic linker. Since this was broken with cross compilers,
11206 # most powerpc-linux boxes support dynamic linking these days and
11207 # people can always --disable-shared, the test was removed, and we
11208 # assume the GNU/Linux dynamic linker is in use.
11209 dynamic_linker
='GNU/Linux ld.so'
11216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11217 soname_spec
='${libname}${release}${shared_ext}$major'
11218 shlibpath_var
=LD_LIBRARY_PATH
11219 shlibpath_overrides_runpath
=no
11220 hardcode_into_libs
=yes
11221 dynamic_linker
='NetBSD ld.elf_so'
11228 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11230 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11231 dynamic_linker
='NetBSD (a.out) ld.so'
11233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11234 soname_spec
='${libname}${release}${shared_ext}$major'
11235 dynamic_linker
='NetBSD ld.elf_so'
11237 shlibpath_var
=LD_LIBRARY_PATH
11238 shlibpath_overrides_runpath
=yes
11239 hardcode_into_libs
=yes
11244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11245 shlibpath_var
=LD_LIBRARY_PATH
11246 shlibpath_overrides_runpath
=yes
11253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11254 soname_spec
='${libname}${release}${shared_ext}$major'
11255 shlibpath_var
=LD_LIBRARY_PATH
11256 shlibpath_overrides_runpath
=yes
11261 sys_lib_dlsearch_path_spec
="/usr/lib"
11263 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11265 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11266 *) need_version
=no
;;
11268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11269 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11270 shlibpath_var
=LD_LIBRARY_PATH
11271 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11273 openbsd2.
[89] | openbsd2.
[89].
*)
11274 shlibpath_overrides_runpath
=no
11277 shlibpath_overrides_runpath
=yes
11281 shlibpath_overrides_runpath
=yes
11286 libname_spec
='$name'
11289 library_names_spec
='$libname${shared_ext} $libname.a'
11290 dynamic_linker
='OS/2 ld.exe'
11291 shlibpath_var
=LIBPATH
11294 osf3
* | osf4
* | osf5
*)
11298 soname_spec
='${libname}${release}${shared_ext}$major'
11299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11300 shlibpath_var
=LD_LIBRARY_PATH
11301 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11302 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11314 soname_spec
='${libname}${release}${shared_ext}$major'
11315 shlibpath_var
=LD_LIBRARY_PATH
11316 shlibpath_overrides_runpath
=yes
11317 hardcode_into_libs
=yes
11318 # ldd complains unless libraries are executable
11319 postinstall_cmds
='chmod +x $lib'
11324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11325 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11326 shlibpath_var
=LD_LIBRARY_PATH
11327 shlibpath_overrides_runpath
=yes
11328 if test "$with_gnu_ld" = yes; then
11336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11337 soname_spec
='${libname}${release}${shared_ext}$major'
11338 shlibpath_var
=LD_LIBRARY_PATH
11339 case $host_vendor in
11341 shlibpath_overrides_runpath
=no
11343 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11344 runpath_var
=LD_RUN_PATH
11352 shlibpath_overrides_runpath
=no
11353 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11359 if test -d /usr
/nec
;then
11361 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11362 soname_spec
='$libname${shared_ext}.$major'
11363 shlibpath_var
=LD_LIBRARY_PATH
11367 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11368 version_type
=freebsd-elf
11371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11372 soname_spec
='${libname}${release}${shared_ext}$major'
11373 shlibpath_var
=LD_LIBRARY_PATH
11374 hardcode_into_libs
=yes
11375 if test "$with_gnu_ld" = yes; then
11376 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11377 shlibpath_overrides_runpath
=no
11379 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11380 shlibpath_overrides_runpath
=yes
11383 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11387 sys_lib_dlsearch_path_spec
='/usr/lib'
11392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11393 soname_spec
='${libname}${release}${shared_ext}$major'
11394 shlibpath_var
=LD_LIBRARY_PATH
11401 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11402 echo "${ECHO_T}$dynamic_linker" >&6; }
11403 test "$dynamic_linker" = no
&& can_build_shared
=no
11405 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11406 echo $ECHO_N "(cached) $ECHO_C" >&6
11408 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
11411 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11412 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11413 echo $ECHO_N "(cached) $ECHO_C" >&6
11415 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
11418 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11420 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11421 if test "$GCC" = yes; then
11422 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11425 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11426 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11428 if test -n "$hardcode_libdir_flag_spec" || \
11429 test -n "$runpath_var" || \
11430 test "X$hardcode_automatic" = "Xyes" ; then
11432 # We can hardcode non-existant directories.
11433 if test "$hardcode_direct" != no
&&
11434 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11435 # have to relink, otherwise we might link with an installed library
11436 # when we should be linking with a yet-to-be-installed one
11437 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11438 test "$hardcode_minus_L" != no
; then
11439 # Linking always hardcodes the temporary library directory.
11440 hardcode_action
=relink
11442 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11443 hardcode_action
=immediate
11446 # We cannot hardcode anything, or else we can only hardcode existing
11448 hardcode_action
=unsupported
11450 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
11451 echo "${ECHO_T}$hardcode_action" >&6; }
11453 if test "$hardcode_action" = relink
; then
11454 # Fast installation is not supported
11455 enable_fast_install
=no
11456 elif test "$shlibpath_overrides_runpath" = yes ||
11457 test "$enable_shared" = no
; then
11458 # Fast installation is not necessary
11459 enable_fast_install
=needless
11464 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11465 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11466 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
11467 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11468 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11469 { echo "$as_me:$LINENO: result: yes" >&5
11470 echo "${ECHO_T}yes" >&6; }
11472 # FIXME - insert some real tests, host_os isn't really good enough
11475 if test -n "$STRIP" ; then
11476 striplib
="$STRIP -x"
11477 old_striplib
="$STRIP -S"
11478 { echo "$as_me:$LINENO: result: yes" >&5
11479 echo "${ECHO_T}yes" >&6; }
11481 { echo "$as_me:$LINENO: result: no" >&5
11482 echo "${ECHO_T}no" >&6; }
11486 { echo "$as_me:$LINENO: result: no" >&5
11487 echo "${ECHO_T}no" >&6; }
11492 if test "x$enable_dlopen" != xyes
; then
11493 enable_dlopen
=unknown
11494 enable_dlopen_self
=unknown
11495 enable_dlopen_self_static
=unknown
11502 lt_cv_dlopen
="load_add_on"
11504 lt_cv_dlopen_self
=yes
11508 lt_cv_dlopen
="LoadLibrary"
11513 lt_cv_dlopen
="dlopen"
11518 # if libdl is installed we need to link against it
11519 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11520 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11521 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11522 echo $ECHO_N "(cached) $ECHO_C" >&6
11524 ac_check_lib_save_LIBS
=$LIBS
11526 cat >conftest.
$ac_ext <<_ACEOF
11529 cat confdefs.h
>>conftest.
$ac_ext
11530 cat >>conftest.
$ac_ext <<_ACEOF
11531 /* end confdefs.h. */
11533 /* Override any GCC internal prototype to avoid an error.
11534 Use char because int might match the return type of a GCC
11535 builtin and then its argument prototype would still apply. */
11548 rm -f conftest.
$ac_objext conftest
$ac_exeext
11549 if { (ac_try
="$ac_link"
11550 case "(($ac_try" in
11551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11552 *) ac_try_echo=$ac_try;;
11554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11555 (eval "$ac_link") 2>conftest.er1
11557 grep -v '^ *+' conftest.er1 >conftest.err
11559 cat conftest.err >&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); } && {
11562 test -z "$ac_c_werror_flag" ||
11563 test ! -s conftest.err
11564 } && test -s conftest$ac_exeext &&
11565 $as_test_x conftest$ac_exeext; then
11566 ac_cv_lib_dl_dlopen=yes
11568 echo "$as_me: failed program was:" >&5
11569 sed 's/^/| /' conftest.$ac_ext >&5
11571 ac_cv_lib_dl_dlopen=no
11574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_lib_save_LIBS
11578 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11579 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11580 if test $ac_cv_lib_dl_dlopen = yes; then
11581 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11584 lt_cv_dlopen="dyld"
11586 lt_cv_dlopen_self=yes
11593 { echo "$as_me:$LINENO: checking for shl_load" >&5
11594 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11595 if test "${ac_cv_func_shl_load+set}" = set; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11598 cat >conftest.$ac_ext <<_ACEOF
11601 cat confdefs.h >>conftest.$ac_ext
11602 cat >>conftest.$ac_ext <<_ACEOF
11603 /* end confdefs.h. */
11604 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11606 #define shl_load innocuous_shl_load
11608 /* System header to define __stub macros and hopefully few prototypes,
11609 which can conflict with char shl_load (); below.
11610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11611 <limits.h> exists even on freestanding compilers. */
11614 # include <limits.h>
11616 # include <assert.h>
11621 /* Override any GCC internal prototype to avoid an error.
11622 Use char because int might match the return type of a GCC
11623 builtin and then its argument prototype would still apply. */
11628 /* The GNU C library defines this for functions which it implements
11629 to always fail with ENOSYS. Some functions are actually named
11630 something starting with __ and the normal name is an alias. */
11631 #if defined __stub_shl_load || defined __stub___shl_load
11638 return shl_load ();
11643 rm -f conftest.$ac_objext conftest$ac_exeext
11644 if { (ac_try="$ac_link"
11645 case "(($ac_try" in
11646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11647 *) ac_try_echo
=$ac_try;;
11649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11650 (eval "$ac_link") 2>conftest.er1
11652 grep -v '^ *+' conftest.er1
>conftest.err
11654 cat conftest.err
>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); } && {
11657 test -z "$ac_c_werror_flag" ||
11658 test ! -s conftest.err
11659 } && test -s conftest
$ac_exeext &&
11660 $as_test_x conftest
$ac_exeext; then
11661 ac_cv_func_shl_load
=yes
11663 echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.
$ac_ext >&5
11666 ac_cv_func_shl_load
=no
11669 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11670 conftest
$ac_exeext conftest.
$ac_ext
11672 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11673 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11674 if test $ac_cv_func_shl_load = yes; then
11675 lt_cv_dlopen
="shl_load"
11677 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11678 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11679 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11680 echo $ECHO_N "(cached) $ECHO_C" >&6
11682 ac_check_lib_save_LIBS
=$LIBS
11684 cat >conftest.
$ac_ext <<_ACEOF
11687 cat confdefs.h
>>conftest.
$ac_ext
11688 cat >>conftest.
$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11691 /* Override any GCC internal prototype to avoid an error.
11692 Use char because int might match the return type of a GCC
11693 builtin and then its argument prototype would still apply. */
11701 return shl_load ();
11706 rm -f conftest.
$ac_objext conftest
$ac_exeext
11707 if { (ac_try
="$ac_link"
11708 case "(($ac_try" in
11709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11710 *) ac_try_echo=$ac_try;;
11712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11713 (eval "$ac_link") 2>conftest.er1
11715 grep -v '^ *+' conftest.er1 >conftest.err
11717 cat conftest.err >&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); } && {
11720 test -z "$ac_c_werror_flag" ||
11721 test ! -s conftest.err
11722 } && test -s conftest$ac_exeext &&
11723 $as_test_x conftest$ac_exeext; then
11724 ac_cv_lib_dld_shl_load=yes
11726 echo "$as_me: failed program was:" >&5
11727 sed 's/^/| /' conftest.$ac_ext >&5
11729 ac_cv_lib_dld_shl_load=no
11732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11733 conftest$ac_exeext conftest.$ac_ext
11734 LIBS=$ac_check_lib_save_LIBS
11736 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11737 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11738 if test $ac_cv_lib_dld_shl_load = yes; then
11739 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11741 { echo "$as_me:$LINENO: checking for dlopen" >&5
11742 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11743 if test "${ac_cv_func_dlopen+set}" = set; then
11744 echo $ECHO_N "(cached) $ECHO_C" >&6
11746 cat >conftest.$ac_ext <<_ACEOF
11749 cat confdefs.h >>conftest.$ac_ext
11750 cat >>conftest.$ac_ext <<_ACEOF
11751 /* end confdefs.h. */
11752 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11754 #define dlopen innocuous_dlopen
11756 /* System header to define __stub macros and hopefully few prototypes,
11757 which can conflict with char dlopen (); below.
11758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11759 <limits.h> exists even on freestanding compilers. */
11762 # include <limits.h>
11764 # include <assert.h>
11769 /* Override any GCC internal prototype to avoid an error.
11770 Use char because int might match the return type of a GCC
11771 builtin and then its argument prototype would still apply. */
11776 /* The GNU C library defines this for functions which it implements
11777 to always fail with ENOSYS. Some functions are actually named
11778 something starting with __ and the normal name is an alias. */
11779 #if defined __stub_dlopen || defined __stub___dlopen
11791 rm -f conftest.$ac_objext conftest$ac_exeext
11792 if { (ac_try="$ac_link"
11793 case "(($ac_try" in
11794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11795 *) ac_try_echo
=$ac_try;;
11797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11798 (eval "$ac_link") 2>conftest.er1
11800 grep -v '^ *+' conftest.er1
>conftest.err
11802 cat conftest.err
>&5
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); } && {
11805 test -z "$ac_c_werror_flag" ||
11806 test ! -s conftest.err
11807 } && test -s conftest
$ac_exeext &&
11808 $as_test_x conftest
$ac_exeext; then
11809 ac_cv_func_dlopen
=yes
11811 echo "$as_me: failed program was:" >&5
11812 sed 's/^/| /' conftest.
$ac_ext >&5
11814 ac_cv_func_dlopen
=no
11817 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11818 conftest
$ac_exeext conftest.
$ac_ext
11820 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11821 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11822 if test $ac_cv_func_dlopen = yes; then
11823 lt_cv_dlopen
="dlopen"
11825 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11826 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11827 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11830 ac_check_lib_save_LIBS
=$LIBS
11832 cat >conftest.
$ac_ext <<_ACEOF
11835 cat confdefs.h
>>conftest.
$ac_ext
11836 cat >>conftest.
$ac_ext <<_ACEOF
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11854 rm -f conftest.
$ac_objext conftest
$ac_exeext
11855 if { (ac_try
="$ac_link"
11856 case "(($ac_try" in
11857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11858 *) ac_try_echo=$ac_try;;
11860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11861 (eval "$ac_link") 2>conftest.er1
11863 grep -v '^ *+' conftest.er1 >conftest.err
11865 cat conftest.err >&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } && {
11868 test -z "$ac_c_werror_flag" ||
11869 test ! -s conftest.err
11870 } && test -s conftest$ac_exeext &&
11871 $as_test_x conftest$ac_exeext; then
11872 ac_cv_lib_dl_dlopen=yes
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.$ac_ext >&5
11877 ac_cv_lib_dl_dlopen=no
11880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11881 conftest$ac_exeext conftest.$ac_ext
11882 LIBS=$ac_check_lib_save_LIBS
11884 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11885 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11886 if test $ac_cv_lib_dl_dlopen = yes; then
11887 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11889 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11890 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11891 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11892 echo $ECHO_N "(cached) $ECHO_C" >&6
11894 ac_check_lib_save_LIBS=$LIBS
11895 LIBS="-lsvld $LIBS"
11896 cat >conftest.$ac_ext <<_ACEOF
11899 cat confdefs.h >>conftest.$ac_ext
11900 cat >>conftest.$ac_ext <<_ACEOF
11901 /* end confdefs.h. */
11903 /* Override any GCC internal prototype to avoid an error.
11904 Use char because int might match the return type of a GCC
11905 builtin and then its argument prototype would still apply. */
11918 rm -f conftest.$ac_objext conftest$ac_exeext
11919 if { (ac_try="$ac_link"
11920 case "(($ac_try" in
11921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11922 *) ac_try_echo
=$ac_try;;
11924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11925 (eval "$ac_link") 2>conftest.er1
11927 grep -v '^ *+' conftest.er1
>conftest.err
11929 cat conftest.err
>&5
11930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11931 (exit $ac_status); } && {
11932 test -z "$ac_c_werror_flag" ||
11933 test ! -s conftest.err
11934 } && test -s conftest
$ac_exeext &&
11935 $as_test_x conftest
$ac_exeext; then
11936 ac_cv_lib_svld_dlopen
=yes
11938 echo "$as_me: failed program was:" >&5
11939 sed 's/^/| /' conftest.
$ac_ext >&5
11941 ac_cv_lib_svld_dlopen
=no
11944 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11945 conftest
$ac_exeext conftest.
$ac_ext
11946 LIBS
=$ac_check_lib_save_LIBS
11948 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11949 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11950 if test $ac_cv_lib_svld_dlopen = yes; then
11951 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11953 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11954 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11955 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11956 echo $ECHO_N "(cached) $ECHO_C" >&6
11958 ac_check_lib_save_LIBS
=$LIBS
11960 cat >conftest.
$ac_ext <<_ACEOF
11963 cat confdefs.h
>>conftest.
$ac_ext
11964 cat >>conftest.
$ac_ext <<_ACEOF
11965 /* end confdefs.h. */
11967 /* Override any GCC internal prototype to avoid an error.
11968 Use char because int might match the return type of a GCC
11969 builtin and then its argument prototype would still apply. */
11977 return dld_link ();
11982 rm -f conftest.
$ac_objext conftest
$ac_exeext
11983 if { (ac_try
="$ac_link"
11984 case "(($ac_try" in
11985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11986 *) ac_try_echo=$ac_try;;
11988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11989 (eval "$ac_link") 2>conftest.er1
11991 grep -v '^ *+' conftest.er1 >conftest.err
11993 cat conftest.err >&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); } && {
11996 test -z "$ac_c_werror_flag" ||
11997 test ! -s conftest.err
11998 } && test -s conftest$ac_exeext &&
11999 $as_test_x conftest$ac_exeext; then
12000 ac_cv_lib_dld_dld_link=yes
12002 echo "$as_me: failed program was:" >&5
12003 sed 's/^/| /' conftest.$ac_ext >&5
12005 ac_cv_lib_dld_dld_link=no
12008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12009 conftest$ac_exeext conftest.$ac_ext
12010 LIBS=$ac_check_lib_save_LIBS
12012 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12013 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12014 if test $ac_cv_lib_dld_dld_link = yes; then
12015 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12036 if test "x$lt_cv_dlopen" != xno; then
12042 case $lt_cv_dlopen in
12044 save_CPPFLAGS="$CPPFLAGS"
12045 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12047 save_LDFLAGS="$LDFLAGS"
12048 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12051 LIBS="$lt_cv_dlopen_libs $LIBS"
12053 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12054 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12055 if test "${lt_cv_dlopen_self+set}" = set; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12058 if test "$cross_compiling" = yes; then :
12059 lt_cv_dlopen_self=cross
12061 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12062 lt_status=$lt_dlunknown
12063 cat > conftest.$ac_ext <<EOF
12064 #line 12064 "configure"
12065 #include "confdefs.h"
12074 # define LT_DLGLOBAL RTLD_GLOBAL
12077 # define LT_DLGLOBAL DL_GLOBAL
12079 # define LT_DLGLOBAL 0
12083 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12084 find out it does not work in some platform. */
12085 #ifndef LT_DLLAZY_OR_NOW
12087 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12090 # define LT_DLLAZY_OR_NOW DL_LAZY
12093 # define LT_DLLAZY_OR_NOW RTLD_NOW
12096 # define LT_DLLAZY_OR_NOW DL_NOW
12098 # define LT_DLLAZY_OR_NOW 0
12106 extern "C" void exit (int);
12109 void fnord() { int i=42;}
12112 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12113 int status = $lt_dlunknown;
12117 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12118 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12119 /* dlclose (self); */
12127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12128 (eval $ac_link) 2>&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12132 (./conftest; exit; ) >&5 2>/dev/null
12134 case x$lt_status in
12135 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12136 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12137 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12140 # compilation failed
12141 lt_cv_dlopen_self=no
12148 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12149 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12151 if test "x$lt_cv_dlopen_self" = xyes; then
12152 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12153 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12154 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12155 if test "${lt_cv_dlopen_self_static+set}" = set; then
12156 echo $ECHO_N "(cached) $ECHO_C" >&6
12158 if test "$cross_compiling" = yes; then :
12159 lt_cv_dlopen_self_static=cross
12161 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12162 lt_status=$lt_dlunknown
12163 cat > conftest.$ac_ext <<EOF
12164 #line 12164 "configure"
12165 #include "confdefs.h"
12174 # define LT_DLGLOBAL RTLD_GLOBAL
12177 # define LT_DLGLOBAL DL_GLOBAL
12179 # define LT_DLGLOBAL 0
12183 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12184 find out it does not work in some platform. */
12185 #ifndef LT_DLLAZY_OR_NOW
12187 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12190 # define LT_DLLAZY_OR_NOW DL_LAZY
12193 # define LT_DLLAZY_OR_NOW RTLD_NOW
12196 # define LT_DLLAZY_OR_NOW DL_NOW
12198 # define LT_DLLAZY_OR_NOW 0
12206 extern "C" void exit (int);
12209 void fnord() { int i=42;}
12212 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12213 int status = $lt_dlunknown;
12217 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12218 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12219 /* dlclose (self); */
12227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12228 (eval $ac_link) 2>&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12232 (./conftest; exit; ) >&5 2>/dev/null
12234 case x$lt_status in
12235 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12236 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12237 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12240 # compilation failed
12241 lt_cv_dlopen_self_static=no
12248 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12249 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12252 CPPFLAGS="$save_CPPFLAGS"
12253 LDFLAGS="$save_LDFLAGS"
12258 case $lt_cv_dlopen_self in
12259 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12260 *) enable_dlopen_self=unknown ;;
12263 case $lt_cv_dlopen_self_static in
12264 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12265 *) enable_dlopen_self_static=unknown ;;
12270 # Report which library types will actually be built
12271 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12272 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12273 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
12274 echo "${ECHO_T}$can_build_shared" >&6; }
12276 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12277 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12278 test "$can_build_shared" = "no" && enable_shared=no
12280 # On AIX, shared libraries and static libraries use the same namespace, and
12281 # are all built from PIC.
12284 test "$enable_shared" = yes && enable_static=no
12285 if test -n "$RANLIB"; then
12286 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12287 postinstall_cmds='$RANLIB $lib'
12292 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12293 test "$enable_shared" = yes && enable_static=no
12297 { echo "$as_me:$LINENO: result: $enable_shared" >&5
12298 echo "${ECHO_T}$enable_shared" >&6; }
12300 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12301 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12302 # Make sure either enable_shared or enable_static is yes.
12303 test "$enable_shared" = yes || enable_static=yes
12304 { echo "$as_me:$LINENO: result: $enable_static" >&5
12305 echo "${ECHO_T}$enable_static" >&6; }
12307 # The else clause should only fire when bootstrapping the
12308 # libtool distribution, otherwise you forgot to ship ltmain.sh
12309 # with your package, and you will get complaints that there are
12310 # no rules to generate ltmain.sh.
12311 if test -f "$ltmain"; then
12312 # See if we are running on zsh, and set the options which allow our commands through
12313 # without removal of \ escapes.
12314 if test -n "${ZSH_VERSION+set}" ; then
12315 setopt NO_GLOB_SUBST
12317 # Now quote all the things that may contain metacharacters while being
12318 # careful not to overquote the AC_SUBSTed values. We take copies of the
12319 # variables and quote the copies for generation of the libtool script.
12320 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12322 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12323 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12324 deplibs_check_method reload_flag reload_cmds need_locks \
12325 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12326 lt_cv_sys_global_symbol_to_c_name_address \
12327 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12328 old_postinstall_cmds old_postuninstall_cmds \
12332 lt_prog_compiler_wl \
12333 lt_prog_compiler_pic \
12334 lt_prog_compiler_static \
12335 lt_prog_compiler_no_builtin_flag \
12336 export_dynamic_flag_spec \
12337 thread_safe_flag_spec \
12338 whole_archive_flag_spec \
12339 enable_shared_with_static_runtimes \
12341 old_archive_from_new_cmds \
12346 compiler_lib_search_path \
12347 compiler_lib_search_dirs \
12349 archive_expsym_cmds \
12351 postuninstall_cmds \
12352 old_archive_from_expsyms_cmds \
12353 allow_undefined_flag \
12354 no_undefined_flag \
12355 export_symbols_cmds \
12356 hardcode_libdir_flag_spec \
12357 hardcode_libdir_flag_spec_ld \
12358 hardcode_libdir_separator \
12359 hardcode_automatic \
12361 module_expsym_cmds \
12362 lt_cv_prog_compiler_c_o \
12365 include_expsyms; do
12368 old_archive_cmds | \
12369 old_archive_from_new_cmds | \
12371 archive_expsym_cmds | \
12373 module_expsym_cmds | \
12374 old_archive_from_expsyms_cmds | \
12375 export_symbols_cmds | \
12376 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12377 postinstall_cmds | postuninstall_cmds | \
12378 old_postinstall_cmds | old_postuninstall_cmds | \
12379 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12380 # Double-quote double-evaled strings.
12381 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
12384 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
12390 *'\$0 --fallback-echo"')
12391 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12395 cfgfile="${ofile}T"
12396 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12398 { echo "$as_me:$LINENO: creating $ofile" >&5
12399 echo "$as_me: creating $ofile" >&6;}
12401 cat <<__EOF__ >> "$cfgfile"
12404 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
12405 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12406 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12408 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
12409 # Free Software Foundation, Inc.
12411 # This file is part of GNU Libtool:
12412 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12414 # This program is free software; you can redistribute it and/or modify
12415 # it under the terms of the GNU General Public License as published by
12416 # the Free Software Foundation; either version 2 of the License, or
12417 # (at your option) any later version.
12419 # This program is distributed in the hope that it will be useful, but
12420 # WITHOUT ANY WARRANTY; without even the implied warranty of
12421 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12422 # General Public License for more details.
12424 # You should have received a copy of the GNU General Public License
12425 # along with this program; if not, write to the Free Software
12426 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12428 # As a special exception to the GNU General Public License, if you
12429 # distribute this file as part of a program that contains a
12430 # configuration script generated by Autoconf, you may include it under
12431 # the same distribution terms that you use for the rest of that program.
12433 # A sed program that does not truncate output.
12436 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12437 Xsed="$SED -e 1s/^X//"
12439 # The HP-UX ksh and POSIX shell print the target directory to stdout
12440 # if CDPATH is set.
12441 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12443 # The names of the tagged configurations supported by this script.
12446 # ### BEGIN LIBTOOL CONFIG
12448 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
12450 # Shell to use when invoking shell scripts.
12453 # Whether or not to build shared libraries.
12454 build_libtool_libs=$enable_shared
12456 # Whether or not to build static libraries.
12457 build_old_libs=$enable_static
12459 # Whether or not to add -lc for building shared libraries.
12460 build_libtool_need_lc=$archive_cmds_need_lc
12462 # Whether or not to disallow shared libs when runtime libs are static
12463 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12465 # Whether or not to optimize for fast installation.
12466 fast_install=$enable_fast_install
12469 host_alias=$host_alias
12473 # The build system.
12474 build_alias=$build_alias
12478 # An echo program that does not interpret backslashes.
12483 AR_FLAGS=$lt_AR_FLAGS
12488 # LTCC compiler flags.
12489 LTCFLAGS=$lt_LTCFLAGS
12491 # A language-specific compiler.
12494 # Is the compiler the GNU C compiler?
12500 # The linker used to build libraries.
12503 # Whether we need hard or soft links.
12506 # A BSD-compatible nm program.
12509 # A symbol stripping program
12512 # Used to examine libraries when file_magic_cmd begins "file"
12513 MAGIC_CMD=$MAGIC_CMD
12515 # Used on cygwin: DLL creation program.
12518 # Used on cygwin: object dumper.
12521 # Used on cygwin: assembler.
12524 # The name of the directory that contains temporary libtool files.
12527 # How to create reloadable object files.
12528 reload_flag=$lt_reload_flag
12529 reload_cmds=$lt_reload_cmds
12531 # How to pass a linker flag through the compiler.
12532 wl=$lt_lt_prog_compiler_wl
12534 # Object file suffix (normally "o").
12535 objext="$ac_objext"
12537 # Old archive suffix (normally "a").
12540 # Shared library suffix (normally ".so").
12541 shrext_cmds='$shrext_cmds'
12543 # Executable file suffix (normally "").
12546 # Additional compiler flags for building library objects.
12547 pic_flag=$lt_lt_prog_compiler_pic
12550 # What is the maximum length of a command?
12551 max_cmd_len=$lt_cv_sys_max_cmd_len
12553 # Does compiler simultaneously support -c and -o options?
12554 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12556 # Must we lock files when doing compilation?
12557 need_locks=$lt_need_locks
12559 # Do we need the lib prefix for modules?
12560 need_lib_prefix=$need_lib_prefix
12562 # Do we need a version for libraries?
12563 need_version=$need_version
12565 # Whether dlopen is supported.
12566 dlopen_support=$enable_dlopen
12568 # Whether dlopen of programs is supported.
12569 dlopen_self=$enable_dlopen_self
12571 # Whether dlopen of statically linked programs is supported.
12572 dlopen_self_static=$enable_dlopen_self_static
12574 # Compiler flag to prevent dynamic linking.
12575 link_static_flag=$lt_lt_prog_compiler_static
12577 # Compiler flag to turn off builtin functions.
12578 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12580 # Compiler flag to allow reflexive dlopens.
12581 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12583 # Compiler flag to generate shared objects directly from archives.
12584 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12586 # Compiler flag to generate thread-safe objects.
12587 thread_safe_flag_spec=$lt_thread_safe_flag_spec
12589 # Library versioning type.
12590 version_type=$version_type
12592 # Format of library name prefix.
12593 libname_spec=$lt_libname_spec
12595 # List of archive names. First name is the real one, the rest are links.
12596 # The last name is the one that the linker finds with -lNAME.
12597 library_names_spec=$lt_library_names_spec
12599 # The coded name of the library, if different from the real name.
12600 soname_spec=$lt_soname_spec
12602 # Commands used to build and install an old-style archive.
12604 old_archive_cmds=$lt_old_archive_cmds
12605 old_postinstall_cmds=$lt_old_postinstall_cmds
12606 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12608 # Create an old-style archive from a shared archive.
12609 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12611 # Create a temporary old-style archive to link instead of a shared archive.
12612 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12614 # Commands used to build and install a shared archive.
12615 archive_cmds=$lt_archive_cmds
12616 archive_expsym_cmds=$lt_archive_expsym_cmds
12617 postinstall_cmds=$lt_postinstall_cmds
12618 postuninstall_cmds=$lt_postuninstall_cmds
12620 # Commands used to build a loadable module (assumed same as above if empty)
12621 module_cmds=$lt_module_cmds
12622 module_expsym_cmds=$lt_module_expsym_cmds
12624 # Commands to strip libraries.
12625 old_striplib=$lt_old_striplib
12626 striplib=$lt_striplib
12628 # Dependencies to place before the objects being linked to create a
12630 predep_objects=$lt_predep_objects
12632 # Dependencies to place after the objects being linked to create a
12634 postdep_objects=$lt_postdep_objects
12636 # Dependencies to place before the objects being linked to create a
12638 predeps=$lt_predeps
12640 # Dependencies to place after the objects being linked to create a
12642 postdeps=$lt_postdeps
12644 # The directories searched by this compiler when creating a shared
12646 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
12648 # The library search path used internally by the compiler when linking
12649 # a shared library.
12650 compiler_lib_search_path=$lt_compiler_lib_search_path
12652 # Method to check whether dependent libraries are shared objects.
12653 deplibs_check_method=$lt_deplibs_check_method
12655 # Command to use when deplibs_check_method == file_magic.
12656 file_magic_cmd=$lt_file_magic_cmd
12658 # Flag that allows shared libraries with undefined symbols to be built.
12659 allow_undefined_flag=$lt_allow_undefined_flag
12661 # Flag that forces no undefined symbols.
12662 no_undefined_flag=$lt_no_undefined_flag
12664 # Commands used to finish a libtool library installation in a directory.
12665 finish_cmds=$lt_finish_cmds
12667 # Same as above, but a single script fragment to be evaled but not shown.
12668 finish_eval=$lt_finish_eval
12670 # Take the output of nm and produce a listing of raw symbols and C names.
12671 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12673 # Transform the output of nm in a proper C declaration
12674 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12676 # Transform the output of nm in a C name address pair
12677 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12679 # This is the shared library runtime path variable.
12680 runpath_var=$runpath_var
12682 # This is the shared library path variable.
12683 shlibpath_var=$shlibpath_var
12685 # Is shlibpath searched before the hard-coded library search path?
12686 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12688 # How to hardcode a shared library path into an executable.
12689 hardcode_action=$hardcode_action
12691 # Whether we should hardcode library paths into libraries.
12692 hardcode_into_libs=$hardcode_into_libs
12694 # Flag to hardcode \$libdir into a binary during linking.
12695 # This must work even if \$libdir does not exist.
12696 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12698 # If ld is used when linking, flag to hardcode \$libdir into
12699 # a binary during linking. This must work even if \$libdir does
12701 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12703 # Whether we need a single -rpath flag with a separated argument.
12704 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12706 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12707 # resulting binary.
12708 hardcode_direct=$hardcode_direct
12710 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12711 # resulting binary.
12712 hardcode_minus_L=$hardcode_minus_L
12714 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12715 # the resulting binary.
12716 hardcode_shlibpath_var=$hardcode_shlibpath_var
12718 # Set to yes if building a shared library automatically hardcodes DIR into the library
12719 # and all subsequent libraries and executables linked against it.
12720 hardcode_automatic=$hardcode_automatic
12722 # Variables whose values should be saved in libtool wrapper scripts and
12723 # restored at relink time.
12724 variables_saved_for_relink="$variables_saved_for_relink"
12726 # Whether libtool must link a program against all its dependency libraries.
12727 link_all_deplibs=$link_all_deplibs
12729 # Compile-time system search path for libraries
12730 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12732 # Run-time system search path for libraries
12733 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12735 # Fix the shell variable \$srcfile for the compiler.
12736 fix_srcfile_path=$lt_fix_srcfile_path
12738 # Set to yes if exported symbols are required.
12739 always_export_symbols=$always_export_symbols
12741 # The commands to list exported symbols.
12742 export_symbols_cmds=$lt_export_symbols_cmds
12744 # The commands to extract the exported symbol list from a shared archive.
12745 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12747 # Symbols that should not be listed in the preloaded symbols.
12748 exclude_expsyms=$lt_exclude_expsyms
12750 # Symbols that must always be exported.
12751 include_expsyms=$lt_include_expsyms
12753 # ### END LIBTOOL CONFIG
12760 cat <<\EOF >> "$cfgfile"
12762 # AIX sometimes has problems with the GCC collect2 program. For some
12763 # reason, if we set the COLLECT_NAMES environment variable, the problems
12764 # vanish in a puff of smoke.
12765 if test "X${COLLECT_NAMES+set}" != Xset; then
12767 export COLLECT_NAMES
12773 # We use sed instead of cat because bash on DJGPP gets confused if
12774 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12775 # text mode, it properly converts lines to CR/LF. This bash problem
12776 # is reportedly fixed, but why not run on old versions too?
12777 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12779 mv -f "$cfgfile" "$ofile" || \
12780 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12784 # If there is no Makefile yet, we rely on a make rule to execute
12785 # `config.status
--recheck' to rerun these tests and create the
12786 # libtool script then.
12787 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
12788 if test -f "$ltmain_in"; then
12789 test -f Makefile && make "$ltmain"
12795 ac_cpp='$CPP $CPPFLAGS'
12796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12797 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12803 # Check whether --with-tags was given.
12804 if test "${with_tags+set}" = set; then
12805 withval=$with_tags; tagnames="$withval"
12809 if test -f "$ltmain" && test -n "$tagnames"; then
12810 if test ! -f "${ofile}"; then
12811 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
12812 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
12815 if test -z "$LTCC"; then
12816 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
12817 if test -z "$LTCC"; then
12818 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12819 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
12821 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
12822 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
12825 if test -z "$LTCFLAGS"; then
12826 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
12829 # Extract list of available tagged configurations in $ofile.
12830 # Note that this assumes the entire list is on one line.
12831 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12833 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12834 for tagname in $tagnames; do
12836 # Check whether tagname contains only valid characters
12837 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12839 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12840 echo "$as_me: error: invalid tag name: $tagname" >&2;}
12841 { (exit 1); exit 1; }; }
12845 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12847 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12848 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12849 { (exit 1); exit 1; }; }
12852 # Update the list of available tags.
12853 if test -n "$tagname"; then
12854 echo appending configuration tag \"$tagname\" to $ofile
12858 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12859 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
12860 (test "X$CXX" != "Xg++"))) ; then
12862 ac_cpp='$CXXCPP $CPPFLAGS'
12863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12870 archive_cmds_need_lc_CXX=no
12871 allow_undefined_flag_CXX=
12872 always_export_symbols_CXX=no
12873 archive_expsym_cmds_CXX=
12874 export_dynamic_flag_spec_CXX=
12875 hardcode_direct_CXX=no
12876 hardcode_libdir_flag_spec_CXX=
12877 hardcode_libdir_flag_spec_ld_CXX=
12878 hardcode_libdir_separator_CXX=
12879 hardcode_minus_L_CXX=no
12880 hardcode_shlibpath_var_CXX=unsupported
12881 hardcode_automatic_CXX=no
12883 module_expsym_cmds_CXX=
12884 link_all_deplibs_CXX=unknown
12885 old_archive_cmds_CXX=$old_archive_cmds
12886 no_undefined_flag_CXX=
12887 whole_archive_flag_spec_CXX=
12888 enable_shared_with_static_runtimes_CXX=no
12890 # Dependencies to place before and after the object being linked:
12891 predep_objects_CXX=
12892 postdep_objects_CXX=
12895 compiler_lib_search_path_CXX=
12896 compiler_lib_search_dirs_CXX=
12898 # Source file extension for C++ test sources.
12901 # Object file extension for compiled C++ test sources.
12905 # Code to be used in simple compile tests
12906 lt_simple_compile_test_code="int some_variable = 0;"
12908 # Code to be used in simple link tests
12909 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12911 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12913 # If no C compiler was specified, use CC.
12916 # If no C compiler flags were specified, use CFLAGS.
12917 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12919 # Allow CC to be a program name with arguments.
12923 # save warnings/boilerplate of simple test code
12924 ac_outfile=conftest.$ac_objext
12925 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12926 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12927 _lt_compiler_boilerplate=`cat conftest.err
`
12930 ac_outfile=conftest.$ac_objext
12931 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12932 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12933 _lt_linker_boilerplate=`cat conftest.err
`
12937 # Allow CC to be a program name with arguments.
12942 lt_save_with_gnu_ld=$with_gnu_ld
12943 lt_save_path_LD=$lt_cv_path_LD
12944 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12945 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12947 $as_unset lt_cv_prog_gnu_ld
12949 if test -n "${lt_cv_path_LDCXX+set}"; then
12950 lt_cv_path_LD=$lt_cv_path_LDCXX
12952 $as_unset lt_cv_path_LD
12954 test -z "${LDCXX+set}" || LD=$LDCXX
12958 for cc_temp in $compiler""; do
12960 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12961 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12966 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12969 # We don't want -fno-exception wen compiling C++ code, so set the
12970 # no_builtin_flag separately
12971 if test "$GXX" = yes; then
12972 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12974 lt_prog_compiler_no_builtin_flag_CXX=
12977 if test "$GXX" = yes; then
12978 # Set up default GNU C++ configuration
12981 # Check whether --with-gnu-ld was given.
12982 if test "${with_gnu_ld+set}" = set; then
12983 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12989 if test "$GCC" = yes; then
12990 # Check if gcc -print-prog-name=ld gives a path.
12991 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12992 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12995 # gcc leaves a trailing carriage return which upsets mingw
12996 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
12998 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
13001 # Accept absolute paths.
13003 re_direlt='/[^/][^/]*/\.\./'
13004 # Canonicalize the pathname of ld
13005 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
13006 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13007 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
13009 test -z "$LD" && LD="$ac_prog"
13012 # If it fails, then pretend we aren't using GCC.
13016 # If it is relative, then search for the first ld in PATH.
13017 with_gnu_ld=unknown
13020 elif test "$with_gnu_ld" = yes; then
13021 { echo "$as_me:$LINENO: checking for GNU ld" >&5
13022 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13024 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13025 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13027 if test "${lt_cv_path_LD+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13030 if test -z "$LD"; then
13031 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13032 for ac_dir in $PATH; do
13034 test -z "$ac_dir" && ac_dir=.
13035 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13036 lt_cv_path_LD="$ac_dir/$ac_prog"
13037 # Check to see if the program is GNU ld. I'd rather use --version,
13038 # but apparently some variants of GNU ld only accept -v.
13039 # Break only if it was the GNU/non-GNU ld that we prefer.
13040 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
13041 *GNU* | *'with BFD'*)
13042 test "$with_gnu_ld" != no && break
13045 test "$with_gnu_ld" != yes && break
13052 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13056 LD="$lt_cv_path_LD"
13057 if test -n "$LD"; then
13058 { echo "$as_me:$LINENO: result: $LD" >&5
13059 echo "${ECHO_T}$LD" >&6; }
13061 { echo "$as_me:$LINENO: result: no" >&5
13062 echo "${ECHO_T}no" >&6; }
13064 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13065 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13066 { (exit 1); exit 1; }; }
13067 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13068 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13069 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13070 echo $ECHO_N "(cached) $ECHO_C" >&6
13072 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13073 case `$LD -v 2>&1 </dev
/null
` in
13074 *GNU* | *'with BFD'*)
13075 lt_cv_prog_gnu_ld=yes
13078 lt_cv_prog_gnu_ld=no
13082 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13083 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13084 with_gnu_ld=$lt_cv_prog_gnu_ld
13088 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13089 # archiving commands below assume that GNU ld is being used.
13090 if test "$with_gnu_ld" = yes; then
13091 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13092 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'
13094 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13095 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13097 # If archive_cmds runs LD, not CC, wlarc should be empty
13098 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13099 # investigate it a little bit more. (MM)
13102 # ancient GNU ld didn't support --whole-archive et. al.
13103 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
13104 grep 'no-whole-archive' > /dev/null; then
13105 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13107 whole_archive_flag_spec_CXX=
13113 # A generic and very simple default shared library creation
13114 # command for GNU C++ for the case where it uses the native
13115 # linker, instead of GNU ld. If possible, this setting should
13116 # overridden to take advantage of the native linker features on
13117 # the platform it is being used on.
13118 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13121 # Commands to make compiler produce verbose output that lists
13122 # what "hidden" libraries, object files and flags are used when
13123 # linking a shared library.
13124 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13132 # PORTME: fill in a description of your system's C++ link characteristics
13133 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13134 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13138 # FIXME: insert proper C++ library support
13142 if test "$host_cpu" = ia64; then
13143 # On IA64, the linker does run time linking by default, so we don't
13144 # have to do anything special.
13145 aix_use_runtimelinking=no
13146 exp_sym_flag='-Bexport'
13149 aix_use_runtimelinking=no
13151 # Test if we are trying to use run time linking or normal
13152 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13153 # need to do runtime linking.
13154 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13155 for ld_flag in $LDFLAGS; do
13158 aix_use_runtimelinking=yes
13166 exp_sym_flag='-bexport'
13167 no_entry_flag='-bnoentry'
13170 # When large executables or shared objects are built, AIX ld can
13171 # have problems creating the table of contents. If linking a library
13172 # or program results in "error TOC overflow" add -mminimal-toc to
13173 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13174 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13176 archive_cmds_CXX=''
13177 hardcode_direct_CXX=yes
13178 hardcode_libdir_separator_CXX=':'
13179 link_all_deplibs_CXX=yes
13181 if test "$GXX" = yes; then
13182 case $host_os in aix4.[012]|aix4.[012].*)
13183 # We only want to do this on AIX 4.2 and lower, the check
13184 # below for broken collect2 doesn't work under 4.3+
13185 collect2name=`${CC} -print-prog-name=collect2
`
13186 if test -f "$collect2name" && \
13187 strings "$collect2name" | grep resolve_lib_name >/dev/null
13189 # We have reworked collect2
13192 # We have old collect2
13193 hardcode_direct_CXX=unsupported
13194 # It fails to find uninstalled libraries when the uninstalled
13195 # path is not listed in the libpath. Setting hardcode_minus_L
13196 # to unsupported forces relinking
13197 hardcode_minus_L_CXX=yes
13198 hardcode_libdir_flag_spec_CXX='-L$libdir'
13199 hardcode_libdir_separator_CXX=
13203 shared_flag='-shared'
13204 if test "$aix_use_runtimelinking" = yes; then
13205 shared_flag="$shared_flag "'${wl}-G'
13209 if test "$host_cpu" = ia64; then
13210 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13211 # chokes on -Wl,-G. The following line is correct:
13214 if test "$aix_use_runtimelinking" = yes; then
13215 shared_flag='${wl}-G'
13217 shared_flag='${wl}-bM:SRE'
13222 # It seems that -bexpall does not export symbols beginning with
13223 # underscore (_), so it is better to generate a list of symbols to export.
13224 always_export_symbols_CXX=yes
13225 if test "$aix_use_runtimelinking" = yes; then
13226 # Warning - without using the other runtime loading flags (-brtl),
13227 # -berok will link without error, but may produce a broken library.
13228 allow_undefined_flag_CXX='-berok'
13229 # Determine the default libpath from the value encoded in an empty executable.
13230 cat >conftest.$ac_ext <<_ACEOF
13233 cat confdefs.h >>conftest.$ac_ext
13234 cat >>conftest.$ac_ext <<_ACEOF
13235 /* end confdefs.h. */
13245 rm -f conftest.$ac_objext conftest$ac_exeext
13246 if { (ac_try="$ac_link"
13247 case "(($ac_try" in
13248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13249 *) ac_try_echo
=$ac_try;;
13251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13252 (eval "$ac_link") 2>conftest.er1
13254 grep -v '^ *+' conftest.er1
>conftest.err
13256 cat conftest.err
>&5
13257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13258 (exit $ac_status); } && {
13259 test -z "$ac_cxx_werror_flag" ||
13260 test ! -s conftest.err
13261 } && test -s conftest
$ac_exeext &&
13262 $as_test_x conftest
$ac_exeext; then
13264 lt_aix_libpath_sed
='
13265 /Import File Strings/,/^$/ {
13271 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13272 # Check for a 64-bit object if we didn't find anything.
13273 if test -z "$aix_libpath"; then
13274 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13277 echo "$as_me: failed program was:" >&5
13278 sed 's/^/| /' conftest.
$ac_ext >&5
13283 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13284 conftest
$ac_exeext conftest.
$ac_ext
13285 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13287 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13289 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"
13291 if test "$host_cpu" = ia64
; then
13292 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13293 allow_undefined_flag_CXX
="-z nodefs"
13294 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"
13296 # Determine the default libpath from the value encoded in an empty executable.
13297 cat >conftest.
$ac_ext <<_ACEOF
13300 cat confdefs.h
>>conftest.
$ac_ext
13301 cat >>conftest.
$ac_ext <<_ACEOF
13302 /* end confdefs.h. */
13312 rm -f conftest.
$ac_objext conftest
$ac_exeext
13313 if { (ac_try
="$ac_link"
13314 case "(($ac_try" in
13315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13316 *) ac_try_echo=$ac_try;;
13318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13319 (eval "$ac_link") 2>conftest.er1
13321 grep -v '^ *+' conftest.er1 >conftest.err
13323 cat conftest.err >&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } && {
13326 test -z "$ac_cxx_werror_flag" ||
13327 test ! -s conftest.err
13328 } && test -s conftest$ac_exeext &&
13329 $as_test_x conftest$ac_exeext; then
13331 lt_aix_libpath_sed='
13332 /Import File Strings/,/^$/ {
13338 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
13339 # Check for a 64-bit object if we didn't find anything.
13340 if test -z "$aix_libpath"; then
13341 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
13344 echo "$as_me: failed program was:" >&5
13345 sed 's/^/| /' conftest.$ac_ext >&5
13350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13351 conftest$ac_exeext conftest.$ac_ext
13352 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13354 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13355 # Warning - without using the other run time loading flags,
13356 # -berok will link without error, but may produce a broken library.
13357 no_undefined_flag_CXX=' ${wl}-bernotok'
13358 allow_undefined_flag_CXX=' ${wl}-berok'
13359 # Exported symbols can be pulled into shared objects from archives
13360 whole_archive_flag_spec_CXX='$convenience'
13361 archive_cmds_need_lc_CXX=yes
13362 # This is similar to how AIX traditionally builds its shared libraries.
13363 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'
13369 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13370 allow_undefined_flag_CXX=unsupported
13371 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13372 # support --undefined. This deserves some investigation. FIXME
13373 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13380 case $cc_basename in
13382 # FIXME: insert proper C++ library support
13388 cygwin* | mingw* | pw32*)
13389 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13390 # as there is no search path for DLLs.
13391 hardcode_libdir_flag_spec_CXX='-L$libdir'
13392 allow_undefined_flag_CXX=unsupported
13393 always_export_symbols_CXX=no
13394 enable_shared_with_static_runtimes_CXX=yes
13396 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13397 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'
13398 # If the export-symbols file already is a .def file (1st line
13399 # is EXPORTS), use it as is; otherwise, prepend...
13400 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
13401 cp $export_symbols $output_objdir/$soname.def;
13403 echo EXPORTS > $output_objdir/$soname.def;
13404 cat $export_symbols >> $output_objdir/$soname.def;
13406 $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'
13411 darwin* | rhapsody*)
13412 archive_cmds_need_lc_CXX=no
13413 hardcode_direct_CXX=no
13414 hardcode_automatic_CXX=yes
13415 hardcode_shlibpath_var_CXX=unsupported
13416 whole_archive_flag_spec_CXX=''
13417 link_all_deplibs_CXX=yes
13418 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13419 if test "$GXX" = yes ; then
13420 output_verbose_link_cmd='echo'
13421 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13422 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13423 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13424 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13425 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13426 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13427 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13430 case $cc_basename in
13432 output_verbose_link_cmd='echo'
13433 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
13434 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13435 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13436 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13437 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}'
13447 case $cc_basename in
13449 # FIXME: insert proper C++ library support
13453 # Green Hills C++ Compiler
13454 # FIXME: insert proper C++ library support
13458 # FIXME: insert proper C++ library support
13464 # C++ shared libraries reported to be fairly broken before switch to ELF
13468 archive_cmds_need_lc_CXX=no
13470 freebsd* | dragonfly*)
13471 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13478 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13479 hardcode_libdir_separator_CXX=:
13480 export_dynamic_flag_spec_CXX='${wl}-E'
13481 hardcode_direct_CXX=yes
13482 hardcode_minus_L_CXX=yes # Not in the search PATH,
13483 # but as the default
13484 # location of the library.
13486 case $cc_basename in
13488 # FIXME: insert proper C++ library support
13492 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'
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.
13497 # There doesn't appear to be a way to prevent this compiler from
13498 # explicitly linking system object files so we need to strip them
13499 # from the output so that they don't get included in the library
13501 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'
13504 if test "$GXX" = yes; then
13505 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'
13507 # FIXME: insert proper C++ library support
13514 if test $with_gnu_ld = no; then
13515 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13516 hardcode_libdir_separator_CXX=:
13521 export_dynamic_flag_spec_CXX='${wl}-E'
13527 hardcode_direct_CXX=no
13528 hardcode_shlibpath_var_CXX=no
13531 hardcode_direct_CXX=yes
13532 hardcode_minus_L_CXX=yes # Not in the search PATH,
13533 # but as the default
13534 # location of the library.
13538 case $cc_basename in
13540 # FIXME: insert proper C++ library support
13546 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13549 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13552 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13555 # Commands to make compiler produce verbose output that lists
13556 # what "hidden" libraries, object files and flags are used when
13557 # linking a shared library.
13559 # There doesn't appear to be a way to prevent this compiler from
13560 # explicitly linking system object files so we need to strip them
13561 # from the output so that they don't get included in the library
13563 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'
13566 if test "$GXX" = yes; then
13567 if test $with_gnu_ld = no; then
13570 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13573 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13576 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'
13581 # FIXME: insert proper C++ library support
13588 hardcode_direct_CXX=no
13589 hardcode_shlibpath_var_CXX=no
13590 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13591 export_dynamic_flag_spec_CXX='${wl}-E'
13592 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13593 # Instead, shared libraries are loaded at an image base (0x10000000 by
13594 # default) and relocated if they conflict, which is a slow very memory
13595 # consuming and fragmenting process. To avoid this, we pick a random,
13596 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13597 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13598 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'
13599 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'
13602 case $cc_basename in
13605 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'
13607 # Archives containing C++ object files must be created using
13608 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13609 # necessary to make sure instantiated templates are included
13611 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13614 if test "$GXX" = yes; then
13615 if test "$with_gnu_ld" = no; then
13616 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'
13618 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'
13621 link_all_deplibs_CXX=yes
13624 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13625 hardcode_libdir_separator_CXX=:
13627 linux* | k*bsd*-gnu)
13628 case $cc_basename in
13630 # Kuck and Associates, Inc. (KAI) C++ Compiler
13632 # KCC will only create a shared library if the output file
13633 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13634 # to its proper name (with version) after linking.
13635 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'
13636 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'
13637 # Commands to make compiler produce verbose output that lists
13638 # what "hidden" libraries, object files and flags are used when
13639 # linking a shared library.
13641 # There doesn't appear to be a way to prevent this compiler from
13642 # explicitly linking system object files so we need to strip them
13643 # from the output so that they don't get included in the library
13645 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'
13647 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
13648 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13650 # Archives containing C++ object files must be created using
13651 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13652 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13657 # version 8.0 and above of icpc choke on multiply defined symbols
13658 # if we add $predep_objects and $postdep_objects, however 7.1 and
13659 # earlier do not add the objects themselves.
13660 case `$CC -V 2>&1` in
13662 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13663 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'
13665 *) # Version 8.0 or newer
13668 ia64
*) tmp_idyn
=' -i_dynamic';;
13670 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13671 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'
13674 archive_cmds_need_lc_CXX
=no
13675 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13676 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13677 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13680 # Portland Group C++ compiler
13681 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13682 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'
13684 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13685 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13686 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'
13690 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13691 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'
13693 runpath_var
=LD_RUN_PATH
13694 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13695 hardcode_libdir_separator_CXX
=:
13697 # Commands to make compiler produce verbose output that lists
13698 # what "hidden" libraries, object files and flags are used when
13699 # linking a shared library.
13701 # There doesn't appear to be a way to prevent this compiler from
13702 # explicitly linking system object files so we need to strip them
13703 # from the output so that they don't get included in the library
13705 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'
13708 case `$CC -V 2>&1 | sed 5q` in
13711 no_undefined_flag_CXX
=' -zdefs'
13712 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13713 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13714 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13715 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13717 # Not sure whether something based on
13718 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13720 output_verbose_link_cmd
='echo'
13722 # Archives containing C++ object files must be created using
13723 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13724 # necessary to make sure instantiated templates are included
13726 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13733 # FIXME: insert proper C++ library support
13737 # FIXME: insert proper C++ library support
13741 case $cc_basename in
13743 # FIXME: insert proper C++ library support
13747 # FIXME: insert proper C++ library support
13752 netbsd
* | netbsdelf
*-gnu)
13753 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13754 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13756 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13757 hardcode_direct_CXX
=yes
13758 hardcode_shlibpath_var_CXX
=no
13760 # Workaround some broken pre-1.5 toolchains
13761 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13764 # C++ shared libraries are fairly broken
13768 if test -f /usr
/libexec
/ld.so
; then
13769 hardcode_direct_CXX
=yes
13770 hardcode_shlibpath_var_CXX
=no
13771 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13772 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13773 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13774 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13775 export_dynamic_flag_spec_CXX
='${wl}-E'
13776 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13778 output_verbose_link_cmd
='echo'
13784 case $cc_basename in
13786 # Kuck and Associates, Inc. (KAI) C++ Compiler
13788 # KCC will only create a shared library if the output file
13789 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13790 # to its proper name (with version) after linking.
13791 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'
13793 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13794 hardcode_libdir_separator_CXX
=:
13796 # Archives containing C++ object files must be created using
13797 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13798 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13802 # Rational C++ 2.4.1
13803 # FIXME: insert proper C++ library support
13807 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13808 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'
13810 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13811 hardcode_libdir_separator_CXX
=:
13813 # Commands to make compiler produce verbose output that lists
13814 # what "hidden" libraries, object files and flags are used when
13815 # linking a shared library.
13817 # There doesn't appear to be a way to prevent this compiler from
13818 # explicitly linking system object files so we need to strip them
13819 # from the output so that they don't get included in the library
13821 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'
13824 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13825 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13826 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'
13828 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13829 hardcode_libdir_separator_CXX
=:
13831 # Commands to make compiler produce verbose output that lists
13832 # what "hidden" libraries, object files and flags are used when
13833 # linking a shared library.
13834 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13837 # FIXME: insert proper C++ library support
13844 case $cc_basename in
13846 # Kuck and Associates, Inc. (KAI) C++ Compiler
13848 # KCC will only create a shared library if the output file
13849 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13850 # to its proper name (with version) after linking.
13851 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'
13853 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13854 hardcode_libdir_separator_CXX
=:
13856 # Archives containing C++ object files must be created using
13857 # the KAI C++ compiler.
13858 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
13861 # Rational C++ 2.4.1
13862 # FIXME: insert proper C++ library support
13866 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13867 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'
13868 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13869 echo "-hidden">> $lib.exp~
13870 $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~
13873 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13874 hardcode_libdir_separator_CXX
=:
13876 # Commands to make compiler produce verbose output that lists
13877 # what "hidden" libraries, object files and flags are used when
13878 # linking a shared library.
13880 # There doesn't appear to be a way to prevent this compiler from
13881 # explicitly linking system object files so we need to strip them
13882 # from the output so that they don't get included in the library
13884 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'
13887 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13888 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13889 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'
13891 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13892 hardcode_libdir_separator_CXX
=:
13894 # Commands to make compiler produce verbose output that lists
13895 # what "hidden" libraries, object files and flags are used when
13896 # linking a shared library.
13897 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13900 # FIXME: insert proper C++ library support
13907 # FIXME: insert proper C++ library support
13911 case $cc_basename in
13914 # FIXME: insert proper C++ library support
13919 # FIXME: insert proper C++ library support
13923 # FIXME: insert proper C++ library support
13929 case $cc_basename in
13931 # Sun C++ 4.2, 5.x and Centerline C++
13932 archive_cmds_need_lc_CXX
=yes
13933 no_undefined_flag_CXX
=' -zdefs'
13934 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13935 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13936 $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'
13938 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13939 hardcode_shlibpath_var_CXX
=no
13941 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13943 # The compiler driver will combine and reorder linker options,
13944 # but understands `-z linker_flag'.
13945 # Supported since Solaris 2.6 (maybe 2.5.1?)
13946 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13949 link_all_deplibs_CXX
=yes
13951 output_verbose_link_cmd
='echo'
13953 # Archives containing C++ object files must be created using
13954 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13955 # necessary to make sure instantiated templates are included
13957 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13960 # Green Hills C++ Compiler
13961 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13963 # The C++ compiler must be used to create the archive.
13964 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13967 # GNU C++ compiler with Solaris linker
13968 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13969 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13970 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
13971 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13972 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13973 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13975 # Commands to make compiler produce verbose output that lists
13976 # what "hidden" libraries, object files and flags are used when
13977 # linking a shared library.
13978 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13980 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13982 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13983 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13984 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13986 # Commands to make compiler produce verbose output that lists
13987 # what "hidden" libraries, object files and flags are used when
13988 # linking a shared library.
13989 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13992 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13994 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13996 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14003 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14004 no_undefined_flag_CXX
='${wl}-z,text'
14005 archive_cmds_need_lc_CXX
=no
14006 hardcode_shlibpath_var_CXX
=no
14007 runpath_var
='LD_RUN_PATH'
14009 case $cc_basename in
14011 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14012 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14015 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14016 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14020 sysv5
* | sco3.2v5
* | sco5v6
*)
14021 # Note: We can NOT use -z defs as we might desire, because we do not
14022 # link with -lc, and that would cause any symbols used from libc to
14023 # always be unresolved, which means just about no library would
14024 # ever link correctly. If we're not using GNU ld we use -z text
14025 # though, which does catch some bad symbols but isn't as heavy-handed
14027 # For security reasons, it is highly recommended that you always
14028 # use absolute paths for naming shared libraries, and exclude the
14029 # DT_RUNPATH tag from executables and libraries. But doing so
14030 # requires that you compile everything twice, which is a pain.
14031 # So that behaviour is only enabled if SCOABSPATH is set to a
14032 # non-empty value in the environment. Most likely only useful for
14033 # creating official distributions of packages.
14034 # This is a hack until libtool officially supports absolute path
14035 # names for shared libraries.
14036 no_undefined_flag_CXX
='${wl}-z,text'
14037 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14038 archive_cmds_need_lc_CXX
=no
14039 hardcode_shlibpath_var_CXX
=no
14040 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14041 hardcode_libdir_separator_CXX
=':'
14042 link_all_deplibs_CXX
=yes
14043 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14044 runpath_var
='LD_RUN_PATH'
14046 case $cc_basename in
14048 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14049 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14052 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14053 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14058 case $cc_basename in
14060 # NonStop-UX NCC 3.20
14061 # FIXME: insert proper C++ library support
14065 # FIXME: insert proper C++ library support
14071 # FIXME: insert proper C++ library support
14075 # FIXME: insert proper C++ library support
14079 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14080 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14081 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14086 cat > conftest.
$ac_ext <<EOF
14090 Foo (void) { a = 0; }
14096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14097 (eval $ac_compile) 2>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); }; then
14101 # Parse the compiler output and extract the necessary
14102 # objects, libraries and library flags.
14104 # Sentinel used to keep track of whether or not we are before
14105 # the conftest object file.
14106 pre_test_object_deps_done
=no
14108 # The `*' in the case matches for architectures that use `case' in
14109 # $output_verbose_cmd can trigger glob expansion during the loop
14110 # eval without this substitution.
14111 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14113 for p
in `eval $output_verbose_link_cmd`; do
14117 # Some compilers place space between "-{L,R}" and the path.
14118 # Remove the space.
14119 if test $p = "-L" \
14120 ||
test $p = "-R"; then
14127 if test "$pre_test_object_deps_done" = no
; then
14130 # Internal compiler library paths should come after those
14131 # provided the user. The postdeps already come after the
14132 # user supplied libs so there is no need to process them.
14133 if test -z "$compiler_lib_search_path_CXX"; then
14134 compiler_lib_search_path_CXX
="${prev}${p}"
14136 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14139 # The "-l" case would never come before the object being
14140 # linked, so don't bother handling this case.
14143 if test -z "$postdeps_CXX"; then
14144 postdeps_CXX
="${prev}${p}"
14146 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14152 # This assumes that the test object file only shows up
14153 # once in the compiler output.
14154 if test "$p" = "conftest.$objext"; then
14155 pre_test_object_deps_done
=yes
14159 if test "$pre_test_object_deps_done" = no
; then
14160 if test -z "$predep_objects_CXX"; then
14161 predep_objects_CXX
="$p"
14163 predep_objects_CXX
="$predep_objects_CXX $p"
14166 if test -z "$postdep_objects_CXX"; then
14167 postdep_objects_CXX
="$p"
14169 postdep_objects_CXX
="$postdep_objects_CXX $p"
14174 *) ;; # Ignore the rest.
14182 echo "libtool.m4: error: problem compiling CXX test program"
14185 $rm -f confest.
$objext
14187 compiler_lib_search_dirs_CXX
=
14188 if test -n "$compiler_lib_search_path_CXX"; then
14189 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14192 # PORTME: override above test on systems where it is broken
14195 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14196 # hack all around it, let's just trust "g++" to DTRT.
14197 predep_objects_CXX
=
14198 postdep_objects_CXX
=
14203 case `$CC -V 2>&1 | sed 5q` in
14207 # The more standards-conforming stlport4 library is
14208 # incompatible with the Cstd library. Avoid specifying
14209 # it if it's in CXXFLAGS. Ignore libCrun as
14210 # -library=stlport4 depends on it.
14211 case " $CXX $CXXFLAGS " in
14212 *" -library=stlport4 "*)
14213 solaris_use_stlport4
=yes
14216 if test "$solaris_use_stlport4" != yes; then
14217 postdeps_CXX
='-library=Cstd -library=Crun'
14224 case $cc_basename in
14226 # The more standards-conforming stlport4 library is
14227 # incompatible with the Cstd library. Avoid specifying
14228 # it if it's in CXXFLAGS. Ignore libCrun as
14229 # -library=stlport4 depends on it.
14230 case " $CXX $CXXFLAGS " in
14231 *" -library=stlport4 "*)
14232 solaris_use_stlport4
=yes
14236 # Adding this requires a known-good setup of shared libraries for
14237 # Sun compiler versions before 5.6, else PIC objects from an old
14238 # archive will be linked into the output, leading to subtle bugs.
14239 if test "$solaris_use_stlport4" != yes; then
14240 postdeps_CXX
='-library=Cstd -library=Crun'
14247 case " $postdeps_CXX " in
14248 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14251 lt_prog_compiler_wl_CXX
=
14252 lt_prog_compiler_pic_CXX
=
14253 lt_prog_compiler_static_CXX
=
14255 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14256 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14258 # C++ specific cases for pic, static, wl, etc.
14259 if test "$GXX" = yes; then
14260 lt_prog_compiler_wl_CXX
='-Wl,'
14261 lt_prog_compiler_static_CXX
='-static'
14265 # All AIX code is PIC.
14266 if test "$host_cpu" = ia64
; then
14267 # AIX 5 now supports IA64 processor
14268 lt_prog_compiler_static_CXX
='-Bstatic'
14272 # FIXME: we need at least 68020 code to build shared libraries, but
14273 # adding the `-m68020' flag to GCC prevents building anything better,
14275 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14277 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14278 # PIC is the default for these OSes.
14280 mingw
* | cygwin
* | os2
* | pw32
*)
14281 # This hack is so that the source file can tell whether it is being
14282 # built for inclusion in a dll (and should export symbols for example).
14283 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14284 # (--disable-auto-import) libraries
14285 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14287 darwin
* | rhapsody
*)
14288 # PIC is the default on this platform
14289 # Common symbols not allowed in MH_DYLIB files
14290 lt_prog_compiler_pic_CXX
='-fno-common'
14293 # DJGPP does not support shared libraries at all
14294 lt_prog_compiler_pic_CXX
=
14297 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14298 # Instead, we relocate shared libraries at runtime.
14301 if test -d /usr
/nec
; then
14302 lt_prog_compiler_pic_CXX
=-Kconform_pic
14306 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14307 # not for PA HP-UX.
14312 lt_prog_compiler_pic_CXX
='-fPIC'
14317 lt_prog_compiler_pic_CXX
='-fPIC'
14323 # All AIX code is PIC.
14324 if test "$host_cpu" = ia64
; then
14325 # AIX 5 now supports IA64 processor
14326 lt_prog_compiler_static_CXX
='-Bstatic'
14328 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14332 case $cc_basename in
14334 # Green Hills C++ Compiler
14335 # _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"
14340 # PIC is the default on this platform
14341 # Common symbols not allowed in MH_DYLIB files
14342 case $cc_basename in
14344 lt_prog_compiler_pic_CXX
='-qnocommon'
14345 lt_prog_compiler_wl_CXX
='-Wl,'
14350 case $cc_basename in
14352 lt_prog_compiler_pic_CXX
='-KPIC'
14355 # Green Hills C++ Compiler
14356 lt_prog_compiler_pic_CXX
='-pic'
14362 freebsd
* | dragonfly
*)
14363 # FreeBSD uses GNU C++
14365 hpux9
* | hpux10
* | hpux11
*)
14366 case $cc_basename in
14368 lt_prog_compiler_wl_CXX
='-Wl,'
14369 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14370 if test "$host_cpu" != ia64
; then
14371 lt_prog_compiler_pic_CXX
='+Z'
14375 lt_prog_compiler_wl_CXX
='-Wl,'
14376 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14382 lt_prog_compiler_pic_CXX
='+Z'
14391 # This is c89, which is MS Visual C++ (no shared libs)
14392 # Anyone wants to do a port?
14394 irix5
* | irix6
* | nonstopux
*)
14395 case $cc_basename in
14397 lt_prog_compiler_wl_CXX
='-Wl,'
14398 lt_prog_compiler_static_CXX
='-non_shared'
14399 # CC pic flag -KPIC is the default.
14405 linux
* | k
*bsd
*-gnu)
14406 case $cc_basename in
14409 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14410 lt_prog_compiler_pic_CXX
='-fPIC'
14414 lt_prog_compiler_wl_CXX
='-Wl,'
14415 lt_prog_compiler_pic_CXX
='-KPIC'
14416 lt_prog_compiler_static_CXX
='-static'
14419 # Portland Group C++ compiler.
14420 lt_prog_compiler_wl_CXX
='-Wl,'
14421 lt_prog_compiler_pic_CXX
='-fpic'
14422 lt_prog_compiler_static_CXX
='-Bstatic'
14426 # Make sure the PIC flag is empty. It appears that all Alpha
14427 # Linux and Compaq Tru64 Unix objects are PIC.
14428 lt_prog_compiler_pic_CXX
=
14429 lt_prog_compiler_static_CXX
='-non_shared'
14432 case `$CC -V 2>&1 | sed 5q` in
14435 lt_prog_compiler_pic_CXX
='-KPIC'
14436 lt_prog_compiler_static_CXX
='-Bstatic'
14437 lt_prog_compiler_wl_CXX
='-Qoption ld '
14448 case $cc_basename in
14450 lt_prog_compiler_pic_CXX
='-W c,exportall'
14456 netbsd
* | netbsdelf
*-gnu)
14458 osf3
* | osf4
* | osf5
*)
14459 case $cc_basename in
14461 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14464 # Rational C++ 2.4.1
14465 lt_prog_compiler_pic_CXX
='-pic'
14468 # Digital/Compaq C++
14469 lt_prog_compiler_wl_CXX
='-Wl,'
14470 # Make sure the PIC flag is empty. It appears that all Alpha
14471 # Linux and Compaq Tru64 Unix objects are PIC.
14472 lt_prog_compiler_pic_CXX
=
14473 lt_prog_compiler_static_CXX
='-non_shared'
14482 case $cc_basename in
14484 # Sun C++ 4.2, 5.x and Centerline C++
14485 lt_prog_compiler_pic_CXX
='-KPIC'
14486 lt_prog_compiler_static_CXX
='-Bstatic'
14487 lt_prog_compiler_wl_CXX
='-Qoption ld '
14490 # Green Hills C++ Compiler
14491 lt_prog_compiler_pic_CXX
='-PIC'
14498 case $cc_basename in
14501 lt_prog_compiler_pic_CXX
='-pic'
14502 lt_prog_compiler_static_CXX
='-Bstatic'
14506 lt_prog_compiler_pic_CXX
='-pic'
14513 case $cc_basename in
14515 # NonStop-UX NCC 3.20
14516 lt_prog_compiler_pic_CXX
='-KPIC'
14522 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14523 case $cc_basename in
14525 lt_prog_compiler_wl_CXX
='-Wl,'
14526 lt_prog_compiler_pic_CXX
='-KPIC'
14527 lt_prog_compiler_static_CXX
='-Bstatic'
14534 lt_prog_compiler_can_build_shared_CXX
=no
14539 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14540 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14543 # Check to make sure the PIC flag actually works.
14545 if test -n "$lt_prog_compiler_pic_CXX"; then
14547 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14548 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14549 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14550 echo $ECHO_N "(cached) $ECHO_C" >&6
14552 lt_cv_prog_compiler_pic_works_CXX
=no
14553 ac_outfile
=conftest.
$ac_objext
14554 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14555 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14556 # Insert the option either (1) after the last *FLAGS variable, or
14557 # (2) before a word containing "conftest.", or (3) at the end.
14558 # Note that $ac_compile itself does not contain backslashes and begins
14559 # with a dollar sign (not a hyphen), so the echo should work correctly.
14560 # The option is referenced via a variable to avoid confusing sed.
14561 lt_compile
=`echo "$ac_compile" | $SED \
14562 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14563 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14564 -e 's:$: $lt_compiler_flag:'`
14565 (eval echo "\"\$as_me:14565: $lt_compile\"" >&5)
14566 (eval "$lt_compile" 2>conftest.err
)
14568 cat conftest.err
>&5
14569 echo "$as_me:14569: \$? = $ac_status" >&5
14570 if (exit $ac_status) && test -s "$ac_outfile"; then
14571 # The compiler can only warn and ignore the option if not recognized
14572 # So say no if there are warnings other than the usual output.
14573 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14574 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14575 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14576 lt_cv_prog_compiler_pic_works_CXX
=yes
14582 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14583 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14585 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14586 case $lt_prog_compiler_pic_CXX in
14588 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14591 lt_prog_compiler_pic_CXX
=
14592 lt_prog_compiler_can_build_shared_CXX
=no
14597 # For platforms which do not support PIC, -DPIC is meaningless:
14599 lt_prog_compiler_pic_CXX
=
14602 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14607 # Check to make sure the static flag actually works.
14609 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14610 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14611 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14612 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14613 echo $ECHO_N "(cached) $ECHO_C" >&6
14615 lt_cv_prog_compiler_static_works_CXX
=no
14616 save_LDFLAGS
="$LDFLAGS"
14617 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14618 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14619 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14620 # The linker can only warn and ignore the option if not recognized
14621 # So say no if there are warnings
14622 if test -s conftest.err
; then
14623 # Append any errors to the config.log.
14624 cat conftest.err
1>&5
14625 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14626 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14627 if diff conftest.exp conftest.er2
>/dev
/null
; then
14628 lt_cv_prog_compiler_static_works_CXX
=yes
14631 lt_cv_prog_compiler_static_works_CXX
=yes
14635 LDFLAGS
="$save_LDFLAGS"
14638 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14639 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
14641 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14644 lt_prog_compiler_static_CXX
=
14648 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14649 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14650 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14651 echo $ECHO_N "(cached) $ECHO_C" >&6
14653 lt_cv_prog_compiler_c_o_CXX
=no
14654 $rm -r conftest
2>/dev
/null
14658 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14660 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14661 # Insert the option either (1) after the last *FLAGS variable, or
14662 # (2) before a word containing "conftest.", or (3) at the end.
14663 # Note that $ac_compile itself does not contain backslashes and begins
14664 # with a dollar sign (not a hyphen), so the echo should work correctly.
14665 lt_compile
=`echo "$ac_compile" | $SED \
14666 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14667 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14668 -e 's:$: $lt_compiler_flag:'`
14669 (eval echo "\"\$as_me:14669: $lt_compile\"" >&5)
14670 (eval "$lt_compile" 2>out
/conftest.err
)
14672 cat out
/conftest.err
>&5
14673 echo "$as_me:14673: \$? = $ac_status" >&5
14674 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14676 # The compiler can only warn and ignore the option if not recognized
14677 # So say no if there are warnings
14678 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14679 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14680 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14681 lt_cv_prog_compiler_c_o_CXX
=yes
14686 # SGI C++ compiler will create directory out/ii_files/ for
14687 # template instantiation
14688 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14689 $rm out
/* && rmdir out
14695 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14696 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14699 hard_links
="nottested"
14700 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14701 # do not overwrite the value of need_locks provided by the user
14702 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14703 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14706 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14708 ln conftest.a conftest.b
2>&5 || hard_links
=no
14709 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14710 { echo "$as_me:$LINENO: result: $hard_links" >&5
14711 echo "${ECHO_T}$hard_links" >&6; }
14712 if test "$hard_links" = no
; then
14713 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14714 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14721 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14722 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14724 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14727 # If we're using GNU nm, then we don't want the "-C" option.
14728 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14729 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14730 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'
14732 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'
14736 export_symbols_cmds_CXX
="$ltdll_cmds"
14739 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'
14741 linux
* | k
*bsd
*-gnu)
14742 link_all_deplibs_CXX
=no
14745 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14748 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14750 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14751 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14752 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14755 # Do we need to explicitly link libc?
14757 case "x$archive_cmds_need_lc_CXX" in
14759 # Assume -lc should be added
14760 archive_cmds_need_lc_CXX
=yes
14762 if test "$enable_shared" = yes && test "$GCC" = yes; then
14763 case $archive_cmds_CXX in
14765 # FIXME: we may have to deal with multi-command sequences.
14768 # Test whether the compiler implicitly links with -lc since on some
14769 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14770 # to ld, don't add -lc before -lgcc.
14771 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14772 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14774 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14777 (eval $ac_compile) 2>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } 2>conftest.err
; then
14783 libobjs
=conftest.
$ac_objext
14785 wl
=$lt_prog_compiler_wl_CXX
14786 pic_flag
=$lt_prog_compiler_pic_CXX
14792 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14793 allow_undefined_flag_CXX
=
14794 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14795 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }
14800 archive_cmds_need_lc_CXX
=no
14802 archive_cmds_need_lc_CXX
=yes
14804 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14806 cat conftest.err
1>&5
14809 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14810 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14817 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14818 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14819 library_names_spec
=
14820 libname_spec
='lib$name'
14824 postuninstall_cmds
=
14828 shlibpath_overrides_runpath
=unknown
14830 dynamic_linker
="$host_os ld.so"
14831 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14833 need_lib_prefix
=unknown
14834 hardcode_into_libs
=no
14836 # when you set need_version to no, make sure it does not cause -set_version
14837 # flags to be left without arguments
14838 need_version
=unknown
14843 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14844 shlibpath_var
=LIBPATH
14846 # AIX 3 has no versioning support, so we append a major version to the name.
14847 soname_spec
='${libname}${release}${shared_ext}$major'
14854 hardcode_into_libs
=yes
14855 if test "$host_cpu" = ia64
; then
14856 # AIX 5 supports IA64
14857 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14858 shlibpath_var
=LD_LIBRARY_PATH
14860 # With GCC up to 2.95.x, collect2 would create an import file
14861 # for dependence libraries. The import file would start with
14862 # the line `#! .'. This would cause the generated library to
14863 # depend on `.', always an invalid library. This was fixed in
14864 # development snapshots of GCC prior to 3.0.
14866 aix4 | aix4.
[01] | aix4.
[01].
*)
14867 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14869 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14872 can_build_shared
=no
14876 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14877 # soname into executable. Probably we can add versioning support to
14878 # collect2, so additional links can be useful in future.
14879 if test "$aix_use_runtimelinking" = yes; then
14880 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14881 # instead of lib<name>.a to let people know that these are not
14882 # typical AIX shared libraries.
14883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14885 # We preserve .a as extension for shared libraries through AIX4.2
14886 # and later when we are not doing run time linking.
14887 library_names_spec
='${libname}${release}.a $libname.a'
14888 soname_spec
='${libname}${release}${shared_ext}$major'
14890 shlibpath_var
=LIBPATH
14895 library_names_spec
='$libname.ixlibrary $libname.a'
14896 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14897 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'
14901 library_names_spec
='${libname}${shared_ext}'
14902 dynamic_linker
="$host_os ld.so"
14903 shlibpath_var
=LIBRARY_PATH
14909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14910 soname_spec
='${libname}${release}${shared_ext}$major'
14911 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14912 shlibpath_var
=LD_LIBRARY_PATH
14913 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14914 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14915 # the default ld.so.conf also contains /usr/contrib/lib and
14916 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14917 # libtool to hard-code these into programs
14920 cygwin
* | mingw
* | pw32
*)
14921 version_type
=windows
14926 case $GCC,$host_os in
14927 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14928 library_names_spec
='$libname.dll.a'
14929 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14930 postinstall_cmds
='base_file=`basename \${file}`~
14931 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14932 dldir=$destdir/`dirname \$dlpath`~
14933 test -d \$dldir || mkdir -p \$dldir~
14934 $install_prog $dir/$dlname \$dldir/$dlname~
14935 chmod a+x \$dldir/$dlname'
14936 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14937 dlpath=$dir/\$dldll~
14939 shlibpath_overrides_runpath
=yes
14943 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14944 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14945 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14948 # MinGW DLLs use traditional 'lib' prefix
14949 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14950 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14951 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14952 # It is most probably a Windows format PATH printed by
14953 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14954 # path with ; separators, and with drive letters. We can handle the
14955 # drive letters (cygwin fileutils understands them), so leave them,
14956 # especially as we might pass files found there to a mingw objdump,
14957 # which wouldn't understand a cygwinified path. Ahh.
14958 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14960 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14964 # pw32 DLLs use 'pw' prefix rather than 'lib'
14965 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14971 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14974 dynamic_linker
='Win32 ld.exe'
14975 # FIXME: first we should search . and the directory the executable is in
14979 darwin
* | rhapsody
*)
14980 dynamic_linker
="$host_os dyld"
14981 version_type
=darwin
14984 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14985 soname_spec
='${libname}${release}${major}$shared_ext'
14986 shlibpath_overrides_runpath
=yes
14987 shlibpath_var
=DYLD_LIBRARY_PATH
14988 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14990 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14998 soname_spec
='${libname}${release}${shared_ext}$major'
14999 shlibpath_var
=LD_LIBRARY_PATH
15006 freebsd
* | dragonfly
*)
15007 # DragonFly does not have aout. When/if they implement a new
15008 # versioning mechanism, adjust this.
15009 if test -x /usr
/bin
/objformat
; then
15010 objformat
=`/usr/bin/objformat`
15013 freebsd
[123]*) objformat
=aout
;;
15014 *) objformat
=elf
;;
15017 version_type
=freebsd-
$objformat
15018 case $version_type in
15020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15025 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15029 shlibpath_var
=LD_LIBRARY_PATH
15032 shlibpath_overrides_runpath
=yes
15034 freebsd3.
[01]* | freebsdelf3.
[01]*)
15035 shlibpath_overrides_runpath
=yes
15036 hardcode_into_libs
=yes
15038 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15039 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15040 shlibpath_overrides_runpath
=no
15041 hardcode_into_libs
=yes
15043 *) # from 4.6 on, and DragonFly
15044 shlibpath_overrides_runpath
=yes
15045 hardcode_into_libs
=yes
15054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15055 soname_spec
='${libname}${release}${shared_ext}$major'
15056 shlibpath_var
=LD_LIBRARY_PATH
15057 hardcode_into_libs
=yes
15060 hpux9
* | hpux10
* | hpux11
*)
15061 # Give a soname corresponding to the major version so that dld.sl refuses to
15062 # link against other versions.
15069 hardcode_into_libs
=yes
15070 dynamic_linker
="$host_os dld.so"
15071 shlibpath_var
=LD_LIBRARY_PATH
15072 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15074 soname_spec
='${libname}${release}${shared_ext}$major'
15075 if test "X$HPUX_IA64_MODE" = X32
; then
15076 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15078 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15080 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15084 hardcode_into_libs
=yes
15085 dynamic_linker
="$host_os dld.sl"
15086 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15087 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15089 soname_spec
='${libname}${release}${shared_ext}$major'
15090 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15091 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15095 dynamic_linker
="$host_os dld.sl"
15096 shlibpath_var
=SHLIB_PATH
15097 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15099 soname_spec
='${libname}${release}${shared_ext}$major'
15102 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15103 postinstall_cmds
='chmod 555 $lib'
15110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15111 soname_spec
='${libname}${release}${shared_ext}$major'
15112 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15113 shlibpath_var
=LD_LIBRARY_PATH
15114 shlibpath_overrides_runpath
=no
15115 hardcode_into_libs
=yes
15118 irix5
* | irix6
* | nonstopux
*)
15120 nonstopux
*) version_type
=nonstopux
;;
15122 if test "$lt_cv_prog_gnu_ld" = yes; then
15130 soname_spec
='${libname}${release}${shared_ext}$major'
15131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15133 irix5
* | nonstopux
*)
15134 libsuff
= shlibsuff
=
15137 case $LD in # libtool.m4 will add one of these switches to LD
15138 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15139 libsuff
= shlibsuff
= libmagic
=32-bit;;
15140 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15141 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15142 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15143 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15144 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15148 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15149 shlibpath_overrides_runpath
=no
15150 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15151 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15152 hardcode_into_libs
=yes
15155 # No shared lib support for Linux oldld, aout, or coff.
15156 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15160 # This must be Linux ELF.
15161 linux
* | k
*bsd
*-gnu)
15165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15166 soname_spec
='${libname}${release}${shared_ext}$major'
15167 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15168 shlibpath_var
=LD_LIBRARY_PATH
15169 shlibpath_overrides_runpath
=no
15170 # This implies no fast_install, which is unacceptable.
15171 # Some rework will be needed to allow for fast_install
15172 # before this can be enabled.
15173 hardcode_into_libs
=yes
15175 # Append ld.so.conf contents to the search path
15176 if test -f /etc
/ld.so.conf
; then
15177 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15178 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15181 # We used to test for /lib/ld.so.1 and disable shared libraries on
15182 # powerpc, because MkLinux only supported shared libraries with the
15183 # GNU dynamic linker. Since this was broken with cross compilers,
15184 # most powerpc-linux boxes support dynamic linking these days and
15185 # people can always --disable-shared, the test was removed, and we
15186 # assume the GNU/Linux dynamic linker is in use.
15187 dynamic_linker
='GNU/Linux ld.so'
15194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15195 soname_spec
='${libname}${release}${shared_ext}$major'
15196 shlibpath_var
=LD_LIBRARY_PATH
15197 shlibpath_overrides_runpath
=no
15198 hardcode_into_libs
=yes
15199 dynamic_linker
='NetBSD ld.elf_so'
15206 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15208 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15209 dynamic_linker
='NetBSD (a.out) ld.so'
15211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15212 soname_spec
='${libname}${release}${shared_ext}$major'
15213 dynamic_linker
='NetBSD ld.elf_so'
15215 shlibpath_var
=LD_LIBRARY_PATH
15216 shlibpath_overrides_runpath
=yes
15217 hardcode_into_libs
=yes
15222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15223 shlibpath_var
=LD_LIBRARY_PATH
15224 shlibpath_overrides_runpath
=yes
15231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15232 soname_spec
='${libname}${release}${shared_ext}$major'
15233 shlibpath_var
=LD_LIBRARY_PATH
15234 shlibpath_overrides_runpath
=yes
15239 sys_lib_dlsearch_path_spec
="/usr/lib"
15241 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15243 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15244 *) need_version
=no
;;
15246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15247 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15248 shlibpath_var
=LD_LIBRARY_PATH
15249 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15251 openbsd2.
[89] | openbsd2.
[89].
*)
15252 shlibpath_overrides_runpath
=no
15255 shlibpath_overrides_runpath
=yes
15259 shlibpath_overrides_runpath
=yes
15264 libname_spec
='$name'
15267 library_names_spec
='$libname${shared_ext} $libname.a'
15268 dynamic_linker
='OS/2 ld.exe'
15269 shlibpath_var
=LIBPATH
15272 osf3
* | osf4
* | osf5
*)
15276 soname_spec
='${libname}${release}${shared_ext}$major'
15277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15278 shlibpath_var
=LD_LIBRARY_PATH
15279 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15280 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15292 soname_spec
='${libname}${release}${shared_ext}$major'
15293 shlibpath_var
=LD_LIBRARY_PATH
15294 shlibpath_overrides_runpath
=yes
15295 hardcode_into_libs
=yes
15296 # ldd complains unless libraries are executable
15297 postinstall_cmds
='chmod +x $lib'
15302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15303 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15304 shlibpath_var
=LD_LIBRARY_PATH
15305 shlibpath_overrides_runpath
=yes
15306 if test "$with_gnu_ld" = yes; then
15314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15315 soname_spec
='${libname}${release}${shared_ext}$major'
15316 shlibpath_var
=LD_LIBRARY_PATH
15317 case $host_vendor in
15319 shlibpath_overrides_runpath
=no
15321 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15322 runpath_var
=LD_RUN_PATH
15330 shlibpath_overrides_runpath
=no
15331 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15337 if test -d /usr
/nec
;then
15339 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15340 soname_spec
='$libname${shared_ext}.$major'
15341 shlibpath_var
=LD_LIBRARY_PATH
15345 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15346 version_type
=freebsd-elf
15349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15350 soname_spec
='${libname}${release}${shared_ext}$major'
15351 shlibpath_var
=LD_LIBRARY_PATH
15352 hardcode_into_libs
=yes
15353 if test "$with_gnu_ld" = yes; then
15354 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15355 shlibpath_overrides_runpath
=no
15357 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15358 shlibpath_overrides_runpath
=yes
15361 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15365 sys_lib_dlsearch_path_spec
='/usr/lib'
15370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15371 soname_spec
='${libname}${release}${shared_ext}$major'
15372 shlibpath_var
=LD_LIBRARY_PATH
15379 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15380 echo "${ECHO_T}$dynamic_linker" >&6; }
15381 test "$dynamic_linker" = no
&& can_build_shared
=no
15383 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
15389 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15390 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15391 echo $ECHO_N "(cached) $ECHO_C" >&6
15393 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
15396 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15398 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15399 if test "$GCC" = yes; then
15400 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15403 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15404 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15405 hardcode_action_CXX
=
15406 if test -n "$hardcode_libdir_flag_spec_CXX" || \
15407 test -n "$runpath_var_CXX" || \
15408 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15410 # We can hardcode non-existant directories.
15411 if test "$hardcode_direct_CXX" != no
&&
15412 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15413 # have to relink, otherwise we might link with an installed library
15414 # when we should be linking with a yet-to-be-installed one
15415 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15416 test "$hardcode_minus_L_CXX" != no
; then
15417 # Linking always hardcodes the temporary library directory.
15418 hardcode_action_CXX
=relink
15420 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15421 hardcode_action_CXX
=immediate
15424 # We cannot hardcode anything, or else we can only hardcode existing
15426 hardcode_action_CXX
=unsupported
15428 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15429 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15431 if test "$hardcode_action_CXX" = relink
; then
15432 # Fast installation is not supported
15433 enable_fast_install
=no
15434 elif test "$shlibpath_overrides_runpath" = yes ||
15435 test "$enable_shared" = no
; then
15436 # Fast installation is not necessary
15437 enable_fast_install
=needless
15441 # The else clause should only fire when bootstrapping the
15442 # libtool distribution, otherwise you forgot to ship ltmain.sh
15443 # with your package, and you will get complaints that there are
15444 # no rules to generate ltmain.sh.
15445 if test -f "$ltmain"; then
15446 # See if we are running on zsh, and set the options which allow our commands through
15447 # without removal of \ escapes.
15448 if test -n "${ZSH_VERSION+set}" ; then
15449 setopt NO_GLOB_SUBST
15451 # Now quote all the things that may contain metacharacters while being
15452 # careful not to overquote the AC_SUBSTed values. We take copies of the
15453 # variables and quote the copies for generation of the libtool script.
15454 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15456 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15457 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15458 deplibs_check_method reload_flag reload_cmds need_locks \
15459 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15460 lt_cv_sys_global_symbol_to_c_name_address \
15461 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15462 old_postinstall_cmds old_postuninstall_cmds \
15466 lt_prog_compiler_wl_CXX \
15467 lt_prog_compiler_pic_CXX \
15468 lt_prog_compiler_static_CXX \
15469 lt_prog_compiler_no_builtin_flag_CXX \
15470 export_dynamic_flag_spec_CXX \
15471 thread_safe_flag_spec_CXX \
15472 whole_archive_flag_spec_CXX \
15473 enable_shared_with_static_runtimes_CXX \
15474 old_archive_cmds_CXX \
15475 old_archive_from_new_cmds_CXX \
15476 predep_objects_CXX \
15477 postdep_objects_CXX \
15480 compiler_lib_search_path_CXX \
15481 compiler_lib_search_dirs_CXX \
15483 archive_expsym_cmds_CXX \
15484 postinstall_cmds_CXX \
15485 postuninstall_cmds_CXX \
15486 old_archive_from_expsyms_cmds_CXX \
15487 allow_undefined_flag_CXX \
15488 no_undefined_flag_CXX \
15489 export_symbols_cmds_CXX \
15490 hardcode_libdir_flag_spec_CXX \
15491 hardcode_libdir_flag_spec_ld_CXX \
15492 hardcode_libdir_separator_CXX \
15493 hardcode_automatic_CXX \
15495 module_expsym_cmds_CXX \
15496 lt_cv_prog_compiler_c_o_CXX \
15497 fix_srcfile_path_CXX \
15498 exclude_expsyms_CXX \
15499 include_expsyms_CXX
; do
15502 old_archive_cmds_CXX | \
15503 old_archive_from_new_cmds_CXX | \
15504 archive_cmds_CXX | \
15505 archive_expsym_cmds_CXX | \
15506 module_cmds_CXX | \
15507 module_expsym_cmds_CXX | \
15508 old_archive_from_expsyms_cmds_CXX | \
15509 export_symbols_cmds_CXX | \
15510 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15511 postinstall_cmds | postuninstall_cmds | \
15512 old_postinstall_cmds | old_postuninstall_cmds | \
15513 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15514 # Double-quote double-evaled strings.
15515 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15518 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15524 *'\$0 --fallback-echo"')
15525 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15531 cat <<__EOF__ >> "$cfgfile"
15532 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15534 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15536 # Shell to use when invoking shell scripts.
15539 # Whether or not to build shared libraries.
15540 build_libtool_libs=$enable_shared
15542 # Whether or not to build static libraries.
15543 build_old_libs=$enable_static
15545 # Whether or not to add -lc for building shared libraries.
15546 build_libtool_need_lc=$archive_cmds_need_lc_CXX
15548 # Whether or not to disallow shared libs when runtime libs are static
15549 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15551 # Whether or not to optimize for fast installation.
15552 fast_install=$enable_fast_install
15555 host_alias=$host_alias
15559 # The build system.
15560 build_alias=$build_alias
15564 # An echo program that does not interpret backslashes.
15569 AR_FLAGS=$lt_AR_FLAGS
15574 # LTCC compiler flags.
15575 LTCFLAGS=$lt_LTCFLAGS
15577 # A language-specific compiler.
15578 CC=$lt_compiler_CXX
15580 # Is the compiler the GNU C compiler?
15586 # The linker used to build libraries.
15589 # Whether we need hard or soft links.
15592 # A BSD-compatible nm program.
15595 # A symbol stripping program
15598 # Used to examine libraries when file_magic_cmd begins "file"
15599 MAGIC_CMD=$MAGIC_CMD
15601 # Used on cygwin: DLL creation program.
15604 # Used on cygwin: object dumper.
15607 # Used on cygwin: assembler.
15610 # The name of the directory that contains temporary libtool files.
15613 # How to create reloadable object files.
15614 reload_flag=$lt_reload_flag
15615 reload_cmds=$lt_reload_cmds
15617 # How to pass a linker flag through the compiler.
15618 wl=$lt_lt_prog_compiler_wl_CXX
15620 # Object file suffix (normally "o").
15621 objext="$ac_objext"
15623 # Old archive suffix (normally "a").
15626 # Shared library suffix (normally ".so").
15627 shrext_cmds='$shrext_cmds'
15629 # Executable file suffix (normally "").
15632 # Additional compiler flags for building library objects.
15633 pic_flag=$lt_lt_prog_compiler_pic_CXX
15636 # What is the maximum length of a command?
15637 max_cmd_len=$lt_cv_sys_max_cmd_len
15639 # Does compiler simultaneously support -c and -o options?
15640 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15642 # Must we lock files when doing compilation?
15643 need_locks=$lt_need_locks
15645 # Do we need the lib prefix for modules?
15646 need_lib_prefix=$need_lib_prefix
15648 # Do we need a version for libraries?
15649 need_version=$need_version
15651 # Whether dlopen is supported.
15652 dlopen_support=$enable_dlopen
15654 # Whether dlopen of programs is supported.
15655 dlopen_self=$enable_dlopen_self
15657 # Whether dlopen of statically linked programs is supported.
15658 dlopen_self_static=$enable_dlopen_self_static
15660 # Compiler flag to prevent dynamic linking.
15661 link_static_flag=$lt_lt_prog_compiler_static_CXX
15663 # Compiler flag to turn off builtin functions.
15664 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15666 # Compiler flag to allow reflexive dlopens.
15667 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15669 # Compiler flag to generate shared objects directly from archives.
15670 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15672 # Compiler flag to generate thread-safe objects.
15673 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15675 # Library versioning type.
15676 version_type=$version_type
15678 # Format of library name prefix.
15679 libname_spec=$lt_libname_spec
15681 # List of archive names. First name is the real one, the rest are links.
15682 # The last name is the one that the linker finds with -lNAME.
15683 library_names_spec=$lt_library_names_spec
15685 # The coded name of the library, if different from the real name.
15686 soname_spec=$lt_soname_spec
15688 # Commands used to build and install an old-style archive.
15690 old_archive_cmds=$lt_old_archive_cmds_CXX
15691 old_postinstall_cmds=$lt_old_postinstall_cmds
15692 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15694 # Create an old-style archive from a shared archive.
15695 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15697 # Create a temporary old-style archive to link instead of a shared archive.
15698 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15700 # Commands used to build and install a shared archive.
15701 archive_cmds=$lt_archive_cmds_CXX
15702 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15703 postinstall_cmds=$lt_postinstall_cmds
15704 postuninstall_cmds=$lt_postuninstall_cmds
15706 # Commands used to build a loadable module (assumed same as above if empty)
15707 module_cmds=$lt_module_cmds_CXX
15708 module_expsym_cmds=$lt_module_expsym_cmds_CXX
15710 # Commands to strip libraries.
15711 old_striplib=$lt_old_striplib
15712 striplib=$lt_striplib
15714 # Dependencies to place before the objects being linked to create a
15716 predep_objects=$lt_predep_objects_CXX
15718 # Dependencies to place after the objects being linked to create a
15720 postdep_objects=$lt_postdep_objects_CXX
15722 # Dependencies to place before the objects being linked to create a
15724 predeps=$lt_predeps_CXX
15726 # Dependencies to place after the objects being linked to create a
15728 postdeps=$lt_postdeps_CXX
15730 # The directories searched by this compiler when creating a shared
15732 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
15734 # The library search path used internally by the compiler when linking
15735 # a shared library.
15736 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15738 # Method to check whether dependent libraries are shared objects.
15739 deplibs_check_method=$lt_deplibs_check_method
15741 # Command to use when deplibs_check_method == file_magic.
15742 file_magic_cmd=$lt_file_magic_cmd
15744 # Flag that allows shared libraries with undefined symbols to be built.
15745 allow_undefined_flag=$lt_allow_undefined_flag_CXX
15747 # Flag that forces no undefined symbols.
15748 no_undefined_flag=$lt_no_undefined_flag_CXX
15750 # Commands used to finish a libtool library installation in a directory.
15751 finish_cmds=$lt_finish_cmds
15753 # Same as above, but a single script fragment to be evaled but not shown.
15754 finish_eval=$lt_finish_eval
15756 # Take the output of nm and produce a listing of raw symbols and C names.
15757 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15759 # Transform the output of nm in a proper C declaration
15760 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15762 # Transform the output of nm in a C name address pair
15763 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15765 # This is the shared library runtime path variable.
15766 runpath_var=$runpath_var
15768 # This is the shared library path variable.
15769 shlibpath_var=$shlibpath_var
15771 # Is shlibpath searched before the hard-coded library search path?
15772 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15774 # How to hardcode a shared library path into an executable.
15775 hardcode_action=$hardcode_action_CXX
15777 # Whether we should hardcode library paths into libraries.
15778 hardcode_into_libs=$hardcode_into_libs
15780 # Flag to hardcode \$libdir into a binary during linking.
15781 # This must work even if \$libdir does not exist.
15782 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15784 # If ld is used when linking, flag to hardcode \$libdir into
15785 # a binary during linking. This must work even if \$libdir does
15787 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15789 # Whether we need a single -rpath flag with a separated argument.
15790 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15792 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15793 # resulting binary.
15794 hardcode_direct=$hardcode_direct_CXX
15796 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15797 # resulting binary.
15798 hardcode_minus_L=$hardcode_minus_L_CXX
15800 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15801 # the resulting binary.
15802 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15804 # Set to yes if building a shared library automatically hardcodes DIR into the library
15805 # and all subsequent libraries and executables linked against it.
15806 hardcode_automatic=$hardcode_automatic_CXX
15808 # Variables whose values should be saved in libtool wrapper scripts and
15809 # restored at relink time.
15810 variables_saved_for_relink="$variables_saved_for_relink"
15812 # Whether libtool must link a program against all its dependency libraries.
15813 link_all_deplibs=$link_all_deplibs_CXX
15815 # Compile-time system search path for libraries
15816 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15818 # Run-time system search path for libraries
15819 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15821 # Fix the shell variable \$srcfile for the compiler.
15822 fix_srcfile_path=$lt_fix_srcfile_path
15824 # Set to yes if exported symbols are required.
15825 always_export_symbols=$always_export_symbols_CXX
15827 # The commands to list exported symbols.
15828 export_symbols_cmds=$lt_export_symbols_cmds_CXX
15830 # The commands to extract the exported symbol list from a shared archive.
15831 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15833 # Symbols that should not be listed in the preloaded symbols.
15834 exclude_expsyms=$lt_exclude_expsyms_CXX
15836 # Symbols that must always be exported.
15837 include_expsyms=$lt_include_expsyms_CXX
15839 # ### END LIBTOOL TAG CONFIG: $tagname
15845 # If there is no Makefile yet, we rely on a make rule to execute
15846 # `config.status --recheck' to rerun these tests and create the
15847 # libtool script then.
15848 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15849 if test -f "$ltmain_in"; then
15850 test -f Makefile
&& make "$ltmain"
15856 ac_cpp
='$CPP $CPPFLAGS'
15857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15865 with_gnu_ldcxx
=$with_gnu_ld
15866 with_gnu_ld
=$lt_save_with_gnu_ld
15867 lt_cv_path_LDCXX
=$lt_cv_path_LD
15868 lt_cv_path_LD
=$lt_save_path_LD
15869 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15870 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15878 if test -n "$F77" && test "X$F77" != "Xno"; then
15881 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15882 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15883 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
15886 archive_cmds_need_lc_F77
=no
15887 allow_undefined_flag_F77
=
15888 always_export_symbols_F77
=no
15889 archive_expsym_cmds_F77
=
15890 export_dynamic_flag_spec_F77
=
15891 hardcode_direct_F77
=no
15892 hardcode_libdir_flag_spec_F77
=
15893 hardcode_libdir_flag_spec_ld_F77
=
15894 hardcode_libdir_separator_F77
=
15895 hardcode_minus_L_F77
=no
15896 hardcode_automatic_F77
=no
15898 module_expsym_cmds_F77
=
15899 link_all_deplibs_F77
=unknown
15900 old_archive_cmds_F77
=$old_archive_cmds
15901 no_undefined_flag_F77
=
15902 whole_archive_flag_spec_F77
=
15903 enable_shared_with_static_runtimes_F77
=no
15905 # Source file extension for f77 test sources.
15908 # Object file extension for compiled f77 test sources.
15912 # Code to be used in simple compile tests
15913 lt_simple_compile_test_code
="\
15919 # Code to be used in simple link tests
15920 lt_simple_link_test_code
="\
15925 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15927 # If no C compiler was specified, use CC.
15930 # If no C compiler flags were specified, use CFLAGS.
15931 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15933 # Allow CC to be a program name with arguments.
15937 # save warnings/boilerplate of simple test code
15938 ac_outfile
=conftest.
$ac_objext
15939 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15940 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15941 _lt_compiler_boilerplate
=`cat conftest.err`
15944 ac_outfile
=conftest.
$ac_objext
15945 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15946 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15947 _lt_linker_boilerplate
=`cat conftest.err`
15951 # Allow CC to be a program name with arguments.
15956 for cc_temp
in $compiler""; do
15958 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15959 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15964 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15967 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15968 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15969 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
15970 echo "${ECHO_T}$can_build_shared" >&6; }
15972 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15973 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15974 test "$can_build_shared" = "no" && enable_shared
=no
15976 # On AIX, shared libraries and static libraries use the same namespace, and
15977 # are all built from PIC.
15980 test "$enable_shared" = yes && enable_static
=no
15981 if test -n "$RANLIB"; then
15982 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
15983 postinstall_cmds
='$RANLIB $lib'
15987 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
15988 test "$enable_shared" = yes && enable_static
=no
15992 { echo "$as_me:$LINENO: result: $enable_shared" >&5
15993 echo "${ECHO_T}$enable_shared" >&6; }
15995 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15996 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15997 # Make sure either enable_shared or enable_static is yes.
15998 test "$enable_shared" = yes || enable_static
=yes
15999 { echo "$as_me:$LINENO: result: $enable_static" >&5
16000 echo "${ECHO_T}$enable_static" >&6; }
16005 lt_prog_compiler_wl_F77
=
16006 lt_prog_compiler_pic_F77
=
16007 lt_prog_compiler_static_F77
=
16009 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16010 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16012 if test "$GCC" = yes; then
16013 lt_prog_compiler_wl_F77
='-Wl,'
16014 lt_prog_compiler_static_F77
='-static'
16018 # All AIX code is PIC.
16019 if test "$host_cpu" = ia64
; then
16020 # AIX 5 now supports IA64 processor
16021 lt_prog_compiler_static_F77
='-Bstatic'
16026 # FIXME: we need at least 68020 code to build shared libraries, but
16027 # adding the `-m68020' flag to GCC prevents building anything better,
16029 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
16032 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16033 # PIC is the default for these OSes.
16036 mingw
* | cygwin
* | pw32
* | os2
*)
16037 # This hack is so that the source file can tell whether it is being
16038 # built for inclusion in a dll (and should export symbols for example).
16039 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16040 # (--disable-auto-import) libraries
16041 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
16044 darwin
* | rhapsody
*)
16045 # PIC is the default on this platform
16046 # Common symbols not allowed in MH_DYLIB files
16047 lt_prog_compiler_pic_F77
='-fno-common'
16051 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16052 # Instead, we relocate shared libraries at runtime.
16056 # Just because we use GCC doesn't mean we suddenly get shared libraries
16057 # on systems that don't support them.
16058 lt_prog_compiler_can_build_shared_F77
=no
16063 if test -d /usr
/nec
; then
16064 lt_prog_compiler_pic_F77
=-Kconform_pic
16069 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16070 # not for PA HP-UX.
16076 lt_prog_compiler_pic_F77
='-fPIC'
16082 lt_prog_compiler_pic_F77
='-fPIC'
16086 # PORTME Check for flag to pass linker flags through the system compiler.
16089 lt_prog_compiler_wl_F77
='-Wl,'
16090 if test "$host_cpu" = ia64
; then
16091 # AIX 5 now supports IA64 processor
16092 lt_prog_compiler_static_F77
='-Bstatic'
16094 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
16098 # PIC is the default on this platform
16099 # Common symbols not allowed in MH_DYLIB files
16100 case $cc_basename in
16102 lt_prog_compiler_pic_F77
='-qnocommon'
16103 lt_prog_compiler_wl_F77
='-Wl,'
16108 mingw
* | cygwin
* | pw32
* | os2
*)
16109 # This hack is so that the source file can tell whether it is being
16110 # built for inclusion in a dll (and should export symbols for example).
16111 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
16114 hpux9
* | hpux10
* | hpux11
*)
16115 lt_prog_compiler_wl_F77
='-Wl,'
16116 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16117 # not for PA HP-UX.
16123 lt_prog_compiler_pic_F77
='+Z'
16126 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16127 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
16130 irix5
* | irix6
* | nonstopux
*)
16131 lt_prog_compiler_wl_F77
='-Wl,'
16132 # PIC (with -KPIC) is the default.
16133 lt_prog_compiler_static_F77
='-non_shared'
16137 lt_prog_compiler_pic_F77
='-KPIC'
16138 lt_prog_compiler_static_F77
='-Bstatic'
16141 linux
* | k
*bsd
*-gnu)
16142 case $cc_basename in
16144 lt_prog_compiler_wl_F77
='-Wl,'
16145 lt_prog_compiler_pic_F77
='-KPIC'
16146 lt_prog_compiler_static_F77
='-static'
16148 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16149 # Portland Group compilers (*not* the Pentium gcc compiler,
16150 # which looks to be a dead project)
16151 lt_prog_compiler_wl_F77
='-Wl,'
16152 lt_prog_compiler_pic_F77
='-fpic'
16153 lt_prog_compiler_static_F77
='-Bstatic'
16156 lt_prog_compiler_wl_F77
='-Wl,'
16157 # All Alpha code is PIC.
16158 lt_prog_compiler_static_F77
='-non_shared'
16161 case `$CC -V 2>&1 | sed 5q` in
16164 lt_prog_compiler_pic_F77
='-KPIC'
16165 lt_prog_compiler_static_F77
='-Bstatic'
16166 lt_prog_compiler_wl_F77
='-Wl,'
16169 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16170 lt_prog_compiler_pic_F77
='-KPIC'
16171 lt_prog_compiler_static_F77
='-Bstatic'
16172 lt_prog_compiler_wl_F77
=''
16179 osf3
* | osf4
* | osf5
*)
16180 lt_prog_compiler_wl_F77
='-Wl,'
16181 # All OSF/1 code is PIC.
16182 lt_prog_compiler_static_F77
='-non_shared'
16186 lt_prog_compiler_static_F77
='-non_shared'
16190 lt_prog_compiler_pic_F77
='-KPIC'
16191 lt_prog_compiler_static_F77
='-Bstatic'
16192 case $cc_basename in
16193 f77
* | f90
* | f95
*)
16194 lt_prog_compiler_wl_F77
='-Qoption ld ';;
16196 lt_prog_compiler_wl_F77
='-Wl,';;
16201 lt_prog_compiler_wl_F77
='-Qoption ld '
16202 lt_prog_compiler_pic_F77
='-PIC'
16203 lt_prog_compiler_static_F77
='-Bstatic'
16206 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16207 lt_prog_compiler_wl_F77
='-Wl,'
16208 lt_prog_compiler_pic_F77
='-KPIC'
16209 lt_prog_compiler_static_F77
='-Bstatic'
16213 if test -d /usr
/nec
;then
16214 lt_prog_compiler_pic_F77
='-Kconform_pic'
16215 lt_prog_compiler_static_F77
='-Bstatic'
16219 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16220 lt_prog_compiler_wl_F77
='-Wl,'
16221 lt_prog_compiler_pic_F77
='-KPIC'
16222 lt_prog_compiler_static_F77
='-Bstatic'
16226 lt_prog_compiler_wl_F77
='-Wl,'
16227 lt_prog_compiler_can_build_shared_F77
=no
16231 lt_prog_compiler_pic_F77
='-pic'
16232 lt_prog_compiler_static_F77
='-Bstatic'
16236 lt_prog_compiler_can_build_shared_F77
=no
16241 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16242 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
16245 # Check to make sure the PIC flag actually works.
16247 if test -n "$lt_prog_compiler_pic_F77"; then
16249 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16250 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
16251 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
16252 echo $ECHO_N "(cached) $ECHO_C" >&6
16254 lt_cv_prog_compiler_pic_works_F77
=no
16255 ac_outfile
=conftest.
$ac_objext
16256 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16257 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
16258 # Insert the option either (1) after the last *FLAGS variable, or
16259 # (2) before a word containing "conftest.", or (3) at the end.
16260 # Note that $ac_compile itself does not contain backslashes and begins
16261 # with a dollar sign (not a hyphen), so the echo should work correctly.
16262 # The option is referenced via a variable to avoid confusing sed.
16263 lt_compile
=`echo "$ac_compile" | $SED \
16264 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16265 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16266 -e 's:$: $lt_compiler_flag:'`
16267 (eval echo "\"\$as_me:16267: $lt_compile\"" >&5)
16268 (eval "$lt_compile" 2>conftest.err
)
16270 cat conftest.err
>&5
16271 echo "$as_me:16271: \$? = $ac_status" >&5
16272 if (exit $ac_status) && test -s "$ac_outfile"; then
16273 # The compiler can only warn and ignore the option if not recognized
16274 # So say no if there are warnings other than the usual output.
16275 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16276 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16277 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16278 lt_cv_prog_compiler_pic_works_F77
=yes
16284 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
16285 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
16287 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
16288 case $lt_prog_compiler_pic_F77 in
16290 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
16293 lt_prog_compiler_pic_F77
=
16294 lt_prog_compiler_can_build_shared_F77
=no
16299 # For platforms which do not support PIC, -DPIC is meaningless:
16301 lt_prog_compiler_pic_F77
=
16304 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
16309 # Check to make sure the static flag actually works.
16311 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
16312 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16313 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16314 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
16315 echo $ECHO_N "(cached) $ECHO_C" >&6
16317 lt_cv_prog_compiler_static_works_F77
=no
16318 save_LDFLAGS
="$LDFLAGS"
16319 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16320 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16321 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16322 # The linker can only warn and ignore the option if not recognized
16323 # So say no if there are warnings
16324 if test -s conftest.err
; then
16325 # Append any errors to the config.log.
16326 cat conftest.err
1>&5
16327 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16328 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16329 if diff conftest.exp conftest.er2
>/dev
/null
; then
16330 lt_cv_prog_compiler_static_works_F77
=yes
16333 lt_cv_prog_compiler_static_works_F77
=yes
16337 LDFLAGS
="$save_LDFLAGS"
16340 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
16341 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
16343 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
16346 lt_prog_compiler_static_F77
=
16350 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16351 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16352 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16353 echo $ECHO_N "(cached) $ECHO_C" >&6
16355 lt_cv_prog_compiler_c_o_F77
=no
16356 $rm -r conftest
2>/dev
/null
16360 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16362 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16363 # Insert the option either (1) after the last *FLAGS variable, or
16364 # (2) before a word containing "conftest.", or (3) at the end.
16365 # Note that $ac_compile itself does not contain backslashes and begins
16366 # with a dollar sign (not a hyphen), so the echo should work correctly.
16367 lt_compile
=`echo "$ac_compile" | $SED \
16368 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16369 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16370 -e 's:$: $lt_compiler_flag:'`
16371 (eval echo "\"\$as_me:16371: $lt_compile\"" >&5)
16372 (eval "$lt_compile" 2>out
/conftest.err
)
16374 cat out
/conftest.err
>&5
16375 echo "$as_me:16375: \$? = $ac_status" >&5
16376 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16378 # The compiler can only warn and ignore the option if not recognized
16379 # So say no if there are warnings
16380 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16381 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16382 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16383 lt_cv_prog_compiler_c_o_F77
=yes
16388 # SGI C++ compiler will create directory out/ii_files/ for
16389 # template instantiation
16390 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16391 $rm out
/* && rmdir out
16397 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16398 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
16401 hard_links
="nottested"
16402 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
16403 # do not overwrite the value of need_locks provided by the user
16404 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16405 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16408 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16410 ln conftest.a conftest.b
2>&5 || hard_links
=no
16411 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16412 { echo "$as_me:$LINENO: result: $hard_links" >&5
16413 echo "${ECHO_T}$hard_links" >&6; }
16414 if test "$hard_links" = no
; then
16415 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16416 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16423 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16424 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16427 allow_undefined_flag_F77
=
16428 enable_shared_with_static_runtimes_F77
=no
16430 archive_expsym_cmds_F77
=
16431 old_archive_From_new_cmds_F77
=
16432 old_archive_from_expsyms_cmds_F77
=
16433 export_dynamic_flag_spec_F77
=
16434 whole_archive_flag_spec_F77
=
16435 thread_safe_flag_spec_F77
=
16436 hardcode_libdir_flag_spec_F77
=
16437 hardcode_libdir_flag_spec_ld_F77
=
16438 hardcode_libdir_separator_F77
=
16439 hardcode_direct_F77
=no
16440 hardcode_minus_L_F77
=no
16441 hardcode_shlibpath_var_F77
=unsupported
16442 link_all_deplibs_F77
=unknown
16443 hardcode_automatic_F77
=no
16445 module_expsym_cmds_F77
=
16446 always_export_symbols_F77
=no
16447 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16448 # include_expsyms should be a list of space-separated symbols to be *always*
16449 # included in the symbol list
16450 include_expsyms_F77
=
16451 # exclude_expsyms can be an extended regexp of symbols to exclude
16452 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16453 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16454 # as well as any symbol that contains `d'.
16455 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16456 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16457 # platforms (ab)use it in PIC code, but their linkers get confused if
16458 # the symbol is explicitly referenced. Since portable code cannot
16459 # rely on this symbol name, it's probably fine to never include it in
16460 # preloaded symbol tables.
16461 # Exclude shared library initialization/finalization symbols.
16462 extract_expsyms_cmds
=
16463 # Just being paranoid about ensuring that cc_basename is set.
16464 for cc_temp
in $compiler""; do
16466 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16467 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16472 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16475 cygwin
* | mingw
* | pw32
*)
16476 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16477 # When not using gcc, we currently assume that we are using
16478 # Microsoft Visual C++.
16479 if test "$GCC" != yes; then
16484 # we just hope/assume this is gcc and not c89 (= MSVC++)
16493 if test "$with_gnu_ld" = yes; then
16494 # If archive_cmds runs LD, not CC, wlarc should be empty
16497 # Set some defaults for GNU ld with shared library support. These
16498 # are reset later if shared libraries are not supported. Putting them
16499 # here allows them to be overridden if necessary.
16500 runpath_var
=LD_RUN_PATH
16501 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
16502 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
16503 # ancient GNU ld didn't support --whole-archive et. al.
16504 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16505 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16507 whole_archive_flag_spec_F77
=
16509 supports_anon_versioning
=no
16510 case `$LD -v 2>/dev/null` in
16511 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16512 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16513 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16514 *\
2.11.
*) ;; # other 2.11 versions
16515 *) supports_anon_versioning
=yes ;;
16518 # See if GNU ld supports shared libraries.
16521 # On AIX/PPC, the GNU linker is very broken
16522 if test "$host_cpu" != ia64
; then
16526 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16527 *** to be unable to reliably create shared libraries on AIX.
16528 *** Therefore, libtool is disabling shared libraries support. If you
16529 *** really care for shared libraries, you may want to modify your PATH
16530 *** so that a non-GNU linker is found, and then restart.
16537 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)'
16538 hardcode_libdir_flag_spec_F77
='-L$libdir'
16539 hardcode_minus_L_F77
=yes
16541 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16542 # that the semantics of dynamic libraries on AmigaOS, at least up
16543 # to version 4, is to share data among multiple programs linked
16544 # with the same dynamic library. Since this doesn't match the
16545 # behavior of shared libraries on other platforms, we can't use
16551 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16552 allow_undefined_flag_F77
=unsupported
16553 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16554 # support --undefined. This deserves some investigation. FIXME
16555 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16561 cygwin
* | mingw
* | pw32
*)
16562 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16563 # as there is no search path for DLLs.
16564 hardcode_libdir_flag_spec_F77
='-L$libdir'
16565 allow_undefined_flag_F77
=unsupported
16566 always_export_symbols_F77
=no
16567 enable_shared_with_static_runtimes_F77
=yes
16568 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16570 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16571 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16572 # If the export-symbols file already is a .def file (1st line
16573 # is EXPORTS), use it as is; otherwise, prepend...
16574 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16575 cp $export_symbols $output_objdir/$soname.def;
16577 echo EXPORTS > $output_objdir/$soname.def;
16578 cat $export_symbols >> $output_objdir/$soname.def;
16580 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16587 hardcode_direct_F77
=no
16588 hardcode_shlibpath_var_F77
=no
16589 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16590 export_dynamic_flag_spec_F77
='${wl}-E'
16591 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16592 # Instead, shared libraries are loaded at an image base (0x10000000 by
16593 # default) and relocated if they conflict, which is a slow very memory
16594 # consuming and fragmenting process. To avoid this, we pick a random,
16595 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16596 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16597 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'
16598 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'
16601 gnu
* | linux
* | k
*bsd
*-gnu)
16602 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16604 case $cc_basename,$host_cpu in
16605 pgcc
*) # Portland Group C compiler
16606 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'
16607 tmp_addflag
=' $pic_flag'
16609 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16610 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'
16611 tmp_addflag
=' $pic_flag -Mnomain' ;;
16612 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16613 tmp_addflag
=' -i_dynamic' ;;
16614 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16615 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16616 ifc
* | ifort
*) # Intel Fortran compiler
16617 tmp_addflag
=' -nofor_main' ;;
16619 case `$CC -V 2>&1 | sed 5q` in
16620 *Sun\ C
*) # Sun C 5.9
16621 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16622 tmp_sharedflag
='-G' ;;
16623 *Sun\ F
*) # Sun Fortran 8.3
16624 tmp_sharedflag
='-G' ;;
16626 tmp_sharedflag
='-shared' ;;
16628 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16630 if test $supports_anon_versioning = yes; then
16631 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
16632 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16633 $echo "local: *; };" >> $output_objdir/$libname.ver~
16634 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16636 link_all_deplibs_F77
=no
16642 netbsd
* | netbsdelf
*-gnu)
16643 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16644 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16647 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16648 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16653 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16657 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16658 *** create shared libraries on Solaris systems. Therefore, libtool
16659 *** is disabling shared libraries support. We urge you to upgrade GNU
16660 *** binutils to release 2.9.1 or newer. Another option is to modify
16661 *** your PATH or compiler configuration so that the native linker is
16662 *** used, and then restart.
16665 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16666 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16667 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16673 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16674 case `$LD -v 2>&1` in
16675 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16679 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16680 *** reliably create shared libraries on SCO systems. Therefore, libtool
16681 *** is disabling shared libraries support. We urge you to upgrade GNU
16682 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16683 *** your PATH or compiler configuration so that the native linker is
16684 *** used, and then restart.
16689 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16690 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16691 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16692 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16701 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16703 hardcode_direct_F77
=yes
16704 hardcode_shlibpath_var_F77
=no
16708 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16709 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16710 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16717 if test "$ld_shlibs_F77" = no
; then
16719 hardcode_libdir_flag_spec_F77
=
16720 export_dynamic_flag_spec_F77
=
16721 whole_archive_flag_spec_F77
=
16724 # PORTME fill in a description of your system's linker (not GNU ld)
16727 allow_undefined_flag_F77
=unsupported
16728 always_export_symbols_F77
=yes
16729 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'
16730 # Note: this linker hardcodes the directories in LIBPATH if there
16731 # are no directories specified by -L.
16732 hardcode_minus_L_F77
=yes
16733 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16734 # Neither direct hardcoding nor static linking is supported with a
16736 hardcode_direct_F77
=unsupported
16741 if test "$host_cpu" = ia64
; then
16742 # On IA64, the linker does run time linking by default, so we don't
16743 # have to do anything special.
16744 aix_use_runtimelinking
=no
16745 exp_sym_flag
='-Bexport'
16748 # If we're using GNU nm, then we don't want the "-C" option.
16749 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16750 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16751 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'
16753 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'
16755 aix_use_runtimelinking
=no
16757 # Test if we are trying to use run time linking or normal
16758 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16759 # need to do runtime linking.
16760 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16761 for ld_flag
in $LDFLAGS; do
16762 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16763 aix_use_runtimelinking
=yes
16770 exp_sym_flag
='-bexport'
16771 no_entry_flag
='-bnoentry'
16774 # When large executables or shared objects are built, AIX ld can
16775 # have problems creating the table of contents. If linking a library
16776 # or program results in "error TOC overflow" add -mminimal-toc to
16777 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16778 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16780 archive_cmds_F77
=''
16781 hardcode_direct_F77
=yes
16782 hardcode_libdir_separator_F77
=':'
16783 link_all_deplibs_F77
=yes
16785 if test "$GCC" = yes; then
16786 case $host_os in aix4.
[012]|aix4.
[012].
*)
16787 # We only want to do this on AIX 4.2 and lower, the check
16788 # below for broken collect2 doesn't work under 4.3+
16789 collect2name
=`${CC} -print-prog-name=collect2`
16790 if test -f "$collect2name" && \
16791 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16793 # We have reworked collect2
16796 # We have old collect2
16797 hardcode_direct_F77
=unsupported
16798 # It fails to find uninstalled libraries when the uninstalled
16799 # path is not listed in the libpath. Setting hardcode_minus_L
16800 # to unsupported forces relinking
16801 hardcode_minus_L_F77
=yes
16802 hardcode_libdir_flag_spec_F77
='-L$libdir'
16803 hardcode_libdir_separator_F77
=
16807 shared_flag
='-shared'
16808 if test "$aix_use_runtimelinking" = yes; then
16809 shared_flag
="$shared_flag "'${wl}-G'
16813 if test "$host_cpu" = ia64
; then
16814 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16815 # chokes on -Wl,-G. The following line is correct:
16818 if test "$aix_use_runtimelinking" = yes; then
16819 shared_flag
='${wl}-G'
16821 shared_flag
='${wl}-bM:SRE'
16826 # It seems that -bexpall does not export symbols beginning with
16827 # underscore (_), so it is better to generate a list of symbols to export.
16828 always_export_symbols_F77
=yes
16829 if test "$aix_use_runtimelinking" = yes; then
16830 # Warning - without using the other runtime loading flags (-brtl),
16831 # -berok will link without error, but may produce a broken library.
16832 allow_undefined_flag_F77
='-berok'
16833 # Determine the default libpath from the value encoded in an empty executable.
16834 cat >conftest.
$ac_ext <<_ACEOF
16839 rm -f conftest.
$ac_objext conftest
$ac_exeext
16840 if { (ac_try
="$ac_link"
16841 case "(($ac_try" in
16842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16843 *) ac_try_echo=$ac_try;;
16845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16846 (eval "$ac_link") 2>conftest.er1
16848 grep -v '^ *+' conftest.er1 >conftest.err
16850 cat conftest.err >&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); } && {
16853 test -z "$ac_f77_werror_flag" ||
16854 test ! -s conftest.err
16855 } && test -s conftest$ac_exeext &&
16856 $as_test_x conftest$ac_exeext; then
16858 lt_aix_libpath_sed='
16859 /Import File Strings/,/^$/ {
16865 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
16866 # Check for a 64-bit object if we didn't find anything.
16867 if test -z "$aix_libpath"; then
16868 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
16871 echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.$ac_ext >&5
16877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16878 conftest$ac_exeext conftest.$ac_ext
16879 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16881 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16882 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"
16884 if test "$host_cpu" = ia64; then
16885 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16886 allow_undefined_flag_F77="-z nodefs"
16887 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"
16889 # Determine the default libpath from the value encoded in an empty executable.
16890 cat >conftest.$ac_ext <<_ACEOF
16895 rm -f conftest.$ac_objext conftest$ac_exeext
16896 if { (ac_try="$ac_link"
16897 case "(($ac_try" in
16898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16899 *) ac_try_echo
=$ac_try;;
16901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16902 (eval "$ac_link") 2>conftest.er1
16904 grep -v '^ *+' conftest.er1
>conftest.err
16906 cat conftest.err
>&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); } && {
16909 test -z "$ac_f77_werror_flag" ||
16910 test ! -s conftest.err
16911 } && test -s conftest
$ac_exeext &&
16912 $as_test_x conftest
$ac_exeext; then
16914 lt_aix_libpath_sed
='
16915 /Import File Strings/,/^$/ {
16921 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16922 # Check for a 64-bit object if we didn't find anything.
16923 if test -z "$aix_libpath"; then
16924 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16927 echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.
$ac_ext >&5
16933 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16934 conftest
$ac_exeext conftest.
$ac_ext
16935 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16937 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
16938 # Warning - without using the other run time loading flags,
16939 # -berok will link without error, but may produce a broken library.
16940 no_undefined_flag_F77
=' ${wl}-bernotok'
16941 allow_undefined_flag_F77
=' ${wl}-berok'
16942 # Exported symbols can be pulled into shared objects from archives
16943 whole_archive_flag_spec_F77
='$convenience'
16944 archive_cmds_need_lc_F77
=yes
16945 # This is similar to how AIX traditionally builds its shared libraries.
16946 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'
16952 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)'
16953 hardcode_libdir_flag_spec_F77
='-L$libdir'
16954 hardcode_minus_L_F77
=yes
16955 # see comment about different semantics on the GNU ld section
16960 export_dynamic_flag_spec_F77
=-rdynamic
16963 cygwin
* | mingw
* | pw32
*)
16964 # When not using gcc, we currently assume that we are using
16965 # Microsoft Visual C++.
16966 # hardcode_libdir_flag_spec is actually meaningless, as there is
16967 # no search path for DLLs.
16968 hardcode_libdir_flag_spec_F77
=' '
16969 allow_undefined_flag_F77
=unsupported
16970 # Tell ltmain to make .lib files, not .a files.
16972 # Tell ltmain to make .dll files, not .so files.
16974 # FIXME: Setting linknames here is a bad hack.
16975 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16976 # The linker will automatically build a .lib file if we build a DLL.
16977 old_archive_From_new_cmds_F77
='true'
16978 # FIXME: Should let the user specify the lib program.
16979 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16980 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
16981 enable_shared_with_static_runtimes_F77
=yes
16984 darwin
* | rhapsody
*)
16986 rhapsody
* | darwin1.
[012])
16987 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
16990 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16991 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16993 case ${MACOSX_DEPLOYMENT_TARGET} in
16995 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16998 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
17004 archive_cmds_need_lc_F77
=no
17005 hardcode_direct_F77
=no
17006 hardcode_automatic_F77
=yes
17007 hardcode_shlibpath_var_F77
=unsupported
17008 whole_archive_flag_spec_F77
=''
17009 link_all_deplibs_F77
=yes
17010 if test "$GCC" = yes ; then
17011 output_verbose_link_cmd
='echo'
17012 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17013 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17014 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17015 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17017 case $cc_basename in
17019 output_verbose_link_cmd
='echo'
17020 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17021 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17022 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17023 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17024 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}'
17034 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17035 hardcode_libdir_flag_spec_F77
='-L$libdir'
17036 hardcode_shlibpath_var_F77
=no
17043 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17044 # support. Future versions do this automatically, but an explicit c++rt0.o
17045 # does not break anything, and helps significantly (at the cost of a little
17048 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17049 hardcode_libdir_flag_spec_F77
='-R$libdir'
17050 hardcode_direct_F77
=yes
17051 hardcode_shlibpath_var_F77
=no
17054 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17056 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17057 hardcode_direct_F77
=yes
17058 hardcode_minus_L_F77
=yes
17059 hardcode_shlibpath_var_F77
=no
17062 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17063 freebsd
* | dragonfly
*)
17064 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17065 hardcode_libdir_flag_spec_F77
='-R$libdir'
17066 hardcode_direct_F77
=yes
17067 hardcode_shlibpath_var_F77
=no
17071 if test "$GCC" = yes; then
17072 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'
17074 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'
17076 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
17077 hardcode_libdir_separator_F77
=:
17078 hardcode_direct_F77
=yes
17080 # hardcode_minus_L: Not really in the search PATH,
17081 # but as the default location of the library.
17082 hardcode_minus_L_F77
=yes
17083 export_dynamic_flag_spec_F77
='${wl}-E'
17087 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17088 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17090 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17092 if test "$with_gnu_ld" = no
; then
17093 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
17094 hardcode_libdir_separator_F77
=:
17096 hardcode_direct_F77
=yes
17097 export_dynamic_flag_spec_F77
='${wl}-E'
17099 # hardcode_minus_L: Not really in the search PATH,
17100 # but as the default location of the library.
17101 hardcode_minus_L_F77
=yes
17106 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17109 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17112 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17115 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17121 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17124 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17127 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17131 if test "$with_gnu_ld" = no
; then
17132 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
17133 hardcode_libdir_separator_F77
=:
17137 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
17138 hardcode_direct_F77
=no
17139 hardcode_shlibpath_var_F77
=no
17142 hardcode_direct_F77
=yes
17143 export_dynamic_flag_spec_F77
='${wl}-E'
17145 # hardcode_minus_L: Not really in the search PATH,
17146 # but as the default location of the library.
17147 hardcode_minus_L_F77
=yes
17153 irix5
* | irix6
* | nonstopux
*)
17154 if test "$GCC" = yes; then
17155 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'
17157 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'
17158 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
17160 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17161 hardcode_libdir_separator_F77
=:
17162 link_all_deplibs_F77
=yes
17165 netbsd
* | netbsdelf
*-gnu)
17166 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17167 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17169 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17171 hardcode_libdir_flag_spec_F77
='-R$libdir'
17172 hardcode_direct_F77
=yes
17173 hardcode_shlibpath_var_F77
=no
17177 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17178 hardcode_direct_F77
=yes
17179 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17180 hardcode_libdir_separator_F77
=:
17181 hardcode_shlibpath_var_F77
=no
17185 if test -f /usr
/libexec
/ld.so
; then
17186 hardcode_direct_F77
=yes
17187 hardcode_shlibpath_var_F77
=no
17188 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17189 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17190 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17191 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
17192 export_dynamic_flag_spec_F77
='${wl}-E'
17195 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17196 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17197 hardcode_libdir_flag_spec_F77
='-R$libdir'
17200 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17201 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
17211 hardcode_libdir_flag_spec_F77
='-L$libdir'
17212 hardcode_minus_L_F77
=yes
17213 allow_undefined_flag_F77
=unsupported
17214 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'
17215 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17219 if test "$GCC" = yes; then
17220 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
17221 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'
17223 allow_undefined_flag_F77
=' -expect_unresolved \*'
17224 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'
17226 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17227 hardcode_libdir_separator_F77
=:
17230 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17231 if test "$GCC" = yes; then
17232 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
17233 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'
17234 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17236 allow_undefined_flag_F77
=' -expect_unresolved \*'
17237 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'
17238 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~
17239 $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'
17241 # Both c and cxx compiler support -rpath directly
17242 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
17244 hardcode_libdir_separator_F77
=:
17248 no_undefined_flag_F77
=' -z text'
17249 if test "$GCC" = yes; then
17251 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17252 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17253 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17256 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17257 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17258 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17260 hardcode_libdir_flag_spec_F77
='-R$libdir'
17261 hardcode_shlibpath_var_F77
=no
17263 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17265 # The compiler driver will combine and reorder linker options,
17266 # but understands `-z linker_flag'. GCC discards it without `$wl',
17267 # but is careful enough not to reorder.
17268 # Supported since Solaris 2.6 (maybe 2.5.1?)
17269 if test "$GCC" = yes; then
17270 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17272 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
17276 link_all_deplibs_F77
=yes
17280 if test "x$host_vendor" = xsequent
; then
17281 # Use $CC to link under sequent, because it throws in some extra .o
17282 # files that make .init and .fini sections work.
17283 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17285 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17287 hardcode_libdir_flag_spec_F77
='-L$libdir'
17288 hardcode_direct_F77
=yes
17289 hardcode_minus_L_F77
=yes
17290 hardcode_shlibpath_var_F77
=no
17294 case $host_vendor in
17296 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17297 hardcode_direct_F77
=yes # is this really true???
17300 ## LD is ld it makes a PLAMLIB
17301 ## CC just makes a GrossModule.
17302 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17303 reload_cmds_F77
='$CC -r -o $output$reload_objs'
17304 hardcode_direct_F77
=no
17307 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17308 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
17311 runpath_var
='LD_RUN_PATH'
17312 hardcode_shlibpath_var_F77
=no
17316 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17317 hardcode_shlibpath_var_F77
=no
17318 export_dynamic_flag_spec_F77
='-Bexport'
17322 if test -d /usr
/nec
; then
17323 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17324 hardcode_shlibpath_var_F77
=no
17325 runpath_var
=LD_RUN_PATH
17326 hardcode_runpath_var
=yes
17331 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17332 no_undefined_flag_F77
='${wl}-z,text'
17333 archive_cmds_need_lc_F77
=no
17334 hardcode_shlibpath_var_F77
=no
17335 runpath_var
='LD_RUN_PATH'
17337 if test "$GCC" = yes; then
17338 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17339 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17341 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17342 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17346 sysv5
* | sco3.2v5
* | sco5v6
*)
17347 # Note: We can NOT use -z defs as we might desire, because we do not
17348 # link with -lc, and that would cause any symbols used from libc to
17349 # always be unresolved, which means just about no library would
17350 # ever link correctly. If we're not using GNU ld we use -z text
17351 # though, which does catch some bad symbols but isn't as heavy-handed
17353 no_undefined_flag_F77
='${wl}-z,text'
17354 allow_undefined_flag_F77
='${wl}-z,nodefs'
17355 archive_cmds_need_lc_F77
=no
17356 hardcode_shlibpath_var_F77
=no
17357 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17358 hardcode_libdir_separator_F77
=':'
17359 link_all_deplibs_F77
=yes
17360 export_dynamic_flag_spec_F77
='${wl}-Bexport'
17361 runpath_var
='LD_RUN_PATH'
17363 if test "$GCC" = yes; then
17364 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17365 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17367 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17368 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17373 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17374 hardcode_libdir_flag_spec_F77
='-L$libdir'
17375 hardcode_shlibpath_var_F77
=no
17384 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17385 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17386 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
17389 # Do we need to explicitly link libc?
17391 case "x$archive_cmds_need_lc_F77" in
17393 # Assume -lc should be added
17394 archive_cmds_need_lc_F77
=yes
17396 if test "$enable_shared" = yes && test "$GCC" = yes; then
17397 case $archive_cmds_F77 in
17399 # FIXME: we may have to deal with multi-command sequences.
17402 # Test whether the compiler implicitly links with -lc since on some
17403 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17404 # to ld, don't add -lc before -lgcc.
17405 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17406 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17408 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17411 (eval $ac_compile) 2>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); } 2>conftest.err
; then
17417 libobjs
=conftest.
$ac_objext
17419 wl
=$lt_prog_compiler_wl_F77
17420 pic_flag
=$lt_prog_compiler_pic_F77
17426 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
17427 allow_undefined_flag_F77
=
17428 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17429 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); }
17434 archive_cmds_need_lc_F77
=no
17436 archive_cmds_need_lc_F77
=yes
17438 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
17440 cat conftest.err
1>&5
17443 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17444 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
17451 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17452 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17453 library_names_spec
=
17454 libname_spec
='lib$name'
17458 postuninstall_cmds
=
17462 shlibpath_overrides_runpath
=unknown
17464 dynamic_linker
="$host_os ld.so"
17465 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17467 need_lib_prefix
=unknown
17468 hardcode_into_libs
=no
17470 # when you set need_version to no, make sure it does not cause -set_version
17471 # flags to be left without arguments
17472 need_version
=unknown
17477 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17478 shlibpath_var
=LIBPATH
17480 # AIX 3 has no versioning support, so we append a major version to the name.
17481 soname_spec
='${libname}${release}${shared_ext}$major'
17488 hardcode_into_libs
=yes
17489 if test "$host_cpu" = ia64
; then
17490 # AIX 5 supports IA64
17491 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17492 shlibpath_var
=LD_LIBRARY_PATH
17494 # With GCC up to 2.95.x, collect2 would create an import file
17495 # for dependence libraries. The import file would start with
17496 # the line `#! .'. This would cause the generated library to
17497 # depend on `.', always an invalid library. This was fixed in
17498 # development snapshots of GCC prior to 3.0.
17500 aix4 | aix4.
[01] | aix4.
[01].
*)
17501 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17503 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17506 can_build_shared
=no
17510 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17511 # soname into executable. Probably we can add versioning support to
17512 # collect2, so additional links can be useful in future.
17513 if test "$aix_use_runtimelinking" = yes; then
17514 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17515 # instead of lib<name>.a to let people know that these are not
17516 # typical AIX shared libraries.
17517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17519 # We preserve .a as extension for shared libraries through AIX4.2
17520 # and later when we are not doing run time linking.
17521 library_names_spec
='${libname}${release}.a $libname.a'
17522 soname_spec
='${libname}${release}${shared_ext}$major'
17524 shlibpath_var
=LIBPATH
17529 library_names_spec
='$libname.ixlibrary $libname.a'
17530 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17531 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'
17535 library_names_spec
='${libname}${shared_ext}'
17536 dynamic_linker
="$host_os ld.so"
17537 shlibpath_var
=LIBRARY_PATH
17543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17544 soname_spec
='${libname}${release}${shared_ext}$major'
17545 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17546 shlibpath_var
=LD_LIBRARY_PATH
17547 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17548 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17549 # the default ld.so.conf also contains /usr/contrib/lib and
17550 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17551 # libtool to hard-code these into programs
17554 cygwin
* | mingw
* | pw32
*)
17555 version_type
=windows
17560 case $GCC,$host_os in
17561 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17562 library_names_spec
='$libname.dll.a'
17563 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17564 postinstall_cmds
='base_file=`basename \${file}`~
17565 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17566 dldir=$destdir/`dirname \$dlpath`~
17567 test -d \$dldir || mkdir -p \$dldir~
17568 $install_prog $dir/$dlname \$dldir/$dlname~
17569 chmod a+x \$dldir/$dlname'
17570 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17571 dlpath=$dir/\$dldll~
17573 shlibpath_overrides_runpath
=yes
17577 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17578 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17579 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17582 # MinGW DLLs use traditional 'lib' prefix
17583 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17584 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17585 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17586 # It is most probably a Windows format PATH printed by
17587 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17588 # path with ; separators, and with drive letters. We can handle the
17589 # drive letters (cygwin fileutils understands them), so leave them,
17590 # especially as we might pass files found there to a mingw objdump,
17591 # which wouldn't understand a cygwinified path. Ahh.
17592 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17594 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17598 # pw32 DLLs use 'pw' prefix rather than 'lib'
17599 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17605 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17608 dynamic_linker
='Win32 ld.exe'
17609 # FIXME: first we should search . and the directory the executable is in
17613 darwin
* | rhapsody
*)
17614 dynamic_linker
="$host_os dyld"
17615 version_type
=darwin
17618 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17619 soname_spec
='${libname}${release}${major}$shared_ext'
17620 shlibpath_overrides_runpath
=yes
17621 shlibpath_var
=DYLD_LIBRARY_PATH
17622 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17624 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17632 soname_spec
='${libname}${release}${shared_ext}$major'
17633 shlibpath_var
=LD_LIBRARY_PATH
17640 freebsd
* | dragonfly
*)
17641 # DragonFly does not have aout. When/if they implement a new
17642 # versioning mechanism, adjust this.
17643 if test -x /usr
/bin
/objformat
; then
17644 objformat
=`/usr/bin/objformat`
17647 freebsd
[123]*) objformat
=aout
;;
17648 *) objformat
=elf
;;
17651 version_type
=freebsd-
$objformat
17652 case $version_type in
17654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17659 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17663 shlibpath_var
=LD_LIBRARY_PATH
17666 shlibpath_overrides_runpath
=yes
17668 freebsd3.
[01]* | freebsdelf3.
[01]*)
17669 shlibpath_overrides_runpath
=yes
17670 hardcode_into_libs
=yes
17672 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17673 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17674 shlibpath_overrides_runpath
=no
17675 hardcode_into_libs
=yes
17677 *) # from 4.6 on, and DragonFly
17678 shlibpath_overrides_runpath
=yes
17679 hardcode_into_libs
=yes
17688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17689 soname_spec
='${libname}${release}${shared_ext}$major'
17690 shlibpath_var
=LD_LIBRARY_PATH
17691 hardcode_into_libs
=yes
17694 hpux9
* | hpux10
* | hpux11
*)
17695 # Give a soname corresponding to the major version so that dld.sl refuses to
17696 # link against other versions.
17703 hardcode_into_libs
=yes
17704 dynamic_linker
="$host_os dld.so"
17705 shlibpath_var
=LD_LIBRARY_PATH
17706 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17708 soname_spec
='${libname}${release}${shared_ext}$major'
17709 if test "X$HPUX_IA64_MODE" = X32
; then
17710 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17712 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17714 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17718 hardcode_into_libs
=yes
17719 dynamic_linker
="$host_os dld.sl"
17720 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17721 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17723 soname_spec
='${libname}${release}${shared_ext}$major'
17724 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17725 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17729 dynamic_linker
="$host_os dld.sl"
17730 shlibpath_var
=SHLIB_PATH
17731 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17733 soname_spec
='${libname}${release}${shared_ext}$major'
17736 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17737 postinstall_cmds
='chmod 555 $lib'
17744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17745 soname_spec
='${libname}${release}${shared_ext}$major'
17746 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17747 shlibpath_var
=LD_LIBRARY_PATH
17748 shlibpath_overrides_runpath
=no
17749 hardcode_into_libs
=yes
17752 irix5
* | irix6
* | nonstopux
*)
17754 nonstopux
*) version_type
=nonstopux
;;
17756 if test "$lt_cv_prog_gnu_ld" = yes; then
17764 soname_spec
='${libname}${release}${shared_ext}$major'
17765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17767 irix5
* | nonstopux
*)
17768 libsuff
= shlibsuff
=
17771 case $LD in # libtool.m4 will add one of these switches to LD
17772 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17773 libsuff
= shlibsuff
= libmagic
=32-bit;;
17774 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17775 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17776 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17777 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17778 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17782 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17783 shlibpath_overrides_runpath
=no
17784 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17785 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17786 hardcode_into_libs
=yes
17789 # No shared lib support for Linux oldld, aout, or coff.
17790 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17794 # This must be Linux ELF.
17795 linux
* | k
*bsd
*-gnu)
17799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17800 soname_spec
='${libname}${release}${shared_ext}$major'
17801 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17802 shlibpath_var
=LD_LIBRARY_PATH
17803 shlibpath_overrides_runpath
=no
17804 # This implies no fast_install, which is unacceptable.
17805 # Some rework will be needed to allow for fast_install
17806 # before this can be enabled.
17807 hardcode_into_libs
=yes
17809 # Append ld.so.conf contents to the search path
17810 if test -f /etc
/ld.so.conf
; then
17811 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17812 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17815 # We used to test for /lib/ld.so.1 and disable shared libraries on
17816 # powerpc, because MkLinux only supported shared libraries with the
17817 # GNU dynamic linker. Since this was broken with cross compilers,
17818 # most powerpc-linux boxes support dynamic linking these days and
17819 # people can always --disable-shared, the test was removed, and we
17820 # assume the GNU/Linux dynamic linker is in use.
17821 dynamic_linker
='GNU/Linux ld.so'
17828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17829 soname_spec
='${libname}${release}${shared_ext}$major'
17830 shlibpath_var
=LD_LIBRARY_PATH
17831 shlibpath_overrides_runpath
=no
17832 hardcode_into_libs
=yes
17833 dynamic_linker
='NetBSD ld.elf_so'
17840 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17842 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17843 dynamic_linker
='NetBSD (a.out) ld.so'
17845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17846 soname_spec
='${libname}${release}${shared_ext}$major'
17847 dynamic_linker
='NetBSD ld.elf_so'
17849 shlibpath_var
=LD_LIBRARY_PATH
17850 shlibpath_overrides_runpath
=yes
17851 hardcode_into_libs
=yes
17856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17857 shlibpath_var
=LD_LIBRARY_PATH
17858 shlibpath_overrides_runpath
=yes
17865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17866 soname_spec
='${libname}${release}${shared_ext}$major'
17867 shlibpath_var
=LD_LIBRARY_PATH
17868 shlibpath_overrides_runpath
=yes
17873 sys_lib_dlsearch_path_spec
="/usr/lib"
17875 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17877 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17878 *) need_version
=no
;;
17880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17881 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17882 shlibpath_var
=LD_LIBRARY_PATH
17883 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17885 openbsd2.
[89] | openbsd2.
[89].
*)
17886 shlibpath_overrides_runpath
=no
17889 shlibpath_overrides_runpath
=yes
17893 shlibpath_overrides_runpath
=yes
17898 libname_spec
='$name'
17901 library_names_spec
='$libname${shared_ext} $libname.a'
17902 dynamic_linker
='OS/2 ld.exe'
17903 shlibpath_var
=LIBPATH
17906 osf3
* | osf4
* | osf5
*)
17910 soname_spec
='${libname}${release}${shared_ext}$major'
17911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17912 shlibpath_var
=LD_LIBRARY_PATH
17913 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17914 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17926 soname_spec
='${libname}${release}${shared_ext}$major'
17927 shlibpath_var
=LD_LIBRARY_PATH
17928 shlibpath_overrides_runpath
=yes
17929 hardcode_into_libs
=yes
17930 # ldd complains unless libraries are executable
17931 postinstall_cmds
='chmod +x $lib'
17936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17937 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17938 shlibpath_var
=LD_LIBRARY_PATH
17939 shlibpath_overrides_runpath
=yes
17940 if test "$with_gnu_ld" = yes; then
17948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17949 soname_spec
='${libname}${release}${shared_ext}$major'
17950 shlibpath_var
=LD_LIBRARY_PATH
17951 case $host_vendor in
17953 shlibpath_overrides_runpath
=no
17955 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17956 runpath_var
=LD_RUN_PATH
17964 shlibpath_overrides_runpath
=no
17965 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17971 if test -d /usr
/nec
;then
17973 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17974 soname_spec
='$libname${shared_ext}.$major'
17975 shlibpath_var
=LD_LIBRARY_PATH
17979 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17980 version_type
=freebsd-elf
17983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17984 soname_spec
='${libname}${release}${shared_ext}$major'
17985 shlibpath_var
=LD_LIBRARY_PATH
17986 hardcode_into_libs
=yes
17987 if test "$with_gnu_ld" = yes; then
17988 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17989 shlibpath_overrides_runpath
=no
17991 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17992 shlibpath_overrides_runpath
=yes
17995 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17999 sys_lib_dlsearch_path_spec
='/usr/lib'
18004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18005 soname_spec
='${libname}${release}${shared_ext}$major'
18006 shlibpath_var
=LD_LIBRARY_PATH
18013 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18014 echo "${ECHO_T}$dynamic_linker" >&6; }
18015 test "$dynamic_linker" = no
&& can_build_shared
=no
18017 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18018 echo $ECHO_N "(cached) $ECHO_C" >&6
18020 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
18023 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
18024 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18025 echo $ECHO_N "(cached) $ECHO_C" >&6
18027 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
18030 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
18032 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18033 if test "$GCC" = yes; then
18034 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18037 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18038 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18039 hardcode_action_F77
=
18040 if test -n "$hardcode_libdir_flag_spec_F77" || \
18041 test -n "$runpath_var_F77" || \
18042 test "X$hardcode_automatic_F77" = "Xyes" ; then
18044 # We can hardcode non-existant directories.
18045 if test "$hardcode_direct_F77" != no
&&
18046 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18047 # have to relink, otherwise we might link with an installed library
18048 # when we should be linking with a yet-to-be-installed one
18049 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18050 test "$hardcode_minus_L_F77" != no
; then
18051 # Linking always hardcodes the temporary library directory.
18052 hardcode_action_F77
=relink
18054 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18055 hardcode_action_F77
=immediate
18058 # We cannot hardcode anything, or else we can only hardcode existing
18060 hardcode_action_F77
=unsupported
18062 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18063 echo "${ECHO_T}$hardcode_action_F77" >&6; }
18065 if test "$hardcode_action_F77" = relink
; then
18066 # Fast installation is not supported
18067 enable_fast_install
=no
18068 elif test "$shlibpath_overrides_runpath" = yes ||
18069 test "$enable_shared" = no
; then
18070 # Fast installation is not necessary
18071 enable_fast_install
=needless
18075 # The else clause should only fire when bootstrapping the
18076 # libtool distribution, otherwise you forgot to ship ltmain.sh
18077 # with your package, and you will get complaints that there are
18078 # no rules to generate ltmain.sh.
18079 if test -f "$ltmain"; then
18080 # See if we are running on zsh, and set the options which allow our commands through
18081 # without removal of \ escapes.
18082 if test -n "${ZSH_VERSION+set}" ; then
18083 setopt NO_GLOB_SUBST
18085 # Now quote all the things that may contain metacharacters while being
18086 # careful not to overquote the AC_SUBSTed values. We take copies of the
18087 # variables and quote the copies for generation of the libtool script.
18088 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18090 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18091 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18092 deplibs_check_method reload_flag reload_cmds need_locks \
18093 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18094 lt_cv_sys_global_symbol_to_c_name_address \
18095 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18096 old_postinstall_cmds old_postuninstall_cmds \
18100 lt_prog_compiler_wl_F77 \
18101 lt_prog_compiler_pic_F77 \
18102 lt_prog_compiler_static_F77 \
18103 lt_prog_compiler_no_builtin_flag_F77 \
18104 export_dynamic_flag_spec_F77 \
18105 thread_safe_flag_spec_F77 \
18106 whole_archive_flag_spec_F77 \
18107 enable_shared_with_static_runtimes_F77 \
18108 old_archive_cmds_F77 \
18109 old_archive_from_new_cmds_F77 \
18110 predep_objects_F77 \
18111 postdep_objects_F77 \
18114 compiler_lib_search_path_F77 \
18115 compiler_lib_search_dirs_F77 \
18117 archive_expsym_cmds_F77 \
18118 postinstall_cmds_F77 \
18119 postuninstall_cmds_F77 \
18120 old_archive_from_expsyms_cmds_F77 \
18121 allow_undefined_flag_F77 \
18122 no_undefined_flag_F77 \
18123 export_symbols_cmds_F77 \
18124 hardcode_libdir_flag_spec_F77 \
18125 hardcode_libdir_flag_spec_ld_F77 \
18126 hardcode_libdir_separator_F77 \
18127 hardcode_automatic_F77 \
18129 module_expsym_cmds_F77 \
18130 lt_cv_prog_compiler_c_o_F77 \
18131 fix_srcfile_path_F77 \
18132 exclude_expsyms_F77 \
18133 include_expsyms_F77
; do
18136 old_archive_cmds_F77 | \
18137 old_archive_from_new_cmds_F77 | \
18138 archive_cmds_F77 | \
18139 archive_expsym_cmds_F77 | \
18140 module_cmds_F77 | \
18141 module_expsym_cmds_F77 | \
18142 old_archive_from_expsyms_cmds_F77 | \
18143 export_symbols_cmds_F77 | \
18144 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18145 postinstall_cmds | postuninstall_cmds | \
18146 old_postinstall_cmds | old_postuninstall_cmds | \
18147 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18148 # Double-quote double-evaled strings.
18149 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18152 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18158 *'\$0 --fallback-echo"')
18159 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18165 cat <<__EOF__ >> "$cfgfile"
18166 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18168 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18170 # Shell to use when invoking shell scripts.
18173 # Whether or not to build shared libraries.
18174 build_libtool_libs=$enable_shared
18176 # Whether or not to build static libraries.
18177 build_old_libs=$enable_static
18179 # Whether or not to add -lc for building shared libraries.
18180 build_libtool_need_lc=$archive_cmds_need_lc_F77
18182 # Whether or not to disallow shared libs when runtime libs are static
18183 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18185 # Whether or not to optimize for fast installation.
18186 fast_install=$enable_fast_install
18189 host_alias=$host_alias
18193 # The build system.
18194 build_alias=$build_alias
18198 # An echo program that does not interpret backslashes.
18203 AR_FLAGS=$lt_AR_FLAGS
18208 # LTCC compiler flags.
18209 LTCFLAGS=$lt_LTCFLAGS
18211 # A language-specific compiler.
18212 CC=$lt_compiler_F77
18214 # Is the compiler the GNU C compiler?
18220 # The linker used to build libraries.
18223 # Whether we need hard or soft links.
18226 # A BSD-compatible nm program.
18229 # A symbol stripping program
18232 # Used to examine libraries when file_magic_cmd begins "file"
18233 MAGIC_CMD=$MAGIC_CMD
18235 # Used on cygwin: DLL creation program.
18238 # Used on cygwin: object dumper.
18241 # Used on cygwin: assembler.
18244 # The name of the directory that contains temporary libtool files.
18247 # How to create reloadable object files.
18248 reload_flag=$lt_reload_flag
18249 reload_cmds=$lt_reload_cmds
18251 # How to pass a linker flag through the compiler.
18252 wl=$lt_lt_prog_compiler_wl_F77
18254 # Object file suffix (normally "o").
18255 objext="$ac_objext"
18257 # Old archive suffix (normally "a").
18260 # Shared library suffix (normally ".so").
18261 shrext_cmds='$shrext_cmds'
18263 # Executable file suffix (normally "").
18266 # Additional compiler flags for building library objects.
18267 pic_flag=$lt_lt_prog_compiler_pic_F77
18270 # What is the maximum length of a command?
18271 max_cmd_len=$lt_cv_sys_max_cmd_len
18273 # Does compiler simultaneously support -c and -o options?
18274 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18276 # Must we lock files when doing compilation?
18277 need_locks=$lt_need_locks
18279 # Do we need the lib prefix for modules?
18280 need_lib_prefix=$need_lib_prefix
18282 # Do we need a version for libraries?
18283 need_version=$need_version
18285 # Whether dlopen is supported.
18286 dlopen_support=$enable_dlopen
18288 # Whether dlopen of programs is supported.
18289 dlopen_self=$enable_dlopen_self
18291 # Whether dlopen of statically linked programs is supported.
18292 dlopen_self_static=$enable_dlopen_self_static
18294 # Compiler flag to prevent dynamic linking.
18295 link_static_flag=$lt_lt_prog_compiler_static_F77
18297 # Compiler flag to turn off builtin functions.
18298 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18300 # Compiler flag to allow reflexive dlopens.
18301 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18303 # Compiler flag to generate shared objects directly from archives.
18304 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18306 # Compiler flag to generate thread-safe objects.
18307 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18309 # Library versioning type.
18310 version_type=$version_type
18312 # Format of library name prefix.
18313 libname_spec=$lt_libname_spec
18315 # List of archive names. First name is the real one, the rest are links.
18316 # The last name is the one that the linker finds with -lNAME.
18317 library_names_spec=$lt_library_names_spec
18319 # The coded name of the library, if different from the real name.
18320 soname_spec=$lt_soname_spec
18322 # Commands used to build and install an old-style archive.
18324 old_archive_cmds=$lt_old_archive_cmds_F77
18325 old_postinstall_cmds=$lt_old_postinstall_cmds
18326 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18328 # Create an old-style archive from a shared archive.
18329 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18331 # Create a temporary old-style archive to link instead of a shared archive.
18332 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18334 # Commands used to build and install a shared archive.
18335 archive_cmds=$lt_archive_cmds_F77
18336 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18337 postinstall_cmds=$lt_postinstall_cmds
18338 postuninstall_cmds=$lt_postuninstall_cmds
18340 # Commands used to build a loadable module (assumed same as above if empty)
18341 module_cmds=$lt_module_cmds_F77
18342 module_expsym_cmds=$lt_module_expsym_cmds_F77
18344 # Commands to strip libraries.
18345 old_striplib=$lt_old_striplib
18346 striplib=$lt_striplib
18348 # Dependencies to place before the objects being linked to create a
18350 predep_objects=$lt_predep_objects_F77
18352 # Dependencies to place after the objects being linked to create a
18354 postdep_objects=$lt_postdep_objects_F77
18356 # Dependencies to place before the objects being linked to create a
18358 predeps=$lt_predeps_F77
18360 # Dependencies to place after the objects being linked to create a
18362 postdeps=$lt_postdeps_F77
18364 # The directories searched by this compiler when creating a shared
18366 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
18368 # The library search path used internally by the compiler when linking
18369 # a shared library.
18370 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18372 # Method to check whether dependent libraries are shared objects.
18373 deplibs_check_method=$lt_deplibs_check_method
18375 # Command to use when deplibs_check_method == file_magic.
18376 file_magic_cmd=$lt_file_magic_cmd
18378 # Flag that allows shared libraries with undefined symbols to be built.
18379 allow_undefined_flag=$lt_allow_undefined_flag_F77
18381 # Flag that forces no undefined symbols.
18382 no_undefined_flag=$lt_no_undefined_flag_F77
18384 # Commands used to finish a libtool library installation in a directory.
18385 finish_cmds=$lt_finish_cmds
18387 # Same as above, but a single script fragment to be evaled but not shown.
18388 finish_eval=$lt_finish_eval
18390 # Take the output of nm and produce a listing of raw symbols and C names.
18391 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18393 # Transform the output of nm in a proper C declaration
18394 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18396 # Transform the output of nm in a C name address pair
18397 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18399 # This is the shared library runtime path variable.
18400 runpath_var=$runpath_var
18402 # This is the shared library path variable.
18403 shlibpath_var=$shlibpath_var
18405 # Is shlibpath searched before the hard-coded library search path?
18406 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18408 # How to hardcode a shared library path into an executable.
18409 hardcode_action=$hardcode_action_F77
18411 # Whether we should hardcode library paths into libraries.
18412 hardcode_into_libs=$hardcode_into_libs
18414 # Flag to hardcode \$libdir into a binary during linking.
18415 # This must work even if \$libdir does not exist.
18416 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18418 # If ld is used when linking, flag to hardcode \$libdir into
18419 # a binary during linking. This must work even if \$libdir does
18421 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18423 # Whether we need a single -rpath flag with a separated argument.
18424 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18426 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18427 # resulting binary.
18428 hardcode_direct=$hardcode_direct_F77
18430 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18431 # resulting binary.
18432 hardcode_minus_L=$hardcode_minus_L_F77
18434 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18435 # the resulting binary.
18436 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18438 # Set to yes if building a shared library automatically hardcodes DIR into the library
18439 # and all subsequent libraries and executables linked against it.
18440 hardcode_automatic=$hardcode_automatic_F77
18442 # Variables whose values should be saved in libtool wrapper scripts and
18443 # restored at relink time.
18444 variables_saved_for_relink="$variables_saved_for_relink"
18446 # Whether libtool must link a program against all its dependency libraries.
18447 link_all_deplibs=$link_all_deplibs_F77
18449 # Compile-time system search path for libraries
18450 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18452 # Run-time system search path for libraries
18453 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18455 # Fix the shell variable \$srcfile for the compiler.
18456 fix_srcfile_path=$lt_fix_srcfile_path
18458 # Set to yes if exported symbols are required.
18459 always_export_symbols=$always_export_symbols_F77
18461 # The commands to list exported symbols.
18462 export_symbols_cmds=$lt_export_symbols_cmds_F77
18464 # The commands to extract the exported symbol list from a shared archive.
18465 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18467 # Symbols that should not be listed in the preloaded symbols.
18468 exclude_expsyms=$lt_exclude_expsyms_F77
18470 # Symbols that must always be exported.
18471 include_expsyms=$lt_include_expsyms_F77
18473 # ### END LIBTOOL TAG CONFIG: $tagname
18479 # If there is no Makefile yet, we rely on a make rule to execute
18480 # `config.status --recheck' to rerun these tests and create the
18481 # libtool script then.
18482 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18483 if test -f "$ltmain_in"; then
18484 test -f Makefile
&& make "$ltmain"
18490 ac_cpp
='$CPP $CPPFLAGS'
18491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18503 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18506 # Source file extension for Java test sources.
18509 # Object file extension for compiled Java test sources.
18513 # Code to be used in simple compile tests
18514 lt_simple_compile_test_code
="class foo {}"
18516 # Code to be used in simple link tests
18517 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
18519 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18521 # If no C compiler was specified, use CC.
18524 # If no C compiler flags were specified, use CFLAGS.
18525 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18527 # Allow CC to be a program name with arguments.
18531 # save warnings/boilerplate of simple test code
18532 ac_outfile
=conftest.
$ac_objext
18533 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18534 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18535 _lt_compiler_boilerplate
=`cat conftest.err`
18538 ac_outfile
=conftest.
$ac_objext
18539 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18540 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18541 _lt_linker_boilerplate
=`cat conftest.err`
18545 # Allow CC to be a program name with arguments.
18550 for cc_temp
in $compiler""; do
18552 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18553 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18558 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18561 # GCJ did not exist at the time GCC didn't implicitly link libc in.
18562 archive_cmds_need_lc_GCJ
=no
18564 old_archive_cmds_GCJ
=$old_archive_cmds
18567 lt_prog_compiler_no_builtin_flag_GCJ
=
18569 if test "$GCC" = yes; then
18570 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
18573 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18574 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18575 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18576 echo $ECHO_N "(cached) $ECHO_C" >&6
18578 lt_cv_prog_compiler_rtti_exceptions
=no
18579 ac_outfile
=conftest.
$ac_objext
18580 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18581 lt_compiler_flag
="-fno-rtti -fno-exceptions"
18582 # Insert the option either (1) after the last *FLAGS variable, or
18583 # (2) before a word containing "conftest.", or (3) at the end.
18584 # Note that $ac_compile itself does not contain backslashes and begins
18585 # with a dollar sign (not a hyphen), so the echo should work correctly.
18586 # The option is referenced via a variable to avoid confusing sed.
18587 lt_compile
=`echo "$ac_compile" | $SED \
18588 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18589 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18590 -e 's:$: $lt_compiler_flag:'`
18591 (eval echo "\"\$as_me:18591: $lt_compile\"" >&5)
18592 (eval "$lt_compile" 2>conftest.err
)
18594 cat conftest.err
>&5
18595 echo "$as_me:18595: \$? = $ac_status" >&5
18596 if (exit $ac_status) && test -s "$ac_outfile"; then
18597 # The compiler can only warn and ignore the option if not recognized
18598 # So say no if there are warnings other than the usual output.
18599 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
18600 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18601 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
18602 lt_cv_prog_compiler_rtti_exceptions
=yes
18608 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18609 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18611 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
18612 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18619 lt_prog_compiler_wl_GCJ
=
18620 lt_prog_compiler_pic_GCJ
=
18621 lt_prog_compiler_static_GCJ
=
18623 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18624 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18626 if test "$GCC" = yes; then
18627 lt_prog_compiler_wl_GCJ
='-Wl,'
18628 lt_prog_compiler_static_GCJ
='-static'
18632 # All AIX code is PIC.
18633 if test "$host_cpu" = ia64
; then
18634 # AIX 5 now supports IA64 processor
18635 lt_prog_compiler_static_GCJ
='-Bstatic'
18640 # FIXME: we need at least 68020 code to build shared libraries, but
18641 # adding the `-m68020' flag to GCC prevents building anything better,
18643 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
18646 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
18647 # PIC is the default for these OSes.
18650 mingw
* | cygwin
* | pw32
* | os2
*)
18651 # This hack is so that the source file can tell whether it is being
18652 # built for inclusion in a dll (and should export symbols for example).
18653 # Although the cygwin gcc ignores -fPIC, still need this for old-style
18654 # (--disable-auto-import) libraries
18658 darwin
* | rhapsody
*)
18659 # PIC is the default on this platform
18660 # Common symbols not allowed in MH_DYLIB files
18661 lt_prog_compiler_pic_GCJ
='-fno-common'
18665 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18666 # Instead, we relocate shared libraries at runtime.
18670 # Just because we use GCC doesn't mean we suddenly get shared libraries
18671 # on systems that don't support them.
18672 lt_prog_compiler_can_build_shared_GCJ
=no
18677 if test -d /usr
/nec
; then
18678 lt_prog_compiler_pic_GCJ
=-Kconform_pic
18683 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18684 # not for PA HP-UX.
18690 lt_prog_compiler_pic_GCJ
='-fPIC'
18696 lt_prog_compiler_pic_GCJ
='-fPIC'
18700 # PORTME Check for flag to pass linker flags through the system compiler.
18703 lt_prog_compiler_wl_GCJ
='-Wl,'
18704 if test "$host_cpu" = ia64
; then
18705 # AIX 5 now supports IA64 processor
18706 lt_prog_compiler_static_GCJ
='-Bstatic'
18708 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
18712 # PIC is the default on this platform
18713 # Common symbols not allowed in MH_DYLIB files
18714 case $cc_basename in
18716 lt_prog_compiler_pic_GCJ
='-qnocommon'
18717 lt_prog_compiler_wl_GCJ
='-Wl,'
18722 mingw
* | cygwin
* | pw32
* | os2
*)
18723 # This hack is so that the source file can tell whether it is being
18724 # built for inclusion in a dll (and should export symbols for example).
18728 hpux9
* | hpux10
* | hpux11
*)
18729 lt_prog_compiler_wl_GCJ
='-Wl,'
18730 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18731 # not for PA HP-UX.
18737 lt_prog_compiler_pic_GCJ
='+Z'
18740 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18741 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
18744 irix5
* | irix6
* | nonstopux
*)
18745 lt_prog_compiler_wl_GCJ
='-Wl,'
18746 # PIC (with -KPIC) is the default.
18747 lt_prog_compiler_static_GCJ
='-non_shared'
18751 lt_prog_compiler_pic_GCJ
='-KPIC'
18752 lt_prog_compiler_static_GCJ
='-Bstatic'
18755 linux
* | k
*bsd
*-gnu)
18756 case $cc_basename in
18758 lt_prog_compiler_wl_GCJ
='-Wl,'
18759 lt_prog_compiler_pic_GCJ
='-KPIC'
18760 lt_prog_compiler_static_GCJ
='-static'
18762 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
18763 # Portland Group compilers (*not* the Pentium gcc compiler,
18764 # which looks to be a dead project)
18765 lt_prog_compiler_wl_GCJ
='-Wl,'
18766 lt_prog_compiler_pic_GCJ
='-fpic'
18767 lt_prog_compiler_static_GCJ
='-Bstatic'
18770 lt_prog_compiler_wl_GCJ
='-Wl,'
18771 # All Alpha code is PIC.
18772 lt_prog_compiler_static_GCJ
='-non_shared'
18775 case `$CC -V 2>&1 | sed 5q` in
18778 lt_prog_compiler_pic_GCJ
='-KPIC'
18779 lt_prog_compiler_static_GCJ
='-Bstatic'
18780 lt_prog_compiler_wl_GCJ
='-Wl,'
18783 # Sun Fortran 8.3 passes all unrecognized flags to the linker
18784 lt_prog_compiler_pic_GCJ
='-KPIC'
18785 lt_prog_compiler_static_GCJ
='-Bstatic'
18786 lt_prog_compiler_wl_GCJ
=''
18793 osf3
* | osf4
* | osf5
*)
18794 lt_prog_compiler_wl_GCJ
='-Wl,'
18795 # All OSF/1 code is PIC.
18796 lt_prog_compiler_static_GCJ
='-non_shared'
18800 lt_prog_compiler_static_GCJ
='-non_shared'
18804 lt_prog_compiler_pic_GCJ
='-KPIC'
18805 lt_prog_compiler_static_GCJ
='-Bstatic'
18806 case $cc_basename in
18807 f77
* | f90
* | f95
*)
18808 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
18810 lt_prog_compiler_wl_GCJ
='-Wl,';;
18815 lt_prog_compiler_wl_GCJ
='-Qoption ld '
18816 lt_prog_compiler_pic_GCJ
='-PIC'
18817 lt_prog_compiler_static_GCJ
='-Bstatic'
18820 sysv4 | sysv4.2uw2
* | sysv4.3
*)
18821 lt_prog_compiler_wl_GCJ
='-Wl,'
18822 lt_prog_compiler_pic_GCJ
='-KPIC'
18823 lt_prog_compiler_static_GCJ
='-Bstatic'
18827 if test -d /usr
/nec
;then
18828 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
18829 lt_prog_compiler_static_GCJ
='-Bstatic'
18833 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
18834 lt_prog_compiler_wl_GCJ
='-Wl,'
18835 lt_prog_compiler_pic_GCJ
='-KPIC'
18836 lt_prog_compiler_static_GCJ
='-Bstatic'
18840 lt_prog_compiler_wl_GCJ
='-Wl,'
18841 lt_prog_compiler_can_build_shared_GCJ
=no
18845 lt_prog_compiler_pic_GCJ
='-pic'
18846 lt_prog_compiler_static_GCJ
='-Bstatic'
18850 lt_prog_compiler_can_build_shared_GCJ
=no
18855 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18856 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18859 # Check to make sure the PIC flag actually works.
18861 if test -n "$lt_prog_compiler_pic_GCJ"; then
18863 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18864 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18865 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
18866 echo $ECHO_N "(cached) $ECHO_C" >&6
18868 lt_cv_prog_compiler_pic_works_GCJ
=no
18869 ac_outfile
=conftest.
$ac_objext
18870 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18871 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
18872 # Insert the option either (1) after the last *FLAGS variable, or
18873 # (2) before a word containing "conftest.", or (3) at the end.
18874 # Note that $ac_compile itself does not contain backslashes and begins
18875 # with a dollar sign (not a hyphen), so the echo should work correctly.
18876 # The option is referenced via a variable to avoid confusing sed.
18877 lt_compile
=`echo "$ac_compile" | $SED \
18878 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18879 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18880 -e 's:$: $lt_compiler_flag:'`
18881 (eval echo "\"\$as_me:18881: $lt_compile\"" >&5)
18882 (eval "$lt_compile" 2>conftest.err
)
18884 cat conftest.err
>&5
18885 echo "$as_me:18885: \$? = $ac_status" >&5
18886 if (exit $ac_status) && test -s "$ac_outfile"; then
18887 # The compiler can only warn and ignore the option if not recognized
18888 # So say no if there are warnings other than the usual output.
18889 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
18890 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18891 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
18892 lt_cv_prog_compiler_pic_works_GCJ
=yes
18898 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
18899 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18901 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
18902 case $lt_prog_compiler_pic_GCJ in
18904 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
18907 lt_prog_compiler_pic_GCJ
=
18908 lt_prog_compiler_can_build_shared_GCJ
=no
18913 # For platforms which do not support PIC, -DPIC is meaningless:
18915 lt_prog_compiler_pic_GCJ
=
18918 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
18923 # Check to make sure the static flag actually works.
18925 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
18926 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18927 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18928 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
18929 echo $ECHO_N "(cached) $ECHO_C" >&6
18931 lt_cv_prog_compiler_static_works_GCJ
=no
18932 save_LDFLAGS
="$LDFLAGS"
18933 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18934 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
18935 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18936 # The linker can only warn and ignore the option if not recognized
18937 # So say no if there are warnings
18938 if test -s conftest.err
; then
18939 # Append any errors to the config.log.
18940 cat conftest.err
1>&5
18941 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
18942 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18943 if diff conftest.exp conftest.er2
>/dev
/null
; then
18944 lt_cv_prog_compiler_static_works_GCJ
=yes
18947 lt_cv_prog_compiler_static_works_GCJ
=yes
18951 LDFLAGS
="$save_LDFLAGS"
18954 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
18955 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18957 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
18960 lt_prog_compiler_static_GCJ
=
18964 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18965 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18966 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18969 lt_cv_prog_compiler_c_o_GCJ
=no
18970 $rm -r conftest
2>/dev
/null
18974 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18976 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18977 # Insert the option either (1) after the last *FLAGS variable, or
18978 # (2) before a word containing "conftest.", or (3) at the end.
18979 # Note that $ac_compile itself does not contain backslashes and begins
18980 # with a dollar sign (not a hyphen), so the echo should work correctly.
18981 lt_compile
=`echo "$ac_compile" | $SED \
18982 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18983 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18984 -e 's:$: $lt_compiler_flag:'`
18985 (eval echo "\"\$as_me:18985: $lt_compile\"" >&5)
18986 (eval "$lt_compile" 2>out
/conftest.err
)
18988 cat out
/conftest.err
>&5
18989 echo "$as_me:18989: \$? = $ac_status" >&5
18990 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18992 # The compiler can only warn and ignore the option if not recognized
18993 # So say no if there are warnings
18994 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
18995 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18996 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18997 lt_cv_prog_compiler_c_o_GCJ
=yes
19002 # SGI C++ compiler will create directory out/ii_files/ for
19003 # template instantiation
19004 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
19005 $rm out
/* && rmdir out
19011 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19012 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19015 hard_links
="nottested"
19016 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
19017 # do not overwrite the value of need_locks provided by the user
19018 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19019 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19022 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19024 ln conftest.a conftest.b
2>&5 || hard_links
=no
19025 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19026 { echo "$as_me:$LINENO: result: $hard_links" >&5
19027 echo "${ECHO_T}$hard_links" >&6; }
19028 if test "$hard_links" = no
; then
19029 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19030 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19037 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19038 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19041 allow_undefined_flag_GCJ
=
19042 enable_shared_with_static_runtimes_GCJ
=no
19044 archive_expsym_cmds_GCJ
=
19045 old_archive_From_new_cmds_GCJ
=
19046 old_archive_from_expsyms_cmds_GCJ
=
19047 export_dynamic_flag_spec_GCJ
=
19048 whole_archive_flag_spec_GCJ
=
19049 thread_safe_flag_spec_GCJ
=
19050 hardcode_libdir_flag_spec_GCJ
=
19051 hardcode_libdir_flag_spec_ld_GCJ
=
19052 hardcode_libdir_separator_GCJ
=
19053 hardcode_direct_GCJ
=no
19054 hardcode_minus_L_GCJ
=no
19055 hardcode_shlibpath_var_GCJ
=unsupported
19056 link_all_deplibs_GCJ
=unknown
19057 hardcode_automatic_GCJ
=no
19059 module_expsym_cmds_GCJ
=
19060 always_export_symbols_GCJ
=no
19061 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19062 # include_expsyms should be a list of space-separated symbols to be *always*
19063 # included in the symbol list
19064 include_expsyms_GCJ
=
19065 # exclude_expsyms can be an extended regexp of symbols to exclude
19066 # it will be wrapped by ` (' and `)$', so one must not match beginning or
19067 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19068 # as well as any symbol that contains `d'.
19069 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19070 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19071 # platforms (ab)use it in PIC code, but their linkers get confused if
19072 # the symbol is explicitly referenced. Since portable code cannot
19073 # rely on this symbol name, it's probably fine to never include it in
19074 # preloaded symbol tables.
19075 # Exclude shared library initialization/finalization symbols.
19076 extract_expsyms_cmds
=
19077 # Just being paranoid about ensuring that cc_basename is set.
19078 for cc_temp
in $compiler""; do
19080 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19081 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19086 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19089 cygwin
* | mingw
* | pw32
*)
19090 # FIXME: the MSVC++ port hasn't been tested in a loooong time
19091 # When not using gcc, we currently assume that we are using
19092 # Microsoft Visual C++.
19093 if test "$GCC" != yes; then
19098 # we just hope/assume this is gcc and not c89 (= MSVC++)
19107 if test "$with_gnu_ld" = yes; then
19108 # If archive_cmds runs LD, not CC, wlarc should be empty
19111 # Set some defaults for GNU ld with shared library support. These
19112 # are reset later if shared libraries are not supported. Putting them
19113 # here allows them to be overridden if necessary.
19114 runpath_var
=LD_RUN_PATH
19115 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
19116 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
19117 # ancient GNU ld didn't support --whole-archive et. al.
19118 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
19119 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19121 whole_archive_flag_spec_GCJ
=
19123 supports_anon_versioning
=no
19124 case `$LD -v 2>/dev/null` in
19125 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
19126 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
19127 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
19128 *\
2.11.
*) ;; # other 2.11 versions
19129 *) supports_anon_versioning
=yes ;;
19132 # See if GNU ld supports shared libraries.
19135 # On AIX/PPC, the GNU linker is very broken
19136 if test "$host_cpu" != ia64
; then
19140 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
19141 *** to be unable to reliably create shared libraries on AIX.
19142 *** Therefore, libtool is disabling shared libraries support. If you
19143 *** really care for shared libraries, you may want to modify your PATH
19144 *** so that a non-GNU linker is found, and then restart.
19151 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)'
19152 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19153 hardcode_minus_L_GCJ
=yes
19155 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19156 # that the semantics of dynamic libraries on AmigaOS, at least up
19157 # to version 4, is to share data among multiple programs linked
19158 # with the same dynamic library. Since this doesn't match the
19159 # behavior of shared libraries on other platforms, we can't use
19165 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19166 allow_undefined_flag_GCJ
=unsupported
19167 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19168 # support --undefined. This deserves some investigation. FIXME
19169 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19175 cygwin
* | mingw
* | pw32
*)
19176 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19177 # as there is no search path for DLLs.
19178 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19179 allow_undefined_flag_GCJ
=unsupported
19180 always_export_symbols_GCJ
=no
19181 enable_shared_with_static_runtimes_GCJ
=yes
19182 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
19184 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
19185 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19186 # If the export-symbols file already is a .def file (1st line
19187 # is EXPORTS), use it as is; otherwise, prepend...
19188 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19189 cp $export_symbols $output_objdir/$soname.def;
19191 echo EXPORTS > $output_objdir/$soname.def;
19192 cat $export_symbols >> $output_objdir/$soname.def;
19194 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19201 hardcode_direct_GCJ
=no
19202 hardcode_shlibpath_var_GCJ
=no
19203 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19204 export_dynamic_flag_spec_GCJ
='${wl}-E'
19205 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19206 # Instead, shared libraries are loaded at an image base (0x10000000 by
19207 # default) and relocated if they conflict, which is a slow very memory
19208 # consuming and fragmenting process. To avoid this, we pick a random,
19209 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19210 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19211 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'
19212 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'
19215 gnu
* | linux
* | k
*bsd
*-gnu)
19216 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19218 case $cc_basename,$host_cpu in
19219 pgcc
*) # Portland Group C compiler
19220 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'
19221 tmp_addflag
=' $pic_flag'
19223 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
19224 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'
19225 tmp_addflag
=' $pic_flag -Mnomain' ;;
19226 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
19227 tmp_addflag
=' -i_dynamic' ;;
19228 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
19229 tmp_addflag
=' -i_dynamic -nofor_main' ;;
19230 ifc
* | ifort
*) # Intel Fortran compiler
19231 tmp_addflag
=' -nofor_main' ;;
19233 case `$CC -V 2>&1 | sed 5q` in
19234 *Sun\ C
*) # Sun C 5.9
19235 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19236 tmp_sharedflag
='-G' ;;
19237 *Sun\ F
*) # Sun Fortran 8.3
19238 tmp_sharedflag
='-G' ;;
19240 tmp_sharedflag
='-shared' ;;
19242 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19244 if test $supports_anon_versioning = yes; then
19245 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
19246 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19247 $echo "local: *; };" >> $output_objdir/$libname.ver~
19248 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19250 link_all_deplibs_GCJ
=no
19256 netbsd
* | netbsdelf
*-gnu)
19257 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19258 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19261 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19262 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19267 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
19271 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
19272 *** create shared libraries on Solaris systems. Therefore, libtool
19273 *** is disabling shared libraries support. We urge you to upgrade GNU
19274 *** binutils to release 2.9.1 or newer. Another option is to modify
19275 *** your PATH or compiler configuration so that the native linker is
19276 *** used, and then restart.
19279 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19280 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19281 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19287 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
19288 case `$LD -v 2>&1` in
19289 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
19293 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
19294 *** reliably create shared libraries on SCO systems. Therefore, libtool
19295 *** is disabling shared libraries support. We urge you to upgrade GNU
19296 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
19297 *** your PATH or compiler configuration so that the native linker is
19298 *** used, and then restart.
19303 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19304 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
19305 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
19306 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
19315 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19317 hardcode_direct_GCJ
=yes
19318 hardcode_shlibpath_var_GCJ
=no
19322 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19323 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19324 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19331 if test "$ld_shlibs_GCJ" = no
; then
19333 hardcode_libdir_flag_spec_GCJ
=
19334 export_dynamic_flag_spec_GCJ
=
19335 whole_archive_flag_spec_GCJ
=
19338 # PORTME fill in a description of your system's linker (not GNU ld)
19341 allow_undefined_flag_GCJ
=unsupported
19342 always_export_symbols_GCJ
=yes
19343 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'
19344 # Note: this linker hardcodes the directories in LIBPATH if there
19345 # are no directories specified by -L.
19346 hardcode_minus_L_GCJ
=yes
19347 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
19348 # Neither direct hardcoding nor static linking is supported with a
19350 hardcode_direct_GCJ
=unsupported
19355 if test "$host_cpu" = ia64
; then
19356 # On IA64, the linker does run time linking by default, so we don't
19357 # have to do anything special.
19358 aix_use_runtimelinking
=no
19359 exp_sym_flag
='-Bexport'
19362 # If we're using GNU nm, then we don't want the "-C" option.
19363 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19364 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19365 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'
19367 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'
19369 aix_use_runtimelinking
=no
19371 # Test if we are trying to use run time linking or normal
19372 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19373 # need to do runtime linking.
19374 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
19375 for ld_flag
in $LDFLAGS; do
19376 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
19377 aix_use_runtimelinking
=yes
19384 exp_sym_flag
='-bexport'
19385 no_entry_flag
='-bnoentry'
19388 # When large executables or shared objects are built, AIX ld can
19389 # have problems creating the table of contents. If linking a library
19390 # or program results in "error TOC overflow" add -mminimal-toc to
19391 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19392 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19394 archive_cmds_GCJ
=''
19395 hardcode_direct_GCJ
=yes
19396 hardcode_libdir_separator_GCJ
=':'
19397 link_all_deplibs_GCJ
=yes
19399 if test "$GCC" = yes; then
19400 case $host_os in aix4.
[012]|aix4.
[012].
*)
19401 # We only want to do this on AIX 4.2 and lower, the check
19402 # below for broken collect2 doesn't work under 4.3+
19403 collect2name
=`${CC} -print-prog-name=collect2`
19404 if test -f "$collect2name" && \
19405 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
19407 # We have reworked collect2
19410 # We have old collect2
19411 hardcode_direct_GCJ
=unsupported
19412 # It fails to find uninstalled libraries when the uninstalled
19413 # path is not listed in the libpath. Setting hardcode_minus_L
19414 # to unsupported forces relinking
19415 hardcode_minus_L_GCJ
=yes
19416 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19417 hardcode_libdir_separator_GCJ
=
19421 shared_flag
='-shared'
19422 if test "$aix_use_runtimelinking" = yes; then
19423 shared_flag
="$shared_flag "'${wl}-G'
19427 if test "$host_cpu" = ia64
; then
19428 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19429 # chokes on -Wl,-G. The following line is correct:
19432 if test "$aix_use_runtimelinking" = yes; then
19433 shared_flag
='${wl}-G'
19435 shared_flag
='${wl}-bM:SRE'
19440 # It seems that -bexpall does not export symbols beginning with
19441 # underscore (_), so it is better to generate a list of symbols to export.
19442 always_export_symbols_GCJ
=yes
19443 if test "$aix_use_runtimelinking" = yes; then
19444 # Warning - without using the other runtime loading flags (-brtl),
19445 # -berok will link without error, but may produce a broken library.
19446 allow_undefined_flag_GCJ
='-berok'
19447 # Determine the default libpath from the value encoded in an empty executable.
19448 cat >conftest.
$ac_ext <<_ACEOF
19451 cat confdefs.h
>>conftest.
$ac_ext
19452 cat >>conftest.
$ac_ext <<_ACEOF
19453 /* end confdefs.h. */
19463 rm -f conftest.
$ac_objext conftest
$ac_exeext
19464 if { (ac_try
="$ac_link"
19465 case "(($ac_try" in
19466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19467 *) ac_try_echo=$ac_try;;
19469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19470 (eval "$ac_link") 2>conftest.er1
19472 grep -v '^ *+' conftest.er1 >conftest.err
19474 cat conftest.err >&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } && {
19477 test -z "$ac_c_werror_flag" ||
19478 test ! -s conftest.err
19479 } && test -s conftest$ac_exeext &&
19480 $as_test_x conftest$ac_exeext; then
19482 lt_aix_libpath_sed='
19483 /Import File Strings/,/^$/ {
19489 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
19490 # Check for a 64-bit object if we didn't find anything.
19491 if test -z "$aix_libpath"; then
19492 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
19495 echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.$ac_ext >&5
19501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19502 conftest$ac_exeext conftest.$ac_ext
19503 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19505 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19506 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"
19508 if test "$host_cpu" = ia64; then
19509 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19510 allow_undefined_flag_GCJ="-z nodefs"
19511 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"
19513 # Determine the default libpath from the value encoded in an empty executable.
19514 cat >conftest.$ac_ext <<_ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19529 rm -f conftest.$ac_objext conftest$ac_exeext
19530 if { (ac_try="$ac_link"
19531 case "(($ac_try" in
19532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19533 *) ac_try_echo
=$ac_try;;
19535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19536 (eval "$ac_link") 2>conftest.er1
19538 grep -v '^ *+' conftest.er1
>conftest.err
19540 cat conftest.err
>&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); } && {
19543 test -z "$ac_c_werror_flag" ||
19544 test ! -s conftest.err
19545 } && test -s conftest
$ac_exeext &&
19546 $as_test_x conftest
$ac_exeext; then
19548 lt_aix_libpath_sed
='
19549 /Import File Strings/,/^$/ {
19555 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19556 # Check for a 64-bit object if we didn't find anything.
19557 if test -z "$aix_libpath"; then
19558 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19561 echo "$as_me: failed program was:" >&5
19562 sed 's/^/| /' conftest.
$ac_ext >&5
19567 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19568 conftest
$ac_exeext conftest.
$ac_ext
19569 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
19571 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
19572 # Warning - without using the other run time loading flags,
19573 # -berok will link without error, but may produce a broken library.
19574 no_undefined_flag_GCJ
=' ${wl}-bernotok'
19575 allow_undefined_flag_GCJ
=' ${wl}-berok'
19576 # Exported symbols can be pulled into shared objects from archives
19577 whole_archive_flag_spec_GCJ
='$convenience'
19578 archive_cmds_need_lc_GCJ
=yes
19579 # This is similar to how AIX traditionally builds its shared libraries.
19580 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'
19586 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)'
19587 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19588 hardcode_minus_L_GCJ
=yes
19589 # see comment about different semantics on the GNU ld section
19594 export_dynamic_flag_spec_GCJ
=-rdynamic
19597 cygwin
* | mingw
* | pw32
*)
19598 # When not using gcc, we currently assume that we are using
19599 # Microsoft Visual C++.
19600 # hardcode_libdir_flag_spec is actually meaningless, as there is
19601 # no search path for DLLs.
19602 hardcode_libdir_flag_spec_GCJ
=' '
19603 allow_undefined_flag_GCJ
=unsupported
19604 # Tell ltmain to make .lib files, not .a files.
19606 # Tell ltmain to make .dll files, not .so files.
19608 # FIXME: Setting linknames here is a bad hack.
19609 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19610 # The linker will automatically build a .lib file if we build a DLL.
19611 old_archive_From_new_cmds_GCJ
='true'
19612 # FIXME: Should let the user specify the lib program.
19613 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
19614 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
19615 enable_shared_with_static_runtimes_GCJ
=yes
19618 darwin
* | rhapsody
*)
19620 rhapsody
* | darwin1.
[012])
19621 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
19624 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19625 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19627 case ${MACOSX_DEPLOYMENT_TARGET} in
19629 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19632 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
19638 archive_cmds_need_lc_GCJ
=no
19639 hardcode_direct_GCJ
=no
19640 hardcode_automatic_GCJ
=yes
19641 hardcode_shlibpath_var_GCJ
=unsupported
19642 whole_archive_flag_spec_GCJ
=''
19643 link_all_deplibs_GCJ
=yes
19644 if test "$GCC" = yes ; then
19645 output_verbose_link_cmd
='echo'
19646 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
19647 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19648 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
19649 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
19651 case $cc_basename in
19653 output_verbose_link_cmd
='echo'
19654 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19655 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19656 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19657 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19658 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}'
19668 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19669 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19670 hardcode_shlibpath_var_GCJ
=no
19677 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19678 # support. Future versions do this automatically, but an explicit c++rt0.o
19679 # does not break anything, and helps significantly (at the cost of a little
19682 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19683 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19684 hardcode_direct_GCJ
=yes
19685 hardcode_shlibpath_var_GCJ
=no
19688 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19690 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19691 hardcode_direct_GCJ
=yes
19692 hardcode_minus_L_GCJ
=yes
19693 hardcode_shlibpath_var_GCJ
=no
19696 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19697 freebsd
* | dragonfly
*)
19698 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19699 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19700 hardcode_direct_GCJ
=yes
19701 hardcode_shlibpath_var_GCJ
=no
19705 if test "$GCC" = yes; then
19706 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'
19708 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'
19710 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19711 hardcode_libdir_separator_GCJ
=:
19712 hardcode_direct_GCJ
=yes
19714 # hardcode_minus_L: Not really in the search PATH,
19715 # but as the default location of the library.
19716 hardcode_minus_L_GCJ
=yes
19717 export_dynamic_flag_spec_GCJ
='${wl}-E'
19721 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19722 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19724 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19726 if test "$with_gnu_ld" = no
; then
19727 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19728 hardcode_libdir_separator_GCJ
=:
19730 hardcode_direct_GCJ
=yes
19731 export_dynamic_flag_spec_GCJ
='${wl}-E'
19733 # hardcode_minus_L: Not really in the search PATH,
19734 # but as the default location of the library.
19735 hardcode_minus_L_GCJ
=yes
19740 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19743 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19746 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19749 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19755 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19758 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19761 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19765 if test "$with_gnu_ld" = no
; then
19766 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19767 hardcode_libdir_separator_GCJ
=:
19771 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
19772 hardcode_direct_GCJ
=no
19773 hardcode_shlibpath_var_GCJ
=no
19776 hardcode_direct_GCJ
=yes
19777 export_dynamic_flag_spec_GCJ
='${wl}-E'
19779 # hardcode_minus_L: Not really in the search PATH,
19780 # but as the default location of the library.
19781 hardcode_minus_L_GCJ
=yes
19787 irix5
* | irix6
* | nonstopux
*)
19788 if test "$GCC" = yes; then
19789 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'
19791 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'
19792 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
19794 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19795 hardcode_libdir_separator_GCJ
=:
19796 link_all_deplibs_GCJ
=yes
19799 netbsd
* | netbsdelf
*-gnu)
19800 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19801 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19803 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19805 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19806 hardcode_direct_GCJ
=yes
19807 hardcode_shlibpath_var_GCJ
=no
19811 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19812 hardcode_direct_GCJ
=yes
19813 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19814 hardcode_libdir_separator_GCJ
=:
19815 hardcode_shlibpath_var_GCJ
=no
19819 if test -f /usr
/libexec
/ld.so
; then
19820 hardcode_direct_GCJ
=yes
19821 hardcode_shlibpath_var_GCJ
=no
19822 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19823 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19824 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19825 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19826 export_dynamic_flag_spec_GCJ
='${wl}-E'
19829 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
19830 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19831 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19834 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19835 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19845 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19846 hardcode_minus_L_GCJ
=yes
19847 allow_undefined_flag_GCJ
=unsupported
19848 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'
19849 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19853 if test "$GCC" = yes; then
19854 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19855 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'
19857 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19858 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'
19860 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19861 hardcode_libdir_separator_GCJ
=:
19864 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
19865 if test "$GCC" = yes; then
19866 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19867 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'
19868 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19870 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19871 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'
19872 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~
19873 $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'
19875 # Both c and cxx compiler support -rpath directly
19876 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
19878 hardcode_libdir_separator_GCJ
=:
19882 no_undefined_flag_GCJ
=' -z text'
19883 if test "$GCC" = yes; then
19885 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19886 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19887 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19890 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19891 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19892 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19894 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19895 hardcode_shlibpath_var_GCJ
=no
19897 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19899 # The compiler driver will combine and reorder linker options,
19900 # but understands `-z linker_flag'. GCC discards it without `$wl',
19901 # but is careful enough not to reorder.
19902 # Supported since Solaris 2.6 (maybe 2.5.1?)
19903 if test "$GCC" = yes; then
19904 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19906 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
19910 link_all_deplibs_GCJ
=yes
19914 if test "x$host_vendor" = xsequent
; then
19915 # Use $CC to link under sequent, because it throws in some extra .o
19916 # files that make .init and .fini sections work.
19917 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19919 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19921 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19922 hardcode_direct_GCJ
=yes
19923 hardcode_minus_L_GCJ
=yes
19924 hardcode_shlibpath_var_GCJ
=no
19928 case $host_vendor in
19930 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19931 hardcode_direct_GCJ
=yes # is this really true???
19934 ## LD is ld it makes a PLAMLIB
19935 ## CC just makes a GrossModule.
19936 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19937 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
19938 hardcode_direct_GCJ
=no
19941 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19942 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
19945 runpath_var
='LD_RUN_PATH'
19946 hardcode_shlibpath_var_GCJ
=no
19950 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19951 hardcode_shlibpath_var_GCJ
=no
19952 export_dynamic_flag_spec_GCJ
='-Bexport'
19956 if test -d /usr
/nec
; then
19957 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19958 hardcode_shlibpath_var_GCJ
=no
19959 runpath_var
=LD_RUN_PATH
19960 hardcode_runpath_var
=yes
19965 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19966 no_undefined_flag_GCJ
='${wl}-z,text'
19967 archive_cmds_need_lc_GCJ
=no
19968 hardcode_shlibpath_var_GCJ
=no
19969 runpath_var
='LD_RUN_PATH'
19971 if test "$GCC" = yes; then
19972 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19973 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19975 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19976 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19980 sysv5
* | sco3.2v5
* | sco5v6
*)
19981 # Note: We can NOT use -z defs as we might desire, because we do not
19982 # link with -lc, and that would cause any symbols used from libc to
19983 # always be unresolved, which means just about no library would
19984 # ever link correctly. If we're not using GNU ld we use -z text
19985 # though, which does catch some bad symbols but isn't as heavy-handed
19987 no_undefined_flag_GCJ
='${wl}-z,text'
19988 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
19989 archive_cmds_need_lc_GCJ
=no
19990 hardcode_shlibpath_var_GCJ
=no
19991 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19992 hardcode_libdir_separator_GCJ
=':'
19993 link_all_deplibs_GCJ
=yes
19994 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
19995 runpath_var
='LD_RUN_PATH'
19997 if test "$GCC" = yes; then
19998 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19999 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20001 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20002 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20007 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20008 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
20009 hardcode_shlibpath_var_GCJ
=no
20018 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20019 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20020 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
20023 # Do we need to explicitly link libc?
20025 case "x$archive_cmds_need_lc_GCJ" in
20027 # Assume -lc should be added
20028 archive_cmds_need_lc_GCJ
=yes
20030 if test "$enable_shared" = yes && test "$GCC" = yes; then
20031 case $archive_cmds_GCJ in
20033 # FIXME: we may have to deal with multi-command sequences.
20036 # Test whether the compiler implicitly links with -lc since on some
20037 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20038 # to ld, don't add -lc before -lgcc.
20039 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20040 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20042 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
20044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20045 (eval $ac_compile) 2>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } 2>conftest.err
; then
20051 libobjs
=conftest.
$ac_objext
20053 wl
=$lt_prog_compiler_wl_GCJ
20054 pic_flag
=$lt_prog_compiler_pic_GCJ
20060 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
20061 allow_undefined_flag_GCJ
=
20062 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20063 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); }
20068 archive_cmds_need_lc_GCJ
=no
20070 archive_cmds_need_lc_GCJ
=yes
20072 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
20074 cat conftest.err
1>&5
20077 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20078 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20085 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20086 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20087 library_names_spec
=
20088 libname_spec
='lib$name'
20092 postuninstall_cmds
=
20096 shlibpath_overrides_runpath
=unknown
20098 dynamic_linker
="$host_os ld.so"
20099 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
20101 need_lib_prefix
=unknown
20102 hardcode_into_libs
=no
20104 # when you set need_version to no, make sure it does not cause -set_version
20105 # flags to be left without arguments
20106 need_version
=unknown
20111 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
20112 shlibpath_var
=LIBPATH
20114 # AIX 3 has no versioning support, so we append a major version to the name.
20115 soname_spec
='${libname}${release}${shared_ext}$major'
20122 hardcode_into_libs
=yes
20123 if test "$host_cpu" = ia64
; then
20124 # AIX 5 supports IA64
20125 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20126 shlibpath_var
=LD_LIBRARY_PATH
20128 # With GCC up to 2.95.x, collect2 would create an import file
20129 # for dependence libraries. The import file would start with
20130 # the line `#! .'. This would cause the generated library to
20131 # depend on `.', always an invalid library. This was fixed in
20132 # development snapshots of GCC prior to 3.0.
20134 aix4 | aix4.
[01] | aix4.
[01].
*)
20135 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20137 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
20140 can_build_shared
=no
20144 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20145 # soname into executable. Probably we can add versioning support to
20146 # collect2, so additional links can be useful in future.
20147 if test "$aix_use_runtimelinking" = yes; then
20148 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20149 # instead of lib<name>.a to let people know that these are not
20150 # typical AIX shared libraries.
20151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20153 # We preserve .a as extension for shared libraries through AIX4.2
20154 # and later when we are not doing run time linking.
20155 library_names_spec
='${libname}${release}.a $libname.a'
20156 soname_spec
='${libname}${release}${shared_ext}$major'
20158 shlibpath_var
=LIBPATH
20163 library_names_spec
='$libname.ixlibrary $libname.a'
20164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20165 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'
20169 library_names_spec
='${libname}${shared_ext}'
20170 dynamic_linker
="$host_os ld.so"
20171 shlibpath_var
=LIBRARY_PATH
20177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20178 soname_spec
='${libname}${release}${shared_ext}$major'
20179 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
20180 shlibpath_var
=LD_LIBRARY_PATH
20181 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20182 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
20183 # the default ld.so.conf also contains /usr/contrib/lib and
20184 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20185 # libtool to hard-code these into programs
20188 cygwin
* | mingw
* | pw32
*)
20189 version_type
=windows
20194 case $GCC,$host_os in
20195 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
20196 library_names_spec
='$libname.dll.a'
20197 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20198 postinstall_cmds
='base_file=`basename \${file}`~
20199 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20200 dldir=$destdir/`dirname \$dlpath`~
20201 test -d \$dldir || mkdir -p \$dldir~
20202 $install_prog $dir/$dlname \$dldir/$dlname~
20203 chmod a+x \$dldir/$dlname'
20204 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20205 dlpath=$dir/\$dldll~
20207 shlibpath_overrides_runpath
=yes
20211 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20212 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20213 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20216 # MinGW DLLs use traditional 'lib' prefix
20217 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20218 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20219 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
20220 # It is most probably a Windows format PATH printed by
20221 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20222 # path with ; separators, and with drive letters. We can handle the
20223 # drive letters (cygwin fileutils understands them), so leave them,
20224 # especially as we might pass files found there to a mingw objdump,
20225 # which wouldn't understand a cygwinified path. Ahh.
20226 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20228 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20232 # pw32 DLLs use 'pw' prefix rather than 'lib'
20233 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20239 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20242 dynamic_linker
='Win32 ld.exe'
20243 # FIXME: first we should search . and the directory the executable is in
20247 darwin
* | rhapsody
*)
20248 dynamic_linker
="$host_os dyld"
20249 version_type
=darwin
20252 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20253 soname_spec
='${libname}${release}${major}$shared_ext'
20254 shlibpath_overrides_runpath
=yes
20255 shlibpath_var
=DYLD_LIBRARY_PATH
20256 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
20258 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20266 soname_spec
='${libname}${release}${shared_ext}$major'
20267 shlibpath_var
=LD_LIBRARY_PATH
20274 freebsd
* | dragonfly
*)
20275 # DragonFly does not have aout. When/if they implement a new
20276 # versioning mechanism, adjust this.
20277 if test -x /usr
/bin
/objformat
; then
20278 objformat
=`/usr/bin/objformat`
20281 freebsd
[123]*) objformat
=aout
;;
20282 *) objformat
=elf
;;
20285 version_type
=freebsd-
$objformat
20286 case $version_type in
20288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20293 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20297 shlibpath_var
=LD_LIBRARY_PATH
20300 shlibpath_overrides_runpath
=yes
20302 freebsd3.
[01]* | freebsdelf3.
[01]*)
20303 shlibpath_overrides_runpath
=yes
20304 hardcode_into_libs
=yes
20306 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20307 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20308 shlibpath_overrides_runpath
=no
20309 hardcode_into_libs
=yes
20311 *) # from 4.6 on, and DragonFly
20312 shlibpath_overrides_runpath
=yes
20313 hardcode_into_libs
=yes
20322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20323 soname_spec
='${libname}${release}${shared_ext}$major'
20324 shlibpath_var
=LD_LIBRARY_PATH
20325 hardcode_into_libs
=yes
20328 hpux9
* | hpux10
* | hpux11
*)
20329 # Give a soname corresponding to the major version so that dld.sl refuses to
20330 # link against other versions.
20337 hardcode_into_libs
=yes
20338 dynamic_linker
="$host_os dld.so"
20339 shlibpath_var
=LD_LIBRARY_PATH
20340 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20342 soname_spec
='${libname}${release}${shared_ext}$major'
20343 if test "X$HPUX_IA64_MODE" = X32
; then
20344 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20346 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20348 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20352 hardcode_into_libs
=yes
20353 dynamic_linker
="$host_os dld.sl"
20354 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20355 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20357 soname_spec
='${libname}${release}${shared_ext}$major'
20358 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20359 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20363 dynamic_linker
="$host_os dld.sl"
20364 shlibpath_var
=SHLIB_PATH
20365 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20367 soname_spec
='${libname}${release}${shared_ext}$major'
20370 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20371 postinstall_cmds
='chmod 555 $lib'
20378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20379 soname_spec
='${libname}${release}${shared_ext}$major'
20380 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20381 shlibpath_var
=LD_LIBRARY_PATH
20382 shlibpath_overrides_runpath
=no
20383 hardcode_into_libs
=yes
20386 irix5
* | irix6
* | nonstopux
*)
20388 nonstopux
*) version_type
=nonstopux
;;
20390 if test "$lt_cv_prog_gnu_ld" = yes; then
20398 soname_spec
='${libname}${release}${shared_ext}$major'
20399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20401 irix5
* | nonstopux
*)
20402 libsuff
= shlibsuff
=
20405 case $LD in # libtool.m4 will add one of these switches to LD
20406 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20407 libsuff
= shlibsuff
= libmagic
=32-bit;;
20408 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20409 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20410 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20411 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20412 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20416 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20417 shlibpath_overrides_runpath
=no
20418 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20419 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20420 hardcode_into_libs
=yes
20423 # No shared lib support for Linux oldld, aout, or coff.
20424 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20428 # This must be Linux ELF.
20429 linux
* | k
*bsd
*-gnu)
20433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20434 soname_spec
='${libname}${release}${shared_ext}$major'
20435 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20436 shlibpath_var
=LD_LIBRARY_PATH
20437 shlibpath_overrides_runpath
=no
20438 # This implies no fast_install, which is unacceptable.
20439 # Some rework will be needed to allow for fast_install
20440 # before this can be enabled.
20441 hardcode_into_libs
=yes
20443 # Append ld.so.conf contents to the search path
20444 if test -f /etc
/ld.so.conf
; then
20445 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
20446 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20449 # We used to test for /lib/ld.so.1 and disable shared libraries on
20450 # powerpc, because MkLinux only supported shared libraries with the
20451 # GNU dynamic linker. Since this was broken with cross compilers,
20452 # most powerpc-linux boxes support dynamic linking these days and
20453 # people can always --disable-shared, the test was removed, and we
20454 # assume the GNU/Linux dynamic linker is in use.
20455 dynamic_linker
='GNU/Linux ld.so'
20462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20463 soname_spec
='${libname}${release}${shared_ext}$major'
20464 shlibpath_var
=LD_LIBRARY_PATH
20465 shlibpath_overrides_runpath
=no
20466 hardcode_into_libs
=yes
20467 dynamic_linker
='NetBSD ld.elf_so'
20474 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20476 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20477 dynamic_linker
='NetBSD (a.out) ld.so'
20479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20480 soname_spec
='${libname}${release}${shared_ext}$major'
20481 dynamic_linker
='NetBSD ld.elf_so'
20483 shlibpath_var
=LD_LIBRARY_PATH
20484 shlibpath_overrides_runpath
=yes
20485 hardcode_into_libs
=yes
20490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20491 shlibpath_var
=LD_LIBRARY_PATH
20492 shlibpath_overrides_runpath
=yes
20499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20500 soname_spec
='${libname}${release}${shared_ext}$major'
20501 shlibpath_var
=LD_LIBRARY_PATH
20502 shlibpath_overrides_runpath
=yes
20507 sys_lib_dlsearch_path_spec
="/usr/lib"
20509 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20511 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20512 *) need_version
=no
;;
20514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20515 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20516 shlibpath_var
=LD_LIBRARY_PATH
20517 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20519 openbsd2.
[89] | openbsd2.
[89].
*)
20520 shlibpath_overrides_runpath
=no
20523 shlibpath_overrides_runpath
=yes
20527 shlibpath_overrides_runpath
=yes
20532 libname_spec
='$name'
20535 library_names_spec
='$libname${shared_ext} $libname.a'
20536 dynamic_linker
='OS/2 ld.exe'
20537 shlibpath_var
=LIBPATH
20540 osf3
* | osf4
* | osf5
*)
20544 soname_spec
='${libname}${release}${shared_ext}$major'
20545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20546 shlibpath_var
=LD_LIBRARY_PATH
20547 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20548 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20560 soname_spec
='${libname}${release}${shared_ext}$major'
20561 shlibpath_var
=LD_LIBRARY_PATH
20562 shlibpath_overrides_runpath
=yes
20563 hardcode_into_libs
=yes
20564 # ldd complains unless libraries are executable
20565 postinstall_cmds
='chmod +x $lib'
20570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20571 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20572 shlibpath_var
=LD_LIBRARY_PATH
20573 shlibpath_overrides_runpath
=yes
20574 if test "$with_gnu_ld" = yes; then
20582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20583 soname_spec
='${libname}${release}${shared_ext}$major'
20584 shlibpath_var
=LD_LIBRARY_PATH
20585 case $host_vendor in
20587 shlibpath_overrides_runpath
=no
20589 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20590 runpath_var
=LD_RUN_PATH
20598 shlibpath_overrides_runpath
=no
20599 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20605 if test -d /usr
/nec
;then
20607 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20608 soname_spec
='$libname${shared_ext}.$major'
20609 shlibpath_var
=LD_LIBRARY_PATH
20613 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20614 version_type
=freebsd-elf
20617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20618 soname_spec
='${libname}${release}${shared_ext}$major'
20619 shlibpath_var
=LD_LIBRARY_PATH
20620 hardcode_into_libs
=yes
20621 if test "$with_gnu_ld" = yes; then
20622 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20623 shlibpath_overrides_runpath
=no
20625 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20626 shlibpath_overrides_runpath
=yes
20629 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20633 sys_lib_dlsearch_path_spec
='/usr/lib'
20638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20639 soname_spec
='${libname}${release}${shared_ext}$major'
20640 shlibpath_var
=LD_LIBRARY_PATH
20647 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20648 echo "${ECHO_T}$dynamic_linker" >&6; }
20649 test "$dynamic_linker" = no
&& can_build_shared
=no
20651 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20652 echo $ECHO_N "(cached) $ECHO_C" >&6
20654 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
20657 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
20658 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20659 echo $ECHO_N "(cached) $ECHO_C" >&6
20661 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
20664 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
20666 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20667 if test "$GCC" = yes; then
20668 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20671 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20672 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20673 hardcode_action_GCJ
=
20674 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20675 test -n "$runpath_var_GCJ" || \
20676 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
20678 # We can hardcode non-existant directories.
20679 if test "$hardcode_direct_GCJ" != no
&&
20680 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20681 # have to relink, otherwise we might link with an installed library
20682 # when we should be linking with a yet-to-be-installed one
20683 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20684 test "$hardcode_minus_L_GCJ" != no
; then
20685 # Linking always hardcodes the temporary library directory.
20686 hardcode_action_GCJ
=relink
20688 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20689 hardcode_action_GCJ
=immediate
20692 # We cannot hardcode anything, or else we can only hardcode existing
20694 hardcode_action_GCJ
=unsupported
20696 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20697 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20699 if test "$hardcode_action_GCJ" = relink
; then
20700 # Fast installation is not supported
20701 enable_fast_install
=no
20702 elif test "$shlibpath_overrides_runpath" = yes ||
20703 test "$enable_shared" = no
; then
20704 # Fast installation is not necessary
20705 enable_fast_install
=needless
20709 # The else clause should only fire when bootstrapping the
20710 # libtool distribution, otherwise you forgot to ship ltmain.sh
20711 # with your package, and you will get complaints that there are
20712 # no rules to generate ltmain.sh.
20713 if test -f "$ltmain"; then
20714 # See if we are running on zsh, and set the options which allow our commands through
20715 # without removal of \ escapes.
20716 if test -n "${ZSH_VERSION+set}" ; then
20717 setopt NO_GLOB_SUBST
20719 # Now quote all the things that may contain metacharacters while being
20720 # careful not to overquote the AC_SUBSTed values. We take copies of the
20721 # variables and quote the copies for generation of the libtool script.
20722 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20724 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20725 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20726 deplibs_check_method reload_flag reload_cmds need_locks \
20727 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20728 lt_cv_sys_global_symbol_to_c_name_address \
20729 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20730 old_postinstall_cmds old_postuninstall_cmds \
20734 lt_prog_compiler_wl_GCJ \
20735 lt_prog_compiler_pic_GCJ \
20736 lt_prog_compiler_static_GCJ \
20737 lt_prog_compiler_no_builtin_flag_GCJ \
20738 export_dynamic_flag_spec_GCJ \
20739 thread_safe_flag_spec_GCJ \
20740 whole_archive_flag_spec_GCJ \
20741 enable_shared_with_static_runtimes_GCJ \
20742 old_archive_cmds_GCJ \
20743 old_archive_from_new_cmds_GCJ \
20744 predep_objects_GCJ \
20745 postdep_objects_GCJ \
20748 compiler_lib_search_path_GCJ \
20749 compiler_lib_search_dirs_GCJ \
20751 archive_expsym_cmds_GCJ \
20752 postinstall_cmds_GCJ \
20753 postuninstall_cmds_GCJ \
20754 old_archive_from_expsyms_cmds_GCJ \
20755 allow_undefined_flag_GCJ \
20756 no_undefined_flag_GCJ \
20757 export_symbols_cmds_GCJ \
20758 hardcode_libdir_flag_spec_GCJ \
20759 hardcode_libdir_flag_spec_ld_GCJ \
20760 hardcode_libdir_separator_GCJ \
20761 hardcode_automatic_GCJ \
20763 module_expsym_cmds_GCJ \
20764 lt_cv_prog_compiler_c_o_GCJ \
20765 fix_srcfile_path_GCJ \
20766 exclude_expsyms_GCJ \
20767 include_expsyms_GCJ
; do
20770 old_archive_cmds_GCJ | \
20771 old_archive_from_new_cmds_GCJ | \
20772 archive_cmds_GCJ | \
20773 archive_expsym_cmds_GCJ | \
20774 module_cmds_GCJ | \
20775 module_expsym_cmds_GCJ | \
20776 old_archive_from_expsyms_cmds_GCJ | \
20777 export_symbols_cmds_GCJ | \
20778 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20779 postinstall_cmds | postuninstall_cmds | \
20780 old_postinstall_cmds | old_postuninstall_cmds | \
20781 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20782 # Double-quote double-evaled strings.
20783 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20786 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20792 *'\$0 --fallback-echo"')
20793 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20799 cat <<__EOF__ >> "$cfgfile"
20800 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20802 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20804 # Shell to use when invoking shell scripts.
20807 # Whether or not to build shared libraries.
20808 build_libtool_libs=$enable_shared
20810 # Whether or not to build static libraries.
20811 build_old_libs=$enable_static
20813 # Whether or not to add -lc for building shared libraries.
20814 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20816 # Whether or not to disallow shared libs when runtime libs are static
20817 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20819 # Whether or not to optimize for fast installation.
20820 fast_install=$enable_fast_install
20823 host_alias=$host_alias
20827 # The build system.
20828 build_alias=$build_alias
20832 # An echo program that does not interpret backslashes.
20837 AR_FLAGS=$lt_AR_FLAGS
20842 # LTCC compiler flags.
20843 LTCFLAGS=$lt_LTCFLAGS
20845 # A language-specific compiler.
20846 CC=$lt_compiler_GCJ
20848 # Is the compiler the GNU C compiler?
20854 # The linker used to build libraries.
20857 # Whether we need hard or soft links.
20860 # A BSD-compatible nm program.
20863 # A symbol stripping program
20866 # Used to examine libraries when file_magic_cmd begins "file"
20867 MAGIC_CMD=$MAGIC_CMD
20869 # Used on cygwin: DLL creation program.
20872 # Used on cygwin: object dumper.
20875 # Used on cygwin: assembler.
20878 # The name of the directory that contains temporary libtool files.
20881 # How to create reloadable object files.
20882 reload_flag=$lt_reload_flag
20883 reload_cmds=$lt_reload_cmds
20885 # How to pass a linker flag through the compiler.
20886 wl=$lt_lt_prog_compiler_wl_GCJ
20888 # Object file suffix (normally "o").
20889 objext="$ac_objext"
20891 # Old archive suffix (normally "a").
20894 # Shared library suffix (normally ".so").
20895 shrext_cmds='$shrext_cmds'
20897 # Executable file suffix (normally "").
20900 # Additional compiler flags for building library objects.
20901 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20904 # What is the maximum length of a command?
20905 max_cmd_len=$lt_cv_sys_max_cmd_len
20907 # Does compiler simultaneously support -c and -o options?
20908 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20910 # Must we lock files when doing compilation?
20911 need_locks=$lt_need_locks
20913 # Do we need the lib prefix for modules?
20914 need_lib_prefix=$need_lib_prefix
20916 # Do we need a version for libraries?
20917 need_version=$need_version
20919 # Whether dlopen is supported.
20920 dlopen_support=$enable_dlopen
20922 # Whether dlopen of programs is supported.
20923 dlopen_self=$enable_dlopen_self
20925 # Whether dlopen of statically linked programs is supported.
20926 dlopen_self_static=$enable_dlopen_self_static
20928 # Compiler flag to prevent dynamic linking.
20929 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20931 # Compiler flag to turn off builtin functions.
20932 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20934 # Compiler flag to allow reflexive dlopens.
20935 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20937 # Compiler flag to generate shared objects directly from archives.
20938 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20940 # Compiler flag to generate thread-safe objects.
20941 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20943 # Library versioning type.
20944 version_type=$version_type
20946 # Format of library name prefix.
20947 libname_spec=$lt_libname_spec
20949 # List of archive names. First name is the real one, the rest are links.
20950 # The last name is the one that the linker finds with -lNAME.
20951 library_names_spec=$lt_library_names_spec
20953 # The coded name of the library, if different from the real name.
20954 soname_spec=$lt_soname_spec
20956 # Commands used to build and install an old-style archive.
20958 old_archive_cmds=$lt_old_archive_cmds_GCJ
20959 old_postinstall_cmds=$lt_old_postinstall_cmds
20960 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20962 # Create an old-style archive from a shared archive.
20963 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20965 # Create a temporary old-style archive to link instead of a shared archive.
20966 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20968 # Commands used to build and install a shared archive.
20969 archive_cmds=$lt_archive_cmds_GCJ
20970 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20971 postinstall_cmds=$lt_postinstall_cmds
20972 postuninstall_cmds=$lt_postuninstall_cmds
20974 # Commands used to build a loadable module (assumed same as above if empty)
20975 module_cmds=$lt_module_cmds_GCJ
20976 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20978 # Commands to strip libraries.
20979 old_striplib=$lt_old_striplib
20980 striplib=$lt_striplib
20982 # Dependencies to place before the objects being linked to create a
20984 predep_objects=$lt_predep_objects_GCJ
20986 # Dependencies to place after the objects being linked to create a
20988 postdep_objects=$lt_postdep_objects_GCJ
20990 # Dependencies to place before the objects being linked to create a
20992 predeps=$lt_predeps_GCJ
20994 # Dependencies to place after the objects being linked to create a
20996 postdeps=$lt_postdeps_GCJ
20998 # The directories searched by this compiler when creating a shared
21000 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
21002 # The library search path used internally by the compiler when linking
21003 # a shared library.
21004 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21006 # Method to check whether dependent libraries are shared objects.
21007 deplibs_check_method=$lt_deplibs_check_method
21009 # Command to use when deplibs_check_method == file_magic.
21010 file_magic_cmd=$lt_file_magic_cmd
21012 # Flag that allows shared libraries with undefined symbols to be built.
21013 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21015 # Flag that forces no undefined symbols.
21016 no_undefined_flag=$lt_no_undefined_flag_GCJ
21018 # Commands used to finish a libtool library installation in a directory.
21019 finish_cmds=$lt_finish_cmds
21021 # Same as above, but a single script fragment to be evaled but not shown.
21022 finish_eval=$lt_finish_eval
21024 # Take the output of nm and produce a listing of raw symbols and C names.
21025 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21027 # Transform the output of nm in a proper C declaration
21028 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21030 # Transform the output of nm in a C name address pair
21031 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21033 # This is the shared library runtime path variable.
21034 runpath_var=$runpath_var
21036 # This is the shared library path variable.
21037 shlibpath_var=$shlibpath_var
21039 # Is shlibpath searched before the hard-coded library search path?
21040 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21042 # How to hardcode a shared library path into an executable.
21043 hardcode_action=$hardcode_action_GCJ
21045 # Whether we should hardcode library paths into libraries.
21046 hardcode_into_libs=$hardcode_into_libs
21048 # Flag to hardcode \$libdir into a binary during linking.
21049 # This must work even if \$libdir does not exist.
21050 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
21052 # If ld is used when linking, flag to hardcode \$libdir into
21053 # a binary during linking. This must work even if \$libdir does
21055 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
21057 # Whether we need a single -rpath flag with a separated argument.
21058 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
21060 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21061 # resulting binary.
21062 hardcode_direct=$hardcode_direct_GCJ
21064 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21065 # resulting binary.
21066 hardcode_minus_L=$hardcode_minus_L_GCJ
21068 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21069 # the resulting binary.
21070 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
21072 # Set to yes if building a shared library automatically hardcodes DIR into the library
21073 # and all subsequent libraries and executables linked against it.
21074 hardcode_automatic=$hardcode_automatic_GCJ
21076 # Variables whose values should be saved in libtool wrapper scripts and
21077 # restored at relink time.
21078 variables_saved_for_relink="$variables_saved_for_relink"
21080 # Whether libtool must link a program against all its dependency libraries.
21081 link_all_deplibs=$link_all_deplibs_GCJ
21083 # Compile-time system search path for libraries
21084 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21086 # Run-time system search path for libraries
21087 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21089 # Fix the shell variable \$srcfile for the compiler.
21090 fix_srcfile_path=$lt_fix_srcfile_path
21092 # Set to yes if exported symbols are required.
21093 always_export_symbols=$always_export_symbols_GCJ
21095 # The commands to list exported symbols.
21096 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
21098 # The commands to extract the exported symbol list from a shared archive.
21099 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21101 # Symbols that should not be listed in the preloaded symbols.
21102 exclude_expsyms=$lt_exclude_expsyms_GCJ
21104 # Symbols that must always be exported.
21105 include_expsyms=$lt_include_expsyms_GCJ
21107 # ### END LIBTOOL TAG CONFIG: $tagname
21113 # If there is no Makefile yet, we rely on a make rule to execute
21114 # `config.status --recheck' to rerun these tests and create the
21115 # libtool script then.
21116 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21117 if test -f "$ltmain_in"; then
21118 test -f Makefile
&& make "$ltmain"
21124 ac_cpp
='$CPP $CPPFLAGS'
21125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21139 # Source file extension for RC test sources.
21142 # Object file extension for compiled RC test sources.
21146 # Code to be used in simple compile tests
21147 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
21149 # Code to be used in simple link tests
21150 lt_simple_link_test_code
="$lt_simple_compile_test_code"
21152 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21154 # If no C compiler was specified, use CC.
21157 # If no C compiler flags were specified, use CFLAGS.
21158 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
21160 # Allow CC to be a program name with arguments.
21164 # save warnings/boilerplate of simple test code
21165 ac_outfile
=conftest.
$ac_objext
21166 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
21167 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21168 _lt_compiler_boilerplate
=`cat conftest.err`
21171 ac_outfile
=conftest.
$ac_objext
21172 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
21173 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21174 _lt_linker_boilerplate
=`cat conftest.err`
21178 # Allow CC to be a program name with arguments.
21183 for cc_temp
in $compiler""; do
21185 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21186 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21191 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21193 lt_cv_prog_compiler_c_o_RC
=yes
21195 # The else clause should only fire when bootstrapping the
21196 # libtool distribution, otherwise you forgot to ship ltmain.sh
21197 # with your package, and you will get complaints that there are
21198 # no rules to generate ltmain.sh.
21199 if test -f "$ltmain"; then
21200 # See if we are running on zsh, and set the options which allow our commands through
21201 # without removal of \ escapes.
21202 if test -n "${ZSH_VERSION+set}" ; then
21203 setopt NO_GLOB_SUBST
21205 # Now quote all the things that may contain metacharacters while being
21206 # careful not to overquote the AC_SUBSTed values. We take copies of the
21207 # variables and quote the copies for generation of the libtool script.
21208 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21210 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21211 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21212 deplibs_check_method reload_flag reload_cmds need_locks \
21213 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21214 lt_cv_sys_global_symbol_to_c_name_address \
21215 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21216 old_postinstall_cmds old_postuninstall_cmds \
21220 lt_prog_compiler_wl_RC \
21221 lt_prog_compiler_pic_RC \
21222 lt_prog_compiler_static_RC \
21223 lt_prog_compiler_no_builtin_flag_RC \
21224 export_dynamic_flag_spec_RC \
21225 thread_safe_flag_spec_RC \
21226 whole_archive_flag_spec_RC \
21227 enable_shared_with_static_runtimes_RC \
21228 old_archive_cmds_RC \
21229 old_archive_from_new_cmds_RC \
21230 predep_objects_RC \
21231 postdep_objects_RC \
21234 compiler_lib_search_path_RC \
21235 compiler_lib_search_dirs_RC \
21237 archive_expsym_cmds_RC \
21238 postinstall_cmds_RC \
21239 postuninstall_cmds_RC \
21240 old_archive_from_expsyms_cmds_RC \
21241 allow_undefined_flag_RC \
21242 no_undefined_flag_RC \
21243 export_symbols_cmds_RC \
21244 hardcode_libdir_flag_spec_RC \
21245 hardcode_libdir_flag_spec_ld_RC \
21246 hardcode_libdir_separator_RC \
21247 hardcode_automatic_RC \
21249 module_expsym_cmds_RC \
21250 lt_cv_prog_compiler_c_o_RC \
21251 fix_srcfile_path_RC \
21252 exclude_expsyms_RC \
21253 include_expsyms_RC
; do
21256 old_archive_cmds_RC | \
21257 old_archive_from_new_cmds_RC | \
21258 archive_cmds_RC | \
21259 archive_expsym_cmds_RC | \
21261 module_expsym_cmds_RC | \
21262 old_archive_from_expsyms_cmds_RC | \
21263 export_symbols_cmds_RC | \
21264 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21265 postinstall_cmds | postuninstall_cmds | \
21266 old_postinstall_cmds | old_postuninstall_cmds | \
21267 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
21268 # Double-quote double-evaled strings.
21269 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21272 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21278 *'\$0 --fallback-echo"')
21279 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21285 cat <<__EOF__ >> "$cfgfile"
21286 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21288 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21290 # Shell to use when invoking shell scripts.
21293 # Whether or not to build shared libraries.
21294 build_libtool_libs=$enable_shared
21296 # Whether or not to build static libraries.
21297 build_old_libs=$enable_static
21299 # Whether or not to add -lc for building shared libraries.
21300 build_libtool_need_lc=$archive_cmds_need_lc_RC
21302 # Whether or not to disallow shared libs when runtime libs are static
21303 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
21305 # Whether or not to optimize for fast installation.
21306 fast_install=$enable_fast_install
21309 host_alias=$host_alias
21313 # The build system.
21314 build_alias=$build_alias
21318 # An echo program that does not interpret backslashes.
21323 AR_FLAGS=$lt_AR_FLAGS
21328 # LTCC compiler flags.
21329 LTCFLAGS=$lt_LTCFLAGS
21331 # A language-specific compiler.
21334 # Is the compiler the GNU C compiler?
21340 # The linker used to build libraries.
21343 # Whether we need hard or soft links.
21346 # A BSD-compatible nm program.
21349 # A symbol stripping program
21352 # Used to examine libraries when file_magic_cmd begins "file"
21353 MAGIC_CMD=$MAGIC_CMD
21355 # Used on cygwin: DLL creation program.
21358 # Used on cygwin: object dumper.
21361 # Used on cygwin: assembler.
21364 # The name of the directory that contains temporary libtool files.
21367 # How to create reloadable object files.
21368 reload_flag=$lt_reload_flag
21369 reload_cmds=$lt_reload_cmds
21371 # How to pass a linker flag through the compiler.
21372 wl=$lt_lt_prog_compiler_wl_RC
21374 # Object file suffix (normally "o").
21375 objext="$ac_objext"
21377 # Old archive suffix (normally "a").
21380 # Shared library suffix (normally ".so").
21381 shrext_cmds='$shrext_cmds'
21383 # Executable file suffix (normally "").
21386 # Additional compiler flags for building library objects.
21387 pic_flag=$lt_lt_prog_compiler_pic_RC
21390 # What is the maximum length of a command?
21391 max_cmd_len=$lt_cv_sys_max_cmd_len
21393 # Does compiler simultaneously support -c and -o options?
21394 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21396 # Must we lock files when doing compilation?
21397 need_locks=$lt_need_locks
21399 # Do we need the lib prefix for modules?
21400 need_lib_prefix=$need_lib_prefix
21402 # Do we need a version for libraries?
21403 need_version=$need_version
21405 # Whether dlopen is supported.
21406 dlopen_support=$enable_dlopen
21408 # Whether dlopen of programs is supported.
21409 dlopen_self=$enable_dlopen_self
21411 # Whether dlopen of statically linked programs is supported.
21412 dlopen_self_static=$enable_dlopen_self_static
21414 # Compiler flag to prevent dynamic linking.
21415 link_static_flag=$lt_lt_prog_compiler_static_RC
21417 # Compiler flag to turn off builtin functions.
21418 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21420 # Compiler flag to allow reflexive dlopens.
21421 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21423 # Compiler flag to generate shared objects directly from archives.
21424 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21426 # Compiler flag to generate thread-safe objects.
21427 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21429 # Library versioning type.
21430 version_type=$version_type
21432 # Format of library name prefix.
21433 libname_spec=$lt_libname_spec
21435 # List of archive names. First name is the real one, the rest are links.
21436 # The last name is the one that the linker finds with -lNAME.
21437 library_names_spec=$lt_library_names_spec
21439 # The coded name of the library, if different from the real name.
21440 soname_spec=$lt_soname_spec
21442 # Commands used to build and install an old-style archive.
21444 old_archive_cmds=$lt_old_archive_cmds_RC
21445 old_postinstall_cmds=$lt_old_postinstall_cmds
21446 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21448 # Create an old-style archive from a shared archive.
21449 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21451 # Create a temporary old-style archive to link instead of a shared archive.
21452 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21454 # Commands used to build and install a shared archive.
21455 archive_cmds=$lt_archive_cmds_RC
21456 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21457 postinstall_cmds=$lt_postinstall_cmds
21458 postuninstall_cmds=$lt_postuninstall_cmds
21460 # Commands used to build a loadable module (assumed same as above if empty)
21461 module_cmds=$lt_module_cmds_RC
21462 module_expsym_cmds=$lt_module_expsym_cmds_RC
21464 # Commands to strip libraries.
21465 old_striplib=$lt_old_striplib
21466 striplib=$lt_striplib
21468 # Dependencies to place before the objects being linked to create a
21470 predep_objects=$lt_predep_objects_RC
21472 # Dependencies to place after the objects being linked to create a
21474 postdep_objects=$lt_postdep_objects_RC
21476 # Dependencies to place before the objects being linked to create a
21478 predeps=$lt_predeps_RC
21480 # Dependencies to place after the objects being linked to create a
21482 postdeps=$lt_postdeps_RC
21484 # The directories searched by this compiler when creating a shared
21486 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
21488 # The library search path used internally by the compiler when linking
21489 # a shared library.
21490 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21492 # Method to check whether dependent libraries are shared objects.
21493 deplibs_check_method=$lt_deplibs_check_method
21495 # Command to use when deplibs_check_method == file_magic.
21496 file_magic_cmd=$lt_file_magic_cmd
21498 # Flag that allows shared libraries with undefined symbols to be built.
21499 allow_undefined_flag=$lt_allow_undefined_flag_RC
21501 # Flag that forces no undefined symbols.
21502 no_undefined_flag=$lt_no_undefined_flag_RC
21504 # Commands used to finish a libtool library installation in a directory.
21505 finish_cmds=$lt_finish_cmds
21507 # Same as above, but a single script fragment to be evaled but not shown.
21508 finish_eval=$lt_finish_eval
21510 # Take the output of nm and produce a listing of raw symbols and C names.
21511 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21513 # Transform the output of nm in a proper C declaration
21514 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21516 # Transform the output of nm in a C name address pair
21517 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21519 # This is the shared library runtime path variable.
21520 runpath_var=$runpath_var
21522 # This is the shared library path variable.
21523 shlibpath_var=$shlibpath_var
21525 # Is shlibpath searched before the hard-coded library search path?
21526 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21528 # How to hardcode a shared library path into an executable.
21529 hardcode_action=$hardcode_action_RC
21531 # Whether we should hardcode library paths into libraries.
21532 hardcode_into_libs=$hardcode_into_libs
21534 # Flag to hardcode \$libdir into a binary during linking.
21535 # This must work even if \$libdir does not exist.
21536 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21538 # If ld is used when linking, flag to hardcode \$libdir into
21539 # a binary during linking. This must work even if \$libdir does
21541 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21543 # Whether we need a single -rpath flag with a separated argument.
21544 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21546 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21547 # resulting binary.
21548 hardcode_direct=$hardcode_direct_RC
21550 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21551 # resulting binary.
21552 hardcode_minus_L=$hardcode_minus_L_RC
21554 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21555 # the resulting binary.
21556 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21558 # Set to yes if building a shared library automatically hardcodes DIR into the library
21559 # and all subsequent libraries and executables linked against it.
21560 hardcode_automatic=$hardcode_automatic_RC
21562 # Variables whose values should be saved in libtool wrapper scripts and
21563 # restored at relink time.
21564 variables_saved_for_relink="$variables_saved_for_relink"
21566 # Whether libtool must link a program against all its dependency libraries.
21567 link_all_deplibs=$link_all_deplibs_RC
21569 # Compile-time system search path for libraries
21570 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21572 # Run-time system search path for libraries
21573 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21575 # Fix the shell variable \$srcfile for the compiler.
21576 fix_srcfile_path=$lt_fix_srcfile_path
21578 # Set to yes if exported symbols are required.
21579 always_export_symbols=$always_export_symbols_RC
21581 # The commands to list exported symbols.
21582 export_symbols_cmds=$lt_export_symbols_cmds_RC
21584 # The commands to extract the exported symbol list from a shared archive.
21585 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21587 # Symbols that should not be listed in the preloaded symbols.
21588 exclude_expsyms=$lt_exclude_expsyms_RC
21590 # Symbols that must always be exported.
21591 include_expsyms=$lt_include_expsyms_RC
21593 # ### END LIBTOOL TAG CONFIG: $tagname
21599 # If there is no Makefile yet, we rely on a make rule to execute
21600 # `config.status --recheck' to rerun these tests and create the
21601 # libtool script then.
21602 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21603 if test -f "$ltmain_in"; then
21604 test -f Makefile
&& make "$ltmain"
21610 ac_cpp
='$CPP $CPPFLAGS'
21611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21620 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21621 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21622 { (exit 1); exit 1; }; }
21626 # Append the new tag name to the list of available tags.
21627 if test -n "$tagname" ; then
21628 available_tags
="$available_tags $tagname"
21634 # Now substitute the updated list of available tags.
21635 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21636 mv "${ofile}T" "$ofile"
21640 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21641 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21642 { (exit 1); exit 1; }; }
21648 # This can be used to rebuild libtool when needed
21649 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
21651 # Always use our own libtool.
21652 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
21654 # Prevent multiple expansion
21676 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
21677 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
21678 if test "${ac_cv_path_SED+set}" = set; then
21679 echo $ECHO_N "(cached) $ECHO_C" >&6
21681 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
21682 for ac_i
in 1 2 3 4 5 6 7; do
21683 ac_script
="$ac_script$as_nl$ac_script"
21685 echo "$ac_script" |
sed 99q
>conftest.
sed
21686 $as_unset ac_script || ac_script
=
21687 # Extract the first word of "sed gsed" to use in msg output
21688 if test -z "$SED"; then
21689 set dummy
sed gsed
; ac_prog_name
=$2
21690 if test "${ac_cv_path_SED+set}" = set; then
21691 echo $ECHO_N "(cached) $ECHO_C" >&6
21693 ac_path_SED_found
=false
21694 # Loop through the user's path and test for each of PROGNAME-LIST
21695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21696 for as_dir
in $PATH
21699 test -z "$as_dir" && as_dir
=.
21700 for ac_prog
in sed gsed
; do
21701 for ac_exec_ext
in '' $ac_executable_extensions; do
21702 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
21703 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
21704 # Check for GNU ac_path_SED and select it if it is found.
21705 # Check for GNU $ac_path_SED
21706 case `"$ac_path_SED" --version 2>&1` in
21708 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
21711 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
21714 cat "conftest.in" "conftest.in" >"conftest.tmp"
21715 mv "conftest.tmp" "conftest.in"
21716 cp "conftest.in" "conftest.nl"
21717 echo '' >> "conftest.nl"
21718 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
21719 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
21720 ac_count
=`expr $ac_count + 1`
21721 if test $ac_count -gt ${ac_path_SED_max-0}; then
21722 # Best one so far, save it but keep looking for a better one
21723 ac_cv_path_SED
="$ac_path_SED"
21724 ac_path_SED_max
=$ac_count
21726 # 10*(2^10) chars as input seems more than enough
21727 test $ac_count -gt 10 && break
21729 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
21733 $ac_path_SED_found && break 3
21743 SED
="$ac_cv_path_SED"
21744 if test -z "$SED"; then
21745 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
21746 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
21747 { (exit 1); exit 1; }; }
21751 ac_cv_path_SED
=$SED
21755 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
21756 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
21757 SED
="$ac_cv_path_SED"
21765 flag
=`echo "-fvisibility=hidden" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
21767 { echo "$as_me:$LINENO: checking whether the C compiler accepts the -fvisibility=hidden flag" >&5
21768 echo $ECHO_N "checking whether the C compiler accepts the -fvisibility=hidden flag... $ECHO_C" >&6; }
21769 if { as_var
=ax_cv_c_check_flag_
$flag; eval "test \"\${$as_var+set}\" = set"; }; then
21770 echo $ECHO_N "(cached) $ECHO_C" >&6
21775 ac_cpp
='$CPP $CPPFLAGS'
21776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21781 save_CFLAGS
="$CFLAGS"
21782 CFLAGS
="$CFLAGS -fvisibility=hidden"
21783 cat >conftest.
$ac_ext <<_ACEOF
21787 cat confdefs.h
>>conftest.
$ac_ext
21788 cat >>conftest.
$ac_ext <<_ACEOF
21789 /* end confdefs.h. */
21800 rm -f conftest.
$ac_objext
21801 if { (ac_try
="$ac_compile"
21802 case "(($ac_try" in
21803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21804 *) ac_try_echo=$ac_try;;
21806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21807 (eval "$ac_compile") 2>conftest.er1
21809 grep -v '^ *+' conftest.er1 >conftest.err
21811 cat conftest.err >&5
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); } && {
21814 test -z "$ac_c_werror_flag" ||
21815 test ! -s conftest.err
21816 } && test -s conftest.$ac_objext; then
21818 eval "ax_cv_c_check_flag_$flag=yes"
21821 echo "$as_me: failed program was:" >&5
21822 sed 's/^/| /' conftest.$ac_ext >&5
21825 eval "ax_cv_c_check_flag_$flag=no"
21829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21831 CFLAGS="$save_CFLAGS"
21834 ac_cpp='$CPP $CPPFLAGS'
21835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21842 ac_res=`eval echo '${'ax_cv_c_check_flag_$flag'}'`
21843 { echo "$as_me:$LINENO: result: $ac_res" >&5
21844 echo "${ECHO_T}$ac_res" >&6; }
21846 if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then
21849 HAVE_C_GCCVISIBILITY=1
21854 HAVE_C_GCCVISIBILITY=0
21864 flag=`echo "-fvisibility=hidden" |
$SED 'y% .=/+-(){}<>:*,%_______________%'`
21866 { echo "$as_me:$LINENO: checking whether the C++ compiler accepts the -fvisibility=hidden flag" >&5
21867 echo $ECHO_N "checking whether the C++ compiler accepts the -fvisibility=hidden flag... $ECHO_C" >&6; }
21868 if { as_var=ax_cv_cxx_check_flag_$flag; eval "test \"\${$as_var+set}\" = set"; }; then
21869 echo $ECHO_N "(cached) $ECHO_C" >&6
21874 ac_cpp='$CXXCPP $CPPFLAGS'
21875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21880 save_CXXFLAGS="$CXXFLAGS"
21881 CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
21882 cat >conftest.$ac_ext <<_ACEOF
21886 cat confdefs.h >>conftest.$ac_ext
21887 cat >>conftest.$ac_ext <<_ACEOF
21888 /* end confdefs.h. */
21899 rm -f conftest.$ac_objext
21900 if { (ac_try="$ac_compile"
21901 case "(($ac_try" in
21902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21903 *) ac_try_echo
=$ac_try;;
21905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21906 (eval "$ac_compile") 2>conftest.er1
21908 grep -v '^ *+' conftest.er1
>conftest.err
21910 cat conftest.err
>&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); } && {
21913 test -z "$ac_cxx_werror_flag" ||
21914 test ! -s conftest.err
21915 } && test -s conftest.
$ac_objext; then
21917 eval "ax_cv_cxx_check_flag_$flag=yes"
21920 echo "$as_me: failed program was:" >&5
21921 sed 's/^/| /' conftest.
$ac_ext >&5
21924 eval "ax_cv_cxx_check_flag_$flag=no"
21928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21930 CXXFLAGS
="$save_CXXFLAGS"
21933 ac_cpp
='$CPP $CPPFLAGS'
21934 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21935 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21936 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21941 ac_res
=`eval echo '${'ax_cv_cxx_check_flag_$flag'}'`
21942 { echo "$as_me:$LINENO: result: $ac_res" >&5
21943 echo "${ECHO_T}$ac_res" >&6; }
21945 if eval "test \"`echo '$ax_cv_cxx_check_flag_'$flag`\" = yes"; then
21948 HAVE_CXX_GCCVISIBILITY
=1
21953 HAVE_CXX_GCCVISIBILITY
=0
21958 if test "$HAVE_C_GCCVISIBILITY" = "1" -a "$HAVE_CXX_GCCVISIBILITY" = "1"; then
21959 WITH_GCCVISIBILITY_TRUE
=
21960 WITH_GCCVISIBILITY_FALSE
='#'
21962 WITH_GCCVISIBILITY_TRUE
='#'
21963 WITH_GCCVISIBILITY_FALSE
=
21968 ac_cpp
='$CXXCPP $CPPFLAGS'
21969 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21970 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21971 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21976 { echo "$as_me:$LINENO: checking for BARRY" >&5
21977 echo $ECHO_N "checking for BARRY... $ECHO_C" >&6; }
21979 if test -n "$PKG_CONFIG"; then
21980 if test -n "$BARRY_CFLAGS"; then
21981 pkg_cv_BARRY_CFLAGS
="$BARRY_CFLAGS"
21983 if test -n "$PKG_CONFIG" && \
21984 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbarry-0 libbarrysync-0\"") >&5
21985 ($PKG_CONFIG --exists --print-errors "libbarry-0 libbarrysync-0") 2>&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); }; then
21989 pkg_cv_BARRY_CFLAGS
=`$PKG_CONFIG --cflags "libbarry-0 libbarrysync-0" 2>/dev/null`
21997 if test -n "$PKG_CONFIG"; then
21998 if test -n "$BARRY_LIBS"; then
21999 pkg_cv_BARRY_LIBS
="$BARRY_LIBS"
22001 if test -n "$PKG_CONFIG" && \
22002 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbarry-0 libbarrysync-0\"") >&5
22003 ($PKG_CONFIG --exists --print-errors "libbarry-0 libbarrysync-0") 2>&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); }; then
22007 pkg_cv_BARRY_LIBS
=`$PKG_CONFIG --libs "libbarry-0 libbarrysync-0" 2>/dev/null`
22018 if test $pkg_failed = yes; then
22020 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22021 _pkg_short_errors_supported
=yes
22023 _pkg_short_errors_supported
=no
22025 if test $_pkg_short_errors_supported = yes; then
22026 BARRY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libbarry-0 libbarrysync-0"`
22028 BARRY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libbarry-0 libbarrysync-0"`
22030 # Put the nasty error message in config.log where it belongs
22031 echo "$BARRY_PKG_ERRORS" >&5
22033 { { echo "$as_me:$LINENO: error: Package requirements (libbarry-0 libbarrysync-0) were not met:
22037 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22038 installed software in a non-standard prefix.
22040 Alternatively, you may set the environment variables BARRY_CFLAGS
22041 and BARRY_LIBS to avoid the need to call pkg-config.
22042 See the pkg-config man page for more details.
22044 echo "$as_me: error: Package requirements (libbarry-0 libbarrysync-0) were not met:
22048 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22049 installed software in a non-standard prefix.
22051 Alternatively, you may set the environment variables BARRY_CFLAGS
22052 and BARRY_LIBS to avoid the need to call pkg-config.
22053 See the pkg-config man page for more details.
22055 { (exit 1); exit 1; }; }
22056 elif test $pkg_failed = untried
; then
22057 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
22058 is in your PATH or set the PKG_CONFIG environment variable to the full
22059 path to pkg-config.
22061 Alternatively, you may set the environment variables BARRY_CFLAGS
22062 and BARRY_LIBS to avoid the need to call pkg-config.
22063 See the pkg-config man page for more details.
22065 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22066 See \`config.log' for more details." >&5
22067 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
22068 is in your PATH or set the PKG_CONFIG environment variable to the full
22069 path to pkg-config.
22071 Alternatively, you may set the environment variables BARRY_CFLAGS
22072 and BARRY_LIBS to avoid the need to call pkg-config.
22073 See the pkg-config man page for more details.
22075 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22076 See \`config.log' for more details." >&2;}
22077 { (exit 1); exit 1; }; }
22079 BARRY_CFLAGS
=$pkg_cv_BARRY_CFLAGS
22080 BARRY_LIBS
=$pkg_cv_BARRY_LIBS
22081 { echo "$as_me:$LINENO: result: yes" >&5
22082 echo "${ECHO_T}yes" >&6; }
22086 # Carry the special tree build environment variables from parent configure,
22087 # just in case user is doing a complete tree build with --enable-opensync-plugin
22091 OPENSYNC_CONFIGDIR
=$
(pkg-config
--variable=configdir libopensync1
)
22092 OPENSYNC_PLUGINDIR
=$
(pkg-config
--variable=plugindir libopensync1
)
22093 OPENSYNC_FORMATSDIR
=$
(pkg-config
--variable=formatsdir libopensync1
)
22094 OPENSYNC_HEADERDIR
=$
(pkg-config
--variable=headerdir libopensync1
)
22096 ## This is the place where you can install the default configuration files of your plugin
22097 ## This is the dir where you plugin will be installed
22098 ## Here are format plugins installed (if any)
22099 ## Here are the headers that a user interface may need (if any)
22101 ac_config_files
="$ac_config_files Makefile src/Makefile"
22103 cat >confcache
<<\_ACEOF
22104 # This file is a shell script that caches the results of configure
22105 # tests run on this system so they can be shared between configure
22106 # scripts and configure runs, see configure's option --config-cache.
22107 # It is not useful on other systems. If it contains results you don't
22108 # want to keep, you may remove or edit it.
22110 # config.status only pays attention to the cache file if you give it
22111 # the --recheck option to rerun configure.
22113 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22114 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22115 # following values.
22119 # The following way of writing the cache mishandles newlines in values,
22120 # but we know of no workaround that is simple, portable, and efficient.
22121 # So, we kill variables containing newlines.
22122 # Ultrix sh set writes to stderr and can't be redirected directly,
22123 # and sets the high bit in the cache file unless we assign to the vars.
22125 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22126 eval ac_val
=\$
$ac_var
22130 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22131 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22134 _ | IFS | as_nl
) ;; #(
22135 *) $as_unset $ac_var ;;
22141 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22142 *${as_nl}ac_space
=\
*)
22143 # `set' does not quote correctly, so add quotes (double-quote
22144 # substitution turns \\\\ into \\, and sed turns \\ into \).
22147 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22150 # `set' quotes correctly as required by POSIX, so do not add quotes.
22151 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22160 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22162 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22164 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22165 if test -w "$cache_file"; then
22166 test "x$cache_file" != "x/dev/null" &&
22167 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22168 echo "$as_me: updating cache $cache_file" >&6;}
22169 cat confcache
>$cache_file
22171 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22172 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22177 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22178 # Let make expand exec_prefix.
22179 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22181 DEFS
=-DHAVE_CONFIG_H
22185 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22186 # 1. Remove the extension, and $U if already installed.
22187 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22188 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22189 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22190 # will be set to the directory where LIBOBJS objects are built.
22191 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22192 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22194 LIBOBJS
=$ac_libobjs
22196 LTLIBOBJS
=$ac_ltlibobjs
22199 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22200 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22201 Usually this means the macro was only invoked conditionally." >&5
22202 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22203 Usually this means the macro was only invoked conditionally." >&2;}
22204 { (exit 1); exit 1; }; }
22206 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22207 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22208 Usually this means the macro was only invoked conditionally." >&5
22209 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22210 Usually this means the macro was only invoked conditionally." >&2;}
22211 { (exit 1); exit 1; }; }
22213 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22214 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22215 Usually this means the macro was only invoked conditionally." >&5
22216 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22217 Usually this means the macro was only invoked conditionally." >&2;}
22218 { (exit 1); exit 1; }; }
22220 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22221 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22222 Usually this means the macro was only invoked conditionally." >&5
22223 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22224 Usually this means the macro was only invoked conditionally." >&2;}
22225 { (exit 1); exit 1; }; }
22227 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22228 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22229 Usually this means the macro was only invoked conditionally." >&5
22230 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22231 Usually this means the macro was only invoked conditionally." >&2;}
22232 { (exit 1); exit 1; }; }
22234 if test -z "${WITH_GCCVISIBILITY_TRUE}" && test -z "${WITH_GCCVISIBILITY_FALSE}"; then
22235 { { echo "$as_me:$LINENO: error: conditional \"WITH_GCCVISIBILITY\" was never defined.
22236 Usually this means the macro was only invoked conditionally." >&5
22237 echo "$as_me: error: conditional \"WITH_GCCVISIBILITY\" was never defined.
22238 Usually this means the macro was only invoked conditionally." >&2;}
22239 { (exit 1); exit 1; }; }
22242 : ${CONFIG_STATUS=./config.status}
22243 ac_clean_files_save
=$ac_clean_files
22244 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22245 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22246 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22247 cat >$CONFIG_STATUS <<_ACEOF
22249 # Generated by $as_me.
22250 # Run this file to recreate the current configuration.
22251 # Compiler output produced by configure, useful for debugging
22252 # configure, is in config.log if it exists.
22255 ac_cs_recheck=false
22257 SHELL=\${CONFIG_SHELL-$SHELL}
22260 cat >>$CONFIG_STATUS <<\_ACEOF
22261 ## --------------------- ##
22262 ## M4sh Initialization. ##
22263 ## --------------------- ##
22265 # Be more Bourne compatible
22266 DUALCASE
=1; export DUALCASE
# for MKS sh
22267 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22270 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22271 # is contrary to our usage. Disable this feature.
22272 alias -g '${1+"$@"}'='"$@"'
22273 setopt NO_GLOB_SUBST
22275 case `(set -o) 2>/dev/null` in
22276 *posix
*) set -o posix
;;
22285 # Avoid depending upon Character Ranges.
22286 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22287 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22288 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22289 as_cr_digits
='0123456789'
22290 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22292 # The user is always right.
22293 if test "${PATH_SEPARATOR+set}" != set; then
22294 echo "#! /bin/sh" >conf$$.sh
22295 echo "exit 0" >>conf$$.sh
22297 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22305 # Support unset when possible.
22306 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22314 # We need space, tab and new line, in precisely that order. Quoting is
22315 # there to prevent editors from complaining about space-tab.
22316 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22317 # splitting by setting IFS to empty value.)
22322 # Find who we are. Look in the path if we contain no directory separator.
22324 *[\\/]* ) as_myself
=$0 ;;
22325 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22326 for as_dir
in $PATH
22329 test -z "$as_dir" && as_dir
=.
22330 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22336 # We did not find ourselves, most probably we were run as `sh COMMAND'
22337 # in which case we are not to be found in the path.
22338 if test "x$as_myself" = x
; then
22341 if test ! -f "$as_myself"; then
22342 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22343 { (exit 1); exit 1; }
22346 # Work around bugs in pre-3.0 UWIN ksh.
22347 for as_var
in ENV MAIL MAILPATH
22348 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22356 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22357 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22358 LC_TELEPHONE LC_TIME
22360 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22361 eval $as_var=C
; export $as_var
22363 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22367 # Required to use basename.
22368 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22369 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22375 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22376 as_basename
=basename
22382 # Name of the executable.
22383 as_me
=`$as_basename -- "$0" ||
22384 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22385 X"$0" : 'X\(//\)$' \| \
22386 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22388 sed '/^.*\/\([^/][^/]*\)\/*$/{
22407 as_lineno_1
=$LINENO
22408 as_lineno_2
=$LINENO
22409 test "x$as_lineno_1" != "x$as_lineno_2" &&
22410 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22412 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22413 # uniformly replaced by the line number. The first 'sed' inserts a
22414 # line-number line after each line using $LINENO; the second 'sed'
22415 # does the real work. The second script uses 'N' to pair each
22416 # line-number line with the line containing $LINENO, and appends
22417 # trailing '-' during substitution so that $LINENO is not a special
22418 # case at line end.
22419 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22420 # scripts with optimization help from Paolo Bonzini. Blame Lee
22421 # E. McMahon (1931-1989) for sed's syntax. :-)
22433 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22436 ' >$as_me.lineno
&&
22437 chmod +x
"$as_me.lineno" ||
22438 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22439 { (exit 1); exit 1; }; }
22441 # Don't try to exec as it changes $[0], causing all sort of problems
22442 # (the dirname of $[0] is not the place where we might find the
22443 # original and so on. Autoconf is especially sensitive to this).
22444 .
"./$as_me.lineno"
22445 # Exit status is that of the last command.
22450 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22456 ECHO_C
= ECHO_N
= ECHO_T
=
22457 case `echo -n x` in
22459 case `echo 'x\c'` in
22460 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22467 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22468 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22474 rm -f conf$$ conf$$.exe conf$$.
file
22475 if test -d conf$$.dir
; then
22476 rm -f conf$$.dir
/conf$$.
file
22482 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22484 # ... but there are two gotchas:
22485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22487 # In both cases, we have to default to `cp -p'.
22488 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22490 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22496 rmdir conf$$.dir
2>/dev
/null
22498 if mkdir
-p .
2>/dev
/null
; then
22501 test -d .
/-p && rmdir .
/-p
22505 if test -x / >/dev
/null
2>&1; then
22506 as_test_x
='test -x'
22508 if ls -dL / >/dev
/null
2>&1; then
22515 if test -d "$1"; then
22521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22522 ???[sx]*):;;*)false;;esac;fi
22526 as_executable_p
=$as_test_x
22528 # Sed expression to map a string onto a valid CPP name.
22529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22531 # Sed expression to map a string onto a valid variable name.
22532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22537 # Save the log message, to keep $[0] and so on meaningful, and to
22538 # report actual input values of CONFIG_FILES etc. instead of their
22539 # values after options handling.
22541 This file was extended by Barry OpenSync Plugin 0.4x $as_me 0.17, which was
22542 generated by GNU Autoconf 2.61. Invocation command line was
22544 CONFIG_FILES = $CONFIG_FILES
22545 CONFIG_HEADERS = $CONFIG_HEADERS
22546 CONFIG_LINKS = $CONFIG_LINKS
22547 CONFIG_COMMANDS = $CONFIG_COMMANDS
22550 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22555 cat >>$CONFIG_STATUS <<_ACEOF
22556 # Files that config.status was made for.
22557 config_files="$ac_config_files"
22558 config_headers="$ac_config_headers"
22559 config_commands="$ac_config_commands"
22563 cat >>$CONFIG_STATUS <<\_ACEOF
22565 \`$as_me' instantiates files from templates according to the
22566 current configuration.
22568 Usage: $0 [OPTIONS] [FILE]...
22570 -h, --help print this help, then exit
22571 -V, --version print version number and configuration settings, then exit
22572 -q, --quiet do not print progress messages
22573 -d, --debug don't remove temporary files
22574 --recheck update $as_me by reconfiguring in the same conditions
22575 --file=FILE[:TEMPLATE]
22576 instantiate the configuration file FILE
22577 --header=FILE[:TEMPLATE]
22578 instantiate the configuration header FILE
22580 Configuration files:
22583 Configuration headers:
22586 Configuration commands:
22589 Report bugs to <bug-autoconf@gnu.org>."
22592 cat >>$CONFIG_STATUS <<_ACEOF
22594 Barry OpenSync Plugin 0.4x config.status 0.17
22595 configured by $0, generated by GNU Autoconf 2.61,
22596 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22598 Copyright (C) 2006 Free Software Foundation, Inc.
22599 This config.status script is free software; the Free Software Foundation
22600 gives unlimited permission to copy, distribute and modify it."
22608 cat >>$CONFIG_STATUS <<\_ACEOF
22609 # If no file are specified by the user, then we need to provide default
22610 # value. By we need to know if files were specified by the user.
22616 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22617 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22628 # Handling of the options.
22629 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22631 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22632 echo "$ac_cs_version"; exit ;;
22633 --debug |
--debu |
--deb |
--de |
--d |
-d )
22635 --file |
--fil |
--fi |
--f )
22637 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22638 ac_need_defaults
=false
;;
22639 --header |
--heade |
--head |
--hea )
22641 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22642 ac_need_defaults
=false
;;
22644 # Conflict between --help and --header
22645 { echo "$as_me: error: ambiguous option: $1
22646 Try \`$0 --help' for more information." >&2
22647 { (exit 1); exit 1; }; };;
22648 --help |
--hel |
-h )
22649 echo "$ac_cs_usage"; exit ;;
22650 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22651 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22654 # This is an error.
22655 -*) { echo "$as_me: error: unrecognized option: $1
22656 Try \`$0 --help' for more information." >&2
22657 { (exit 1); exit 1; }; } ;;
22659 *) ac_config_targets
="$ac_config_targets $1"
22660 ac_need_defaults
=false
;;
22666 ac_configure_extra_args
=
22668 if $ac_cs_silent; then
22670 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22674 cat >>$CONFIG_STATUS <<_ACEOF
22675 if \$ac_cs_recheck; then
22676 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22677 CONFIG_SHELL=$SHELL
22678 export CONFIG_SHELL
22679 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22683 cat >>$CONFIG_STATUS <<\_ACEOF
22687 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22688 ## Running $as_me. ##
22694 cat >>$CONFIG_STATUS <<_ACEOF
22698 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22702 cat >>$CONFIG_STATUS <<\_ACEOF
22704 # Handling of arguments.
22705 for ac_config_target
in $ac_config_targets
22707 case $ac_config_target in
22708 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22709 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22710 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22711 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
22713 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22714 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22715 { (exit 1); exit 1; }; };;
22720 # If the user did not use the arguments to specify the items to instantiate,
22721 # then the envvar interface is used. Set only those that are not.
22722 # We use the long form for the default assignment because of an extremely
22723 # bizarre bug on SunOS 4.1.3.
22724 if $ac_need_defaults; then
22725 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22726 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22727 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22730 # Have a temporary directory for convenience. Make it in the build tree
22731 # simply because there is no reason against having it here, and in addition,
22732 # creating and moving files from /tmp can sometimes cause problems.
22733 # Hook for its removal unless debugging.
22734 # Note that there is a small window in which the directory will not be cleaned:
22735 # after its creation but before its name has been assigned to `$tmp'.
22739 trap 'exit_status=$?
22740 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22742 trap '{ (exit 1); exit 1; }' 1 2 13 15
22744 # Create a (secure) tmp directory for tmp files.
22747 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22748 test -n "$tmp" && test -d "$tmp"
22751 tmp
=.
/conf$$
-$RANDOM
22752 (umask 077 && mkdir
"$tmp")
22755 echo "$me: cannot create a temporary directory in ." >&2
22756 { (exit 1); exit 1; }
22760 # Set up the sed scripts for CONFIG_FILES section.
22763 # No need to generate the scripts if there are no CONFIG_FILES.
22764 # This happens for instance when ./config.status config.h
22765 if test -n "$CONFIG_FILES"; then
22772 for ac_last_try
in false false false false false
:; do
22773 cat >conf$
$subs.
sed <<_ACEOF
22774 SHELL!$SHELL$ac_delim
22775 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22776 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22777 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22778 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22779 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22780 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22781 exec_prefix!$exec_prefix$ac_delim
22782 prefix!$prefix$ac_delim
22783 program_transform_name!$program_transform_name$ac_delim
22784 bindir!$bindir$ac_delim
22785 sbindir!$sbindir$ac_delim
22786 libexecdir!$libexecdir$ac_delim
22787 datarootdir!$datarootdir$ac_delim
22788 datadir!$datadir$ac_delim
22789 sysconfdir!$sysconfdir$ac_delim
22790 sharedstatedir!$sharedstatedir$ac_delim
22791 localstatedir!$localstatedir$ac_delim
22792 includedir!$includedir$ac_delim
22793 oldincludedir!$oldincludedir$ac_delim
22794 docdir!$docdir$ac_delim
22795 infodir!$infodir$ac_delim
22796 htmldir!$htmldir$ac_delim
22797 dvidir!$dvidir$ac_delim
22798 pdfdir!$pdfdir$ac_delim
22799 psdir!$psdir$ac_delim
22800 libdir!$libdir$ac_delim
22801 localedir!$localedir$ac_delim
22802 mandir!$mandir$ac_delim
22803 DEFS!$DEFS$ac_delim
22804 ECHO_C!$ECHO_C$ac_delim
22805 ECHO_N!$ECHO_N$ac_delim
22806 ECHO_T!$ECHO_T$ac_delim
22807 LIBS!$LIBS$ac_delim
22808 build_alias!$build_alias$ac_delim
22809 host_alias!$host_alias$ac_delim
22810 target_alias!$target_alias$ac_delim
22811 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22812 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22813 INSTALL_DATA!$INSTALL_DATA$ac_delim
22814 am__isrc!$am__isrc$ac_delim
22815 CYGPATH_W!$CYGPATH_W$ac_delim
22816 PACKAGE!$PACKAGE$ac_delim
22817 VERSION!$VERSION$ac_delim
22818 ACLOCAL!$ACLOCAL$ac_delim
22819 AUTOCONF!$AUTOCONF$ac_delim
22820 AUTOMAKE!$AUTOMAKE$ac_delim
22821 AUTOHEADER!$AUTOHEADER$ac_delim
22822 MAKEINFO!$MAKEINFO$ac_delim
22823 install_sh!$install_sh$ac_delim
22824 STRIP!$STRIP$ac_delim
22825 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22826 mkdir_p!$mkdir_p$ac_delim
22828 SET_MAKE!$SET_MAKE$ac_delim
22829 am__leading_dot!$am__leading_dot$ac_delim
22830 AMTAR!$AMTAR$ac_delim
22831 am__tar!$am__tar$ac_delim
22832 am__untar!$am__untar$ac_delim
22833 PKG_CONFIG!$PKG_CONFIG$ac_delim
22834 PACKAGE_CFLAGS!$PACKAGE_CFLAGS$ac_delim
22835 PACKAGE_LIBS!$PACKAGE_LIBS$ac_delim
22837 CFLAGS!$CFLAGS$ac_delim
22838 LDFLAGS!$LDFLAGS$ac_delim
22839 CPPFLAGS!$CPPFLAGS$ac_delim
22840 ac_ct_CC!$ac_ct_CC$ac_delim
22841 EXEEXT!$EXEEXT$ac_delim
22842 OBJEXT!$OBJEXT$ac_delim
22843 DEPDIR!$DEPDIR$ac_delim
22844 am__include!$am__include$ac_delim
22845 am__quote!$am__quote$ac_delim
22846 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22847 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22848 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22849 CCDEPMODE!$CCDEPMODE$ac_delim
22850 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22851 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22853 GREP!$GREP$ac_delim
22854 EGREP!$EGREP$ac_delim
22856 CXXFLAGS!$CXXFLAGS$ac_delim
22857 ac_ct_CXX!$ac_ct_CXX$ac_delim
22858 CXXDEPMODE!$CXXDEPMODE$ac_delim
22859 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22860 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22861 build!$build$ac_delim
22862 build_cpu!$build_cpu$ac_delim
22863 build_vendor!$build_vendor$ac_delim
22864 build_os!$build_os$ac_delim
22865 host!$host$ac_delim
22866 host_cpu!$host_cpu$ac_delim
22867 host_vendor!$host_vendor$ac_delim
22868 host_os!$host_os$ac_delim
22870 LN_S!$LN_S$ac_delim
22873 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22875 elif $ac_last_try; then
22876 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22877 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22878 { (exit 1); exit 1; }; }
22880 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22884 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22885 if test -n "$ac_eof"; then
22886 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22887 ac_eof
=`expr $ac_eof + 1`
22890 cat >>$CONFIG_STATUS <<_ACEOF
22891 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22892 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22895 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22896 s/^/s,@/; s/!/@,|#_!!_#|/
22899 s/'"$ac_delim"'$/,g/; t
22901 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22902 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22903 rm -f conf$
$subs.
sed
22904 cat >>$CONFIG_STATUS <<_ACEOF
22910 for ac_last_try
in false false false false false
:; do
22911 cat >conf$
$subs.
sed <<_ACEOF
22912 ECHO!$ECHO$ac_delim
22914 RANLIB!$RANLIB$ac_delim
22915 DSYMUTIL!$DSYMUTIL$ac_delim
22916 NMEDIT!$NMEDIT$ac_delim
22917 CXXCPP!$CXXCPP$ac_delim
22919 FFLAGS!$FFLAGS$ac_delim
22920 ac_ct_F77!$ac_ct_F77$ac_delim
22921 LIBTOOL!$LIBTOOL$ac_delim
22922 WITH_GCCVISIBILITY_TRUE!$WITH_GCCVISIBILITY_TRUE$ac_delim
22923 WITH_GCCVISIBILITY_FALSE!$WITH_GCCVISIBILITY_FALSE$ac_delim
22924 BARRY_CFLAGS!$BARRY_CFLAGS$ac_delim
22925 BARRY_LIBS!$BARRY_LIBS$ac_delim
22926 TREE_BUILD_CXXFLAGS!$TREE_BUILD_CXXFLAGS$ac_delim
22927 TREE_BUILD_LDFLAGS!$TREE_BUILD_LDFLAGS$ac_delim
22928 OPENSYNC_CONFIGDIR!$OPENSYNC_CONFIGDIR$ac_delim
22929 OPENSYNC_PLUGINDIR!$OPENSYNC_PLUGINDIR$ac_delim
22930 OPENSYNC_FORMATSDIR!$OPENSYNC_FORMATSDIR$ac_delim
22931 OPENSYNC_HEADERDIR!$OPENSYNC_HEADERDIR$ac_delim
22932 LIBOBJS!$LIBOBJS$ac_delim
22933 LTLIBOBJS!$LTLIBOBJS$ac_delim
22936 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then
22938 elif $ac_last_try; then
22939 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22940 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22941 { (exit 1); exit 1; }; }
22943 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22947 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22948 if test -n "$ac_eof"; then
22949 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22950 ac_eof
=`expr $ac_eof + 1`
22953 cat >>$CONFIG_STATUS <<_ACEOF
22954 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22955 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22958 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22959 s/^/s,@/; s/!/@,|#_!!_#|/
22962 s/'"$ac_delim"'$/,g/; t
22964 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22965 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22966 rm -f conf$
$subs.
sed
22967 cat >>$CONFIG_STATUS <<_ACEOF
22974 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22975 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22976 # trailing colons and then remove the whole line if VPATH becomes empty
22977 # (actually we leave an empty line to preserve line numbers).
22978 if test "x$srcdir" = x.
; then
22979 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22980 s/:*\$(srcdir):*/:/
22981 s/:*\${srcdir}:*/:/
22983 s/^\([^=]*=[ ]*\):*/\1/
22989 cat >>$CONFIG_STATUS <<\_ACEOF
22990 fi # test -n "$CONFIG_FILES"
22993 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22996 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22998 case $ac_mode$ac_tag in
23000 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23001 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23002 { (exit 1); exit 1; }; };;
23003 :[FH
]-) ac_tag
=-:-;;
23004 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23021 -) ac_f
="$tmp/stdin";;
23022 *) # Look for the file first in the build tree, then in the source tree
23023 # (if the path is not absolute). The absolute path cannot be DOS-style,
23024 # because $ac_f cannot contain `:'.
23028 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23030 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23031 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23032 { (exit 1); exit 1; }; };;
23034 ac_file_inputs
="$ac_file_inputs $ac_f"
23037 # Let's still pretend it is `configure' which instantiates (i.e., don't
23038 # use $as_me), people would be surprised to read:
23039 # /* config.h. Generated by config.status. */
23040 configure_input
="Generated from "`IFS=:
23041 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23042 if test x
"$ac_file" != x-
; then
23043 configure_input
="$ac_file. $configure_input"
23044 { echo "$as_me:$LINENO: creating $ac_file" >&5
23045 echo "$as_me: creating $ac_file" >&6;}
23049 *:-:* |
*:-) cat >"$tmp/stdin";;
23054 ac_dir
=`$as_dirname -- "$ac_file" ||
23055 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23056 X"$ac_file" : 'X\(//\)[^/]' \| \
23057 X"$ac_file" : 'X\(//\)$' \| \
23058 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23064 /^X\(\/\/\)[^/].*/{
23079 -*) as_dir
=.
/$as_dir;;
23081 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23085 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23086 *) as_qdir
=$as_dir;;
23088 as_dirs
="'$as_qdir' $as_dirs"
23089 as_dir
=`$as_dirname -- "$as_dir" ||
23090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23091 X"$as_dir" : 'X\(//\)[^/]' \| \
23092 X"$as_dir" : 'X\(//\)$' \| \
23093 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23099 /^X\(\/\/\)[^/].*/{
23112 test -d "$as_dir" && break
23114 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23115 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23116 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23117 { (exit 1); exit 1; }; }; }
23121 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23123 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23124 # A ".." for each directory in $ac_dir_suffix.
23125 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23126 case $ac_top_builddir_sub in
23127 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23128 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23131 ac_abs_top_builddir
=$ac_pwd
23132 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23133 # for backward compatibility:
23134 ac_top_builddir
=$ac_top_build_prefix
23137 .
) # We are building in place.
23139 ac_top_srcdir
=$ac_top_builddir_sub
23140 ac_abs_top_srcdir
=$ac_pwd ;;
23141 [\\/]* | ?
:[\\/]* ) # Absolute name.
23142 ac_srcdir
=$srcdir$ac_dir_suffix;
23143 ac_top_srcdir
=$srcdir
23144 ac_abs_top_srcdir
=$srcdir ;;
23145 *) # Relative name.
23146 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23147 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23148 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23150 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23160 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23161 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23163 ac_MKDIR_P
=$MKDIR_P
23165 [\\/$
]* | ?
:[\\/]* ) ;;
23166 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23170 cat >>$CONFIG_STATUS <<\_ACEOF
23171 # If the template does not know about datarootdir, expand it.
23172 # FIXME: This hack should be removed a few years after 2.60.
23173 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23175 case `sed -n '/datarootdir/ {
23184 ' $ac_file_inputs` in
23185 *datarootdir
*) ac_datarootdir_seen
=yes;;
23186 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23187 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23188 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23190 cat >>$CONFIG_STATUS <<_ACEOF
23191 ac_datarootdir_hack='
23192 s&@datadir@&$datadir&g
23193 s&@docdir@&$docdir&g
23194 s&@infodir@&$infodir&g
23195 s&@localedir@&$localedir&g
23196 s&@mandir@&$mandir&g
23197 s&\\\${datarootdir}&$datarootdir&g' ;;
23201 # Neutralize VPATH when `$srcdir' = `.'.
23202 # Shell code in configure.ac might set extrasub.
23203 # FIXME: do we really want to maintain this feature?
23204 cat >>$CONFIG_STATUS <<_ACEOF
23208 cat >>$CONFIG_STATUS <<\_ACEOF
23210 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23211 s
&@configure_input@
&$configure_input&;t t
23212 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23213 s
&@srcdir@
&$ac_srcdir&;t t
23214 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23215 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23216 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23217 s
&@builddir@
&$ac_builddir&;t t
23218 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23219 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23220 s
&@INSTALL@
&$ac_INSTALL&;t t
23221 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23222 $ac_datarootdir_hack
23223 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23225 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23226 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23227 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23228 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23229 which seems to be undefined. Please make sure it is defined." >&5
23230 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23231 which seems to be undefined. Please make sure it is defined." >&2;}
23235 -) cat "$tmp/out"; rm -f "$tmp/out";;
23236 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23245 # Transform confdefs.h into a sed script `conftest.defines', that
23246 # substitutes the proper values into config.h.in to produce config.h.
23247 rm -f conftest.defines conftest.
tail
23248 # First, append a space to every undef/define line, to ease matching.
23249 echo 's/$/ /' >conftest.defines
23250 # Then, protect against being on the right side of a sed subst, or in
23251 # an unquoted here document, in config.status. If some macros were
23252 # called several times there might be several #defines for the same
23253 # symbol, which is useless. But do not sort them, since the last
23254 # AC_DEFINE must be honored.
23255 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23256 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23257 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23258 # PARAMS is the parameter list in the macro definition--in most cases, it's
23259 # just an empty string.
23260 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23261 ac_dB
='\\)[ (].*,\\1define\\2'
23269 s/^[ ]*#[ ]*define[ ][ ]*//
23274 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23275 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23276 ' >>conftest.defines
23278 # Remove the space that was appended to ease matching.
23279 # Then replace #undef with comments. This is necessary, for
23280 # example, in the case of _POSIX_SOURCE, which is predefined and required
23281 # on some systems where configure will not decide to define it.
23282 # (The regexp can be short, since the line contains either #define or #undef.)
23284 s,^[ #]*u.*,/* & */,' >>conftest.defines
23286 # Break up conftest.defines:
23287 ac_max_sed_lines
=50
23289 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23290 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23291 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23293 ac_in
='$ac_file_inputs'
23294 ac_out
='"$tmp/out1"'
23295 ac_nxt
='"$tmp/out2"'
23299 # Write a here document:
23300 cat >>$CONFIG_STATUS <<_ACEOF
23301 # First, check the format of the line:
23302 cat >"\$tmp/defines.sed" <<\\CEOF
23303 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23304 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23308 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23310 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23311 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23312 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23313 grep . conftest.
tail >/dev
/null ||
break
23314 rm -f conftest.defines
23315 mv conftest.
tail conftest.defines
23317 rm -f conftest.defines conftest.
tail
23319 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23320 cat >>$CONFIG_STATUS <<\_ACEOF
23321 if test x
"$ac_file" != x-
; then
23322 echo "/* $configure_input */" >"$tmp/config.h"
23323 cat "$ac_result" >>"$tmp/config.h"
23324 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23325 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23326 echo "$as_me: $ac_file is unchanged" >&6;}
23329 mv "$tmp/config.h" $ac_file
23332 echo "/* $configure_input */"
23336 # Compute $ac_file's index in $config_headers.
23339 for _am_header
in $config_headers :; do
23340 case $_am_header in
23341 $_am_arg |
$_am_arg:* )
23344 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23347 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23348 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23349 X"$_am_arg" : 'X\(//\)[^/]' \| \
23350 X"$_am_arg" : 'X\(//\)$' \| \
23351 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23357 /^X\(\/\/\)[^/].*/{
23369 s/.*/./; q'`/stamp-h
$_am_stamp_count
23372 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23373 echo "$as_me: executing $ac_file commands" >&6;}
23378 case $ac_file$ac_mode in
23379 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23380 # Strip MF so we end up with the name of the file.
23381 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23382 # Check whether this is an Automake generated Makefile or not.
23383 # We used to match only the files named `Makefile.in', but
23384 # some people rename them; so instead we look at the file content.
23385 # Grep'ing the first line is not enough: some people post-process
23386 # each Makefile.in and add a new line on top of each file to say so.
23387 # Grep'ing the whole file is not good either: AIX grep has a line
23388 # limit of 2048, but all sed's we know have understand at least 4000.
23389 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23390 dirpart
=`$as_dirname -- "$mf" ||
23391 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23392 X"$mf" : 'X\(//\)[^/]' \| \
23393 X"$mf" : 'X\(//\)$' \| \
23394 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23400 /^X\(\/\/\)[^/].*/{
23416 # Extract the definition of DEPDIR, am__include, and am__quote
23417 # from the Makefile without running `make'.
23418 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23419 test -z "$DEPDIR" && continue
23420 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23421 test -z "am__include" && continue
23422 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23423 # When using ansi2knr, U may be empty or an underscore; expand it
23424 U
=`sed -n 's/^U = //p' < "$mf"`
23425 # Find all dependency output files, they are included files with
23426 # $(DEPDIR) in their names. We invoke sed twice because it is the
23427 # simplest approach to changing $(DEPDIR) to its actual value in the
23429 for file in `sed -n "
23430 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23431 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23432 # Make sure the directory exists.
23433 test -f "$dirpart/$file" && continue
23434 fdir
=`$as_dirname -- "$file" ||
23435 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23436 X"$file" : 'X\(//\)[^/]' \| \
23437 X"$file" : 'X\(//\)$' \| \
23438 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23444 /^X\(\/\/\)[^/].*/{
23457 { as_dir
=$dirpart/$fdir
23459 -*) as_dir
=.
/$as_dir;;
23461 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23465 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23466 *) as_qdir
=$as_dir;;
23468 as_dirs
="'$as_qdir' $as_dirs"
23469 as_dir
=`$as_dirname -- "$as_dir" ||
23470 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23471 X"$as_dir" : 'X\(//\)[^/]' \| \
23472 X"$as_dir" : 'X\(//\)$' \| \
23473 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23479 /^X\(\/\/\)[^/].*/{
23492 test -d "$as_dir" && break
23494 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23495 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23496 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23497 { (exit 1); exit 1; }; }; }
23498 # echo "creating $dirpart/$file"
23499 echo '# dummy' > "$dirpart/$file"
23508 { (exit 0); exit 0; }
23510 chmod +x
$CONFIG_STATUS
23511 ac_clean_files
=$ac_clean_files_save
23514 # configure is writing to config.log, and then calls config.status.
23515 # config.status does its own redirection, appending to config.log.
23516 # Unfortunately, on DOS this fails, as config.log is still kept open
23517 # by configure, so config.status won't be able to write to it; its
23518 # output is simply discarded. So we exec the FD to /dev/null,
23519 # effectively closing config.log, so it can be properly (re)opened and
23520 # appended to by config.status. When coming back to configure, we
23521 # need to make the FD available again.
23522 if test "$no_create" != yes; then
23524 ac_config_status_args
=
23525 test "$silent" = yes &&
23526 ac_config_status_args
="$ac_config_status_args --quiet"
23528 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23530 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23531 # would make configure fail if this is the last instruction.
23532 $ac_cs_success ||
{ (exit 1); exit 1; }